Unverified Commit 9a2cef09 authored by Sargun Dhillon's avatar Sargun Dhillon Committed by Christian Brauner
Browse files

arch: wire up pidfd_getfd syscall

parent 8649c322
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -475,3 +475,4 @@
543	common	fspick				sys_fspick
544	common	pidfd_open			sys_pidfd_open
# 545 reserved for clone3
548	common	pidfd_getfd			sys_pidfd_getfd
+1 −0
Original line number Diff line number Diff line
@@ -449,3 +449,4 @@
433	common	fspick				sys_fspick
434	common	pidfd_open			sys_pidfd_open
435	common	clone3				sys_clone3
438	common	pidfd_getfd			sys_pidfd_getfd
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@
#define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE + 5)
#define __ARM_NR_COMPAT_END		(__ARM_NR_COMPAT_BASE + 0x800)

#define __NR_compat_syscalls		436
#define __NR_compat_syscalls		439
#endif

#define __ARCH_WANT_SYS_CLONE
+2 −0
Original line number Diff line number Diff line
@@ -879,6 +879,8 @@ __SYSCALL(__NR_fspick, sys_fspick)
__SYSCALL(__NR_pidfd_open, sys_pidfd_open)
#define __NR_clone3 435
__SYSCALL(__NR_clone3, sys_clone3)
#define __NR_pidfd_getfd 438
__SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)

/*
 * Please add new compat syscalls above this comment and update
+1 −0
Original line number Diff line number Diff line
@@ -356,3 +356,4 @@
433	common	fspick				sys_fspick
434	common	pidfd_open			sys_pidfd_open
# 435 reserved for clone3
438	common	pidfd_getfd			sys_pidfd_getfd
Loading