From: Heiko Carstens Date: Wed, 12 Oct 2016 11:43:38 +0000 (+0200) Subject: s390: ignore pkey system calls X-Git-Tag: v4.9-rc3~29^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12e721964e7feb555c3ee499a3f85c194d3d36ea;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h index 02613bad8bbba..3066031a73fee 100644 --- a/arch/s390/include/asm/unistd.h +++ b/arch/s390/include/asm/unistd.h @@ -9,6 +9,9 @@ #include #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