From patchwork Thu Aug 6 22:35:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 40228 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 D185A3857C45; Thu, 6 Aug 2020 22:35:18 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 367D23858D35 for ; Thu, 6 Aug 2020 22:35:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 367D23858D35 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: JZIiwYvrpbjlbR8hPa+3KIdGG6QNTe2Wd1t7IUqotBaIk3PYHUgFrSeBMiGmbI+Xe/KlCJPI8h a0di/l5pGk51Eq1IkXZDWs/adeGV2yEm3mxM+fMG+Bpi2gRDCXoqq47IQJ2UFc8dhdBTeYMLO0 KGWll4ktZX6HTHWxhjPGGJZlxdvbzIyczALEnmEB+WJs+jOVz28DpNW5ltjR6kvEPsvfyMHhlF sENB/n7zL/Quq+CT36kiFNpid5yuna2dRgpdi4Oui2H3qMjBas135Abru6WlIqHDKhW3NKAMM4 BHI= X-IronPort-AV: E=Sophos;i="5.75,443,1589270400"; d="scan'208";a="51718491" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 06 Aug 2020 14:35:14 -0800 IronPort-SDR: j8olyMqruPHCOtuGfNz/XEcM7zSifA8I8IpzVyyX/JJgN1h74hi4sXLA2DErZ9m7DWWTuX3NNQ 50xBq+6pqje+1R+R+umWj7XaN4PIGC356nylPE3IxBqKuC+BejWMqp7aPuXFxvXyjoYZaX4D// wqDkh7ViA5qSnwpr5pvXSv/QuDH48jdll7YeRd+qG4Ifwgy4iddmwy8cn9xaRnAgSfmMkJ3bx8 NXFoe9q4eJp1efgel+ZgwcF+9w7ZlNIvFBms659f4Dp3K0sogkYE4vPAmactkwbRsEveBAHaiQ uNE= Date: Thu, 6 Aug 2020 22:35:08 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Subject: Update syscall lists for Linux 5.8 Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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-03.mgc.mentorg.com (139.181.222.3) X-Spam-Status: No, score=-3133.0 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.8 has one new syscall, faccessat2. 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 81767d6..ebbb5e1 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -33,6 +33,7 @@ #define __NR_exit 93 #define __NR_exit_group 94 #define __NR_faccessat 48 +#define __NR_faccessat2 439 #define __NR_fadvise64 223 #define __NR_fallocate 47 #define __NR_fanotify_init 262 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index 97db195..f0744f2 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -45,6 +45,7 @@ #define __NR_exit 1 #define __NR_exit_group 405 #define __NR_faccessat 462 +#define __NR_faccessat2 549 #define __NR_fadvise64 413 #define __NR_fallocate 480 #define __NR_fanotify_init 494 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index 58cd927..591ff88 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -37,6 +37,7 @@ #define __NR_exit 93 #define __NR_exit_group 94 #define __NR_faccessat 48 +#define __NR_faccessat2 439 #define __NR_fadvise64_64 223 #define __NR_fallocate 47 #define __NR_fanotify_init 262 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index d13eeed..42ea0fd 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -54,6 +54,7 @@ #define __NR_exit 1 #define __NR_exit_group 248 #define __NR_faccessat 334 +#define __NR_faccessat2 439 #define __NR_fallocate 352 #define __NR_fanotify_init 367 #define __NR_fanotify_mark 368 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index 6273d1b..64dc411 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -39,6 +39,7 @@ #define __NR_exit 93 #define __NR_exit_group 94 #define __NR_faccessat 48 +#define __NR_faccessat2 439 #define __NR_fadvise64_64 223 #define __NR_fallocate 47 #define __NR_fanotify_init 262 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index 80b7278..56e3bad 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -51,6 +51,7 @@ #define __NR_exit 1 #define __NR_exit_group 222 #define __NR_faccessat 287 +#define __NR_faccessat2 439 #define __NR_fadvise64_64 236 #define __NR_fallocate 305 #define __NR_fanotify_init 322 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index 6669c1b..cc554ca 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -55,6 +55,7 @@ #define __NR_exit 1 #define __NR_exit_group 252 #define __NR_faccessat 307 +#define __NR_faccessat2 439 #define __NR_fadvise64 250 #define __NR_fadvise64_64 272 #define __NR_fallocate 324 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index 60ec095..50405e4 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -44,6 +44,7 @@ #define __NR_exit 1025 #define __NR_exit_group 1236 #define __NR_faccessat 1293 +#define __NR_faccessat2 1463 #define __NR_fadvise64 1234 #define __NR_fallocate 1303 #define __NR_fanotify_init 1323 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index 2edecb1..49ceaa8 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -55,6 +55,7 @@ #define __NR_exit 1 #define __NR_exit_group 247 #define __NR_faccessat 300 +#define __NR_faccessat2 439 #define __NR_fadvise64 246 #define __NR_fadvise64_64 267 #define __NR_fallocate 320 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index d72845c..2bc15c6 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -55,6 +55,7 @@ #define __NR_exit 1 #define __NR_exit_group 252 #define __NR_faccessat 307 +#define __NR_faccessat2 439 #define __NR_fadvise64 250 #define __NR_fadvise64_64 272 #define __NR_fallocate 324 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index 29217a1..57e0fe0 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -56,6 +56,7 @@ #define __NR_exit 4001 #define __NR_exit_group 4246 #define __NR_faccessat 4300 +#define __NR_faccessat2 4439 #define __NR_fadvise64 4254 #define __NR_fallocate 4320 #define __NR_fanotify_init 4336 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 26996a6..2023297 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -53,6 +53,7 @@ #define __NR_exit 6058 #define __NR_exit_group 6205 #define __NR_faccessat 6263 +#define __NR_faccessat2 6439 #define __NR_fadvise64 6216 #define __NR_fallocate 6283 #define __NR_fanotify_init 6300 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 f046a77..8e1dd0c 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_exit 5058 #define __NR_exit_group 5205 #define __NR_faccessat 5259 +#define __NR_faccessat2 5439 #define __NR_fadvise64 5215 #define __NR_fallocate 5279 #define __NR_fanotify_init 5295 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index cf85d11..d107c5e 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -38,6 +38,7 @@ #define __NR_exit 93 #define __NR_exit_group 94 #define __NR_faccessat 48 +#define __NR_faccessat2 439 #define __NR_fadvise64_64 223 #define __NR_fallocate 47 #define __NR_fanotify_init 262 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 90ff02b..2ef6c88 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -54,6 +54,7 @@ #define __NR_exit 1 #define __NR_exit_group 234 #define __NR_faccessat 298 +#define __NR_faccessat2 439 #define __NR_fadvise64 233 #define __NR_fadvise64_64 254 #define __NR_fallocate 309 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index 311a560..130e235 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -49,6 +49,7 @@ #define __NR_exit 1 #define __NR_exit_group 234 #define __NR_faccessat 298 +#define __NR_faccessat2 439 #define __NR_fadvise64 233 #define __NR_fallocate 309 #define __NR_fanotify_init 323 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index 1f90f25..385722c 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -33,6 +33,7 @@ #define __NR_exit 93 #define __NR_exit_group 94 #define __NR_faccessat 48 +#define __NR_faccessat2 439 #define __NR_fadvise64 223 #define __NR_fallocate 47 #define __NR_fanotify_init 262 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 92210b6..18a8ed1 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -53,6 +53,7 @@ #define __NR_exit 1 #define __NR_exit_group 248 #define __NR_faccessat 300 +#define __NR_faccessat2 439 #define __NR_fadvise64 253 #define __NR_fadvise64_64 264 #define __NR_fallocate 314 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 af031e9..d59248e 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -45,6 +45,7 @@ #define __NR_exit 1 #define __NR_exit_group 248 #define __NR_faccessat 300 +#define __NR_faccessat2 439 #define __NR_fadvise64 253 #define __NR_fallocate 314 #define __NR_fanotify_init 332 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index e554ad2..e69906c 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -52,6 +52,7 @@ #define __NR_exit 1 #define __NR_exit_group 252 #define __NR_faccessat 307 +#define __NR_faccessat2 439 #define __NR_fadvise64 250 #define __NR_fadvise64_64 272 #define __NR_fallocate 324 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index cb93f94..ee186fa 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -54,6 +54,7 @@ #define __NR_exit 1 #define __NR_exit_group 188 #define __NR_faccessat 296 +#define __NR_faccessat2 439 #define __NR_fadvise64 209 #define __NR_fadvise64_64 210 #define __NR_fallocate 314 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index 6f108ff..7ce4150 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_exit 1 #define __NR_exit_group 188 #define __NR_faccessat 296 +#define __NR_faccessat2 439 #define __NR_fadvise64 209 #define __NR_fadvise64_64 210 #define __NR_fallocate 314 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index 15dec5b..a462318 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.7. -kernel 5.7 +# The list of system calls is current as of Linux 5.8. +kernel 5.8 FAST_atomic_update FAST_cmpxchg @@ -105,6 +105,7 @@ execveat exit exit_group faccessat +faccessat2 fadvise64 fadvise64_64 fallocate 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 d22e5b2..8dc0062 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_exit 60 #define __NR_exit_group 231 #define __NR_faccessat 269 +#define __NR_faccessat2 439 #define __NR_fadvise64 221 #define __NR_fallocate 285 #define __NR_fanotify_init 300 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 9a6f4f1..1a701c1 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -44,6 +44,7 @@ #define __NR_exit 1073741884 #define __NR_exit_group 1073742055 #define __NR_faccessat 1073742093 +#define __NR_faccessat2 1073742263 #define __NR_fadvise64 1073742045 #define __NR_fallocate 1073742109 #define __NR_fanotify_init 1073742124