diff options
author | Ram Pai <linuxram@us.ibm.com> | 2018-01-19 04:50:46 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-20 17:06:16 +0300 |
commit | 3350eb2ea127978319ced883523d828046af4045 (patch) | |
tree | fb3b389fc9a1abae89e05db470f5c1b1961f565d /arch/powerpc/include/uapi/asm | |
parent | 9499ec1b5e82321829e1c1510bcc37edc20b6f38 (diff) | |
download | linux-3350eb2ea127978319ced883523d828046af4045.tar.xz |
powerpc: sys_pkey_mprotect() system call
Patch provides the ability for a process to
associate a pkey with a address range.
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/uapi/asm')
-rw-r--r-- | arch/powerpc/include/uapi/asm/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h index 5db438516e61..389c36fd8299 100644 --- a/arch/powerpc/include/uapi/asm/unistd.h +++ b/arch/powerpc/include/uapi/asm/unistd.h @@ -397,5 +397,6 @@ #define __NR_statx 383 #define __NR_pkey_alloc 384 #define __NR_pkey_free 385 +#define __NR_pkey_mprotect 386 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ |