glibc/sysdeps/unix/sysv/linux/m68k
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 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
coldfire Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
m680x0 Linux: Implement interfaces for memory protection keys 2017-12-05 15:20:35 +01:00
sys Fix mcontext_t sigcontext namespace (bug 21457). 2017-08-30 22:02:04 +00:00
____longjmp_chk.c Fix struct sigaltstack namespace (bug 21517). 2017-06-05 10:17:46 +00:00
alphasort64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
arch-fork.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
c++-types.data m68k: Consolidate nptl/ subdirectories under linux/... 2014-06-23 09:24:18 -07:00
clone.S Call exit directly in clone (BZ #21512) 2017-06-26 17:52:20 -03:00
configure Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
configure.ac Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
dl-librecon.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
dl-static.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fxstat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
fxstatat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getdents64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getmsg.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
init-first.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
kernel-features.h Remove __ASSUME_REQUEUE_PI 2017-04-04 18:02:02 -03:00
ldconfig.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
libc-m68k-vdso.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
localplt.data ld.so: Introduce struct dl_exception 2017-08-10 16:54:57 +02:00
lockf64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
lxstat.c Whitespace fixes 2014-02-10 20:24:03 +01:00
m68k-helpers.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k-vdso.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k-vdso.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
mmap_internal.h posix: Fix mmap for m68k and ia64 (BZ#21908) 2017-08-14 10:35:14 -03:00
mremap.S Hide internal __mremap function [BZ #18822] 2017-10-01 16:02:04 -07:00
pt-vfork.c m68k: Consolidate NPTL/non versions of vfork 2014-06-14 21:37:34 +02:00
putmsg.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
readdir64_r.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
readdir64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
scandir64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
syscalls.list posix: Consolidate Linux waitpid syscall 2017-05-18 18:06:47 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sysdep.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Versions Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
versionsort64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
vfork.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
xstat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00