Thread (27 messages) flat view 27 messages, 4 authors, 2020-07-10

Re: [PATCH v19 09/12] arch: Wire up landlock() syscall

From: Mickaël Salaün <mic@digikod.net>
Date: 2020-07-08 07:32:10
Also in: linux-arch, linux-doc, linux-fsdevel, linux-kselftest, linux-security-module, lkml

On 08/07/2020 09:22, Arnd Bergmann wrote:
On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün [off-list ref] wrote:
quoted
index f4a01305d9a6..a63a411a74d5 100644
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@ -857,9 +857,11 @@ __SYSCALL(__NR_openat2, sys_openat2)
 __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
 #define __NR_faccessat2 439
 __SYSCALL(__NR_faccessat2, sys_faccessat2)
+#define __NR_landlock 440
+__SYSCALL(__NR_landlock, sys_landlock)

 #undef __NR_syscalls
-#define __NR_syscalls 440
+#define __NR_syscalls 441
In linux-next, we already have:

+#define __NR_watch_mount 440
+#define __NR_watch_sb 441
+#define __NR_fsinfo 442
+#define __NR_process_madvise 443

You may want to increase the number again.

      Arnd
OK, I'll rebase the next series on linux-next. Do you know if there is
other syscalls on their way to linux-next?

Are the other parts of arch/syscall OK for you?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help