From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1105) id A40DC393D015; Wed, 28 Apr 2021 17:19:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A40DC393D015 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joseph Myers To: glibc-cvs@sourceware.org Subject: [glibc] Update syscall lists for Linux 5.12. X-Act-Checkin: glibc X-Git-Author: Joseph Myers X-Git-Refname: refs/heads/master X-Git-Oldrev: e6eef0adc5827767712f26eb56a41f32cc0f9870 X-Git-Newrev: 4a7c342605bc653f72d60c36abe698986fb5cb47 Message-Id: <20210428171946.A40DC393D015@sourceware.org> Date: Wed, 28 Apr 2021 17:19:46 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2021 17:19:46 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4a7c342605bc653f72d60c36abe698986fb5cb47 commit 4a7c342605bc653f72d60c36abe698986fb5cb47 Author: Joseph Myers Date: Wed Apr 28 17:19:24 2021 +0000 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. Diff: --- 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 7841e1b54d..2479c1de4c 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 6d91756caa..8b06b3fde7 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 021c5bcdcd..5777ff270f 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 9352319740..ed953c8f36 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 4b44fac628..4e8b60369b 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 5960c4edef..ac04bf9e36 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 d366e1536a..ae733bf0f3 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 51133c7960..d5a37b5b91 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 4ef981eb84..6b4c66d0fd 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 40e10d5948..bf0b13a361 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 6110468b0c..7c2af067ee 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 6c580c74dd..478c3c7a6a 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 96ea97a6f1..6e09423d7b 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 b3df453267..ea919c9983 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 73ac1a9e83..d67d60435a 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 a0eb956de1..d6dc8123ac 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 9d277b62f6..5d69de3e27 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 fb81726e45..94b57eee9b 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 7d26205e60..f604561cef 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 f52b1e39bc..ad1a561ff1 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 07037a6252..ee2d01e3b0 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 77013005cd..bbc9d93479 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 fb7e3158ab..b337c13191 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 f6cb34089d..8e3cfa0e77 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 f7b0e28c24..5e8261c5bc 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 dd9b2dd581..9d26d20e0b 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