|
Message-ID: <20240218022650.1097269-4-gael.portay@rtone.fr> Date: Sun, 18 Feb 2024 03:26:45 +0100 From: Gaël PORTAY <gael.portay@...ne.fr> To: musl@...ts.openwall.com Cc: Gaël PORTAY <gael.portay@...ne.fr> Subject: [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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.