From patchwork Tue Apr 27 23:52:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 43180 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A9CF03850400; Tue, 27 Apr 2021 23:52:37 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 7DE22385781C for ; Tue, 27 Apr 2021 23:52:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7DE22385781C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: 65BfCbV8xJffhecMSzFpmfNPHmZZBKJyofgCZ/zSAHWfEixr7hSrQY6kgENp7BF1PM6BZ5pbap XUkF21if0mqJw32ZkXWRSfagGMwfG5XGYQm7C+7Hw0aEIk2Ew0Dh1YoWW3NTlFAmO44jCZm6PN oogQffQkIL5XP16QEMotpUqQ13BiKnkwluTS0N5KWfhpggNpVzsSQViB5FpkaGnsEk0sAehidN nX+o55GEnK9jNyeVMTf6lRGMAVhy/A1dxS82po2p8JAbxSno2RoE8NR9XBM3zZNLCYza33rivg XS8= X-IronPort-AV: E=Sophos;i="5.82,256,1613462400"; d="scan'208";a="62968902" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 27 Apr 2021 15:52:33 -0800 IronPort-SDR: iPpQkZ/tGUPL4NZn+HXUBOvar5bYTOQFjKq+oGwdrK1dWSAuEuNf0f2DbR4Kv4TsVdYK4n6v51 yBMteJYilF5pVQu+OCZpyRgnk1ZEYe/dcGlhYWNBXv6PCOD8bJCZcOZud1qknhkjmGDVqtxsZy ePDyJngrOnojv2b0aoKazrTtKZxpgEOZRpr4SzlvhiawxVFxetSHsINcSZNoy5gHSS7ImMin9d I7NuTRgYtAStv5/ni9821fB2HuUMYUs8BZw5e+c+eRvvcd/NsDN/0VtdxQpnIOUtonAWOYdUag ZKM= Date: Tue, 27 Apr 2021 23:52:27 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Subject: Update syscall lists for Linux 5.12 Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3127.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" 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 --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