aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-09-15 14:15:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-15 16:02:37 +0200
commit66393d1884cb6a6d36dcbe5ad772ae9cf8f2adad (patch)
treea8747f057372ed2e2a451a0c0988b99f70a012dc /executor
parent4f60e46e498eedc0d9407d11d1078208c37d19f1 (diff)
pkg/compiler: don't genererate missing syscalls
We used to generate them only because manager had no idea what arch it is testing. So syscalls numbers had to match between all arches. This is not needed anymore. Also don't generate unreferenced structs/resources.
Diffstat (limited to 'executor')
-rw-r--r--executor/syscalls.h286
1 files changed, 5 insertions, 281 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index c530a1359..ae582884a 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -7,7 +7,7 @@ struct call_t {
#if defined(__i386__) || 0
#define GOARCH "386"
-#define SYZ_REVISION "fb26afa29ccd7317f2c0796cf1386b493eeb955f"
+#define SYZ_REVISION "817d5dcfa9dec456b49c7cc6ca36ba9b9d5c1446"
#define __NR_syz_emit_ethernet 1000000
#define __NR_syz_extract_tcp_res 1000001
#define __NR_syz_fuse_mount 1000002
@@ -18,17 +18,6 @@ struct call_t {
#define __NR_syz_test 1000007
static call_t syscalls[] = {
- {"accept", -1},
- {"accept$alg", -1},
- {"accept$ax25", -1},
- {"accept$inet", -1},
- {"accept$inet6", -1},
- {"accept$ipx", -1},
- {"accept$llc", -1},
- {"accept$netrom", -1},
- {"accept$nfc_llcp", -1},
- {"accept$packet", -1},
- {"accept$unix", -1},
{"accept4", 364},
{"accept4$ax25", 364},
{"accept4$inet", 364},
@@ -462,13 +451,6 @@ static call_t syscalls[] = {
{"ioctl$GIO_SCRNMAP", 54},
{"ioctl$GIO_UNIMAP", 54},
{"ioctl$GIO_UNISCRNMAP", 54},
- {"ioctl$ION_IOC_ALLOC", -1},
- {"ioctl$ION_IOC_CUSTOM", -1},
- {"ioctl$ION_IOC_FREE", -1},
- {"ioctl$ION_IOC_IMPORT", -1},
- {"ioctl$ION_IOC_MAP", -1},
- {"ioctl$ION_IOC_SHARE", -1},
- {"ioctl$ION_IOC_SYNC", -1},
{"ioctl$KDADDIO", 54},
{"ioctl$KDDELIO", 54},
{"ioctl$KDDISABIO", 54},
@@ -494,7 +476,6 @@ static call_t syscalls[] = {
{"ioctl$KDSKBSENT", 54},
{"ioctl$KIOCSOUND", 54},
{"ioctl$KVM_ARM_SET_DEVICE_ADDR", 54},
- {"ioctl$KVM_ARM_VCPU_INIT", -1},
{"ioctl$KVM_ASSIGN_DEV_IRQ", 54},
{"ioctl$KVM_ASSIGN_PCI_DEVICE", 54},
{"ioctl$KVM_ASSIGN_SET_INTX_MASK", 54},
@@ -710,10 +691,6 @@ static call_t syscalls[] = {
{"ioctl$TCSETSF", 54},
{"ioctl$TCSETSW", 54},
{"ioctl$TCXONC", 54},
- {"ioctl$TE_IOCTL_CLOSE_CLIENT_SESSION", -1},
- {"ioctl$TE_IOCTL_LAUNCH_OPERATION", -1},
- {"ioctl$TE_IOCTL_OPEN_CLIENT_SESSION", -1},
- {"ioctl$TE_IOCTL_SS_CMD", -1},
{"ioctl$TIOCCBRK", 54},
{"ioctl$TIOCCONS", 54},
{"ioctl$TIOCEXCL", 54},
@@ -941,16 +918,6 @@ static call_t syscalls[] = {
{"mq_timedsend", 279},
{"mq_unlink", 278},
{"mremap", 163},
- {"msgctl$IPC_INFO", -1},
- {"msgctl$IPC_RMID", -1},
- {"msgctl$IPC_SET", -1},
- {"msgctl$IPC_STAT", -1},
- {"msgctl$MSG_INFO", -1},
- {"msgctl$MSG_STAT", -1},
- {"msgget", -1},
- {"msgget$private", -1},
- {"msgrcv", -1},
- {"msgsnd", -1},
{"msync", 144},
{"munlock", 151},
{"munlockall", 153},
@@ -1083,23 +1050,6 @@ static call_t syscalls[] = {
{"sched_yield", 158},
{"seccomp", 354},
{"select", 82},
- {"semctl$GETALL", -1},
- {"semctl$GETNCNT", -1},
- {"semctl$GETPID", -1},
- {"semctl$GETVAL", -1},
- {"semctl$GETZCNT", -1},
- {"semctl$IPC_INFO", -1},
- {"semctl$IPC_RMID", -1},
- {"semctl$IPC_SET", -1},
- {"semctl$IPC_STAT", -1},
- {"semctl$SEM_INFO", -1},
- {"semctl$SEM_STAT", -1},
- {"semctl$SETALL", -1},
- {"semctl$SETVAL", -1},
- {"semget", -1},
- {"semget$private", -1},
- {"semop", -1},
- {"semtimedop", -1},
{"sendfile", 187},
{"sendmmsg", 345},
{"sendmmsg$alg", 345},
@@ -1330,18 +1280,6 @@ static call_t syscalls[] = {
{"setsockopt$sock_void", 366},
{"setuid", 23},
{"setxattr", 226},
- {"shmat", -1},
- {"shmctl$IPC_INFO", -1},
- {"shmctl$IPC_RMID", -1},
- {"shmctl$IPC_SET", -1},
- {"shmctl$IPC_STAT", -1},
- {"shmctl$SHM_INFO", -1},
- {"shmctl$SHM_LOCK", -1},
- {"shmctl$SHM_STAT", -1},
- {"shmctl$SHM_UNLOCK", -1},
- {"shmdt", -1},
- {"shmget", -1},
- {"shmget$private", -1},
{"shutdown", 373},
{"sigaltstack", 186},
{"signalfd", 321},
@@ -1567,7 +1505,7 @@ static call_t syscalls[] = {
#if defined(__x86_64__) || 0
#define GOARCH "amd64"
-#define SYZ_REVISION "c14ec0f07c2984481a0bf1453ea928549382eb25"
+#define SYZ_REVISION "2110332256642767b7334820437051cbaa3bdec8"
#define __NR_syz_emit_ethernet 1000000
#define __NR_syz_extract_tcp_res 1000001
#define __NR_syz_fuse_mount 1000002
@@ -2054,7 +1992,6 @@ static call_t syscalls[] = {
{"ioctl$KDSKBSENT", 16},
{"ioctl$KIOCSOUND", 16},
{"ioctl$KVM_ARM_SET_DEVICE_ADDR", 16},
- {"ioctl$KVM_ARM_VCPU_INIT", -1},
{"ioctl$KVM_ASSIGN_DEV_IRQ", 16},
{"ioctl$KVM_ASSIGN_PCI_DEVICE", 16},
{"ioctl$KVM_ASSIGN_SET_INTX_MASK", 16},
@@ -3127,7 +3064,7 @@ static call_t syscalls[] = {
#if defined(__arm__) || 0
#define GOARCH "arm"
-#define SYZ_REVISION "f73cb445fdead3417b165eec037a0d892cc3253e"
+#define SYZ_REVISION "41372f11d60aad90c991926434f714d736320cb1"
#define __NR_syz_emit_ethernet 1000000
#define __NR_syz_extract_tcp_res 1000001
#define __NR_syz_fuse_mount 1000002
@@ -3160,7 +3097,6 @@ static call_t syscalls[] = {
{"acct", 9437235},
{"add_key", 9437493},
{"alarm", 9437211},
- {"arch_prctl", -1},
{"bind", 9437466},
{"bind$alg", 9437466},
{"bind$ax25", 9437466},
@@ -3243,7 +3179,6 @@ static call_t syscalls[] = {
{"exit", 9437185},
{"exit_group", 9437432},
{"faccessat", 9437518},
- {"fadvise64", -1},
{"fallocate", 9437536},
{"fanotify_init", 9437551},
{"fanotify_mark", 9437552},
@@ -3279,10 +3214,8 @@ static call_t syscalls[] = {
{"ftruncate", 9437277},
{"futex", 9437424},
{"futimesat", 9437510},
- {"get_kernel_syms", -1},
{"get_mempolicy", 9437504},
{"get_robust_list", 9437523},
- {"get_thread_area", -1},
{"getcwd", 9437367},
{"getdents", 9437325},
{"getdents64", 9437401},
@@ -3582,13 +3515,6 @@ static call_t syscalls[] = {
{"ioctl$GIO_SCRNMAP", 9437238},
{"ioctl$GIO_UNIMAP", 9437238},
{"ioctl$GIO_UNISCRNMAP", 9437238},
- {"ioctl$ION_IOC_ALLOC", -1},
- {"ioctl$ION_IOC_CUSTOM", -1},
- {"ioctl$ION_IOC_FREE", -1},
- {"ioctl$ION_IOC_IMPORT", -1},
- {"ioctl$ION_IOC_MAP", -1},
- {"ioctl$ION_IOC_SHARE", -1},
- {"ioctl$ION_IOC_SYNC", -1},
{"ioctl$KDADDIO", 9437238},
{"ioctl$KDDELIO", 9437238},
{"ioctl$KDDISABIO", 9437238},
@@ -3633,30 +3559,18 @@ static call_t syscalls[] = {
{"ioctl$KVM_ENABLE_CAP", 9437238},
{"ioctl$KVM_ENABLE_CAP_CPU", 9437238},
{"ioctl$KVM_GET_CLOCK", 9437238},
- {"ioctl$KVM_GET_CPUID2", -1},
- {"ioctl$KVM_GET_DEBUGREGS", -1},
{"ioctl$KVM_GET_DEVICE_ATTR", 9437238},
{"ioctl$KVM_GET_DIRTY_LOG", 9437238},
- {"ioctl$KVM_GET_EMULATED_CPUID", -1},
{"ioctl$KVM_GET_FPU", 9437238},
{"ioctl$KVM_GET_IRQCHIP", 9437238},
- {"ioctl$KVM_GET_LAPIC", -1},
{"ioctl$KVM_GET_MP_STATE", 9437238},
- {"ioctl$KVM_GET_MSRS", -1},
- {"ioctl$KVM_GET_MSR_INDEX_LIST", -1},
{"ioctl$KVM_GET_NR_MMU_PAGES", 9437238},
{"ioctl$KVM_GET_ONE_REG", 9437238},
- {"ioctl$KVM_GET_PIT", -1},
- {"ioctl$KVM_GET_PIT2", -1},
{"ioctl$KVM_GET_REGS", 9437238},
{"ioctl$KVM_GET_REG_LIST", 9437238},
{"ioctl$KVM_GET_SREGS", 9437238},
- {"ioctl$KVM_GET_SUPPORTED_CPUID", -1},
{"ioctl$KVM_GET_TSC_KHZ", 9437238},
- {"ioctl$KVM_GET_VCPU_EVENTS", -1},
{"ioctl$KVM_GET_VCPU_MMAP_SIZE", 9437238},
- {"ioctl$KVM_GET_XCRS", -1},
- {"ioctl$KVM_GET_XSAVE", -1},
{"ioctl$KVM_HAS_DEVICE_ATTR", 9437238},
{"ioctl$KVM_INTERRUPT", 9437238},
{"ioctl$KVM_IOEVENTFD", 9437238},
@@ -3678,22 +3592,15 @@ static call_t syscalls[] = {
{"ioctl$KVM_S390_VCPU_FAULT", 9437238},
{"ioctl$KVM_SET_BOOT_CPU_ID", 9437238},
{"ioctl$KVM_SET_CLOCK", 9437238},
- {"ioctl$KVM_SET_CPUID", -1},
- {"ioctl$KVM_SET_CPUID2", -1},
- {"ioctl$KVM_SET_DEBUGREGS", -1},
{"ioctl$KVM_SET_DEVICE_ATTR", 9437238},
{"ioctl$KVM_SET_FPU", 9437238},
{"ioctl$KVM_SET_GSI_ROUTING", 9437238},
{"ioctl$KVM_SET_GUEST_DEBUG", 9437238},
{"ioctl$KVM_SET_IDENTITY_MAP_ADDR", 9437238},
{"ioctl$KVM_SET_IRQCHIP", 9437238},
- {"ioctl$KVM_SET_LAPIC", -1},
{"ioctl$KVM_SET_MP_STATE", 9437238},
- {"ioctl$KVM_SET_MSRS", -1},
{"ioctl$KVM_SET_NR_MMU_PAGES", 9437238},
{"ioctl$KVM_SET_ONE_REG", 9437238},
- {"ioctl$KVM_SET_PIT", -1},
- {"ioctl$KVM_SET_PIT2", -1},
{"ioctl$KVM_SET_REGS", 9437238},
{"ioctl$KVM_SET_SIGNAL_MASK", 9437238},
{"ioctl$KVM_SET_SREGS", 9437238},
@@ -3701,9 +3608,6 @@ static call_t syscalls[] = {
{"ioctl$KVM_SET_TSS_ADDR", 9437238},
{"ioctl$KVM_SET_USER_MEMORY_REGION", 9437238},
{"ioctl$KVM_SET_VAPIC_ADDR", 9437238},
- {"ioctl$KVM_SET_VCPU_EVENTS", -1},
- {"ioctl$KVM_SET_XCRS", -1},
- {"ioctl$KVM_SET_XSAVE", -1},
{"ioctl$KVM_SIGNAL_MSI", 9437238},
{"ioctl$KVM_SMI", 9437238},
{"ioctl$KVM_TPR_ACCESS_REPORTING", 9437238},
@@ -3711,8 +3615,6 @@ static call_t syscalls[] = {
{"ioctl$KVM_UNREGISTER_COALESCED_MMIO", 9437238},
{"ioctl$KVM_X86_GET_MCE_CAP_SUPPORTED", 9437238},
{"ioctl$KVM_X86_SETUP_MCE", 9437238},
- {"ioctl$KVM_X86_SET_MCE", -1},
- {"ioctl$KVM_XEN_HVM_CONFIG", -1},
{"ioctl$LOOP_CHANGE_FD", 9437238},
{"ioctl$LOOP_CLR_FD", 9437238},
{"ioctl$LOOP_CTL_ADD", 9437238},
@@ -3830,10 +3732,6 @@ static call_t syscalls[] = {
{"ioctl$TCSETSF", 9437238},
{"ioctl$TCSETSW", 9437238},
{"ioctl$TCXONC", 9437238},
- {"ioctl$TE_IOCTL_CLOSE_CLIENT_SESSION", -1},
- {"ioctl$TE_IOCTL_LAUNCH_OPERATION", -1},
- {"ioctl$TE_IOCTL_OPEN_CLIENT_SESSION", -1},
- {"ioctl$TE_IOCTL_SS_CMD", -1},
{"ioctl$TIOCCBRK", 9437238},
{"ioctl$TIOCCONS", 9437238},
{"ioctl$TIOCEXCL", 9437238},
@@ -3988,8 +3886,6 @@ static call_t syscalls[] = {
{"ioctl$sock_netrom_TIOCOUTQ", 9437238},
{"ioctl$sock_proto_private", 9437238},
{"ioctl$void", 9437238},
- {"ioperm", -1},
- {"iopl", -1},
{"ioprio_get$pid", 9437499},
{"ioprio_get$uid", 9437499},
{"ioprio_set$pid", 9437498},
@@ -4036,7 +3932,6 @@ static call_t syscalls[] = {
{"mbind", 9437503},
{"membarrier", 9437573},
{"memfd_create", 9437569},
- {"migrate_pages", -1},
{"mincore", 9437403},
{"mkdir", 9437223},
{"mkdirat", 9437507},
@@ -4047,10 +3942,6 @@ static call_t syscalls[] = {
{"mlock2", 9437574},
{"mlockall", 9437336},
{"mmap", 9437274},
- {"modify_ldt$read", -1},
- {"modify_ldt$read_default", -1},
- {"modify_ldt$write", -1},
- {"modify_ldt$write2", -1},
{"mount", 9437205},
{"move_pages", 9437528},
{"mprotect", 9437309},
@@ -4244,7 +4135,6 @@ static call_t syscalls[] = {
{"sendto$unix", 9437474},
{"set_mempolicy", 9437505},
{"set_robust_list", 9437522},
- {"set_thread_area", -1},
{"set_tid_address", 9437440},
{"setfsgid", 9437323},
{"setfsuid", 9437322},
@@ -4526,7 +4416,6 @@ static call_t syscalls[] = {
{"symlink", 9437267},
{"symlinkat", 9437515},
{"sync", 9437220},
- {"sync_file_range", -1},
{"syncfs", 9437557},
{"sysfs$1", 9437319},
{"sysfs$2", 9437319},
@@ -4687,7 +4576,7 @@ static call_t syscalls[] = {
#if defined(__aarch64__) || 0
#define GOARCH "arm64"
-#define SYZ_REVISION "72353a7ede1fe6cb903fcb02eb5eb11407bea5d8"
+#define SYZ_REVISION "3424aa8d1e2be36f2a093d39f49a45b6904827e0"
#define __NR_syz_emit_ethernet 1000000
#define __NR_syz_extract_tcp_res 1000001
#define __NR_syz_fuse_mount 1000002
@@ -4719,8 +4608,6 @@ static call_t syscalls[] = {
{"accept4$unix", 242},
{"acct", 89},
{"add_key", 217},
- {"alarm", -1},
- {"arch_prctl", -1},
{"bind", 200},
{"bind$alg", 200},
{"bind$ax25", 200},
@@ -4759,8 +4646,6 @@ static call_t syscalls[] = {
{"capget", 90},
{"capset", 91},
{"chdir", 49},
- {"chmod", -1},
- {"chown", -1},
{"chroot", 51},
{"clock_adjtime", 266},
{"clock_getres", 114},
@@ -4784,19 +4669,14 @@ static call_t syscalls[] = {
{"connect$nfc_raw", 203},
{"connect$packet", 203},
{"connect$unix", 203},
- {"creat", -1},
{"delete_module", 106},
{"dup", 23},
- {"dup2", -1},
{"dup3", 24},
- {"epoll_create", -1},
{"epoll_create1", 20},
{"epoll_ctl$EPOLL_CTL_ADD", 21},
{"epoll_ctl$EPOLL_CTL_DEL", 21},
{"epoll_ctl$EPOLL_CTL_MOD", 21},
{"epoll_pwait", 22},
- {"epoll_wait", -1},
- {"eventfd", -1},
{"eventfd2", 19},
{"execve", 221},
{"execveat", 281},
@@ -4838,13 +4718,9 @@ static call_t syscalls[] = {
{"fsync", 82},
{"ftruncate", 46},
{"futex", 98},
- {"futimesat", -1},
- {"get_kernel_syms", -1},
{"get_mempolicy", 236},
{"get_robust_list", 100},
- {"get_thread_area", -1},
{"getcwd", 17},
- {"getdents", -1},
{"getdents64", 61},
{"getegid", 177},
{"geteuid", 175},
@@ -4862,7 +4738,6 @@ static call_t syscalls[] = {
{"getpeername$packet", 205},
{"getpeername$unix", 205},
{"getpgid", 155},
- {"getpgrp", -1},
{"getpid", 172},
{"getpriority", 141},
{"getrandom", 278},
@@ -5035,7 +4910,6 @@ static call_t syscalls[] = {
{"getxattr", 8},
{"init_module", 105},
{"inotify_add_watch", 27},
- {"inotify_init", -1},
{"inotify_init1", 26},
{"inotify_rm_watch", 28},
{"io_cancel", 3},
@@ -5193,30 +5067,18 @@ static call_t syscalls[] = {
{"ioctl$KVM_ENABLE_CAP", 29},
{"ioctl$KVM_ENABLE_CAP_CPU", 29},
{"ioctl$KVM_GET_CLOCK", 29},
- {"ioctl$KVM_GET_CPUID2", -1},
- {"ioctl$KVM_GET_DEBUGREGS", -1},
{"ioctl$KVM_GET_DEVICE_ATTR", 29},
{"ioctl$KVM_GET_DIRTY_LOG", 29},
- {"ioctl$KVM_GET_EMULATED_CPUID", -1},
{"ioctl$KVM_GET_FPU", 29},
{"ioctl$KVM_GET_IRQCHIP", 29},
- {"ioctl$KVM_GET_LAPIC", -1},
{"ioctl$KVM_GET_MP_STATE", 29},
- {"ioctl$KVM_GET_MSRS", -1},
- {"ioctl$KVM_GET_MSR_INDEX_LIST", -1},
{"ioctl$KVM_GET_NR_MMU_PAGES", 29},
{"ioctl$KVM_GET_ONE_REG", 29},
- {"ioctl$KVM_GET_PIT", -1},
- {"ioctl$KVM_GET_PIT2", -1},
{"ioctl$KVM_GET_REGS", 29},
{"ioctl$KVM_GET_REG_LIST", 29},
{"ioctl$KVM_GET_SREGS", 29},
- {"ioctl$KVM_GET_SUPPORTED_CPUID", -1},
{"ioctl$KVM_GET_TSC_KHZ", 29},
- {"ioctl$KVM_GET_VCPU_EVENTS", -1},
{"ioctl$KVM_GET_VCPU_MMAP_SIZE", 29},
- {"ioctl$KVM_GET_XCRS", -1},
- {"ioctl$KVM_GET_XSAVE", -1},
{"ioctl$KVM_HAS_DEVICE_ATTR", 29},
{"ioctl$KVM_INTERRUPT", 29},
{"ioctl$KVM_IOEVENTFD", 29},
@@ -5238,22 +5100,15 @@ static call_t syscalls[] = {
{"ioctl$KVM_S390_VCPU_FAULT", 29},
{"ioctl$KVM_SET_BOOT_CPU_ID", 29},
{"ioctl$KVM_SET_CLOCK", 29},
- {"ioctl$KVM_SET_CPUID", -1},
- {"ioctl$KVM_SET_CPUID2", -1},
- {"ioctl$KVM_SET_DEBUGREGS", -1},
{"ioctl$KVM_SET_DEVICE_ATTR", 29},
{"ioctl$KVM_SET_FPU", 29},
{"ioctl$KVM_SET_GSI_ROUTING", 29},
{"ioctl$KVM_SET_GUEST_DEBUG", 29},
{"ioctl$KVM_SET_IDENTITY_MAP_ADDR", 29},
{"ioctl$KVM_SET_IRQCHIP", 29},
- {"ioctl$KVM_SET_LAPIC", -1},
{"ioctl$KVM_SET_MP_STATE", 29},
- {"ioctl$KVM_SET_MSRS", -1},
{"ioctl$KVM_SET_NR_MMU_PAGES", 29},
{"ioctl$KVM_SET_ONE_REG", 29},
- {"ioctl$KVM_SET_PIT", -1},
- {"ioctl$KVM_SET_PIT2", -1},
{"ioctl$KVM_SET_REGS", 29},
{"ioctl$KVM_SET_SIGNAL_MASK", 29},
{"ioctl$KVM_SET_SREGS", 29},
@@ -5261,9 +5116,6 @@ static call_t syscalls[] = {
{"ioctl$KVM_SET_TSS_ADDR", 29},
{"ioctl$KVM_SET_USER_MEMORY_REGION", 29},
{"ioctl$KVM_SET_VAPIC_ADDR", 29},
- {"ioctl$KVM_SET_VCPU_EVENTS", -1},
- {"ioctl$KVM_SET_XCRS", -1},
- {"ioctl$KVM_SET_XSAVE", -1},
{"ioctl$KVM_SIGNAL_MSI", 29},
{"ioctl$KVM_SMI", 29},
{"ioctl$KVM_TPR_ACCESS_REPORTING", 29},
@@ -5271,8 +5123,6 @@ static call_t syscalls[] = {
{"ioctl$KVM_UNREGISTER_COALESCED_MMIO", 29},
{"ioctl$KVM_X86_GET_MCE_CAP_SUPPORTED", 29},
{"ioctl$KVM_X86_SETUP_MCE", 29},
- {"ioctl$KVM_X86_SET_MCE", -1},
- {"ioctl$KVM_XEN_HVM_CONFIG", -1},
{"ioctl$LOOP_CHANGE_FD", 29},
{"ioctl$LOOP_CLR_FD", 29},
{"ioctl$LOOP_CTL_ADD", 29},
@@ -5548,8 +5398,6 @@ static call_t syscalls[] = {
{"ioctl$sock_netrom_TIOCOUTQ", 29},
{"ioctl$sock_proto_private", 29},
{"ioctl$void", 29},
- {"ioperm", -1},
- {"iopl", -1},
{"ioprio_get$pid", 31},
{"ioprio_get$uid", 31},
{"ioprio_set$pid", 30},
@@ -5579,9 +5427,7 @@ static call_t syscalls[] = {
{"keyctl$setperm", 219},
{"keyctl$unlink", 219},
{"keyctl$update", 219},
- {"lchown", -1},
{"lgetxattr", 9},
- {"link", -1},
{"linkat", 37},
{"listen", 201},
{"listen$netrom", 201},
@@ -5591,26 +5437,18 @@ static call_t syscalls[] = {
{"lremovexattr", 15},
{"lseek", 62},
{"lsetxattr", 6},
- {"lstat", -1},
{"madvise", 233},
{"mbind", 235},
{"membarrier", 283},
{"memfd_create", 279},
{"migrate_pages", 238},
{"mincore", 232},
- {"mkdir", -1},
{"mkdirat", 34},
- {"mknod", -1},
- {"mknod$loop", -1},
{"mknodat", 33},
{"mlock", 228},
{"mlock2", 284},
{"mlockall", 230},
{"mmap", 222},
- {"modify_ldt$read", -1},
- {"modify_ldt$read_default", -1},
- {"modify_ldt$write", -1},
- {"modify_ldt$write2", -1},
{"mount", 40},
{"move_pages", 239},
{"mprotect", 226},
@@ -5637,8 +5475,6 @@ static call_t syscalls[] = {
{"munmap", 215},
{"name_to_handle_at", 264},
{"nanosleep", 101},
- {"open", -1},
- {"open$dir", -1},
{"open_by_handle_at", 265},
{"openat", 56},
{"openat$audio", 56},
@@ -5674,16 +5510,13 @@ static call_t syscalls[] = {
{"openat$vhci", 56},
{"openat$xenevtchn", 56},
{"openat$zygote", 56},
- {"pause", -1},
{"perf_event_open", 241},
{"personality", 92},
- {"pipe", -1},
{"pipe2", 59},
{"pivot_root", 41},
{"pkey_alloc", 289},
{"pkey_free", 290},
{"pkey_mprotect", 288},
- {"poll", -1},
{"ppoll", 73},
{"prctl$getname", 167},
{"prctl$getreaper", 167},
@@ -5720,7 +5553,6 @@ static call_t syscalls[] = {
{"read", 63},
{"read$eventfd", 63},
{"readahead", 213},
- {"readlink", -1},
{"readlinkat", 78},
{"readv", 65},
{"recvfrom", 207},
@@ -5737,12 +5569,10 @@ static call_t syscalls[] = {
{"recvmsg$netrom", 212},
{"remap_file_pages", 234},
{"removexattr", 14},
- {"rename", -1},
{"renameat", 38},
{"renameat2", 276},
{"request_key", 218},
{"restart_syscall", 128},
- {"rmdir", -1},
{"rt_sigaction", 134},
{"rt_sigpending", 136},
{"rt_sigprocmask", 135},
@@ -5762,7 +5592,6 @@ static call_t syscalls[] = {
{"sched_setscheduler", 119},
{"sched_yield", 124},
{"seccomp", 277},
- {"select", -1},
{"semctl$GETALL", 191},
{"semctl$GETNCNT", 191},
{"semctl$GETPID", 191},
@@ -5804,7 +5633,6 @@ static call_t syscalls[] = {
{"sendto$unix", 206},
{"set_mempolicy", 237},
{"set_robust_list", 99},
- {"set_thread_area", -1},
{"set_tid_address", 96},
{"setfsgid", 152},
{"setfsuid", 151},
@@ -6024,7 +5852,6 @@ static call_t syscalls[] = {
{"shmget$private", 194},
{"shutdown", 210},
{"sigaltstack", 132},
- {"signalfd", -1},
{"signalfd4", 74},
{"socket", 198},
{"socket$alg", 198},
@@ -6080,17 +5907,12 @@ static call_t syscalls[] = {
{"socketpair$packet", 199},
{"socketpair$unix", 199},
{"splice", 76},
- {"stat", -1},
{"statfs", 43},
{"statx", 291},
- {"symlink", -1},
{"symlinkat", 36},
{"sync", 81},
{"sync_file_range", 84},
{"syncfs", 267},
- {"sysfs$1", -1},
- {"sysfs$2", -1},
- {"sysfs$3", -1},
{"sysinfo", 179},
{"syslog", 116},
{"syz_emit_ethernet", 1000000},
@@ -6198,7 +6020,6 @@ static call_t syscalls[] = {
{"syz_test$vma0", 1000007},
{"tee", 77},
{"tgkill", 131},
- {"time", -1},
{"timer_create", 107},
{"timer_delete", 111},
{"timer_getoverrun", 109},
@@ -6212,15 +6033,10 @@ static call_t syscalls[] = {
{"truncate", 45},
{"umount2", 39},
{"uname", 160},
- {"unlink", -1},
{"unlinkat", 35},
{"unshare", 97},
- {"uselib", -1},
{"userfaultfd", 282},
- {"ustat", -1},
- {"utime", -1},
{"utimensat", 88},
- {"utimes", -1},
{"vmsplice", 75},
{"wait4", 260},
{"waitid", 95},
@@ -6247,7 +6063,7 @@ static call_t syscalls[] = {
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
#define GOARCH "ppc64le"
-#define SYZ_REVISION "cec4f3697757a69ac044be83bac5ba45df7f2fbf"
+#define SYZ_REVISION "97d1c4ad9a60234dd4a2125f5ef68755e795a6b2"
#define __NR_syz_emit_ethernet 1000000
#define __NR_syz_extract_tcp_res 1000001
#define __NR_syz_fuse_mount 1000002
@@ -6280,7 +6096,6 @@ static call_t syscalls[] = {
{"acct", 51},
{"add_key", 269},
{"alarm", 27},
- {"arch_prctl", -1},
{"bind", 327},
{"bind$alg", 327},
{"bind$ax25", 327},
@@ -6402,7 +6217,6 @@ static call_t syscalls[] = {
{"get_kernel_syms", 130},
{"get_mempolicy", 260},
{"get_robust_list", 299},
- {"get_thread_area", -1},
{"getcwd", 182},
{"getdents", 141},
{"getdents64", 202},
@@ -6702,13 +6516,6 @@ static call_t syscalls[] = {
{"ioctl$GIO_SCRNMAP", 54},
{"ioctl$GIO_UNIMAP", 54},
{"ioctl$GIO_UNISCRNMAP", 54},
- {"ioctl$ION_IOC_ALLOC", -1},
- {"ioctl$ION_IOC_CUSTOM", -1},
- {"ioctl$ION_IOC_FREE", -1},
- {"ioctl$ION_IOC_IMPORT", -1},
- {"ioctl$ION_IOC_MAP", -1},
- {"ioctl$ION_IOC_SHARE", -1},
- {"ioctl$ION_IOC_SYNC", -1},
{"ioctl$KDADDIO", 54},
{"ioctl$KDDELIO", 54},
{"ioctl$KDDISABIO", 54},
@@ -6734,7 +6541,6 @@ static call_t syscalls[] = {
{"ioctl$KDSKBSENT", 54},
{"ioctl$KIOCSOUND", 54},
{"ioctl$KVM_ARM_SET_DEVICE_ADDR", 54},
- {"ioctl$KVM_ARM_VCPU_INIT", -1},
{"ioctl$KVM_ASSIGN_DEV_IRQ", 54},
{"ioctl$KVM_ASSIGN_PCI_DEVICE", 54},
{"ioctl$KVM_ASSIGN_SET_INTX_MASK", 54},
@@ -6753,30 +6559,18 @@ static call_t syscalls[] = {
{"ioctl$KVM_ENABLE_CAP", 54},
{"ioctl$KVM_ENABLE_CAP_CPU", 54},
{"ioctl$KVM_GET_CLOCK", 54},
- {"ioctl$KVM_GET_CPUID2", -1},
- {"ioctl$KVM_GET_DEBUGREGS", -1},
{"ioctl$KVM_GET_DEVICE_ATTR", 54},
{"ioctl$KVM_GET_DIRTY_LOG", 54},
- {"ioctl$KVM_GET_EMULATED_CPUID", -1},
{"ioctl$KVM_GET_FPU", 54},
{"ioctl$KVM_GET_IRQCHIP", 54},
- {"ioctl$KVM_GET_LAPIC", -1},
{"ioctl$KVM_GET_MP_STATE", 54},
- {"ioctl$KVM_GET_MSRS", -1},
- {"ioctl$KVM_GET_MSR_INDEX_LIST", -1},
{"ioctl$KVM_GET_NR_MMU_PAGES", 54},
{"ioctl$KVM_GET_ONE_REG", 54},
- {"ioctl$KVM_GET_PIT", -1},
- {"ioctl$KVM_GET_PIT2", -1},
{"ioctl$KVM_GET_REGS", 54},
{"ioctl$KVM_GET_REG_LIST", 54},
{"ioctl$KVM_GET_SREGS", 54},
- {"ioctl$KVM_GET_SUPPORTED_CPUID", -1},
{"ioctl$KVM_GET_TSC_KHZ", 54},
- {"ioctl$KVM_GET_VCPU_EVENTS", -1},
{"ioctl$KVM_GET_VCPU_MMAP_SIZE", 54},
- {"ioctl$KVM_GET_XCRS", -1},
- {"ioctl$KVM_GET_XSAVE", -1},
{"ioctl$KVM_HAS_DEVICE_ATTR", 54},
{"ioctl$KVM_INTERRUPT", 54},
{"ioctl$KVM_IOEVENTFD", 54},
@@ -6798,22 +6592,15 @@ static call_t syscalls[] = {
{"ioctl$KVM_S390_VCPU_FAULT", 54},
{"ioctl$KVM_SET_BOOT_CPU_ID", 54},
{"ioctl$KVM_SET_CLOCK", 54},
- {"ioctl$KVM_SET_CPUID", -1},
- {"ioctl$KVM_SET_CPUID2", -1},
- {"ioctl$KVM_SET_DEBUGREGS", -1},
{"ioctl$KVM_SET_DEVICE_ATTR", 54},
{"ioctl$KVM_SET_FPU", 54},
{"ioctl$KVM_SET_GSI_ROUTING", 54},
{"ioctl$KVM_SET_GUEST_DEBUG", 54},
{"ioctl$KVM_SET_IDENTITY_MAP_ADDR", 54},
{"ioctl$KVM_SET_IRQCHIP", 54},
- {"ioctl$KVM_SET_LAPIC", -1},
{"ioctl$KVM_SET_MP_STATE", 54},
- {"ioctl$KVM_SET_MSRS", -1},
{"ioctl$KVM_SET_NR_MMU_PAGES", 54},
{"ioctl$KVM_SET_ONE_REG", 54},
- {"ioctl$KVM_SET_PIT", -1},
- {"ioctl$KVM_SET_PIT2", -1},
{"ioctl$KVM_SET_REGS", 54},
{"ioctl$KVM_SET_SIGNAL_MASK", 54},
{"ioctl$KVM_SET_SREGS", 54},
@@ -6821,9 +6608,6 @@ static call_t syscalls[] = {
{"ioctl$KVM_SET_TSS_ADDR", 54},
{"ioctl$KVM_SET_USER_MEMORY_REGION", 54},
{"ioctl$KVM_SET_VAPIC_ADDR", 54},
- {"ioctl$KVM_SET_VCPU_EVENTS", -1},
- {"ioctl$KVM_SET_XCRS", -1},
- {"ioctl$KVM_SET_XSAVE", -1},
{"ioctl$KVM_SIGNAL_MSI", 54},
{"ioctl$KVM_SMI", 54},
{"ioctl$KVM_TPR_ACCESS_REPORTING", 54},
@@ -6831,8 +6615,6 @@ static call_t syscalls[] = {
{"ioctl$KVM_UNREGISTER_COALESCED_MMIO", 54},
{"ioctl$KVM_X86_GET_MCE_CAP_SUPPORTED", 54},
{"ioctl$KVM_X86_SETUP_MCE", 54},
- {"ioctl$KVM_X86_SET_MCE", -1},
- {"ioctl$KVM_XEN_HVM_CONFIG", -1},
{"ioctl$LOOP_CHANGE_FD", 54},
{"ioctl$LOOP_CLR_FD", 54},
{"ioctl$LOOP_CTL_ADD", 54},
@@ -6939,21 +6721,9 @@ static call_t syscalls[] = {
{"ioctl$SNDRV_TIMER_IOCTL_STOP", 54},
{"ioctl$SNDRV_TIMER_IOCTL_TREAD", 54},
{"ioctl$TCFLSH", 54},
- {"ioctl$TCGETA", -1},
- {"ioctl$TCGETS", -1},
{"ioctl$TCSBRK", 54},
{"ioctl$TCSBRKP", 54},
- {"ioctl$TCSETA", -1},
- {"ioctl$TCSETAF", -1},
- {"ioctl$TCSETAW", -1},
- {"ioctl$TCSETS", -1},
- {"ioctl$TCSETSF", -1},
- {"ioctl$TCSETSW", -1},
{"ioctl$TCXONC", 54},
- {"ioctl$TE_IOCTL_CLOSE_CLIENT_SESSION", -1},
- {"ioctl$TE_IOCTL_LAUNCH_OPERATION", -1},
- {"ioctl$TE_IOCTL_OPEN_CLIENT_SESSION", -1},
- {"ioctl$TE_IOCTL_SS_CMD", -1},
{"ioctl$TIOCCBRK", 54},
{"ioctl$TIOCCONS", 54},
{"ioctl$TIOCEXCL", 54},
@@ -6962,7 +6732,6 @@ static call_t syscalls[] = {
{"ioctl$TIOCGPGRP", 54},
{"ioctl$TIOCGSID", 54},
{"ioctl$TIOCGSOFTCAR", 54},
- {"ioctl$TIOCGWINSZ", -1},
{"ioctl$TIOCLINUX2", 54},
{"ioctl$TIOCLINUX3", 54},
{"ioctl$TIOCLINUX4", 54},
@@ -6984,7 +6753,6 @@ static call_t syscalls[] = {
{"ioctl$TIOCSPGRP", 54},
{"ioctl$TIOCSSOFTCAR", 54},
{"ioctl$TIOCSTI", 54},
- {"ioctl$TIOCSWINSZ", -1},
{"ioctl$TIOCTTYGSTRUCT", 54},
{"ioctl$TTUNGETFILTER", 54},
{"ioctl$TUNATTACHFILTER", 54},
@@ -7181,16 +6949,6 @@ static call_t syscalls[] = {
{"mq_timedsend", 264},
{"mq_unlink", 263},
{"mremap", 163},
- {"msgctl$IPC_INFO", -1},
- {"msgctl$IPC_RMID", -1},
- {"msgctl$IPC_SET", -1},
- {"msgctl$IPC_STAT", -1},
- {"msgctl$MSG_INFO", -1},
- {"msgctl$MSG_STAT", -1},
- {"msgget", -1},
- {"msgget$private", -1},
- {"msgrcv", -1},
- {"msgsnd", -1},
{"msync", 144},
{"munlock", 151},
{"munlockall", 153},
@@ -7240,9 +6998,6 @@ static call_t syscalls[] = {
{"pipe", 42},
{"pipe2", 317},
{"pivot_root", 203},
- {"pkey_alloc", -1},
- {"pkey_free", -1},
- {"pkey_mprotect", -1},
{"poll", 167},
{"ppoll", 281},
{"prctl$getname", 171},
@@ -7323,23 +7078,6 @@ static call_t syscalls[] = {
{"sched_yield", 158},
{"seccomp", 358},
{"select", 82},
- {"semctl$GETALL", -1},
- {"semctl$GETNCNT", -1},
- {"semctl$GETPID", -1},
- {"semctl$GETVAL", -1},
- {"semctl$GETZCNT", -1},
- {"semctl$IPC_INFO", -1},
- {"semctl$IPC_RMID", -1},
- {"semctl$IPC_SET", -1},
- {"semctl$IPC_STAT", -1},
- {"semctl$SEM_INFO", -1},
- {"semctl$SEM_STAT", -1},
- {"semctl$SETALL", -1},
- {"semctl$SETVAL", -1},
- {"semget", -1},
- {"semget$private", -1},
- {"semop", -1},
- {"semtimedop", -1},
{"sendfile", 186},
{"sendmmsg", 349},
{"sendmmsg$alg", 349},
@@ -7364,7 +7102,6 @@ static call_t syscalls[] = {
{"sendto$unix", 335},
{"set_mempolicy", 261},
{"set_robust_list", 300},
- {"set_thread_area", -1},
{"set_tid_address", 232},
{"setfsgid", 139},
{"setfsuid", 138},
@@ -7570,18 +7307,6 @@ static call_t syscalls[] = {
{"setsockopt$sock_void", 339},
{"setuid", 23},
{"setxattr", 209},
- {"shmat", -1},
- {"shmctl$IPC_INFO", -1},
- {"shmctl$IPC_RMID", -1},
- {"shmctl$IPC_SET", -1},
- {"shmctl$IPC_STAT", -1},
- {"shmctl$SHM_INFO", -1},
- {"shmctl$SHM_LOCK", -1},
- {"shmctl$SHM_STAT", -1},
- {"shmctl$SHM_UNLOCK", -1},
- {"shmdt", -1},
- {"shmget", -1},
- {"shmget$private", -1},
{"shutdown", 338},
{"sigaltstack", 185},
{"signalfd", 305},
@@ -7646,7 +7371,6 @@ static call_t syscalls[] = {
{"symlink", 83},
{"symlinkat", 295},
{"sync", 36},
- {"sync_file_range", -1},
{"syncfs", 348},
{"sysfs$1", 135},
{"sysfs$2", 135},