diff mbox series

Update syscall lists for Linux 5.11

Message ID alpine.DEB.2.22.394.2102191650340.69612@digraph.polyomino.org.uk
State Committed
Commit 83908b3a1ea51e3aa7ff422275940e56dbba989f
Headers show
Series Update syscall lists for Linux 5.11 | expand

Commit Message

Joseph Myers Feb. 19, 2021, 4:51 p.m. UTC
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
<https://sourceware.org/pipermail/libc-alpha/2021-February/122697.html>
(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).

Comments

Dmitry V. Levin Feb. 19, 2021, 5:34 p.m. UTC | #1
On Fri, Feb 19, 2021 at 04:51:16PM +0000, Joseph Myers wrote:
> 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.

Yes, this looks correct, epoll_pwait2 syscall was introduced
by Linux kernel commits v5.11-rc1~61^2~3 and v5.11-rc1~61^2~2.
diff mbox series

Patch

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