diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2006-02-15 18:12:03 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2006-02-15 18:12:03 +0000 |
| commit | ab28c061e98e8a9e6951c095b645115dcfe68efd (patch) | |
| tree | f543b748487360f21d3a083f4f8efdc527af1ddd | |
| parent | b5876a1aa6c48f496fe9e8b2a12c7c0c0088078c (diff) | |
| download | glibc-ab28c061e98e8a9e6951c095b645115dcfe68efd.tar.xz glibc-ab28c061e98e8a9e6951c095b645115dcfe68efd.zip | |
Define MADV_DONTFORK and MADV_DOFORK.
| -rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/mman.h | 2 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/m68k/bits/mman.h | 2 |
2 files changed, 4 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. */ diff --git a/sysdeps/unix/sysv/linux/m68k/bits/mman.h b/sysdeps/unix/sysv/linux/m68k/bits/mman.h index 6e7bdc99dd..9c66b2e97c 100644 --- a/sysdeps/unix/sysv/linux/m68k/bits/mman.h +++ b/sysdeps/unix/sysv/linux/m68k/bits/mman.h @@ -88,6 +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. */ #endif /* The POSIX people had to invent similar names for the same things. */ |
