about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-25 16:53:29 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-25 16:53:29 +0000
commited91314ee80dfdda09b365c4bb87d338bd43861d (patch)
treebf8c8b9f077c40b76851c61db7814758c363b3e5 /sysdeps/unix/sysv/linux/alpha/bits
parentdb2f688a948046d61d666616a144b02150ee6b0b (diff)
downloadglibc-ed91314ee80dfdda09b365c4bb87d338bd43861d.tar.gz
glibc-ed91314ee80dfdda09b365c4bb87d338bd43861d.tar.xz
glibc-ed91314ee80dfdda09b365c4bb87d338bd43861d.zip
Update.
	* sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/bits')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/mman.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 918043917b..bb41887479 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
@@ -34,6 +34,10 @@
 #define PROT_WRITE	  0x2		/* Page can be written.  */
 #define PROT_EXEC	  0x4		/* Page can be executed.  */
 #define PROT_NONE	  0x0		/* Page can not be accessed.  */
+#define PROT_GROWSDOWN	  0x01000000	/* Extend change to start of
+					   growsdown vma (mprotect only).  */
+#define PROT_GROWSUP	  0x02000000	/* Extend change to start of
+					   growsup vma (mprotect only).  */
 
 /* Sharing types (must choose one and only one of these).  */
 #define MAP_SHARED	  0x01		/* Share changes.  */
@@ -52,7 +56,7 @@
 
 /* Not used by Linux, but here to make sure we don't clash with
    OSF/1 defines.  */
-#if 0 && defined(__USE_BSD)
+#if 0 && defined __USE_BSD
 # define MAP_HASSEMAPHORE 0x0200
 # define MAP_INHERIT	  0x0400
 # define MAP_UNALIGNED	  0x0800
@@ -104,7 +108,7 @@
 
 /* Not used by Linux, but here to make sure we don't clash with
    OSF/1 defines.  */
-#if 0 && defined(__USE_BSD)
+#if 0 && defined __USE_BSD
 # define MADV_DONTNEED_COMPAT 4	/* Old version?  */
 # define MADV_SPACEAVAIL 5	/* Ensure resources are available.  */
 #endif