From: Joseph Myers Date: Tue, 12 Sep 2023 14:08:53 +0000 (+0000) Subject: Update syscall lists for Linux 6.5 X-Git-Tag: glibc-2.39~426 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72511f539cc34681ec61c6a0dc2fe6d684760ffe;p=thirdparty%2Fglibc.git Update syscall lists for Linux 6.5 Linux 6.5 has one new syscall, cachestat, and also enables the cacheflush syscall for hppa. Update syscall-names.list and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py. --- diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 4fcb6da80af..8f21ee66a0d 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -7,6 +7,7 @@ #define __NR_bind 200 #define __NR_bpf 280 #define __NR_brk 214 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index 0cf74c1a96b..c5802a5fec3 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -11,6 +11,7 @@ #define __NR_bind 104 #define __NR_bpf 515 #define __NR_brk 17 +#define __NR_cachestat 561 #define __NR_capget 368 #define __NR_capset 369 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index c1207aaa12b..f23f9e1154f 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -11,6 +11,7 @@ #define __NR_bpf 280 #define __NR_brk 214 #define __NR_cacheflush 244 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index e7ba04c106d..7edf5748993 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -15,6 +15,7 @@ #define __NR_bpf 386 #define __NR_brk 45 #define __NR_cacheflush 983042 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index dc9383758eb..d74a06e0634 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -8,6 +8,7 @@ #define __NR_bpf 280 #define __NR_brk 214 #define __NR_cacheflush 245 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index 767f1287a30..5568b94cd30 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -13,6 +13,8 @@ #define __NR_bind 22 #define __NR_bpf 341 #define __NR_brk 45 +#define __NR_cacheflush 356 +#define __NR_cachestat 451 #define __NR_capget 106 #define __NR_capset 107 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index 1998f0d76a4..3af21a15cbd 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -15,6 +15,7 @@ #define __NR_bpf 357 #define __NR_break 17 #define __NR_brk 45 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index b2eab1b93d7..39b270e642a 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -11,6 +11,7 @@ #define __NR_bind 1191 #define __NR_bpf 1341 #define __NR_brk 1060 +#define __NR_cachestat 1475 #define __NR_capget 1185 #define __NR_capset 1186 #define __NR_chdir 1034 diff --git a/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h b/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h index 6bb3c8adbcb..fdefe8bb6fa 100644 --- a/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/loongarch/arch-syscall.h @@ -7,6 +7,7 @@ #define __NR_bind 200 #define __NR_bpf 280 #define __NR_brk 214 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index 5fc3723772f..315e49cd333 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -15,6 +15,7 @@ #define __NR_bpf 354 #define __NR_brk 45 #define __NR_cacheflush 123 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index b6e9b007e49..54af12780cb 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -15,6 +15,7 @@ #define __NR_bpf 387 #define __NR_break 17 #define __NR_brk 45 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index b3a3871f8ab..a2aa1ffa1b2 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -17,6 +17,7 @@ #define __NR_brk 4045 #define __NR_cachectl 4148 #define __NR_cacheflush 4147 +#define __NR_cachestat 4451 #define __NR_capget 4204 #define __NR_capset 4205 #define __NR_chdir 4012 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 b462182723a..5bec858040a 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -14,6 +14,7 @@ #define __NR_brk 6012 #define __NR_cachectl 6198 #define __NR_cacheflush 6197 +#define __NR_cachestat 6451 #define __NR_capget 6123 #define __NR_capset 6124 #define __NR_chdir 6078 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 a9d6b94572e..0166371ee22 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -14,6 +14,7 @@ #define __NR_brk 5012 #define __NR_cachectl 5198 #define __NR_cacheflush 5197 +#define __NR_cachestat 5451 #define __NR_capget 5123 #define __NR_capset 5124 #define __NR_chdir 5078 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index 809a219ef32..29a4cfa988c 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -8,6 +8,7 @@ #define __NR_bpf 280 #define __NR_brk 214 #define __NR_cacheflush 244 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/or1k/arch-syscall.h b/sysdeps/unix/sysv/linux/or1k/arch-syscall.h index 1364f4cbc09..f5a37296630 100644 --- a/sysdeps/unix/sysv/linux/or1k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/or1k/arch-syscall.h @@ -7,6 +7,7 @@ #define __NR_bind 200 #define __NR_bpf 280 #define __NR_brk 214 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 627831ebae1..3a212a0269d 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -15,6 +15,7 @@ #define __NR_bpf 361 #define __NR_break 17 #define __NR_brk 45 +#define __NR_cachestat 451 #define __NR_capget 183 #define __NR_capset 184 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index bae597199d7..1038ead2278 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -15,6 +15,7 @@ #define __NR_bpf 361 #define __NR_break 17 #define __NR_brk 45 +#define __NR_cachestat 451 #define __NR_capget 183 #define __NR_capset 184 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h index 2416e041c83..57b043ffb51 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h @@ -6,6 +6,7 @@ #define __NR_bind 200 #define __NR_bpf 280 #define __NR_brk 214 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index a32bc82f60c..1041a0f8c94 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -7,6 +7,7 @@ #define __NR_bind 200 #define __NR_bpf 280 #define __NR_brk 214 +#define __NR_cachestat 451 #define __NR_capget 90 #define __NR_capset 91 #define __NR_chdir 49 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 2288f20e459..70d4c6782e4 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -13,6 +13,7 @@ #define __NR_bind 361 #define __NR_bpf 351 #define __NR_brk 45 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 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 05e6d8428ed..65a8a9e316b 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -11,6 +11,7 @@ #define __NR_bind 361 #define __NR_bpf 351 #define __NR_brk 45 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index d52b522d9ca..94aad0f119d 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -14,6 +14,7 @@ #define __NR_bpf 375 #define __NR_brk 45 #define __NR_cacheflush 123 +#define __NR_cachestat 451 #define __NR_capget 184 #define __NR_capset 185 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index d3f4d8aa3ed..d630306c753 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -14,6 +14,7 @@ #define __NR_bind 353 #define __NR_bpf 349 #define __NR_brk 17 +#define __NR_cachestat 451 #define __NR_capget 21 #define __NR_capset 22 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index 2cc03d7a244..930f29b4d2a 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -14,6 +14,7 @@ #define __NR_bind 353 #define __NR_bpf 349 #define __NR_brk 17 +#define __NR_cachestat 451 #define __NR_capget 21 #define __NR_capset 22 #define __NR_chdir 12 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index 5b69106434f..cf6f70ecd9e 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 6.4. -kernel 6.4 +# The list of system calls is current as of Linux 6.5. +kernel 6.5 FAST_atomic_update FAST_cmpxchg @@ -58,6 +58,7 @@ breakpoint brk cachectl cacheflush +cachestat capget capset chdir 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 b4ab892ec18..58646cf0bdf 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -12,6 +12,7 @@ #define __NR_bind 49 #define __NR_bpf 321 #define __NR_brk 12 +#define __NR_cachestat 451 #define __NR_capget 125 #define __NR_capset 126 #define __NR_chdir 80 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 772559c87b3..604bcdfa5b1 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -11,6 +11,7 @@ #define __NR_bind 1073741873 #define __NR_bpf 1073742145 #define __NR_brk 1073741836 +#define __NR_cachestat 1073742275 #define __NR_capget 1073741949 #define __NR_capset 1073741950 #define __NR_chdir 1073741904