diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-07-01 17:37:36 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-07-01 17:37:36 +0000 |
commit | b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac (patch) | |
tree | 5dec90a8a51eca1fd1fc57c1eddbbf65beffc32a | |
parent | 7c45df18e1c524775a88c1e6fc7eac0049b3de83 (diff) | |
download | glibc-b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac.tar.gz glibc-b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac.tar.xz glibc-b1b4f7209ecaad4bf9a5d0d2ef1338409d364bac.zip |
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.
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 2479c1de4c..e9eb707d0a 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 8b06b3fde7..bd6b7d4003 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 5777ff270f..10650549c1 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 ed953c8f36..85c9b236ce 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 4e8b60369b..24b0d1f94e 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 ac04bf9e36..feb70abc3e 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 ae733bf0f3..3b1894a79b 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 d5a37b5b91..fb388a5fa4 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 6b4c66d0fd..7bc8c4af92 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 bf0b13a361..cf560d3af4 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 7c2af067ee..f346460f48 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 478c3c7a6a..38ed84997a 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 6e09423d7b..e6a10c8421 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 ea919c9983..5314890289 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 d67d60435a..b5b0758532 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 d6dc8123ac..c77435ca61 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 5d69de3e27..70854bb9e3 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 94b57eee9b..83b9f31aba 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 f604561cef..b224c4aad4 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 ad1a561ff1..59864af125 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 ee2d01e3b0..23612c9092 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 bbc9d93479..380cddb2d8 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 b337c13191..2175eeb6ed 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 8e3cfa0e77..89c5895b9b 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 5e8261c5bc..8e028eb62b 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 9d26d20e0b..004feb53f1 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 |