mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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>
This commit is contained in:
parent
d11dfd179b
commit
7d59deb50a
3 changed files with 7 additions and 1 deletions
|
@ -362,3 +362,6 @@ SYSCALL(ni_syscall) /* sys_kcmp */
|
||||||
SYSCALL_SPU(sched_setattr)
|
SYSCALL_SPU(sched_setattr)
|
||||||
SYSCALL_SPU(sched_getattr)
|
SYSCALL_SPU(sched_getattr)
|
||||||
SYSCALL_SPU(renameat2)
|
SYSCALL_SPU(renameat2)
|
||||||
|
SYSCALL_SPU(seccomp)
|
||||||
|
SYSCALL_SPU(getrandom)
|
||||||
|
SYSCALL_SPU(memfd_create)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <uapi/asm/unistd.h>
|
#include <uapi/asm/unistd.h>
|
||||||
|
|
||||||
|
|
||||||
#define __NR_syscalls 358
|
#define __NR_syscalls 361
|
||||||
|
|
||||||
#define __NR__exit __NR_exit
|
#define __NR__exit __NR_exit
|
||||||
#define NR_syscalls __NR_syscalls
|
#define NR_syscalls __NR_syscalls
|
||||||
|
|
|
@ -380,5 +380,8 @@
|
||||||
#define __NR_sched_setattr 355
|
#define __NR_sched_setattr 355
|
||||||
#define __NR_sched_getattr 356
|
#define __NR_sched_getattr 356
|
||||||
#define __NR_renameat2 357
|
#define __NR_renameat2 357
|
||||||
|
#define __NR_seccomp 358
|
||||||
|
#define __NR_getrandom 359
|
||||||
|
#define __NR_memfd_create 360
|
||||||
|
|
||||||
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
|
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
|
||||||
|
|
Loading…
Reference in a new issue