mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 21:40:12 +00:00
e76def72eb
This patch adds the MAP_SYNC macro from Linux 4.15 to various bits/mman.h headers. Note that this is *not* added to all architectures: in Linux 4.15, this macro is only in asm-generic/mman.h, and only some architectures' asm/mman.h include the asm-generic file - the architectures not using the asm-generic file will need their own values of MAP_SYNC allocated to support this functionality (some of them also already have conflicting mmap flags so the value there will have to be different from the generic 0x80000). Specifically, for glibc architectures, alpha hppa mips powerpc sparc tile lack allocations of values for MAP_SYNC. Tested for x86_64. * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC] (MAP_SYNC): New macro. * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC): Likewise. |
||
---|---|---|
.. | ||
bits | ||
sys | ||
__read_tp.S | ||
arch-fork.h | ||
c++-types.data | ||
clone.S | ||
configure | ||
configure.ac | ||
cpu-features.c | ||
cpu-features.h | ||
dl-cache.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
dl-static.c | ||
getcontext.S | ||
Implies | ||
init-first.c | ||
ioctl.S | ||
ipc_priv.h | ||
jmp_buf-macros.h | ||
kernel_rt_sigframe.h | ||
ld.abilist | ||
ldconfig.h | ||
ldsodefs.h | ||
libanl.abilist | ||
libBrokenLocale.abilist | ||
libc-__read_tp.S | ||
libc-start.c | ||
libc-vdso.h | ||
libc.abilist | ||
libcrypt.abilist | ||
libdl.abilist | ||
libm.abilist | ||
libnsl.abilist | ||
libpthread.abilist | ||
libresolv.abilist | ||
librt.abilist | ||
libthread_db.abilist | ||
libutil.abilist | ||
localplt.data | ||
makecontext.c | ||
Makefile | ||
profil-counter.h | ||
pt-vfork.c | ||
readelflib.c | ||
setcontext.S | ||
shlib-versions | ||
sigaction.c | ||
sigcontextinfo.h | ||
swapcontext.S | ||
syscall.S | ||
sysconf.c | ||
sysdep.c | ||
sysdep.h | ||
ucontext_i.sym | ||
ucontext-internal.h | ||
Versions | ||
vfork.S |