]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct MADV_DO{,NOT}FORK values.
authorUlrich Drepper <drepper@redhat.com>
Thu, 16 Feb 2006 00:15:09 +0000 (00:15 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 16 Feb 2006 00:15:09 +0000 (00:15 +0000)
sysdeps/unix/sysv/linux/alpha/bits/mman.h
sysdeps/unix/sysv/linux/m68k/bits/mman.h

index 869bbede3f13259f61f869ac3ce38f9d6d895ea3..2a84709d202ee22c994495adebd7a17720b1013a 100644 (file)
@@ -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.  */
index 9c66b2e97c755284c6aaaa2fb39f400212e7dde6..fbec1a03f8b63cdea68b54ac397a185fb1cbb998 100644 (file)
@@ -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.  */