diff options
-rw-r--r-- | include/seccomp.h.in | 15 | ||||
-rw-r--r-- | src/arch-aarch64-syscalls.c | 4 | ||||
-rw-r--r-- | src/arch-arm-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-mips-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-mips64-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-mips64n32-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-parisc-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-ppc-syscalls.c | 8 | ||||
-rw-r--r-- | src/arch-ppc64-syscalls.c | 8 | ||||
-rw-r--r-- | src/arch-s390-syscalls.c | 4 | ||||
-rw-r--r-- | src/arch-s390x-syscalls.c | 4 | ||||
-rwxr-xr-x | src/arch-syscall-validate | 72 | ||||
-rw-r--r-- | src/arch-x32-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-x86-syscalls.c | 2 | ||||
-rw-r--r-- | src/arch-x86_64-syscalls.c | 2 |
15 files changed, 91 insertions, 40 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in index 3a02580..20ce45e 100644 --- a/include/seccomp.h.in +++ b/include/seccomp.h.in @@ -1690,6 +1690,21 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd); #define __NR_subpage_prot __PNR_subpage_prot #endif /* __NR_subpage_prot */ +#define __PNR_statx -10208 +#ifndef __NR_statx +#define __NR_statx __PNR_statx +#endif /* __NR_statx */ + +#define __PNR_io_pgetevents -10209 +#ifndef __NR_io_pgetevents +#define __NR_io_pgetevents __PNR_io_pgetevents +#endif /* __NR_io_pgetevents */ + +#define __PNR_rseq -10210 +#ifndef __NR_rseq +#define __NR_rseq __PNR_rseq +#endif /* __NR_rseq */ + #ifdef __cplusplus } #endif diff --git a/src/arch-aarch64-syscalls.c b/src/arch-aarch64-syscalls.c index 406df70..351143c 100644 --- a/src/arch-aarch64-syscalls.c +++ b/src/arch-aarch64-syscalls.c @@ -168,6 +168,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \ { "io_cancel", 3 }, { "io_destroy", 1 }, { "io_getevents", 4 }, + { "io_pgetevents", 292 }, { "io_setup", 0 }, { "io_submit", 2 }, { "ioctl", 29 }, @@ -177,7 +178,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \ { "ioprio_set", 30 }, { "ipc", __PNR_ipc }, { "kcmp", 272 }, - { "kexec_file_load", __PNR_kexec_file_load }, + { "kexec_file_load", 294 }, { "kexec_load", 104 }, { "keyctl", 219 }, { "kill", 129 }, @@ -296,6 +297,7 @@ const struct arch_syscall_def aarch64_syscall_table[] = { \ { "request_key", 218 }, { "restart_syscall", 128 }, { "rmdir", __PNR_rmdir }, + { "rseq", 293 }, { "rt_sigaction", 134 }, { "rt_sigpending", 136 }, { "rt_sigprocmask", 135 }, diff --git a/src/arch-arm-syscalls.c b/src/arch-arm-syscalls.c index e3fdc55..f543f65 100644 --- a/src/arch-arm-syscalls.c +++ b/src/arch-arm-syscalls.c @@ -180,6 +180,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \ { "io_cancel", (__SCMP_NR_BASE + 247) }, { "io_destroy", (__SCMP_NR_BASE + 244) }, { "io_getevents", (__SCMP_NR_BASE + 245) }, + { "io_pgetevents", (__SCMP_NR_BASE + 399) }, { "io_setup", (__SCMP_NR_BASE + 243) }, { "io_submit", (__SCMP_NR_BASE + 246) }, { "ioctl", (__SCMP_NR_BASE + 54) }, @@ -308,6 +309,7 @@ const struct arch_syscall_def arm_syscall_table[] = { \ { "request_key", (__SCMP_NR_BASE + 310) }, { "restart_syscall", (__SCMP_NR_BASE + 0) }, { "rmdir", (__SCMP_NR_BASE + 40) }, + { "rseq", (__SCMP_NR_BASE + 398) }, { "rt_sigaction", (__SCMP_NR_BASE + 174) }, { "rt_sigpending", (__SCMP_NR_BASE + 176) }, { "rt_sigprocmask", (__SCMP_NR_BASE + 175) }, diff --git a/src/arch-mips-syscalls.c b/src/arch-mips-syscalls.c index 2dee53f..670b92a 100644 --- a/src/arch-mips-syscalls.c +++ b/src/arch-mips-syscalls.c @@ -172,6 +172,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \ { "io_cancel", (__SCMP_NR_BASE + 245) }, { "io_destroy", (__SCMP_NR_BASE + 242) }, { "io_getevents", (__SCMP_NR_BASE + 243) }, + { "io_pgetevents", (__SCMP_NR_BASE + 368) }, { "io_setup", (__SCMP_NR_BASE + 241) }, { "io_submit", (__SCMP_NR_BASE + 244) }, { "ioctl", (__SCMP_NR_BASE + 54) }, @@ -300,6 +301,7 @@ const struct arch_syscall_def mips_syscall_table[] = { \ { "request_key", (__SCMP_NR_BASE + 281) }, { "restart_syscall", (__SCMP_NR_BASE + 253) }, { "rmdir", (__SCMP_NR_BASE + 40) }, + { "rseq", (__SCMP_NR_BASE + 367) }, { "rt_sigaction", (__SCMP_NR_BASE + 194) }, { "rt_sigpending", (__SCMP_NR_BASE + 196) }, { "rt_sigprocmask", (__SCMP_NR_BASE + 195) }, diff --git a/src/arch-mips64-syscalls.c b/src/arch-mips64-syscalls.c index 97c6874..454c681 100644 --- a/src/arch-mips64-syscalls.c +++ b/src/arch-mips64-syscalls.c @@ -172,6 +172,7 @@ const struct arch_syscall_def mips64_syscall_table[] = { \ { "io_cancel", (__SCMP_NR_BASE + 204) }, { "io_destroy", (__SCMP_NR_BASE + 201) }, { "io_getevents", (__SCMP_NR_BASE + 202) }, + { "io_pgetevents", (__SCMP_NR_BASE + 328) }, { "io_setup", (__SCMP_NR_BASE + 200) }, { "io_submit", (__SCMP_NR_BASE + 203) }, { "ioctl", (__SCMP_NR_BASE + 15) }, @@ -300,6 +301,7 @@ const struct arch_syscall_def mips64_syscall_table[] = { \ { "request_key", (__SCMP_NR_BASE + 240) }, { "restart_syscall", (__SCMP_NR_BASE + 213) }, { "rmdir", (__SCMP_NR_BASE + 82) }, + { "rseq", (__SCMP_NR_BASE + 327) }, { "rt_sigaction", (__SCMP_NR_BASE + 13) }, { "rt_sigpending", (__SCMP_NR_BASE + 125) }, { "rt_sigprocmask", (__SCMP_NR_BASE + 14) }, diff --git a/src/arch-mips64n32-syscalls.c b/src/arch-mips64n32-syscalls.c index a22d643..f5053fc 100644 --- a/src/arch-mips64n32-syscalls.c +++ b/src/arch-mips64n32-syscalls.c @@ -172,6 +172,7 @@ const struct arch_syscall_def mips64n32_syscall_table[] = { \ { "io_cancel", (__SCMP_NR_BASE + 204) }, { "io_destroy", (__SCMP_NR_BASE + 201) }, { "io_getevents", (__SCMP_NR_BASE + 202) }, + { "io_pgetevents", (__SCMP_NR_BASE + 332) }, { "io_setup", (__SCMP_NR_BASE + 200) }, { "io_submit", (__SCMP_NR_BASE + 203) }, { "ioctl", (__SCMP_NR_BASE + 15) }, @@ -300,6 +301,7 @@ const struct arch_syscall_def mips64n32_syscall_table[] = { \ { "request_key", (__SCMP_NR_BASE + 244) }, { "restart_syscall", (__SCMP_NR_BASE + 214) }, { "rmdir", (__SCMP_NR_BASE + 82) }, + { "rseq", (__SCMP_NR_BASE + 331) }, { "rt_sigaction", (__SCMP_NR_BASE + 13) }, { "rt_sigpending", (__SCMP_NR_BASE + 125) }, { "rt_sigprocmask", (__SCMP_NR_BASE + 14) }, diff --git a/src/arch-parisc-syscalls.c b/src/arch-parisc-syscalls.c index e84b533..0c7ef42 100644 --- a/src/arch-parisc-syscalls.c +++ b/src/arch-parisc-syscalls.c @@ -152,6 +152,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \ { "io_cancel", 219 }, { "io_destroy", 216 }, { "io_getevents", 217 }, + { "io_pgetevents", __PNR_io_pgetevents }, { "io_setup", 215 }, { "io_submit", 218 }, { "ioctl", 54 }, @@ -280,6 +281,7 @@ const struct arch_syscall_def parisc_syscall_table[] = { \ { "request_key", 265 }, { "restart_syscall", 0 }, { "rmdir", 40 }, + { "rseq", __PNR_rseq }, { "rt_sigaction", 174 }, { "rt_sigpending", 176 }, { "rt_sigprocmask", 175 }, diff --git a/src/arch-ppc-syscalls.c b/src/arch-ppc-syscalls.c index 7ff7fca..7272a63 100644 --- a/src/arch-ppc-syscalls.c +++ b/src/arch-ppc-syscalls.c @@ -169,6 +169,7 @@ const struct arch_syscall_def ppc_syscall_table[] = { \ { "io_cancel", 231 }, { "io_destroy", 228 }, { "io_getevents", 229 }, + { "io_pgetevents", 388 }, { "io_setup", 227 }, { "io_submit", 230 }, { "ioctl", 54 }, @@ -256,9 +257,9 @@ const struct arch_syscall_def ppc_syscall_table[] = { \ { "pipe", 42 }, { "pipe2", 317 }, { "pivot_root", 203 }, - { "pkey_alloc", __PNR_pkey_alloc }, - { "pkey_free", __PNR_pkey_free }, - { "pkey_mprotect", __PNR_pkey_mprotect }, + { "pkey_alloc", 384 }, + { "pkey_free", 385 }, + { "pkey_mprotect", 386 }, { "poll", 167 }, { "ppoll", 281 }, { "prctl", 171 }, @@ -297,6 +298,7 @@ const struct arch_syscall_def ppc_syscall_table[] = { \ { "request_key", 270 }, { "restart_syscall", 0 }, { "rmdir", 40 }, + { "rseq", 387 }, { "rt_sigaction", 173 }, { "rt_sigpending", 175 }, { "rt_sigprocmask", 174 }, diff --git a/src/arch-ppc64-syscalls.c b/src/arch-ppc64-syscalls.c index ee094bc..c7ff0a1 100644 --- a/src/arch-ppc64-syscalls.c +++ b/src/arch-ppc64-syscalls.c @@ -169,6 +169,7 @@ const struct arch_syscall_def ppc64_syscall_table[] = { \ { "io_cancel", 231 }, { "io_destroy", 228 }, { "io_getevents", 229 }, + { "io_pgetevents", 388 }, { "io_setup", 227 }, { "io_submit", 230 }, { "ioctl", 54 }, @@ -256,9 +257,9 @@ const struct arch_syscall_def ppc64_syscall_table[] = { \ { "pipe", 42 }, { "pipe2", 317 }, { "pivot_root", 203 }, - { "pkey_alloc", __PNR_pkey_alloc }, - { "pkey_free", __PNR_pkey_free }, - { "pkey_mprotect", __PNR_pkey_mprotect }, + { "pkey_alloc", 384 }, + { "pkey_free", 385 }, + { "pkey_mprotect", 386 }, { "poll", 167 }, { "ppoll", 281 }, { "prctl", 171 }, @@ -297,6 +298,7 @@ const struct arch_syscall_def ppc64_syscall_table[] = { \ { "request_key", 270 }, { "restart_syscall", 0 }, { "rmdir", 40 }, + { "rseq", 387 }, { "rt_sigaction", 173 }, { "rt_sigpending", 175 }, { "rt_sigprocmask", 174 }, diff --git a/src/arch-s390-syscalls.c b/src/arch-s390-syscalls.c index 6024eaf..a1403be 100644 --- a/src/arch-s390-syscalls.c +++ b/src/arch-s390-syscalls.c @@ -152,6 +152,7 @@ const struct arch_syscall_def s390_syscall_table[] = { \ { "io_cancel", 247 }, { "io_destroy", 244 }, { "io_getevents", 245 }, + { "io_pgetevents", 382 }, { "io_setup", 243 }, { "io_submit", 246 }, { "ioctl", 54 }, @@ -161,7 +162,7 @@ const struct arch_syscall_def s390_syscall_table[] = { \ { "ioprio_set", 282 }, { "ipc", 117 }, { "kcmp", 343 }, - { "kexec_file_load", __PNR_kexec_file_load }, + { "kexec_file_load", 381 }, { "kexec_load", 277 }, { "keyctl", 280 }, { "kill", 37 }, @@ -280,6 +281,7 @@ const struct arch_syscall_def s390_syscall_table[] = { \ { "request_key", 279 }, { "restart_syscall", 7 }, { "rmdir", 40 }, + { "rseq", 383 }, { "rt_sigaction", 174 }, { "rt_sigpending", 176 }, { "rt_sigprocmask", 175 }, diff --git a/src/arch-s390x-syscalls.c b/src/arch-s390x-syscalls.c index 74d1e57..e22ccae 100644 --- a/src/arch-s390x-syscalls.c +++ b/src/arch-s390x-syscalls.c @@ -152,6 +152,7 @@ const struct arch_syscall_def s390x_syscall_table[] = { \ { "io_cancel", 247 }, { "io_destroy", 244 }, { "io_getevents", 245 }, + { "io_pgetevents", 382 }, { "io_setup", 243 }, { "io_submit", 246 }, { "ioctl", 54 }, @@ -161,7 +162,7 @@ const struct arch_syscall_def s390x_syscall_table[] = { \ { "ioprio_set", 282 }, { "ipc", 117 }, { "kcmp", 343 }, - { "kexec_file_load", __PNR_kexec_file_load }, + { "kexec_file_load", 381 }, { "kexec_load", 277 }, { "keyctl", 280 }, { "kill", 37 }, @@ -280,6 +281,7 @@ const struct arch_syscall_def s390x_syscall_table[] = { \ { "request_key", 279 }, { "restart_syscall", 7 }, { "rmdir", 40 }, + { "rseq", 383 }, { "rt_sigaction", 174 }, { "rt_sigpending", 176 }, { "rt_sigprocmask", 175 }, diff --git a/src/arch-syscall-validate b/src/arch-syscall-validate index 97c3378..b9e0bce 100755 --- a/src/arch-syscall-validate +++ b/src/arch-syscall-validate @@ -196,6 +196,7 @@ function dump_lib_arm() { function dump_sys_aarch64() { gcc -E -dM -I$1/include/uapi \ -D__BITS_PER_LONG=64 -D__ARCH_WANT_RENAMEAT \ + -D__ARCH_WANT_NEW_STAT \ $1/include/uapi/asm-generic/unistd.h | \ grep "^#define __NR_" | \ sed -e '/__NR_syscalls/d' | \ @@ -235,11 +236,14 @@ function dump_lib_aarch64() { # Dump the architecture's syscall table to stdout. # function dump_sys_mips() { + pushd $1 2>&1 > /dev/null + make ARCH=mips archheaders + popd 2>&1 > /dev/null # _MIPS_SIM values: # _MIPS_SIM_ABI32 == 1 # _MIPS_SIM_NABI32 == 2 # _MIPS_SIM_ABI64 == 3 - gcc -E -dM -I$1/arch/mips/include/uapi -D_MIPS_SIM=1 $1/arch/mips/include/uapi/asm/unistd.h | \ + gcc -E -dM -I$1/arch/mips/include/uapi -I$1/arch/mips/include/generated/uapi -D_MIPS_SIM=1 $1/arch/mips/include/uapi/asm/unistd.h | \ grep "^#define __NR_" | \ grep -v "^#define __NR_O32_" | \ grep -v "^#define __NR_N32_" | \ @@ -269,11 +273,14 @@ function dump_lib_mips() { # Dump the architecture's syscall table to stdout. # function dump_sys_mips64() { + pushd $1 2>&1 > /dev/null + make ARCH=mips archheaders + popd 2>&1 > /dev/null # _MIPS_SIM values: # _MIPS_SIM_ABI32 == 1 # _MIPS_SIM_NABI32 == 2 # _MIPS_SIM_ABI64 == 3 - gcc -E -dM -I$1/arch/mips/include/uapi -D_MIPS_SIM=3 $1/arch/mips/include/uapi/asm/unistd.h | \ + gcc -E -dM -I$1/arch/mips/include/uapi -I$1/arch/mips/include/generated/uapi -D_MIPS_SIM=3 $1/arch/mips/include/uapi/asm/unistd.h | \ grep "^#define __NR_" | \ grep -v "^#define __NR_O32_" | \ grep -v "^#define __NR_N32_" | \ @@ -303,11 +310,14 @@ function dump_lib_mips64() { # Dump the architecture's syscall table to stdout. # function dump_sys_mips64n32() { + pushd $1 2>&1 > /dev/null + make ARCH=mips archheaders + popd 2>&1 > /dev/null # _MIPS_SIM values: # _MIPS_SIM_ABI32 == 1 # _MIPS_SIM_NABI32 == 2 # _MIPS_SIM_ABI64 == 3 - gcc -E -dM -I$1/arch/mips/include/uapi -D_MIPS_SIM=2 $1/arch/mips/include/uapi/asm/unistd.h | \ + gcc -E -dM -I$1/arch/mips/include/uapi -I$1/arch/mips/include/generated/uapi -D_MIPS_SIM=2 $1/arch/mips/include/uapi/asm/unistd.h | \ grep "^#define __NR_" | \ grep -v "^#define __NR_O32_" | \ grep -v "^#define __NR_N32_" | \ @@ -337,10 +347,13 @@ function dump_lib_mips64n32() { # Dump the architecture's syscall table to stdout. # function dump_sys_ppc() { - gcc -E -dM $1/arch/powerpc/include/uapi/asm/unistd.h | \ - grep "^#define __NR_" | \ - sed -e 's/#define[ \t]\+__NR_\([a-z0-9_]\+\)[ \t]\+\([0-9]\+\)/\1\t\2/' | \ - sort + cat $1/arch/powerpc/kernel/syscalls/syscall.tbl | grep -v "^#" | \ + sed -ne "/[0-9]\+[ \t]\+\(common\|nospu\|32\)/p" | \ + awk '{ print $3"\t"$1 }' | sort | (cat -; \ + (cat $1/arch/powerpc/include/uapi/asm/unistd.h | \ + grep "^#define __PPC_NR_" | grep -v "^#define __PPC_NR_BASE" | \ + sed -e 's/#define _PPC_NR_\([a-z0-9_]*\)[ \t]\+(__PPC_NR_BASE+\(.*\))/\1 983040 + \2/' | \ + awk '{ print $1"\t"$2+$4 }')) | sort } # @@ -361,10 +374,13 @@ function dump_lib_ppc() { # Dump the architecture's syscall table to stdout. # function dump_sys_ppc64() { - gcc -E -dM -D__powerpc64__ $1/arch/powerpc/include/uapi/asm/unistd.h | \ - grep "^#define __NR_" | \ - sed -e 's/#define[ \t]\+__NR_\([a-z0-9_]\+\)[ \t]\+\([0-9]\+\)/\1\t\2/' | \ - sort + cat $1/arch/powerpc/kernel/syscalls/syscall.tbl | grep -v "^#" | \ + sed -ne "/[0-9]\+[ \t]\+\(common\|nospu\|64\)/p" | \ + awk '{ print $3"\t"$1 }' | sort | (cat -; \ + (cat $1/arch/powerpc/include/uapi/asm/unistd.h | \ + grep "^#define __PPC_NR_" | grep -v "^#define __PPC_NR_BASE" | \ + sed -e 's/#define _PPC_NR_\([a-z0-9_]*\)[ \t]\+(__PPC_NR_BASE+\(.*\))/\1 983040 + \2/' | \ + awk '{ print $1"\t"$2+$4 }')) | sort } # @@ -385,16 +401,13 @@ function dump_lib_ppc64() { # Dump the architecture's syscall table to stdout. # function dump_sys_s390() { - gcc -E -dM $1/arch/s390/include/uapi/asm/unistd.h | grep __NR | \ - sed -e 's/#define[ \t]\+__NR_\([^ \t]\+\)[ \t]\+(__NR_timer_create[ \t]*+[ \t]*\([0-9]\+\)).*/\1\t254 + \2/' | \ - while read line; do \ - if echo "$line" | grep -q "+"; then \ - echo "$line" | awk '{ print $1"\t"$2+$4 }'; \ - else \ - echo "$line"; \ - fi; \ - done | \ - sed 's/#define __NR_//g' | sed 's/ /\t/g' | sort + cat $1/arch/s390/kernel/syscalls/syscall.tbl | grep -v "^#" | \ + sed -ne "/[0-9]\+[ \t]\+\(common\|32\)/p" | \ + awk '{ print $3"\t"$1 }' | sort | (cat -; \ + (cat $1/arch/s390/include/uapi/asm/unistd.h | \ + grep "^#define __PPC_NR_" | grep -v "^#define __PPC_NR_BASE" | \ + sed -e 's/#define _PPC_NR_\([a-z0-9_]*\)[ \t]\+(__PPC_NR_BASE+\(.*\))/\1 983040 + \2/' | \ + awk '{ print $1"\t"$2+$4 }')) | sort } # @@ -415,16 +428,13 @@ function dump_lib_s390() { # Dump the architecture's syscall table to stdout. # function dump_sys_s390x() { - gcc -E -dM -D __s390x__ $1/arch/s390/include/uapi/asm/unistd.h | grep __NR | \ - sed -e 's/#define[ \t]\+__NR_\([^ \t]\+\)[ \t]\+(__NR_timer_create[ \t]*+[ \t]*\([0-9]\+\)).*/\1\t254 + \2/' | \ - while read line; do \ - if echo "$line" | grep -q "+"; then \ - echo "$line" | awk '{ print $1"\t"$2+$4 }'; \ - else \ - echo "$line"; \ - fi; \ - done | \ - sed 's/#define __NR_//g' | sed 's/ /\t/g' | sort + cat $1/arch/s390/kernel/syscalls/syscall.tbl | grep -v "^#" | \ + sed -ne "/[0-9]\+[ \t]\+\(common\|64\)/p" | \ + awk '{ print $3"\t"$1 }' | sort | (cat -; \ + (cat $1/arch/s390/include/uapi/asm/unistd.h | \ + grep "^#define __PPC_NR_" | grep -v "^#define __PPC_NR_BASE" | \ + sed -e 's/#define _PPC_NR_\([a-z0-9_]*\)[ \t]\+(__PPC_NR_BASE+\(.*\))/\1 983040 + \2/' | \ + awk '{ print $1"\t"$2+$4 }')) | sort } # diff --git a/src/arch-x32-syscalls.c b/src/arch-x32-syscalls.c index 8a6cd64..65f6418 100644 --- a/src/arch-x32-syscalls.c +++ b/src/arch-x32-syscalls.c @@ -168,6 +168,7 @@ const struct arch_syscall_def x32_syscall_table[] = { \ { "io_cancel", (X32_SYSCALL_BIT + 210) }, { "io_destroy", (X32_SYSCALL_BIT + 207) }, { "io_getevents", (X32_SYSCALL_BIT + 208) }, + { "io_pgetevents", (X32_SYSCALL_BIT + 333) }, { "io_setup", (X32_SYSCALL_BIT + 543) }, { "io_submit", (X32_SYSCALL_BIT + 544) }, { "ioctl", (X32_SYSCALL_BIT + 514) }, @@ -296,6 +297,7 @@ const struct arch_syscall_def x32_syscall_table[] = { \ { "request_key", (X32_SYSCALL_BIT + 249) }, { "restart_syscall", (X32_SYSCALL_BIT + 219) }, { "rmdir", (X32_SYSCALL_BIT + 84) }, + { "rseq", (X32_SYSCALL_BIT + 334) }, { "rt_sigaction", (X32_SYSCALL_BIT + 512) }, { "rt_sigpending", (X32_SYSCALL_BIT + 522) }, { "rt_sigprocmask", (X32_SYSCALL_BIT + 14) }, diff --git a/src/arch-x86-syscalls.c b/src/arch-x86-syscalls.c index abce705..1f4573b 100644 --- a/src/arch-x86-syscalls.c +++ b/src/arch-x86-syscalls.c @@ -168,6 +168,7 @@ const struct arch_syscall_def x86_syscall_table[] = { \ { "io_cancel", 249 }, { "io_destroy", 246 }, { "io_getevents", 247 }, + { "io_pgetevents", 385 }, { "io_setup", 245 }, { "io_submit", 248 }, { "ioctl", 54 }, @@ -296,6 +297,7 @@ const struct arch_syscall_def x86_syscall_table[] = { \ { "request_key", 287 }, { "restart_syscall", 0 }, { "rmdir", 40 }, + { "rseq", 386 }, { "rt_sigaction", 174 }, { "rt_sigpending", 176 }, { "rt_sigprocmask", 175 }, diff --git a/src/arch-x86_64-syscalls.c b/src/arch-x86_64-syscalls.c index 203dafa..b07700d 100644 --- a/src/arch-x86_64-syscalls.c +++ b/src/arch-x86_64-syscalls.c @@ -168,6 +168,7 @@ const struct arch_syscall_def x86_64_syscall_table[] = { \ { "io_cancel", 210 }, { "io_destroy", 207 }, { "io_getevents", 208 }, + { "io_pgetevents", 333 }, { "io_setup", 206 }, { "io_submit", 209 }, { "ioctl", 16 }, @@ -296,6 +297,7 @@ const struct arch_syscall_def x86_64_syscall_table[] = { \ { "request_key", 249 }, { "restart_syscall", 219 }, { "rmdir", 84 }, + { "rseq", 334 }, { "rt_sigaction", 13 }, { "rt_sigpending", 127 }, { "rt_sigprocmask", 14 }, |