powerpc: sys_pkey_alloc() and sys_pkey_free() system calls

Finally this patch provides the ability for a process to
allocate and free a protection key.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Ram Pai
2018-01-18 17:50:45 -08:00
committed by Michael Ellerman
parent cf43d3b264
commit 9499ec1b5e
3 changed files with 5 additions and 3 deletions

View File

@@ -12,13 +12,11 @@
#include <uapi/asm/unistd.h>
#define NR_syscalls 384
#define NR_syscalls 386
#define __NR__exit __NR_exit
#define __IGNORE_pkey_mprotect
#define __IGNORE_pkey_alloc
#define __IGNORE_pkey_free
#ifndef __ASSEMBLY__