glibc/sysdeps/unix/sysv/linux/s390/s390-32
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
..
Makefile
Versions
____longjmp_chk.c
__makecontext_ret.S S390: Add cfi information for start routines in order to stop unwinding. 2017-11-21 08:45:28 +01:00
alphasort64.c
c++-types.data
clone.S S390: Add cfi information for start routines in order to stop unwinding. 2017-11-21 08:45:28 +01:00
fxstat.c
fxstatat.c
getcontext.S
getdents64.c
getutent.c
getutent_r.c
getutid.c
getutid_r.c
getutline.c
getutline_r.c
getutmp.c
getutxent.c
getutxid.c
getutxline.c
glob64-lstat-compat.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
ld.abilist
libBrokenLocale.abilist
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
lockf64.c
login.c
login32.c
lxstat.c
makecontext.c
oldglob.c posix: Fix compat glob code on s390 and alpha 2017-09-13 09:24:12 -03:00
posix_fadvise64.c
profil-counter.h
pututxline.c
readdir64.c
readdir64_r.c
register-dump.h
scandir64.c
setcontext.S
swapcontext.S
syscall.S
syscalls.list
sysdep.S
sysdep.h S390: Fix backtrace in vdso functions. 2017-12-04 16:40:13 +01:00
updwtmp.c
updwtmpx.c
utmp-compat.h
utmp-convert.h
utmp32.c
utmp32.h
utmpx-convert.h
utmpx32.c
utmpx32.h
versionsort64.c
vfork.S
xstat.c