]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 31 Dec 2020 22:05:06 +0000 (22:05 +0000)
committerJohannes Weiner <hannes@cmpxchg.org>
Thu, 31 Dec 2020 22:05:06 +0000 (22:05 +0000)
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>
include/uapi/asm-generic/unistd.h

index ad58f661f4aae4df115aa2c2925200bfe71d546b..72b94deb8cf1352c2a9b597d4ec994a1a85428b2 100644 (file)
@@ -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