From 2c0b7b7ff31bbb899cc0c95766b5d04ebbd2d269 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 2 Sep 2017 13:21:47 +0200 Subject: pkg/compiler: restore generation of unsupported syscalls Unfortunately this is sitll needed, see the added comment. Update #191 --- executor/syscalls.h | 276 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 276 insertions(+) (limited to 'executor/syscalls.h') diff --git a/executor/syscalls.h b/executor/syscalls.h index dba18a389..85007edaa 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -485,6 +485,7 @@ 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}, @@ -1565,6 +1566,17 @@ static call_t syscalls[] = { #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}, @@ -1991,6 +2003,13 @@ 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}, @@ -2016,6 +2035,7 @@ 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}, @@ -2231,6 +2251,10 @@ 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}, @@ -2458,6 +2482,16 @@ 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}, @@ -2590,6 +2624,23 @@ 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}, @@ -2820,6 +2871,18 @@ 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}, @@ -3074,6 +3137,8 @@ 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}, @@ -3105,6 +3170,8 @@ static call_t syscalls[] = { {"capget", 90}, {"capset", 91}, {"chdir", 49}, + {"chmod", -1}, + {"chown", -1}, {"chroot", 51}, {"clock_adjtime", 266}, {"clock_getres", 114}, @@ -3128,14 +3195,19 @@ 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}, @@ -3177,9 +3249,13 @@ 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}, @@ -3197,6 +3273,7 @@ static call_t syscalls[] = { {"getpeername$packet", 205}, {"getpeername$unix", 205}, {"getpgid", 155}, + {"getpgrp", -1}, {"getpid", 172}, {"getpriority", 141}, {"getrandom", 278}, @@ -3369,6 +3446,7 @@ 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}, @@ -3526,18 +3604,30 @@ 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}, @@ -3559,15 +3649,22 @@ 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}, @@ -3575,6 +3672,9 @@ 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}, @@ -3582,6 +3682,8 @@ 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}, @@ -3857,6 +3959,8 @@ 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}, @@ -3886,7 +3990,9 @@ 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}, @@ -3896,18 +4002,26 @@ 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}, @@ -3934,6 +4048,8 @@ 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}, @@ -3969,13 +4085,16 @@ 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}, @@ -4012,6 +4131,7 @@ static call_t syscalls[] = { {"read", 63}, {"read$eventfd", 63}, {"readahead", 213}, + {"readlink", -1}, {"readlinkat", 78}, {"readv", 65}, {"recvfrom", 207}, @@ -4028,10 +4148,12 @@ 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}, @@ -4051,6 +4173,7 @@ static call_t syscalls[] = { {"sched_setscheduler", 119}, {"sched_yield", 124}, {"seccomp", 277}, + {"select", -1}, {"semctl$GETALL", 191}, {"semctl$GETNCNT", 191}, {"semctl$GETPID", 191}, @@ -4092,6 +4215,7 @@ 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}, @@ -4311,6 +4435,7 @@ static call_t syscalls[] = { {"shmget$private", 194}, {"shutdown", 210}, {"sigaltstack", 132}, + {"signalfd", -1}, {"signalfd4", 74}, {"socket", 198}, {"socket$alg", 198}, @@ -4366,12 +4491,17 @@ 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}, @@ -4478,6 +4608,7 @@ static call_t syscalls[] = { {"syz_test$vma0", 1000007}, {"tee", 77}, {"tgkill", 131}, + {"time", -1}, {"timer_create", 107}, {"timer_delete", 111}, {"timer_getoverrun", 109}, @@ -4491,10 +4622,15 @@ 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}, @@ -4552,6 +4688,7 @@ static call_t syscalls[] = { {"acct", 9437235}, {"add_key", 9437493}, {"alarm", 9437211}, + {"arch_prctl", -1}, {"bind", 9437466}, {"bind$alg", 9437466}, {"bind$ax25", 9437466}, @@ -4627,6 +4764,7 @@ static call_t syscalls[] = { {"exit", 9437185}, {"exit_group", 9437432}, {"faccessat", 9437518}, + {"fadvise64", -1}, {"fallocate", 9437536}, {"fanotify_init", 9437551}, {"fanotify_mark", 9437552}, @@ -4662,8 +4800,10 @@ 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}, @@ -4963,6 +5103,13 @@ 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}, @@ -5007,18 +5154,30 @@ 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}, @@ -5040,15 +5199,22 @@ 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}, @@ -5056,6 +5222,9 @@ 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}, @@ -5063,6 +5232,8 @@ 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}, @@ -5180,6 +5351,10 @@ 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}, @@ -5334,6 +5509,8 @@ 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}, @@ -5380,6 +5557,7 @@ static call_t syscalls[] = { {"mbind", 9437503}, {"membarrier", 9437573}, {"memfd_create", 9437569}, + {"migrate_pages", -1}, {"mincore", 9437403}, {"mkdir", 9437223}, {"mkdirat", 9437507}, @@ -5390,6 +5568,10 @@ 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}, @@ -5583,6 +5765,7 @@ 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}, @@ -5864,6 +6047,7 @@ static call_t syscalls[] = { {"symlink", 9437267}, {"symlinkat", 9437515}, {"sync", 9437220}, + {"sync_file_range", -1}, {"syncfs", 9437557}, {"sysfs$1", 9437319}, {"sysfs$2", 9437319}, @@ -6054,6 +6238,7 @@ static call_t syscalls[] = { {"acct", 51}, {"add_key", 269}, {"alarm", 27}, + {"arch_prctl", -1}, {"bind", 327}, {"bind$alg", 327}, {"bind$ax25", 327}, @@ -6168,6 +6353,7 @@ 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}, @@ -6467,6 +6653,13 @@ 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}, @@ -6492,6 +6685,7 @@ 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}, @@ -6510,18 +6704,30 @@ 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}, @@ -6543,15 +6749,22 @@ 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}, @@ -6559,6 +6772,9 @@ 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}, @@ -6566,6 +6782,8 @@ 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}, @@ -6672,9 +6890,21 @@ 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}, @@ -6683,6 +6913,7 @@ 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}, @@ -6704,6 +6935,7 @@ 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}, @@ -6900,6 +7132,16 @@ 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}, @@ -6949,6 +7191,9 @@ 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}, @@ -7029,6 +7274,23 @@ 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}, @@ -7053,6 +7315,7 @@ 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}, @@ -7258,6 +7521,18 @@ 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}, @@ -7322,6 +7597,7 @@ static call_t syscalls[] = { {"symlink", 83}, {"symlinkat", 295}, {"sync", 36}, + {"sync_file_range", -1}, {"syncfs", 348}, {"sysfs$1", 135}, {"sysfs$2", 135}, -- cgit mrf-deployment