glibc/sysdeps/unix/sysv/linux/aarch64
Florian Weimer 446d22e91d Linux: Implement interfaces for memory protection keys
This adds system call wrappers for pkey_alloc, pkey_free, pkey_mprotect,
and x86-64 implementations of pkey_get and pkey_set, which abstract over
the PKRU CPU register and hide the actual number of memory protection
keys supported by the CPU.  pkey_mprotect with a -1 key is implemented
using mprotect, so it will work even if the kernel does not support the
pkey_mprotect system call.

The system call wrapers use unsigned int instead of unsigned long for
parameters, so that no special treatment for x32 is needed.  The flags
argument is currently unused, and the access rights bit mask is limited
to two bits by the current PKRU register layout anyway.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2017-12-05 15:20:35 +01:00
..
bits Add AArch64 HWCAP_DCPOP from Linux 4.14. 2017-11-17 14:03:04 +00:00
sys Fix mcontext_t sigcontext namespace (bug 21457). 2017-08-30 22:02:04 +00:00
Implies
Makefile Remove abi-*-options compiler flags 2017-08-28 17:16:53 +02:00
Versions
__read_tp.S
arch-fork.h
c++-types.data
clone.S Call exit directly in clone (BZ #21512) 2017-06-26 17:52:20 -03:00
configure
configure.ac
cpu-features.c aarch64: Optimized memset for falkor 2017-11-20 18:25:04 +05:30
cpu-features.h aarch64: Optimized memset for falkor 2017-11-20 18:25:04 +05:30
dl-cache.h
dl-procinfo.c [AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12 2017-07-19 13:50:23 +01:00
dl-procinfo.h [AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12 2017-07-19 13:50:23 +01:00
dl-static.c
getcontext.S
init-first.c
ioctl.S Hide internal __ioctl function [BZ #18822] 2017-10-01 15:59:06 -07:00
ipc_priv.h
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
kernel_rt_sigframe.h Rename struct ucontext tag (bug 21457). 2017-06-26 22:03:58 +00:00
ld.abilist
ldconfig.h
ldsodefs.h
libBrokenLocale.abilist
libanl.abilist
libc-__read_tp.S
libc-start.c Delay initialization of CPU features struct in static binaries 2017-05-31 06:38:33 +05:30
libc-vdso.h
libc.abilist Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
libcrypt.abilist
libdl.abilist
libm.abilist Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data ld.so: Introduce struct dl_exception 2017-08-10 16:54:57 +02:00
makecontext.c aarch64: Fix tst-makecontext3 in ILP32 mode. 2017-08-30 09:25:51 -07:00
profil-counter.h
pt-vfork.c
readelflib.c
setcontext.S
shlib-versions
sigaction.c
sigcontextinfo.h Rename struct ucontext tag (bug 21457). 2017-06-26 22:03:58 +00:00
swapcontext.S
syscall.S
sysconf.c aarch64: Guess L1 cache linesize for aarch64 2017-11-03 16:40:27 +00:00
sysdep.c
sysdep.h Linux: Consolidate {RTLD_}SINGLE_THREAD_P definition 2017-10-11 14:27:24 -03:00
ucontext-internal.h
ucontext_i.sym Fix mcontext_t sigcontext namespace (bug 21457). 2017-08-30 22:02:04 +00:00
vfork.S