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 8B73928BB0 for ; Sun, 18 Feb 2024 03:27:37 +0100 (CET) Received: (qmail 30664 invoked by uid 550); 18 Feb 2024 02:24:04 -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 30427 invoked from network); 18 Feb 2024 02:24:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtone.fr; s=google; t=1708223222; x=1708828022; 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=fcXaIYlE0JWGXsX3PNU504L1nb3AFh4rIz7/qzoZhdo=; b=WCoODDtfiokHKBFPpOiC+I0vvU+BS32ikKMWEUgs2n7IIyL5jsipoPJHFeD3xSFjiV SpTRQQfgcVcfxWqi+1L9LdSnwdRd+aUXsacuZdjjd4irRIHb1czAMuxbUy/6f1GH20xu JBB32t0InN4S3k60XQZtDe5wSzfaKiDEOXPKU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708223222; x=1708828022; 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=fcXaIYlE0JWGXsX3PNU504L1nb3AFh4rIz7/qzoZhdo=; b=VZlYSE8QoY5O1TCRfC3gPJb4z+eOfjR/EuA272zYEHCPhLhMbmMxjn73LO2UJFcUNc gtY1RWT7eOwcQmAAffpv4GKfXbsLIGbP5TcYYLCXR0lUiUrZ4rmo627i+jqwQvm6cdvS NLxD7zQXjzJdCYCXriRtukdCrusHMUrcD3aFAT9AfL+xP/Nq9+mOGXNzOSdYOrww+MDQ vjG0I+bg5wGePxIYKrpt6EzoI8jFAkFtLwq+Dtojk5WWIPdq5lQOAiqF0NcWRrfkcjav EmAVxWhBMULS2rJRdvmEswHi7ibEpzZChAwc8S2vlY+Ub/l1tjhR8kGIqaEtA6yrzVJE K/UQ== X-Gm-Message-State: AOJu0YzOH72g/H50kNlSIgsrZdgWczBluJeIDy5bL2ZyFUIUrQxZP/7J OZgp/Q+NqatDGIUzKv32Y45ZXxePCd7aHR2gN3+SglHW1rpbHL75+3mvF1OLqrDBexN2vAKFLf9 1 X-Google-Smtp-Source: AGHT+IGfKiI5oW4EbFCAG8sShBSZrKDmjbGvXK/0jN1es2EvlNILHy9JucDtP+8+a0/Ukt/rmkgvhw== X-Received: by 2002:a05:600c:4584:b0:411:d620:26bd with SMTP id r4-20020a05600c458400b00411d62026bdmr6086129wmo.17.1708223221867; Sat, 17 Feb 2024 18:27:01 -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:45 +0100 Message-ID: <20240218022650.1097269-4-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 3/8] bits/syscall.h: add futex_waitv from linux v5.16 see linux commit 039c0ec9bb77446d7ada7f55f90af9299b28ca49 futex,x86: Wire up sys_futex_waitv() linux commit ea7c45fde5aa3e761aaddb7902a31a95cb120e7b futex,arm: Wire up sys_futex_waitv() linux commit b3ff2881ba18b852f79f5476d7631940071f1adb MIPS: syscalls: Wire up futex_waitv syscall linux commit 8f663eb3b7e8c4c88919be8c42768a8100ca6060 parisc: Wire up futex_waitv linux commit 6c122360cf2f4c5a856fcbd79b4485b7baec942a s390: wire up sys_futex_waitv system call linux commit a0eb2da92b715d0c97b96b09979689ea09faefe6 futex: Wireup futex_waitv 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 0eb225ff..fc646f0e 100644 --- a/arch/aarch64/bits/syscall.h.in +++ b/arch/aarch64/bits/syscall.h.in @@ -301,4 +301,5 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index 45aaa453..ec40e0b9 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -401,6 +401,7 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 #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 d8df69ec..907b5641 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -438,4 +438,5 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/m68k/bits/syscall.h.in b/arch/m68k/bits/syscall.h.in index 9ab58651..e545c68d 100644 --- a/arch/m68k/bits/syscall.h.in +++ b/arch/m68k/bits/syscall.h.in @@ -418,3 +418,4 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in index 034620bf..2396aed3 100644 --- a/arch/microblaze/bits/syscall.h.in +++ b/arch/microblaze/bits/syscall.h.in @@ -439,4 +439,5 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in index 108da1b5..85fbbb4e 100644 --- a/arch/mips/bits/syscall.h.in +++ b/arch/mips/bits/syscall.h.in @@ -420,4 +420,5 @@ #define __NR_landlock_restrict_self 4446 // reserved for memfd_secret 4447 #define __NR_process_mrelease 4448 +#define __NR_futex_waitv 4449 diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in index 3204f90d..a841c24a 100644 --- a/arch/mips64/bits/syscall.h.in +++ b/arch/mips64/bits/syscall.h.in @@ -350,4 +350,5 @@ #define __NR_landlock_restrict_self 5446 // reserved for memfd_secret 5447 #define __NR_process_mrelease 5448 +#define __NR_futex_waitv 5449 diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in index 91333694..a2f2b55e 100644 --- a/arch/mipsn32/bits/syscall.h.in +++ b/arch/mipsn32/bits/syscall.h.in @@ -374,4 +374,5 @@ #define __NR_landlock_restrict_self 6446 // reserved for memfd_secret 6447 #define __NR_process_mrelease 6448 +#define __NR_futex_waitv 6449 diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in index 27c137c2..f4000e43 100644 --- a/arch/or1k/bits/syscall.h.in +++ b/arch/or1k/bits/syscall.h.in @@ -323,4 +323,5 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in index c7c3cee1..cc1c06a4 100644 --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -427,4 +427,5 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in index ebc6edf8..b96285f9 100644 --- a/arch/powerpc64/bits/syscall.h.in +++ b/arch/powerpc64/bits/syscall.h.in @@ -399,4 +399,5 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in index 176d76c4..4f6d2a0b 100644 --- a/arch/riscv64/bits/syscall.h.in +++ b/arch/riscv64/bits/syscall.h.in @@ -301,6 +301,7 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 #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 cc239a11..0de01875 100644 --- a/arch/s390x/bits/syscall.h.in +++ b/arch/s390x/bits/syscall.h.in @@ -364,4 +364,5 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/sh/bits/syscall.h.in b/arch/sh/bits/syscall.h.in index 1a0a4680..49853899 100644 --- a/arch/sh/bits/syscall.h.in +++ b/arch/sh/bits/syscall.h.in @@ -411,4 +411,5 @@ #define __NR_landlock_restrict_self 446 // reserved for memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index 6b0e3c3a..5390db02 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -310,6 +310,7 @@ #define __NR_landlock_restrict_self (0x40000000 + 446) #define __NR_memfd_secret (0x40000000 + 447) #define __NR_process_mrelease (0x40000000 + 448) +#define __NR_futex_waitv (0x40000000 + 449) #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 647c427b..f566d52d 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -357,4 +357,5 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 -- 2.43.2