From: Andrew Morton Date: Thu, 31 Dec 2020 22:05:06 +0000 (+0000) Subject: arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix X-Git-Tag: howlett/maple_spf/20210104~79 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d107a07827ddb0ad22597757aed8bdeaba1569f6;p=users%2Fjedix%2Flinux-maple.git arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix Cc: Mike Rapoport Cc: Stephen Rothwell Cc: Mike Rapoport Signed-off-by: Andrew Morton --- 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