From 4997a533ae4b51ef66a6b68862b7578a7acb82df Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 13 Jan 2022 22:18:13 +0000 Subject: Update syscall lists for Linux 5.16 Linux 5.16 has one new syscall, futex_waitv. Update syscall-names.list and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py. --- sysdeps/unix/sysv/linux/aarch64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/alpha/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/arc/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/arm/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/csky/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/hppa/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/i386/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/ia64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/m68k/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/microblaze/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/nios2/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/or1k/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sh/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/syscall-names.list | 5 +++-- sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h | 1 + sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h | 1 + 27 files changed, 29 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 74a8095..9905ebe 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -62,6 +62,7 @@ #define __NR_fsync 82 #define __NR_ftruncate 46 #define __NR_futex 98 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index 6fc0a23..ee8085b 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -78,6 +78,7 @@ #define __NR_fsync 95 #define __NR_ftruncate 130 #define __NR_futex 394 +#define __NR_futex_waitv 559 #define __NR_futimesat 454 #define __NR_get_kernel_syms 309 #define __NR_get_mempolicy 430 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index 0c66762..1b626d9 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -65,6 +65,7 @@ #define __NR_fsync 82 #define __NR_ftruncate64 46 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index c41a864..96ef8db 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -90,6 +90,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 240 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 326 #define __NR_get_mempolicy 320 #define __NR_get_robust_list 339 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index 863ffa3..9691015 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -70,6 +70,7 @@ #define __NR_ftruncate64 46 #define __NR_futex 98 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index 6cf27cd..36675fd 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -87,6 +87,7 @@ #define __NR_ftruncate64 200 #define __NR_futex 210 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 279 #define __NR_get_mempolicy 261 #define __NR_get_robust_list 290 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index 2512508..c86ccbd 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -94,6 +94,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 240 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 299 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 275 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index 4a0c737..d898bce 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -74,6 +74,7 @@ #define __NR_fsync 1051 #define __NR_ftruncate 1098 #define __NR_futex 1230 +#define __NR_futex_waitv 1473 #define __NR_futimesat 1285 #define __NR_get_mempolicy 1260 #define __NR_get_robust_list 1299 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index e310eb5..fe721b8 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -93,6 +93,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 235 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 292 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 269 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index b4ecad0..6e10c36 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -94,6 +94,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 240 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 299 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 275 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index 7e3d138..26a6d59 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -93,6 +93,7 @@ #define __NR_ftruncate64 4212 #define __NR_futex 4238 #define __NR_futex_time64 4422 +#define __NR_futex_waitv 4449 #define __NR_futimesat 4292 #define __NR_get_kernel_syms 4130 #define __NR_get_mempolicy 4269 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h index 7e9e232..83e0d49 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -86,6 +86,7 @@ #define __NR_ftruncate 6075 #define __NR_futex 6194 #define __NR_futex_time64 6422 +#define __NR_futex_waitv 6449 #define __NR_futimesat 6255 #define __NR_get_kernel_syms 6170 #define __NR_get_mempolicy 6232 diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h index f9e7ef7..d6747c5 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -78,6 +78,7 @@ #define __NR_fsync 5072 #define __NR_ftruncate 5075 #define __NR_futex 5194 +#define __NR_futex_waitv 5449 #define __NR_futimesat 5251 #define __NR_get_kernel_syms 5170 #define __NR_get_mempolicy 5228 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index afd73fc..4ee209b 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -69,6 +69,7 @@ #define __NR_ftruncate64 46 #define __NR_futex 98 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/or1k/arch-syscall.h b/sysdeps/unix/sysv/linux/or1k/arch-syscall.h index c6c3556..ddeaece 100644 --- a/sysdeps/unix/sysv/linux/or1k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/or1k/arch-syscall.h @@ -69,6 +69,7 @@ #define __NR_ftruncate64 46 #define __NR_futex 98 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 0ac2992..497299f 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -92,6 +92,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 221 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 290 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 260 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index c890bc6..e840279 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -81,6 +81,7 @@ #define __NR_ftime 35 #define __NR_ftruncate 93 #define __NR_futex 221 +#define __NR_futex_waitv 449 #define __NR_futimesat 290 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 260 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h index cd336d7..73ef74c 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h @@ -60,6 +60,7 @@ #define __NR_fsync 82 #define __NR_ftruncate64 46 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index 8edd216..919a79e 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -62,6 +62,7 @@ #define __NR_fsync 82 #define __NR_ftruncate 46 #define __NR_futex 98 +#define __NR_futex_waitv 449 #define __NR_get_mempolicy 236 #define __NR_get_robust_list 100 #define __NR_getcpu 168 diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h index 1a4873f..005c0ad 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -91,6 +91,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 238 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 292 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 269 diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h index 2af4607..9131fdd 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -76,6 +76,7 @@ #define __NR_fsync 118 #define __NR_ftruncate 93 #define __NR_futex 238 +#define __NR_futex_waitv 449 #define __NR_futimesat 292 #define __NR_get_kernel_syms 130 #define __NR_get_mempolicy 269 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index 7b422ce..d8fb041 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -90,6 +90,7 @@ #define __NR_ftruncate64 194 #define __NR_futex 240 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 299 #define __NR_get_mempolicy 275 #define __NR_get_robust_list 312 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index 77c3cc6..2bc014f 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -92,6 +92,7 @@ #define __NR_ftruncate64 84 #define __NR_futex 142 #define __NR_futex_time64 422 +#define __NR_futex_waitv 449 #define __NR_futimesat 288 #define __NR_get_kernel_syms 223 #define __NR_get_mempolicy 304 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index 7ad50bc..76dbbe5 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -82,6 +82,7 @@ #define __NR_fsync 95 #define __NR_ftruncate 130 #define __NR_futex 142 +#define __NR_futex_waitv 449 #define __NR_futimesat 288 #define __NR_get_kernel_syms 223 #define __NR_get_mempolicy 304 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index c80a9a5..6421806 100644 --- a/sysdeps/unix/sysv/linux/syscall-names.list +++ b/sysdeps/unix/sysv/linux/syscall-names.list @@ -21,8 +21,8 @@ # This file can list all potential system calls. The names are only # used if the installed kernel headers also provide them. -# The list of system calls is current as of Linux 5.15. -kernel 5.15 +# The list of system calls is current as of Linux 5.16. +kernel 5.16 FAST_atomic_update FAST_cmpxchg @@ -146,6 +146,7 @@ ftruncate ftruncate64 futex futex_time64 +futex_waitv futimesat get_kernel_syms get_mempolicy diff --git a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h index 3ce2a1f..2855827 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -78,6 +78,7 @@ #define __NR_fsync 74 #define __NR_ftruncate 77 #define __NR_futex 202 +#define __NR_futex_waitv 449 #define __NR_futimesat 261 #define __NR_get_kernel_syms 177 #define __NR_get_mempolicy 239 diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h index 9e87e89..c1ab8ec 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -74,6 +74,7 @@ #define __NR_fsync 1073741898 #define __NR_ftruncate 1073741901 #define __NR_futex 1073742026 +#define __NR_futex_waitv 1073742273 #define __NR_futimesat 1073742085 #define __NR_get_mempolicy 1073742063 #define __NR_get_robust_list 1073742355 -- cgit v1.1