about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/bits/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/bits/mman.h')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h
index b1a8b93d36..f27f3893b3 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/mman.h
@@ -90,6 +90,8 @@
 # define MADV_WILLNEED	 3	/* Will need these pages.  */
 # define MADV_DONTNEED	 4	/* Don't need these pages.  */
 # define MADV_REMOVE	 5	/* 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.  */