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
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
Implies
Makefile
Versions
____longjmp_chk.c
alphasort64.c
arch-fork.h
brk.c
c++-types.data
clone.S
configure
configure.ac
dl-librecon.h
dl-static.c
fxstat.c
fxstatat.c
getdents64.c
getmsg.c
getpagesize.c
getsysstats.c
init-first.c
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
kernel-features.h
ldconfig.h
ldsodefs.h
libc-m68k-vdso.c
localplt.data
lockf64.c
lxstat.c
m68k-helpers.S
m68k-vdso.c
m68k-vdso.h
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
putmsg.c
readdir64.c
readdir64_r.c
register-dump.h
scandir64.c
sigcontextinfo.h
syscall.S
syscalls.list
sysdep.S
sysdep.h
versionsort64.c
vfork.S
xstat.c