Guenter Roeck reported breakage on the h8300 and c6x architectures (among others) caused by the new memory protection keys syscalls. This patch does what Arnd suggested and adds them to kernel/sys_ni.c. I don't have a cross-compiler for either of these architectures handy, and kernel.org doesn't provide one either, so I have not built this patch. Testing would be appreciated. Cc: Thomas Gleixner Cc: Arnd Bergmann Cc: "open list:ABI/API" Cc: linux-arch@vger.kernel.org --- b/kernel/sys_ni.c | 5 +++++ 1 file changed, 5 insertions(+) diff -puN kernel/sys_ni.c~fix-pkeys-arch-breakage kernel/sys_ni.c --- a/kernel/sys_ni.c~fix-pkeys-arch-breakage 2016-09-12 12:50:47.801607239 -0700 +++ b/kernel/sys_ni.c 2016-09-12 12:50:47.804607374 -0700 @@ -250,3 +250,8 @@ cond_syscall(sys_execveat); /* membarrier */ cond_syscall(sys_membarrier); + +/* memory protection keys */ +cond_syscall(sys_pkey_mprotect); +cond_syscall(sys_pkey_alloc); +cond_syscall(sys_pkey_free); _