mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Add comments about non-Linux use of bits/mman-linux.h.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
2014-03-18 Roland McGrath <roland@hack.frob.com>
|
2014-03-18 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* bits/mman-linux.h: Add comment about non-Linux use.
|
||||||
|
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
|
||||||
|
bits/mman-linux.h resting place.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
|
* sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
|
||||||
* bits/mman-linux.h: ... here.
|
* bits/mman-linux.h: ... here.
|
||||||
|
|
||||||
|
@ -21,7 +21,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The following definitions basically come from the kernel headers.
|
/* The following definitions basically come from the kernel headers.
|
||||||
But the kernel header is not namespace clean. */
|
But the kernel header is not namespace clean.
|
||||||
|
|
||||||
|
This file is also used by some non-Linux configurations of the
|
||||||
|
GNU C Library, for other systems that use these same bit values. */
|
||||||
|
|
||||||
|
|
||||||
/* Protections are chosen from these bits, OR'd together. The
|
/* Protections are chosen from these bits, OR'd together. The
|
||||||
|
@ -25,6 +25,13 @@ sysdep_routines += clone llseek umount umount2 readahead \
|
|||||||
CFLAGS-gethostid.c = -fexceptions
|
CFLAGS-gethostid.c = -fexceptions
|
||||||
CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=0x80000000-__getpagesize()"
|
CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=0x80000000-__getpagesize()"
|
||||||
|
|
||||||
|
# Note that bits/mman-linux.h is listed here though the file lives in the
|
||||||
|
# top-level bits/ subdirectory instead of here in sysdeps/.../linux/bits/.
|
||||||
|
# That is just so that other (non-Linux) configurations for whom the
|
||||||
|
# bits/mman-linux.h definitions work well do not have to duplicate the
|
||||||
|
# contents of the file. The file must still be listed in sysdep_headers
|
||||||
|
# here and in any non-Linux configuration that uses it; other
|
||||||
|
# configurations will not install the file.
|
||||||
sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
|
sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \
|
||||||
sys/klog.h sys/kdaemon.h \
|
sys/klog.h sys/kdaemon.h \
|
||||||
sys/user.h sys/procfs.h sys/prctl.h \
|
sys/user.h sys/procfs.h sys/prctl.h \
|
||||||
|
Reference in New Issue
Block a user