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.
diff --git a/mem.c b/mem.c
index f016021..ee7a7df 100644
--- a/mem.c
+++ b/mem.c
@@ -82,6 +82,15 @@
{ 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 },
};