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=-2.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 D30962B30A for ; Sun, 18 Feb 2024 03:28:24 +0100 (CET) Received: (qmail 32001 invoked by uid 550); 18 Feb 2024 02:24:07 -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 30696 invoked from network); 18 Feb 2024 02:24:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtone.fr; s=google; t=1708223225; x=1708828025; darn=lists.openwall.com; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F6D5MyxQs8ufwg7aY3eEAA+mVdbKTKOhMD3OS85mSg4=; b=R0C6Ilna65njRby3Or0/RkFCGBa36PDIhu7SdkRzCJbQb3q6pvMvx9TG5BHQc5Puiq 6KGv2xyyxoB2qBjaFlKKg/KH6yNZQVZbpwZqVUTMw+j4bPDyDt6t03NL323+wtkbHDfX 7Vfr220VGksvEQUCi5s+4LBawaEF1jmiNJWIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708223225; x=1708828025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F6D5MyxQs8ufwg7aY3eEAA+mVdbKTKOhMD3OS85mSg4=; b=fu4UEth2vDG4PFZdF2F5ZDwc3Uw7kW72HDJQnJyVWmEVig1PM5VNsnzBv6n07oGdEF W/K7L1SvCnH4H6HQRJ+j863TgFo/nihauF6A4uFsBZ6dWZHh3b+LovocQDWss7x+q1Jv IsdKrCjniRiTqn1oCEgEi06E4q2IRLpd5ks9FrC1m9VgclS64n39C3hbaFiGLqaGfJsg WTOFq8q7C1iWVsCUiO1txauW4duqdt7IXZqXLrunwidSgC0yggHIt8yoaU+t3AODiwo3 3vTvD6RyZloN6sIrl0JnSv6XO8uLku/YBZKHhRe0tP54vWQU8b21iHcL9MsFvR853qj0 h8vw== X-Gm-Message-State: AOJu0YxCisGs0sPnYce7C81bdPLWjUhzn2VO+CqxyLU7blEvTXOQZAUZ uQ9yJWO/K8nCQskzjycA2uTXLBo3ADujBQqZ53X1xEkA/uaqQ98Qn6mabskHbGCl1qjqXY/HJzV c X-Google-Smtp-Source: AGHT+IEeE/5sWHUNzQ415Sbo1CL7ebs3R1/1W5XWb8bo+g1B+TDcXr7yqfIJjD9fE2OtVssu424C0Q== X-Received: by 2002:a5d:59a7:0:b0:33d:1596:8a11 with SMTP id p7-20020a5d59a7000000b0033d15968a11mr7768wrr.42.1708223224834; Sat, 17 Feb 2024 18:27:04 -0800 (PST) From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= To: musl@lists.openwall.com Cc: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Sun, 18 Feb 2024 03:26:49 +0100 Message-ID: <20240218022650.1097269-8-gael.portay@rtone.fr> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218022650.1097269-1-gael.portay@rtone.fr> References: <20240218022650.1097269-1-gael.portay@rtone.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [PATCH v2 7/8] bits/syscall.h: add __NR_fchmodat2 from linux v6.6 the linux fchmodat syscall lacks a flag argument that is necessary to implement the posix api, see linux commit 09da082b07bbae1c11d9560c8502800039aebcea fs: Add fchmodat2() linux commit 78252deb023cf0879256fcfbafe37022c390762b arch: Register fchmodat2, usually as syscall 452 --- 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 f2ea0cbe..7ee0b8c6 100644 --- a/arch/aarch64/bits/syscall.h.in +++ b/arch/aarch64/bits/syscall.h.in @@ -304,4 +304,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index ccc023ed..138397b2 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -404,6 +404,7 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in index f11dbac3..55e91cc4 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -441,4 +441,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/m68k/bits/syscall.h.in b/arch/m68k/bits/syscall.h.in index d8f799e0..d41268c7 100644 --- a/arch/m68k/bits/syscall.h.in +++ b/arch/m68k/bits/syscall.h.in @@ -421,3 +421,4 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in index 1b4bad8c..8793e0b7 100644 --- a/arch/microblaze/bits/syscall.h.in +++ b/arch/microblaze/bits/syscall.h.in @@ -442,4 +442,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in index a7b6b21c..b2a75ac8 100644 --- a/arch/mips/bits/syscall.h.in +++ b/arch/mips/bits/syscall.h.in @@ -423,4 +423,5 @@ #define __NR_futex_waitv 4449 #define __NR_set_mempolicy_home_node 4450 #define __NR_cachestat 4451 +#define __NR_fchmodat2 4452 diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in index 09198a79..89babd12 100644 --- a/arch/mips64/bits/syscall.h.in +++ b/arch/mips64/bits/syscall.h.in @@ -353,4 +353,5 @@ #define __NR_futex_waitv 5449 #define __NR_set_mempolicy_home_node 5450 #define __NR_cachestat 5451 +#define __NR_fchmodat2 5452 diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in index 0aa50518..f82e7c67 100644 --- a/arch/mipsn32/bits/syscall.h.in +++ b/arch/mipsn32/bits/syscall.h.in @@ -377,4 +377,5 @@ #define __NR_futex_waitv 6449 #define __NR_set_mempolicy_home_node 6450 #define __NR_cachestat 6451 +#define __NR_fchmodat2 6452 diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in index 5279d3db..edb65b21 100644 --- a/arch/or1k/bits/syscall.h.in +++ b/arch/or1k/bits/syscall.h.in @@ -326,4 +326,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in index 39564a1b..0315ea1d 100644 --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -430,4 +430,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in index e08f264e..8b3e3b0b 100644 --- a/arch/powerpc64/bits/syscall.h.in +++ b/arch/powerpc64/bits/syscall.h.in @@ -402,4 +402,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in index dbe05739..83c5036c 100644 --- a/arch/riscv64/bits/syscall.h.in +++ b/arch/riscv64/bits/syscall.h.in @@ -304,6 +304,7 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 #define __NR_sysriscv __NR_arch_specific_syscall #define __NR_riscv_flush_icache (__NR_sysriscv + 15) diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in index 21577df5..e60711a6 100644 --- a/arch/s390x/bits/syscall.h.in +++ b/arch/s390x/bits/syscall.h.in @@ -367,4 +367,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/sh/bits/syscall.h.in b/arch/sh/bits/syscall.h.in index da02e9c9..7022331a 100644 --- a/arch/sh/bits/syscall.h.in +++ b/arch/sh/bits/syscall.h.in @@ -414,4 +414,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index d239c587..1d065eea 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -313,6 +313,7 @@ #define __NR_futex_waitv (0x40000000 + 449) #define __NR_set_mempolicy_home_node (0x40000000 + 450) #define __NR_cachestat (0x40000000 + 451) +#define __NR_fchmodat2 (0x40000000 + 452) #define __NR_rt_sigaction (0x40000000 + 512) diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in index 0067d33b..6543bbba 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -360,4 +360,5 @@ #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 #define __NR_cachestat 451 +#define __NR_fchmodat2 452 -- 2.43.2