quite a few programs require this syscall, severely restricting usability without it. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6877
23 lines
715 B
Diff
23 lines
715 B
Diff
cherry-pick/backport of fdfe4a393e9cd8c92f4489ca207d410f44d05043
|
|
--- a/include/uapi/asm-generic/unistd.h
|
|
+++ b/include/uapi/asm-generic/unistd.h
|
|
@@ -730,13 +730,17 @@
|
|
__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc)
|
|
#define __NR_pkey_free 290
|
|
__SYSCALL(__NR_pkey_free, sys_pkey_free)
|
|
+#define __NR_statx 291
|
|
+__SYSCALL(__NR_statx, sys_statx)
|
|
+#define __NR_staty 397
|
|
+__SYSCALL(__NR_staty, sys_statx)
|
|
#define __NR_pidfd_send_signal 424
|
|
__SYSCALL(__NR_pidfd_send_signal, sys_pidfd_send_signal)
|
|
#define __NR_pidfd_open 434
|
|
__SYSCALL(__NR_pidfd_open, sys_pidfd_open)
|
|
|
|
#undef __NR_syscalls
|
|
-#define __NR_syscalls 435
|
|
+#define __NR_syscalls 437
|
|
|
|
/*
|
|
* All syscalls below here should go away really,
|