summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hromatka <tom.hromatka@oracle.com>2020-07-28 14:03:56 -0600
committerTom Hromatka <tom.hromatka@oracle.com>2020-08-03 09:54:08 -0600
commitb3206ad5645dceda89538ea8acc984078ab697ab (patch)
tree2e91c977213f16ebdbf97a6a7955a995cf6f19e6
parentc0a6e6fd15f74c429a0b74e0dfd4de5a29aabebd (diff)
downloadlibseccomp-b3206ad5645dceda89538ea8acc984078ab697ab.tar.gz
arch: Update the internal syscall tables to Linux v5.8-rc7
Most architectures had minor changes (faccessat2, openat2, pidfd_getfd), but a significant number of changes were made to parisc since it went so long without being checked by arch-syscall-validate. Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> Acked-by: Paul Moore <paul@paul-moore.com>
-rw-r--r--src/arch-aarch64-syscalls.c5
-rw-r--r--src/arch-arm-syscalls.c5
-rw-r--r--src/arch-mips-syscalls.c5
-rw-r--r--src/arch-mips64-syscalls.c5
-rw-r--r--src/arch-mips64n32-syscalls.c5
-rw-r--r--src/arch-parisc-syscalls.c97
-rw-r--r--src/arch-ppc-syscalls.c5
-rw-r--r--src/arch-ppc64-syscalls.c5
-rw-r--r--src/arch-s390-syscalls.c5
-rw-r--r--src/arch-s390x-syscalls.c5
-rw-r--r--src/arch-x32-syscalls.c5
-rw-r--r--src/arch-x86-syscalls.c5
-rw-r--r--src/arch-x86_64-syscalls.c5
13 files changed, 98 insertions, 59 deletions
diff --git a/src/arch-aarch64-syscalls.c b/src/arch-aarch64-syscalls.c
index 7454eab..de2ea63 100644
--- a/src/arch-aarch64-syscalls.c
+++ b/src/arch-aarch64-syscalls.c
@@ -26,7 +26,7 @@
#include "arch.h"
#include "arch-aarch64.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def aarch64_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", __PNR__newselect },
@@ -92,6 +92,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
{ "exit", 93 },
{ "exit_group", 94 },
{ "faccessat", 48 },
+ { "faccessat2", 439 },
{ "fadvise64", 223 },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", 47 },
@@ -266,12 +267,14 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \
{ "open_by_handle_at", 265 },
{ "open_tree", 428 },
{ "openat", 56 },
+ { "openat2", 437 },
{ "pause", __PNR_pause },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", 241 },
{ "personality", 92 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", __PNR_pipe },
diff --git a/src/arch-arm-syscalls.c b/src/arch-arm-syscalls.c
index 923aae9..c574e2e 100644
--- a/src/arch-arm-syscalls.c
+++ b/src/arch-arm-syscalls.c
@@ -37,7 +37,7 @@
#define __SCMP_NR_BASE __SCMP_NR_OABI_SYSCALL_BASE
#endif
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def arm_syscall_table[] = { \
/* NOTE: arm_sync_file_range() and sync_file_range2() share values */
{ "_llseek", (__SCMP_NR_BASE + 140) },
@@ -104,6 +104,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \
{ "exit", (__SCMP_NR_BASE + 1) },
{ "exit_group", (__SCMP_NR_BASE + 248) },
{ "faccessat", (__SCMP_NR_BASE + 334) },
+ { "faccessat2", (__SCMP_NR_BASE + 439) },
{ "fadvise64", __PNR_fadvise64 },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", (__SCMP_NR_BASE + 352) },
@@ -278,12 +279,14 @@ const struct arch_syscall_def arm_syscall_table[] = { \
{ "open_by_handle_at", (__SCMP_NR_BASE + 371) },
{ "open_tree", (__SCMP_NR_BASE + 428) },
{ "openat", (__SCMP_NR_BASE + 322) },
+ { "openat2", (__SCMP_NR_BASE + 437) },
{ "pause", (__SCMP_NR_BASE + 29) },
{ "pciconfig_iobase", (__SCMP_NR_BASE + 271) },
{ "pciconfig_read", (__SCMP_NR_BASE + 272) },
{ "pciconfig_write", (__SCMP_NR_BASE + 273) },
{ "perf_event_open", (__SCMP_NR_BASE + 364) },
{ "personality", (__SCMP_NR_BASE + 136) },
+ { "pidfd_getfd", (__SCMP_NR_BASE + 438) },
{ "pidfd_open", (__SCMP_NR_BASE + 434) },
{ "pidfd_send_signal", (__SCMP_NR_BASE + 424) },
{ "pipe", (__SCMP_NR_BASE + 42) },
diff --git a/src/arch-mips-syscalls.c b/src/arch-mips-syscalls.c
index c0c5d40..ae10f84 100644
--- a/src/arch-mips-syscalls.c
+++ b/src/arch-mips-syscalls.c
@@ -30,7 +30,7 @@
/* O32 ABI */
#define __SCMP_NR_BASE 4000
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def mips_syscall_table[] = { \
{ "_llseek", (__SCMP_NR_BASE + 140) },
{ "_newselect", (__SCMP_NR_BASE + 142) },
@@ -96,6 +96,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \
{ "exit", (__SCMP_NR_BASE + 1) },
{ "exit_group", (__SCMP_NR_BASE + 246) },
{ "faccessat", (__SCMP_NR_BASE + 300) },
+ { "faccessat2", (__SCMP_NR_BASE + 439) },
{ "fadvise64", __SCMP_NR_BASE + 254 },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", (__SCMP_NR_BASE + 320) },
@@ -270,12 +271,14 @@ const struct arch_syscall_def mips_syscall_table[] = { \
{ "open_by_handle_at", (__SCMP_NR_BASE + 340) },
{ "open_tree", (__SCMP_NR_BASE + 428) },
{ "openat", (__SCMP_NR_BASE + 288) },
+ { "openat2", (__SCMP_NR_BASE + 437) },
{ "pause", (__SCMP_NR_BASE + 29) },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", (__SCMP_NR_BASE + 333) },
{ "personality", (__SCMP_NR_BASE + 136) },
+ { "pidfd_getfd", (__SCMP_NR_BASE + 438) },
{ "pidfd_open", (__SCMP_NR_BASE + 434) },
{ "pidfd_send_signal", (__SCMP_NR_BASE + 424) },
{ "pipe", (__SCMP_NR_BASE + 42) },
diff --git a/src/arch-mips64-syscalls.c b/src/arch-mips64-syscalls.c
index af23ff4..43d1545 100644
--- a/src/arch-mips64-syscalls.c
+++ b/src/arch-mips64-syscalls.c
@@ -30,7 +30,7 @@
/* 64 ABI */
#define __SCMP_NR_BASE 5000
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def mips64_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", (__SCMP_NR_BASE + 22) },
@@ -96,6 +96,7 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "exit", (__SCMP_NR_BASE + 58) },
{ "exit_group", (__SCMP_NR_BASE + 205) },
{ "faccessat", (__SCMP_NR_BASE + 259) },
+ { "faccessat2", (__SCMP_NR_BASE + 439) },
{ "fadvise64", (__SCMP_NR_BASE + 215) },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", (__SCMP_NR_BASE + 279) },
@@ -270,12 +271,14 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "open_by_handle_at", (__SCMP_NR_BASE + 299) },
{ "open_tree", (__SCMP_NR_BASE + 428) },
{ "openat", (__SCMP_NR_BASE + 247) },
+ { "openat2", (__SCMP_NR_BASE + 437) },
{ "pause", (__SCMP_NR_BASE + 33) },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", (__SCMP_NR_BASE + 292) },
{ "personality", (__SCMP_NR_BASE + 132) },
+ { "pidfd_getfd", (__SCMP_NR_BASE + 438) },
{ "pidfd_open", (__SCMP_NR_BASE + 434) },
{ "pidfd_send_signal", (__SCMP_NR_BASE + 424) },
{ "pipe", (__SCMP_NR_BASE + 21) },
diff --git a/src/arch-mips64n32-syscalls.c b/src/arch-mips64n32-syscalls.c
index 2159bcc..e4f40fe 100644
--- a/src/arch-mips64n32-syscalls.c
+++ b/src/arch-mips64n32-syscalls.c
@@ -30,7 +30,7 @@
/* N32 ABI */
#define __SCMP_NR_BASE 6000
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def mips64n32_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", (__SCMP_NR_BASE + 22) },
@@ -96,6 +96,7 @@ const struct arch_syscall_def mips64n32_syscall_table[] = { \
{ "exit", (__SCMP_NR_BASE + 58) },
{ "exit_group", (__SCMP_NR_BASE + 205) },
{ "faccessat", (__SCMP_NR_BASE + 263) },
+ { "faccessat2", (__SCMP_NR_BASE + 439) },
{ "fadvise64", (__SCMP_NR_BASE + 216) },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", (__SCMP_NR_BASE + 283) },
@@ -270,12 +271,14 @@ const struct arch_syscall_def mips64n32_syscall_table[] = { \
{ "open_by_handle_at", (__SCMP_NR_BASE + 304) },
{ "open_tree", (__SCMP_NR_BASE + 428) },
{ "openat", (__SCMP_NR_BASE + 251) },
+ { "openat2", (__SCMP_NR_BASE + 437) },
{ "pause", (__SCMP_NR_BASE + 33) },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", (__SCMP_NR_BASE + 296) },
{ "personality", (__SCMP_NR_BASE + 132) },
+ { "pidfd_getfd", (__SCMP_NR_BASE + 438) },
{ "pidfd_open", (__SCMP_NR_BASE + 434) },
{ "pidfd_send_signal", (__SCMP_NR_BASE + 424) },
{ "pipe", (__SCMP_NR_BASE + 21) },
diff --git a/src/arch-parisc-syscalls.c b/src/arch-parisc-syscalls.c
index c516c16..2ab5e3c 100644
--- a/src/arch-parisc-syscalls.c
+++ b/src/arch-parisc-syscalls.c
@@ -10,7 +10,7 @@
#include "arch.h"
#include "arch-parisc.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def parisc_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -21,7 +21,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "acct", 51 },
{ "add_key", 264 },
{ "adjtimex", 124 },
- { "afs_syscall", 137 },
+ { "afs_syscall", __PNR_afs_syscall },
{ "alarm", 27 },
{ "arm_fadvise64_64", __PNR_arm_fadvise64_64 },
{ "arm_sync_file_range", __PNR_arm_sync_file_range },
@@ -42,22 +42,22 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "chown32", __PNR_chown32 },
{ "chroot", 61 },
{ "clock_adjtime", 324 },
- { "clock_adjtime64", __PNR_clock_adjtime64 },
+ { "clock_adjtime64", 405 },
{ "clock_getres", 257 },
- { "clock_getres_time64", __PNR_clock_getres_time64 },
+ { "clock_getres_time64", 406 },
{ "clock_gettime", 256 },
- { "clock_gettime64", __PNR_clock_gettime64 },
+ { "clock_gettime64", 403 },
{ "clock_nanosleep", 258 },
- { "clock_nanosleep_time64", __PNR_clock_nanosleep_time64 },
+ { "clock_nanosleep_time64", 407 },
{ "clock_settime", 255 },
- { "clock_settime64", __PNR_clock_settime64 },
+ { "clock_settime64", 404 },
{ "clone", 120 },
- { "clone3", __PNR_clone3 },
+ { "clone3", 435 },
{ "close", 6 },
{ "connect", 31 },
{ "copy_file_range", 346 },
{ "creat", 8 },
- { "create_module", 127 },
+ { "create_module", __PNR_create_module },
{ "delete_module", 129 },
{ "dup", 41 },
{ "dup2", 63 },
@@ -76,6 +76,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "exit", 1 },
{ "exit_group", 222 },
{ "faccessat", 287 },
+ { "faccessat2", 439 },
{ "fadvise64", __PNR_fadvise64 },
{ "fadvise64_64", 236 },
{ "fallocate", 305 },
@@ -96,11 +97,11 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "flock", 143 },
{ "fork", 2 },
{ "fremovexattr", 249 },
- { "fsconfig", __PNR_fsconfig },
+ { "fsconfig", 431 },
{ "fsetxattr", 240 },
- { "fsmount", __PNR_fsmount },
- { "fsopen", __PNR_fsopen },
- { "fspick", __PNR_fspick },
+ { "fsmount", 432 },
+ { "fsopen", 430 },
+ { "fspick", 433 },
{ "fstat", 28 },
{ "fstat64", 112 },
{ "fstatat64", 280 },
@@ -111,12 +112,12 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "ftruncate", 93 },
{ "ftruncate64", 200 },
{ "futex", 210 },
- { "futex_time64", __PNR_futex_time64 },
+ { "futex_time64", 422 },
{ "futimesat", 279 },
- { "get_kernel_syms", 130 },
+ { "get_kernel_syms", __PNR_get_kernel_syms },
{ "get_mempolicy", 261 },
{ "get_robust_list", 290 },
- { "get_thread_area", 214 },
+ { "get_thread_area", __PNR_get_thread_area },
{ "get_tls", __PNR_get_tls },
{ "getcpu", 296 },
{ "getcwd", 110 },
@@ -135,7 +136,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "getpgid", 132 },
{ "getpgrp", 65 },
{ "getpid", 20 },
- { "getpmsg", 196 },
+ { "getpmsg", __PNR_getpmsg },
{ "getppid", 64 },
{ "getpriority", 96 },
{ "getrandom", 339 },
@@ -163,8 +164,8 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "io_cancel", 219 },
{ "io_destroy", 216 },
{ "io_getevents", 217 },
- { "io_pgetevents", __PNR_io_pgetevents },
- { "io_pgetevents_time64", __PNR_io_pgetevents_time64 },
+ { "io_pgetevents", 350 },
+ { "io_pgetevents_time64", 416 },
{ "io_setup", 215 },
{ "io_submit", 218 },
{ "io_uring_setup", 425 },
@@ -177,7 +178,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "ioprio_set", 267 },
{ "ipc", __PNR_ipc },
{ "kcmp", 332 },
- { "kexec_file_load", __PNR_kexec_file_load },
+ { "kexec_file_load", 355 },
{ "kexec_load", 300 },
{ "keyctl", 266 },
{ "kill", 37 },
@@ -213,7 +214,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "mmap2", 89 },
{ "modify_ldt", __PNR_modify_ldt },
{ "mount", 21 },
- { "move_mount", __PNR_move_mount },
+ { "move_mount", 429 },
{ "move_pages", 295 },
{ "mprotect", 125 },
{ "mpx", __PNR_mpx },
@@ -221,9 +222,9 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "mq_notify", 233 },
{ "mq_open", 229 },
{ "mq_timedreceive", 232 },
- { "mq_timedreceive_time64", __PNR_mq_timedreceive_time64 },
+ { "mq_timedreceive_time64", 419 },
{ "mq_timedsend", 231 },
- { "mq_timedsend_time64", __PNR_mq_timedsend_time64 },
+ { "mq_timedsend_time64", 418 },
{ "mq_unlink", 230 },
{ "mremap", 163 },
{ "msgctl", 191 },
@@ -238,7 +239,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "name_to_handle_at", 325 },
{ "nanosleep", 162 },
{ "newfstatat", __PNR_newfstatat },
- { "nfsservctl", 169 },
+ { "nfsservctl", __PNR_nfsservctl },
{ "nice", 34 },
{ "oldfstat", __PNR_oldfstat },
{ "oldlstat", __PNR_oldlstat },
@@ -248,25 +249,27 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "oldwait4", __PNR_oldwait4 },
{ "open", 5 },
{ "open_by_handle_at", 326 },
- { "open_tree", __PNR_open_tree },
+ { "open_tree", 428 },
{ "openat", 275 },
+ { "openat2", 437 },
{ "pause", 29 },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", 318 },
{ "personality", 136 },
- { "pidfd_open", __PNR_pidfd_open },
- { "pidfd_send_signal", __PNR_pidfd_send_signal },
+ { "pidfd_getfd", 438 },
+ { "pidfd_open", 434 },
+ { "pidfd_send_signal", 424 },
{ "pipe", 42 },
{ "pipe2", 313 },
{ "pivot_root", 67 },
- { "pkey_alloc", __PNR_pkey_alloc },
- { "pkey_free", __PNR_pkey_free },
- { "pkey_mprotect", __PNR_pkey_mprotect },
+ { "pkey_alloc", 352 },
+ { "pkey_free", 353 },
+ { "pkey_mprotect", 351 },
{ "poll", 168 },
{ "ppoll", 274 },
- { "ppoll_time64", __PNR_ppoll_time64 },
+ { "ppoll_time64", 414 },
{ "prctl", 172 },
{ "pread64", 108 },
{ "preadv", 315 },
@@ -277,13 +280,13 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "prof", __PNR_prof },
{ "profil", __PNR_profil },
{ "pselect6", 273 },
- { "pselect6_time64", __PNR_pselect6_time64 },
+ { "pselect6_time64", 413 },
{ "ptrace", 26 },
- { "putpmsg", 197 },
+ { "putpmsg", __PNR_putpmsg },
{ "pwrite64", 109 },
{ "pwritev", 316 },
{ "pwritev2", 348 },
- { "query_module", 167 },
+ { "query_module", __PNR_query_module },
{ "quotactl", 131 },
{ "read", 3 },
{ "readahead", 207 },
@@ -295,7 +298,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "recv", 98 },
{ "recvfrom", 123 },
{ "recvmmsg", 319 },
- { "recvmmsg_time64", __PNR_recvmmsg_time64 },
+ { "recvmmsg_time64", 417 },
{ "recvmsg", 184 },
{ "remap_file_pages", 227 },
{ "removexattr", 247 },
@@ -305,7 +308,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "request_key", 265 },
{ "restart_syscall", 0 },
{ "rmdir", 40 },
- { "rseq", __PNR_rseq },
+ { "rseq", 354 },
{ "rt_sigaction", 174 },
{ "rt_sigpending", 176 },
{ "rt_sigprocmask", 175 },
@@ -313,7 +316,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "rt_sigreturn", 173 },
{ "rt_sigsuspend", 179 },
{ "rt_sigtimedwait", 177 },
- { "rt_sigtimedwait_time64", __PNR_rt_sigtimedwait_time64 },
+ { "rt_sigtimedwait_time64", 421 },
{ "rt_tgsigqueueinfo", 317 },
{ "rtas", __PNR_rtas },
{ "s390_guarded_storage", __PNR_s390_guarded_storage },
@@ -328,7 +331,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "sched_getparam", 155 },
{ "sched_getscheduler", 157 },
{ "sched_rr_get_interval", 161 },
- { "sched_rr_get_interval_time64", __PNR_sched_rr_get_interval_time64 },
+ { "sched_rr_get_interval_time64", 423 },
{ "sched_setaffinity", 211 },
{ "sched_setattr", 334 },
{ "sched_setparam", 154 },
@@ -341,7 +344,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "semget", 186 },
{ "semop", 185 },
{ "semtimedop", 228 },
- { "semtimedop_time64", __PNR_semtimedop_time64 },
+ { "semtimedop_time64", 420 },
{ "send", 58 },
{ "sendfile", 122 },
{ "sendfile64", 209 },
@@ -350,7 +353,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "sendto", 82 },
{ "set_mempolicy", 262 },
{ "set_robust_list", 289 },
- { "set_thread_area", 213 },
+ { "set_thread_area", __PNR_set_thread_area },
{ "set_tid_address", 237 },
{ "set_tls", __PNR_set_tls },
{ "setdomainname", 121 },
@@ -435,15 +438,15 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "timer_delete", 254 },
{ "timer_getoverrun", 253 },
{ "timer_gettime", 252 },
- { "timer_gettime64", __PNR_timer_gettime64 },
+ { "timer_gettime64", 408 },
{ "timer_settime", 251 },
- { "timer_settime64", __PNR_timer_settime64 },
- { "timerfd", 303 },
+ { "timer_settime64", 409 },
+ { "timerfd", __PNR_timerfd },
{ "timerfd_create", 306 },
{ "timerfd_gettime", 308 },
- { "timerfd_gettime64", __PNR_timerfd_gettime64 },
+ { "timerfd_gettime64", 410 },
{ "timerfd_settime", 307 },
- { "timerfd_settime64", __PNR_timerfd_settime64 },
+ { "timerfd_settime64", 411 },
{ "times", 43 },
{ "tkill", 208 },
{ "truncate", 92 },
@@ -465,14 +468,14 @@ const struct arch_syscall_def parisc_syscall_table[] = { \
{ "ustat", 62 },
{ "utime", 30 },
{ "utimensat", 301 },
- { "utimensat_time64", __PNR_utimensat_time64 },
+ { "utimensat_time64", 412 },
{ "utimes", 336 },
{ "vfork", 113 },
{ "vhangup", 111 },
{ "vm86", __PNR_vm86 },
{ "vm86old", __PNR_vm86old },
{ "vmsplice", 294 },
- { "vserver", 263 },
+ { "vserver", __PNR_vserver },
{ "wait4", 114 },
{ "waitid", 235 },
{ "waitpid", 7 },
diff --git a/src/arch-ppc-syscalls.c b/src/arch-ppc-syscalls.c
index fbfa1df..0cdac6f 100644
--- a/src/arch-ppc-syscalls.c
+++ b/src/arch-ppc-syscalls.c
@@ -27,7 +27,7 @@
#include "arch.h"
#include "arch-ppc.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def ppc_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -93,6 +93,7 @@ const struct arch_syscall_def ppc_syscall_table[] = { \
{ "exit", 1 },
{ "exit_group", 234 },
{ "faccessat", 298 },
+ { "faccessat2", 439 },
{ "fadvise64", 233 },
{ "fadvise64_64", 254 },
{ "fallocate", 309 },
@@ -267,12 +268,14 @@ const struct arch_syscall_def ppc_syscall_table[] = { \
{ "open_by_handle_at", 346 },
{ "open_tree", 428 },
{ "openat", 286 },
+ { "openat2", 437 },
{ "pause", 29 },
{ "pciconfig_iobase", 200 },
{ "pciconfig_read", 198 },
{ "pciconfig_write", 199 },
{ "perf_event_open", 319 },
{ "personality", 136 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", 42 },
diff --git a/src/arch-ppc64-syscalls.c b/src/arch-ppc64-syscalls.c
index 41f82af..18c3753 100644
--- a/src/arch-ppc64-syscalls.c
+++ b/src/arch-ppc64-syscalls.c
@@ -27,7 +27,7 @@
#include "arch.h"
#include "arch-ppc64.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def ppc64_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -93,6 +93,7 @@ const struct arch_syscall_def ppc64_syscall_table[] = { \
{ "exit", 1 },
{ "exit_group", 234 },
{ "faccessat", 298 },
+ { "faccessat2", 439 },
{ "fadvise64", 233 },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", 309 },
@@ -267,12 +268,14 @@ const struct arch_syscall_def ppc64_syscall_table[] = { \
{ "open_by_handle_at", 346 },
{ "open_tree", 428 },
{ "openat", 286 },
+ { "openat2", 437 },
{ "pause", 29 },
{ "pciconfig_iobase", 200 },
{ "pciconfig_read", 198 },
{ "pciconfig_write", 199 },
{ "perf_event_open", 319 },
{ "personality", 136 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", 42 },
diff --git a/src/arch-s390-syscalls.c b/src/arch-s390-syscalls.c
index 6dd84db..1a60970 100644
--- a/src/arch-s390-syscalls.c
+++ b/src/arch-s390-syscalls.c
@@ -10,7 +10,7 @@
#include "arch.h"
#include "arch-s390.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def s390_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -76,6 +76,7 @@ const struct arch_syscall_def s390_syscall_table[] = { \
{ "exit", 1 },
{ "exit_group", 248 },
{ "faccessat", 300 },
+ { "faccessat2", 439 },
{ "fadvise64", 253 },
{ "fadvise64_64", 264 },
{ "fallocate", 314 },
@@ -250,12 +251,14 @@ const struct arch_syscall_def s390_syscall_table[] = { \
{ "open_by_handle_at", 336 },
{ "open_tree", 428 },
{ "openat", 288 },
+ { "openat2", 437 },
{ "pause", 29 },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", 331 },
{ "personality", 136 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", 42 },
diff --git a/src/arch-s390x-syscalls.c b/src/arch-s390x-syscalls.c
index 703eaf1..129d17b 100644
--- a/src/arch-s390x-syscalls.c
+++ b/src/arch-s390x-syscalls.c
@@ -10,7 +10,7 @@
#include "arch.h"
#include "arch-s390x.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def s390x_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", __PNR__newselect },
@@ -76,6 +76,7 @@ const struct arch_syscall_def s390x_syscall_table[] = { \
{ "exit", 1 },
{ "exit_group", 248 },
{ "faccessat", 300 },
+ { "faccessat2", 439 },
{ "fadvise64", 253 },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", 314 },
@@ -250,12 +251,14 @@ const struct arch_syscall_def s390x_syscall_table[] = { \
{ "open_by_handle_at", 336 },
{ "open_tree", 428 },
{ "openat", 288 },
+ { "openat2", 437 },
{ "pause", 29 },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", 331 },
{ "personality", 136 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", 42 },
diff --git a/src/arch-x32-syscalls.c b/src/arch-x32-syscalls.c
index e5cfadb..eb54d35 100644
--- a/src/arch-x32-syscalls.c
+++ b/src/arch-x32-syscalls.c
@@ -26,7 +26,7 @@
#include "arch.h"
#include "arch-x32.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def x32_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", __PNR__newselect },
@@ -92,6 +92,7 @@ const struct arch_syscall_def x32_syscall_table[] = { \
{ "exit", (X32_SYSCALL_BIT + 60) },
{ "exit_group", (X32_SYSCALL_BIT + 231) },
{ "faccessat", (X32_SYSCALL_BIT + 269) },
+ { "faccessat2", (X32_SYSCALL_BIT + 439) },
{ "fadvise64", (X32_SYSCALL_BIT + 221) },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", (X32_SYSCALL_BIT + 285) },
@@ -266,12 +267,14 @@ const struct arch_syscall_def x32_syscall_table[] = { \
{ "open_by_handle_at", (X32_SYSCALL_BIT + 304) },
{ "open_tree", (X32_SYSCALL_BIT + 428) },
{ "openat", (X32_SYSCALL_BIT + 257) },
+ { "openat2", (X32_SYSCALL_BIT + 437) },
{ "pause", (X32_SYSCALL_BIT + 34) },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", (X32_SYSCALL_BIT + 298) },
{ "personality", (X32_SYSCALL_BIT + 135) },
+ { "pidfd_getfd", (X32_SYSCALL_BIT + 438) },
{ "pidfd_open", (X32_SYSCALL_BIT + 434) },
{ "pidfd_send_signal", (X32_SYSCALL_BIT + 424) },
{ "pipe", (X32_SYSCALL_BIT + 22) },
diff --git a/src/arch-x86-syscalls.c b/src/arch-x86-syscalls.c
index ff555e9..ae870f1 100644
--- a/src/arch-x86-syscalls.c
+++ b/src/arch-x86-syscalls.c
@@ -26,7 +26,7 @@
#include "arch.h"
#include "arch-x86.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def x86_syscall_table[] = { \
{ "_llseek", 140 },
{ "_newselect", 142 },
@@ -92,6 +92,7 @@ const struct arch_syscall_def x86_syscall_table[] = { \
{ "exit", 1 },
{ "exit_group", 252 },
{ "faccessat", 307 },
+ { "faccessat2", 439 },
{ "fadvise64", 250 },
{ "fadvise64_64", 272 },
{ "fallocate", 324 },
@@ -266,12 +267,14 @@ const struct arch_syscall_def x86_syscall_table[] = { \
{ "open_by_handle_at", 342 },
{ "open_tree", 428 },
{ "openat", 295 },
+ { "openat2", 437 },
{ "pause", 29 },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", 336 },
{ "personality", 136 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", 42 },
diff --git a/src/arch-x86_64-syscalls.c b/src/arch-x86_64-syscalls.c
index a2fdef8..23a4899 100644
--- a/src/arch-x86_64-syscalls.c
+++ b/src/arch-x86_64-syscalls.c
@@ -26,7 +26,7 @@
#include "arch.h"
#include "arch-x86_64.h"
-/* NOTE: based on Linux v5.4-rc4 */
+/* NOTE: based on Linux v5.8-rc7 */
const struct arch_syscall_def x86_64_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", __PNR__newselect },
@@ -92,6 +92,7 @@ const struct arch_syscall_def x86_64_syscall_table[] = { \
{ "exit", 60 },
{ "exit_group", 231 },
{ "faccessat", 269 },
+ { "faccessat2", 439 },
{ "fadvise64", 221 },
{ "fadvise64_64", __PNR_fadvise64_64 },
{ "fallocate", 285 },
@@ -266,12 +267,14 @@ const struct arch_syscall_def x86_64_syscall_table[] = { \
{ "open_by_handle_at", 304 },
{ "open_tree", 428 },
{ "openat", 257 },
+ { "openat2", 437 },
{ "pause", 34 },
{ "pciconfig_iobase", __PNR_pciconfig_iobase },
{ "pciconfig_read", __PNR_pciconfig_read },
{ "pciconfig_write", __PNR_pciconfig_write },
{ "perf_event_open", 298 },
{ "personality", 135 },
+ { "pidfd_getfd", 438 },
{ "pidfd_open", 434 },
{ "pidfd_send_signal", 424 },
{ "pipe", 22 },