summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-09-01 14:23:07 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-09 19:02:47 +1000
commit7d59deb50aafbdc01b52aed209d202d827261cb0 (patch)
tree9c98a4be4c412e9a1e8389e611430f4bdb39eea8 /arch/powerpc/include/uapi/asm/unistd.h
parentd11dfd179b444bcbc15545cc03761f607168d7a3 (diff)
powerpc: Wire up sys_seccomp(), sys_getrandom() and sys_memfd_create()
This patch wires up three new syscalls for powerpc. The three new syscalls are seccomp, getrandom and memfd_create. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'arch/powerpc/include/uapi/asm/unistd.h')
-rw-r--r--arch/powerpc/include/uapi/asm/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index 2d526f7b48da..0688fc06e183 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -380,5 +380,8 @@
#define __NR_sched_setattr 355
#define __NR_sched_getattr 356
#define __NR_renameat2 357
+#define __NR_seccomp 358
+#define __NR_getrandom 359
+#define __NR_memfd_create 360
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */