lapi/syscalls: Add fallback definition for memfd_secret on arm
PATCH 1/1 lapi/syscalls: Add fallback definition for memfd_secret on arm
memfd_secret is not implemented on 32bit arm, but this change creates a fallback definition so that it will return -1 and ENOSYS when calling syscall(__NR_memfd_secret, 0). This will allow tests such as accept03, readahead01 and splice07 that use memfd_secret to skip with TCONF
Reported-by Nobuhiro Iwamatsu <[email protected]>
Suggested-by Cyril Hrubis <[email protected]>
Signed-off-by Edward Liaw <[email protected]>
---
I didn't see a follow-up to
https://lore.kernel.org/ltp/1718700544-17304-1-git-send-email-nobuhiro1.iwamatsu@toshiba.co.jp/
so I am submitting this patch based on Cyril's recommendation.
include/lapi/syscalls/arm.in | 1 + 1 file changed, 1 insertion(+)
include/lapi/syscalls/arm.in +1 -0
@@ -394,4 +394,5 @@ pidfd_getfd (__NR_SYSCALL_BASE+438) faccessat2 (__NR_SYSCALL_BASE+439) epoll_pwait2 (__NR_SYSCALL_BASE+441) quotactl_fd (__NR_SYSCALL_BASE+443) +memfd_secret (__NR_SYSCALL_BASE+447) futex_waitv (__NR_SYSCALL_BASE+449)
--
2.45.2.803.g4e1b14247a-goog
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Applied, thanks.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp