diff options
author | Ram Pai <linuxram@us.ibm.com> | 2018-01-19 02:50:45 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-20 15:06:15 +0100 |
commit | 9499ec1b5e82321829e1c1510bcc37edc20b6f38 (patch) | |
tree | 84096798e943acf55119fc976c4d7cd2cd305294 /arch/powerpc/include/asm/unistd.h | |
parent | powerpc: Enable pkey subsystem (diff) | |
download | linux-9499ec1b5e82321829e1c1510bcc37edc20b6f38.tar.xz linux-9499ec1b5e82321829e1c1510bcc37edc20b6f38.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm/unistd.h')
-rw-r--r-- | arch/powerpc/include/asm/unistd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 9ba11dbcaca9..e0273bc5b095 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h @@ -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__ |