From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 7293E221F4 for ; Fri, 23 Feb 2024 01:32:50 +0100 (CET) Received: (qmail 3429 invoked by uid 550); 23 Feb 2024 00:29:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 3391 invoked from network); 23 Feb 2024 00:29:24 -0000 Date: Thu, 22 Feb 2024 19:32:53 -0500 From: Rich Felker To: =?utf-8?B?R2HDq2w=?= PORTAY Cc: musl@lists.openwall.com Message-ID: <20240223003253.GX4163@brightrain.aerifal.cx> References: <20240218022650.1097269-1-gael.portay@rtone.fr> <20240218022650.1097269-2-gael.portay@rtone.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240218022650.1097269-2-gael.portay@rtone.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] [PATCH v2 1/8] bits/syscall.h: add process_madvise from linux v5.14 On Sun, Feb 18, 2024 at 03:26:43AM +0100, Gaƫl PORTAY wrote: > see > > linux commit 7bb7f2ac24a028b20fca466b9633847b289b156a > arch, mm: wire up memfd_secret system call where relevant > > linux commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 > mm: introduce memfd_secret system call to create "secret" memory areas > > linux commit b633896314c0f78f2b4eb7b19a530d68f2a35445 > tools headers UAPI: Sync s390 syscall table file that wires up the memfd_secret syscall > --- > arch/aarch64/bits/syscall.h.in | 1 + > arch/arm/bits/syscall.h.in | 1 + > arch/i386/bits/syscall.h.in | 1 + > arch/m68k/bits/syscall.h.in | 1 + > arch/microblaze/bits/syscall.h.in | 1 + > arch/mips/bits/syscall.h.in | 1 + > arch/mips64/bits/syscall.h.in | 1 + > arch/mipsn32/bits/syscall.h.in | 1 + > arch/or1k/bits/syscall.h.in | 1 + > arch/powerpc/bits/syscall.h.in | 1 + > arch/powerpc64/bits/syscall.h.in | 1 + > arch/riscv64/bits/syscall.h.in | 1 + > arch/s390x/bits/syscall.h.in | 1 + > arch/sh/bits/syscall.h.in | 1 + > arch/x32/bits/syscall.h.in | 1 + > arch/x86_64/bits/syscall.h.in | 1 + > 16 files changed, 16 insertions(+) > > diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in > index 5f420e61..88512ec9 100644 > --- a/arch/aarch64/bits/syscall.h.in > +++ b/arch/aarch64/bits/syscall.h.in > @@ -299,4 +299,5 @@ > #define __NR_landlock_create_ruleset 444 > #define __NR_landlock_add_rule 445 > #define __NR_landlock_restrict_self 446 > +// reserved for memfd_secret 447 > [...] This patch seems mistitled, and should avoid introducing comments (especially // form which are c89-incompatible) into an installed header. I've renamed it to: "bits/syscall.h: add memfd_secret from linux v5.14" and removed the comments. (No need to resubmit) Rich