aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-02-16 00:15:09 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-16 00:15:09 +0000
commite112446e01bbad4716a4e7efa3757668d005d60a (patch)
tree6ab8e4ef2a36207073eec22a8a37ecd708002a14
parentab28c061e98e8a9e6951c095b645115dcfe68efd (diff)
downloadglibc-e112446e01bbad4716a4e7efa3757668d005d60a.tar.xz
glibc-e112446e01bbad4716a4e7efa3757668d005d60a.zip
Correct MADV_DO{,NOT}FORK values.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/mman.h4
-rw-r--r--sysdeps/unix/sysv/linux/m68k/bits/mman.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 869bbede3f..2a84709d20 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
@@ -97,8 +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. */
+# define MADV_DONTFORK 10 /* Do not inherit across fork. */
+# define MADV_DOFORK 11 /* Do inherit across fork. */
#endif
/* The POSIX people had to invent similar names for the same things. */
diff --git a/sysdeps/unix/sysv/linux/m68k/bits/mman.h b/sysdeps/unix/sysv/linux/m68k/bits/mman.h
index 9c66b2e97c..fbec1a03f8 100644
--- a/sysdeps/unix/sysv/linux/m68k/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/m68k/bits/mman.h
@@ -88,8 +88,8 @@
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
# define MADV_WILLNEED 3 /* Will need these pages. */
# define MADV_DONTNEED 4 /* Don't need these pages. */
-# define MADV_DONTFORK 0x30 /* Do not inherit across fork. */
-# define MADV_DOFORK 0x31 /* Do inherit across fork. */
+# define MADV_DONTFORK 10 /* Do not inherit across fork. */
+# define MADV_DOFORK 11 /* Do inherit across fork. */
#endif
/* The POSIX people had to invent similar names for the same things. */