summaryrefslogtreecommitdiff
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorSargun Dhillon <sargun@sargun.me>2020-01-07 09:59:26 -0800
committerChristian Brauner <christian.brauner@ubuntu.com>2020-01-13 21:49:47 +0100
commit9a2cef09c801de54feecd912303ace5c27237f12 (patch)
tree6ef2196cac67b0f0db5e3d3150df0fd55d739d62 /include/linux/syscalls.h
parent8649c322f75c96e7ced2fec201e123b2b073bf09 (diff)
downloadlwn-9a2cef09c801de54feecd912303ace5c27237f12.tar.gz
lwn-9a2cef09c801de54feecd912303ace5c27237f12.zip
arch: wire up pidfd_getfd syscall
This wires up the pidfd_getfd syscall for all architectures. Signed-off-by: Sargun Dhillon <sargun@sargun.me> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200107175927.4558-4-sargun@sargun.me Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 5262b7a76d39..8640af30c506 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -1000,6 +1000,7 @@ asmlinkage long sys_fspick(int dfd, const char __user *path, unsigned int flags)
asmlinkage long sys_pidfd_send_signal(int pidfd, int sig,
siginfo_t __user *info,
unsigned int flags);
+asmlinkage long sys_pidfd_getfd(int pidfd, int fd, unsigned int flags);
/*
* Architecture-specific system calls