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

2020-07-08 Thread Arnd Bergmann
On Wed, Jul 8, 2020 at 10:23 AM Mickaël Salaün wrote: > On 08/07/2020 09:47, Arnd Bergmann wrote: > > On Wed, Jul 8, 2020 at 9:31 AM Mickaël Salaün wrote: > >> On 08/07/2020 09:22, Arnd Bergmann wrote: > >>> On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: > >>> > index

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

2020-07-08 Thread Mickaël Salaün
On 08/07/2020 09:47, Arnd Bergmann wrote: > On Wed, Jul 8, 2020 at 9:31 AM Mickaël Salaün wrote: >> On 08/07/2020 09:22, Arnd Bergmann wrote: >>> On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: >>> index f4a01305d9a6..a63a411a74d5 100644 --- a/include/uapi/asm-generic/unistd.h

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

2020-07-08 Thread Arnd Bergmann
On Wed, Jul 8, 2020 at 9:31 AM Mickaël Salaün wrote: > On 08/07/2020 09:22, Arnd Bergmann wrote: > > On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: > > > >> index f4a01305d9a6..a63a411a74d5 100644 > >> --- a/include/uapi/asm-generic/unistd.h > >> +++ b/include/uapi/asm-generic/unistd.h > >

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

2020-07-08 Thread Mickaël Salaün
On 08/07/2020 09:22, Arnd Bergmann wrote: > On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: > >> 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) >>

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

2020-07-08 Thread Arnd Bergmann
On Tue, Jul 7, 2020 at 8:10 PM Mickaël Salaün wrote: > 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) >

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

2020-07-07 Thread Mickaël Salaün
Wire up the landlock() system call for all architectures. Signed-off-by: Mickaël Salaün Cc: Arnd Bergmann Cc: James Morris Cc: Jann Horn Cc: Kees Cook Cc: Serge E. Hallyn --- Changes since v18: * Increase the syscall number because of the new faccessat2(2). Changes since v14: * Add all