Update syscall lists for Linux 5.11
Commit Message
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
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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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