From patchwork Fri Feb 19 16:51:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1442373 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DhyJw4bzbz9sCD for ; Sat, 20 Feb 2021 03:51:28 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6B264398C033; Fri, 19 Feb 2021 16:51:26 +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 1073C38708CE for ; Fri, 19 Feb 2021 16:51:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1073C38708CE 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: aNkAVvLPqHeN8l+7nKeLRHE4+BYymt5w1iSIyCebRG9cYAszKGy9SyO/9dhfVFjyeTocVYGa54 rKAb0+FZdkS/V4tUMzvpg5rMaI4E65GIVNOEWIH5rZcbDGx3nI4XEdUO0osSuaNhVhs3EstkyC 44uMUX2w8k0utVnv64gGewy6GObmGgz4JWRlYbZYPtMlmm8VF9Q5YtJFHcE857kzU8YaJj7YNE 6z2TGbglyfSZHuYHjUkm2ow+Wj3ok8eqXgzPQUrGTRkL6tHVy8ij/GEoRz5C65x1ulnPJbtGHU noQ= X-IronPort-AV: E=Sophos;i="5.81,189,1610438400"; d="scan'208";a="60614146" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 19 Feb 2021 08:51:22 -0800 IronPort-SDR: vVgvIlbgnd1l6737jsdwRS1zEW85cXr9gJhFIya9klmpYQlhB4QM+froej1hWc2J6ThcQODJ1w gicHpF8xR6Ug+slFwp0yJWf5Z3w6VU7ocFx1wTDBN7no1H8YLNg4eyeZqzoSNaYHC63MZMmsXA a9RwbHdvQC/Doylg6xQQarM5EttaYJAOOK68asweDolzATh+rHcn7IACrXFYbHdbS3JvYQMJ6Q WtUCFGNuP374lV0+e8FO1pa1tUs3M0Do8iDHhhhlb5+uh77N2HV1t8mbJlLOXJ2Uev5pJrK8CQ D34= Date: Fri, 19 Feb 2021 16:51:16 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Subject: Update syscall lists for Linux 5.11 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-03.mgc.mentorg.com (139.181.222.3) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3128.9 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.11 has one new syscall, epoll_pwait2. Update syscall-names.list and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py. --- This was tested in a tree with my previous patch (pending review), to use Linux 5.11 in build-many-glibcs.py, applied (and with compilers built with that patch applied, so using Linux 5.11 kernel headers). diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 1bbf70476a..7841e1b54d 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -28,6 +28,7 @@ #define __NR_epoll_create1 20 #define __NR_epoll_ctl 21 #define __NR_epoll_pwait 22 +#define __NR_epoll_pwait2 441 #define __NR_eventfd2 19 #define __NR_execve 221 #define __NR_execveat 281 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index 6ef635b5dd..6d91756caa 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -37,6 +37,7 @@ #define __NR_epoll_create1 486 #define __NR_epoll_ctl 408 #define __NR_epoll_pwait 474 +#define __NR_epoll_pwait2 551 #define __NR_epoll_wait 409 #define __NR_eventfd 478 #define __NR_eventfd2 485 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index fb20e6cf7c..021c5bcdcd 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -32,6 +32,7 @@ #define __NR_epoll_create1 20 #define __NR_epoll_ctl 21 #define __NR_epoll_pwait 22 +#define __NR_epoll_pwait2 441 #define __NR_eventfd2 19 #define __NR_execve 221 #define __NR_execveat 281 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index adf83757ea..9352319740 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -47,6 +47,7 @@ #define __NR_epoll_create1 357 #define __NR_epoll_ctl 251 #define __NR_epoll_pwait 346 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 252 #define __NR_eventfd 351 #define __NR_eventfd2 356 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index 53781e6af2..4b44fac628 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -34,6 +34,7 @@ #define __NR_epoll_create1 20 #define __NR_epoll_ctl 21 #define __NR_epoll_pwait 22 +#define __NR_epoll_pwait2 441 #define __NR_eventfd2 19 #define __NR_execve 221 #define __NR_execveat 281 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index ac78d19c46..5960c4edef 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -44,6 +44,7 @@ #define __NR_epoll_create1 311 #define __NR_epoll_ctl 225 #define __NR_epoll_pwait 297 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 226 #define __NR_eventfd 304 #define __NR_eventfd2 310 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index eb9e9fe281..d366e1536a 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_epoll_create1 329 #define __NR_epoll_ctl 255 #define __NR_epoll_pwait 319 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 256 #define __NR_eventfd 323 #define __NR_eventfd2 328 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index d1ab7ea26f..51133c7960 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -37,6 +37,7 @@ #define __NR_epoll_create1 1315 #define __NR_epoll_ctl 1244 #define __NR_epoll_pwait 1305 +#define __NR_epoll_pwait2 1465 #define __NR_epoll_wait 1245 #define __NR_eventfd 1309 #define __NR_eventfd2 1314 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index 89f4ba0a7c..4ef981eb84 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_epoll_create1 325 #define __NR_epoll_ctl 250 #define __NR_epoll_pwait 315 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 251 #define __NR_eventfd 319 #define __NR_eventfd2 324 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index fe0897d685..40e10d5948 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -48,6 +48,7 @@ #define __NR_epoll_create1 341 #define __NR_epoll_ctl 255 #define __NR_epoll_pwait 319 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 256 #define __NR_eventfd 323 #define __NR_eventfd2 340 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index e78c2c47e1..6110468b0c 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -49,6 +49,7 @@ #define __NR_epoll_create1 4326 #define __NR_epoll_ctl 4249 #define __NR_epoll_pwait 4313 +#define __NR_epoll_pwait2 4441 #define __NR_epoll_wait 4250 #define __NR_eventfd 4319 #define __NR_eventfd2 4325 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 f08ae0df73..6c580c74dd 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -46,6 +46,7 @@ #define __NR_epoll_create1 6289 #define __NR_epoll_ctl 6208 #define __NR_epoll_pwait 6276 +#define __NR_epoll_pwait2 6441 #define __NR_epoll_wait 6209 #define __NR_eventfd 6282 #define __NR_eventfd2 6288 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 287249adb6..96ea97a6f1 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -41,6 +41,7 @@ #define __NR_epoll_create1 5285 #define __NR_epoll_ctl 5208 #define __NR_epoll_pwait 5272 +#define __NR_epoll_pwait2 5441 #define __NR_epoll_wait 5209 #define __NR_eventfd 5278 #define __NR_eventfd2 5284 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index 2c1b66fb31..b3df453267 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -33,6 +33,7 @@ #define __NR_epoll_create1 20 #define __NR_epoll_ctl 21 #define __NR_epoll_pwait 22 +#define __NR_epoll_pwait2 441 #define __NR_eventfd2 19 #define __NR_execve 221 #define __NR_execveat 281 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 87f92f5a03..73ac1a9e83 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -47,6 +47,7 @@ #define __NR_epoll_create1 315 #define __NR_epoll_ctl 237 #define __NR_epoll_pwait 303 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 238 #define __NR_eventfd 307 #define __NR_eventfd2 314 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index f55c0e5702..a0eb956de1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -42,6 +42,7 @@ #define __NR_epoll_create1 315 #define __NR_epoll_ctl 237 #define __NR_epoll_pwait 303 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 238 #define __NR_eventfd 307 #define __NR_eventfd2 314 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h index a238513083..9d277b62f6 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h @@ -26,6 +26,7 @@ #define __NR_epoll_create1 20 #define __NR_epoll_ctl 21 #define __NR_epoll_pwait 22 +#define __NR_epoll_pwait2 441 #define __NR_eventfd2 19 #define __NR_execve 221 #define __NR_execveat 281 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index e7cd372e01..fb81726e45 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -28,6 +28,7 @@ #define __NR_epoll_create1 20 #define __NR_epoll_ctl 21 #define __NR_epoll_pwait 22 +#define __NR_epoll_pwait2 441 #define __NR_eventfd2 19 #define __NR_execve 221 #define __NR_execveat 281 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 c19bf384f8..7d26205e60 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -46,6 +46,7 @@ #define __NR_epoll_create1 327 #define __NR_epoll_ctl 250 #define __NR_epoll_pwait 312 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 251 #define __NR_eventfd 318 #define __NR_eventfd2 323 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 e76cceaa23..f52b1e39bc 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -38,6 +38,7 @@ #define __NR_epoll_create1 327 #define __NR_epoll_ctl 250 #define __NR_epoll_pwait 312 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 251 #define __NR_eventfd 318 #define __NR_eventfd2 323 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index eea0c95a04..07037a6252 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -45,6 +45,7 @@ #define __NR_epoll_create1 329 #define __NR_epoll_ctl 255 #define __NR_epoll_pwait 319 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 256 #define __NR_eventfd 323 #define __NR_eventfd2 328 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index 91475bd50a..77013005cd 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -46,6 +46,7 @@ #define __NR_epoll_create1 319 #define __NR_epoll_ctl 194 #define __NR_epoll_pwait 309 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 195 #define __NR_eventfd 313 #define __NR_eventfd2 318 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index b3eab299da..fb7e3158ab 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -40,6 +40,7 @@ #define __NR_epoll_create1 319 #define __NR_epoll_ctl 194 #define __NR_epoll_pwait 309 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 195 #define __NR_eventfd 313 #define __NR_eventfd2 318 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index 4df7eeab96..f6cb34089d 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.10. -kernel 5.10 +# The list of system calls is current as of Linux 5.11. +kernel 5.11 FAST_atomic_update FAST_cmpxchg @@ -95,6 +95,7 @@ epoll_create1 epoll_ctl epoll_ctl_old epoll_pwait +epoll_pwait2 epoll_wait epoll_wait_old eventfd 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 cb036a1f68..f7b0e28c24 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -40,6 +40,7 @@ #define __NR_epoll_ctl 233 #define __NR_epoll_ctl_old 214 #define __NR_epoll_pwait 281 +#define __NR_epoll_pwait2 441 #define __NR_epoll_wait 232 #define __NR_epoll_wait_old 215 #define __NR_eventfd 284 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 49aca5974b..dd9b2dd581 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -37,6 +37,7 @@ #define __NR_epoll_create1 1073742115 #define __NR_epoll_ctl 1073742057 #define __NR_epoll_pwait 1073742105 +#define __NR_epoll_pwait2 1073742265 #define __NR_epoll_wait 1073742056 #define __NR_eventfd 1073742108 #define __NR_eventfd2 1073742114