aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2021-07-01 17:37:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2021-07-01 17:37:36 +0000
commitb1b4f7209ecaad4bf9a5d0d2ef1338409d364bac (patch)
tree5dec90a8a51eca1fd1fc57c1eddbbf65beffc32a /sysdeps
parent7c45df18e1c524775a88c1e6fc7eac0049b3de83 (diff)
downloadglibc-b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac.zip
glibc-b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac.tar.gz
glibc-b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac.tar.bz2
Update syscall lists for Linux 5.13
Linux 5.13 has three new syscalls (landlock_create_ruleset, landlock_add_rule, landlock_restrict_self). Update syscall-names.list and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/alpha/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/arc/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/arm/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/csky/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/hppa/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/i386/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/ia64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/m68k/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/microblaze/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/nios2/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/sh/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/syscall-names.list7
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h3
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h3
26 files changed, 80 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
index 2479c1d..e9eb707 100644
--- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
@@ -110,6 +110,9 @@
#define __NR_kexec_load 104
#define __NR_keyctl 219
#define __NR_kill 129
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lgetxattr 9
#define __NR_linkat 37
#define __NR_listen 201
diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h
index 8b06b3f..bd6b7d4 100644
--- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h
@@ -136,6 +136,9 @@
#define __NR_kexec_load 448
#define __NR_keyctl 441
#define __NR_kill 37
+#define __NR_landlock_add_rule 555
+#define __NR_landlock_create_ruleset 554
+#define __NR_landlock_restrict_self 556
#define __NR_lchown 208
#define __NR_lgetxattr 386
#define __NR_link 9
diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h
index 5777ff2..1065054 100644
--- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h
@@ -114,6 +114,9 @@
#define __NR_kexec_load 104
#define __NR_keyctl 219
#define __NR_kill 129
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lgetxattr 9
#define __NR_linkat 37
#define __NR_listen 201
diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h
index ed953c8..85c9b23 100644
--- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h
@@ -149,6 +149,9 @@
#define __NR_kexec_load 347
#define __NR_keyctl 311
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lchown32 198
#define __NR_lgetxattr 230
diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h
index 4e8b603..24b0d1f 100644
--- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h
@@ -119,6 +119,9 @@
#define __NR_kexec_load 104
#define __NR_keyctl 219
#define __NR_kill 129
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lgetxattr 9
#define __NR_linkat 37
#define __NR_listen 201
diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h
index ac04bf9..feb70ab 100644
--- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h
@@ -140,6 +140,9 @@
#define __NR_kexec_load 300
#define __NR_keyctl 266
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lgetxattr 242
#define __NR_link 9
diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h
index ae733bf..3b1894a 100644
--- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h
@@ -161,6 +161,9 @@
#define __NR_kexec_load 283
#define __NR_keyctl 288
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lchown32 198
#define __NR_lgetxattr 230
diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h
index d5a37b5..fb388a5 100644
--- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h
@@ -126,6 +126,9 @@
#define __NR_kexec_load 1268
#define __NR_keyctl 1273
#define __NR_kill 1053
+#define __NR_landlock_add_rule 1469
+#define __NR_landlock_create_ruleset 1468
+#define __NR_landlock_restrict_self 1470
#define __NR_lchown 1124
#define __NR_lgetxattr 1221
#define __NR_link 1031
diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h
index 6b4c66d..7bc8c4a 100644
--- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h
@@ -156,6 +156,9 @@
#define __NR_kexec_load 313
#define __NR_keyctl 281
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 182
#define __NR_lchown32 212
#define __NR_lgetxattr 227
diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h
index bf0b13a..cf560d3 100644
--- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h
@@ -161,6 +161,9 @@
#define __NR_kexec_load 283
#define __NR_keyctl 288
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lchown32 198
#define __NR_lgetxattr 230
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h
index 7c2af06..f346460 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h
@@ -152,6 +152,9 @@
#define __NR_kexec_load 4311
#define __NR_keyctl 4282
#define __NR_kill 4037
+#define __NR_landlock_add_rule 4445
+#define __NR_landlock_create_ruleset 4444
+#define __NR_landlock_restrict_self 4446
#define __NR_lchown 4016
#define __NR_lgetxattr 4228
#define __NR_link 4009
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 478c3c7..38ed849 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h
@@ -140,6 +140,9 @@
#define __NR_kexec_load 6274
#define __NR_keyctl 6245
#define __NR_kill 6060
+#define __NR_landlock_add_rule 6445
+#define __NR_landlock_create_ruleset 6444
+#define __NR_landlock_restrict_self 6446
#define __NR_lchown 6092
#define __NR_lgetxattr 6184
#define __NR_link 6084
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 6e09423..e6a10c8 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h
@@ -131,6 +131,9 @@
#define __NR_kexec_load 5270
#define __NR_keyctl 5241
#define __NR_kill 5060
+#define __NR_landlock_add_rule 5445
+#define __NR_landlock_create_ruleset 5444
+#define __NR_landlock_restrict_self 5446
#define __NR_lchown 5092
#define __NR_lgetxattr 5184
#define __NR_link 5084
diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
index ea919c9..5314890 100644
--- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
@@ -118,6 +118,9 @@
#define __NR_kexec_load 104
#define __NR_keyctl 219
#define __NR_kill 129
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lgetxattr 9
#define __NR_linkat 37
#define __NR_listen 201
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h
index d67d604..b5b0758 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h
@@ -152,6 +152,9 @@
#define __NR_kexec_load 268
#define __NR_keyctl 271
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lgetxattr 213
#define __NR_link 9
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h
index d6dc812..c77435c 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h
@@ -140,6 +140,9 @@
#define __NR_kexec_load 268
#define __NR_keyctl 271
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lgetxattr 213
#define __NR_link 9
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h
index 5d69de3..70854bb 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h
@@ -104,6 +104,9 @@
#define __NR_kexec_load 104
#define __NR_keyctl 219
#define __NR_kill 129
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lgetxattr 9
#define __NR_linkat 37
#define __NR_listen 201
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
index 94b57ee..83b9f31 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
@@ -110,6 +110,9 @@
#define __NR_kexec_load 104
#define __NR_keyctl 219
#define __NR_kill 129
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lgetxattr 9
#define __NR_linkat 37
#define __NR_listen 201
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 f604561..b224c4a 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h
@@ -156,6 +156,9 @@
#define __NR_kexec_load 277
#define __NR_keyctl 280
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lchown32 198
#define __NR_lgetxattr 228
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 ad1a561..59864af 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h
@@ -132,6 +132,9 @@
#define __NR_kexec_load 277
#define __NR_keyctl 280
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 198
#define __NR_lgetxattr 228
#define __NR_link 9
diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h
index ee2d01e..23612c9 100644
--- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h
@@ -149,6 +149,9 @@
#define __NR_kexec_load 283
#define __NR_keyctl 287
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lchown32 198
#define __NR_lgetxattr 230
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h
index bbc9d93..380cddb 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h
@@ -154,6 +154,9 @@
#define __NR_kexec_load 306
#define __NR_keyctl 283
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lchown32 31
#define __NR_lgetxattr 173
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h
index b337c13..2175eeb 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h
@@ -138,6 +138,9 @@
#define __NR_kexec_load 306
#define __NR_keyctl 283
#define __NR_kill 37
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 16
#define __NR_lgetxattr 173
#define __NR_link 9
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
index 8e3cfa0..89c5895 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.12.
-kernel 5.12
+# The list of system calls is current as of Linux 5.13.
+kernel 5.13
FAST_atomic_update
FAST_cmpxchg
@@ -224,6 +224,9 @@ kexec_file_load
kexec_load
keyctl
kill
+landlock_add_rule
+landlock_create_ruleset
+landlock_restrict_self
lchown
lchown32
lgetxattr
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 5e8261c..8e028eb6 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h
@@ -135,6 +135,9 @@
#define __NR_kexec_load 246
#define __NR_keyctl 250
#define __NR_kill 62
+#define __NR_landlock_add_rule 445
+#define __NR_landlock_create_ruleset 444
+#define __NR_landlock_restrict_self 446
#define __NR_lchown 94
#define __NR_lgetxattr 192
#define __NR_link 86
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 9d26d20..004feb5 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h
@@ -129,6 +129,9 @@
#define __NR_kexec_load 1073742352
#define __NR_keyctl 1073742074
#define __NR_kill 1073741886
+#define __NR_landlock_add_rule 1073742269
+#define __NR_landlock_create_ruleset 1073742268
+#define __NR_landlock_restrict_self 1073742270
#define __NR_lchown 1073741918
#define __NR_lgetxattr 1073742016
#define __NR_link 1073741910