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-07 13:16:51 +1100 |
commit | 1829b80eaeeaced4f6a8f043cb9f47986d766cc7 (patch) | |
tree | 5774424a62cb553d9892244c6c571e9a424b3d5c | |
parent | a724da3668ba91d1ea1088a707710144e6ee3cc6 (diff) | |
download | linux-next-1829b80eaeeaced4f6a8f043cb9f47986d766cc7.tar.gz |
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 |