1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* 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.
This commit is contained in:
Ulrich Drepper
2006-02-15 18:14:59 +00:00
parent 683040c3b2
commit 56e987ac48
11 changed files with 54 additions and 0 deletions

View File

@ -92,6 +92,8 @@
# define MADV_DONTNEED 4 /* Don't need these pages. */
# define MADV_FREE 5 /* Content can be freed (Solaris). */
# define MADV_REMOVE 6 /* 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. */