summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-10-12 11:43:38 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-10-17 09:25:25 (GMT)
commit12e721964e7feb555c3ee499a3f85c194d3d36ea (patch)
tree4ffd81d5607429f05ef0aca7099c2edbbdf537af /arch/s390/include/asm
parent0f02c4e749bc79975dd23ddcc9bfe38bf76afb67 (diff)
downloadlinux-12e721964e7feb555c3ee499a3f85c194d3d36ea.tar.xz
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>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h
index 02613ba..3066031 100644
--- a/arch/s390/include/asm/unistd.h
+++ b/arch/s390/include/asm/unistd.h
@@ -9,6 +9,9 @@
#include <uapi/asm/unistd.h>
#define __IGNORE_time
+#define __IGNORE_pkey_mprotect
+#define __IGNORE_pkey_alloc
+#define __IGNORE_pkey_free
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_SYS_ALARM