Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390: ignore pkey system calls

Ignore the pkey systems calls since they don't make any sense on s390.
In addition any user could trigger a warning if issueing the pkey_free
system call, if it would be wired up on a system without pkey support.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
12e72196 0f02c4e7

+3
+3
arch/s390/include/asm/unistd.h
··· 9 9 #include <uapi/asm/unistd.h> 10 10 11 11 #define __IGNORE_time 12 + #define __IGNORE_pkey_mprotect 13 + #define __IGNORE_pkey_alloc 14 + #define __IGNORE_pkey_free 12 15 13 16 #define __ARCH_WANT_OLD_READDIR 14 17 #define __ARCH_WANT_SYS_ALARM