glibc/sysdeps/unix/sysv/linux/mips/mips32
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
..
fpu Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
mips16 MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
nofpu Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
bug-getcontext-mips-gp.c mips: Fix store/load gp registers to/from ucontext_t 2017-06-13 21:34:45 +00:00
c++-types.data MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
fxstatat.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
ld.abilist ld.so: Remove __libc_memalign 2016-11-30 16:23:58 +01:00
libanl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libBrokenLocale.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libcidn.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libcrypt.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libdl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libm.abilist New symbol version for logf, log2f and powf without SVID compat 2017-10-02 14:38:03 +01:00
libnsl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_compat.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_db.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_dns.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_files.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_hesiod.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_nis.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libnss_nisplus.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libpthread.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libresolv.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
librt.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libthread_db.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libutil.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
lockf64.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
Makefile MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
mips-syscall5.S MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
mips-syscall6.S MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
mips-syscall7.S MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
readahead.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
syscalls.list Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
sysdep.h MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
Versions MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00