diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2021-01-05 12:10:22 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-01-11 14:47:36 +1100 |
commit | 5e2aa644746ef5d5018e00ffb36c0cca04a04b99 (patch) | |
tree | 4d3631be421b5c366e74831cf50037e32a3af19a | |
parent | ed6288d33e1f9293991a0a45fba2db896589a7ad (diff) | |
download | linux-5e2aa644746ef5d5018e00ffb36c0cca04a04b99.tar.gz linux-5e2aa644746ef5d5018e00ffb36c0cca04a04b99.tar.xz |
arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | include/uapi/asm-generic/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index ad58f661f4aa..72b94deb8cf1 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -863,6 +863,10 @@ __SYSCALL(__NR_process_madvise, sys_process_madvise) __SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2) #define __NR_watch_mount 442 __SYSCALL(__NR_watch_mount, sys_watch_mount) +#ifdef __ARCH_WANT_MEMFD_SECRET +#define __NR_memfd_secret 443 +__SYSCALL(__NR_memfd_secret, sys_memfd_secret) +#endif #undef __NR_syscalls #define __NR_syscalls 443 |