glibc/sysdeps/unix/sysv/linux/mips/mips64
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
..
n32 Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
n64 Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
Makefile
configure
configure.ac
fxstat64.c
fxstatat64.c
ipc_priv.h
ldconfig.h
ldd-rewrite.sed
libBrokenLocale.abilist
libanl.abilist
libcrypt.abilist
libdl.abilist
libm.abilist Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
libnsl.abilist
libpthread.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
lxstat64.c
msgctl.c
semctl.c
shmctl.c
syscall.S
umount.c
xstat64.c