From 4a7c342605bc653f72d60c36abe698986fb5cb47 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 28 Apr 2021 17:19:24 +0000 Subject: [PATCH] Update syscall lists for Linux 5.12. Linux 5.12 has one new syscall, mount_setattr. 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/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 + 26 files changed, 28 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 7841e1b..2479c1d 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -132,6 +132,7 @@ #define __NR_mlockall 230 #define __NR_mmap 222 #define __NR_mount 40 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 239 #define __NR_mprotect 226 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index 6d91756..8b06b3f 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -164,6 +164,7 @@ #define __NR_mlockall 316 #define __NR_mmap 71 #define __NR_mount 302 +#define __NR_mount_setattr 552 #define __NR_move_mount 539 #define __NR_move_pages 472 #define __NR_mprotect 74 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index 021c5bc..5777ff2 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -136,6 +136,7 @@ #define __NR_mlockall 230 #define __NR_mmap2 222 #define __NR_mount 40 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 239 #define __NR_mprotect 226 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index 9352319..ed953c8 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -178,6 +178,7 @@ #define __NR_mlockall 152 #define __NR_mmap2 192 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 344 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index 4b44fac..4e8b603 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -141,6 +141,7 @@ #define __NR_mlockall 230 #define __NR_mmap2 222 #define __NR_mount 40 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 239 #define __NR_mprotect 226 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index 5960c4e..ac04bf9 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -169,6 +169,7 @@ #define __NR_mmap 90 #define __NR_mmap2 89 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 295 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index d366e15..ae733bf 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -193,6 +193,7 @@ #define __NR_mmap2 192 #define __NR_modify_ldt 123 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 317 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index 51133c7..d5a37b5 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -154,6 +154,7 @@ #define __NR_mmap 1151 #define __NR_mmap2 1172 #define __NR_mount 1043 +#define __NR_mount_setattr 1466 #define __NR_move_mount 1453 #define __NR_move_pages 1276 #define __NR_mprotect 1155 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index 4ef981e..6b4c66d 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -186,6 +186,7 @@ #define __NR_mmap 90 #define __NR_mmap2 192 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 310 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index 40e10d5..bf0b13a 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -193,6 +193,7 @@ #define __NR_mmap2 192 #define __NR_modify_ldt 123 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 317 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index 6110468..7c2af06 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -183,6 +183,7 @@ #define __NR_mmap2 4210 #define __NR_modify_ldt 4123 #define __NR_mount 4021 +#define __NR_mount_setattr 4442 #define __NR_move_mount 4429 #define __NR_move_pages 4308 #define __NR_mprotect 4125 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 6c580c7..478c3c7 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -167,6 +167,7 @@ #define __NR_mlockall 6148 #define __NR_mmap 6009 #define __NR_mount 6160 +#define __NR_mount_setattr 6442 #define __NR_move_mount 6429 #define __NR_move_pages 6271 #define __NR_mprotect 6010 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 96ea97a..6e09423 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -158,6 +158,7 @@ #define __NR_mlockall 5148 #define __NR_mmap 5009 #define __NR_mount 5160 +#define __NR_mount_setattr 5442 #define __NR_move_mount 5429 #define __NR_move_pages 5267 #define __NR_mprotect 5010 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index b3df453..ea919c9 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -140,6 +140,7 @@ #define __NR_mlockall 230 #define __NR_mmap2 222 #define __NR_mount 40 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 239 #define __NR_mprotect 226 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 73ac1a9..d67d604 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -183,6 +183,7 @@ #define __NR_mmap2 192 #define __NR_modify_ldt 123 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 301 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index a0eb956..d6dc812 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -169,6 +169,7 @@ #define __NR_mmap 90 #define __NR_modify_ldt 123 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 301 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h index 9d277b6..5d69de3 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h @@ -126,6 +126,7 @@ #define __NR_mlockall 230 #define __NR_mmap2 222 #define __NR_mount 40 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 239 #define __NR_mprotect 226 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index fb81726..94b57ee 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -132,6 +132,7 @@ #define __NR_mlockall 230 #define __NR_mmap 222 #define __NR_mount 40 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 239 #define __NR_mprotect 226 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 7d26205..f604561 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -186,6 +186,7 @@ #define __NR_mmap 90 #define __NR_mmap2 192 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 310 #define __NR_mprotect 125 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 f52b1e3..ad1a561 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -159,6 +159,7 @@ #define __NR_mlockall 152 #define __NR_mmap 90 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 310 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index 07037a6..ee2d01e 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -179,6 +179,7 @@ #define __NR_mmap 90 #define __NR_mmap2 192 #define __NR_mount 21 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 317 #define __NR_mprotect 125 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index 7701300..bbc9d93 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -184,6 +184,7 @@ #define __NR_mmap 71 #define __NR_mmap2 56 #define __NR_mount 167 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 307 #define __NR_mprotect 74 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index fb7e315..b337c13 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -167,6 +167,7 @@ #define __NR_mlockall 239 #define __NR_mmap 71 #define __NR_mount 167 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 307 #define __NR_mprotect 74 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index f6cb340..8e3cfa0 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.11. -kernel 5.11 +# The list of system calls is current as of Linux 5.12. +kernel 5.12 FAST_atomic_update FAST_cmpxchg @@ -258,6 +258,7 @@ mmap mmap2 modify_ldt mount +mount_setattr move_mount move_pages mprotect 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 f7b0e28..5e8261c 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -163,6 +163,7 @@ #define __NR_mmap 9 #define __NR_modify_ldt 154 #define __NR_mount 165 +#define __NR_mount_setattr 442 #define __NR_move_mount 429 #define __NR_move_pages 279 #define __NR_mprotect 10 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 dd9b2dd..9d26d20 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -157,6 +157,7 @@ #define __NR_mmap 1073741833 #define __NR_modify_ldt 1073741978 #define __NR_mount 1073741989 +#define __NR_mount_setattr 1073742266 #define __NR_move_mount 1073742253 #define __NR_move_pages 1073742357 #define __NR_mprotect 1073741834 -- 2.7.4