aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-04-03 18:07:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-04-03 18:07:55 +0000
commite788beaf093bfafecd6b4456b984bd927c18987a (patch)
tree81f68a1b4d118c345b9756f5955f24c1782b519f
parent8f7a75d700af809eeb4363895078fabfb3a9d7c3 (diff)
Update syscall lists for Linux 5.6.
Linux 5.6 has new openat2 and pidfd_getfd syscalls. This patch adds them to syscall-names.list and regenerates the arch-syscall.h files. Tested with build-many-glibcs.py.
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/alpha/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/arm/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/csky/arch-syscall.h5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/i386/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/ia64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/m68k/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/nios2/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/sh/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/syscall-names.list6
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h2
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h2
24 files changed, 54 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
index c8471947b9..81767d6777 100644
--- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
@@ -154,8 +154,10 @@
#define __NR_open_by_handle_at 265
#define __NR_open_tree 428
#define __NR_openat 56
+#define __NR_openat2 437
#define __NR_perf_event_open 241
#define __NR_personality 92
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe2 59
diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h
index 5c8f92c813..97db195b7c 100644
--- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h
@@ -188,6 +188,7 @@
#define __NR_open_by_handle_at 498
#define __NR_open_tree 538
#define __NR_openat 450
+#define __NR_openat2 547
#define __NR_osf_adjtime 140
#define __NR_osf_afs_syscall 258
#define __NR_osf_alt_plock 181
@@ -303,6 +304,7 @@
#define __NR_pciconfig_write 346
#define __NR_perf_event_open 493
#define __NR_personality 324
+#define __NR_pidfd_getfd 548
#define __NR_pidfd_open 544
#define __NR_pidfd_send_signal 534
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h
index c6554a8a6a..d13eeedf4d 100644
--- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h
@@ -203,12 +203,14 @@
#define __NR_open_by_handle_at 371
#define __NR_open_tree 428
#define __NR_openat 322
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_pciconfig_iobase 271
#define __NR_pciconfig_read 272
#define __NR_pciconfig_write 273
#define __NR_perf_event_open 364
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h
index 610c00845d..6273d1bd20 100644
--- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h
@@ -23,6 +23,7 @@
#define __NR_clock_settime 112
#define __NR_clock_settime64 404
#define __NR_clone 220
+#define __NR_clone3 435
#define __NR_close 57
#define __NR_connect 203
#define __NR_copy_file_range 285
@@ -59,6 +60,8 @@
#define __NR_fsmount 432
#define __NR_fsopen 430
#define __NR_fspick 433
+#define __NR_fstat64 80
+#define __NR_fstatat64 79
#define __NR_fstatfs64 44
#define __NR_fsync 82
#define __NR_ftruncate64 46
@@ -161,8 +164,10 @@
#define __NR_open_by_handle_at 265
#define __NR_open_tree 428
#define __NR_openat 56
+#define __NR_openat2 437
#define __NR_perf_event_open 241
#define __NR_personality 92
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe2 59
diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h
index 175f641c7f..80b7278d12 100644
--- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h
@@ -193,9 +193,11 @@
#define __NR_open_by_handle_at 326
#define __NR_open_tree 428
#define __NR_openat 275
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 318
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h
index ece8bf04bc..6669c1bb56 100644
--- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h
@@ -224,9 +224,11 @@
#define __NR_open_by_handle_at 342
#define __NR_open_tree 428
#define __NR_openat 295
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 336
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h
index eb31b3b743..60ec095fde 100644
--- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h
@@ -179,11 +179,13 @@
#define __NR_open_by_handle_at 1327
#define __NR_open_tree 1452
#define __NR_openat 1281
+#define __NR_openat2 1461
#define __NR_pciconfig_read 1173
#define __NR_pciconfig_write 1174
#define __NR_perf_event_open 1352
#define __NR_perfmonctl 1175
#define __NR_personality 1140
+#define __NR_pidfd_getfd 1462
#define __NR_pidfd_open 1458
#define __NR_pidfd_send_signal 1448
#define __NR_pipe 1058
diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h
index 5cbfdbf9bb..2edecb1b72 100644
--- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h
@@ -33,6 +33,7 @@
#define __NR_clock_settime 259
#define __NR_clock_settime64 404
#define __NR_clone 120
+#define __NR_clone3 435
#define __NR_close 6
#define __NR_connect 359
#define __NR_copy_file_range 376
@@ -213,9 +214,11 @@
#define __NR_open_by_handle_at 341
#define __NR_open_tree 428
#define __NR_openat 288
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 332
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h
index e7ab554b2f..d72845c1f5 100644
--- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h
@@ -224,9 +224,11 @@
#define __NR_open_by_handle_at 372
#define __NR_open_tree 428
#define __NR_openat 295
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 366
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h
index 53c662127f..29217a1304 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h
@@ -209,9 +209,11 @@
#define __NR_open_by_handle_at 4340
#define __NR_open_tree 4428
#define __NR_openat 4288
+#define __NR_openat2 4437
#define __NR_pause 4029
#define __NR_perf_event_open 4333
#define __NR_personality 4136
+#define __NR_pidfd_getfd 4438
#define __NR_pidfd_open 4434
#define __NR_pidfd_send_signal 4424
#define __NR_pipe 4042
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 4faaabb763..26996a61c8 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h
@@ -192,9 +192,11 @@
#define __NR_open_by_handle_at 6304
#define __NR_open_tree 6428
#define __NR_openat 6251
+#define __NR_openat2 6437
#define __NR_pause 6033
#define __NR_perf_event_open 6296
#define __NR_personality 6132
+#define __NR_pidfd_getfd 6438
#define __NR_pidfd_open 6434
#define __NR_pidfd_send_signal 6424
#define __NR_pipe 6021
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 ba20185ab5..f046a77351 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h
@@ -181,9 +181,11 @@
#define __NR_open_by_handle_at 5299
#define __NR_open_tree 5428
#define __NR_openat 5247
+#define __NR_openat2 5437
#define __NR_pause 5033
#define __NR_perf_event_open 5292
#define __NR_personality 5132
+#define __NR_pidfd_getfd 5438
#define __NR_pidfd_open 5434
#define __NR_pidfd_send_signal 5424
#define __NR_pipe 5021
diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
index 6c2ae7f727..cf85d11b4a 100644
--- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
@@ -163,8 +163,10 @@
#define __NR_open_by_handle_at 265
#define __NR_open_tree 428
#define __NR_openat 56
+#define __NR_openat2 437
#define __NR_perf_event_open 241
#define __NR_personality 92
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe2 59
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h
index 49f094889f..90ff02b3f1 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h
@@ -215,12 +215,14 @@
#define __NR_open_by_handle_at 346
#define __NR_open_tree 428
#define __NR_openat 286
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_pciconfig_iobase 200
#define __NR_pciconfig_read 198
#define __NR_pciconfig_write 199
#define __NR_perf_event_open 319
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h
index 2de23740e6..311a560d86 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h
@@ -200,12 +200,14 @@
#define __NR_open_by_handle_at 346
#define __NR_open_tree 428
#define __NR_openat 286
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_pciconfig_iobase 200
#define __NR_pciconfig_read 198
#define __NR_pciconfig_write 199
#define __NR_perf_event_open 319
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
index 73eff81345..1f90f25891 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
@@ -154,8 +154,10 @@
#define __NR_open_by_handle_at 265
#define __NR_open_tree 428
#define __NR_openat 56
+#define __NR_openat2 437
#define __NR_perf_event_open 241
#define __NR_personality 92
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe2 59
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 1498037fb8..92210b6137 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h
@@ -211,9 +211,11 @@
#define __NR_open_by_handle_at 336
#define __NR_open_tree 428
#define __NR_openat 288
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 331
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
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 96de3948c4..af031e9734 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h
@@ -183,9 +183,11 @@
#define __NR_open_by_handle_at 336
#define __NR_open_tree 428
#define __NR_openat 288
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 331
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h
index f1e5b8fcde..e554ad25bd 100644
--- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h
@@ -208,9 +208,11 @@
#define __NR_open_by_handle_at 360
#define __NR_open_tree 428
#define __NR_openat 295
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_perf_event_open 336
#define __NR_personality 136
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h
index 0c3101195a..cb93f94259 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h
@@ -210,12 +210,14 @@
#define __NR_open_by_handle_at 333
#define __NR_open_tree 428
#define __NR_openat 284
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_pciconfig_read 148
#define __NR_pciconfig_write 149
#define __NR_perf_event_open 327
#define __NR_perfctr 18
#define __NR_personality 191
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h
index 71df71f60b..6f108ffd6b 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h
@@ -191,12 +191,14 @@
#define __NR_open_by_handle_at 333
#define __NR_open_tree 428
#define __NR_openat 284
+#define __NR_openat2 437
#define __NR_pause 29
#define __NR_pciconfig_read 148
#define __NR_pciconfig_write 149
#define __NR_perf_event_open 327
#define __NR_perfctr 18
#define __NR_personality 191
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 42
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
index 3d89814003..314a653938 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.5.
-kernel 5.5
+# The list of system calls is current as of Linux 5.6.
+kernel 5.6
FAST_atomic_update
FAST_cmpxchg
@@ -292,6 +292,7 @@ open
open_by_handle_at
open_tree
openat
+openat2
osf_adjtime
osf_afs_syscall
osf_alt_plock
@@ -410,6 +411,7 @@ perf_event_open
perfctr
perfmonctl
personality
+pidfd_getfd
pidfd_open
pidfd_send_signal
pipe
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 80e7160521..d22e5b2da9 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h
@@ -186,9 +186,11 @@
#define __NR_open_by_handle_at 304
#define __NR_open_tree 428
#define __NR_openat 257
+#define __NR_openat2 437
#define __NR_pause 34
#define __NR_perf_event_open 298
#define __NR_personality 135
+#define __NR_pidfd_getfd 438
#define __NR_pidfd_open 434
#define __NR_pidfd_send_signal 424
#define __NR_pipe 22
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 b26d0de841..9a6f4f16d2 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h
@@ -179,9 +179,11 @@
#define __NR_open_by_handle_at 1073742128
#define __NR_open_tree 1073742252
#define __NR_openat 1073742081
+#define __NR_openat2 1073742261
#define __NR_pause 1073741858
#define __NR_perf_event_open 1073742122
#define __NR_personality 1073741959
+#define __NR_pidfd_getfd 1073742262
#define __NR_pidfd_open 1073742258
#define __NR_pidfd_send_signal 1073742248
#define __NR_pipe 1073741846