From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2139C433E0 for ; Wed, 8 Jul 2020 07:40:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C02CF2080D for ; Wed, 8 Jul 2020 07:40:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbgGHHkv (ORCPT ); Wed, 8 Jul 2020 03:40:51 -0400 Received: from smtp-bc08.mail.infomaniak.ch ([45.157.188.8]:59947 "EHLO smtp-bc08.mail.infomaniak.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726514AbgGHHkv (ORCPT ); Wed, 8 Jul 2020 03:40:51 -0400 Received: from smtp-2-0001.mail.infomaniak.ch (unknown [10.5.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4B1rb84jGnzlhLBM; Wed, 8 Jul 2020 09:31:32 +0200 (CEST) Received: from ns3096276.ip-94-23-54.eu (unknown [94.23.54.103]) by smtp-2-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4B1rb30JZ8zlh8TM; Wed, 8 Jul 2020 09:31:26 +0200 (CEST) Subject: Re: [PATCH v19 09/12] arch: Wire up landlock() syscall 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 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 User-Agent: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8 X-Antivirus-Code: 0x100000 Sender: linux-api-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-api@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?