From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= Subject: Re: [PATCH v19 09/12] arch: Wire up landlock() syscall Date: Wed, 8 Jul 2020 09:31:26 +0200 Message-ID: <8d2dab03-289e-2872-db66-ce80ce5c189f@digikod.net> References: <20200707180955.53024-1-mic@digikod.net> <20200707180955.53024-10-mic@digikod.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: List-Post: List-Help: List-Unsubscribe: List-Subscribe: In-Reply-To: Content-Language: fr To: Arnd Bergmann Cc: "linux-kernel@vger.kernel.org" , Al Viro , Andy Lutomirski , Anton Ivanov , Casey Schaufler , James Morris , Jann Horn , Jeff Dike , Jonathan Corbet , Kees Cook , Michael Kerrisk , =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= , Richard Weinberger , "Serge E . Hallyn" , Shuah Khan , Vincent Dagonneau , Kernel Hardening , Linux API , linux-arch , "open list:DOCUMENTATION" Linux FS-devel Mailing List List-Id: linux-arch.vger.kernel.org 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) >> __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? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v19 09/12] arch: Wire up landlock() syscall References: <20200707180955.53024-1-mic@digikod.net> <20200707180955.53024-10-mic@digikod.net> From: =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= Message-ID: <8d2dab03-289e-2872-db66-ce80ce5c189f@digikod.net> Date: Wed, 8 Jul 2020 09:31:26 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-doc-owner@vger.kernel.org To: Arnd Bergmann Cc: "linux-kernel@vger.kernel.org" , Al Viro , Andy Lutomirski , Anton Ivanov , Casey Schaufler , James Morris , Jann Horn , Jeff Dike , Jonathan Corbet , Kees Cook , Michael Kerrisk , =?UTF-8?Q?Micka=c3=abl_Sala=c3=bcn?= , Richard Weinberger , "Serge E . Hallyn" , Shuah Khan , Vincent Dagonneau , Kernel Hardening , Linux API , linux-arch , "open list:DOCUMENTATION" , Linux FS-devel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , LSM List , the arch/x86 maintainers List-ID: Message-ID: <20200708073126._p4CRTT1kCLgJiJMiEGdU3hyMoZ276BfsbnD8KdFzC8@z> 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) >> __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?