2003-09-25 Roland McGrath <roland@redhat.com>
* mem.c (mmap_prot) [PROT_SEM, PROT_GROWSDOWN, PROT_GROWSUP]: Include these in the table if they are defined.
This commit is contained in:
parent
739868f2f3
commit
47eb0e2a0c
9
mem.c
9
mem.c
@ -82,6 +82,15 @@ static struct xlat mmap_prot[] = {
|
||||
{ PROT_READ, "PROT_READ" },
|
||||
{ PROT_WRITE, "PROT_WRITE" },
|
||||
{ PROT_EXEC, "PROT_EXEC" },
|
||||
#ifdef PROT_SEM
|
||||
{ PROT_SEM, "PROT_SEM" },
|
||||
#endif
|
||||
#ifdef PROT_GROWSDOWN
|
||||
{ PROT_GROWSDOWN,"PROT_GROWSDOWN"},
|
||||
#endif
|
||||
#ifdef PROT_GROWSUP
|
||||
{ PROT_GROWSUP, "PROT_GROWSUP" },
|
||||
#endif
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user