From 99bf257b614ed648bd139732fa9411acf833d8a6 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Sat, 29 Aug 2015 19:51:44 -0400 Subject: arch: use private syscall #define offsets to prevent collisions Reported-by: Mike Frysinger Signed-off-by: Paul Moore --- src/arch-arm-syscalls.c | 706 +++++++++++++++++++++--------------------- src/arch-mips-syscalls.c | 698 ++++++++++++++++++++--------------------- src/arch-mips64-syscalls.c | 630 ++++++++++++++++++------------------- src/arch-mips64n32-syscalls.c | 638 +++++++++++++++++++------------------- 4 files changed, 1336 insertions(+), 1336 deletions(-) diff --git a/src/arch-arm-syscalls.c b/src/arch-arm-syscalls.c index c4fd31e..b82b274 100644 --- a/src/arch-arm-syscalls.c +++ b/src/arch-arm-syscalls.c @@ -26,437 +26,437 @@ #include "arch.h" #include "arch-arm.h" -#define __NR_OABI_SYSCALL_BASE 0x900000 -#define __ARM_NR_BASE 0x0f0000 +#define __SCMP_NR_OABI_SYSCALL_BASE 0x900000 +#define __SCMP_ARM_NR_BASE 0x0f0000 /* NOTE: we currently only support the ARM EABI, more info at the URL below: * -> http://wiki.embeddedarm.com/wiki/EABI_vs_OABI */ #if 1 -#define __NR_SYSCALL_BASE 0 +#define __SCMP_NR_BASE 0 #else -#define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE +#define __SCMP_NR_BASE __SCMP_NR_OABI_SYSCALL_BASE #endif /* NOTE: based on Linux 4.2-rc5 */ const struct arch_syscall_def arm_syscall_table[] = { \ /* NOTE: arm_sync_file_range() and sync_file_range2() share values */ - { "_llseek", (__NR_SYSCALL_BASE + 140) }, - { "_newselect", (__NR_SYSCALL_BASE + 142) }, - { "_sysctl", (__NR_SYSCALL_BASE + 149) }, - { "accept", (__NR_SYSCALL_BASE + 285) }, - { "accept4", (__NR_SYSCALL_BASE + 366) }, - { "access", (__NR_SYSCALL_BASE + 33) }, - { "acct", (__NR_SYSCALL_BASE + 51) }, - { "add_key", (__NR_SYSCALL_BASE + 309) }, - { "adjtimex", (__NR_SYSCALL_BASE + 124) }, + { "_llseek", (__SCMP_NR_BASE + 140) }, + { "_newselect", (__SCMP_NR_BASE + 142) }, + { "_sysctl", (__SCMP_NR_BASE + 149) }, + { "accept", (__SCMP_NR_BASE + 285) }, + { "accept4", (__SCMP_NR_BASE + 366) }, + { "access", (__SCMP_NR_BASE + 33) }, + { "acct", (__SCMP_NR_BASE + 51) }, + { "add_key", (__SCMP_NR_BASE + 309) }, + { "adjtimex", (__SCMP_NR_BASE + 124) }, { "afs_syscall", __PNR_afs_syscall }, { "alarm", __PNR_alarm }, - { "arm_fadvise64_64", (__NR_SYSCALL_BASE + 270) }, - { "arm_sync_file_range", (__NR_SYSCALL_BASE + 341) }, + { "arm_fadvise64_64", (__SCMP_NR_BASE + 270) }, + { "arm_sync_file_range", (__SCMP_NR_BASE + 341) }, { "arch_prctl", __PNR_arch_prctl }, - { "bdflush", (__NR_SYSCALL_BASE + 134) }, - { "bind", (__NR_SYSCALL_BASE + 282) }, - { "bpf", (__NR_SYSCALL_BASE + 386) }, + { "bdflush", (__SCMP_NR_BASE + 134) }, + { "bind", (__SCMP_NR_BASE + 282) }, + { "bpf", (__SCMP_NR_BASE + 386) }, { "break", __PNR_break }, - { "breakpoint", (__NR_SYSCALL_BASE + (__ARM_NR_BASE + 1)) }, - { "brk", (__NR_SYSCALL_BASE + 45) }, + { "breakpoint", (__SCMP_NR_BASE + (__SCMP_ARM_NR_BASE + 1)) }, + { "brk", (__SCMP_NR_BASE + 45) }, { "cachectl", __PNR_cachectl }, - { "cacheflush", (__NR_SYSCALL_BASE + (__ARM_NR_BASE + 2)) }, - { "capget", (__NR_SYSCALL_BASE + 184) }, - { "capset", (__NR_SYSCALL_BASE + 185) }, - { "chdir", (__NR_SYSCALL_BASE + 12) }, - { "chmod", (__NR_SYSCALL_BASE + 15) }, - { "chown", (__NR_SYSCALL_BASE + 182) }, - { "chown32", (__NR_SYSCALL_BASE + 212) }, - { "chroot", (__NR_SYSCALL_BASE + 61) }, - { "clock_adjtime", (__NR_SYSCALL_BASE + 372) }, - { "clock_getres", (__NR_SYSCALL_BASE + 264) }, - { "clock_gettime", (__NR_SYSCALL_BASE + 263) }, - { "clock_nanosleep", (__NR_SYSCALL_BASE + 265) }, - { "clock_settime", (__NR_SYSCALL_BASE + 262) }, - { "clone", (__NR_SYSCALL_BASE + 120) }, - { "close", (__NR_SYSCALL_BASE + 6) }, - { "connect", (__NR_SYSCALL_BASE + 283) }, - { "creat", (__NR_SYSCALL_BASE + 8) }, + { "cacheflush", (__SCMP_NR_BASE + (__SCMP_ARM_NR_BASE + 2)) }, + { "capget", (__SCMP_NR_BASE + 184) }, + { "capset", (__SCMP_NR_BASE + 185) }, + { "chdir", (__SCMP_NR_BASE + 12) }, + { "chmod", (__SCMP_NR_BASE + 15) }, + { "chown", (__SCMP_NR_BASE + 182) }, + { "chown32", (__SCMP_NR_BASE + 212) }, + { "chroot", (__SCMP_NR_BASE + 61) }, + { "clock_adjtime", (__SCMP_NR_BASE + 372) }, + { "clock_getres", (__SCMP_NR_BASE + 264) }, + { "clock_gettime", (__SCMP_NR_BASE + 263) }, + { "clock_nanosleep", (__SCMP_NR_BASE + 265) }, + { "clock_settime", (__SCMP_NR_BASE + 262) }, + { "clone", (__SCMP_NR_BASE + 120) }, + { "close", (__SCMP_NR_BASE + 6) }, + { "connect", (__SCMP_NR_BASE + 283) }, + { "creat", (__SCMP_NR_BASE + 8) }, { "create_module", __PNR_create_module }, - { "delete_module", (__NR_SYSCALL_BASE + 129) }, - { "dup", (__NR_SYSCALL_BASE + 41) }, - { "dup2", (__NR_SYSCALL_BASE + 63) }, - { "dup3", (__NR_SYSCALL_BASE + 358) }, - { "epoll_create", (__NR_SYSCALL_BASE + 250) }, - { "epoll_create1", (__NR_SYSCALL_BASE + 357) }, - { "epoll_ctl", (__NR_SYSCALL_BASE + 251) }, + { "delete_module", (__SCMP_NR_BASE + 129) }, + { "dup", (__SCMP_NR_BASE + 41) }, + { "dup2", (__SCMP_NR_BASE + 63) }, + { "dup3", (__SCMP_NR_BASE + 358) }, + { "epoll_create", (__SCMP_NR_BASE + 250) }, + { "epoll_create1", (__SCMP_NR_BASE + 357) }, + { "epoll_ctl", (__SCMP_NR_BASE + 251) }, { "epoll_ctl_old", __PNR_epoll_ctl_old }, - { "epoll_pwait", (__NR_SYSCALL_BASE + 346) }, - { "epoll_wait", (__NR_SYSCALL_BASE + 252) }, + { "epoll_pwait", (__SCMP_NR_BASE + 346) }, + { "epoll_wait", (__SCMP_NR_BASE + 252) }, { "epoll_wait_old", __PNR_epoll_wait_old }, - { "eventfd", (__NR_SYSCALL_BASE + 351) }, - { "eventfd2", (__NR_SYSCALL_BASE + 356) }, - { "execve", (__NR_SYSCALL_BASE + 11) }, - { "execveat", (__NR_SYSCALL_BASE + 387) }, - { "exit", (__NR_SYSCALL_BASE + 1) }, - { "exit_group", (__NR_SYSCALL_BASE + 248) }, - { "faccessat", (__NR_SYSCALL_BASE + 334) }, + { "eventfd", (__SCMP_NR_BASE + 351) }, + { "eventfd2", (__SCMP_NR_BASE + 356) }, + { "execve", (__SCMP_NR_BASE + 11) }, + { "execveat", (__SCMP_NR_BASE + 387) }, + { "exit", (__SCMP_NR_BASE + 1) }, + { "exit_group", (__SCMP_NR_BASE + 248) }, + { "faccessat", (__SCMP_NR_BASE + 334) }, { "fadvise64", __PNR_fadvise64 }, { "fadvise64_64", __PNR_fadvise64_64 }, - { "fallocate", (__NR_SYSCALL_BASE + 352) }, - { "fanotify_init", (__NR_SYSCALL_BASE + 367) }, - { "fanotify_mark", (__NR_SYSCALL_BASE + 368) }, - { "fchdir", (__NR_SYSCALL_BASE + 133) }, - { "fchmod", (__NR_SYSCALL_BASE + 94) }, - { "fchmodat", (__NR_SYSCALL_BASE + 333) }, - { "fchown", (__NR_SYSCALL_BASE + 95) }, - { "fchown32", (__NR_SYSCALL_BASE + 207) }, - { "fchownat", (__NR_SYSCALL_BASE + 325) }, - { "fcntl", (__NR_SYSCALL_BASE + 55) }, - { "fcntl64", (__NR_SYSCALL_BASE + 221) }, - { "fdatasync", (__NR_SYSCALL_BASE + 148) }, - { "fgetxattr", (__NR_SYSCALL_BASE + 231) }, - { "finit_module", (__NR_SYSCALL_BASE + 379) }, - { "flistxattr", (__NR_SYSCALL_BASE + 234) }, - { "flock", (__NR_SYSCALL_BASE + 143) }, - { "fork", (__NR_SYSCALL_BASE + 2) }, - { "fremovexattr", (__NR_SYSCALL_BASE + 237) }, - { "fsetxattr", (__NR_SYSCALL_BASE + 228) }, - { "fstat", (__NR_SYSCALL_BASE + 108) }, - { "fstat64", (__NR_SYSCALL_BASE + 197) }, - { "fstatat64", (__NR_SYSCALL_BASE + 327) }, - { "fstatfs", (__NR_SYSCALL_BASE + 100) }, - { "fstatfs64", (__NR_SYSCALL_BASE + 267) }, - { "fsync", (__NR_SYSCALL_BASE + 118) }, + { "fallocate", (__SCMP_NR_BASE + 352) }, + { "fanotify_init", (__SCMP_NR_BASE + 367) }, + { "fanotify_mark", (__SCMP_NR_BASE + 368) }, + { "fchdir", (__SCMP_NR_BASE + 133) }, + { "fchmod", (__SCMP_NR_BASE + 94) }, + { "fchmodat", (__SCMP_NR_BASE + 333) }, + { "fchown", (__SCMP_NR_BASE + 95) }, + { "fchown32", (__SCMP_NR_BASE + 207) }, + { "fchownat", (__SCMP_NR_BASE + 325) }, + { "fcntl", (__SCMP_NR_BASE + 55) }, + { "fcntl64", (__SCMP_NR_BASE + 221) }, + { "fdatasync", (__SCMP_NR_BASE + 148) }, + { "fgetxattr", (__SCMP_NR_BASE + 231) }, + { "finit_module", (__SCMP_NR_BASE + 379) }, + { "flistxattr", (__SCMP_NR_BASE + 234) }, + { "flock", (__SCMP_NR_BASE + 143) }, + { "fork", (__SCMP_NR_BASE + 2) }, + { "fremovexattr", (__SCMP_NR_BASE + 237) }, + { "fsetxattr", (__SCMP_NR_BASE + 228) }, + { "fstat", (__SCMP_NR_BASE + 108) }, + { "fstat64", (__SCMP_NR_BASE + 197) }, + { "fstatat64", (__SCMP_NR_BASE + 327) }, + { "fstatfs", (__SCMP_NR_BASE + 100) }, + { "fstatfs64", (__SCMP_NR_BASE + 267) }, + { "fsync", (__SCMP_NR_BASE + 118) }, { "ftime", __PNR_ftime }, - { "ftruncate", (__NR_SYSCALL_BASE + 93) }, - { "ftruncate64", (__NR_SYSCALL_BASE + 194) }, - { "futex", (__NR_SYSCALL_BASE + 240) }, - { "futimesat", (__NR_SYSCALL_BASE + 326) }, + { "ftruncate", (__SCMP_NR_BASE + 93) }, + { "ftruncate64", (__SCMP_NR_BASE + 194) }, + { "futex", (__SCMP_NR_BASE + 240) }, + { "futimesat", (__SCMP_NR_BASE + 326) }, { "get_kernel_syms", __PNR_get_kernel_syms }, - { "get_mempolicy", (__NR_SYSCALL_BASE + 320) }, - { "get_robust_list", (__NR_SYSCALL_BASE + 339) }, + { "get_mempolicy", (__SCMP_NR_BASE + 320) }, + { "get_robust_list", (__SCMP_NR_BASE + 339) }, { "get_thread_area", __PNR_get_thread_area }, - { "getcpu", (__NR_SYSCALL_BASE + 345) }, - { "getcwd", (__NR_SYSCALL_BASE + 183) }, - { "getdents", (__NR_SYSCALL_BASE + 141) }, - { "getdents64", (__NR_SYSCALL_BASE + 217) }, - { "getegid", (__NR_SYSCALL_BASE + 50) }, - { "getegid32", (__NR_SYSCALL_BASE + 202) }, - { "geteuid", (__NR_SYSCALL_BASE + 49) }, - { "geteuid32", (__NR_SYSCALL_BASE + 201) }, - { "getgid", (__NR_SYSCALL_BASE + 47) }, - { "getgid32", (__NR_SYSCALL_BASE + 200) }, - { "getgroups", (__NR_SYSCALL_BASE + 80) }, - { "getgroups32", (__NR_SYSCALL_BASE + 205) }, - { "getitimer", (__NR_SYSCALL_BASE + 105) }, - { "getpeername", (__NR_SYSCALL_BASE + 287) }, - { "getpgid", (__NR_SYSCALL_BASE + 132) }, - { "getpgrp", (__NR_SYSCALL_BASE + 65) }, - { "getpid", (__NR_SYSCALL_BASE + 20) }, + { "getcpu", (__SCMP_NR_BASE + 345) }, + { "getcwd", (__SCMP_NR_BASE + 183) }, + { "getdents", (__SCMP_NR_BASE + 141) }, + { "getdents64", (__SCMP_NR_BASE + 217) }, + { "getegid", (__SCMP_NR_BASE + 50) }, + { "getegid32", (__SCMP_NR_BASE + 202) }, + { "geteuid", (__SCMP_NR_BASE + 49) }, + { "geteuid32", (__SCMP_NR_BASE + 201) }, + { "getgid", (__SCMP_NR_BASE + 47) }, + { "getgid32", (__SCMP_NR_BASE + 200) }, + { "getgroups", (__SCMP_NR_BASE + 80) }, + { "getgroups32", (__SCMP_NR_BASE + 205) }, + { "getitimer", (__SCMP_NR_BASE + 105) }, + { "getpeername", (__SCMP_NR_BASE + 287) }, + { "getpgid", (__SCMP_NR_BASE + 132) }, + { "getpgrp", (__SCMP_NR_BASE + 65) }, + { "getpid", (__SCMP_NR_BASE + 20) }, { "getpmsg", __PNR_getpmsg }, - { "getppid", (__NR_SYSCALL_BASE + 64) }, - { "getpriority", (__NR_SYSCALL_BASE + 96) }, - { "getrandom", (__NR_SYSCALL_BASE + 384) }, - { "getresgid", (__NR_SYSCALL_BASE + 171) }, - { "getresgid32", (__NR_SYSCALL_BASE + 211) }, - { "getresuid", (__NR_SYSCALL_BASE + 165) }, - { "getresuid32", (__NR_SYSCALL_BASE + 209) }, + { "getppid", (__SCMP_NR_BASE + 64) }, + { "getpriority", (__SCMP_NR_BASE + 96) }, + { "getrandom", (__SCMP_NR_BASE + 384) }, + { "getresgid", (__SCMP_NR_BASE + 171) }, + { "getresgid32", (__SCMP_NR_BASE + 211) }, + { "getresuid", (__SCMP_NR_BASE + 165) }, + { "getresuid32", (__SCMP_NR_BASE + 209) }, { "getrlimit", __PNR_getrlimit }, - { "getrusage", (__NR_SYSCALL_BASE + 77) }, - { "getsid", (__NR_SYSCALL_BASE + 147) }, - { "getsockname", (__NR_SYSCALL_BASE + 286) }, - { "getsockopt", (__NR_SYSCALL_BASE + 295) }, - { "gettid", (__NR_SYSCALL_BASE + 224) }, - { "gettimeofday", (__NR_SYSCALL_BASE + 78) }, - { "getuid", (__NR_SYSCALL_BASE + 24) }, - { "getuid32", (__NR_SYSCALL_BASE + 199) }, - { "getxattr", (__NR_SYSCALL_BASE + 229) }, + { "getrusage", (__SCMP_NR_BASE + 77) }, + { "getsid", (__SCMP_NR_BASE + 147) }, + { "getsockname", (__SCMP_NR_BASE + 286) }, + { "getsockopt", (__SCMP_NR_BASE + 295) }, + { "gettid", (__SCMP_NR_BASE + 224) }, + { "gettimeofday", (__SCMP_NR_BASE + 78) }, + { "getuid", (__SCMP_NR_BASE + 24) }, + { "getuid32", (__SCMP_NR_BASE + 199) }, + { "getxattr", (__SCMP_NR_BASE + 229) }, { "gtty", __PNR_gtty }, { "idle", __PNR_idle }, - { "init_module", (__NR_SYSCALL_BASE + 128) }, - { "inotify_add_watch", (__NR_SYSCALL_BASE + 317) }, - { "inotify_init", (__NR_SYSCALL_BASE + 316) }, - { "inotify_init1", (__NR_SYSCALL_BASE + 360) }, - { "inotify_rm_watch", (__NR_SYSCALL_BASE + 318) }, - { "io_cancel", (__NR_SYSCALL_BASE + 247) }, - { "io_destroy", (__NR_SYSCALL_BASE + 244) }, - { "io_getevents", (__NR_SYSCALL_BASE + 245) }, - { "io_setup", (__NR_SYSCALL_BASE + 243) }, - { "io_submit", (__NR_SYSCALL_BASE + 246) }, - { "ioctl", (__NR_SYSCALL_BASE + 54) }, + { "init_module", (__SCMP_NR_BASE + 128) }, + { "inotify_add_watch", (__SCMP_NR_BASE + 317) }, + { "inotify_init", (__SCMP_NR_BASE + 316) }, + { "inotify_init1", (__SCMP_NR_BASE + 360) }, + { "inotify_rm_watch", (__SCMP_NR_BASE + 318) }, + { "io_cancel", (__SCMP_NR_BASE + 247) }, + { "io_destroy", (__SCMP_NR_BASE + 244) }, + { "io_getevents", (__SCMP_NR_BASE + 245) }, + { "io_setup", (__SCMP_NR_BASE + 243) }, + { "io_submit", (__SCMP_NR_BASE + 246) }, + { "ioctl", (__SCMP_NR_BASE + 54) }, { "ioperm", __PNR_ioperm }, { "iopl", __PNR_iopl }, - { "ioprio_get", (__NR_SYSCALL_BASE + 315) }, - { "ioprio_set", (__NR_SYSCALL_BASE + 314) }, + { "ioprio_get", (__SCMP_NR_BASE + 315) }, + { "ioprio_set", (__SCMP_NR_BASE + 314) }, { "ipc", __PNR_ipc }, - { "kcmp", (__NR_SYSCALL_BASE + 378) }, + { "kcmp", (__SCMP_NR_BASE + 378) }, { "kexec_file_load", __PNR_kexec_file_load }, - { "kexec_load", (__NR_SYSCALL_BASE + 347) }, - { "keyctl", (__NR_SYSCALL_BASE + 311) }, - { "kill", (__NR_SYSCALL_BASE + 37) }, - { "lchown", (__NR_SYSCALL_BASE + 16) }, - { "lchown32", (__NR_SYSCALL_BASE + 198) }, - { "lgetxattr", (__NR_SYSCALL_BASE + 230) }, - { "link", (__NR_SYSCALL_BASE + 9) }, - { "linkat", (__NR_SYSCALL_BASE + 330) }, - { "listen", (__NR_SYSCALL_BASE + 284) }, - { "listxattr", (__NR_SYSCALL_BASE + 232) }, - { "llistxattr", (__NR_SYSCALL_BASE + 233) }, + { "kexec_load", (__SCMP_NR_BASE + 347) }, + { "keyctl", (__SCMP_NR_BASE + 311) }, + { "kill", (__SCMP_NR_BASE + 37) }, + { "lchown", (__SCMP_NR_BASE + 16) }, + { "lchown32", (__SCMP_NR_BASE + 198) }, + { "lgetxattr", (__SCMP_NR_BASE + 230) }, + { "link", (__SCMP_NR_BASE + 9) }, + { "linkat", (__SCMP_NR_BASE + 330) }, + { "listen", (__SCMP_NR_BASE + 284) }, + { "listxattr", (__SCMP_NR_BASE + 232) }, + { "llistxattr", (__SCMP_NR_BASE + 233) }, { "lock", __PNR_lock }, - { "lookup_dcookie", (__NR_SYSCALL_BASE + 249) }, - { "lremovexattr", (__NR_SYSCALL_BASE + 236) }, - { "lseek", (__NR_SYSCALL_BASE + 19) }, - { "lsetxattr", (__NR_SYSCALL_BASE + 227) }, - { "lstat", (__NR_SYSCALL_BASE + 107) }, - { "lstat64", (__NR_SYSCALL_BASE + 196) }, - { "madvise", (__NR_SYSCALL_BASE + 220) }, - { "mbind", (__NR_SYSCALL_BASE + 319) }, - { "memfd_create", (__NR_SYSCALL_BASE + 385) }, + { "lookup_dcookie", (__SCMP_NR_BASE + 249) }, + { "lremovexattr", (__SCMP_NR_BASE + 236) }, + { "lseek", (__SCMP_NR_BASE + 19) }, + { "lsetxattr", (__SCMP_NR_BASE + 227) }, + { "lstat", (__SCMP_NR_BASE + 107) }, + { "lstat64", (__SCMP_NR_BASE + 196) }, + { "madvise", (__SCMP_NR_BASE + 220) }, + { "mbind", (__SCMP_NR_BASE + 319) }, + { "memfd_create", (__SCMP_NR_BASE + 385) }, { "migrate_pages", __PNR_migrate_pages }, - { "mincore", (__NR_SYSCALL_BASE + 219) }, - { "mkdir", (__NR_SYSCALL_BASE + 39) }, - { "mkdirat", (__NR_SYSCALL_BASE + 323) }, - { "mknod", (__NR_SYSCALL_BASE + 14) }, - { "mknodat", (__NR_SYSCALL_BASE + 324) }, - { "mlock", (__NR_SYSCALL_BASE + 150) }, - { "mlockall", (__NR_SYSCALL_BASE + 152) }, + { "mincore", (__SCMP_NR_BASE + 219) }, + { "mkdir", (__SCMP_NR_BASE + 39) }, + { "mkdirat", (__SCMP_NR_BASE + 323) }, + { "mknod", (__SCMP_NR_BASE + 14) }, + { "mknodat", (__SCMP_NR_BASE + 324) }, + { "mlock", (__SCMP_NR_BASE + 150) }, + { "mlockall", (__SCMP_NR_BASE + 152) }, { "mmap", __PNR_mmap }, - { "mmap2", (__NR_SYSCALL_BASE + 192) }, + { "mmap2", (__SCMP_NR_BASE + 192) }, { "modify_ldt", __PNR_modify_ldt }, - { "mount", (__NR_SYSCALL_BASE + 21) }, - { "move_pages", (__NR_SYSCALL_BASE + 344) }, - { "mprotect", (__NR_SYSCALL_BASE + 125) }, + { "mount", (__SCMP_NR_BASE + 21) }, + { "move_pages", (__SCMP_NR_BASE + 344) }, + { "mprotect", (__SCMP_NR_BASE + 125) }, { "mpx", __PNR_mpx }, - { "mq_getsetattr", (__NR_SYSCALL_BASE + 279) }, - { "mq_notify", (__NR_SYSCALL_BASE + 278) }, - { "mq_open", (__NR_SYSCALL_BASE + 274) }, - { "mq_timedreceive", (__NR_SYSCALL_BASE + 277) }, - { "mq_timedsend", (__NR_SYSCALL_BASE + 276) }, - { "mq_unlink", (__NR_SYSCALL_BASE + 275) }, - { "mremap", (__NR_SYSCALL_BASE + 163) }, - { "msgctl", (__NR_SYSCALL_BASE + 304) }, - { "msgget", (__NR_SYSCALL_BASE + 303) }, - { "msgrcv", (__NR_SYSCALL_BASE + 302) }, - { "msgsnd", (__NR_SYSCALL_BASE + 301) }, - { "msync", (__NR_SYSCALL_BASE + 144) }, + { "mq_getsetattr", (__SCMP_NR_BASE + 279) }, + { "mq_notify", (__SCMP_NR_BASE + 278) }, + { "mq_open", (__SCMP_NR_BASE + 274) }, + { "mq_timedreceive", (__SCMP_NR_BASE + 277) }, + { "mq_timedsend", (__SCMP_NR_BASE + 276) }, + { "mq_unlink", (__SCMP_NR_BASE + 275) }, + { "mremap", (__SCMP_NR_BASE + 163) }, + { "msgctl", (__SCMP_NR_BASE + 304) }, + { "msgget", (__SCMP_NR_BASE + 303) }, + { "msgrcv", (__SCMP_NR_BASE + 302) }, + { "msgsnd", (__SCMP_NR_BASE + 301) }, + { "msync", (__SCMP_NR_BASE + 144) }, { "multiplexer", __PNR_multiplexer }, - { "munlock", (__NR_SYSCALL_BASE + 151) }, - { "munlockall", (__NR_SYSCALL_BASE + 153) }, - { "munmap", (__NR_SYSCALL_BASE + 91) }, - { "name_to_handle_at", (__NR_SYSCALL_BASE + 370) }, - { "nanosleep", (__NR_SYSCALL_BASE + 162) }, + { "munlock", (__SCMP_NR_BASE + 151) }, + { "munlockall", (__SCMP_NR_BASE + 153) }, + { "munmap", (__SCMP_NR_BASE + 91) }, + { "name_to_handle_at", (__SCMP_NR_BASE + 370) }, + { "nanosleep", (__SCMP_NR_BASE + 162) }, { "newfstatat", __PNR_newfstatat }, - { "nfsservctl", (__NR_SYSCALL_BASE + 169) }, - { "nice", (__NR_SYSCALL_BASE + 34) }, + { "nfsservctl", (__SCMP_NR_BASE + 169) }, + { "nice", (__SCMP_NR_BASE + 34) }, { "oldfstat", __PNR_oldfstat }, { "oldlstat", __PNR_oldlstat }, { "oldolduname", __PNR_oldolduname }, { "oldstat", __PNR_oldstat }, { "olduname", __PNR_olduname }, { "oldwait4", __PNR_oldwait4 }, - { "open", (__NR_SYSCALL_BASE + 5) }, - { "open_by_handle_at", (__NR_SYSCALL_BASE + 371) }, - { "openat", (__NR_SYSCALL_BASE + 322) }, - { "pause", (__NR_SYSCALL_BASE + 29) }, - { "pciconfig_iobase", (__NR_SYSCALL_BASE + 271) }, - { "pciconfig_read", (__NR_SYSCALL_BASE + 272) }, - { "pciconfig_write", (__NR_SYSCALL_BASE + 273) }, - { "perf_event_open", (__NR_SYSCALL_BASE + 364) }, - { "personality", (__NR_SYSCALL_BASE + 136) }, - { "pipe", (__NR_SYSCALL_BASE + 42) }, - { "pipe2", (__NR_SYSCALL_BASE + 359) }, - { "pivot_root", (__NR_SYSCALL_BASE + 218) }, - { "poll", (__NR_SYSCALL_BASE + 168) }, - { "ppoll", (__NR_SYSCALL_BASE + 336) }, - { "prctl", (__NR_SYSCALL_BASE + 172) }, - { "pread64", (__NR_SYSCALL_BASE + 180) }, - { "preadv", (__NR_SYSCALL_BASE + 361) }, - { "prlimit64", (__NR_SYSCALL_BASE + 369) }, - { "process_vm_readv", (__NR_SYSCALL_BASE + 376) }, - { "process_vm_writev", (__NR_SYSCALL_BASE + 377) }, + { "open", (__SCMP_NR_BASE + 5) }, + { "open_by_handle_at", (__SCMP_NR_BASE + 371) }, + { "openat", (__SCMP_NR_BASE + 322) }, + { "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) }, + { "pipe", (__SCMP_NR_BASE + 42) }, + { "pipe2", (__SCMP_NR_BASE + 359) }, + { "pivot_root", (__SCMP_NR_BASE + 218) }, + { "poll", (__SCMP_NR_BASE + 168) }, + { "ppoll", (__SCMP_NR_BASE + 336) }, + { "prctl", (__SCMP_NR_BASE + 172) }, + { "pread64", (__SCMP_NR_BASE + 180) }, + { "preadv", (__SCMP_NR_BASE + 361) }, + { "prlimit64", (__SCMP_NR_BASE + 369) }, + { "process_vm_readv", (__SCMP_NR_BASE + 376) }, + { "process_vm_writev", (__SCMP_NR_BASE + 377) }, { "prof", __PNR_prof }, { "profil", __PNR_profil }, - { "pselect6", (__NR_SYSCALL_BASE + 335) }, - { "ptrace", (__NR_SYSCALL_BASE + 26) }, + { "pselect6", (__SCMP_NR_BASE + 335) }, + { "ptrace", (__SCMP_NR_BASE + 26) }, { "putpmsg", __PNR_putpmsg }, - { "pwrite64", (__NR_SYSCALL_BASE + 181) }, - { "pwritev", (__NR_SYSCALL_BASE + 362) }, + { "pwrite64", (__SCMP_NR_BASE + 181) }, + { "pwritev", (__SCMP_NR_BASE + 362) }, { "query_module", __PNR_query_module }, - { "quotactl", (__NR_SYSCALL_BASE + 131) }, - { "read", (__NR_SYSCALL_BASE + 3) }, - { "readahead", (__NR_SYSCALL_BASE + 225) }, + { "quotactl", (__SCMP_NR_BASE + 131) }, + { "read", (__SCMP_NR_BASE + 3) }, + { "readahead", (__SCMP_NR_BASE + 225) }, { "readdir", __PNR_readdir }, - { "readlink", (__NR_SYSCALL_BASE + 85) }, - { "readlinkat", (__NR_SYSCALL_BASE + 332) }, - { "readv", (__NR_SYSCALL_BASE + 145) }, - { "reboot", (__NR_SYSCALL_BASE + 88) }, - { "recv", (__NR_SYSCALL_BASE + 291) }, - { "recvfrom", (__NR_SYSCALL_BASE + 292) }, - { "recvmmsg", (__NR_SYSCALL_BASE + 365) }, - { "recvmsg", (__NR_SYSCALL_BASE + 297) }, - { "remap_file_pages", (__NR_SYSCALL_BASE + 253) }, - { "removexattr", (__NR_SYSCALL_BASE + 235) }, - { "rename", (__NR_SYSCALL_BASE + 38) }, - { "renameat", (__NR_SYSCALL_BASE + 329) }, - { "renameat2", (__NR_SYSCALL_BASE + 382) }, - { "request_key", (__NR_SYSCALL_BASE + 310) }, - { "restart_syscall", (__NR_SYSCALL_BASE + 0) }, - { "rmdir", (__NR_SYSCALL_BASE + 40) }, - { "rt_sigaction", (__NR_SYSCALL_BASE + 174) }, - { "rt_sigpending", (__NR_SYSCALL_BASE + 176) }, - { "rt_sigprocmask", (__NR_SYSCALL_BASE + 175) }, - { "rt_sigqueueinfo", (__NR_SYSCALL_BASE + 178) }, - { "rt_sigreturn", (__NR_SYSCALL_BASE + 173) }, - { "rt_sigsuspend", (__NR_SYSCALL_BASE + 179) }, - { "rt_sigtimedwait", (__NR_SYSCALL_BASE + 177) }, - { "rt_tgsigqueueinfo", (__NR_SYSCALL_BASE + 363) }, + { "readlink", (__SCMP_NR_BASE + 85) }, + { "readlinkat", (__SCMP_NR_BASE + 332) }, + { "readv", (__SCMP_NR_BASE + 145) }, + { "reboot", (__SCMP_NR_BASE + 88) }, + { "recv", (__SCMP_NR_BASE + 291) }, + { "recvfrom", (__SCMP_NR_BASE + 292) }, + { "recvmmsg", (__SCMP_NR_BASE + 365) }, + { "recvmsg", (__SCMP_NR_BASE + 297) }, + { "remap_file_pages", (__SCMP_NR_BASE + 253) }, + { "removexattr", (__SCMP_NR_BASE + 235) }, + { "rename", (__SCMP_NR_BASE + 38) }, + { "renameat", (__SCMP_NR_BASE + 329) }, + { "renameat2", (__SCMP_NR_BASE + 382) }, + { "request_key", (__SCMP_NR_BASE + 310) }, + { "restart_syscall", (__SCMP_NR_BASE + 0) }, + { "rmdir", (__SCMP_NR_BASE + 40) }, + { "rt_sigaction", (__SCMP_NR_BASE + 174) }, + { "rt_sigpending", (__SCMP_NR_BASE + 176) }, + { "rt_sigprocmask", (__SCMP_NR_BASE + 175) }, + { "rt_sigqueueinfo", (__SCMP_NR_BASE + 178) }, + { "rt_sigreturn", (__SCMP_NR_BASE + 173) }, + { "rt_sigsuspend", (__SCMP_NR_BASE + 179) }, + { "rt_sigtimedwait", (__SCMP_NR_BASE + 177) }, + { "rt_tgsigqueueinfo", (__SCMP_NR_BASE + 363) }, { "rtas", __PNR_rtas }, { "s390_runtime_instr", __PNR_s390_runtime_instr }, - { "sched_get_priority_max", (__NR_SYSCALL_BASE + 159) }, - { "sched_get_priority_min", (__NR_SYSCALL_BASE + 160) }, - { "sched_getaffinity", (__NR_SYSCALL_BASE + 242) }, - { "sched_getattr", (__NR_SYSCALL_BASE + 381) }, - { "sched_getparam", (__NR_SYSCALL_BASE + 155) }, - { "sched_getscheduler", (__NR_SYSCALL_BASE + 157) }, - { "sched_rr_get_interval", (__NR_SYSCALL_BASE + 161) }, - { "sched_setaffinity", (__NR_SYSCALL_BASE + 241) }, - { "sched_setattr", (__NR_SYSCALL_BASE + 380) }, - { "sched_setparam", (__NR_SYSCALL_BASE + 154) }, - { "sched_setscheduler", (__NR_SYSCALL_BASE + 156) }, - { "sched_yield", (__NR_SYSCALL_BASE + 158) }, - { "seccomp", (__NR_SYSCALL_BASE + 383) }, + { "sched_get_priority_max", (__SCMP_NR_BASE + 159) }, + { "sched_get_priority_min", (__SCMP_NR_BASE + 160) }, + { "sched_getaffinity", (__SCMP_NR_BASE + 242) }, + { "sched_getattr", (__SCMP_NR_BASE + 381) }, + { "sched_getparam", (__SCMP_NR_BASE + 155) }, + { "sched_getscheduler", (__SCMP_NR_BASE + 157) }, + { "sched_rr_get_interval", (__SCMP_NR_BASE + 161) }, + { "sched_setaffinity", (__SCMP_NR_BASE + 241) }, + { "sched_setattr", (__SCMP_NR_BASE + 380) }, + { "sched_setparam", (__SCMP_NR_BASE + 154) }, + { "sched_setscheduler", (__SCMP_NR_BASE + 156) }, + { "sched_yield", (__SCMP_NR_BASE + 158) }, + { "seccomp", (__SCMP_NR_BASE + 383) }, { "security", __PNR_security }, { "select", __PNR_select }, - { "semctl", (__NR_SYSCALL_BASE + 300) }, - { "semget", (__NR_SYSCALL_BASE + 299) }, - { "semop", (__NR_SYSCALL_BASE + 298) }, - { "semtimedop", (__NR_SYSCALL_BASE + 312) }, - { "send", (__NR_SYSCALL_BASE + 289) }, - { "sendfile", (__NR_SYSCALL_BASE + 187) }, - { "sendfile64", (__NR_SYSCALL_BASE + 239) }, - { "sendmmsg", (__NR_SYSCALL_BASE + 374) }, - { "sendmsg", (__NR_SYSCALL_BASE + 296) }, - { "sendto", (__NR_SYSCALL_BASE + 290) }, - { "set_mempolicy", (__NR_SYSCALL_BASE + 321) }, - { "set_robust_list", (__NR_SYSCALL_BASE + 338) }, + { "semctl", (__SCMP_NR_BASE + 300) }, + { "semget", (__SCMP_NR_BASE + 299) }, + { "semop", (__SCMP_NR_BASE + 298) }, + { "semtimedop", (__SCMP_NR_BASE + 312) }, + { "send", (__SCMP_NR_BASE + 289) }, + { "sendfile", (__SCMP_NR_BASE + 187) }, + { "sendfile64", (__SCMP_NR_BASE + 239) }, + { "sendmmsg", (__SCMP_NR_BASE + 374) }, + { "sendmsg", (__SCMP_NR_BASE + 296) }, + { "sendto", (__SCMP_NR_BASE + 290) }, + { "set_mempolicy", (__SCMP_NR_BASE + 321) }, + { "set_robust_list", (__SCMP_NR_BASE + 338) }, { "set_thread_area", __PNR_set_thread_area }, - { "set_tid_address", (__NR_SYSCALL_BASE + 256) }, - { "set_tls", (__NR_SYSCALL_BASE + (__ARM_NR_BASE + 5)) }, - { "setdomainname", (__NR_SYSCALL_BASE + 121) }, - { "setfsgid", (__NR_SYSCALL_BASE + 139) }, - { "setfsgid32", (__NR_SYSCALL_BASE + 216) }, - { "setfsuid", (__NR_SYSCALL_BASE + 138) }, - { "setfsuid32", (__NR_SYSCALL_BASE + 215) }, - { "setgid", (__NR_SYSCALL_BASE + 46) }, - { "setgid32", (__NR_SYSCALL_BASE + 214) }, - { "setgroups", (__NR_SYSCALL_BASE + 81) }, - { "setgroups32", (__NR_SYSCALL_BASE + 206) }, - { "sethostname", (__NR_SYSCALL_BASE + 74) }, - { "setitimer", (__NR_SYSCALL_BASE + 104) }, - { "setns", (__NR_SYSCALL_BASE + 375) }, - { "setpgid", (__NR_SYSCALL_BASE + 57) }, - { "setpriority", (__NR_SYSCALL_BASE + 97) }, - { "setregid", (__NR_SYSCALL_BASE + 71) }, - { "setregid32", (__NR_SYSCALL_BASE + 204) }, - { "setresgid", (__NR_SYSCALL_BASE + 170) }, - { "setresgid32", (__NR_SYSCALL_BASE + 210) }, - { "setresuid", (__NR_SYSCALL_BASE + 164) }, - { "setresuid32", (__NR_SYSCALL_BASE + 208) }, - { "setreuid", (__NR_SYSCALL_BASE + 70) }, - { "setreuid32", (__NR_SYSCALL_BASE + 203) }, - { "setrlimit", (__NR_SYSCALL_BASE + 75) }, - { "setsid", (__NR_SYSCALL_BASE + 66) }, - { "setsockopt", (__NR_SYSCALL_BASE + 294) }, - { "settimeofday", (__NR_SYSCALL_BASE + 79) }, - { "setuid", (__NR_SYSCALL_BASE + 23) }, - { "setuid32", (__NR_SYSCALL_BASE + 213) }, - { "setxattr", (__NR_SYSCALL_BASE + 226) }, + { "set_tid_address", (__SCMP_NR_BASE + 256) }, + { "set_tls", (__SCMP_NR_BASE + (__SCMP_ARM_NR_BASE + 5)) }, + { "setdomainname", (__SCMP_NR_BASE + 121) }, + { "setfsgid", (__SCMP_NR_BASE + 139) }, + { "setfsgid32", (__SCMP_NR_BASE + 216) }, + { "setfsuid", (__SCMP_NR_BASE + 138) }, + { "setfsuid32", (__SCMP_NR_BASE + 215) }, + { "setgid", (__SCMP_NR_BASE + 46) }, + { "setgid32", (__SCMP_NR_BASE + 214) }, + { "setgroups", (__SCMP_NR_BASE + 81) }, + { "setgroups32", (__SCMP_NR_BASE + 206) }, + { "sethostname", (__SCMP_NR_BASE + 74) }, + { "setitimer", (__SCMP_NR_BASE + 104) }, + { "setns", (__SCMP_NR_BASE + 375) }, + { "setpgid", (__SCMP_NR_BASE + 57) }, + { "setpriority", (__SCMP_NR_BASE + 97) }, + { "setregid", (__SCMP_NR_BASE + 71) }, + { "setregid32", (__SCMP_NR_BASE + 204) }, + { "setresgid", (__SCMP_NR_BASE + 170) }, + { "setresgid32", (__SCMP_NR_BASE + 210) }, + { "setresuid", (__SCMP_NR_BASE + 164) }, + { "setresuid32", (__SCMP_NR_BASE + 208) }, + { "setreuid", (__SCMP_NR_BASE + 70) }, + { "setreuid32", (__SCMP_NR_BASE + 203) }, + { "setrlimit", (__SCMP_NR_BASE + 75) }, + { "setsid", (__SCMP_NR_BASE + 66) }, + { "setsockopt", (__SCMP_NR_BASE + 294) }, + { "settimeofday", (__SCMP_NR_BASE + 79) }, + { "setuid", (__SCMP_NR_BASE + 23) }, + { "setuid32", (__SCMP_NR_BASE + 213) }, + { "setxattr", (__SCMP_NR_BASE + 226) }, { "sgetmask", __PNR_sgetmask }, - { "shmat", (__NR_SYSCALL_BASE + 305) }, - { "shmctl", (__NR_SYSCALL_BASE + 308) }, - { "shmdt", (__NR_SYSCALL_BASE + 306) }, - { "shmget", (__NR_SYSCALL_BASE + 307) }, - { "shutdown", (__NR_SYSCALL_BASE + 293) }, - { "sigaction", (__NR_SYSCALL_BASE + 67) }, - { "sigaltstack", (__NR_SYSCALL_BASE + 186) }, + { "shmat", (__SCMP_NR_BASE + 305) }, + { "shmctl", (__SCMP_NR_BASE + 308) }, + { "shmdt", (__SCMP_NR_BASE + 306) }, + { "shmget", (__SCMP_NR_BASE + 307) }, + { "shutdown", (__SCMP_NR_BASE + 293) }, + { "sigaction", (__SCMP_NR_BASE + 67) }, + { "sigaltstack", (__SCMP_NR_BASE + 186) }, { "signal", __PNR_signal }, - { "signalfd", (__NR_SYSCALL_BASE + 349) }, - { "signalfd4", (__NR_SYSCALL_BASE + 355) }, - { "sigpending", (__NR_SYSCALL_BASE + 73) }, - { "sigprocmask", (__NR_SYSCALL_BASE + 126) }, - { "sigreturn", (__NR_SYSCALL_BASE + 119) }, - { "sigsuspend", (__NR_SYSCALL_BASE + 72) }, - { "socket", (__NR_SYSCALL_BASE + 281) }, + { "signalfd", (__SCMP_NR_BASE + 349) }, + { "signalfd4", (__SCMP_NR_BASE + 355) }, + { "sigpending", (__SCMP_NR_BASE + 73) }, + { "sigprocmask", (__SCMP_NR_BASE + 126) }, + { "sigreturn", (__SCMP_NR_BASE + 119) }, + { "sigsuspend", (__SCMP_NR_BASE + 72) }, + { "socket", (__SCMP_NR_BASE + 281) }, { "socketcall", __PNR_socketcall }, - { "socketpair", (__NR_SYSCALL_BASE + 288) }, - { "splice", (__NR_SYSCALL_BASE + 340) }, + { "socketpair", (__SCMP_NR_BASE + 288) }, + { "splice", (__SCMP_NR_BASE + 340) }, { "spu_create", __PNR_spu_create }, { "spu_run", __PNR_spu_run }, { "ssetmask", __PNR_ssetmask }, - { "stat", (__NR_SYSCALL_BASE + 106) }, - { "stat64", (__NR_SYSCALL_BASE + 195) }, - { "statfs", (__NR_SYSCALL_BASE + 99) }, - { "statfs64", (__NR_SYSCALL_BASE + 266) }, + { "stat", (__SCMP_NR_BASE + 106) }, + { "stat64", (__SCMP_NR_BASE + 195) }, + { "statfs", (__SCMP_NR_BASE + 99) }, + { "statfs64", (__SCMP_NR_BASE + 266) }, { "stime", __PNR_stime }, { "stty", __PNR_stty }, { "subpage_prot", __PNR_subpage_prot }, { "swapcontext", __PNR_swapcontext }, - { "swapoff", (__NR_SYSCALL_BASE + 115) }, - { "swapon", (__NR_SYSCALL_BASE + 87) }, + { "swapoff", (__SCMP_NR_BASE + 115) }, + { "swapon", (__SCMP_NR_BASE + 87) }, { "switch_endian", __PNR_switch_endian }, - { "symlink", (__NR_SYSCALL_BASE + 83) }, - { "symlinkat", (__NR_SYSCALL_BASE + 331) }, - { "sync", (__NR_SYSCALL_BASE + 36) }, + { "symlink", (__SCMP_NR_BASE + 83) }, + { "symlinkat", (__SCMP_NR_BASE + 331) }, + { "sync", (__SCMP_NR_BASE + 36) }, { "sync_file_range", __PNR_sync_file_range }, - { "sync_file_range2", (__NR_SYSCALL_BASE + 341) }, - { "syncfs", (__NR_SYSCALL_BASE + 373) }, + { "sync_file_range2", (__SCMP_NR_BASE + 341) }, + { "syncfs", (__SCMP_NR_BASE + 373) }, { "syscall", (__PNR_syscall) }, { "sys_debug_setcontext", __PNR_sys_debug_setcontext }, - { "sysfs", (__NR_SYSCALL_BASE + 135) }, - { "sysinfo", (__NR_SYSCALL_BASE + 116) }, - { "syslog", (__NR_SYSCALL_BASE + 103) }, + { "sysfs", (__SCMP_NR_BASE + 135) }, + { "sysinfo", (__SCMP_NR_BASE + 116) }, + { "syslog", (__SCMP_NR_BASE + 103) }, { "sysmips", __PNR_sysmips }, - { "tee", (__NR_SYSCALL_BASE + 342) }, - { "tgkill", (__NR_SYSCALL_BASE + 268) }, + { "tee", (__SCMP_NR_BASE + 342) }, + { "tgkill", (__SCMP_NR_BASE + 268) }, { "time", __PNR_time }, - { "timer_create", (__NR_SYSCALL_BASE + 257) }, - { "timer_delete", (__NR_SYSCALL_BASE + 261) }, - { "timer_getoverrun", (__NR_SYSCALL_BASE + 260) }, - { "timer_gettime", (__NR_SYSCALL_BASE + 259) }, - { "timer_settime", (__NR_SYSCALL_BASE + 258) }, + { "timer_create", (__SCMP_NR_BASE + 257) }, + { "timer_delete", (__SCMP_NR_BASE + 261) }, + { "timer_getoverrun", (__SCMP_NR_BASE + 260) }, + { "timer_gettime", (__SCMP_NR_BASE + 259) }, + { "timer_settime", (__SCMP_NR_BASE + 258) }, { "timerfd", __PNR_timerfd }, - { "timerfd_create", (__NR_SYSCALL_BASE + 350) }, - { "timerfd_gettime", (__NR_SYSCALL_BASE + 354) }, - { "timerfd_settime", (__NR_SYSCALL_BASE + 353) }, - { "times", (__NR_SYSCALL_BASE + 43) }, - { "tkill", (__NR_SYSCALL_BASE + 238) }, - { "truncate", (__NR_SYSCALL_BASE + 92) }, - { "truncate64", (__NR_SYSCALL_BASE + 193) }, + { "timerfd_create", (__SCMP_NR_BASE + 350) }, + { "timerfd_gettime", (__SCMP_NR_BASE + 354) }, + { "timerfd_settime", (__SCMP_NR_BASE + 353) }, + { "times", (__SCMP_NR_BASE + 43) }, + { "tkill", (__SCMP_NR_BASE + 238) }, + { "truncate", (__SCMP_NR_BASE + 92) }, + { "truncate64", (__SCMP_NR_BASE + 193) }, { "tuxcall", __PNR_tuxcall }, - { "ugetrlimit", (__NR_SYSCALL_BASE + 191) }, + { "ugetrlimit", (__SCMP_NR_BASE + 191) }, { "ulimit", __PNR_ulimit }, - { "umask", (__NR_SYSCALL_BASE + 60) }, + { "umask", (__SCMP_NR_BASE + 60) }, { "umount", __PNR_umount }, - { "umount2", (__NR_SYSCALL_BASE + 52) }, - { "uname", (__NR_SYSCALL_BASE + 122) }, - { "unlink", (__NR_SYSCALL_BASE + 10) }, - { "unlinkat", (__NR_SYSCALL_BASE + 328) }, - { "unshare", (__NR_SYSCALL_BASE + 337) }, - { "uselib", (__NR_SYSCALL_BASE + 86) }, - { "usr26", (__NR_SYSCALL_BASE + (__ARM_NR_BASE + 3)) }, - { "usr32", (__NR_SYSCALL_BASE + (__ARM_NR_BASE + 4)) }, - { "ustat", (__NR_SYSCALL_BASE + 62) }, + { "umount2", (__SCMP_NR_BASE + 52) }, + { "uname", (__SCMP_NR_BASE + 122) }, + { "unlink", (__SCMP_NR_BASE + 10) }, + { "unlinkat", (__SCMP_NR_BASE + 328) }, + { "unshare", (__SCMP_NR_BASE + 337) }, + { "uselib", (__SCMP_NR_BASE + 86) }, + { "usr26", (__SCMP_NR_BASE + (__SCMP_ARM_NR_BASE + 3)) }, + { "usr32", (__SCMP_NR_BASE + (__SCMP_ARM_NR_BASE + 4)) }, + { "ustat", (__SCMP_NR_BASE + 62) }, { "utime", __PNR_utime }, - { "utimensat", (__NR_SYSCALL_BASE + 348) }, - { "utimes", (__NR_SYSCALL_BASE + 269) }, - { "vfork", (__NR_SYSCALL_BASE + 190) }, - { "vhangup", (__NR_SYSCALL_BASE + 111) }, + { "utimensat", (__SCMP_NR_BASE + 348) }, + { "utimes", (__SCMP_NR_BASE + 269) }, + { "vfork", (__SCMP_NR_BASE + 190) }, + { "vhangup", (__SCMP_NR_BASE + 111) }, { "vm86", __PNR_vm86 }, { "vm86old", __PNR_vm86old }, - { "vmsplice", (__NR_SYSCALL_BASE + 343) }, - { "vserver", (__NR_SYSCALL_BASE + 313) }, - { "wait4", (__NR_SYSCALL_BASE + 114) }, - { "waitid", (__NR_SYSCALL_BASE + 280) }, + { "vmsplice", (__SCMP_NR_BASE + 343) }, + { "vserver", (__SCMP_NR_BASE + 313) }, + { "wait4", (__SCMP_NR_BASE + 114) }, + { "waitid", (__SCMP_NR_BASE + 280) }, { "waitpid", __PNR_waitpid }, - { "write", (__NR_SYSCALL_BASE + 4) }, - { "writev", (__NR_SYSCALL_BASE + 146) }, + { "write", (__SCMP_NR_BASE + 4) }, + { "writev", (__SCMP_NR_BASE + 146) }, { NULL, __NR_SCMP_ERROR }, }; diff --git a/src/arch-mips-syscalls.c b/src/arch-mips-syscalls.c index ae5ebf7..c6d96d2 100644 --- a/src/arch-mips-syscalls.c +++ b/src/arch-mips-syscalls.c @@ -28,427 +28,427 @@ #include "arch-mips.h" /* O32 ABI */ -#define __NR_SYSCALL_BASE 4000 +#define __SCMP_NR_BASE 4000 /* NOTE: based on Linux 4.2-rc5 */ const struct arch_syscall_def mips_syscall_table[] = { \ - { "_llseek", (__NR_SYSCALL_BASE + 140) }, - { "_newselect", (__NR_SYSCALL_BASE + 142) }, - { "_sysctl", (__NR_SYSCALL_BASE + 153) }, - { "accept", (__NR_SYSCALL_BASE + 168) }, - { "accept4", (__NR_SYSCALL_BASE + 334) }, - { "access", (__NR_SYSCALL_BASE + 33) }, - { "acct", (__NR_SYSCALL_BASE + 51) }, - { "add_key", (__NR_SYSCALL_BASE + 280) }, - { "adjtimex", (__NR_SYSCALL_BASE + 124) }, - { "afs_syscall", __NR_SYSCALL_BASE + 137 }, - { "alarm", (__NR_SYSCALL_BASE + 27) }, + { "_llseek", (__SCMP_NR_BASE + 140) }, + { "_newselect", (__SCMP_NR_BASE + 142) }, + { "_sysctl", (__SCMP_NR_BASE + 153) }, + { "accept", (__SCMP_NR_BASE + 168) }, + { "accept4", (__SCMP_NR_BASE + 334) }, + { "access", (__SCMP_NR_BASE + 33) }, + { "acct", (__SCMP_NR_BASE + 51) }, + { "add_key", (__SCMP_NR_BASE + 280) }, + { "adjtimex", (__SCMP_NR_BASE + 124) }, + { "afs_syscall", __SCMP_NR_BASE + 137 }, + { "alarm", (__SCMP_NR_BASE + 27) }, { "arm_fadvise64_64", __PNR_arm_fadvise64_64 }, { "arm_sync_file_range", __PNR_arm_sync_file_range }, { "arch_prctl", __PNR_arch_prctl }, - { "bdflush", (__NR_SYSCALL_BASE + 134) }, - { "bind", (__NR_SYSCALL_BASE + 169) }, - { "bpf", (__NR_SYSCALL_BASE + 355) }, - { "break", __NR_SYSCALL_BASE + 17 }, + { "bdflush", (__SCMP_NR_BASE + 134) }, + { "bind", (__SCMP_NR_BASE + 169) }, + { "bpf", (__SCMP_NR_BASE + 355) }, + { "break", __SCMP_NR_BASE + 17 }, { "breakpoint", __PNR_breakpoint }, - { "brk", (__NR_SYSCALL_BASE + 45) }, - { "cachectl", (__NR_SYSCALL_BASE + 148) }, - { "cacheflush", (__NR_SYSCALL_BASE + 147) }, - { "capget", (__NR_SYSCALL_BASE + 204) }, - { "capset", (__NR_SYSCALL_BASE + 205) }, - { "chdir", (__NR_SYSCALL_BASE + 12) }, - { "chmod", (__NR_SYSCALL_BASE + 15) }, - { "chown", (__NR_SYSCALL_BASE + 202) }, + { "brk", (__SCMP_NR_BASE + 45) }, + { "cachectl", (__SCMP_NR_BASE + 148) }, + { "cacheflush", (__SCMP_NR_BASE + 147) }, + { "capget", (__SCMP_NR_BASE + 204) }, + { "capset", (__SCMP_NR_BASE + 205) }, + { "chdir", (__SCMP_NR_BASE + 12) }, + { "chmod", (__SCMP_NR_BASE + 15) }, + { "chown", (__SCMP_NR_BASE + 202) }, { "chown32", (__PNR_chown32) }, - { "chroot", (__NR_SYSCALL_BASE + 61) }, - { "clock_adjtime", (__NR_SYSCALL_BASE + 341) }, - { "clock_getres", (__NR_SYSCALL_BASE + 264) }, - { "clock_gettime", (__NR_SYSCALL_BASE + 263) }, - { "clock_nanosleep", (__NR_SYSCALL_BASE + 265) }, - { "clock_settime", (__NR_SYSCALL_BASE + 262) }, - { "clone", (__NR_SYSCALL_BASE + 120) }, - { "close", (__NR_SYSCALL_BASE + 6) }, - { "connect", (__NR_SYSCALL_BASE + 170) }, - { "creat", (__NR_SYSCALL_BASE + 8) }, - { "create_module", __NR_SYSCALL_BASE + 127 }, - { "delete_module", (__NR_SYSCALL_BASE + 129) }, - { "dup", (__NR_SYSCALL_BASE + 41) }, - { "dup2", (__NR_SYSCALL_BASE + 63) }, - { "dup3", (__NR_SYSCALL_BASE + 327) }, - { "epoll_create", (__NR_SYSCALL_BASE + 248) }, - { "epoll_create1", (__NR_SYSCALL_BASE + 326) }, - { "epoll_ctl", (__NR_SYSCALL_BASE + 249) }, + { "chroot", (__SCMP_NR_BASE + 61) }, + { "clock_adjtime", (__SCMP_NR_BASE + 341) }, + { "clock_getres", (__SCMP_NR_BASE + 264) }, + { "clock_gettime", (__SCMP_NR_BASE + 263) }, + { "clock_nanosleep", (__SCMP_NR_BASE + 265) }, + { "clock_settime", (__SCMP_NR_BASE + 262) }, + { "clone", (__SCMP_NR_BASE + 120) }, + { "close", (__SCMP_NR_BASE + 6) }, + { "connect", (__SCMP_NR_BASE + 170) }, + { "creat", (__SCMP_NR_BASE + 8) }, + { "create_module", __SCMP_NR_BASE + 127 }, + { "delete_module", (__SCMP_NR_BASE + 129) }, + { "dup", (__SCMP_NR_BASE + 41) }, + { "dup2", (__SCMP_NR_BASE + 63) }, + { "dup3", (__SCMP_NR_BASE + 327) }, + { "epoll_create", (__SCMP_NR_BASE + 248) }, + { "epoll_create1", (__SCMP_NR_BASE + 326) }, + { "epoll_ctl", (__SCMP_NR_BASE + 249) }, { "epoll_ctl_old", __PNR_epoll_ctl_old }, - { "epoll_pwait", (__NR_SYSCALL_BASE + 313) }, - { "epoll_wait", (__NR_SYSCALL_BASE + 250) }, + { "epoll_pwait", (__SCMP_NR_BASE + 313) }, + { "epoll_wait", (__SCMP_NR_BASE + 250) }, { "epoll_wait_old", __PNR_epoll_wait_old }, - { "eventfd", (__NR_SYSCALL_BASE + 319) }, - { "eventfd2", (__NR_SYSCALL_BASE + 325) }, - { "execve", (__NR_SYSCALL_BASE + 11) }, - { "execveat", (__NR_SYSCALL_BASE + 356) }, - { "exit", (__NR_SYSCALL_BASE + 1) }, - { "exit_group", (__NR_SYSCALL_BASE + 246) }, - { "faccessat", (__NR_SYSCALL_BASE + 300) }, - { "fadvise64", __NR_SYSCALL_BASE + 254 }, + { "eventfd", (__SCMP_NR_BASE + 319) }, + { "eventfd2", (__SCMP_NR_BASE + 325) }, + { "execve", (__SCMP_NR_BASE + 11) }, + { "execveat", (__SCMP_NR_BASE + 356) }, + { "exit", (__SCMP_NR_BASE + 1) }, + { "exit_group", (__SCMP_NR_BASE + 246) }, + { "faccessat", (__SCMP_NR_BASE + 300) }, + { "fadvise64", __SCMP_NR_BASE + 254 }, { "fadvise64_64", __PNR_fadvise64_64 }, - { "fallocate", (__NR_SYSCALL_BASE + 320) }, - { "fanotify_init", (__NR_SYSCALL_BASE + 336) }, - { "fanotify_mark", (__NR_SYSCALL_BASE + 337) }, - { "fchdir", (__NR_SYSCALL_BASE + 133) }, - { "fchmod", (__NR_SYSCALL_BASE + 94) }, - { "fchmodat", (__NR_SYSCALL_BASE + 299) }, - { "fchown", (__NR_SYSCALL_BASE + 95) }, + { "fallocate", (__SCMP_NR_BASE + 320) }, + { "fanotify_init", (__SCMP_NR_BASE + 336) }, + { "fanotify_mark", (__SCMP_NR_BASE + 337) }, + { "fchdir", (__SCMP_NR_BASE + 133) }, + { "fchmod", (__SCMP_NR_BASE + 94) }, + { "fchmodat", (__SCMP_NR_BASE + 299) }, + { "fchown", (__SCMP_NR_BASE + 95) }, { "fchown32", (__PNR_fchown32) }, - { "fchownat", (__NR_SYSCALL_BASE + 291) }, - { "fcntl", (__NR_SYSCALL_BASE + 55) }, - { "fcntl64", (__NR_SYSCALL_BASE + 220) }, - { "fdatasync", (__NR_SYSCALL_BASE + 152) }, - { "fgetxattr", (__NR_SYSCALL_BASE + 229) }, - { "finit_module", (__NR_SYSCALL_BASE + 348) }, - { "flistxattr", (__NR_SYSCALL_BASE + 232) }, - { "flock", (__NR_SYSCALL_BASE + 143) }, - { "fork", (__NR_SYSCALL_BASE + 2) }, - { "fremovexattr", (__NR_SYSCALL_BASE + 235) }, - { "fsetxattr", (__NR_SYSCALL_BASE + 226) }, - { "fstat", (__NR_SYSCALL_BASE + 108) }, - { "fstat64", (__NR_SYSCALL_BASE + 215) }, - { "fstatat64", (__NR_SYSCALL_BASE + 293) }, - { "fstatfs", (__NR_SYSCALL_BASE + 100) }, - { "fstatfs64", (__NR_SYSCALL_BASE + 256) }, - { "fsync", (__NR_SYSCALL_BASE + 118) }, - { "ftime", (__NR_SYSCALL_BASE + 35) }, - { "ftruncate", (__NR_SYSCALL_BASE + 93) }, - { "ftruncate64", (__NR_SYSCALL_BASE + 212) }, - { "futex", (__NR_SYSCALL_BASE + 238) }, - { "futimesat", (__NR_SYSCALL_BASE + 292) }, - { "get_kernel_syms", (__NR_SYSCALL_BASE + 130) }, - { "get_mempolicy", (__NR_SYSCALL_BASE + 269) }, - { "get_robust_list", (__NR_SYSCALL_BASE + 310) }, + { "fchownat", (__SCMP_NR_BASE + 291) }, + { "fcntl", (__SCMP_NR_BASE + 55) }, + { "fcntl64", (__SCMP_NR_BASE + 220) }, + { "fdatasync", (__SCMP_NR_BASE + 152) }, + { "fgetxattr", (__SCMP_NR_BASE + 229) }, + { "finit_module", (__SCMP_NR_BASE + 348) }, + { "flistxattr", (__SCMP_NR_BASE + 232) }, + { "flock", (__SCMP_NR_BASE + 143) }, + { "fork", (__SCMP_NR_BASE + 2) }, + { "fremovexattr", (__SCMP_NR_BASE + 235) }, + { "fsetxattr", (__SCMP_NR_BASE + 226) }, + { "fstat", (__SCMP_NR_BASE + 108) }, + { "fstat64", (__SCMP_NR_BASE + 215) }, + { "fstatat64", (__SCMP_NR_BASE + 293) }, + { "fstatfs", (__SCMP_NR_BASE + 100) }, + { "fstatfs64", (__SCMP_NR_BASE + 256) }, + { "fsync", (__SCMP_NR_BASE + 118) }, + { "ftime", (__SCMP_NR_BASE + 35) }, + { "ftruncate", (__SCMP_NR_BASE + 93) }, + { "ftruncate64", (__SCMP_NR_BASE + 212) }, + { "futex", (__SCMP_NR_BASE + 238) }, + { "futimesat", (__SCMP_NR_BASE + 292) }, + { "get_kernel_syms", (__SCMP_NR_BASE + 130) }, + { "get_mempolicy", (__SCMP_NR_BASE + 269) }, + { "get_robust_list", (__SCMP_NR_BASE + 310) }, { "get_thread_area", __PNR_get_thread_area }, - { "getcpu", (__NR_SYSCALL_BASE + 312) }, - { "getcwd", (__NR_SYSCALL_BASE + 203) }, - { "getdents", (__NR_SYSCALL_BASE + 141) }, - { "getdents64", (__NR_SYSCALL_BASE + 219) }, - { "getegid", (__NR_SYSCALL_BASE + 50) }, + { "getcpu", (__SCMP_NR_BASE + 312) }, + { "getcwd", (__SCMP_NR_BASE + 203) }, + { "getdents", (__SCMP_NR_BASE + 141) }, + { "getdents64", (__SCMP_NR_BASE + 219) }, + { "getegid", (__SCMP_NR_BASE + 50) }, { "getegid32", __PNR_getegid32 }, - { "geteuid", (__NR_SYSCALL_BASE + 49) }, + { "geteuid", (__SCMP_NR_BASE + 49) }, { "geteuid32", __PNR_geteuid32 }, - { "getgid", (__NR_SYSCALL_BASE + 47) }, + { "getgid", (__SCMP_NR_BASE + 47) }, { "getgid32", __PNR_getgid32 }, - { "getgroups", (__NR_SYSCALL_BASE + 80) }, + { "getgroups", (__SCMP_NR_BASE + 80) }, { "getgroups32", __PNR_getgroups32 }, - { "getitimer", (__NR_SYSCALL_BASE + 105) }, - { "getpeername", (__NR_SYSCALL_BASE + 171) }, - { "getpgid", (__NR_SYSCALL_BASE + 132) }, - { "getpgrp", (__NR_SYSCALL_BASE + 65) }, - { "getpid", (__NR_SYSCALL_BASE + 20) }, - { "getpmsg", (__NR_SYSCALL_BASE + 208) }, - { "getppid", (__NR_SYSCALL_BASE + 64) }, - { "getpriority", (__NR_SYSCALL_BASE + 96) }, - { "getrandom", (__NR_SYSCALL_BASE + 353) }, - { "getresgid", (__NR_SYSCALL_BASE + 191) }, + { "getitimer", (__SCMP_NR_BASE + 105) }, + { "getpeername", (__SCMP_NR_BASE + 171) }, + { "getpgid", (__SCMP_NR_BASE + 132) }, + { "getpgrp", (__SCMP_NR_BASE + 65) }, + { "getpid", (__SCMP_NR_BASE + 20) }, + { "getpmsg", (__SCMP_NR_BASE + 208) }, + { "getppid", (__SCMP_NR_BASE + 64) }, + { "getpriority", (__SCMP_NR_BASE + 96) }, + { "getrandom", (__SCMP_NR_BASE + 353) }, + { "getresgid", (__SCMP_NR_BASE + 191) }, { "getresgid32", __PNR_getresgid32 }, - { "getresuid", (__NR_SYSCALL_BASE + 186) }, + { "getresuid", (__SCMP_NR_BASE + 186) }, { "getresuid32", __PNR_getresuid32 }, - { "getrlimit", (__NR_SYSCALL_BASE + 76) }, - { "getrusage", (__NR_SYSCALL_BASE + 77) }, - { "getsid", (__NR_SYSCALL_BASE + 151) }, - { "getsockname", (__NR_SYSCALL_BASE + 172) }, - { "getsockopt", (__NR_SYSCALL_BASE + 173) }, - { "gettid", (__NR_SYSCALL_BASE + 222) }, - { "gettimeofday", (__NR_SYSCALL_BASE + 78) }, - { "getuid", (__NR_SYSCALL_BASE + 24) }, + { "getrlimit", (__SCMP_NR_BASE + 76) }, + { "getrusage", (__SCMP_NR_BASE + 77) }, + { "getsid", (__SCMP_NR_BASE + 151) }, + { "getsockname", (__SCMP_NR_BASE + 172) }, + { "getsockopt", (__SCMP_NR_BASE + 173) }, + { "gettid", (__SCMP_NR_BASE + 222) }, + { "gettimeofday", (__SCMP_NR_BASE + 78) }, + { "getuid", (__SCMP_NR_BASE + 24) }, { "getuid32", __PNR_getuid32 }, - { "getxattr", (__NR_SYSCALL_BASE + 227) }, - { "gtty", (__NR_SYSCALL_BASE + 32) }, - { "idle", (__NR_SYSCALL_BASE + 112) }, - { "init_module", (__NR_SYSCALL_BASE + 128) }, - { "inotify_add_watch", (__NR_SYSCALL_BASE + 285) }, - { "inotify_init", (__NR_SYSCALL_BASE + 284) }, - { "inotify_init1", (__NR_SYSCALL_BASE + 329) }, - { "inotify_rm_watch", (__NR_SYSCALL_BASE + 286) }, - { "io_cancel", (__NR_SYSCALL_BASE + 245) }, - { "io_destroy", (__NR_SYSCALL_BASE + 242) }, - { "io_getevents", (__NR_SYSCALL_BASE + 243) }, - { "io_setup", (__NR_SYSCALL_BASE + 241) }, - { "io_submit", (__NR_SYSCALL_BASE + 244) }, - { "ioctl", (__NR_SYSCALL_BASE + 54) }, - { "ioperm", (__NR_SYSCALL_BASE + 101) }, - { "iopl", (__NR_SYSCALL_BASE + 110) }, - { "ioprio_get", (__NR_SYSCALL_BASE + 315) }, - { "ioprio_set", (__NR_SYSCALL_BASE + 314) }, - { "ipc", (__NR_SYSCALL_BASE + 117) }, - { "kcmp", (__NR_SYSCALL_BASE + 347) }, + { "getxattr", (__SCMP_NR_BASE + 227) }, + { "gtty", (__SCMP_NR_BASE + 32) }, + { "idle", (__SCMP_NR_BASE + 112) }, + { "init_module", (__SCMP_NR_BASE + 128) }, + { "inotify_add_watch", (__SCMP_NR_BASE + 285) }, + { "inotify_init", (__SCMP_NR_BASE + 284) }, + { "inotify_init1", (__SCMP_NR_BASE + 329) }, + { "inotify_rm_watch", (__SCMP_NR_BASE + 286) }, + { "io_cancel", (__SCMP_NR_BASE + 245) }, + { "io_destroy", (__SCMP_NR_BASE + 242) }, + { "io_getevents", (__SCMP_NR_BASE + 243) }, + { "io_setup", (__SCMP_NR_BASE + 241) }, + { "io_submit", (__SCMP_NR_BASE + 244) }, + { "ioctl", (__SCMP_NR_BASE + 54) }, + { "ioperm", (__SCMP_NR_BASE + 101) }, + { "iopl", (__SCMP_NR_BASE + 110) }, + { "ioprio_get", (__SCMP_NR_BASE + 315) }, + { "ioprio_set", (__SCMP_NR_BASE + 314) }, + { "ipc", (__SCMP_NR_BASE + 117) }, + { "kcmp", (__SCMP_NR_BASE + 347) }, { "kexec_file_load", __PNR_kexec_file_load }, - { "kexec_load", (__NR_SYSCALL_BASE + 311) }, - { "keyctl", (__NR_SYSCALL_BASE + 282) }, - { "kill", (__NR_SYSCALL_BASE + 37) }, - { "lchown", (__NR_SYSCALL_BASE + 16) }, + { "kexec_load", (__SCMP_NR_BASE + 311) }, + { "keyctl", (__SCMP_NR_BASE + 282) }, + { "kill", (__SCMP_NR_BASE + 37) }, + { "lchown", (__SCMP_NR_BASE + 16) }, { "lchown32", __PNR_lchown32 }, - { "lgetxattr", (__NR_SYSCALL_BASE + 228) }, - { "link", (__NR_SYSCALL_BASE + 9) }, - { "linkat", (__NR_SYSCALL_BASE + 296) }, - { "listen", (__NR_SYSCALL_BASE + 174) }, - { "listxattr", (__NR_SYSCALL_BASE + 230) }, - { "llistxattr", (__NR_SYSCALL_BASE + 231) }, - { "lock", (__NR_SYSCALL_BASE + 53) }, - { "lookup_dcookie", (__NR_SYSCALL_BASE + 247) }, - { "lremovexattr", (__NR_SYSCALL_BASE + 234) }, - { "lseek", (__NR_SYSCALL_BASE + 19) }, - { "lsetxattr", (__NR_SYSCALL_BASE + 225) }, - { "lstat", (__NR_SYSCALL_BASE + 107) }, - { "lstat64", (__NR_SYSCALL_BASE + 214) }, - { "madvise", (__NR_SYSCALL_BASE + 218) }, - { "mbind", (__NR_SYSCALL_BASE + 268) }, - { "memfd_create", (__NR_SYSCALL_BASE + 354) }, - { "migrate_pages", (__NR_SYSCALL_BASE + 287) }, - { "mincore", (__NR_SYSCALL_BASE + 217) }, - { "mkdir", (__NR_SYSCALL_BASE + 39) }, - { "mkdirat", (__NR_SYSCALL_BASE + 289) }, - { "mknod", (__NR_SYSCALL_BASE + 14) }, - { "mknodat", (__NR_SYSCALL_BASE + 290) }, - { "mlock", (__NR_SYSCALL_BASE + 154) }, - { "mlockall", (__NR_SYSCALL_BASE + 156) }, - { "mmap", (__NR_SYSCALL_BASE + 90) }, - { "mmap2", (__NR_SYSCALL_BASE + 210) }, - { "modify_ldt", (__NR_SYSCALL_BASE + 123) }, - { "mount", (__NR_SYSCALL_BASE + 21) }, - { "move_pages", (__NR_SYSCALL_BASE + 308) }, - { "mprotect", (__NR_SYSCALL_BASE + 125) }, - { "mpx", (__NR_SYSCALL_BASE + 56) }, - { "mq_getsetattr", (__NR_SYSCALL_BASE + 276) }, - { "mq_notify", (__NR_SYSCALL_BASE + 275) }, - { "mq_open", (__NR_SYSCALL_BASE + 271) }, - { "mq_timedreceive", (__NR_SYSCALL_BASE + 274) }, - { "mq_timedsend", (__NR_SYSCALL_BASE + 273) }, - { "mq_unlink", (__NR_SYSCALL_BASE + 272) }, - { "mremap", (__NR_SYSCALL_BASE + 167) }, + { "lgetxattr", (__SCMP_NR_BASE + 228) }, + { "link", (__SCMP_NR_BASE + 9) }, + { "linkat", (__SCMP_NR_BASE + 296) }, + { "listen", (__SCMP_NR_BASE + 174) }, + { "listxattr", (__SCMP_NR_BASE + 230) }, + { "llistxattr", (__SCMP_NR_BASE + 231) }, + { "lock", (__SCMP_NR_BASE + 53) }, + { "lookup_dcookie", (__SCMP_NR_BASE + 247) }, + { "lremovexattr", (__SCMP_NR_BASE + 234) }, + { "lseek", (__SCMP_NR_BASE + 19) }, + { "lsetxattr", (__SCMP_NR_BASE + 225) }, + { "lstat", (__SCMP_NR_BASE + 107) }, + { "lstat64", (__SCMP_NR_BASE + 214) }, + { "madvise", (__SCMP_NR_BASE + 218) }, + { "mbind", (__SCMP_NR_BASE + 268) }, + { "memfd_create", (__SCMP_NR_BASE + 354) }, + { "migrate_pages", (__SCMP_NR_BASE + 287) }, + { "mincore", (__SCMP_NR_BASE + 217) }, + { "mkdir", (__SCMP_NR_BASE + 39) }, + { "mkdirat", (__SCMP_NR_BASE + 289) }, + { "mknod", (__SCMP_NR_BASE + 14) }, + { "mknodat", (__SCMP_NR_BASE + 290) }, + { "mlock", (__SCMP_NR_BASE + 154) }, + { "mlockall", (__SCMP_NR_BASE + 156) }, + { "mmap", (__SCMP_NR_BASE + 90) }, + { "mmap2", (__SCMP_NR_BASE + 210) }, + { "modify_ldt", (__SCMP_NR_BASE + 123) }, + { "mount", (__SCMP_NR_BASE + 21) }, + { "move_pages", (__SCMP_NR_BASE + 308) }, + { "mprotect", (__SCMP_NR_BASE + 125) }, + { "mpx", (__SCMP_NR_BASE + 56) }, + { "mq_getsetattr", (__SCMP_NR_BASE + 276) }, + { "mq_notify", (__SCMP_NR_BASE + 275) }, + { "mq_open", (__SCMP_NR_BASE + 271) }, + { "mq_timedreceive", (__SCMP_NR_BASE + 274) }, + { "mq_timedsend", (__SCMP_NR_BASE + 273) }, + { "mq_unlink", (__SCMP_NR_BASE + 272) }, + { "mremap", (__SCMP_NR_BASE + 167) }, { "msgctl", __PNR_msgctl }, { "msgget", __PNR_msgget }, { "msgrcv", __PNR_msgrcv }, { "msgsnd", __PNR_msgsnd }, - { "msync", (__NR_SYSCALL_BASE + 144) }, + { "msync", (__SCMP_NR_BASE + 144) }, { "multiplexer", __PNR_multiplexer }, - { "munlock", (__NR_SYSCALL_BASE + 155) }, - { "munlockall", (__NR_SYSCALL_BASE + 157) }, - { "munmap", (__NR_SYSCALL_BASE + 91) }, - { "name_to_handle_at", (__NR_SYSCALL_BASE + 339) }, - { "nanosleep", (__NR_SYSCALL_BASE + 166) }, + { "munlock", (__SCMP_NR_BASE + 155) }, + { "munlockall", (__SCMP_NR_BASE + 157) }, + { "munmap", (__SCMP_NR_BASE + 91) }, + { "name_to_handle_at", (__SCMP_NR_BASE + 339) }, + { "nanosleep", (__SCMP_NR_BASE + 166) }, { "newfstatat", __PNR_newfstatat }, - { "nfsservctl", (__NR_SYSCALL_BASE + 189) }, - { "nice", (__NR_SYSCALL_BASE + 34) }, + { "nfsservctl", (__SCMP_NR_BASE + 189) }, + { "nice", (__SCMP_NR_BASE + 34) }, { "oldfstat", __PNR_oldfstat }, { "oldlstat", __PNR_oldlstat }, { "oldolduname", __PNR_oldolduname }, { "oldstat", __PNR_oldstat }, { "olduname", __PNR_olduname }, { "oldwait4", __PNR_oldwait4 }, - { "open", (__NR_SYSCALL_BASE + 5) }, - { "open_by_handle_at", (__NR_SYSCALL_BASE + 340) }, - { "openat", (__NR_SYSCALL_BASE + 288) }, - { "pause", (__NR_SYSCALL_BASE + 29) }, + { "open", (__SCMP_NR_BASE + 5) }, + { "open_by_handle_at", (__SCMP_NR_BASE + 340) }, + { "openat", (__SCMP_NR_BASE + 288) }, + { "pause", (__SCMP_NR_BASE + 29) }, { "pciconfig_iobase", __PNR_pciconfig_iobase }, { "pciconfig_read", __PNR_pciconfig_read }, { "pciconfig_write", __PNR_pciconfig_write }, - { "perf_event_open", (__NR_SYSCALL_BASE + 333) }, - { "personality", (__NR_SYSCALL_BASE + 136) }, - { "pipe", (__NR_SYSCALL_BASE + 42) }, - { "pipe2", (__NR_SYSCALL_BASE + 328) }, - { "pivot_root", (__NR_SYSCALL_BASE + 216) }, - { "poll", (__NR_SYSCALL_BASE + 188) }, - { "ppoll", (__NR_SYSCALL_BASE + 302) }, - { "prctl", (__NR_SYSCALL_BASE + 192) }, - { "pread64", (__NR_SYSCALL_BASE + 200) }, - { "preadv", (__NR_SYSCALL_BASE + 330) }, - { "prlimit64", (__NR_SYSCALL_BASE + 338) }, - { "process_vm_readv", (__NR_SYSCALL_BASE + 345) }, - { "process_vm_writev", (__NR_SYSCALL_BASE + 346) }, - { "prof", (__NR_SYSCALL_BASE + 44) }, - { "profil", (__NR_SYSCALL_BASE + 98) }, - { "pselect6", (__NR_SYSCALL_BASE + 301) }, - { "ptrace", (__NR_SYSCALL_BASE + 26) }, - { "putpmsg", (__NR_SYSCALL_BASE + 209) }, - { "pwrite64", (__NR_SYSCALL_BASE + 201) }, - { "pwritev", (__NR_SYSCALL_BASE + 331) }, - { "query_module", (__NR_SYSCALL_BASE + 187) }, - { "quotactl", (__NR_SYSCALL_BASE + 131) }, - { "read", (__NR_SYSCALL_BASE + 3) }, - { "readahead", (__NR_SYSCALL_BASE + 223) }, - { "readdir", (__NR_SYSCALL_BASE + 89) }, - { "readlink", (__NR_SYSCALL_BASE + 85) }, - { "readlinkat", (__NR_SYSCALL_BASE + 298) }, - { "readv", (__NR_SYSCALL_BASE + 145) }, - { "reboot", (__NR_SYSCALL_BASE + 88) }, - { "recv", (__NR_SYSCALL_BASE + 175) }, - { "recvfrom", (__NR_SYSCALL_BASE + 176) }, - { "recvmmsg", (__NR_SYSCALL_BASE + 335) }, - { "recvmsg", (__NR_SYSCALL_BASE + 177) }, - { "remap_file_pages", (__NR_SYSCALL_BASE + 251) }, - { "removexattr", (__NR_SYSCALL_BASE + 233) }, - { "rename", (__NR_SYSCALL_BASE + 38) }, - { "renameat", (__NR_SYSCALL_BASE + 295) }, - { "renameat2", (__NR_SYSCALL_BASE + 351) }, - { "request_key", (__NR_SYSCALL_BASE + 281) }, - { "restart_syscall", (__NR_SYSCALL_BASE + 253) }, - { "rmdir", (__NR_SYSCALL_BASE + 40) }, - { "rt_sigaction", (__NR_SYSCALL_BASE + 194) }, - { "rt_sigpending", (__NR_SYSCALL_BASE + 196) }, - { "rt_sigprocmask", (__NR_SYSCALL_BASE + 195) }, - { "rt_sigqueueinfo", (__NR_SYSCALL_BASE + 198) }, - { "rt_sigreturn", (__NR_SYSCALL_BASE + 193) }, - { "rt_sigsuspend", (__NR_SYSCALL_BASE + 199) }, - { "rt_sigtimedwait", (__NR_SYSCALL_BASE + 197) }, - { "rt_tgsigqueueinfo", (__NR_SYSCALL_BASE + 332) }, + { "perf_event_open", (__SCMP_NR_BASE + 333) }, + { "personality", (__SCMP_NR_BASE + 136) }, + { "pipe", (__SCMP_NR_BASE + 42) }, + { "pipe2", (__SCMP_NR_BASE + 328) }, + { "pivot_root", (__SCMP_NR_BASE + 216) }, + { "poll", (__SCMP_NR_BASE + 188) }, + { "ppoll", (__SCMP_NR_BASE + 302) }, + { "prctl", (__SCMP_NR_BASE + 192) }, + { "pread64", (__SCMP_NR_BASE + 200) }, + { "preadv", (__SCMP_NR_BASE + 330) }, + { "prlimit64", (__SCMP_NR_BASE + 338) }, + { "process_vm_readv", (__SCMP_NR_BASE + 345) }, + { "process_vm_writev", (__SCMP_NR_BASE + 346) }, + { "prof", (__SCMP_NR_BASE + 44) }, + { "profil", (__SCMP_NR_BASE + 98) }, + { "pselect6", (__SCMP_NR_BASE + 301) }, + { "ptrace", (__SCMP_NR_BASE + 26) }, + { "putpmsg", (__SCMP_NR_BASE + 209) }, + { "pwrite64", (__SCMP_NR_BASE + 201) }, + { "pwritev", (__SCMP_NR_BASE + 331) }, + { "query_module", (__SCMP_NR_BASE + 187) }, + { "quotactl", (__SCMP_NR_BASE + 131) }, + { "read", (__SCMP_NR_BASE + 3) }, + { "readahead", (__SCMP_NR_BASE + 223) }, + { "readdir", (__SCMP_NR_BASE + 89) }, + { "readlink", (__SCMP_NR_BASE + 85) }, + { "readlinkat", (__SCMP_NR_BASE + 298) }, + { "readv", (__SCMP_NR_BASE + 145) }, + { "reboot", (__SCMP_NR_BASE + 88) }, + { "recv", (__SCMP_NR_BASE + 175) }, + { "recvfrom", (__SCMP_NR_BASE + 176) }, + { "recvmmsg", (__SCMP_NR_BASE + 335) }, + { "recvmsg", (__SCMP_NR_BASE + 177) }, + { "remap_file_pages", (__SCMP_NR_BASE + 251) }, + { "removexattr", (__SCMP_NR_BASE + 233) }, + { "rename", (__SCMP_NR_BASE + 38) }, + { "renameat", (__SCMP_NR_BASE + 295) }, + { "renameat2", (__SCMP_NR_BASE + 351) }, + { "request_key", (__SCMP_NR_BASE + 281) }, + { "restart_syscall", (__SCMP_NR_BASE + 253) }, + { "rmdir", (__SCMP_NR_BASE + 40) }, + { "rt_sigaction", (__SCMP_NR_BASE + 194) }, + { "rt_sigpending", (__SCMP_NR_BASE + 196) }, + { "rt_sigprocmask", (__SCMP_NR_BASE + 195) }, + { "rt_sigqueueinfo", (__SCMP_NR_BASE + 198) }, + { "rt_sigreturn", (__SCMP_NR_BASE + 193) }, + { "rt_sigsuspend", (__SCMP_NR_BASE + 199) }, + { "rt_sigtimedwait", (__SCMP_NR_BASE + 197) }, + { "rt_tgsigqueueinfo", (__SCMP_NR_BASE + 332) }, { "rtas", __PNR_rtas }, { "s390_runtime_instr", __PNR_s390_runtime_instr }, - { "sched_get_priority_max", (__NR_SYSCALL_BASE + 163) }, - { "sched_get_priority_min", (__NR_SYSCALL_BASE + 164) }, - { "sched_getaffinity", (__NR_SYSCALL_BASE + 240) }, - { "sched_getattr", (__NR_SYSCALL_BASE + 350) }, - { "sched_getparam", (__NR_SYSCALL_BASE + 159) }, - { "sched_getscheduler", (__NR_SYSCALL_BASE + 161) }, - { "sched_rr_get_interval", (__NR_SYSCALL_BASE + 165) }, - { "sched_setaffinity", (__NR_SYSCALL_BASE + 239) }, - { "sched_setattr", (__NR_SYSCALL_BASE + 349) }, - { "sched_setparam", (__NR_SYSCALL_BASE + 158) }, - { "sched_setscheduler", (__NR_SYSCALL_BASE + 160) }, - { "sched_yield", (__NR_SYSCALL_BASE + 162) }, - { "seccomp", (__NR_SYSCALL_BASE + 352) }, + { "sched_get_priority_max", (__SCMP_NR_BASE + 163) }, + { "sched_get_priority_min", (__SCMP_NR_BASE + 164) }, + { "sched_getaffinity", (__SCMP_NR_BASE + 240) }, + { "sched_getattr", (__SCMP_NR_BASE + 350) }, + { "sched_getparam", (__SCMP_NR_BASE + 159) }, + { "sched_getscheduler", (__SCMP_NR_BASE + 161) }, + { "sched_rr_get_interval", (__SCMP_NR_BASE + 165) }, + { "sched_setaffinity", (__SCMP_NR_BASE + 239) }, + { "sched_setattr", (__SCMP_NR_BASE + 349) }, + { "sched_setparam", (__SCMP_NR_BASE + 158) }, + { "sched_setscheduler", (__SCMP_NR_BASE + 160) }, + { "sched_yield", (__SCMP_NR_BASE + 162) }, + { "seccomp", (__SCMP_NR_BASE + 352) }, { "security", __PNR_security }, { "select", __PNR_select }, { "semctl", __PNR_semctl }, { "semget", __PNR_semget }, { "semop", __PNR_semop }, { "semtimedop", __PNR_semtimedop }, - { "send", (__NR_SYSCALL_BASE + 178) }, - { "sendfile", (__NR_SYSCALL_BASE + 207) }, - { "sendfile64", (__NR_SYSCALL_BASE + 237) }, - { "sendmmsg", (__NR_SYSCALL_BASE + 343) }, - { "sendmsg", (__NR_SYSCALL_BASE + 179) }, - { "sendto", (__NR_SYSCALL_BASE + 180) }, - { "set_mempolicy", (__NR_SYSCALL_BASE + 270) }, - { "set_robust_list", (__NR_SYSCALL_BASE + 309) }, - { "set_thread_area", (__NR_SYSCALL_BASE + 283) }, - { "set_tid_address", (__NR_SYSCALL_BASE + 252) }, + { "send", (__SCMP_NR_BASE + 178) }, + { "sendfile", (__SCMP_NR_BASE + 207) }, + { "sendfile64", (__SCMP_NR_BASE + 237) }, + { "sendmmsg", (__SCMP_NR_BASE + 343) }, + { "sendmsg", (__SCMP_NR_BASE + 179) }, + { "sendto", (__SCMP_NR_BASE + 180) }, + { "set_mempolicy", (__SCMP_NR_BASE + 270) }, + { "set_robust_list", (__SCMP_NR_BASE + 309) }, + { "set_thread_area", (__SCMP_NR_BASE + 283) }, + { "set_tid_address", (__SCMP_NR_BASE + 252) }, { "set_tls", __PNR_set_tls }, - { "setdomainname", (__NR_SYSCALL_BASE + 121) }, - { "setfsgid", (__NR_SYSCALL_BASE + 139) }, + { "setdomainname", (__SCMP_NR_BASE + 121) }, + { "setfsgid", (__SCMP_NR_BASE + 139) }, { "setfsgid32", __PNR_setfsgid32 }, - { "setfsuid", (__NR_SYSCALL_BASE + 138) }, + { "setfsuid", (__SCMP_NR_BASE + 138) }, { "setfsuid32", __PNR_setfsuid32 }, - { "setgid", (__NR_SYSCALL_BASE + 46) }, + { "setgid", (__SCMP_NR_BASE + 46) }, { "setgid32", __PNR_setgid32 }, - { "setgroups", (__NR_SYSCALL_BASE + 81) }, + { "setgroups", (__SCMP_NR_BASE + 81) }, { "setgroups32", __PNR_setgroups32 }, - { "sethostname", (__NR_SYSCALL_BASE + 74) }, - { "setitimer", (__NR_SYSCALL_BASE + 104) }, - { "setns", (__NR_SYSCALL_BASE + 344) }, - { "setpgid", (__NR_SYSCALL_BASE + 57) }, - { "setpriority", (__NR_SYSCALL_BASE + 97) }, - { "setregid", (__NR_SYSCALL_BASE + 71) }, + { "sethostname", (__SCMP_NR_BASE + 74) }, + { "setitimer", (__SCMP_NR_BASE + 104) }, + { "setns", (__SCMP_NR_BASE + 344) }, + { "setpgid", (__SCMP_NR_BASE + 57) }, + { "setpriority", (__SCMP_NR_BASE + 97) }, + { "setregid", (__SCMP_NR_BASE + 71) }, { "setregid32", __PNR_setregid32 }, - { "setresgid", (__NR_SYSCALL_BASE + 190) }, + { "setresgid", (__SCMP_NR_BASE + 190) }, { "setresgid32", __PNR_setresgid32 }, - { "setresuid", (__NR_SYSCALL_BASE + 185) }, + { "setresuid", (__SCMP_NR_BASE + 185) }, { "setresuid32", __PNR_setresuid32 }, - { "setreuid", (__NR_SYSCALL_BASE + 70) }, + { "setreuid", (__SCMP_NR_BASE + 70) }, { "setreuid32", __PNR_setreuid32 }, - { "setrlimit", (__NR_SYSCALL_BASE + 75) }, - { "setsid", (__NR_SYSCALL_BASE + 66) }, - { "setsockopt", (__NR_SYSCALL_BASE + 181) }, - { "settimeofday", (__NR_SYSCALL_BASE + 79) }, - { "setuid", (__NR_SYSCALL_BASE + 23) }, + { "setrlimit", (__SCMP_NR_BASE + 75) }, + { "setsid", (__SCMP_NR_BASE + 66) }, + { "setsockopt", (__SCMP_NR_BASE + 181) }, + { "settimeofday", (__SCMP_NR_BASE + 79) }, + { "setuid", (__SCMP_NR_BASE + 23) }, { "setuid32", __PNR_setuid32 }, - { "setxattr", (__NR_SYSCALL_BASE + 224) }, - { "sgetmask", (__NR_SYSCALL_BASE + 68) }, + { "setxattr", (__SCMP_NR_BASE + 224) }, + { "sgetmask", (__SCMP_NR_BASE + 68) }, { "shmat", __PNR_shmat }, { "shmctl", __PNR_shmctl }, { "shmdt", __PNR_shmdt }, { "shmget", __PNR_shmget }, - { "shutdown", (__NR_SYSCALL_BASE + 182) }, - { "sigaction", (__NR_SYSCALL_BASE + 67) }, - { "sigaltstack", (__NR_SYSCALL_BASE + 206) }, - { "signal", (__NR_SYSCALL_BASE + 48) }, - { "signalfd", (__NR_SYSCALL_BASE + 317) }, - { "signalfd4", (__NR_SYSCALL_BASE + 324) }, - { "sigpending", (__NR_SYSCALL_BASE + 73) }, - { "sigprocmask", (__NR_SYSCALL_BASE + 126) }, - { "sigreturn", (__NR_SYSCALL_BASE + 119) }, - { "sigsuspend", (__NR_SYSCALL_BASE + 72) }, - { "socket", (__NR_SYSCALL_BASE + 183) }, - { "socketcall", (__NR_SYSCALL_BASE + 102) }, - { "socketpair", (__NR_SYSCALL_BASE + 184) }, - { "splice", (__NR_SYSCALL_BASE + 304) }, + { "shutdown", (__SCMP_NR_BASE + 182) }, + { "sigaction", (__SCMP_NR_BASE + 67) }, + { "sigaltstack", (__SCMP_NR_BASE + 206) }, + { "signal", (__SCMP_NR_BASE + 48) }, + { "signalfd", (__SCMP_NR_BASE + 317) }, + { "signalfd4", (__SCMP_NR_BASE + 324) }, + { "sigpending", (__SCMP_NR_BASE + 73) }, + { "sigprocmask", (__SCMP_NR_BASE + 126) }, + { "sigreturn", (__SCMP_NR_BASE + 119) }, + { "sigsuspend", (__SCMP_NR_BASE + 72) }, + { "socket", (__SCMP_NR_BASE + 183) }, + { "socketcall", (__SCMP_NR_BASE + 102) }, + { "socketpair", (__SCMP_NR_BASE + 184) }, + { "splice", (__SCMP_NR_BASE + 304) }, { "spu_create", __PNR_spu_create }, { "spu_run", __PNR_spu_run }, - { "ssetmask", (__NR_SYSCALL_BASE + 69) }, - { "stat", (__NR_SYSCALL_BASE + 106) }, - { "stat64", (__NR_SYSCALL_BASE + 213) }, - { "statfs", (__NR_SYSCALL_BASE + 99) }, - { "statfs64", (__NR_SYSCALL_BASE + 255) }, - { "stime", (__NR_SYSCALL_BASE + 25) }, - { "stty", (__NR_SYSCALL_BASE + 31) }, + { "ssetmask", (__SCMP_NR_BASE + 69) }, + { "stat", (__SCMP_NR_BASE + 106) }, + { "stat64", (__SCMP_NR_BASE + 213) }, + { "statfs", (__SCMP_NR_BASE + 99) }, + { "statfs64", (__SCMP_NR_BASE + 255) }, + { "stime", (__SCMP_NR_BASE + 25) }, + { "stty", (__SCMP_NR_BASE + 31) }, { "subpage_prot", __PNR_subpage_prot }, { "swapcontext", __PNR_swapcontext }, - { "swapoff", (__NR_SYSCALL_BASE + 115) }, - { "swapon", (__NR_SYSCALL_BASE + 87) }, + { "swapoff", (__SCMP_NR_BASE + 115) }, + { "swapon", (__SCMP_NR_BASE + 87) }, { "switch_endian", __PNR_switch_endian }, - { "symlink", (__NR_SYSCALL_BASE + 83) }, - { "symlinkat", (__NR_SYSCALL_BASE + 297) }, - { "sync", (__NR_SYSCALL_BASE + 36) }, - { "sync_file_range", (__NR_SYSCALL_BASE + 305) }, + { "symlink", (__SCMP_NR_BASE + 83) }, + { "symlinkat", (__SCMP_NR_BASE + 297) }, + { "sync", (__SCMP_NR_BASE + 36) }, + { "sync_file_range", (__SCMP_NR_BASE + 305) }, { "sync_file_range2", __PNR_sync_file_range2 }, - { "syncfs", (__NR_SYSCALL_BASE + 342) }, - { "syscall", (__NR_SYSCALL_BASE + 0) }, + { "syncfs", (__SCMP_NR_BASE + 342) }, + { "syscall", (__SCMP_NR_BASE + 0) }, { "sys_debug_setcontext", __PNR_sys_debug_setcontext }, - { "sysfs", (__NR_SYSCALL_BASE + 135) }, - { "sysinfo", (__NR_SYSCALL_BASE + 116) }, - { "syslog", (__NR_SYSCALL_BASE + 103) }, - { "sysmips", (__NR_SYSCALL_BASE + 149) }, - { "tee", (__NR_SYSCALL_BASE + 306) }, - { "tgkill", (__NR_SYSCALL_BASE + 266) }, - { "time", (__NR_SYSCALL_BASE + 13) }, - { "timer_create", (__NR_SYSCALL_BASE + 257) }, - { "timer_delete", (__NR_SYSCALL_BASE + 261) }, - { "timer_getoverrun", (__NR_SYSCALL_BASE + 260) }, - { "timer_gettime", (__NR_SYSCALL_BASE + 259) }, - { "timer_settime", (__NR_SYSCALL_BASE + 258) }, - { "timerfd", (__NR_SYSCALL_BASE + 318) }, - { "timerfd_create", (__NR_SYSCALL_BASE + 321) }, - { "timerfd_gettime", (__NR_SYSCALL_BASE + 322) }, - { "timerfd_settime", (__NR_SYSCALL_BASE + 323) }, - { "times", (__NR_SYSCALL_BASE + 43) }, - { "tkill", (__NR_SYSCALL_BASE + 236) }, - { "truncate", (__NR_SYSCALL_BASE + 92) }, - { "truncate64", (__NR_SYSCALL_BASE + 211) }, + { "sysfs", (__SCMP_NR_BASE + 135) }, + { "sysinfo", (__SCMP_NR_BASE + 116) }, + { "syslog", (__SCMP_NR_BASE + 103) }, + { "sysmips", (__SCMP_NR_BASE + 149) }, + { "tee", (__SCMP_NR_BASE + 306) }, + { "tgkill", (__SCMP_NR_BASE + 266) }, + { "time", (__SCMP_NR_BASE + 13) }, + { "timer_create", (__SCMP_NR_BASE + 257) }, + { "timer_delete", (__SCMP_NR_BASE + 261) }, + { "timer_getoverrun", (__SCMP_NR_BASE + 260) }, + { "timer_gettime", (__SCMP_NR_BASE + 259) }, + { "timer_settime", (__SCMP_NR_BASE + 258) }, + { "timerfd", (__SCMP_NR_BASE + 318) }, + { "timerfd_create", (__SCMP_NR_BASE + 321) }, + { "timerfd_gettime", (__SCMP_NR_BASE + 322) }, + { "timerfd_settime", (__SCMP_NR_BASE + 323) }, + { "times", (__SCMP_NR_BASE + 43) }, + { "tkill", (__SCMP_NR_BASE + 236) }, + { "truncate", (__SCMP_NR_BASE + 92) }, + { "truncate64", (__SCMP_NR_BASE + 211) }, { "tuxcall", __PNR_tuxcall }, { "ugetrlimit", __PNR_ugetrlimit }, - { "ulimit", (__NR_SYSCALL_BASE + 58) }, - { "umask", (__NR_SYSCALL_BASE + 60) }, - { "umount", (__NR_SYSCALL_BASE + 22) }, - { "umount2", (__NR_SYSCALL_BASE + 52) }, - { "uname", (__NR_SYSCALL_BASE + 122) }, - { "unlink", (__NR_SYSCALL_BASE + 10) }, - { "unlinkat", (__NR_SYSCALL_BASE + 294) }, - { "unshare", (__NR_SYSCALL_BASE + 303) }, - { "uselib", (__NR_SYSCALL_BASE + 86) }, + { "ulimit", (__SCMP_NR_BASE + 58) }, + { "umask", (__SCMP_NR_BASE + 60) }, + { "umount", (__SCMP_NR_BASE + 22) }, + { "umount2", (__SCMP_NR_BASE + 52) }, + { "uname", (__SCMP_NR_BASE + 122) }, + { "unlink", (__SCMP_NR_BASE + 10) }, + { "unlinkat", (__SCMP_NR_BASE + 294) }, + { "unshare", (__SCMP_NR_BASE + 303) }, + { "uselib", (__SCMP_NR_BASE + 86) }, { "usr26", __PNR_usr26 }, { "usr32", __PNR_usr32 }, - { "ustat", (__NR_SYSCALL_BASE + 62) }, - { "utime", (__NR_SYSCALL_BASE + 30) }, - { "utimensat", (__NR_SYSCALL_BASE + 316) }, - { "utimes", (__NR_SYSCALL_BASE + 267) }, + { "ustat", (__SCMP_NR_BASE + 62) }, + { "utime", (__SCMP_NR_BASE + 30) }, + { "utimensat", (__SCMP_NR_BASE + 316) }, + { "utimes", (__SCMP_NR_BASE + 267) }, { "vfork", __PNR_vfork }, - { "vhangup", (__NR_SYSCALL_BASE + 111) }, - { "vm86", (__NR_SYSCALL_BASE + 113) }, + { "vhangup", (__SCMP_NR_BASE + 111) }, + { "vm86", (__SCMP_NR_BASE + 113) }, { "vm86old", __PNR_vm86old }, - { "vmsplice", (__NR_SYSCALL_BASE + 307) }, - { "vserver", (__NR_SYSCALL_BASE + 277) }, - { "wait4", (__NR_SYSCALL_BASE + 114) }, - { "waitid", (__NR_SYSCALL_BASE + 278) }, - { "waitpid", (__NR_SYSCALL_BASE + 7) }, - { "write", (__NR_SYSCALL_BASE + 4) }, - { "writev", (__NR_SYSCALL_BASE + 146) }, + { "vmsplice", (__SCMP_NR_BASE + 307) }, + { "vserver", (__SCMP_NR_BASE + 277) }, + { "wait4", (__SCMP_NR_BASE + 114) }, + { "waitid", (__SCMP_NR_BASE + 278) }, + { "waitpid", (__SCMP_NR_BASE + 7) }, + { "write", (__SCMP_NR_BASE + 4) }, + { "writev", (__SCMP_NR_BASE + 146) }, { NULL, __NR_SCMP_ERROR }, }; diff --git a/src/arch-mips64-syscalls.c b/src/arch-mips64-syscalls.c index baffe20..bd292da 100644 --- a/src/arch-mips64-syscalls.c +++ b/src/arch-mips64-syscalls.c @@ -28,214 +28,214 @@ #include "arch-mips64.h" /* 64 ABI */ -#define __NR_SYSCALL_BASE 5000 +#define __SCMP_NR_BASE 5000 /* NOTE: based on Linux 4.2-rc5 */ const struct arch_syscall_def mips64_syscall_table[] = { \ { "_llseek", __PNR__llseek }, - { "_newselect", (__NR_SYSCALL_BASE + 22) }, - { "_sysctl", (__NR_SYSCALL_BASE + 152) }, - { "accept", (__NR_SYSCALL_BASE + 42) }, - { "accept4", (__NR_SYSCALL_BASE + 293) }, - { "access", (__NR_SYSCALL_BASE + 20) }, - { "acct", (__NR_SYSCALL_BASE + 158) }, - { "add_key", (__NR_SYSCALL_BASE + 239) }, - { "adjtimex", (__NR_SYSCALL_BASE + 154) }, - { "afs_syscall", (__NR_SYSCALL_BASE + 176) }, - { "alarm", (__NR_SYSCALL_BASE + 37) }, + { "_newselect", (__SCMP_NR_BASE + 22) }, + { "_sysctl", (__SCMP_NR_BASE + 152) }, + { "accept", (__SCMP_NR_BASE + 42) }, + { "accept4", (__SCMP_NR_BASE + 293) }, + { "access", (__SCMP_NR_BASE + 20) }, + { "acct", (__SCMP_NR_BASE + 158) }, + { "add_key", (__SCMP_NR_BASE + 239) }, + { "adjtimex", (__SCMP_NR_BASE + 154) }, + { "afs_syscall", (__SCMP_NR_BASE + 176) }, + { "alarm", (__SCMP_NR_BASE + 37) }, { "arm_fadvise64_64", __PNR_arm_fadvise64_64 }, { "arm_sync_file_range", __PNR_arm_sync_file_range }, { "arch_prctl", __PNR_arch_prctl }, { "bdflush", __PNR_bdflush }, - { "bind", (__NR_SYSCALL_BASE + 48) }, - { "bpf", (__NR_SYSCALL_BASE + 315) }, + { "bind", (__SCMP_NR_BASE + 48) }, + { "bpf", (__SCMP_NR_BASE + 315) }, { "break", __PNR_break }, { "breakpoint", __PNR_breakpoint }, - { "brk", (__NR_SYSCALL_BASE + 12) }, - { "cachectl", (__NR_SYSCALL_BASE + 198) }, - { "cacheflush", (__NR_SYSCALL_BASE + 197) }, - { "capget", (__NR_SYSCALL_BASE + 123) }, - { "capset", (__NR_SYSCALL_BASE + 124) }, - { "chdir", (__NR_SYSCALL_BASE + 78) }, - { "chmod", (__NR_SYSCALL_BASE + 88) }, - { "chown", (__NR_SYSCALL_BASE + 90) }, + { "brk", (__SCMP_NR_BASE + 12) }, + { "cachectl", (__SCMP_NR_BASE + 198) }, + { "cacheflush", (__SCMP_NR_BASE + 197) }, + { "capget", (__SCMP_NR_BASE + 123) }, + { "capset", (__SCMP_NR_BASE + 124) }, + { "chdir", (__SCMP_NR_BASE + 78) }, + { "chmod", (__SCMP_NR_BASE + 88) }, + { "chown", (__SCMP_NR_BASE + 90) }, { "chown32", __PNR_chown32 }, - { "chroot", (__NR_SYSCALL_BASE + 156) }, - { "clock_adjtime", (__NR_SYSCALL_BASE + 300) }, - { "clock_getres", (__NR_SYSCALL_BASE + 223) }, - { "clock_gettime", (__NR_SYSCALL_BASE + 222) }, - { "clock_nanosleep", (__NR_SYSCALL_BASE + 224) }, - { "clock_settime", (__NR_SYSCALL_BASE + 221) }, - { "clone", (__NR_SYSCALL_BASE + 55) }, - { "close", (__NR_SYSCALL_BASE + 3) }, - { "connect", (__NR_SYSCALL_BASE + 41) }, - { "creat", (__NR_SYSCALL_BASE + 83) }, - { "create_module", (__NR_SYSCALL_BASE + 167) }, - { "delete_module", (__NR_SYSCALL_BASE + 169) }, - { "dup", (__NR_SYSCALL_BASE + 31) }, - { "dup2", (__NR_SYSCALL_BASE + 32) }, - { "dup3", (__NR_SYSCALL_BASE + 286) }, - { "epoll_create", (__NR_SYSCALL_BASE + 207) }, - { "epoll_create1", (__NR_SYSCALL_BASE + 285) }, - { "epoll_ctl", (__NR_SYSCALL_BASE + 208) }, + { "chroot", (__SCMP_NR_BASE + 156) }, + { "clock_adjtime", (__SCMP_NR_BASE + 300) }, + { "clock_getres", (__SCMP_NR_BASE + 223) }, + { "clock_gettime", (__SCMP_NR_BASE + 222) }, + { "clock_nanosleep", (__SCMP_NR_BASE + 224) }, + { "clock_settime", (__SCMP_NR_BASE + 221) }, + { "clone", (__SCMP_NR_BASE + 55) }, + { "close", (__SCMP_NR_BASE + 3) }, + { "connect", (__SCMP_NR_BASE + 41) }, + { "creat", (__SCMP_NR_BASE + 83) }, + { "create_module", (__SCMP_NR_BASE + 167) }, + { "delete_module", (__SCMP_NR_BASE + 169) }, + { "dup", (__SCMP_NR_BASE + 31) }, + { "dup2", (__SCMP_NR_BASE + 32) }, + { "dup3", (__SCMP_NR_BASE + 286) }, + { "epoll_create", (__SCMP_NR_BASE + 207) }, + { "epoll_create1", (__SCMP_NR_BASE + 285) }, + { "epoll_ctl", (__SCMP_NR_BASE + 208) }, { "epoll_ctl_old", __PNR_epoll_ctl_old }, - { "epoll_pwait", (__NR_SYSCALL_BASE + 272) }, - { "epoll_wait", (__NR_SYSCALL_BASE + 209) }, + { "epoll_pwait", (__SCMP_NR_BASE + 272) }, + { "epoll_wait", (__SCMP_NR_BASE + 209) }, { "epoll_wait_old", __PNR_epoll_wait_old }, - { "eventfd", (__NR_SYSCALL_BASE + 278) }, - { "eventfd2", (__NR_SYSCALL_BASE + 284) }, - { "execve", (__NR_SYSCALL_BASE + 57) }, - { "execveat", (__NR_SYSCALL_BASE + 316) }, - { "exit", (__NR_SYSCALL_BASE + 58) }, - { "exit_group", (__NR_SYSCALL_BASE + 205) }, - { "faccessat", (__NR_SYSCALL_BASE + 259) }, - { "fadvise64", (__NR_SYSCALL_BASE + 215) }, + { "eventfd", (__SCMP_NR_BASE + 278) }, + { "eventfd2", (__SCMP_NR_BASE + 284) }, + { "execve", (__SCMP_NR_BASE + 57) }, + { "execveat", (__SCMP_NR_BASE + 316) }, + { "exit", (__SCMP_NR_BASE + 58) }, + { "exit_group", (__SCMP_NR_BASE + 205) }, + { "faccessat", (__SCMP_NR_BASE + 259) }, + { "fadvise64", (__SCMP_NR_BASE + 215) }, { "fadvise64_64", __PNR_fadvise64_64 }, - { "fallocate", (__NR_SYSCALL_BASE + 279) }, - { "fanotify_init", (__NR_SYSCALL_BASE + 295) }, - { "fanotify_mark", (__NR_SYSCALL_BASE + 296) }, - { "fchdir", (__NR_SYSCALL_BASE + 79) }, - { "fchmod", (__NR_SYSCALL_BASE + 89) }, - { "fchmodat", (__NR_SYSCALL_BASE + 258) }, - { "fchown", (__NR_SYSCALL_BASE + 91) }, + { "fallocate", (__SCMP_NR_BASE + 279) }, + { "fanotify_init", (__SCMP_NR_BASE + 295) }, + { "fanotify_mark", (__SCMP_NR_BASE + 296) }, + { "fchdir", (__SCMP_NR_BASE + 79) }, + { "fchmod", (__SCMP_NR_BASE + 89) }, + { "fchmodat", (__SCMP_NR_BASE + 258) }, + { "fchown", (__SCMP_NR_BASE + 91) }, { "fchown32", __PNR_fchown32 }, - { "fchownat", (__NR_SYSCALL_BASE + 250) }, - { "fcntl", (__NR_SYSCALL_BASE + 70) }, + { "fchownat", (__SCMP_NR_BASE + 250) }, + { "fcntl", (__SCMP_NR_BASE + 70) }, { "fcntl64", __PNR_fcntl64 }, - { "fdatasync", (__NR_SYSCALL_BASE + 73) }, - { "fgetxattr", (__NR_SYSCALL_BASE + 185) }, - { "finit_module", (__NR_SYSCALL_BASE + 307) }, - { "flistxattr", (__NR_SYSCALL_BASE + 188) }, - { "flock", (__NR_SYSCALL_BASE + 71) }, - { "fork", (__NR_SYSCALL_BASE + 56) }, - { "fremovexattr", (__NR_SYSCALL_BASE + 191) }, - { "fsetxattr", (__NR_SYSCALL_BASE + 182) }, - { "fstat", (__NR_SYSCALL_BASE + 5) }, + { "fdatasync", (__SCMP_NR_BASE + 73) }, + { "fgetxattr", (__SCMP_NR_BASE + 185) }, + { "finit_module", (__SCMP_NR_BASE + 307) }, + { "flistxattr", (__SCMP_NR_BASE + 188) }, + { "flock", (__SCMP_NR_BASE + 71) }, + { "fork", (__SCMP_NR_BASE + 56) }, + { "fremovexattr", (__SCMP_NR_BASE + 191) }, + { "fsetxattr", (__SCMP_NR_BASE + 182) }, + { "fstat", (__SCMP_NR_BASE + 5) }, { "fstat64", __PNR_fstat64 }, { "fstatat64", __PNR_fstat64 }, - { "fstatfs", (__NR_SYSCALL_BASE + 135) }, + { "fstatfs", (__SCMP_NR_BASE + 135) }, { "fstatfs64", __PNR_fstatfs64 }, - { "fsync", (__NR_SYSCALL_BASE + 72) }, + { "fsync", (__SCMP_NR_BASE + 72) }, { "ftime", __PNR_ftime }, - { "ftruncate", (__NR_SYSCALL_BASE + 75) }, + { "ftruncate", (__SCMP_NR_BASE + 75) }, { "ftruncate64", __PNR_ftruncate64 }, - { "futex", (__NR_SYSCALL_BASE + 194) }, - { "futimesat", (__NR_SYSCALL_BASE + 251) }, - { "get_kernel_syms", (__NR_SYSCALL_BASE + 170) }, - { "get_mempolicy", (__NR_SYSCALL_BASE + 228) }, - { "get_robust_list", (__NR_SYSCALL_BASE + 269) }, + { "futex", (__SCMP_NR_BASE + 194) }, + { "futimesat", (__SCMP_NR_BASE + 251) }, + { "get_kernel_syms", (__SCMP_NR_BASE + 170) }, + { "get_mempolicy", (__SCMP_NR_BASE + 228) }, + { "get_robust_list", (__SCMP_NR_BASE + 269) }, { "get_thread_area", __PNR_get_thread_area }, - { "getcpu", (__NR_SYSCALL_BASE + 271) }, - { "getcwd", (__NR_SYSCALL_BASE + 77) }, - { "getdents", (__NR_SYSCALL_BASE + 76) }, - { "getdents64", (__NR_SYSCALL_BASE + 308) }, - { "getegid", (__NR_SYSCALL_BASE + 106) }, + { "getcpu", (__SCMP_NR_BASE + 271) }, + { "getcwd", (__SCMP_NR_BASE + 77) }, + { "getdents", (__SCMP_NR_BASE + 76) }, + { "getdents64", (__SCMP_NR_BASE + 308) }, + { "getegid", (__SCMP_NR_BASE + 106) }, { "getegid32", __PNR_getegid32 }, - { "geteuid", (__NR_SYSCALL_BASE + 105) }, + { "geteuid", (__SCMP_NR_BASE + 105) }, { "geteuid32", __PNR_geteuid32 }, - { "getgid", (__NR_SYSCALL_BASE + 102) }, + { "getgid", (__SCMP_NR_BASE + 102) }, { "getgid32", __PNR_getgid32 }, - { "getgroups", (__NR_SYSCALL_BASE + 113) }, + { "getgroups", (__SCMP_NR_BASE + 113) }, { "getgroups32", __PNR_getgroups32 }, - { "getitimer", (__NR_SYSCALL_BASE + 35) }, - { "getpeername", (__NR_SYSCALL_BASE + 51) }, - { "getpgid", (__NR_SYSCALL_BASE + 119) }, - { "getpgrp", (__NR_SYSCALL_BASE + 109) }, - { "getpid", (__NR_SYSCALL_BASE + 38) }, - { "getpmsg", (__NR_SYSCALL_BASE + 174) }, - { "getppid", (__NR_SYSCALL_BASE + 108) }, - { "getpriority", (__NR_SYSCALL_BASE + 137) }, - { "getrandom", (__NR_SYSCALL_BASE + 313) }, - { "getresgid", (__NR_SYSCALL_BASE + 118) }, + { "getitimer", (__SCMP_NR_BASE + 35) }, + { "getpeername", (__SCMP_NR_BASE + 51) }, + { "getpgid", (__SCMP_NR_BASE + 119) }, + { "getpgrp", (__SCMP_NR_BASE + 109) }, + { "getpid", (__SCMP_NR_BASE + 38) }, + { "getpmsg", (__SCMP_NR_BASE + 174) }, + { "getppid", (__SCMP_NR_BASE + 108) }, + { "getpriority", (__SCMP_NR_BASE + 137) }, + { "getrandom", (__SCMP_NR_BASE + 313) }, + { "getresgid", (__SCMP_NR_BASE + 118) }, { "getresgid32", __PNR_getresgid32 }, - { "getresuid", (__NR_SYSCALL_BASE + 116) }, + { "getresuid", (__SCMP_NR_BASE + 116) }, { "getresuid32", __PNR_getresuid32 }, - { "getrlimit", (__NR_SYSCALL_BASE + 95) }, - { "getrusage", (__NR_SYSCALL_BASE + 96) }, - { "getsid", (__NR_SYSCALL_BASE + 122) }, - { "getsockname", (__NR_SYSCALL_BASE + 50) }, - { "getsockopt", (__NR_SYSCALL_BASE + 54) }, - { "gettid", (__NR_SYSCALL_BASE + 178) }, - { "gettimeofday", (__NR_SYSCALL_BASE + 94) }, - { "getuid", (__NR_SYSCALL_BASE + 100) }, + { "getrlimit", (__SCMP_NR_BASE + 95) }, + { "getrusage", (__SCMP_NR_BASE + 96) }, + { "getsid", (__SCMP_NR_BASE + 122) }, + { "getsockname", (__SCMP_NR_BASE + 50) }, + { "getsockopt", (__SCMP_NR_BASE + 54) }, + { "gettid", (__SCMP_NR_BASE + 178) }, + { "gettimeofday", (__SCMP_NR_BASE + 94) }, + { "getuid", (__SCMP_NR_BASE + 100) }, { "getuid32", __PNR_getuid32 }, - { "getxattr", (__NR_SYSCALL_BASE + 183) }, + { "getxattr", (__SCMP_NR_BASE + 183) }, { "gtty", __PNR_gtty }, { "idle", __PNR_idle }, - { "init_module", (__NR_SYSCALL_BASE + 168) }, - { "inotify_add_watch", (__NR_SYSCALL_BASE + 244) }, - { "inotify_init", (__NR_SYSCALL_BASE + 243) }, - { "inotify_init1", (__NR_SYSCALL_BASE + 288) }, - { "inotify_rm_watch", (__NR_SYSCALL_BASE + 245) }, - { "io_cancel", (__NR_SYSCALL_BASE + 204) }, - { "io_destroy", (__NR_SYSCALL_BASE + 201) }, - { "io_getevents", (__NR_SYSCALL_BASE + 202) }, - { "io_setup", (__NR_SYSCALL_BASE + 200) }, - { "io_submit", (__NR_SYSCALL_BASE + 203) }, - { "ioctl", (__NR_SYSCALL_BASE + 15) }, + { "init_module", (__SCMP_NR_BASE + 168) }, + { "inotify_add_watch", (__SCMP_NR_BASE + 244) }, + { "inotify_init", (__SCMP_NR_BASE + 243) }, + { "inotify_init1", (__SCMP_NR_BASE + 288) }, + { "inotify_rm_watch", (__SCMP_NR_BASE + 245) }, + { "io_cancel", (__SCMP_NR_BASE + 204) }, + { "io_destroy", (__SCMP_NR_BASE + 201) }, + { "io_getevents", (__SCMP_NR_BASE + 202) }, + { "io_setup", (__SCMP_NR_BASE + 200) }, + { "io_submit", (__SCMP_NR_BASE + 203) }, + { "ioctl", (__SCMP_NR_BASE + 15) }, { "ioperm", __PNR_ioperm }, { "iopl", __PNR_iopl }, - { "ioprio_get", (__NR_SYSCALL_BASE + 274) }, - { "ioprio_set", (__NR_SYSCALL_BASE + 273) }, + { "ioprio_get", (__SCMP_NR_BASE + 274) }, + { "ioprio_set", (__SCMP_NR_BASE + 273) }, { "ipc", __PNR_ipc }, - { "kcmp", (__NR_SYSCALL_BASE + 306) }, + { "kcmp", (__SCMP_NR_BASE + 306) }, { "kexec_file_load", __PNR_kexec_file_load }, - { "kexec_load", (__NR_SYSCALL_BASE + 270) }, - { "keyctl", (__NR_SYSCALL_BASE + 241) }, - { "kill", (__NR_SYSCALL_BASE + 60) }, - { "lchown", (__NR_SYSCALL_BASE + 92) }, + { "kexec_load", (__SCMP_NR_BASE + 270) }, + { "keyctl", (__SCMP_NR_BASE + 241) }, + { "kill", (__SCMP_NR_BASE + 60) }, + { "lchown", (__SCMP_NR_BASE + 92) }, { "lchown32", __PNR_lchown32 }, - { "lgetxattr", (__NR_SYSCALL_BASE + 184) }, - { "link", (__NR_SYSCALL_BASE + 84) }, - { "linkat", (__NR_SYSCALL_BASE + 255) }, - { "listen", (__NR_SYSCALL_BASE + 49) }, - { "listxattr", (__NR_SYSCALL_BASE + 186) }, - { "llistxattr", (__NR_SYSCALL_BASE + 187) }, + { "lgetxattr", (__SCMP_NR_BASE + 184) }, + { "link", (__SCMP_NR_BASE + 84) }, + { "linkat", (__SCMP_NR_BASE + 255) }, + { "listen", (__SCMP_NR_BASE + 49) }, + { "listxattr", (__SCMP_NR_BASE + 186) }, + { "llistxattr", (__SCMP_NR_BASE + 187) }, { "lock", __PNR_lock }, - { "lookup_dcookie", (__NR_SYSCALL_BASE + 206) }, - { "lremovexattr", (__NR_SYSCALL_BASE + 190) }, - { "lseek", (__NR_SYSCALL_BASE + 8) }, - { "lsetxattr", (__NR_SYSCALL_BASE + 181) }, - { "lstat", (__NR_SYSCALL_BASE + 6) }, + { "lookup_dcookie", (__SCMP_NR_BASE + 206) }, + { "lremovexattr", (__SCMP_NR_BASE + 190) }, + { "lseek", (__SCMP_NR_BASE + 8) }, + { "lsetxattr", (__SCMP_NR_BASE + 181) }, + { "lstat", (__SCMP_NR_BASE + 6) }, { "lstat64", __PNR_lstat64 }, - { "madvise", (__NR_SYSCALL_BASE + 27) }, - { "mbind", (__NR_SYSCALL_BASE + 227) }, - { "memfd_create", (__NR_SYSCALL_BASE + 314) }, - { "migrate_pages", (__NR_SYSCALL_BASE + 246) }, - { "mincore", (__NR_SYSCALL_BASE + 26) }, - { "mkdir", (__NR_SYSCALL_BASE + 81) }, - { "mkdirat", (__NR_SYSCALL_BASE + 248) }, - { "mknod", (__NR_SYSCALL_BASE + 131) }, - { "mknodat", (__NR_SYSCALL_BASE + 249) }, - { "mlock", (__NR_SYSCALL_BASE + 146) }, - { "mlockall", (__NR_SYSCALL_BASE + 148) }, - { "mmap", (__NR_SYSCALL_BASE + 9) }, + { "madvise", (__SCMP_NR_BASE + 27) }, + { "mbind", (__SCMP_NR_BASE + 227) }, + { "memfd_create", (__SCMP_NR_BASE + 314) }, + { "migrate_pages", (__SCMP_NR_BASE + 246) }, + { "mincore", (__SCMP_NR_BASE + 26) }, + { "mkdir", (__SCMP_NR_BASE + 81) }, + { "mkdirat", (__SCMP_NR_BASE + 248) }, + { "mknod", (__SCMP_NR_BASE + 131) }, + { "mknodat", (__SCMP_NR_BASE + 249) }, + { "mlock", (__SCMP_NR_BASE + 146) }, + { "mlockall", (__SCMP_NR_BASE + 148) }, + { "mmap", (__SCMP_NR_BASE + 9) }, { "mmap2", __PNR_mmap2 }, { "modify_ldt", __PNR_modify_ldt }, - { "mount", (__NR_SYSCALL_BASE + 160) }, - { "move_pages", (__NR_SYSCALL_BASE + 267) }, - { "mprotect", (__NR_SYSCALL_BASE + 10) }, + { "mount", (__SCMP_NR_BASE + 160) }, + { "move_pages", (__SCMP_NR_BASE + 267) }, + { "mprotect", (__SCMP_NR_BASE + 10) }, { "mpx", __PNR_mpx }, - { "mq_getsetattr", (__NR_SYSCALL_BASE + 235) }, - { "mq_notify", (__NR_SYSCALL_BASE + 234) }, - { "mq_open", (__NR_SYSCALL_BASE + 230) }, - { "mq_timedreceive", (__NR_SYSCALL_BASE + 233) }, - { "mq_timedsend", (__NR_SYSCALL_BASE + 232) }, - { "mq_unlink", (__NR_SYSCALL_BASE + 231) }, - { "mremap", (__NR_SYSCALL_BASE + 24) }, - { "msgctl", (__NR_SYSCALL_BASE + 69) }, - { "msgget", (__NR_SYSCALL_BASE + 66) }, - { "msgrcv", (__NR_SYSCALL_BASE + 68) }, - { "msgsnd", (__NR_SYSCALL_BASE + 67) }, - { "msync", (__NR_SYSCALL_BASE + 25) }, + { "mq_getsetattr", (__SCMP_NR_BASE + 235) }, + { "mq_notify", (__SCMP_NR_BASE + 234) }, + { "mq_open", (__SCMP_NR_BASE + 230) }, + { "mq_timedreceive", (__SCMP_NR_BASE + 233) }, + { "mq_timedsend", (__SCMP_NR_BASE + 232) }, + { "mq_unlink", (__SCMP_NR_BASE + 231) }, + { "mremap", (__SCMP_NR_BASE + 24) }, + { "msgctl", (__SCMP_NR_BASE + 69) }, + { "msgget", (__SCMP_NR_BASE + 66) }, + { "msgrcv", (__SCMP_NR_BASE + 68) }, + { "msgsnd", (__SCMP_NR_BASE + 67) }, + { "msync", (__SCMP_NR_BASE + 25) }, { "multiplexer", __PNR_multiplexer }, - { "munlock", (__NR_SYSCALL_BASE + 147) }, - { "munlockall", (__NR_SYSCALL_BASE + 149) }, - { "munmap", (__NR_SYSCALL_BASE + 11) }, - { "name_to_handle_at", (__NR_SYSCALL_BASE + 298) }, - { "nanosleep", (__NR_SYSCALL_BASE + 34) }, - { "newfstatat", (__NR_SYSCALL_BASE + 252) }, - { "nfsservctl", (__NR_SYSCALL_BASE + 173) }, + { "munlock", (__SCMP_NR_BASE + 147) }, + { "munlockall", (__SCMP_NR_BASE + 149) }, + { "munmap", (__SCMP_NR_BASE + 11) }, + { "name_to_handle_at", (__SCMP_NR_BASE + 298) }, + { "nanosleep", (__SCMP_NR_BASE + 34) }, + { "newfstatat", (__SCMP_NR_BASE + 252) }, + { "nfsservctl", (__SCMP_NR_BASE + 173) }, { "nice", __PNR_nice }, { "oldfstat", __PNR_oldfstat }, { "oldlstat", __PNR_oldlstat }, @@ -243,212 +243,212 @@ const struct arch_syscall_def mips64_syscall_table[] = { \ { "oldstat", __PNR_oldstat }, { "olduname", __PNR_olduname }, { "oldwait4", __PNR_oldwait4 }, - { "open", (__NR_SYSCALL_BASE + 2) }, - { "open_by_handle_at", (__NR_SYSCALL_BASE + 299) }, - { "openat", (__NR_SYSCALL_BASE + 247) }, - { "pause", (__NR_SYSCALL_BASE + 33) }, + { "open", (__SCMP_NR_BASE + 2) }, + { "open_by_handle_at", (__SCMP_NR_BASE + 299) }, + { "openat", (__SCMP_NR_BASE + 247) }, + { "pause", (__SCMP_NR_BASE + 33) }, { "pciconfig_iobase", __PNR_pciconfig_iobase }, { "pciconfig_read", __PNR_pciconfig_read }, { "pciconfig_write", __PNR_pciconfig_write }, - { "perf_event_open", (__NR_SYSCALL_BASE + 292) }, - { "personality", (__NR_SYSCALL_BASE + 132) }, - { "pipe", (__NR_SYSCALL_BASE + 21) }, - { "pipe2", (__NR_SYSCALL_BASE + 287) }, - { "pivot_root", (__NR_SYSCALL_BASE + 151) }, - { "poll", (__NR_SYSCALL_BASE + 7) }, - { "ppoll", (__NR_SYSCALL_BASE + 261) }, - { "prctl", (__NR_SYSCALL_BASE + 153) }, - { "pread64", (__NR_SYSCALL_BASE + 16) }, - { "preadv", (__NR_SYSCALL_BASE + 289) }, - { "prlimit64", (__NR_SYSCALL_BASE + 297) }, - { "process_vm_readv", (__NR_SYSCALL_BASE + 304) }, - { "process_vm_writev", (__NR_SYSCALL_BASE + 305) }, + { "perf_event_open", (__SCMP_NR_BASE + 292) }, + { "personality", (__SCMP_NR_BASE + 132) }, + { "pipe", (__SCMP_NR_BASE + 21) }, + { "pipe2", (__SCMP_NR_BASE + 287) }, + { "pivot_root", (__SCMP_NR_BASE + 151) }, + { "poll", (__SCMP_NR_BASE + 7) }, + { "ppoll", (__SCMP_NR_BASE + 261) }, + { "prctl", (__SCMP_NR_BASE + 153) }, + { "pread64", (__SCMP_NR_BASE + 16) }, + { "preadv", (__SCMP_NR_BASE + 289) }, + { "prlimit64", (__SCMP_NR_BASE + 297) }, + { "process_vm_readv", (__SCMP_NR_BASE + 304) }, + { "process_vm_writev", (__SCMP_NR_BASE + 305) }, { "prof", __PNR_prof }, { "profil", __PNR_profil }, - { "pselect6", (__NR_SYSCALL_BASE + 260) }, - { "ptrace", (__NR_SYSCALL_BASE + 99) }, - { "putpmsg", (__NR_SYSCALL_BASE + 175) }, - { "pwrite64", (__NR_SYSCALL_BASE + 17) }, - { "pwritev", (__NR_SYSCALL_BASE + 290) }, - { "query_module", (__NR_SYSCALL_BASE + 171) }, - { "quotactl", (__NR_SYSCALL_BASE + 172) }, - { "read", (__NR_SYSCALL_BASE + 0) }, - { "readahead", (__NR_SYSCALL_BASE + 179) }, + { "pselect6", (__SCMP_NR_BASE + 260) }, + { "ptrace", (__SCMP_NR_BASE + 99) }, + { "putpmsg", (__SCMP_NR_BASE + 175) }, + { "pwrite64", (__SCMP_NR_BASE + 17) }, + { "pwritev", (__SCMP_NR_BASE + 290) }, + { "query_module", (__SCMP_NR_BASE + 171) }, + { "quotactl", (__SCMP_NR_BASE + 172) }, + { "read", (__SCMP_NR_BASE + 0) }, + { "readahead", (__SCMP_NR_BASE + 179) }, { "readdir", __PNR_readdir }, - { "readlink", (__NR_SYSCALL_BASE + 87) }, - { "readlinkat", (__NR_SYSCALL_BASE + 257) }, - { "readv", (__NR_SYSCALL_BASE + 18) }, - { "reboot", (__NR_SYSCALL_BASE + 164) }, + { "readlink", (__SCMP_NR_BASE + 87) }, + { "readlinkat", (__SCMP_NR_BASE + 257) }, + { "readv", (__SCMP_NR_BASE + 18) }, + { "reboot", (__SCMP_NR_BASE + 164) }, { "recv", __PNR_recv }, - { "recvfrom", (__NR_SYSCALL_BASE + 44) }, - { "recvmmsg", (__NR_SYSCALL_BASE + 294) }, - { "recvmsg", (__NR_SYSCALL_BASE + 46) }, - { "remap_file_pages", (__NR_SYSCALL_BASE + 210) }, - { "removexattr", (__NR_SYSCALL_BASE + 189) }, - { "rename", (__NR_SYSCALL_BASE + 80) }, - { "renameat", (__NR_SYSCALL_BASE + 254) }, - { "renameat2", (__NR_SYSCALL_BASE + 311) }, - { "request_key", (__NR_SYSCALL_BASE + 240) }, - { "restart_syscall", (__NR_SYSCALL_BASE + 213) }, - { "rmdir", (__NR_SYSCALL_BASE + 82) }, - { "rt_sigaction", (__NR_SYSCALL_BASE + 13) }, - { "rt_sigpending", (__NR_SYSCALL_BASE + 125) }, - { "rt_sigprocmask", (__NR_SYSCALL_BASE + 14) }, - { "rt_sigqueueinfo", (__NR_SYSCALL_BASE + 127) }, - { "rt_sigreturn", (__NR_SYSCALL_BASE + 211) }, - { "rt_sigsuspend", (__NR_SYSCALL_BASE + 128) }, - { "rt_sigtimedwait", (__NR_SYSCALL_BASE + 126) }, - { "rt_tgsigqueueinfo", (__NR_SYSCALL_BASE + 291) }, + { "recvfrom", (__SCMP_NR_BASE + 44) }, + { "recvmmsg", (__SCMP_NR_BASE + 294) }, + { "recvmsg", (__SCMP_NR_BASE + 46) }, + { "remap_file_pages", (__SCMP_NR_BASE + 210) }, + { "removexattr", (__SCMP_NR_BASE + 189) }, + { "rename", (__SCMP_NR_BASE + 80) }, + { "renameat", (__SCMP_NR_BASE + 254) }, + { "renameat2", (__SCMP_NR_BASE + 311) }, + { "request_key", (__SCMP_NR_BASE + 240) }, + { "restart_syscall", (__SCMP_NR_BASE + 213) }, + { "rmdir", (__SCMP_NR_BASE + 82) }, + { "rt_sigaction", (__SCMP_NR_BASE + 13) }, + { "rt_sigpending", (__SCMP_NR_BASE + 125) }, + { "rt_sigprocmask", (__SCMP_NR_BASE + 14) }, + { "rt_sigqueueinfo", (__SCMP_NR_BASE + 127) }, + { "rt_sigreturn", (__SCMP_NR_BASE + 211) }, + { "rt_sigsuspend", (__SCMP_NR_BASE + 128) }, + { "rt_sigtimedwait", (__SCMP_NR_BASE + 126) }, + { "rt_tgsigqueueinfo", (__SCMP_NR_BASE + 291) }, { "rtas", __PNR_rtas }, { "s390_runtime_instr", __PNR_s390_runtime_instr }, - { "sched_get_priority_max", (__NR_SYSCALL_BASE + 143) }, - { "sched_get_priority_min", (__NR_SYSCALL_BASE + 144) }, - { "sched_getaffinity", (__NR_SYSCALL_BASE + 196) }, - { "sched_getattr", (__NR_SYSCALL_BASE + 310) }, - { "sched_getparam", (__NR_SYSCALL_BASE + 140) }, - { "sched_getscheduler", (__NR_SYSCALL_BASE + 142) }, - { "sched_rr_get_interval", (__NR_SYSCALL_BASE + 145) }, - { "sched_setaffinity", (__NR_SYSCALL_BASE + 195) }, - { "sched_setattr", (__NR_SYSCALL_BASE + 309) }, - { "sched_setparam", (__NR_SYSCALL_BASE + 139) }, - { "sched_setscheduler", (__NR_SYSCALL_BASE + 141) }, - { "sched_yield", (__NR_SYSCALL_BASE + 23) }, - { "seccomp", (__NR_SYSCALL_BASE + 312) }, + { "sched_get_priority_max", (__SCMP_NR_BASE + 143) }, + { "sched_get_priority_min", (__SCMP_NR_BASE + 144) }, + { "sched_getaffinity", (__SCMP_NR_BASE + 196) }, + { "sched_getattr", (__SCMP_NR_BASE + 310) }, + { "sched_getparam", (__SCMP_NR_BASE + 140) }, + { "sched_getscheduler", (__SCMP_NR_BASE + 142) }, + { "sched_rr_get_interval", (__SCMP_NR_BASE + 145) }, + { "sched_setaffinity", (__SCMP_NR_BASE + 195) }, + { "sched_setattr", (__SCMP_NR_BASE + 309) }, + { "sched_setparam", (__SCMP_NR_BASE + 139) }, + { "sched_setscheduler", (__SCMP_NR_BASE + 141) }, + { "sched_yield", (__SCMP_NR_BASE + 23) }, + { "seccomp", (__SCMP_NR_BASE + 312) }, { "security", __PNR_security }, { "select", __PNR_select }, - { "semctl", (__NR_SYSCALL_BASE + 64) }, - { "semget", (__NR_SYSCALL_BASE + 62) }, - { "semop", (__NR_SYSCALL_BASE + 63) }, - { "semtimedop", (__NR_SYSCALL_BASE + 214) }, + { "semctl", (__SCMP_NR_BASE + 64) }, + { "semget", (__SCMP_NR_BASE + 62) }, + { "semop", (__SCMP_NR_BASE + 63) }, + { "semtimedop", (__SCMP_NR_BASE + 214) }, { "send", __PNR_send }, - { "sendfile", (__NR_SYSCALL_BASE + 39) }, + { "sendfile", (__SCMP_NR_BASE + 39) }, { "sendfile64", __PNR_sendfile64 }, - { "sendmmsg", (__NR_SYSCALL_BASE + 302) }, - { "sendmsg", (__NR_SYSCALL_BASE + 45) }, - { "sendto", (__NR_SYSCALL_BASE + 43) }, - { "set_mempolicy", (__NR_SYSCALL_BASE + 229) }, - { "set_robust_list", (__NR_SYSCALL_BASE + 268) }, - { "set_thread_area", (__NR_SYSCALL_BASE + 242) }, - { "set_tid_address", (__NR_SYSCALL_BASE + 212) }, + { "sendmmsg", (__SCMP_NR_BASE + 302) }, + { "sendmsg", (__SCMP_NR_BASE + 45) }, + { "sendto", (__SCMP_NR_BASE + 43) }, + { "set_mempolicy", (__SCMP_NR_BASE + 229) }, + { "set_robust_list", (__SCMP_NR_BASE + 268) }, + { "set_thread_area", (__SCMP_NR_BASE + 242) }, + { "set_tid_address", (__SCMP_NR_BASE + 212) }, { "set_tls", __PNR_set_tls }, - { "setdomainname", (__NR_SYSCALL_BASE + 166) }, - { "setfsgid", (__NR_SYSCALL_BASE + 121) }, + { "setdomainname", (__SCMP_NR_BASE + 166) }, + { "setfsgid", (__SCMP_NR_BASE + 121) }, { "setfsgid32", __PNR_setfsgid32 }, - { "setfsuid", (__NR_SYSCALL_BASE + 120) }, + { "setfsuid", (__SCMP_NR_BASE + 120) }, { "setfsuid32", __PNR_setfsuid32 }, - { "setgid", (__NR_SYSCALL_BASE + 104) }, + { "setgid", (__SCMP_NR_BASE + 104) }, { "setgid32", __PNR_setgid32 }, - { "setgroups", (__NR_SYSCALL_BASE + 114) }, + { "setgroups", (__SCMP_NR_BASE + 114) }, { "setgroups32", __PNR_setgroups32 }, - { "sethostname", (__NR_SYSCALL_BASE + 165) }, - { "setitimer", (__NR_SYSCALL_BASE + 36) }, - { "setns", (__NR_SYSCALL_BASE + 303) }, - { "setpgid", (__NR_SYSCALL_BASE + 107) }, - { "setpriority", (__NR_SYSCALL_BASE + 138) }, - { "setregid", (__NR_SYSCALL_BASE + 112) }, + { "sethostname", (__SCMP_NR_BASE + 165) }, + { "setitimer", (__SCMP_NR_BASE + 36) }, + { "setns", (__SCMP_NR_BASE + 303) }, + { "setpgid", (__SCMP_NR_BASE + 107) }, + { "setpriority", (__SCMP_NR_BASE + 138) }, + { "setregid", (__SCMP_NR_BASE + 112) }, { "setregid32", __PNR_setregid32 }, - { "setresgid", (__NR_SYSCALL_BASE + 117) }, + { "setresgid", (__SCMP_NR_BASE + 117) }, { "setresgid32", __PNR_setresgid32 }, - { "setresuid", (__NR_SYSCALL_BASE + 115) }, + { "setresuid", (__SCMP_NR_BASE + 115) }, { "setresuid32", __PNR_setresuid32 }, - { "setreuid", (__NR_SYSCALL_BASE + 111) }, + { "setreuid", (__SCMP_NR_BASE + 111) }, { "setreuid32", __PNR_setreuid32 }, - { "setrlimit", (__NR_SYSCALL_BASE + 155) }, - { "setsid", (__NR_SYSCALL_BASE + 110) }, - { "setsockopt", (__NR_SYSCALL_BASE + 53) }, - { "settimeofday", (__NR_SYSCALL_BASE + 159) }, - { "setuid", (__NR_SYSCALL_BASE + 103) }, + { "setrlimit", (__SCMP_NR_BASE + 155) }, + { "setsid", (__SCMP_NR_BASE + 110) }, + { "setsockopt", (__SCMP_NR_BASE + 53) }, + { "settimeofday", (__SCMP_NR_BASE + 159) }, + { "setuid", (__SCMP_NR_BASE + 103) }, { "setuid32", __PNR_setuid32 }, - { "setxattr", (__NR_SYSCALL_BASE + 180) }, + { "setxattr", (__SCMP_NR_BASE + 180) }, { "sgetmask", __PNR_sgetmask }, - { "shmat", (__NR_SYSCALL_BASE + 29) }, - { "shmctl", (__NR_SYSCALL_BASE + 30) }, - { "shmdt", (__NR_SYSCALL_BASE + 65) }, - { "shmget", (__NR_SYSCALL_BASE + 28) }, - { "shutdown", (__NR_SYSCALL_BASE + 47) }, + { "shmat", (__SCMP_NR_BASE + 29) }, + { "shmctl", (__SCMP_NR_BASE + 30) }, + { "shmdt", (__SCMP_NR_BASE + 65) }, + { "shmget", (__SCMP_NR_BASE + 28) }, + { "shutdown", (__SCMP_NR_BASE + 47) }, { "sigaction", __PNR_sigaction }, - { "sigaltstack", (__NR_SYSCALL_BASE + 129) }, + { "sigaltstack", (__SCMP_NR_BASE + 129) }, { "signal", __PNR_signal }, - { "signalfd", (__NR_SYSCALL_BASE + 276) }, - { "signalfd4", (__NR_SYSCALL_BASE + 283) }, + { "signalfd", (__SCMP_NR_BASE + 276) }, + { "signalfd4", (__SCMP_NR_BASE + 283) }, { "sigpending", __PNR_sigpending }, { "sigprocmask", __PNR_sigprocmask }, { "sigreturn", __PNR_sigreturn }, { "sigsuspend", __PNR_sigsuspend }, - { "socket", (__NR_SYSCALL_BASE + 40) }, + { "socket", (__SCMP_NR_BASE + 40) }, { "socketcall", __PNR_socketcall }, - { "socketpair", (__NR_SYSCALL_BASE + 52) }, - { "splice", (__NR_SYSCALL_BASE + 263) }, + { "socketpair", (__SCMP_NR_BASE + 52) }, + { "splice", (__SCMP_NR_BASE + 263) }, { "spu_create", __PNR_spu_create }, { "spu_run", __PNR_spu_run }, { "ssetmask", __PNR_ssetmask }, - { "stat", (__NR_SYSCALL_BASE + 4) }, + { "stat", (__SCMP_NR_BASE + 4) }, { "stat64", __PNR_stat64 }, - { "statfs", (__NR_SYSCALL_BASE + 134) }, + { "statfs", (__SCMP_NR_BASE + 134) }, { "statfs64", __PNR_statfs64 }, { "stime", __PNR_stime }, { "stty", __PNR_stty }, { "subpage_prot", __PNR_subpage_prot }, { "swapcontext", __PNR_swapcontext }, - { "swapoff", (__NR_SYSCALL_BASE + 163) }, - { "swapon", (__NR_SYSCALL_BASE + 162) }, + { "swapoff", (__SCMP_NR_BASE + 163) }, + { "swapon", (__SCMP_NR_BASE + 162) }, { "switch_endian", __PNR_switch_endian }, - { "symlink", (__NR_SYSCALL_BASE + 86) }, - { "symlinkat", (__NR_SYSCALL_BASE + 256) }, - { "sync", (__NR_SYSCALL_BASE + 157) }, - { "sync_file_range", (__NR_SYSCALL_BASE + 264) }, + { "symlink", (__SCMP_NR_BASE + 86) }, + { "symlinkat", (__SCMP_NR_BASE + 256) }, + { "sync", (__SCMP_NR_BASE + 157) }, + { "sync_file_range", (__SCMP_NR_BASE + 264) }, { "sync_file_range2", __PNR_sync_file_range2 }, - { "syncfs", (__NR_SYSCALL_BASE + 301) }, + { "syncfs", (__SCMP_NR_BASE + 301) }, { "syscall", __PNR_syscall }, { "sys_debug_setcontext", __PNR_sys_debug_setcontext }, - { "sysfs", (__NR_SYSCALL_BASE + 136) }, - { "sysinfo", (__NR_SYSCALL_BASE + 97) }, - { "syslog", (__NR_SYSCALL_BASE + 101) }, - { "sysmips", (__NR_SYSCALL_BASE + 199) }, - { "tee", (__NR_SYSCALL_BASE + 265) }, - { "tgkill", (__NR_SYSCALL_BASE + 225) }, + { "sysfs", (__SCMP_NR_BASE + 136) }, + { "sysinfo", (__SCMP_NR_BASE + 97) }, + { "syslog", (__SCMP_NR_BASE + 101) }, + { "sysmips", (__SCMP_NR_BASE + 199) }, + { "tee", (__SCMP_NR_BASE + 265) }, + { "tgkill", (__SCMP_NR_BASE + 225) }, { "time", __PNR_time }, - { "timer_create", (__NR_SYSCALL_BASE + 216) }, - { "timer_delete", (__NR_SYSCALL_BASE + 220) }, - { "timer_getoverrun", (__NR_SYSCALL_BASE + 219) }, - { "timer_gettime", (__NR_SYSCALL_BASE + 218) }, - { "timer_settime", (__NR_SYSCALL_BASE + 217) }, - { "timerfd", (__NR_SYSCALL_BASE + 277) }, - { "timerfd_create", (__NR_SYSCALL_BASE + 280) }, - { "timerfd_gettime", (__NR_SYSCALL_BASE + 281) }, - { "timerfd_settime", (__NR_SYSCALL_BASE + 282) }, - { "times", (__NR_SYSCALL_BASE + 98) }, - { "tkill", (__NR_SYSCALL_BASE + 192) }, - { "truncate", (__NR_SYSCALL_BASE + 74) }, + { "timer_create", (__SCMP_NR_BASE + 216) }, + { "timer_delete", (__SCMP_NR_BASE + 220) }, + { "timer_getoverrun", (__SCMP_NR_BASE + 219) }, + { "timer_gettime", (__SCMP_NR_BASE + 218) }, + { "timer_settime", (__SCMP_NR_BASE + 217) }, + { "timerfd", (__SCMP_NR_BASE + 277) }, + { "timerfd_create", (__SCMP_NR_BASE + 280) }, + { "timerfd_gettime", (__SCMP_NR_BASE + 281) }, + { "timerfd_settime", (__SCMP_NR_BASE + 282) }, + { "times", (__SCMP_NR_BASE + 98) }, + { "tkill", (__SCMP_NR_BASE + 192) }, + { "truncate", (__SCMP_NR_BASE + 74) }, { "truncate64", __PNR_truncate64 }, { "tuxcall", __PNR_tuxcall }, { "ugetrlimit", __PNR_ugetrlimit }, { "ulimit", __PNR_ulimit }, - { "umask", (__NR_SYSCALL_BASE + 93) }, + { "umask", (__SCMP_NR_BASE + 93) }, { "umount", __PNR_umount }, - { "umount2", (__NR_SYSCALL_BASE + 161) }, - { "uname", (__NR_SYSCALL_BASE + 61) }, - { "unlink", (__NR_SYSCALL_BASE + 85) }, - { "unlinkat", (__NR_SYSCALL_BASE + 253) }, - { "unshare", (__NR_SYSCALL_BASE + 262) }, + { "umount2", (__SCMP_NR_BASE + 161) }, + { "uname", (__SCMP_NR_BASE + 61) }, + { "unlink", (__SCMP_NR_BASE + 85) }, + { "unlinkat", (__SCMP_NR_BASE + 253) }, + { "unshare", (__SCMP_NR_BASE + 262) }, { "uselib", __PNR_uselib }, { "usr26", __PNR_usr26 }, { "usr32", __PNR_usr32 }, - { "ustat", (__NR_SYSCALL_BASE + 133) }, - { "utime", (__NR_SYSCALL_BASE + 130) }, - { "utimensat", (__NR_SYSCALL_BASE + 275) }, - { "utimes", (__NR_SYSCALL_BASE + 226) }, + { "ustat", (__SCMP_NR_BASE + 133) }, + { "utime", (__SCMP_NR_BASE + 130) }, + { "utimensat", (__SCMP_NR_BASE + 275) }, + { "utimes", (__SCMP_NR_BASE + 226) }, { "vfork", __PNR_vfork }, - { "vhangup", (__NR_SYSCALL_BASE + 150) }, + { "vhangup", (__SCMP_NR_BASE + 150) }, { "vm86", __PNR_vm86 }, { "vm86old", __PNR_vm86old }, - { "vmsplice", (__NR_SYSCALL_BASE + 266) }, - { "vserver", (__NR_SYSCALL_BASE + 236) }, - { "wait4", (__NR_SYSCALL_BASE + 59) }, - { "waitid", (__NR_SYSCALL_BASE + 237) }, + { "vmsplice", (__SCMP_NR_BASE + 266) }, + { "vserver", (__SCMP_NR_BASE + 236) }, + { "wait4", (__SCMP_NR_BASE + 59) }, + { "waitid", (__SCMP_NR_BASE + 237) }, { "waitpid", __PNR_waitpid }, - { "write", (__NR_SYSCALL_BASE + 1) }, - { "writev", (__NR_SYSCALL_BASE + 19) }, + { "write", (__SCMP_NR_BASE + 1) }, + { "writev", (__SCMP_NR_BASE + 19) }, { NULL, __NR_SCMP_ERROR }, }; diff --git a/src/arch-mips64n32-syscalls.c b/src/arch-mips64n32-syscalls.c index dd6966e..b4195c3 100644 --- a/src/arch-mips64n32-syscalls.c +++ b/src/arch-mips64n32-syscalls.c @@ -28,214 +28,214 @@ #include "arch-mips64n32.h" /* N32 ABI */ -#define __NR_SYSCALL_BASE 6000 +#define __SCMP_NR_BASE 6000 /* NOTE: based on Linux 4.2-rc5 */ const struct arch_syscall_def mips64n32_syscall_table[] = { \ { "_llseek", __PNR__llseek }, - { "_newselect", (__NR_SYSCALL_BASE + 22) }, - { "_sysctl", (__NR_SYSCALL_BASE + 152) }, - { "accept", (__NR_SYSCALL_BASE + 42) }, - { "accept4", (__NR_SYSCALL_BASE + 297) }, - { "access", (__NR_SYSCALL_BASE + 20) }, - { "acct", (__NR_SYSCALL_BASE + 158) }, - { "add_key", (__NR_SYSCALL_BASE + 243) }, - { "adjtimex", (__NR_SYSCALL_BASE + 154) }, - { "afs_syscall", (__NR_SYSCALL_BASE + 176) }, - { "alarm", (__NR_SYSCALL_BASE + 37) }, + { "_newselect", (__SCMP_NR_BASE + 22) }, + { "_sysctl", (__SCMP_NR_BASE + 152) }, + { "accept", (__SCMP_NR_BASE + 42) }, + { "accept4", (__SCMP_NR_BASE + 297) }, + { "access", (__SCMP_NR_BASE + 20) }, + { "acct", (__SCMP_NR_BASE + 158) }, + { "add_key", (__SCMP_NR_BASE + 243) }, + { "adjtimex", (__SCMP_NR_BASE + 154) }, + { "afs_syscall", (__SCMP_NR_BASE + 176) }, + { "alarm", (__SCMP_NR_BASE + 37) }, { "arm_fadvise64_64", __PNR_arm_fadvise64_64 }, { "arm_sync_file_range", __PNR_arm_sync_file_range }, { "arch_prctl", __PNR_arch_prctl }, { "bdflush", __PNR_bdflush }, - { "bind", (__NR_SYSCALL_BASE + 48) }, - { "bpf", (__NR_SYSCALL_BASE + 319) }, + { "bind", (__SCMP_NR_BASE + 48) }, + { "bpf", (__SCMP_NR_BASE + 319) }, { "break", __PNR_break }, { "breakpoint", __PNR_breakpoint }, - { "brk", (__NR_SYSCALL_BASE + 12) }, - { "cachectl", (__NR_SYSCALL_BASE + 198) }, - { "cacheflush", (__NR_SYSCALL_BASE + 197) }, - { "capget", (__NR_SYSCALL_BASE + 123) }, - { "capset", (__NR_SYSCALL_BASE + 124) }, - { "chdir", (__NR_SYSCALL_BASE + 78) }, - { "chmod", (__NR_SYSCALL_BASE + 88) }, - { "chown", (__NR_SYSCALL_BASE + 90) }, + { "brk", (__SCMP_NR_BASE + 12) }, + { "cachectl", (__SCMP_NR_BASE + 198) }, + { "cacheflush", (__SCMP_NR_BASE + 197) }, + { "capget", (__SCMP_NR_BASE + 123) }, + { "capset", (__SCMP_NR_BASE + 124) }, + { "chdir", (__SCMP_NR_BASE + 78) }, + { "chmod", (__SCMP_NR_BASE + 88) }, + { "chown", (__SCMP_NR_BASE + 90) }, { "chown32", __PNR_chown32 }, - { "chroot", (__NR_SYSCALL_BASE + 156) }, - { "clock_adjtime", (__NR_SYSCALL_BASE + 305) }, - { "clock_getres", (__NR_SYSCALL_BASE + 227) }, - { "clock_gettime", (__NR_SYSCALL_BASE + 226) }, - { "clock_nanosleep", (__NR_SYSCALL_BASE + 228) }, - { "clock_settime", (__NR_SYSCALL_BASE + 225) }, - { "clone", (__NR_SYSCALL_BASE + 55) }, - { "close", (__NR_SYSCALL_BASE + 3) }, - { "connect", (__NR_SYSCALL_BASE + 41) }, - { "creat", (__NR_SYSCALL_BASE + 83) }, - { "create_module", (__NR_SYSCALL_BASE + 167) }, - { "delete_module", (__NR_SYSCALL_BASE + 169) }, - { "dup", (__NR_SYSCALL_BASE + 31) }, - { "dup2", (__NR_SYSCALL_BASE + 32) }, - { "dup3", (__NR_SYSCALL_BASE + 290) }, - { "epoll_create", (__NR_SYSCALL_BASE + 207) }, - { "epoll_create1", (__NR_SYSCALL_BASE + 289) }, - { "epoll_ctl", (__NR_SYSCALL_BASE + 208) }, + { "chroot", (__SCMP_NR_BASE + 156) }, + { "clock_adjtime", (__SCMP_NR_BASE + 305) }, + { "clock_getres", (__SCMP_NR_BASE + 227) }, + { "clock_gettime", (__SCMP_NR_BASE + 226) }, + { "clock_nanosleep", (__SCMP_NR_BASE + 228) }, + { "clock_settime", (__SCMP_NR_BASE + 225) }, + { "clone", (__SCMP_NR_BASE + 55) }, + { "close", (__SCMP_NR_BASE + 3) }, + { "connect", (__SCMP_NR_BASE + 41) }, + { "creat", (__SCMP_NR_BASE + 83) }, + { "create_module", (__SCMP_NR_BASE + 167) }, + { "delete_module", (__SCMP_NR_BASE + 169) }, + { "dup", (__SCMP_NR_BASE + 31) }, + { "dup2", (__SCMP_NR_BASE + 32) }, + { "dup3", (__SCMP_NR_BASE + 290) }, + { "epoll_create", (__SCMP_NR_BASE + 207) }, + { "epoll_create1", (__SCMP_NR_BASE + 289) }, + { "epoll_ctl", (__SCMP_NR_BASE + 208) }, { "epoll_ctl_old", __PNR_epoll_ctl_old }, - { "epoll_pwait", (__NR_SYSCALL_BASE + 276) }, - { "epoll_wait", (__NR_SYSCALL_BASE + 209) }, + { "epoll_pwait", (__SCMP_NR_BASE + 276) }, + { "epoll_wait", (__SCMP_NR_BASE + 209) }, { "epoll_wait_old", __PNR_epoll_wait_old }, - { "eventfd", (__NR_SYSCALL_BASE + 282) }, - { "eventfd2", (__NR_SYSCALL_BASE + 288) }, - { "execve", (__NR_SYSCALL_BASE + 57) }, - { "execveat", (__NR_SYSCALL_BASE + 320) }, - { "exit", (__NR_SYSCALL_BASE + 58) }, - { "exit_group", (__NR_SYSCALL_BASE + 205) }, - { "faccessat", (__NR_SYSCALL_BASE + 263) }, - { "fadvise64", (__NR_SYSCALL_BASE + 216) }, + { "eventfd", (__SCMP_NR_BASE + 282) }, + { "eventfd2", (__SCMP_NR_BASE + 288) }, + { "execve", (__SCMP_NR_BASE + 57) }, + { "execveat", (__SCMP_NR_BASE + 320) }, + { "exit", (__SCMP_NR_BASE + 58) }, + { "exit_group", (__SCMP_NR_BASE + 205) }, + { "faccessat", (__SCMP_NR_BASE + 263) }, + { "fadvise64", (__SCMP_NR_BASE + 216) }, { "fadvise64_64", __PNR_fadvise64_64 }, - { "fallocate", (__NR_SYSCALL_BASE + 283) }, - { "fanotify_init", (__NR_SYSCALL_BASE + 300) }, - { "fanotify_mark", (__NR_SYSCALL_BASE + 301) }, - { "fchdir", (__NR_SYSCALL_BASE + 79) }, - { "fchmod", (__NR_SYSCALL_BASE + 89) }, - { "fchmodat", (__NR_SYSCALL_BASE + 262) }, - { "fchown", (__NR_SYSCALL_BASE + 91) }, + { "fallocate", (__SCMP_NR_BASE + 283) }, + { "fanotify_init", (__SCMP_NR_BASE + 300) }, + { "fanotify_mark", (__SCMP_NR_BASE + 301) }, + { "fchdir", (__SCMP_NR_BASE + 79) }, + { "fchmod", (__SCMP_NR_BASE + 89) }, + { "fchmodat", (__SCMP_NR_BASE + 262) }, + { "fchown", (__SCMP_NR_BASE + 91) }, { "fchown32", __PNR_fchown32 }, - { "fchownat", (__NR_SYSCALL_BASE + 254) }, - { "fcntl", (__NR_SYSCALL_BASE + 70) }, - { "fcntl64", (__NR_SYSCALL_BASE + 212) }, - { "fdatasync", (__NR_SYSCALL_BASE + 73) }, - { "fgetxattr", (__NR_SYSCALL_BASE + 185) }, - { "finit_module", (__NR_SYSCALL_BASE + 312) }, - { "flistxattr", (__NR_SYSCALL_BASE + 188) }, - { "flock", (__NR_SYSCALL_BASE + 71) }, - { "fork", (__NR_SYSCALL_BASE + 56) }, - { "fremovexattr", (__NR_SYSCALL_BASE + 191) }, - { "fsetxattr", (__NR_SYSCALL_BASE + 182) }, - { "fstat", (__NR_SYSCALL_BASE + 5) }, + { "fchownat", (__SCMP_NR_BASE + 254) }, + { "fcntl", (__SCMP_NR_BASE + 70) }, + { "fcntl64", (__SCMP_NR_BASE + 212) }, + { "fdatasync", (__SCMP_NR_BASE + 73) }, + { "fgetxattr", (__SCMP_NR_BASE + 185) }, + { "finit_module", (__SCMP_NR_BASE + 312) }, + { "flistxattr", (__SCMP_NR_BASE + 188) }, + { "flock", (__SCMP_NR_BASE + 71) }, + { "fork", (__SCMP_NR_BASE + 56) }, + { "fremovexattr", (__SCMP_NR_BASE + 191) }, + { "fsetxattr", (__SCMP_NR_BASE + 182) }, + { "fstat", (__SCMP_NR_BASE + 5) }, { "fstat64", __PNR_fstat64 }, { "fstatat64", __PNR_fstat64 }, - { "fstatfs", (__NR_SYSCALL_BASE + 135) }, - { "fstatfs64", (__NR_SYSCALL_BASE + 218) }, - { "fsync", (__NR_SYSCALL_BASE + 72) }, + { "fstatfs", (__SCMP_NR_BASE + 135) }, + { "fstatfs64", (__SCMP_NR_BASE + 218) }, + { "fsync", (__SCMP_NR_BASE + 72) }, { "ftime", __PNR_ftime }, - { "ftruncate", (__NR_SYSCALL_BASE + 75) }, + { "ftruncate", (__SCMP_NR_BASE + 75) }, { "ftruncate64", __PNR_ftruncate64 }, - { "futex", (__NR_SYSCALL_BASE + 194) }, - { "futimesat", (__NR_SYSCALL_BASE + 255) }, - { "get_kernel_syms", (__NR_SYSCALL_BASE + 170) }, - { "get_mempolicy", (__NR_SYSCALL_BASE + 232) }, - { "get_robust_list", (__NR_SYSCALL_BASE + 273) }, + { "futex", (__SCMP_NR_BASE + 194) }, + { "futimesat", (__SCMP_NR_BASE + 255) }, + { "get_kernel_syms", (__SCMP_NR_BASE + 170) }, + { "get_mempolicy", (__SCMP_NR_BASE + 232) }, + { "get_robust_list", (__SCMP_NR_BASE + 273) }, { "get_thread_area", __PNR_get_thread_area }, - { "getcpu", (__NR_SYSCALL_BASE + 275) }, - { "getcwd", (__NR_SYSCALL_BASE + 77) }, - { "getdents", (__NR_SYSCALL_BASE + 76) }, - { "getdents64", (__NR_SYSCALL_BASE + 299) }, - { "getegid", (__NR_SYSCALL_BASE + 106) }, + { "getcpu", (__SCMP_NR_BASE + 275) }, + { "getcwd", (__SCMP_NR_BASE + 77) }, + { "getdents", (__SCMP_NR_BASE + 76) }, + { "getdents64", (__SCMP_NR_BASE + 299) }, + { "getegid", (__SCMP_NR_BASE + 106) }, { "getegid32", __PNR_getegid32 }, - { "geteuid", (__NR_SYSCALL_BASE + 105) }, + { "geteuid", (__SCMP_NR_BASE + 105) }, { "geteuid32", __PNR_geteuid32 }, - { "getgid", (__NR_SYSCALL_BASE + 102) }, + { "getgid", (__SCMP_NR_BASE + 102) }, { "getgid32", __PNR_getgid32 }, - { "getgroups", (__NR_SYSCALL_BASE + 113) }, + { "getgroups", (__SCMP_NR_BASE + 113) }, { "getgroups32", __PNR_getgroups32 }, - { "getitimer", (__NR_SYSCALL_BASE + 35) }, - { "getpeername", (__NR_SYSCALL_BASE + 51) }, - { "getpgid", (__NR_SYSCALL_BASE + 119) }, - { "getpgrp", (__NR_SYSCALL_BASE + 109) }, - { "getpid", (__NR_SYSCALL_BASE + 38) }, - { "getpmsg", (__NR_SYSCALL_BASE + 174) }, - { "getppid", (__NR_SYSCALL_BASE + 108) }, - { "getpriority", (__NR_SYSCALL_BASE + 137) }, - { "getrandom", (__NR_SYSCALL_BASE + 317) }, - { "getresgid", (__NR_SYSCALL_BASE + 118) }, + { "getitimer", (__SCMP_NR_BASE + 35) }, + { "getpeername", (__SCMP_NR_BASE + 51) }, + { "getpgid", (__SCMP_NR_BASE + 119) }, + { "getpgrp", (__SCMP_NR_BASE + 109) }, + { "getpid", (__SCMP_NR_BASE + 38) }, + { "getpmsg", (__SCMP_NR_BASE + 174) }, + { "getppid", (__SCMP_NR_BASE + 108) }, + { "getpriority", (__SCMP_NR_BASE + 137) }, + { "getrandom", (__SCMP_NR_BASE + 317) }, + { "getresgid", (__SCMP_NR_BASE + 118) }, { "getresgid32", __PNR_getresgid32 }, - { "getresuid", (__NR_SYSCALL_BASE + 116) }, + { "getresuid", (__SCMP_NR_BASE + 116) }, { "getresuid32", __PNR_getresuid32 }, - { "getrlimit", (__NR_SYSCALL_BASE + 95) }, - { "getrusage", (__NR_SYSCALL_BASE + 96) }, - { "getsid", (__NR_SYSCALL_BASE + 122) }, - { "getsockname", (__NR_SYSCALL_BASE + 50) }, - { "getsockopt", (__NR_SYSCALL_BASE + 54) }, - { "gettid", (__NR_SYSCALL_BASE + 178) }, - { "gettimeofday", (__NR_SYSCALL_BASE + 94) }, - { "getuid", (__NR_SYSCALL_BASE + 100) }, + { "getrlimit", (__SCMP_NR_BASE + 95) }, + { "getrusage", (__SCMP_NR_BASE + 96) }, + { "getsid", (__SCMP_NR_BASE + 122) }, + { "getsockname", (__SCMP_NR_BASE + 50) }, + { "getsockopt", (__SCMP_NR_BASE + 54) }, + { "gettid", (__SCMP_NR_BASE + 178) }, + { "gettimeofday", (__SCMP_NR_BASE + 94) }, + { "getuid", (__SCMP_NR_BASE + 100) }, { "getuid32", __PNR_getuid32 }, - { "getxattr", (__NR_SYSCALL_BASE + 183) }, + { "getxattr", (__SCMP_NR_BASE + 183) }, { "gtty", __PNR_gtty }, { "idle", __PNR_idle }, - { "init_module", (__NR_SYSCALL_BASE + 168) }, - { "inotify_add_watch", (__NR_SYSCALL_BASE + 248) }, - { "inotify_init", (__NR_SYSCALL_BASE + 247) }, - { "inotify_init1", (__NR_SYSCALL_BASE + 292) }, - { "inotify_rm_watch", (__NR_SYSCALL_BASE + 249) }, - { "io_cancel", (__NR_SYSCALL_BASE + 204) }, - { "io_destroy", (__NR_SYSCALL_BASE + 201) }, - { "io_getevents", (__NR_SYSCALL_BASE + 202) }, - { "io_setup", (__NR_SYSCALL_BASE + 200) }, - { "io_submit", (__NR_SYSCALL_BASE + 203) }, - { "ioctl", (__NR_SYSCALL_BASE + 15) }, + { "init_module", (__SCMP_NR_BASE + 168) }, + { "inotify_add_watch", (__SCMP_NR_BASE + 248) }, + { "inotify_init", (__SCMP_NR_BASE + 247) }, + { "inotify_init1", (__SCMP_NR_BASE + 292) }, + { "inotify_rm_watch", (__SCMP_NR_BASE + 249) }, + { "io_cancel", (__SCMP_NR_BASE + 204) }, + { "io_destroy", (__SCMP_NR_BASE + 201) }, + { "io_getevents", (__SCMP_NR_BASE + 202) }, + { "io_setup", (__SCMP_NR_BASE + 200) }, + { "io_submit", (__SCMP_NR_BASE + 203) }, + { "ioctl", (__SCMP_NR_BASE + 15) }, { "ioperm", __PNR_ioperm }, { "iopl", __PNR_iopl }, - { "ioprio_get", (__NR_SYSCALL_BASE + 278) }, - { "ioprio_set", (__NR_SYSCALL_BASE + 277) }, + { "ioprio_get", (__SCMP_NR_BASE + 278) }, + { "ioprio_set", (__SCMP_NR_BASE + 277) }, { "ipc", __PNR_ipc }, - { "kcmp", (__NR_SYSCALL_BASE + 311) }, + { "kcmp", (__SCMP_NR_BASE + 311) }, { "kexec_file_load", __PNR_kexec_file_load }, - { "kexec_load", (__NR_SYSCALL_BASE + 274) }, - { "keyctl", (__NR_SYSCALL_BASE + 245) }, - { "kill", (__NR_SYSCALL_BASE + 60) }, - { "lchown", (__NR_SYSCALL_BASE + 92) }, + { "kexec_load", (__SCMP_NR_BASE + 274) }, + { "keyctl", (__SCMP_NR_BASE + 245) }, + { "kill", (__SCMP_NR_BASE + 60) }, + { "lchown", (__SCMP_NR_BASE + 92) }, { "lchown32", __PNR_lchown32 }, - { "lgetxattr", (__NR_SYSCALL_BASE + 184) }, - { "link", (__NR_SYSCALL_BASE + 84) }, - { "linkat", (__NR_SYSCALL_BASE + 259) }, - { "listen", (__NR_SYSCALL_BASE + 49) }, - { "listxattr", (__NR_SYSCALL_BASE + 186) }, - { "llistxattr", (__NR_SYSCALL_BASE + 187) }, + { "lgetxattr", (__SCMP_NR_BASE + 184) }, + { "link", (__SCMP_NR_BASE + 84) }, + { "linkat", (__SCMP_NR_BASE + 259) }, + { "listen", (__SCMP_NR_BASE + 49) }, + { "listxattr", (__SCMP_NR_BASE + 186) }, + { "llistxattr", (__SCMP_NR_BASE + 187) }, { "lock", __PNR_lock }, - { "lookup_dcookie", (__NR_SYSCALL_BASE + 206) }, - { "lremovexattr", (__NR_SYSCALL_BASE + 190) }, - { "lseek", (__NR_SYSCALL_BASE + 8) }, - { "lsetxattr", (__NR_SYSCALL_BASE + 181) }, - { "lstat", (__NR_SYSCALL_BASE + 6) }, + { "lookup_dcookie", (__SCMP_NR_BASE + 206) }, + { "lremovexattr", (__SCMP_NR_BASE + 190) }, + { "lseek", (__SCMP_NR_BASE + 8) }, + { "lsetxattr", (__SCMP_NR_BASE + 181) }, + { "lstat", (__SCMP_NR_BASE + 6) }, { "lstat64", __PNR_lstat64 }, - { "madvise", (__NR_SYSCALL_BASE + 27) }, - { "mbind", (__NR_SYSCALL_BASE + 231) }, - { "memfd_create", (__NR_SYSCALL_BASE + 318) }, - { "migrate_pages", (__NR_SYSCALL_BASE + 250) }, - { "mincore", (__NR_SYSCALL_BASE + 26) }, - { "mkdir", (__NR_SYSCALL_BASE + 81) }, - { "mkdirat", (__NR_SYSCALL_BASE + 252) }, - { "mknod", (__NR_SYSCALL_BASE + 131) }, - { "mknodat", (__NR_SYSCALL_BASE + 253) }, - { "mlock", (__NR_SYSCALL_BASE + 146) }, - { "mlockall", (__NR_SYSCALL_BASE + 148) }, - { "mmap", (__NR_SYSCALL_BASE + 9) }, + { "madvise", (__SCMP_NR_BASE + 27) }, + { "mbind", (__SCMP_NR_BASE + 231) }, + { "memfd_create", (__SCMP_NR_BASE + 318) }, + { "migrate_pages", (__SCMP_NR_BASE + 250) }, + { "mincore", (__SCMP_NR_BASE + 26) }, + { "mkdir", (__SCMP_NR_BASE + 81) }, + { "mkdirat", (__SCMP_NR_BASE + 252) }, + { "mknod", (__SCMP_NR_BASE + 131) }, + { "mknodat", (__SCMP_NR_BASE + 253) }, + { "mlock", (__SCMP_NR_BASE + 146) }, + { "mlockall", (__SCMP_NR_BASE + 148) }, + { "mmap", (__SCMP_NR_BASE + 9) }, { "mmap2", __PNR_mmap2 }, { "modify_ldt", __PNR_modify_ldt }, - { "mount", (__NR_SYSCALL_BASE + 160) }, - { "move_pages", (__NR_SYSCALL_BASE + 271) }, - { "mprotect", (__NR_SYSCALL_BASE + 10) }, + { "mount", (__SCMP_NR_BASE + 160) }, + { "move_pages", (__SCMP_NR_BASE + 271) }, + { "mprotect", (__SCMP_NR_BASE + 10) }, { "mpx", __PNR_mpx }, - { "mq_getsetattr", (__NR_SYSCALL_BASE + 239) }, - { "mq_notify", (__NR_SYSCALL_BASE + 238) }, - { "mq_open", (__NR_SYSCALL_BASE + 234) }, - { "mq_timedreceive", (__NR_SYSCALL_BASE + 237) }, - { "mq_timedsend", (__NR_SYSCALL_BASE + 236) }, - { "mq_unlink", (__NR_SYSCALL_BASE + 235) }, - { "mremap", (__NR_SYSCALL_BASE + 24) }, - { "msgctl", (__NR_SYSCALL_BASE + 69) }, - { "msgget", (__NR_SYSCALL_BASE + 66) }, - { "msgrcv", (__NR_SYSCALL_BASE + 68) }, - { "msgsnd", (__NR_SYSCALL_BASE + 67) }, - { "msync", (__NR_SYSCALL_BASE + 25) }, + { "mq_getsetattr", (__SCMP_NR_BASE + 239) }, + { "mq_notify", (__SCMP_NR_BASE + 238) }, + { "mq_open", (__SCMP_NR_BASE + 234) }, + { "mq_timedreceive", (__SCMP_NR_BASE + 237) }, + { "mq_timedsend", (__SCMP_NR_BASE + 236) }, + { "mq_unlink", (__SCMP_NR_BASE + 235) }, + { "mremap", (__SCMP_NR_BASE + 24) }, + { "msgctl", (__SCMP_NR_BASE + 69) }, + { "msgget", (__SCMP_NR_BASE + 66) }, + { "msgrcv", (__SCMP_NR_BASE + 68) }, + { "msgsnd", (__SCMP_NR_BASE + 67) }, + { "msync", (__SCMP_NR_BASE + 25) }, { "multiplexer", __PNR_multiplexer }, - { "munlock", (__NR_SYSCALL_BASE + 147) }, - { "munlockall", (__NR_SYSCALL_BASE + 149) }, - { "munmap", (__NR_SYSCALL_BASE + 11) }, - { "name_to_handle_at", (__NR_SYSCALL_BASE + 303) }, - { "nanosleep", (__NR_SYSCALL_BASE + 34) }, - { "newfstatat", (__NR_SYSCALL_BASE + 256) }, - { "nfsservctl", (__NR_SYSCALL_BASE + 173) }, + { "munlock", (__SCMP_NR_BASE + 147) }, + { "munlockall", (__SCMP_NR_BASE + 149) }, + { "munmap", (__SCMP_NR_BASE + 11) }, + { "name_to_handle_at", (__SCMP_NR_BASE + 303) }, + { "nanosleep", (__SCMP_NR_BASE + 34) }, + { "newfstatat", (__SCMP_NR_BASE + 256) }, + { "nfsservctl", (__SCMP_NR_BASE + 173) }, { "nice", __PNR_nice }, { "oldfstat", __PNR_oldfstat }, { "oldlstat", __PNR_oldlstat }, @@ -243,212 +243,212 @@ const struct arch_syscall_def mips64n32_syscall_table[] = { \ { "oldstat", __PNR_oldstat }, { "olduname", __PNR_olduname }, { "oldwait4", __PNR_oldwait4 }, - { "open", (__NR_SYSCALL_BASE + 2) }, - { "open_by_handle_at", (__NR_SYSCALL_BASE + 304) }, - { "openat", (__NR_SYSCALL_BASE + 251) }, - { "pause", (__NR_SYSCALL_BASE + 33) }, + { "open", (__SCMP_NR_BASE + 2) }, + { "open_by_handle_at", (__SCMP_NR_BASE + 304) }, + { "openat", (__SCMP_NR_BASE + 251) }, + { "pause", (__SCMP_NR_BASE + 33) }, { "pciconfig_iobase", __PNR_pciconfig_iobase }, { "pciconfig_read", __PNR_pciconfig_read }, { "pciconfig_write", __PNR_pciconfig_write }, - { "perf_event_open", (__NR_SYSCALL_BASE + 296) }, - { "personality", (__NR_SYSCALL_BASE + 132) }, - { "pipe", (__NR_SYSCALL_BASE + 21) }, - { "pipe2", (__NR_SYSCALL_BASE + 291) }, - { "pivot_root", (__NR_SYSCALL_BASE + 151) }, - { "poll", (__NR_SYSCALL_BASE + 7) }, - { "ppoll", (__NR_SYSCALL_BASE + 265) }, - { "prctl", (__NR_SYSCALL_BASE + 153) }, - { "pread64", (__NR_SYSCALL_BASE + 16) }, - { "preadv", (__NR_SYSCALL_BASE + 293) }, - { "prlimit64", (__NR_SYSCALL_BASE + 302) }, - { "process_vm_readv", (__NR_SYSCALL_BASE + 309) }, - { "process_vm_writev", (__NR_SYSCALL_BASE + 310) }, + { "perf_event_open", (__SCMP_NR_BASE + 296) }, + { "personality", (__SCMP_NR_BASE + 132) }, + { "pipe", (__SCMP_NR_BASE + 21) }, + { "pipe2", (__SCMP_NR_BASE + 291) }, + { "pivot_root", (__SCMP_NR_BASE + 151) }, + { "poll", (__SCMP_NR_BASE + 7) }, + { "ppoll", (__SCMP_NR_BASE + 265) }, + { "prctl", (__SCMP_NR_BASE + 153) }, + { "pread64", (__SCMP_NR_BASE + 16) }, + { "preadv", (__SCMP_NR_BASE + 293) }, + { "prlimit64", (__SCMP_NR_BASE + 302) }, + { "process_vm_readv", (__SCMP_NR_BASE + 309) }, + { "process_vm_writev", (__SCMP_NR_BASE + 310) }, { "prof", __PNR_prof }, { "profil", __PNR_profil }, - { "pselect6", (__NR_SYSCALL_BASE + 264) }, - { "ptrace", (__NR_SYSCALL_BASE + 99) }, - { "putpmsg", (__NR_SYSCALL_BASE + 175) }, - { "pwrite64", (__NR_SYSCALL_BASE + 17) }, - { "pwritev", (__NR_SYSCALL_BASE + 294) }, - { "query_module", (__NR_SYSCALL_BASE + 171) }, - { "quotactl", (__NR_SYSCALL_BASE + 172) }, - { "read", (__NR_SYSCALL_BASE + 0) }, - { "readahead", (__NR_SYSCALL_BASE + 179) }, + { "pselect6", (__SCMP_NR_BASE + 264) }, + { "ptrace", (__SCMP_NR_BASE + 99) }, + { "putpmsg", (__SCMP_NR_BASE + 175) }, + { "pwrite64", (__SCMP_NR_BASE + 17) }, + { "pwritev", (__SCMP_NR_BASE + 294) }, + { "query_module", (__SCMP_NR_BASE + 171) }, + { "quotactl", (__SCMP_NR_BASE + 172) }, + { "read", (__SCMP_NR_BASE + 0) }, + { "readahead", (__SCMP_NR_BASE + 179) }, { "readdir", __PNR_readdir }, - { "readlink", (__NR_SYSCALL_BASE + 87) }, - { "readlinkat", (__NR_SYSCALL_BASE + 261) }, - { "readv", (__NR_SYSCALL_BASE + 18) }, - { "reboot", (__NR_SYSCALL_BASE + 164) }, + { "readlink", (__SCMP_NR_BASE + 87) }, + { "readlinkat", (__SCMP_NR_BASE + 261) }, + { "readv", (__SCMP_NR_BASE + 18) }, + { "reboot", (__SCMP_NR_BASE + 164) }, { "recv", __PNR_recv }, - { "recvfrom", (__NR_SYSCALL_BASE + 44) }, - { "recvmmsg", (__NR_SYSCALL_BASE + 298) }, - { "recvmsg", (__NR_SYSCALL_BASE + 46) }, - { "remap_file_pages", (__NR_SYSCALL_BASE + 210) }, - { "removexattr", (__NR_SYSCALL_BASE + 189) }, - { "rename", (__NR_SYSCALL_BASE + 80) }, - { "renameat", (__NR_SYSCALL_BASE + 258) }, - { "renameat2", (__NR_SYSCALL_BASE + 315) }, - { "request_key", (__NR_SYSCALL_BASE + 244) }, - { "restart_syscall", (__NR_SYSCALL_BASE + 214) }, - { "rmdir", (__NR_SYSCALL_BASE + 82) }, - { "rt_sigaction", (__NR_SYSCALL_BASE + 13) }, - { "rt_sigpending", (__NR_SYSCALL_BASE + 125) }, - { "rt_sigprocmask", (__NR_SYSCALL_BASE + 14) }, - { "rt_sigqueueinfo", (__NR_SYSCALL_BASE + 127) }, - { "rt_sigreturn", (__NR_SYSCALL_BASE + 211) }, - { "rt_sigsuspend", (__NR_SYSCALL_BASE + 128) }, - { "rt_sigtimedwait", (__NR_SYSCALL_BASE + 126) }, - { "rt_tgsigqueueinfo", (__NR_SYSCALL_BASE + 295) }, + { "recvfrom", (__SCMP_NR_BASE + 44) }, + { "recvmmsg", (__SCMP_NR_BASE + 298) }, + { "recvmsg", (__SCMP_NR_BASE + 46) }, + { "remap_file_pages", (__SCMP_NR_BASE + 210) }, + { "removexattr", (__SCMP_NR_BASE + 189) }, + { "rename", (__SCMP_NR_BASE + 80) }, + { "renameat", (__SCMP_NR_BASE + 258) }, + { "renameat2", (__SCMP_NR_BASE + 315) }, + { "request_key", (__SCMP_NR_BASE + 244) }, + { "restart_syscall", (__SCMP_NR_BASE + 214) }, + { "rmdir", (__SCMP_NR_BASE + 82) }, + { "rt_sigaction", (__SCMP_NR_BASE + 13) }, + { "rt_sigpending", (__SCMP_NR_BASE + 125) }, + { "rt_sigprocmask", (__SCMP_NR_BASE + 14) }, + { "rt_sigqueueinfo", (__SCMP_NR_BASE + 127) }, + { "rt_sigreturn", (__SCMP_NR_BASE + 211) }, + { "rt_sigsuspend", (__SCMP_NR_BASE + 128) }, + { "rt_sigtimedwait", (__SCMP_NR_BASE + 126) }, + { "rt_tgsigqueueinfo", (__SCMP_NR_BASE + 295) }, { "rtas", __PNR_rtas }, { "s390_runtime_instr", __PNR_s390_runtime_instr }, - { "sched_get_priority_max", (__NR_SYSCALL_BASE + 143) }, - { "sched_get_priority_min", (__NR_SYSCALL_BASE + 144) }, - { "sched_getaffinity", (__NR_SYSCALL_BASE + 196) }, - { "sched_getattr", (__NR_SYSCALL_BASE + 314) }, - { "sched_getparam", (__NR_SYSCALL_BASE + 140) }, - { "sched_getscheduler", (__NR_SYSCALL_BASE + 142) }, - { "sched_rr_get_interval", (__NR_SYSCALL_BASE + 145) }, - { "sched_setaffinity", (__NR_SYSCALL_BASE + 195) }, - { "sched_setattr", (__NR_SYSCALL_BASE + 313) }, - { "sched_setparam", (__NR_SYSCALL_BASE + 139) }, - { "sched_setscheduler", (__NR_SYSCALL_BASE + 141) }, - { "sched_yield", (__NR_SYSCALL_BASE + 23) }, - { "seccomp", (__NR_SYSCALL_BASE + 316) }, + { "sched_get_priority_max", (__SCMP_NR_BASE + 143) }, + { "sched_get_priority_min", (__SCMP_NR_BASE + 144) }, + { "sched_getaffinity", (__SCMP_NR_BASE + 196) }, + { "sched_getattr", (__SCMP_NR_BASE + 314) }, + { "sched_getparam", (__SCMP_NR_BASE + 140) }, + { "sched_getscheduler", (__SCMP_NR_BASE + 142) }, + { "sched_rr_get_interval", (__SCMP_NR_BASE + 145) }, + { "sched_setaffinity", (__SCMP_NR_BASE + 195) }, + { "sched_setattr", (__SCMP_NR_BASE + 313) }, + { "sched_setparam", (__SCMP_NR_BASE + 139) }, + { "sched_setscheduler", (__SCMP_NR_BASE + 141) }, + { "sched_yield", (__SCMP_NR_BASE + 23) }, + { "seccomp", (__SCMP_NR_BASE + 316) }, { "security", __PNR_security }, { "select", __PNR_select }, - { "semctl", (__NR_SYSCALL_BASE + 64) }, - { "semget", (__NR_SYSCALL_BASE + 62) }, - { "semop", (__NR_SYSCALL_BASE + 63) }, - { "semtimedop", (__NR_SYSCALL_BASE + 215) }, + { "semctl", (__SCMP_NR_BASE + 64) }, + { "semget", (__SCMP_NR_BASE + 62) }, + { "semop", (__SCMP_NR_BASE + 63) }, + { "semtimedop", (__SCMP_NR_BASE + 215) }, { "send", __PNR_send }, - { "sendfile", (__NR_SYSCALL_BASE + 39) }, - { "sendfile64", (__NR_SYSCALL_BASE + 219) }, - { "sendmmsg", (__NR_SYSCALL_BASE + 307) }, - { "sendmsg", (__NR_SYSCALL_BASE + 45) }, - { "sendto", (__NR_SYSCALL_BASE + 43) }, - { "set_mempolicy", (__NR_SYSCALL_BASE + 233) }, - { "set_robust_list", (__NR_SYSCALL_BASE + 272) }, - { "set_thread_area", (__NR_SYSCALL_BASE + 246) }, - { "set_tid_address", (__NR_SYSCALL_BASE + 213) }, + { "sendfile", (__SCMP_NR_BASE + 39) }, + { "sendfile64", (__SCMP_NR_BASE + 219) }, + { "sendmmsg", (__SCMP_NR_BASE + 307) }, + { "sendmsg", (__SCMP_NR_BASE + 45) }, + { "sendto", (__SCMP_NR_BASE + 43) }, + { "set_mempolicy", (__SCMP_NR_BASE + 233) }, + { "set_robust_list", (__SCMP_NR_BASE + 272) }, + { "set_thread_area", (__SCMP_NR_BASE + 246) }, + { "set_tid_address", (__SCMP_NR_BASE + 213) }, { "set_tls", __PNR_set_tls }, - { "setdomainname", (__NR_SYSCALL_BASE + 166) }, - { "setfsgid", (__NR_SYSCALL_BASE + 121) }, + { "setdomainname", (__SCMP_NR_BASE + 166) }, + { "setfsgid", (__SCMP_NR_BASE + 121) }, { "setfsgid32", __PNR_setfsgid32 }, - { "setfsuid", (__NR_SYSCALL_BASE + 120) }, + { "setfsuid", (__SCMP_NR_BASE + 120) }, { "setfsuid32", __PNR_setfsuid32 }, - { "setgid", (__NR_SYSCALL_BASE + 104) }, + { "setgid", (__SCMP_NR_BASE + 104) }, { "setgid32", __PNR_setgid32 }, - { "setgroups", (__NR_SYSCALL_BASE + 114) }, + { "setgroups", (__SCMP_NR_BASE + 114) }, { "setgroups32", __PNR_setgroups32 }, - { "sethostname", (__NR_SYSCALL_BASE + 165) }, - { "setitimer", (__NR_SYSCALL_BASE + 36) }, - { "setns", (__NR_SYSCALL_BASE + 308) }, - { "setpgid", (__NR_SYSCALL_BASE + 107) }, - { "setpriority", (__NR_SYSCALL_BASE + 138) }, - { "setregid", (__NR_SYSCALL_BASE + 112) }, + { "sethostname", (__SCMP_NR_BASE + 165) }, + { "setitimer", (__SCMP_NR_BASE + 36) }, + { "setns", (__SCMP_NR_BASE + 308) }, + { "setpgid", (__SCMP_NR_BASE + 107) }, + { "setpriority", (__SCMP_NR_BASE + 138) }, + { "setregid", (__SCMP_NR_BASE + 112) }, { "setregid32", __PNR_setregid32 }, - { "setresgid", (__NR_SYSCALL_BASE + 117) }, + { "setresgid", (__SCMP_NR_BASE + 117) }, { "setresgid32", __PNR_setresgid32 }, - { "setresuid", (__NR_SYSCALL_BASE + 115) }, + { "setresuid", (__SCMP_NR_BASE + 115) }, { "setresuid32", __PNR_setresuid32 }, - { "setreuid", (__NR_SYSCALL_BASE + 111) }, + { "setreuid", (__SCMP_NR_BASE + 111) }, { "setreuid32", __PNR_setreuid32 }, - { "setrlimit", (__NR_SYSCALL_BASE + 155) }, - { "setsid", (__NR_SYSCALL_BASE + 110) }, - { "setsockopt", (__NR_SYSCALL_BASE + 53) }, - { "settimeofday", (__NR_SYSCALL_BASE + 159) }, - { "setuid", (__NR_SYSCALL_BASE + 103) }, + { "setrlimit", (__SCMP_NR_BASE + 155) }, + { "setsid", (__SCMP_NR_BASE + 110) }, + { "setsockopt", (__SCMP_NR_BASE + 53) }, + { "settimeofday", (__SCMP_NR_BASE + 159) }, + { "setuid", (__SCMP_NR_BASE + 103) }, { "setuid32", __PNR_setuid32 }, - { "setxattr", (__NR_SYSCALL_BASE + 180) }, + { "setxattr", (__SCMP_NR_BASE + 180) }, { "sgetmask", __PNR_sgetmask }, - { "shmat", (__NR_SYSCALL_BASE + 29) }, - { "shmctl", (__NR_SYSCALL_BASE + 30) }, - { "shmdt", (__NR_SYSCALL_BASE + 65) }, - { "shmget", (__NR_SYSCALL_BASE + 28) }, - { "shutdown", (__NR_SYSCALL_BASE + 47) }, + { "shmat", (__SCMP_NR_BASE + 29) }, + { "shmctl", (__SCMP_NR_BASE + 30) }, + { "shmdt", (__SCMP_NR_BASE + 65) }, + { "shmget", (__SCMP_NR_BASE + 28) }, + { "shutdown", (__SCMP_NR_BASE + 47) }, { "sigaction", __PNR_sigaction }, - { "sigaltstack", (__NR_SYSCALL_BASE + 129) }, + { "sigaltstack", (__SCMP_NR_BASE + 129) }, { "signal", __PNR_signal }, - { "signalfd", (__NR_SYSCALL_BASE + 280) }, - { "signalfd4", (__NR_SYSCALL_BASE + 287) }, + { "signalfd", (__SCMP_NR_BASE + 280) }, + { "signalfd4", (__SCMP_NR_BASE + 287) }, { "sigpending", __PNR_sigpending }, { "sigprocmask", __PNR_sigprocmask }, { "sigreturn", __PNR_sigreturn }, { "sigsuspend", __PNR_sigsuspend }, - { "socket", (__NR_SYSCALL_BASE + 40) }, + { "socket", (__SCMP_NR_BASE + 40) }, { "socketcall", __PNR_socketcall }, - { "socketpair", (__NR_SYSCALL_BASE + 52) }, - { "splice", (__NR_SYSCALL_BASE + 267) }, + { "socketpair", (__SCMP_NR_BASE + 52) }, + { "splice", (__SCMP_NR_BASE + 267) }, { "spu_create", __PNR_spu_create }, { "spu_run", __PNR_spu_run }, { "ssetmask", __PNR_ssetmask }, - { "stat", (__NR_SYSCALL_BASE + 4) }, + { "stat", (__SCMP_NR_BASE + 4) }, { "stat64", __PNR_stat64 }, - { "statfs", (__NR_SYSCALL_BASE + 134) }, - { "statfs64", (__NR_SYSCALL_BASE + 217) }, + { "statfs", (__SCMP_NR_BASE + 134) }, + { "statfs64", (__SCMP_NR_BASE + 217) }, { "stime", __PNR_stime }, { "stty", __PNR_stty }, { "subpage_prot", __PNR_subpage_prot }, { "swapcontext", __PNR_swapcontext }, - { "swapoff", (__NR_SYSCALL_BASE + 163) }, - { "swapon", (__NR_SYSCALL_BASE + 162) }, + { "swapoff", (__SCMP_NR_BASE + 163) }, + { "swapon", (__SCMP_NR_BASE + 162) }, { "switch_endian", __PNR_switch_endian }, - { "symlink", (__NR_SYSCALL_BASE + 86) }, - { "symlinkat", (__NR_SYSCALL_BASE + 260) }, - { "sync", (__NR_SYSCALL_BASE + 157) }, - { "sync_file_range", (__NR_SYSCALL_BASE + 268) }, + { "symlink", (__SCMP_NR_BASE + 86) }, + { "symlinkat", (__SCMP_NR_BASE + 260) }, + { "sync", (__SCMP_NR_BASE + 157) }, + { "sync_file_range", (__SCMP_NR_BASE + 268) }, { "sync_file_range2", __PNR_sync_file_range2 }, - { "syncfs", (__NR_SYSCALL_BASE + 306) }, + { "syncfs", (__SCMP_NR_BASE + 306) }, { "syscall", __PNR_syscall }, { "sys_debug_setcontext", __PNR_sys_debug_setcontext }, - { "sysfs", (__NR_SYSCALL_BASE + 136) }, - { "sysinfo", (__NR_SYSCALL_BASE + 97) }, - { "syslog", (__NR_SYSCALL_BASE + 101) }, - { "sysmips", (__NR_SYSCALL_BASE + 199) }, - { "tee", (__NR_SYSCALL_BASE + 269) }, - { "tgkill", (__NR_SYSCALL_BASE + 229) }, + { "sysfs", (__SCMP_NR_BASE + 136) }, + { "sysinfo", (__SCMP_NR_BASE + 97) }, + { "syslog", (__SCMP_NR_BASE + 101) }, + { "sysmips", (__SCMP_NR_BASE + 199) }, + { "tee", (__SCMP_NR_BASE + 269) }, + { "tgkill", (__SCMP_NR_BASE + 229) }, { "time", __PNR_time }, - { "timer_create", (__NR_SYSCALL_BASE + 220) }, - { "timer_delete", (__NR_SYSCALL_BASE + 224) }, - { "timer_getoverrun", (__NR_SYSCALL_BASE + 223) }, - { "timer_gettime", (__NR_SYSCALL_BASE + 222) }, - { "timer_settime", (__NR_SYSCALL_BASE + 221) }, - { "timerfd", (__NR_SYSCALL_BASE + 281) }, - { "timerfd_create", (__NR_SYSCALL_BASE + 284) }, - { "timerfd_gettime", (__NR_SYSCALL_BASE + 285) }, - { "timerfd_settime", (__NR_SYSCALL_BASE + 286) }, - { "times", (__NR_SYSCALL_BASE + 98) }, - { "tkill", (__NR_SYSCALL_BASE + 192) }, - { "truncate", (__NR_SYSCALL_BASE + 74) }, + { "timer_create", (__SCMP_NR_BASE + 220) }, + { "timer_delete", (__SCMP_NR_BASE + 224) }, + { "timer_getoverrun", (__SCMP_NR_BASE + 223) }, + { "timer_gettime", (__SCMP_NR_BASE + 222) }, + { "timer_settime", (__SCMP_NR_BASE + 221) }, + { "timerfd", (__SCMP_NR_BASE + 281) }, + { "timerfd_create", (__SCMP_NR_BASE + 284) }, + { "timerfd_gettime", (__SCMP_NR_BASE + 285) }, + { "timerfd_settime", (__SCMP_NR_BASE + 286) }, + { "times", (__SCMP_NR_BASE + 98) }, + { "tkill", (__SCMP_NR_BASE + 192) }, + { "truncate", (__SCMP_NR_BASE + 74) }, { "truncate64", __PNR_truncate64 }, { "tuxcall", __PNR_tuxcall }, { "ugetrlimit", __PNR_ugetrlimit }, { "ulimit", __PNR_ulimit }, - { "umask", (__NR_SYSCALL_BASE + 93) }, + { "umask", (__SCMP_NR_BASE + 93) }, { "umount", __PNR_umount }, - { "umount2", (__NR_SYSCALL_BASE + 161) }, - { "uname", (__NR_SYSCALL_BASE + 61) }, - { "unlink", (__NR_SYSCALL_BASE + 85) }, - { "unlinkat", (__NR_SYSCALL_BASE + 257) }, - { "unshare", (__NR_SYSCALL_BASE + 266) }, + { "umount2", (__SCMP_NR_BASE + 161) }, + { "uname", (__SCMP_NR_BASE + 61) }, + { "unlink", (__SCMP_NR_BASE + 85) }, + { "unlinkat", (__SCMP_NR_BASE + 257) }, + { "unshare", (__SCMP_NR_BASE + 266) }, { "uselib", __PNR_uselib }, { "usr26", __PNR_usr26 }, { "usr32", __PNR_usr32 }, - { "ustat", (__NR_SYSCALL_BASE + 133) }, - { "utime", (__NR_SYSCALL_BASE + 130) }, - { "utimensat", (__NR_SYSCALL_BASE + 279) }, - { "utimes", (__NR_SYSCALL_BASE + 230) }, + { "ustat", (__SCMP_NR_BASE + 133) }, + { "utime", (__SCMP_NR_BASE + 130) }, + { "utimensat", (__SCMP_NR_BASE + 279) }, + { "utimes", (__SCMP_NR_BASE + 230) }, { "vfork", __PNR_vfork }, - { "vhangup", (__NR_SYSCALL_BASE + 150) }, + { "vhangup", (__SCMP_NR_BASE + 150) }, { "vm86", __PNR_vm86 }, { "vm86old", __PNR_vm86old }, - { "vmsplice", (__NR_SYSCALL_BASE + 270) }, - { "vserver", (__NR_SYSCALL_BASE + 240) }, - { "wait4", (__NR_SYSCALL_BASE + 59) }, - { "waitid", (__NR_SYSCALL_BASE + 241) }, + { "vmsplice", (__SCMP_NR_BASE + 270) }, + { "vserver", (__SCMP_NR_BASE + 240) }, + { "wait4", (__SCMP_NR_BASE + 59) }, + { "waitid", (__SCMP_NR_BASE + 241) }, { "waitpid", __PNR_waitpid }, - { "write", (__NR_SYSCALL_BASE + 1) }, - { "writev", (__NR_SYSCALL_BASE + 19) }, + { "write", (__SCMP_NR_BASE + 1) }, + { "writev", (__SCMP_NR_BASE + 19) }, { NULL, __NR_SCMP_ERROR }, }; -- cgit v1.2.1