powerpc: Wire up three sys calls
PATCH 1/1 powerpc: Wire up three sys calls
This patch wires up three new syscalls for powerpc. The three new syscalls are seccomp, getrandom and memfd_create.
Signed-off-by Pranith Kumar <[email protected]>
Reviewed-by David Herrmann <[email protected]>
--- arch/powerpc/include/asm/systbl.h | 3 +++ arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/systbl.h +3 -0
@@ -362,3 +362,6 @@ SYSCALL(ni_syscall) /* sys_kcmp */ SYSCALL_SPU(sched_setattr) SYSCALL_SPU(sched_getattr) SYSCALL_SPU(renameat2) +SYSCALL_SPU(seccomp) +SYSCALL_SPU(getrandom) +SYSCALL_SPU(memfd_create)
arch/powerpc/include/asm/unistd.h +1 -1
@@ -12,7 +12,7 @@#include <uapi/asm/unistd.h> -#define __NR_syscalls 358 +#define __NR_syscalls 361#define __NR__exit __NR_exit#define NR_syscalls __NR_syscalls
arch/powerpc/include/uapi/asm/unistd.h +3 -0
@@ -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_ */
Signature · 1 line
2.1.0