aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2018-01-18 17:50:46 -0800
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-21 01:06:16 +1100
commit3350eb2ea127978319ced883523d828046af4045 (patch)
treefb3b389fc9a1abae89e05db470f5c1b1961f565d /arch/powerpc/include/uapi
parentpowerpc: sys_pkey_alloc() and sys_pkey_free() system calls (diff)
downloadlinux-dev-3350eb2ea127978319ced883523d828046af4045.tar.xz
linux-dev-3350eb2ea127978319ced883523d828046af4045.zip
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')
-rw-r--r--arch/powerpc/include/uapi/asm/unistd.h1
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_ */