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>2006-02-15 18:14:59 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-15 18:14:59 +0000
commit56e987ac483651060f64cef5186cad8d808b614c (patch)
tree4425aec8cfc0e7c3dd417323848f5acf74d7b94d /sysdeps/unix/sysv/linux/alpha/bits
parent683040c3b2c7dc2bc08045202a0a0b46d143b3cb (diff)
downloadglibc-56e987ac483651060f64cef5186cad8d808b614c.tar.gz
glibc-56e987ac483651060f64cef5186cad8d808b614c.tar.xz
glibc-56e987ac483651060f64cef5186cad8d808b614c.zip
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK
	and MADV_DOFORK.
	* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/bits')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 8ef939aeb3..869bbede3f 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
@@ -97,6 +97,8 @@
 # define MADV_WILLNEED   3	/* Will need these pages.  */
 # define MADV_DONTNEED   6	/* Don't need these pages.  */
 # define MADV_REMOVE	 7	/* Remove these pages and resources.  */
+# define MADV_DONTFORK	 0x30	/* Do not inherit across fork.  */
+# define MADV_DOFORK	 0x31	/* Do inherit across fork.  */
 #endif
 
 /* The POSIX people had to invent similar names for the same things.  */