Index: head/sys/arm64/linux/linux_syscall.h =================================================================== --- head/sys/arm64/linux/linux_syscall.h (revision 335323) +++ head/sys/arm64/linux/linux_syscall.h (revision 335324) @@ -1,271 +1,272 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ */ #define LINUX_SYS_linux_setxattr 5 #define LINUX_SYS_linux_lsetxattr 6 #define LINUX_SYS_linux_fsetxattr 7 #define LINUX_SYS_linux_getxattr 8 #define LINUX_SYS_linux_lgetxattr 9 #define LINUX_SYS_linux_fgetxattr 10 #define LINUX_SYS_linux_listxattr 11 #define LINUX_SYS_linux_llistxattr 12 #define LINUX_SYS_linux_flistxattr 13 #define LINUX_SYS_linux_removexattr 14 #define LINUX_SYS_linux_lremovexattr 15 #define LINUX_SYS_linux_fremovexattr 16 #define LINUX_SYS_linux_getcwd 17 #define LINUX_SYS_linux_lookup_dcookie 18 #define LINUX_SYS_linux_eventfd2 19 #define LINUX_SYS_linux_epoll_create1 20 #define LINUX_SYS_linux_epoll_ctl 21 #define LINUX_SYS_linux_epoll_pwait 22 +#define LINUX_SYS_dup 23 #define LINUX_SYS_linux_dup3 24 #define LINUX_SYS_linux_fcntl 25 #define LINUX_SYS_linux_inotify_init1 26 #define LINUX_SYS_linux_inotify_add_watch 27 #define LINUX_SYS_linux_inotify_rm_watch 28 #define LINUX_SYS_linux_ioctl 29 #define LINUX_SYS_linux_ioprio_set 30 #define LINUX_SYS_linux_ioprio_get 31 #define LINUX_SYS_flock 32 #define LINUX_SYS_linux_mknodat 33 #define LINUX_SYS_linux_mkdirat 34 #define LINUX_SYS_linux_unlinkat 35 #define LINUX_SYS_linux_symlinkat 36 #define LINUX_SYS_linux_linkat 37 #define LINUX_SYS_linux_renameat 38 #define LINUX_SYS_linux_mount 40 #define LINUX_SYS_linux_pivot_root 41 #define LINUX_SYS_linux_statfs 43 #define LINUX_SYS_linux_fstatfs 44 #define LINUX_SYS_linux_truncate 45 #define LINUX_SYS_linux_ftruncate 46 #define LINUX_SYS_linux_fallocate 47 #define LINUX_SYS_linux_faccessat 48 #define LINUX_SYS_linux_chdir 49 #define LINUX_SYS_fchdir 50 #define LINUX_SYS_chroot 51 #define LINUX_SYS_fchmod 52 #define LINUX_SYS_linux_fchmodat 53 #define LINUX_SYS_linux_fchownat 54 #define LINUX_SYS_fchown 55 #define LINUX_SYS_linux_openat 56 #define LINUX_SYS_close 57 #define LINUX_SYS_linux_vhangup 58 #define LINUX_SYS_linux_pipe2 59 #define LINUX_SYS_linux_getdents64 61 #define LINUX_SYS_linux_lseek 62 #define LINUX_SYS_read 63 #define LINUX_SYS_write 64 #define LINUX_SYS_readv 65 #define LINUX_SYS_writev 66 #define LINUX_SYS_linux_pread 67 #define LINUX_SYS_linux_pwrite 68 #define LINUX_SYS_linux_preadv 69 #define LINUX_SYS_linux_pwritev 70 #define LINUX_SYS_linux_sendfile 71 #define LINUX_SYS_linux_pselect6 72 #define LINUX_SYS_linux_ppoll 73 #define LINUX_SYS_linux_signalfd4 74 #define LINUX_SYS_linux_vmsplice 75 #define LINUX_SYS_linux_splice 76 #define LINUX_SYS_linux_tee 77 #define LINUX_SYS_linux_readlinkat 78 #define LINUX_SYS_linux_newfstatat 79 #define LINUX_SYS_linux_newfstat 80 #define LINUX_SYS_fsync 82 #define LINUX_SYS_linux_fdatasync 83 #define LINUX_SYS_linux_sync_file_range 84 #define LINUX_SYS_linux_timerfd_create 85 #define LINUX_SYS_linux_timerfd_settime 86 #define LINUX_SYS_linux_timerfd_gettime 87 #define LINUX_SYS_linux_utimensat 88 #define LINUX_SYS_acct 89 #define LINUX_SYS_linux_capget 90 #define LINUX_SYS_linux_capset 91 #define LINUX_SYS_linux_personality 92 #define LINUX_SYS_linux_exit 93 #define LINUX_SYS_linux_exit_group 94 #define LINUX_SYS_linux_waitid 95 #define LINUX_SYS_linux_set_tid_address 96 #define LINUX_SYS_linux_unshare 97 #define LINUX_SYS_linux_sys_futex 98 #define LINUX_SYS_linux_set_robust_list 99 #define LINUX_SYS_linux_get_robust_list 100 #define LINUX_SYS_linux_nanosleep 101 #define LINUX_SYS_linux_getitimer 102 #define LINUX_SYS_linux_setitimer 103 #define LINUX_SYS_linux_kexec_load 104 #define LINUX_SYS_linux_init_module 105 #define LINUX_SYS_linux_delete_module 106 #define LINUX_SYS_linux_timer_create 107 #define LINUX_SYS_linux_timer_gettime 108 #define LINUX_SYS_linux_timer_getoverrun 109 #define LINUX_SYS_linux_timer_settime 110 #define LINUX_SYS_linux_timer_delete 111 #define LINUX_SYS_linux_clock_settime 112 #define LINUX_SYS_linux_clock_gettime 113 #define LINUX_SYS_linux_clock_getres 114 #define LINUX_SYS_linux_clock_nanosleep 115 #define LINUX_SYS_linux_syslog 116 #define LINUX_SYS_linux_ptrace 117 #define LINUX_SYS_linux_sched_setparam 118 #define LINUX_SYS_linux_sched_setscheduler 119 #define LINUX_SYS_linux_sched_getscheduler 120 #define LINUX_SYS_linux_sched_getparam 121 #define LINUX_SYS_linux_sched_setaffinity 122 #define LINUX_SYS_linux_sched_getaffinity 123 #define LINUX_SYS_sched_yield 124 #define LINUX_SYS_linux_sched_get_priority_max 125 #define LINUX_SYS_linux_sched_get_priority_min 126 #define LINUX_SYS_linux_sched_rr_get_interval 127 #define LINUX_SYS_linux_kill 129 #define LINUX_SYS_linux_tkill 130 #define LINUX_SYS_linux_tgkill 131 #define LINUX_SYS_linux_sigaltstack 132 #define LINUX_SYS_linux_rt_sigsuspend 133 #define LINUX_SYS_linux_rt_sigaction 134 #define LINUX_SYS_linux_rt_sigprocmask 135 #define LINUX_SYS_linux_rt_sigpending 136 #define LINUX_SYS_linux_rt_sigtimedwait 137 #define LINUX_SYS_linux_rt_sigqueueinfo 138 #define LINUX_SYS_linux_rt_sigreturn 139 #define LINUX_SYS_setpriority 140 #define LINUX_SYS_linux_getpriority 141 #define LINUX_SYS_linux_reboot 142 #define LINUX_SYS_setregid 143 #define LINUX_SYS_setgid 144 #define LINUX_SYS_setreuid 145 #define LINUX_SYS_setuid 146 #define LINUX_SYS_setresuid 147 #define LINUX_SYS_getresuid 148 #define LINUX_SYS_setresgid 149 #define LINUX_SYS_getresgid 150 #define LINUX_SYS_linux_setfsuid 151 #define LINUX_SYS_linux_setfsgid 152 #define LINUX_SYS_linux_times 153 #define LINUX_SYS_setpgid 154 #define LINUX_SYS_getpgid 155 #define LINUX_SYS_linux_getsid 156 #define LINUX_SYS_setsid 157 #define LINUX_SYS_linux_getgroups 158 #define LINUX_SYS_linux_setgroups 159 #define LINUX_SYS_linux_newuname 160 #define LINUX_SYS_linux_sethostname 161 #define LINUX_SYS_linux_setdomainname 162 #define LINUX_SYS_linux_getrlimit 163 #define LINUX_SYS_linux_setrlimit 164 #define LINUX_SYS_getrusage 165 #define LINUX_SYS_umask 166 #define LINUX_SYS_linux_prctl 167 #define LINUX_SYS_linux_getcpu 168 #define LINUX_SYS_gettimeofday 169 #define LINUX_SYS_settimeofday 170 #define LINUX_SYS_linux_adjtimex 171 #define LINUX_SYS_linux_getpid 172 #define LINUX_SYS_linux_getppid 173 #define LINUX_SYS_linux_getuid 174 #define LINUX_SYS_geteuid 175 #define LINUX_SYS_linux_getgid 176 #define LINUX_SYS_getegid 177 #define LINUX_SYS_linux_gettid 178 #define LINUX_SYS_linux_sysinfo 179 #define LINUX_SYS_linux_mq_open 180 #define LINUX_SYS_linux_mq_unlink 181 #define LINUX_SYS_linux_mq_timedsend 182 #define LINUX_SYS_linux_mq_timedreceive 183 #define LINUX_SYS_linux_mq_notify 184 #define LINUX_SYS_linux_mq_getsetattr 185 #define LINUX_SYS_linux_msgget 186 #define LINUX_SYS_linux_msgctl 187 #define LINUX_SYS_linux_msgrcv 188 #define LINUX_SYS_linux_msgsnd 189 #define LINUX_SYS_linux_semget 190 #define LINUX_SYS_linux_semctl 191 #define LINUX_SYS_linux_semtimedop 192 #define LINUX_SYS_linux_semop 193 #define LINUX_SYS_linux_shmget 194 #define LINUX_SYS_linux_shmctl 195 #define LINUX_SYS_linux_shmat 196 #define LINUX_SYS_linux_shmdt 197 #define LINUX_SYS_linux_socket 198 #define LINUX_SYS_linux_socketpair 199 #define LINUX_SYS_linux_bind 200 #define LINUX_SYS_linux_listen 201 #define LINUX_SYS_linux_accept 202 #define LINUX_SYS_linux_connect 203 #define LINUX_SYS_linux_getsockname 204 #define LINUX_SYS_linux_getpeername 205 #define LINUX_SYS_linux_sendto 206 #define LINUX_SYS_linux_recvfrom 207 #define LINUX_SYS_linux_setsockopt 208 #define LINUX_SYS_linux_getsockopt 209 #define LINUX_SYS_linux_shutdown 210 #define LINUX_SYS_linux_sendmsg 211 #define LINUX_SYS_linux_recvmsg 212 #define LINUX_SYS_linux_brk 214 #define LINUX_SYS_munmap 215 #define LINUX_SYS_linux_mremap 216 #define LINUX_SYS_linux_add_key 217 #define LINUX_SYS_linux_request_key 218 #define LINUX_SYS_linux_keyctl 219 #define LINUX_SYS_linux_clone 220 #define LINUX_SYS_linux_execve 221 #define LINUX_SYS_linux_mmap2 222 #define LINUX_SYS_linux_fadvise64 223 #define LINUX_SYS_swapon 224 #define LINUX_SYS_linux_swapoff 225 #define LINUX_SYS_linux_mprotect 226 #define LINUX_SYS_linux_msync 227 #define LINUX_SYS_mlock 228 #define LINUX_SYS_munlock 229 #define LINUX_SYS_mlockall 230 #define LINUX_SYS_munlockall 231 #define LINUX_SYS_linux_mincore 232 #define LINUX_SYS_madvise 233 #define LINUX_SYS_linux_remap_file_pages 234 #define LINUX_SYS_linux_mbind 235 #define LINUX_SYS_linux_get_mempolicy 236 #define LINUX_SYS_linux_set_mempolicy 237 #define LINUX_SYS_linux_migrate_pages 238 #define LINUX_SYS_linux_move_pages 239 #define LINUX_SYS_linux_rt_tgsigqueueinfo 240 #define LINUX_SYS_linux_perf_event_open 241 #define LINUX_SYS_linux_accept4 242 #define LINUX_SYS_linux_recvmmsg 243 #define LINUX_SYS_linux_wait4 260 #define LINUX_SYS_linux_prlimit64 261 #define LINUX_SYS_linux_fanotify_init 262 #define LINUX_SYS_linux_fanotify_mark 263 #define LINUX_SYS_linux_name_to_handle_at 264 #define LINUX_SYS_linux_open_by_handle_at 265 #define LINUX_SYS_linux_clock_adjtime 266 #define LINUX_SYS_linux_syncfs 267 #define LINUX_SYS_linux_setns 268 #define LINUX_SYS_linux_sendmmsg 269 #define LINUX_SYS_linux_process_vm_readv 270 #define LINUX_SYS_linux_process_vm_writev 271 #define LINUX_SYS_linux_kcmp 272 #define LINUX_SYS_linux_finit_module 273 #define LINUX_SYS_linux_sched_setattr 274 #define LINUX_SYS_linux_sched_getattr 275 #define LINUX_SYS_linux_renameat2 276 #define LINUX_SYS_linux_seccomp 277 #define LINUX_SYS_linux_getrandom 278 #define LINUX_SYS_linux_memfd_create 279 #define LINUX_SYS_linux_bpf 280 #define LINUX_SYS_linux_execveat 281 #define LINUX_SYS_linux_userfaultfd 282 #define LINUX_SYS_linux_membarrier 283 #define LINUX_SYS_linux_mlock2 284 #define LINUX_SYS_linux_copy_file_range 285 #define LINUX_SYS_linux_preadv2 286 #define LINUX_SYS_linux_pwritev2 287 #define LINUX_SYS_linux_pkey_mprotect 288 #define LINUX_SYS_linux_pkey_alloc 289 #define LINUX_SYS_linux_pkey_free 290 #define LINUX_SYS_MAXSYSCALL 292 Index: head/sys/arm64/linux/linux_syscalls.c =================================================================== --- head/sys/arm64/linux/linux_syscalls.c (revision 335323) +++ head/sys/arm64/linux/linux_syscalls.c (revision 335324) @@ -1,302 +1,302 @@ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ */ const char *linux_syscallnames[] = { #define nosys linux_nosys "#0", /* 0 = linux_io_setup */ "#1", /* 1 = linux_io_destroy */ "#2", /* 2 = linux_io_submit */ "#3", /* 3 = linux_io_cancel */ "#4", /* 4 = linux_io_getevents */ "linux_setxattr", /* 5 = linux_setxattr */ "linux_lsetxattr", /* 6 = linux_lsetxattr */ "linux_fsetxattr", /* 7 = linux_fsetxattr */ "linux_getxattr", /* 8 = linux_getxattr */ "linux_lgetxattr", /* 9 = linux_lgetxattr */ "linux_fgetxattr", /* 10 = linux_fgetxattr */ "linux_listxattr", /* 11 = linux_listxattr */ "linux_llistxattr", /* 12 = linux_llistxattr */ "linux_flistxattr", /* 13 = linux_flistxattr */ "linux_removexattr", /* 14 = linux_removexattr */ "linux_lremovexattr", /* 15 = linux_lremovexattr */ "linux_fremovexattr", /* 16 = linux_fremovexattr */ "linux_getcwd", /* 17 = linux_getcwd */ "linux_lookup_dcookie", /* 18 = linux_lookup_dcookie */ "linux_eventfd2", /* 19 = linux_eventfd2 */ "linux_epoll_create1", /* 20 = linux_epoll_create1 */ "linux_epoll_ctl", /* 21 = linux_epoll_ctl */ "linux_epoll_pwait", /* 22 = linux_epoll_pwait */ - "#23", /* 23 = linux_dup */ + "dup", /* 23 = dup */ "linux_dup3", /* 24 = linux_dup3 */ "linux_fcntl", /* 25 = linux_fcntl */ "linux_inotify_init1", /* 26 = linux_inotify_init1 */ "linux_inotify_add_watch", /* 27 = linux_inotify_add_watch */ "linux_inotify_rm_watch", /* 28 = linux_inotify_rm_watch */ "linux_ioctl", /* 29 = linux_ioctl */ "linux_ioprio_set", /* 30 = linux_ioprio_set */ "linux_ioprio_get", /* 31 = linux_ioprio_get */ "flock", /* 32 = flock */ "linux_mknodat", /* 33 = linux_mknodat */ "linux_mkdirat", /* 34 = linux_mkdirat */ "linux_unlinkat", /* 35 = linux_unlinkat */ "linux_symlinkat", /* 36 = linux_symlinkat */ "linux_linkat", /* 37 = linux_linkat */ "linux_renameat", /* 38 = linux_renameat */ "#39", /* 39 = linux_umount2 */ "linux_mount", /* 40 = linux_mount */ "linux_pivot_root", /* 41 = linux_pivot_root */ "#42", /* 42 = nfsservctl */ "linux_statfs", /* 43 = linux_statfs */ "linux_fstatfs", /* 44 = linux_fstatfs */ "linux_truncate", /* 45 = linux_truncate */ "linux_ftruncate", /* 46 = linux_ftruncate */ "linux_fallocate", /* 47 = linux_fallocate */ "linux_faccessat", /* 48 = linux_faccessat */ "linux_chdir", /* 49 = linux_chdir */ "fchdir", /* 50 = fchdir */ "chroot", /* 51 = chroot */ "fchmod", /* 52 = fchmod */ "linux_fchmodat", /* 53 = linux_fchmodat */ "linux_fchownat", /* 54 = linux_fchownat */ "fchown", /* 55 = fchown */ "linux_openat", /* 56 = linux_openat */ "close", /* 57 = close */ "linux_vhangup", /* 58 = linux_vhangup */ "linux_pipe2", /* 59 = linux_pipe2 */ "#60", /* 60 = linux_quotactl */ "linux_getdents64", /* 61 = linux_getdents64 */ "linux_lseek", /* 62 = linux_lseek */ "read", /* 63 = read */ "write", /* 64 = write */ "readv", /* 65 = readv */ "writev", /* 66 = writev */ "linux_pread", /* 67 = linux_pread */ "linux_pwrite", /* 68 = linux_pwrite */ "linux_preadv", /* 69 = linux_preadv */ "linux_pwritev", /* 70 = linux_pwritev */ "linux_sendfile", /* 71 = linux_sendfile */ "linux_pselect6", /* 72 = linux_pselect6 */ "linux_ppoll", /* 73 = linux_ppoll */ "linux_signalfd4", /* 74 = linux_signalfd4 */ "linux_vmsplice", /* 75 = linux_vmsplice */ "linux_splice", /* 76 = linux_splice */ "linux_tee", /* 77 = linux_tee */ "linux_readlinkat", /* 78 = linux_readlinkat */ "linux_newfstatat", /* 79 = linux_newfstatat */ "linux_newfstat", /* 80 = linux_newfstat */ "#81", /* 81 = linux_sync */ "fsync", /* 82 = fsync */ "linux_fdatasync", /* 83 = linux_fdatasync */ "linux_sync_file_range", /* 84 = linux_sync_file_range */ "linux_timerfd_create", /* 85 = linux_timerfd_create */ "linux_timerfd_settime", /* 86 = linux_timerfd_settime */ "linux_timerfd_gettime", /* 87 = linux_timerfd_gettime */ "linux_utimensat", /* 88 = linux_utimensat */ "acct", /* 89 = acct */ "linux_capget", /* 90 = linux_capget */ "linux_capset", /* 91 = linux_capset */ "linux_personality", /* 92 = linux_personality */ "linux_exit", /* 93 = linux_exit */ "linux_exit_group", /* 94 = linux_exit_group */ "linux_waitid", /* 95 = linux_waitid */ "linux_set_tid_address", /* 96 = linux_set_tid_address */ "linux_unshare", /* 97 = linux_unshare */ "linux_sys_futex", /* 98 = linux_sys_futex */ "linux_set_robust_list", /* 99 = linux_set_robust_list */ "linux_get_robust_list", /* 100 = linux_get_robust_list */ "linux_nanosleep", /* 101 = linux_nanosleep */ "linux_getitimer", /* 102 = linux_getitimer */ "linux_setitimer", /* 103 = linux_setitimer */ "linux_kexec_load", /* 104 = linux_kexec_load */ "linux_init_module", /* 105 = linux_init_module */ "linux_delete_module", /* 106 = linux_delete_module */ "linux_timer_create", /* 107 = linux_timer_create */ "linux_timer_gettime", /* 108 = linux_timer_gettime */ "linux_timer_getoverrun", /* 109 = linux_timer_getoverrun */ "linux_timer_settime", /* 110 = linux_timer_settime */ "linux_timer_delete", /* 111 = linux_timer_delete */ "linux_clock_settime", /* 112 = linux_clock_settime */ "linux_clock_gettime", /* 113 = linux_clock_gettime */ "linux_clock_getres", /* 114 = linux_clock_getres */ "linux_clock_nanosleep", /* 115 = linux_clock_nanosleep */ "linux_syslog", /* 116 = linux_syslog */ "linux_ptrace", /* 117 = linux_ptrace */ "linux_sched_setparam", /* 118 = linux_sched_setparam */ "linux_sched_setscheduler", /* 119 = linux_sched_setscheduler */ "linux_sched_getscheduler", /* 120 = linux_sched_getscheduler */ "linux_sched_getparam", /* 121 = linux_sched_getparam */ "linux_sched_setaffinity", /* 122 = linux_sched_setaffinity */ "linux_sched_getaffinity", /* 123 = linux_sched_getaffinity */ "sched_yield", /* 124 = sched_yield */ "linux_sched_get_priority_max", /* 125 = linux_sched_get_priority_max */ "linux_sched_get_priority_min", /* 126 = linux_sched_get_priority_min */ "linux_sched_rr_get_interval", /* 127 = linux_sched_rr_get_interval */ "#128", /* 128 = restart_syscall */ "linux_kill", /* 129 = linux_kill */ "linux_tkill", /* 130 = linux_tkill */ "linux_tgkill", /* 131 = linux_tgkill */ "linux_sigaltstack", /* 132 = linux_sigaltstack */ "linux_rt_sigsuspend", /* 133 = linux_rt_sigsuspend */ "linux_rt_sigaction", /* 134 = linux_rt_sigaction */ "linux_rt_sigprocmask", /* 135 = linux_rt_sigprocmask */ "linux_rt_sigpending", /* 136 = linux_rt_sigpending */ "linux_rt_sigtimedwait", /* 137 = linux_rt_sigtimedwait */ "linux_rt_sigqueueinfo", /* 138 = linux_rt_sigqueueinfo */ "linux_rt_sigreturn", /* 139 = linux_rt_sigreturn */ "setpriority", /* 140 = setpriority */ "linux_getpriority", /* 141 = linux_getpriority */ "linux_reboot", /* 142 = linux_reboot */ "setregid", /* 143 = setregid */ "setgid", /* 144 = setgid */ "setreuid", /* 145 = setreuid */ "setuid", /* 146 = setuid */ "setresuid", /* 147 = setresuid */ "getresuid", /* 148 = getresuid */ "setresgid", /* 149 = setresgid */ "getresgid", /* 150 = getresgid */ "linux_setfsuid", /* 151 = linux_setfsuid */ "linux_setfsgid", /* 152 = linux_setfsgid */ "linux_times", /* 153 = linux_times */ "setpgid", /* 154 = setpgid */ "getpgid", /* 155 = getpgid */ "linux_getsid", /* 156 = linux_getsid */ "setsid", /* 157 = setsid */ "linux_getgroups", /* 158 = linux_getgroups */ "linux_setgroups", /* 159 = linux_setgroups */ "linux_newuname", /* 160 = linux_newuname */ "linux_sethostname", /* 161 = linux_sethostname */ "linux_setdomainname", /* 162 = linux_setdomainname */ "linux_getrlimit", /* 163 = linux_getrlimit */ "linux_setrlimit", /* 164 = linux_setrlimit */ "getrusage", /* 165 = getrusage */ "umask", /* 166 = umask */ "linux_prctl", /* 167 = linux_prctl */ "linux_getcpu", /* 168 = linux_getcpu */ "gettimeofday", /* 169 = gettimeofday */ "settimeofday", /* 170 = settimeofday */ "linux_adjtimex", /* 171 = linux_adjtimex */ "linux_getpid", /* 172 = linux_getpid */ "linux_getppid", /* 173 = linux_getppid */ "linux_getuid", /* 174 = linux_getuid */ "geteuid", /* 175 = geteuid */ "linux_getgid", /* 176 = linux_getgid */ "getegid", /* 177 = getegid */ "linux_gettid", /* 178 = linux_gettid */ "linux_sysinfo", /* 179 = linux_sysinfo */ "linux_mq_open", /* 180 = linux_mq_open */ "linux_mq_unlink", /* 181 = linux_mq_unlink */ "linux_mq_timedsend", /* 182 = linux_mq_timedsend */ "linux_mq_timedreceive", /* 183 = linux_mq_timedreceive */ "linux_mq_notify", /* 184 = linux_mq_notify */ "linux_mq_getsetattr", /* 185 = linux_mq_getsetattr */ "linux_msgget", /* 186 = linux_msgget */ "linux_msgctl", /* 187 = linux_msgctl */ "linux_msgrcv", /* 188 = linux_msgrcv */ "linux_msgsnd", /* 189 = linux_msgsnd */ "linux_semget", /* 190 = linux_semget */ "linux_semctl", /* 191 = linux_semctl */ "linux_semtimedop", /* 192 = linux_semtimedop */ "linux_semop", /* 193 = linux_semop */ "linux_shmget", /* 194 = linux_shmget */ "linux_shmctl", /* 195 = linux_shmctl */ "linux_shmat", /* 196 = linux_shmat */ "linux_shmdt", /* 197 = linux_shmdt */ "linux_socket", /* 198 = linux_socket */ "linux_socketpair", /* 199 = linux_socketpair */ "linux_bind", /* 200 = linux_bind */ "linux_listen", /* 201 = linux_listen */ "linux_accept", /* 202 = linux_accept */ "linux_connect", /* 203 = linux_connect */ "linux_getsockname", /* 204 = linux_getsockname */ "linux_getpeername", /* 205 = linux_getpeername */ "linux_sendto", /* 206 = linux_sendto */ "linux_recvfrom", /* 207 = linux_recvfrom */ "linux_setsockopt", /* 208 = linux_setsockopt */ "linux_getsockopt", /* 209 = linux_getsockopt */ "linux_shutdown", /* 210 = linux_shutdown */ "linux_sendmsg", /* 211 = linux_sendmsg */ "linux_recvmsg", /* 212 = linux_recvmsg */ "#213", /* 213 = linux_readahead */ "linux_brk", /* 214 = linux_brk */ "munmap", /* 215 = munmap */ "linux_mremap", /* 216 = linux_mremap */ "linux_add_key", /* 217 = linux_add_key */ "linux_request_key", /* 218 = linux_request_key */ "linux_keyctl", /* 219 = linux_keyctl */ "linux_clone", /* 220 = linux_clone */ "linux_execve", /* 221 = linux_execve */ "linux_mmap2", /* 222 = linux_mmap2 */ "linux_fadvise64", /* 223 = linux_fadvise64 */ "swapon", /* 224 = swapon */ "linux_swapoff", /* 225 = linux_swapoff */ "linux_mprotect", /* 226 = linux_mprotect */ "linux_msync", /* 227 = linux_msync */ "mlock", /* 228 = mlock */ "munlock", /* 229 = munlock */ "mlockall", /* 230 = mlockall */ "munlockall", /* 231 = munlockall */ "linux_mincore", /* 232 = linux_mincore */ "madvise", /* 233 = madvise */ "linux_remap_file_pages", /* 234 = linux_remap_file_pages */ "linux_mbind", /* 235 = linux_mbind */ "linux_get_mempolicy", /* 236 = linux_get_mempolicy */ "linux_set_mempolicy", /* 237 = linux_set_mempolicy */ "linux_migrate_pages", /* 238 = linux_migrate_pages */ "linux_move_pages", /* 239 = linux_move_pages */ "linux_rt_tgsigqueueinfo", /* 240 = linux_rt_tgsigqueueinfo */ "linux_perf_event_open", /* 241 = linux_perf_event_open */ "linux_accept4", /* 242 = linux_accept4 */ "linux_recvmmsg", /* 243 = linux_recvmmsg */ "#244", /* 244 = unimpl_md_syscall */ "#245", /* 245 = unimpl_md_syscall */ "#246", /* 246 = unimpl_md_syscall */ "#247", /* 247 = unimpl_md_syscall */ "#248", /* 248 = unimpl_md_syscall */ "#249", /* 249 = unimpl_md_syscall */ "#250", /* 250 = unimpl_md_syscall */ "#251", /* 251 = unimpl_md_syscall */ "#252", /* 252 = unimpl_md_syscall */ "#253", /* 253 = unimpl_md_syscall */ "#254", /* 254 = unimpl_md_syscall */ "#255", /* 255 = unimpl_md_syscall */ "#256", /* 256 = unimpl_md_syscall */ "#257", /* 257 = unimpl_md_syscall */ "#258", /* 258 = unimpl_md_syscall */ "#259", /* 259 = unimpl_md_syscall */ "linux_wait4", /* 260 = linux_wait4 */ "linux_prlimit64", /* 261 = linux_prlimit64 */ "linux_fanotify_init", /* 262 = linux_fanotify_init */ "linux_fanotify_mark", /* 263 = linux_fanotify_mark */ "linux_name_to_handle_at", /* 264 = linux_name_to_handle_at */ "linux_open_by_handle_at", /* 265 = linux_open_by_handle_at */ "linux_clock_adjtime", /* 266 = linux_clock_adjtime */ "linux_syncfs", /* 267 = linux_syncfs */ "linux_setns", /* 268 = linux_setns */ "linux_sendmmsg", /* 269 = linux_sendmmsg */ "linux_process_vm_readv", /* 270 = linux_process_vm_readv */ "linux_process_vm_writev", /* 271 = linux_process_vm_writev */ "linux_kcmp", /* 272 = linux_kcmp */ "linux_finit_module", /* 273 = linux_finit_module */ "linux_sched_setattr", /* 274 = linux_sched_setattr */ "linux_sched_getattr", /* 275 = linux_sched_getattr */ "linux_renameat2", /* 276 = linux_renameat2 */ "linux_seccomp", /* 277 = linux_seccomp */ "linux_getrandom", /* 278 = linux_getrandom */ "linux_memfd_create", /* 279 = linux_memfd_create */ "linux_bpf", /* 280 = linux_bpf */ "linux_execveat", /* 281 = linux_execveat */ "linux_userfaultfd", /* 282 = linux_userfaultfd */ "linux_membarrier", /* 283 = linux_membarrier */ "linux_mlock2", /* 284 = linux_mlock2 */ "linux_copy_file_range", /* 285 = linux_copy_file_range */ "linux_preadv2", /* 286 = linux_preadv2 */ "linux_pwritev2", /* 287 = linux_pwritev2 */ "linux_pkey_mprotect", /* 288 = linux_pkey_mprotect */ "linux_pkey_alloc", /* 289 = linux_pkey_alloc */ "linux_pkey_free", /* 290 = linux_pkey_free */ "#291", /* 291 = nosys */ }; Index: head/sys/arm64/linux/linux_sysent.c =================================================================== --- head/sys/arm64/linux/linux_sysent.c (revision 335323) +++ head/sys/arm64/linux/linux_sysent.c (revision 335324) @@ -1,312 +1,312 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ */ #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent linux_sysent[] = { #define nosys linux_nosys { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 0 = linux_io_setup */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 1 = linux_io_destroy */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 2 = linux_io_submit */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 3 = linux_io_cancel */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 4 = linux_io_getevents */ { 0, (sy_call_t *)linux_setxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 5 = linux_setxattr */ { 0, (sy_call_t *)linux_lsetxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 6 = linux_lsetxattr */ { 0, (sy_call_t *)linux_fsetxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 7 = linux_fsetxattr */ { 0, (sy_call_t *)linux_getxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 8 = linux_getxattr */ { 0, (sy_call_t *)linux_lgetxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 9 = linux_lgetxattr */ { 0, (sy_call_t *)linux_fgetxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 10 = linux_fgetxattr */ { 0, (sy_call_t *)linux_listxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 11 = linux_listxattr */ { 0, (sy_call_t *)linux_llistxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 12 = linux_llistxattr */ { 0, (sy_call_t *)linux_flistxattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 13 = linux_flistxattr */ { 0, (sy_call_t *)linux_removexattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 14 = linux_removexattr */ { 0, (sy_call_t *)linux_lremovexattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 15 = linux_lremovexattr */ { 0, (sy_call_t *)linux_fremovexattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 16 = linux_fremovexattr */ { AS(linux_getcwd_args), (sy_call_t *)linux_getcwd, AUE_GETCWD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 17 = linux_getcwd */ { 0, (sy_call_t *)linux_lookup_dcookie, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 18 = linux_lookup_dcookie */ { AS(linux_eventfd2_args), (sy_call_t *)linux_eventfd2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 19 = linux_eventfd2 */ { AS(linux_epoll_create1_args), (sy_call_t *)linux_epoll_create1, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 20 = linux_epoll_create1 */ { AS(linux_epoll_ctl_args), (sy_call_t *)linux_epoll_ctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 21 = linux_epoll_ctl */ { AS(linux_epoll_pwait_args), (sy_call_t *)linux_epoll_pwait, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 22 = linux_epoll_pwait */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 23 = linux_dup */ + { AS(dup_args), (sy_call_t *)sys_dup, AUE_DUP, NULL, 0, 0, 0, SY_THR_STATIC }, /* 23 = dup */ { AS(linux_dup3_args), (sy_call_t *)linux_dup3, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 24 = linux_dup3 */ { AS(linux_fcntl_args), (sy_call_t *)linux_fcntl, AUE_FCNTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 25 = linux_fcntl */ { AS(linux_inotify_init1_args), (sy_call_t *)linux_inotify_init1, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 26 = linux_inotify_init1 */ { 0, (sy_call_t *)linux_inotify_add_watch, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 27 = linux_inotify_add_watch */ { 0, (sy_call_t *)linux_inotify_rm_watch, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 28 = linux_inotify_rm_watch */ { AS(linux_ioctl_args), (sy_call_t *)linux_ioctl, AUE_IOCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 29 = linux_ioctl */ { 0, (sy_call_t *)linux_ioprio_set, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 30 = linux_ioprio_set */ { 0, (sy_call_t *)linux_ioprio_get, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 31 = linux_ioprio_get */ { AS(flock_args), (sy_call_t *)sys_flock, AUE_FLOCK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 32 = flock */ { AS(linux_mknodat_args), (sy_call_t *)linux_mknodat, AUE_MKNODAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 33 = linux_mknodat */ { AS(linux_mkdirat_args), (sy_call_t *)linux_mkdirat, AUE_MKDIRAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 34 = linux_mkdirat */ { AS(linux_unlinkat_args), (sy_call_t *)linux_unlinkat, AUE_UNLINKAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 35 = linux_unlinkat */ { AS(linux_symlinkat_args), (sy_call_t *)linux_symlinkat, AUE_SYMLINKAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 36 = linux_symlinkat */ { AS(linux_linkat_args), (sy_call_t *)linux_linkat, AUE_LINKAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 37 = linux_linkat */ { AS(linux_renameat_args), (sy_call_t *)linux_renameat, AUE_RENAMEAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 38 = linux_renameat */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 39 = linux_umount2 */ { AS(linux_mount_args), (sy_call_t *)linux_mount, AUE_MOUNT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 40 = linux_mount */ { 0, (sy_call_t *)linux_pivot_root, AUE_PIVOT_ROOT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 41 = linux_pivot_root */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 42 = nfsservctl */ { AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 43 = linux_statfs */ { AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs, AUE_FSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 44 = linux_fstatfs */ { AS(linux_truncate_args), (sy_call_t *)linux_truncate, AUE_TRUNCATE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 45 = linux_truncate */ { AS(linux_ftruncate_args), (sy_call_t *)linux_ftruncate, AUE_FTRUNCATE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 46 = linux_ftruncate */ { AS(linux_fallocate_args), (sy_call_t *)linux_fallocate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 47 = linux_fallocate */ { AS(linux_faccessat_args), (sy_call_t *)linux_faccessat, AUE_FACCESSAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 48 = linux_faccessat */ { AS(linux_chdir_args), (sy_call_t *)linux_chdir, AUE_CHDIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 49 = linux_chdir */ { AS(fchdir_args), (sy_call_t *)sys_fchdir, AUE_FCHDIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 50 = fchdir */ { AS(chroot_args), (sy_call_t *)sys_chroot, AUE_CHROOT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 51 = chroot */ { AS(fchmod_args), (sy_call_t *)sys_fchmod, AUE_FCHMOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 52 = fchmod */ { AS(linux_fchmodat_args), (sy_call_t *)linux_fchmodat, AUE_FCHMODAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 53 = linux_fchmodat */ { AS(linux_fchownat_args), (sy_call_t *)linux_fchownat, AUE_FCHOWNAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 54 = linux_fchownat */ { AS(fchown_args), (sy_call_t *)sys_fchown, AUE_FCHOWN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 55 = fchown */ { AS(linux_openat_args), (sy_call_t *)linux_openat, AUE_OPEN_RWTC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 56 = linux_openat */ { AS(close_args), (sy_call_t *)sys_close, AUE_CLOSE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 57 = close */ { 0, (sy_call_t *)linux_vhangup, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 58 = linux_vhangup */ { AS(linux_pipe2_args), (sy_call_t *)linux_pipe2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 59 = linux_pipe2 */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 60 = linux_quotactl */ { AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_GETDIRENTRIES, NULL, 0, 0, 0, SY_THR_STATIC }, /* 61 = linux_getdents64 */ { AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_LSEEK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 62 = linux_lseek */ { AS(read_args), (sy_call_t *)sys_read, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 63 = read */ { AS(write_args), (sy_call_t *)sys_write, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 64 = write */ { AS(readv_args), (sy_call_t *)sys_readv, AUE_READV, NULL, 0, 0, 0, SY_THR_STATIC }, /* 65 = readv */ { AS(writev_args), (sy_call_t *)sys_writev, AUE_WRITEV, NULL, 0, 0, 0, SY_THR_STATIC }, /* 66 = writev */ { AS(linux_pread_args), (sy_call_t *)linux_pread, AUE_PREAD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 67 = linux_pread */ { AS(linux_pwrite_args), (sy_call_t *)linux_pwrite, AUE_PWRITE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 68 = linux_pwrite */ { AS(linux_preadv_args), (sy_call_t *)linux_preadv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 69 = linux_preadv */ { AS(linux_pwritev_args), (sy_call_t *)linux_pwritev, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 70 = linux_pwritev */ { AS(linux_sendfile_args), (sy_call_t *)linux_sendfile, AUE_SENDFILE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 71 = linux_sendfile */ { AS(linux_pselect6_args), (sy_call_t *)linux_pselect6, AUE_SELECT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 72 = linux_pselect6 */ { AS(linux_ppoll_args), (sy_call_t *)linux_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 73 = linux_ppoll */ { 0, (sy_call_t *)linux_signalfd4, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 74 = linux_signalfd4 */ { 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 75 = linux_vmsplice */ { 0, (sy_call_t *)linux_splice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 76 = linux_splice */ { 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 77 = linux_tee */ { AS(linux_readlinkat_args), (sy_call_t *)linux_readlinkat, AUE_READLINKAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 78 = linux_readlinkat */ { AS(linux_newfstatat_args), (sy_call_t *)linux_newfstatat, AUE_FSTATAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 79 = linux_newfstatat */ { AS(linux_newfstat_args), (sy_call_t *)linux_newfstat, AUE_FSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 80 = linux_newfstat */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 81 = linux_sync */ { AS(fsync_args), (sy_call_t *)sys_fsync, AUE_FSYNC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 82 = fsync */ { AS(linux_fdatasync_args), (sy_call_t *)linux_fdatasync, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 83 = linux_fdatasync */ { 0, (sy_call_t *)linux_sync_file_range, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 84 = linux_sync_file_range */ { AS(linux_timerfd_create_args), (sy_call_t *)linux_timerfd_create, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 85 = linux_timerfd_create */ { AS(linux_timerfd_settime_args), (sy_call_t *)linux_timerfd_settime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 86 = linux_timerfd_settime */ { AS(linux_timerfd_gettime_args), (sy_call_t *)linux_timerfd_gettime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 87 = linux_timerfd_gettime */ { AS(linux_utimensat_args), (sy_call_t *)linux_utimensat, AUE_FUTIMESAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 88 = linux_utimensat */ { AS(acct_args), (sy_call_t *)sys_acct, AUE_ACCT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 89 = acct */ { AS(linux_capget_args), (sy_call_t *)linux_capget, AUE_CAPGET, NULL, 0, 0, 0, SY_THR_STATIC }, /* 90 = linux_capget */ { AS(linux_capset_args), (sy_call_t *)linux_capset, AUE_CAPSET, NULL, 0, 0, 0, SY_THR_STATIC }, /* 91 = linux_capset */ { AS(linux_personality_args), (sy_call_t *)linux_personality, AUE_PERSONALITY, NULL, 0, 0, 0, SY_THR_STATIC }, /* 92 = linux_personality */ { AS(linux_exit_args), (sy_call_t *)linux_exit, AUE_EXIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 93 = linux_exit */ { AS(linux_exit_group_args), (sy_call_t *)linux_exit_group, AUE_EXIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 94 = linux_exit_group */ { AS(linux_waitid_args), (sy_call_t *)linux_waitid, AUE_WAIT6, NULL, 0, 0, 0, SY_THR_STATIC }, /* 95 = linux_waitid */ { AS(linux_set_tid_address_args), (sy_call_t *)linux_set_tid_address, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 96 = linux_set_tid_address */ { 0, (sy_call_t *)linux_unshare, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 97 = linux_unshare */ { AS(linux_sys_futex_args), (sy_call_t *)linux_sys_futex, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 98 = linux_sys_futex */ { AS(linux_set_robust_list_args), (sy_call_t *)linux_set_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 99 = linux_set_robust_list */ { AS(linux_get_robust_list_args), (sy_call_t *)linux_get_robust_list, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 100 = linux_get_robust_list */ { AS(linux_nanosleep_args), (sy_call_t *)linux_nanosleep, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 101 = linux_nanosleep */ { AS(linux_getitimer_args), (sy_call_t *)linux_getitimer, AUE_GETITIMER, NULL, 0, 0, 0, SY_THR_STATIC }, /* 102 = linux_getitimer */ { AS(linux_setitimer_args), (sy_call_t *)linux_setitimer, AUE_SETITIMER, NULL, 0, 0, 0, SY_THR_STATIC }, /* 103 = linux_setitimer */ { 0, (sy_call_t *)linux_kexec_load, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 104 = linux_kexec_load */ { 0, (sy_call_t *)linux_init_module, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 105 = linux_init_module */ { 0, (sy_call_t *)linux_delete_module, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 106 = linux_delete_module */ { AS(linux_timer_create_args), (sy_call_t *)linux_timer_create, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 107 = linux_timer_create */ { AS(linux_timer_gettime_args), (sy_call_t *)linux_timer_gettime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 108 = linux_timer_gettime */ { AS(linux_timer_getoverrun_args), (sy_call_t *)linux_timer_getoverrun, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 109 = linux_timer_getoverrun */ { AS(linux_timer_settime_args), (sy_call_t *)linux_timer_settime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 110 = linux_timer_settime */ { AS(linux_timer_delete_args), (sy_call_t *)linux_timer_delete, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 111 = linux_timer_delete */ { AS(linux_clock_settime_args), (sy_call_t *)linux_clock_settime, AUE_CLOCK_SETTIME, NULL, 0, 0, 0, SY_THR_STATIC }, /* 112 = linux_clock_settime */ { AS(linux_clock_gettime_args), (sy_call_t *)linux_clock_gettime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 113 = linux_clock_gettime */ { AS(linux_clock_getres_args), (sy_call_t *)linux_clock_getres, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 114 = linux_clock_getres */ { AS(linux_clock_nanosleep_args), (sy_call_t *)linux_clock_nanosleep, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 115 = linux_clock_nanosleep */ { AS(linux_syslog_args), (sy_call_t *)linux_syslog, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 116 = linux_syslog */ { AS(linux_ptrace_args), (sy_call_t *)linux_ptrace, AUE_PTRACE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 117 = linux_ptrace */ { AS(linux_sched_setparam_args), (sy_call_t *)linux_sched_setparam, AUE_SCHED_SETPARAM, NULL, 0, 0, 0, SY_THR_STATIC }, /* 118 = linux_sched_setparam */ { AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler, AUE_SCHED_SETSCHEDULER, NULL, 0, 0, 0, SY_THR_STATIC }, /* 119 = linux_sched_setscheduler */ { AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler, AUE_SCHED_GETSCHEDULER, NULL, 0, 0, 0, SY_THR_STATIC }, /* 120 = linux_sched_getscheduler */ { AS(linux_sched_getparam_args), (sy_call_t *)linux_sched_getparam, AUE_SCHED_GETPARAM, NULL, 0, 0, 0, SY_THR_STATIC }, /* 121 = linux_sched_getparam */ { AS(linux_sched_setaffinity_args), (sy_call_t *)linux_sched_setaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 122 = linux_sched_setaffinity */ { AS(linux_sched_getaffinity_args), (sy_call_t *)linux_sched_getaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 123 = linux_sched_getaffinity */ { 0, (sy_call_t *)sys_sched_yield, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 124 = sched_yield */ { AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max, AUE_SCHED_GET_PRIORITY_MAX, NULL, 0, 0, 0, SY_THR_STATIC }, /* 125 = linux_sched_get_priority_max */ { AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min, AUE_SCHED_GET_PRIORITY_MIN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 126 = linux_sched_get_priority_min */ { AS(linux_sched_rr_get_interval_args), (sy_call_t *)linux_sched_rr_get_interval, AUE_SCHED_RR_GET_INTERVAL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 127 = linux_sched_rr_get_interval */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 128 = restart_syscall */ { AS(linux_kill_args), (sy_call_t *)linux_kill, AUE_KILL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 129 = linux_kill */ { AS(linux_tkill_args), (sy_call_t *)linux_tkill, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 130 = linux_tkill */ { AS(linux_tgkill_args), (sy_call_t *)linux_tgkill, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 131 = linux_tgkill */ { AS(linux_sigaltstack_args), (sy_call_t *)linux_sigaltstack, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 132 = linux_sigaltstack */ { AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 133 = linux_rt_sigsuspend */ { AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 134 = linux_rt_sigaction */ { AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 135 = linux_rt_sigprocmask */ { AS(linux_rt_sigpending_args), (sy_call_t *)linux_rt_sigpending, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 136 = linux_rt_sigpending */ { AS(linux_rt_sigtimedwait_args), (sy_call_t *)linux_rt_sigtimedwait, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 137 = linux_rt_sigtimedwait */ { AS(linux_rt_sigqueueinfo_args), (sy_call_t *)linux_rt_sigqueueinfo, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 138 = linux_rt_sigqueueinfo */ { AS(linux_rt_sigreturn_args), (sy_call_t *)linux_rt_sigreturn, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 139 = linux_rt_sigreturn */ { AS(setpriority_args), (sy_call_t *)sys_setpriority, AUE_SETPRIORITY, NULL, 0, 0, 0, SY_THR_STATIC }, /* 140 = setpriority */ { AS(linux_getpriority_args), (sy_call_t *)linux_getpriority, AUE_GETPRIORITY, NULL, 0, 0, 0, SY_THR_STATIC }, /* 141 = linux_getpriority */ { AS(linux_reboot_args), (sy_call_t *)linux_reboot, AUE_REBOOT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 142 = linux_reboot */ { AS(setregid_args), (sy_call_t *)sys_setregid, AUE_SETREGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 143 = setregid */ { AS(setgid_args), (sy_call_t *)sys_setgid, AUE_SETGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 144 = setgid */ { AS(setreuid_args), (sy_call_t *)sys_setreuid, AUE_SETREUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 145 = setreuid */ { AS(setuid_args), (sy_call_t *)sys_setuid, AUE_SETUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 146 = setuid */ { AS(setresuid_args), (sy_call_t *)sys_setresuid, AUE_SETRESUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 147 = setresuid */ { AS(getresuid_args), (sy_call_t *)sys_getresuid, AUE_GETRESUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 148 = getresuid */ { AS(setresgid_args), (sy_call_t *)sys_setresgid, AUE_SETRESGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 149 = setresgid */ { AS(getresgid_args), (sy_call_t *)sys_getresgid, AUE_GETRESGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 150 = getresgid */ { AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid, AUE_SETFSUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 151 = linux_setfsuid */ { AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid, AUE_SETFSGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 152 = linux_setfsgid */ { AS(linux_times_args), (sy_call_t *)linux_times, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 153 = linux_times */ { AS(setpgid_args), (sy_call_t *)sys_setpgid, AUE_SETPGRP, NULL, 0, 0, 0, SY_THR_STATIC }, /* 154 = setpgid */ { AS(getpgid_args), (sy_call_t *)sys_getpgid, AUE_GETPGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 155 = getpgid */ { AS(linux_getsid_args), (sy_call_t *)linux_getsid, AUE_GETSID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 156 = linux_getsid */ { 0, (sy_call_t *)sys_setsid, AUE_SETSID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 157 = setsid */ { AS(linux_getgroups_args), (sy_call_t *)linux_getgroups, AUE_GETGROUPS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 158 = linux_getgroups */ { AS(linux_setgroups_args), (sy_call_t *)linux_setgroups, AUE_SETGROUPS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 159 = linux_setgroups */ { AS(linux_newuname_args), (sy_call_t *)linux_newuname, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 160 = linux_newuname */ { AS(linux_sethostname_args), (sy_call_t *)linux_sethostname, AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 161 = linux_sethostname */ { AS(linux_setdomainname_args), (sy_call_t *)linux_setdomainname, AUE_SYSCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 162 = linux_setdomainname */ { AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit, AUE_GETRLIMIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 163 = linux_getrlimit */ { AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit, AUE_SETRLIMIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 164 = linux_setrlimit */ { AS(getrusage_args), (sy_call_t *)sys_getrusage, AUE_GETRUSAGE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 165 = getrusage */ { AS(umask_args), (sy_call_t *)sys_umask, AUE_UMASK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 166 = umask */ { AS(linux_prctl_args), (sy_call_t *)linux_prctl, AUE_PRCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 167 = linux_prctl */ { AS(linux_getcpu_args), (sy_call_t *)linux_getcpu, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 168 = linux_getcpu */ { AS(gettimeofday_args), (sy_call_t *)sys_gettimeofday, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 169 = gettimeofday */ { AS(settimeofday_args), (sy_call_t *)sys_settimeofday, AUE_SETTIMEOFDAY, NULL, 0, 0, 0, SY_THR_STATIC }, /* 170 = settimeofday */ { 0, (sy_call_t *)linux_adjtimex, AUE_ADJTIME, NULL, 0, 0, 0, SY_THR_STATIC }, /* 171 = linux_adjtimex */ { 0, (sy_call_t *)linux_getpid, AUE_GETPID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 172 = linux_getpid */ { 0, (sy_call_t *)linux_getppid, AUE_GETPPID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 173 = linux_getppid */ { 0, (sy_call_t *)linux_getuid, AUE_GETUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 174 = linux_getuid */ { 0, (sy_call_t *)sys_geteuid, AUE_GETEUID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 175 = geteuid */ { 0, (sy_call_t *)linux_getgid, AUE_GETGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 176 = linux_getgid */ { 0, (sy_call_t *)sys_getegid, AUE_GETEGID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 177 = getegid */ { 0, (sy_call_t *)linux_gettid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 178 = linux_gettid */ { AS(linux_sysinfo_args), (sy_call_t *)linux_sysinfo, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 179 = linux_sysinfo */ { 0, (sy_call_t *)linux_mq_open, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 180 = linux_mq_open */ { 0, (sy_call_t *)linux_mq_unlink, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 181 = linux_mq_unlink */ { 0, (sy_call_t *)linux_mq_timedsend, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 182 = linux_mq_timedsend */ { 0, (sy_call_t *)linux_mq_timedreceive, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 183 = linux_mq_timedreceive */ { 0, (sy_call_t *)linux_mq_notify, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 184 = linux_mq_notify */ { 0, (sy_call_t *)linux_mq_getsetattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 185 = linux_mq_getsetattr */ { AS(linux_msgget_args), (sy_call_t *)linux_msgget, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 186 = linux_msgget */ { AS(linux_msgctl_args), (sy_call_t *)linux_msgctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 187 = linux_msgctl */ { AS(linux_msgrcv_args), (sy_call_t *)linux_msgrcv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 188 = linux_msgrcv */ { AS(linux_msgsnd_args), (sy_call_t *)linux_msgsnd, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 189 = linux_msgsnd */ { AS(linux_semget_args), (sy_call_t *)linux_semget, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 190 = linux_semget */ { AS(linux_semctl_args), (sy_call_t *)linux_semctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 191 = linux_semctl */ { 0, (sy_call_t *)linux_semtimedop, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 192 = linux_semtimedop */ { AS(linux_semop_args), (sy_call_t *)linux_semop, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 193 = linux_semop */ { AS(linux_shmget_args), (sy_call_t *)linux_shmget, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 194 = linux_shmget */ { AS(linux_shmctl_args), (sy_call_t *)linux_shmctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 195 = linux_shmctl */ { AS(linux_shmat_args), (sy_call_t *)linux_shmat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 196 = linux_shmat */ { AS(linux_shmdt_args), (sy_call_t *)linux_shmdt, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 197 = linux_shmdt */ { AS(linux_socket_args), (sy_call_t *)linux_socket, AUE_SOCKET, NULL, 0, 0, 0, SY_THR_STATIC }, /* 198 = linux_socket */ { AS(linux_socketpair_args), (sy_call_t *)linux_socketpair, AUE_SOCKETPAIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 199 = linux_socketpair */ { AS(linux_bind_args), (sy_call_t *)linux_bind, AUE_BIND, NULL, 0, 0, 0, SY_THR_STATIC }, /* 200 = linux_bind */ { AS(linux_listen_args), (sy_call_t *)linux_listen, AUE_LISTEN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 201 = linux_listen */ { AS(linux_accept_args), (sy_call_t *)linux_accept, AUE_ACCEPT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 202 = linux_accept */ { AS(linux_connect_args), (sy_call_t *)linux_connect, AUE_CONNECT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 203 = linux_connect */ { AS(linux_getsockname_args), (sy_call_t *)linux_getsockname, AUE_GETSOCKNAME, NULL, 0, 0, 0, SY_THR_STATIC }, /* 204 = linux_getsockname */ { AS(linux_getpeername_args), (sy_call_t *)linux_getpeername, AUE_GETPEERNAME, NULL, 0, 0, 0, SY_THR_STATIC }, /* 205 = linux_getpeername */ { AS(linux_sendto_args), (sy_call_t *)linux_sendto, AUE_SENDTO, NULL, 0, 0, 0, SY_THR_STATIC }, /* 206 = linux_sendto */ { AS(linux_recvfrom_args), (sy_call_t *)linux_recvfrom, AUE_RECVFROM, NULL, 0, 0, 0, SY_THR_STATIC }, /* 207 = linux_recvfrom */ { AS(linux_setsockopt_args), (sy_call_t *)linux_setsockopt, AUE_SETSOCKOPT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 208 = linux_setsockopt */ { AS(linux_getsockopt_args), (sy_call_t *)linux_getsockopt, AUE_GETSOCKOPT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 209 = linux_getsockopt */ { AS(linux_shutdown_args), (sy_call_t *)linux_shutdown, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 210 = linux_shutdown */ { AS(linux_sendmsg_args), (sy_call_t *)linux_sendmsg, AUE_SENDMSG, NULL, 0, 0, 0, SY_THR_STATIC }, /* 211 = linux_sendmsg */ { AS(linux_recvmsg_args), (sy_call_t *)linux_recvmsg, AUE_RECVMSG, NULL, 0, 0, 0, SY_THR_STATIC }, /* 212 = linux_recvmsg */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 213 = linux_readahead */ { AS(linux_brk_args), (sy_call_t *)linux_brk, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 214 = linux_brk */ { AS(munmap_args), (sy_call_t *)sys_munmap, AUE_MUNMAP, NULL, 0, 0, 0, SY_THR_STATIC }, /* 215 = munmap */ { AS(linux_mremap_args), (sy_call_t *)linux_mremap, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 216 = linux_mremap */ { 0, (sy_call_t *)linux_add_key, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 217 = linux_add_key */ { 0, (sy_call_t *)linux_request_key, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 218 = linux_request_key */ { 0, (sy_call_t *)linux_keyctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 219 = linux_keyctl */ { AS(linux_clone_args), (sy_call_t *)linux_clone, AUE_RFORK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 220 = linux_clone */ { AS(linux_execve_args), (sy_call_t *)linux_execve, AUE_EXECVE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 221 = linux_execve */ { AS(linux_mmap2_args), (sy_call_t *)linux_mmap2, AUE_MMAP, NULL, 0, 0, 0, SY_THR_STATIC }, /* 222 = linux_mmap2 */ { AS(linux_fadvise64_args), (sy_call_t *)linux_fadvise64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 223 = linux_fadvise64 */ { AS(swapon_args), (sy_call_t *)sys_swapon, AUE_SWAPON, NULL, 0, 0, 0, SY_THR_STATIC }, /* 224 = swapon */ { 0, (sy_call_t *)linux_swapoff, AUE_SWAPOFF, NULL, 0, 0, 0, SY_THR_STATIC }, /* 225 = linux_swapoff */ { AS(linux_mprotect_args), (sy_call_t *)linux_mprotect, AUE_MPROTECT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 226 = linux_mprotect */ { AS(linux_msync_args), (sy_call_t *)linux_msync, AUE_MSYNC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 227 = linux_msync */ { AS(mlock_args), (sy_call_t *)sys_mlock, AUE_MLOCK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 228 = mlock */ { AS(munlock_args), (sy_call_t *)sys_munlock, AUE_MUNLOCK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 229 = munlock */ { AS(mlockall_args), (sy_call_t *)sys_mlockall, AUE_MLOCKALL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 230 = mlockall */ { 0, (sy_call_t *)sys_munlockall, AUE_MUNLOCKALL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 231 = munlockall */ { AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 232 = linux_mincore */ { AS(madvise_args), (sy_call_t *)sys_madvise, AUE_MADVISE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 233 = madvise */ { 0, (sy_call_t *)linux_remap_file_pages, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 234 = linux_remap_file_pages */ { 0, (sy_call_t *)linux_mbind, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 235 = linux_mbind */ { 0, (sy_call_t *)linux_get_mempolicy, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 236 = linux_get_mempolicy */ { 0, (sy_call_t *)linux_set_mempolicy, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 237 = linux_set_mempolicy */ { 0, (sy_call_t *)linux_migrate_pages, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 238 = linux_migrate_pages */ { 0, (sy_call_t *)linux_move_pages, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 239 = linux_move_pages */ { AS(linux_rt_tgsigqueueinfo_args), (sy_call_t *)linux_rt_tgsigqueueinfo, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 240 = linux_rt_tgsigqueueinfo */ { 0, (sy_call_t *)linux_perf_event_open, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 241 = linux_perf_event_open */ { AS(linux_accept4_args), (sy_call_t *)linux_accept4, AUE_ACCEPT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 242 = linux_accept4 */ { AS(linux_recvmmsg_args), (sy_call_t *)linux_recvmmsg, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 243 = linux_recvmmsg */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 244 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 245 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 246 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 247 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 248 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 249 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 250 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 251 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 252 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 253 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 254 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 255 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 256 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 257 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 258 = unimpl_md_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 259 = unimpl_md_syscall */ { AS(linux_wait4_args), (sy_call_t *)linux_wait4, AUE_WAIT4, NULL, 0, 0, 0, SY_THR_STATIC }, /* 260 = linux_wait4 */ { AS(linux_prlimit64_args), (sy_call_t *)linux_prlimit64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 261 = linux_prlimit64 */ { 0, (sy_call_t *)linux_fanotify_init, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 262 = linux_fanotify_init */ { 0, (sy_call_t *)linux_fanotify_mark, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 263 = linux_fanotify_mark */ { 0, (sy_call_t *)linux_name_to_handle_at, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 264 = linux_name_to_handle_at */ { 0, (sy_call_t *)linux_open_by_handle_at, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 265 = linux_open_by_handle_at */ { 0, (sy_call_t *)linux_clock_adjtime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 266 = linux_clock_adjtime */ { AS(linux_syncfs_args), (sy_call_t *)linux_syncfs, AUE_SYNC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 267 = linux_syncfs */ { AS(linux_setns_args), (sy_call_t *)linux_setns, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 268 = linux_setns */ { AS(linux_sendmmsg_args), (sy_call_t *)linux_sendmmsg, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 269 = linux_sendmmsg */ { AS(linux_process_vm_readv_args), (sy_call_t *)linux_process_vm_readv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 270 = linux_process_vm_readv */ { AS(linux_process_vm_writev_args), (sy_call_t *)linux_process_vm_writev, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 271 = linux_process_vm_writev */ { AS(linux_kcmp_args), (sy_call_t *)linux_kcmp, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 272 = linux_kcmp */ { AS(linux_finit_module_args), (sy_call_t *)linux_finit_module, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 273 = linux_finit_module */ { AS(linux_sched_setattr_args), (sy_call_t *)linux_sched_setattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 274 = linux_sched_setattr */ { AS(linux_sched_getattr_args), (sy_call_t *)linux_sched_getattr, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 275 = linux_sched_getattr */ { AS(linux_renameat2_args), (sy_call_t *)linux_renameat2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 276 = linux_renameat2 */ { AS(linux_seccomp_args), (sy_call_t *)linux_seccomp, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 277 = linux_seccomp */ { AS(linux_getrandom_args), (sy_call_t *)linux_getrandom, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 278 = linux_getrandom */ { AS(linux_memfd_create_args), (sy_call_t *)linux_memfd_create, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 279 = linux_memfd_create */ { AS(linux_bpf_args), (sy_call_t *)linux_bpf, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 280 = linux_bpf */ { AS(linux_execveat_args), (sy_call_t *)linux_execveat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 281 = linux_execveat */ { AS(linux_userfaultfd_args), (sy_call_t *)linux_userfaultfd, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 282 = linux_userfaultfd */ { AS(linux_membarrier_args), (sy_call_t *)linux_membarrier, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 283 = linux_membarrier */ { AS(linux_mlock2_args), (sy_call_t *)linux_mlock2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 284 = linux_mlock2 */ { AS(linux_copy_file_range_args), (sy_call_t *)linux_copy_file_range, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 285 = linux_copy_file_range */ { AS(linux_preadv2_args), (sy_call_t *)linux_preadv2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 286 = linux_preadv2 */ { AS(linux_pwritev2_args), (sy_call_t *)linux_pwritev2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 287 = linux_pwritev2 */ { AS(linux_pkey_mprotect_args), (sy_call_t *)linux_pkey_mprotect, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 288 = linux_pkey_mprotect */ { AS(linux_pkey_alloc_args), (sy_call_t *)linux_pkey_alloc, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 289 = linux_pkey_alloc */ { AS(linux_pkey_free_args), (sy_call_t *)linux_pkey_free, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 290 = linux_pkey_free */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 291 = nosys */ }; Index: head/sys/arm64/linux/linux_systrace_args.c =================================================================== --- head/sys/arm64/linux/linux_systrace_args.c (revision 335323) +++ head/sys/arm64/linux/linux_systrace_args.c (revision 335324) @@ -1,6585 +1,6607 @@ /* * System call argument to DTrace register array converstion. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ * This file is part of the DTrace syscall provider. */ static void systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) { int64_t *iarg = (int64_t *) uarg; switch (sysnum) { #define nosys linux_nosys /* linux_setxattr */ case 5: { *n_args = 0; break; } /* linux_lsetxattr */ case 6: { *n_args = 0; break; } /* linux_fsetxattr */ case 7: { *n_args = 0; break; } /* linux_getxattr */ case 8: { *n_args = 0; break; } /* linux_lgetxattr */ case 9: { *n_args = 0; break; } /* linux_fgetxattr */ case 10: { *n_args = 0; break; } /* linux_listxattr */ case 11: { *n_args = 0; break; } /* linux_llistxattr */ case 12: { *n_args = 0; break; } /* linux_flistxattr */ case 13: { *n_args = 0; break; } /* linux_removexattr */ case 14: { *n_args = 0; break; } /* linux_lremovexattr */ case 15: { *n_args = 0; break; } /* linux_fremovexattr */ case 16: { *n_args = 0; break; } /* linux_getcwd */ case 17: { struct linux_getcwd_args *p = params; uarg[0] = (intptr_t) p->buf; /* char * */ iarg[1] = p->bufsize; /* l_ulong */ *n_args = 2; break; } /* linux_lookup_dcookie */ case 18: { *n_args = 0; break; } /* linux_eventfd2 */ case 19: { struct linux_eventfd2_args *p = params; iarg[0] = p->initval; /* l_uint */ iarg[1] = p->flags; /* l_int */ *n_args = 2; break; } /* linux_epoll_create1 */ case 20: { struct linux_epoll_create1_args *p = params; iarg[0] = p->flags; /* l_int */ *n_args = 1; break; } /* linux_epoll_ctl */ case 21: { struct linux_epoll_ctl_args *p = params; iarg[0] = p->epfd; /* l_int */ iarg[1] = p->op; /* l_int */ iarg[2] = p->fd; /* l_int */ uarg[3] = (intptr_t) p->event; /* struct epoll_event * */ *n_args = 4; break; } /* linux_epoll_pwait */ case 22: { struct linux_epoll_pwait_args *p = params; iarg[0] = p->epfd; /* l_int */ uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ iarg[2] = p->maxevents; /* l_int */ iarg[3] = p->timeout; /* l_int */ uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */ iarg[5] = p->sigsetsize; /* l_size_t */ *n_args = 6; break; } + /* dup */ + case 23: { + struct dup_args *p = params; + uarg[0] = p->fd; /* u_int */ + *n_args = 1; + break; + } /* linux_dup3 */ case 24: { struct linux_dup3_args *p = params; iarg[0] = p->oldfd; /* l_int */ iarg[1] = p->newfd; /* l_int */ iarg[2] = p->flags; /* l_int */ *n_args = 3; break; } /* linux_fcntl */ case 25: { struct linux_fcntl_args *p = params; iarg[0] = p->fd; /* l_uint */ iarg[1] = p->cmd; /* l_uint */ iarg[2] = p->arg; /* l_ulong */ *n_args = 3; break; } /* linux_inotify_init1 */ case 26: { struct linux_inotify_init1_args *p = params; iarg[0] = p->flags; /* l_int */ *n_args = 1; break; } /* linux_inotify_add_watch */ case 27: { *n_args = 0; break; } /* linux_inotify_rm_watch */ case 28: { *n_args = 0; break; } /* linux_ioctl */ case 29: { struct linux_ioctl_args *p = params; iarg[0] = p->fd; /* l_uint */ iarg[1] = p->cmd; /* l_uint */ uarg[2] = p->arg; /* uintptr_t */ *n_args = 3; break; } /* linux_ioprio_set */ case 30: { *n_args = 0; break; } /* linux_ioprio_get */ case 31: { *n_args = 0; break; } /* flock */ case 32: { struct flock_args *p = params; iarg[0] = p->fd; /* int */ iarg[1] = p->how; /* int */ *n_args = 2; break; } /* linux_mknodat */ case 33: { struct linux_mknodat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->filename; /* const char * */ iarg[2] = p->mode; /* l_int */ iarg[3] = p->dev; /* l_uint */ *n_args = 4; break; } /* linux_mkdirat */ case 34: { struct linux_mkdirat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->pathname; /* const char * */ iarg[2] = p->mode; /* l_int */ *n_args = 3; break; } /* linux_unlinkat */ case 35: { struct linux_unlinkat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->pathname; /* const char * */ iarg[2] = p->flag; /* l_int */ *n_args = 3; break; } /* linux_symlinkat */ case 36: { struct linux_symlinkat_args *p = params; uarg[0] = (intptr_t) p->oldname; /* const char * */ iarg[1] = p->newdfd; /* l_int */ uarg[2] = (intptr_t) p->newname; /* const char * */ *n_args = 3; break; } /* linux_linkat */ case 37: { struct linux_linkat_args *p = params; iarg[0] = p->olddfd; /* l_int */ uarg[1] = (intptr_t) p->oldname; /* const char * */ iarg[2] = p->newdfd; /* l_int */ uarg[3] = (intptr_t) p->newname; /* const char * */ iarg[4] = p->flag; /* l_int */ *n_args = 5; break; } /* linux_renameat */ case 38: { struct linux_renameat_args *p = params; iarg[0] = p->olddfd; /* l_int */ uarg[1] = (intptr_t) p->oldname; /* const char * */ iarg[2] = p->newdfd; /* l_int */ uarg[3] = (intptr_t) p->newname; /* const char * */ *n_args = 4; break; } /* linux_mount */ case 40: { struct linux_mount_args *p = params; uarg[0] = (intptr_t) p->specialfile; /* char * */ uarg[1] = (intptr_t) p->dir; /* char * */ uarg[2] = (intptr_t) p->filesystemtype; /* char * */ iarg[3] = p->rwflag; /* l_ulong */ uarg[4] = (intptr_t) p->data; /* void * */ *n_args = 5; break; } /* linux_pivot_root */ case 41: { *n_args = 0; break; } /* linux_statfs */ case 43: { struct linux_statfs_args *p = params; uarg[0] = (intptr_t) p->path; /* char * */ uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ *n_args = 2; break; } /* linux_fstatfs */ case 44: { struct linux_fstatfs_args *p = params; iarg[0] = p->fd; /* l_uint */ uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ *n_args = 2; break; } /* linux_truncate */ case 45: { struct linux_truncate_args *p = params; uarg[0] = (intptr_t) p->path; /* char * */ iarg[1] = p->length; /* l_ulong */ *n_args = 2; break; } /* linux_ftruncate */ case 46: { struct linux_ftruncate_args *p = params; iarg[0] = p->fd; /* l_int */ iarg[1] = p->length; /* l_long */ *n_args = 2; break; } /* linux_fallocate */ case 47: { struct linux_fallocate_args *p = params; iarg[0] = p->fd; /* l_int */ iarg[1] = p->mode; /* l_int */ iarg[2] = p->offset; /* l_loff_t */ iarg[3] = p->len; /* l_loff_t */ *n_args = 4; break; } /* linux_faccessat */ case 48: { struct linux_faccessat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->filename; /* const char * */ iarg[2] = p->amode; /* l_int */ *n_args = 3; break; } /* linux_chdir */ case 49: { struct linux_chdir_args *p = params; uarg[0] = (intptr_t) p->path; /* char * */ *n_args = 1; break; } /* fchdir */ case 50: { struct fchdir_args *p = params; iarg[0] = p->fd; /* int */ *n_args = 1; break; } /* chroot */ case 51: { struct chroot_args *p = params; uarg[0] = (intptr_t) p->path; /* char * */ *n_args = 1; break; } /* fchmod */ case 52: { struct fchmod_args *p = params; iarg[0] = p->fd; /* int */ iarg[1] = p->mode; /* int */ *n_args = 2; break; } /* linux_fchmodat */ case 53: { struct linux_fchmodat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->filename; /* const char * */ iarg[2] = p->mode; /* l_mode_t */ *n_args = 3; break; } /* linux_fchownat */ case 54: { struct linux_fchownat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->filename; /* const char * */ iarg[2] = p->uid; /* l_uid_t */ iarg[3] = p->gid; /* l_gid_t */ iarg[4] = p->flag; /* l_int */ *n_args = 5; break; } /* fchown */ case 55: { struct fchown_args *p = params; iarg[0] = p->fd; /* int */ iarg[1] = p->uid; /* int */ iarg[2] = p->gid; /* int */ *n_args = 3; break; } /* linux_openat */ case 56: { struct linux_openat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->filename; /* const char * */ iarg[2] = p->flags; /* l_int */ iarg[3] = p->mode; /* l_int */ *n_args = 4; break; } /* close */ case 57: { struct close_args *p = params; iarg[0] = p->fd; /* int */ *n_args = 1; break; } /* linux_vhangup */ case 58: { *n_args = 0; break; } /* linux_pipe2 */ case 59: { struct linux_pipe2_args *p = params; uarg[0] = (intptr_t) p->pipefds; /* l_int * */ iarg[1] = p->flags; /* l_int */ *n_args = 2; break; } /* linux_getdents64 */ case 61: { struct linux_getdents64_args *p = params; iarg[0] = p->fd; /* l_uint */ uarg[1] = (intptr_t) p->dirent; /* void * */ iarg[2] = p->count; /* l_uint */ *n_args = 3; break; } /* linux_lseek */ case 62: { struct linux_lseek_args *p = params; iarg[0] = p->fdes; /* l_uint */ iarg[1] = p->off; /* l_off_t */ iarg[2] = p->whence; /* l_int */ *n_args = 3; break; } /* read */ case 63: { struct read_args *p = params; iarg[0] = p->fd; /* int */ uarg[1] = (intptr_t) p->buf; /* char * */ uarg[2] = p->nbyte; /* u_int */ *n_args = 3; break; } /* write */ case 64: { struct write_args *p = params; iarg[0] = p->fd; /* int */ uarg[1] = (intptr_t) p->buf; /* char * */ uarg[2] = p->nbyte; /* u_int */ *n_args = 3; break; } /* readv */ case 65: { struct readv_args *p = params; iarg[0] = p->fd; /* int */ uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ uarg[2] = p->iovcnt; /* u_int */ *n_args = 3; break; } /* writev */ case 66: { struct writev_args *p = params; iarg[0] = p->fd; /* int */ uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ uarg[2] = p->iovcnt; /* u_int */ *n_args = 3; break; } /* linux_pread */ case 67: { struct linux_pread_args *p = params; iarg[0] = p->fd; /* l_uint */ uarg[1] = (intptr_t) p->buf; /* char * */ iarg[2] = p->nbyte; /* l_size_t */ iarg[3] = p->offset; /* l_loff_t */ *n_args = 4; break; } /* linux_pwrite */ case 68: { struct linux_pwrite_args *p = params; iarg[0] = p->fd; /* l_uint */ uarg[1] = (intptr_t) p->buf; /* char * */ iarg[2] = p->nbyte; /* l_size_t */ iarg[3] = p->offset; /* l_loff_t */ *n_args = 4; break; } /* linux_preadv */ case 69: { struct linux_preadv_args *p = params; iarg[0] = p->fd; /* l_ulong */ uarg[1] = (intptr_t) p->vec; /* struct iovec * */ iarg[2] = p->vlen; /* l_ulong */ iarg[3] = p->pos_l; /* l_ulong */ iarg[4] = p->pos_h; /* l_ulong */ *n_args = 5; break; } /* linux_pwritev */ case 70: { struct linux_pwritev_args *p = params; iarg[0] = p->fd; /* l_ulong */ uarg[1] = (intptr_t) p->vec; /* struct iovec * */ iarg[2] = p->vlen; /* l_ulong */ iarg[3] = p->pos_l; /* l_ulong */ iarg[4] = p->pos_h; /* l_ulong */ *n_args = 5; break; } /* linux_sendfile */ case 71: { struct linux_sendfile_args *p = params; iarg[0] = p->out; /* l_int */ iarg[1] = p->in; /* l_int */ uarg[2] = (intptr_t) p->offset; /* l_long * */ iarg[3] = p->count; /* l_size_t */ *n_args = 4; break; } /* linux_pselect6 */ case 72: { struct linux_pselect6_args *p = params; iarg[0] = p->nfds; /* l_int */ uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */ uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */ *n_args = 6; break; } /* linux_ppoll */ case 73: { struct linux_ppoll_args *p = params; uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ uarg[1] = p->nfds; /* uint32_t */ uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */ uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */ iarg[4] = p->ssize; /* l_size_t */ *n_args = 5; break; } /* linux_signalfd4 */ case 74: { *n_args = 0; break; } /* linux_vmsplice */ case 75: { *n_args = 0; break; } /* linux_splice */ case 76: { *n_args = 0; break; } /* linux_tee */ case 77: { *n_args = 0; break; } /* linux_readlinkat */ case 78: { struct linux_readlinkat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->path; /* const char * */ uarg[2] = (intptr_t) p->buf; /* char * */ iarg[3] = p->bufsiz; /* l_int */ *n_args = 4; break; } /* linux_newfstatat */ case 79: { struct linux_newfstatat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->pathname; /* char * */ uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ iarg[3] = p->flag; /* l_int */ *n_args = 4; break; } /* linux_newfstat */ case 80: { struct linux_newfstat_args *p = params; iarg[0] = p->fd; /* l_uint */ uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ *n_args = 2; break; } /* fsync */ case 82: { struct fsync_args *p = params; iarg[0] = p->fd; /* int */ *n_args = 1; break; } /* linux_fdatasync */ case 83: { struct linux_fdatasync_args *p = params; iarg[0] = p->fd; /* l_uint */ *n_args = 1; break; } /* linux_sync_file_range */ case 84: { *n_args = 0; break; } /* linux_timerfd_create */ case 85: { struct linux_timerfd_create_args *p = params; iarg[0] = p->clockid; /* l_int */ iarg[1] = p->flags; /* l_int */ *n_args = 2; break; } /* linux_timerfd_settime */ case 86: { struct linux_timerfd_settime_args *p = params; iarg[0] = p->fd; /* l_int */ iarg[1] = p->flags; /* l_int */ uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */ uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */ *n_args = 4; break; } /* linux_timerfd_gettime */ case 87: { struct linux_timerfd_gettime_args *p = params; iarg[0] = p->fd; /* l_int */ uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */ *n_args = 2; break; } /* linux_utimensat */ case 88: { struct linux_utimensat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->pathname; /* const char * */ uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */ iarg[3] = p->flags; /* l_int */ *n_args = 4; break; } /* acct */ case 89: { struct acct_args *p = params; uarg[0] = (intptr_t) p->path; /* char * */ *n_args = 1; break; } /* linux_capget */ case 90: { struct linux_capget_args *p = params; uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ *n_args = 2; break; } /* linux_capset */ case 91: { struct linux_capset_args *p = params; uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ *n_args = 2; break; } /* linux_personality */ case 92: { struct linux_personality_args *p = params; iarg[0] = p->per; /* l_uint */ *n_args = 1; break; } /* linux_exit */ case 93: { struct linux_exit_args *p = params; iarg[0] = p->rval; /* int */ *n_args = 1; break; } /* linux_exit_group */ case 94: { struct linux_exit_group_args *p = params; iarg[0] = p->error_code; /* int */ *n_args = 1; break; } /* linux_waitid */ case 95: { struct linux_waitid_args *p = params; iarg[0] = p->idtype; /* l_int */ iarg[1] = p->id; /* l_pid_t */ uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ iarg[3] = p->options; /* l_int */ uarg[4] = (intptr_t) p->rusage; /* struct rusage * */ *n_args = 5; break; } /* linux_set_tid_address */ case 96: { struct linux_set_tid_address_args *p = params; uarg[0] = (intptr_t) p->tidptr; /* int * */ *n_args = 1; break; } /* linux_unshare */ case 97: { *n_args = 0; break; } /* linux_sys_futex */ case 98: { struct linux_sys_futex_args *p = params; uarg[0] = (intptr_t) p->uaddr; /* void * */ iarg[1] = p->op; /* int */ iarg[2] = p->val; /* int */ uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ uarg[4] = (intptr_t) p->uaddr2; /* void * */ iarg[5] = p->val3; /* int */ *n_args = 6; break; } /* linux_set_robust_list */ case 99: { struct linux_set_robust_list_args *p = params; uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ iarg[1] = p->len; /* l_size_t */ *n_args = 2; break; } /* linux_get_robust_list */ case 100: { struct linux_get_robust_list_args *p = params; iarg[0] = p->pid; /* l_int */ uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ uarg[2] = (intptr_t) p->len; /* l_size_t * */ *n_args = 3; break; } /* linux_nanosleep */ case 101: { struct linux_nanosleep_args *p = params; uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */ uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */ *n_args = 2; break; } /* linux_getitimer */ case 102: { struct linux_getitimer_args *p = params; iarg[0] = p->which; /* l_int */ uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ *n_args = 2; break; } /* linux_setitimer */ case 103: { struct linux_setitimer_args *p = params; iarg[0] = p->which; /* l_int */ uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */ *n_args = 3; break; } /* linux_kexec_load */ case 104: { *n_args = 0; break; } /* linux_init_module */ case 105: { *n_args = 0; break; } /* linux_delete_module */ case 106: { *n_args = 0; break; } /* linux_timer_create */ case 107: { struct linux_timer_create_args *p = params; iarg[0] = p->clock_id; /* clockid_t */ uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */ *n_args = 3; break; } /* linux_timer_gettime */ case 108: { struct linux_timer_gettime_args *p = params; iarg[0] = p->timerid; /* l_timer_t */ uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */ *n_args = 2; break; } /* linux_timer_getoverrun */ case 109: { struct linux_timer_getoverrun_args *p = params; iarg[0] = p->timerid; /* l_timer_t */ *n_args = 1; break; } /* linux_timer_settime */ case 110: { struct linux_timer_settime_args *p = params; iarg[0] = p->timerid; /* l_timer_t */ iarg[1] = p->flags; /* l_int */ uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */ uarg[3] = (intptr_t) p->old; /* struct itimerspec * */ *n_args = 4; break; } /* linux_timer_delete */ case 111: { struct linux_timer_delete_args *p = params; iarg[0] = p->timerid; /* l_timer_t */ *n_args = 1; break; } /* linux_clock_settime */ case 112: { struct linux_clock_settime_args *p = params; iarg[0] = p->which; /* clockid_t */ uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ *n_args = 2; break; } /* linux_clock_gettime */ case 113: { struct linux_clock_gettime_args *p = params; iarg[0] = p->which; /* clockid_t */ uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ *n_args = 2; break; } /* linux_clock_getres */ case 114: { struct linux_clock_getres_args *p = params; iarg[0] = p->which; /* clockid_t */ uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ *n_args = 2; break; } /* linux_clock_nanosleep */ case 115: { struct linux_clock_nanosleep_args *p = params; iarg[0] = p->which; /* clockid_t */ iarg[1] = p->flags; /* int */ uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ *n_args = 4; break; } /* linux_syslog */ case 116: { struct linux_syslog_args *p = params; iarg[0] = p->type; /* l_int */ uarg[1] = (intptr_t) p->buf; /* char * */ iarg[2] = p->len; /* l_int */ *n_args = 3; break; } /* linux_ptrace */ case 117: { struct linux_ptrace_args *p = params; iarg[0] = p->req; /* l_long */ iarg[1] = p->pid; /* l_long */ iarg[2] = p->addr; /* l_ulong */ iarg[3] = p->data; /* l_ulong */ *n_args = 4; break; } /* linux_sched_setparam */ case 118: { struct linux_sched_setparam_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->param; /* struct sched_param * */ *n_args = 2; break; } /* linux_sched_setscheduler */ case 119: { struct linux_sched_setscheduler_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->policy; /* l_int */ uarg[2] = (intptr_t) p->param; /* struct sched_param * */ *n_args = 3; break; } /* linux_sched_getscheduler */ case 120: { struct linux_sched_getscheduler_args *p = params; iarg[0] = p->pid; /* l_pid_t */ *n_args = 1; break; } /* linux_sched_getparam */ case 121: { struct linux_sched_getparam_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->param; /* struct sched_param * */ *n_args = 2; break; } /* linux_sched_setaffinity */ case 122: { struct linux_sched_setaffinity_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->len; /* l_uint */ uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ *n_args = 3; break; } /* linux_sched_getaffinity */ case 123: { struct linux_sched_getaffinity_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->len; /* l_uint */ uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ *n_args = 3; break; } /* sched_yield */ case 124: { *n_args = 0; break; } /* linux_sched_get_priority_max */ case 125: { struct linux_sched_get_priority_max_args *p = params; iarg[0] = p->policy; /* l_int */ *n_args = 1; break; } /* linux_sched_get_priority_min */ case 126: { struct linux_sched_get_priority_min_args *p = params; iarg[0] = p->policy; /* l_int */ *n_args = 1; break; } /* linux_sched_rr_get_interval */ case 127: { struct linux_sched_rr_get_interval_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */ *n_args = 2; break; } /* linux_kill */ case 129: { struct linux_kill_args *p = params; iarg[0] = p->pid; /* l_int */ iarg[1] = p->signum; /* l_int */ *n_args = 2; break; } /* linux_tkill */ case 130: { struct linux_tkill_args *p = params; iarg[0] = p->tid; /* l_int */ iarg[1] = p->sig; /* l_int */ *n_args = 2; break; } /* linux_tgkill */ case 131: { struct linux_tgkill_args *p = params; iarg[0] = p->tgid; /* l_int */ iarg[1] = p->pid; /* l_int */ iarg[2] = p->sig; /* l_int */ *n_args = 3; break; } /* linux_sigaltstack */ case 132: { struct linux_sigaltstack_args *p = params; uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ *n_args = 2; break; } /* linux_rt_sigsuspend */ case 133: { struct linux_rt_sigsuspend_args *p = params; uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ iarg[1] = p->sigsetsize; /* l_size_t */ *n_args = 2; break; } /* linux_rt_sigaction */ case 134: { struct linux_rt_sigaction_args *p = params; iarg[0] = p->sig; /* l_int */ uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */ uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */ iarg[3] = p->sigsetsize; /* l_size_t */ *n_args = 4; break; } /* linux_rt_sigprocmask */ case 135: { struct linux_rt_sigprocmask_args *p = params; iarg[0] = p->how; /* l_int */ uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */ uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */ iarg[3] = p->sigsetsize; /* l_size_t */ *n_args = 4; break; } /* linux_rt_sigpending */ case 136: { struct linux_rt_sigpending_args *p = params; uarg[0] = (intptr_t) p->set; /* l_sigset_t * */ iarg[1] = p->sigsetsize; /* l_size_t */ *n_args = 2; break; } /* linux_rt_sigtimedwait */ case 137: { struct linux_rt_sigtimedwait_args *p = params; uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */ uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */ uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */ iarg[3] = p->sigsetsize; /* l_size_t */ *n_args = 4; break; } /* linux_rt_sigqueueinfo */ case 138: { struct linux_rt_sigqueueinfo_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->sig; /* l_int */ uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ *n_args = 3; break; } /* linux_rt_sigreturn */ case 139: { struct linux_rt_sigreturn_args *p = params; uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ *n_args = 1; break; } /* setpriority */ case 140: { struct setpriority_args *p = params; iarg[0] = p->which; /* int */ iarg[1] = p->who; /* int */ iarg[2] = p->prio; /* int */ *n_args = 3; break; } /* linux_getpriority */ case 141: { struct linux_getpriority_args *p = params; iarg[0] = p->which; /* l_int */ iarg[1] = p->who; /* l_int */ *n_args = 2; break; } /* linux_reboot */ case 142: { struct linux_reboot_args *p = params; iarg[0] = p->magic1; /* l_int */ iarg[1] = p->magic2; /* l_int */ iarg[2] = p->cmd; /* l_uint */ uarg[3] = (intptr_t) p->arg; /* void * */ *n_args = 4; break; } /* setregid */ case 143: { struct setregid_args *p = params; iarg[0] = p->rgid; /* gid_t */ iarg[1] = p->egid; /* gid_t */ *n_args = 2; break; } /* setgid */ case 144: { struct setgid_args *p = params; iarg[0] = p->gid; /* gid_t */ *n_args = 1; break; } /* setreuid */ case 145: { struct setreuid_args *p = params; uarg[0] = p->ruid; /* uid_t */ uarg[1] = p->euid; /* uid_t */ *n_args = 2; break; } /* setuid */ case 146: { struct setuid_args *p = params; uarg[0] = p->uid; /* uid_t */ *n_args = 1; break; } /* setresuid */ case 147: { struct setresuid_args *p = params; uarg[0] = p->ruid; /* uid_t */ uarg[1] = p->euid; /* uid_t */ uarg[2] = p->suid; /* uid_t */ *n_args = 3; break; } /* getresuid */ case 148: { struct getresuid_args *p = params; uarg[0] = (intptr_t) p->ruid; /* uid_t * */ uarg[1] = (intptr_t) p->euid; /* uid_t * */ uarg[2] = (intptr_t) p->suid; /* uid_t * */ *n_args = 3; break; } /* setresgid */ case 149: { struct setresgid_args *p = params; iarg[0] = p->rgid; /* gid_t */ iarg[1] = p->egid; /* gid_t */ iarg[2] = p->sgid; /* gid_t */ *n_args = 3; break; } /* getresgid */ case 150: { struct getresgid_args *p = params; uarg[0] = (intptr_t) p->rgid; /* gid_t * */ uarg[1] = (intptr_t) p->egid; /* gid_t * */ uarg[2] = (intptr_t) p->sgid; /* gid_t * */ *n_args = 3; break; } /* linux_setfsuid */ case 151: { struct linux_setfsuid_args *p = params; iarg[0] = p->uid; /* l_uid_t */ *n_args = 1; break; } /* linux_setfsgid */ case 152: { struct linux_setfsgid_args *p = params; iarg[0] = p->gid; /* l_gid_t */ *n_args = 1; break; } /* linux_times */ case 153: { struct linux_times_args *p = params; uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */ *n_args = 1; break; } /* setpgid */ case 154: { struct setpgid_args *p = params; iarg[0] = p->pid; /* int */ iarg[1] = p->pgid; /* int */ *n_args = 2; break; } /* getpgid */ case 155: { struct getpgid_args *p = params; iarg[0] = p->pid; /* int */ *n_args = 1; break; } /* linux_getsid */ case 156: { struct linux_getsid_args *p = params; iarg[0] = p->pid; /* l_pid_t */ *n_args = 1; break; } /* setsid */ case 157: { *n_args = 0; break; } /* linux_getgroups */ case 158: { struct linux_getgroups_args *p = params; iarg[0] = p->gidsetsize; /* l_int */ uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ *n_args = 2; break; } /* linux_setgroups */ case 159: { struct linux_setgroups_args *p = params; iarg[0] = p->gidsetsize; /* l_int */ uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ *n_args = 2; break; } /* linux_newuname */ case 160: { struct linux_newuname_args *p = params; uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */ *n_args = 1; break; } /* linux_sethostname */ case 161: { struct linux_sethostname_args *p = params; uarg[0] = (intptr_t) p->hostname; /* char * */ iarg[1] = p->len; /* l_uint */ *n_args = 2; break; } /* linux_setdomainname */ case 162: { struct linux_setdomainname_args *p = params; uarg[0] = (intptr_t) p->name; /* char * */ iarg[1] = p->len; /* l_int */ *n_args = 2; break; } /* linux_getrlimit */ case 163: { struct linux_getrlimit_args *p = params; iarg[0] = p->resource; /* l_uint */ uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ *n_args = 2; break; } /* linux_setrlimit */ case 164: { struct linux_setrlimit_args *p = params; iarg[0] = p->resource; /* l_uint */ uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ *n_args = 2; break; } /* getrusage */ case 165: { struct getrusage_args *p = params; iarg[0] = p->who; /* int */ uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ *n_args = 2; break; } /* umask */ case 166: { struct umask_args *p = params; iarg[0] = p->newmask; /* int */ *n_args = 1; break; } /* linux_prctl */ case 167: { struct linux_prctl_args *p = params; iarg[0] = p->option; /* l_int */ iarg[1] = p->arg2; /* l_uintptr_t */ iarg[2] = p->arg3; /* l_uintptr_t */ iarg[3] = p->arg4; /* l_uintptr_t */ iarg[4] = p->arg5; /* l_uintptr_t */ *n_args = 5; break; } /* linux_getcpu */ case 168: { struct linux_getcpu_args *p = params; uarg[0] = (intptr_t) p->cpu; /* l_uint * */ uarg[1] = (intptr_t) p->node; /* l_uint * */ uarg[2] = (intptr_t) p->cache; /* void * */ *n_args = 3; break; } /* gettimeofday */ case 169: { struct gettimeofday_args *p = params; uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */ uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ *n_args = 2; break; } /* settimeofday */ case 170: { struct settimeofday_args *p = params; uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */ uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ *n_args = 2; break; } /* linux_adjtimex */ case 171: { *n_args = 0; break; } /* linux_getpid */ case 172: { *n_args = 0; break; } /* linux_getppid */ case 173: { *n_args = 0; break; } /* linux_getuid */ case 174: { *n_args = 0; break; } /* geteuid */ case 175: { *n_args = 0; break; } /* linux_getgid */ case 176: { *n_args = 0; break; } /* getegid */ case 177: { *n_args = 0; break; } /* linux_gettid */ case 178: { *n_args = 0; break; } /* linux_sysinfo */ case 179: { struct linux_sysinfo_args *p = params; uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */ *n_args = 1; break; } /* linux_mq_open */ case 180: { *n_args = 0; break; } /* linux_mq_unlink */ case 181: { *n_args = 0; break; } /* linux_mq_timedsend */ case 182: { *n_args = 0; break; } /* linux_mq_timedreceive */ case 183: { *n_args = 0; break; } /* linux_mq_notify */ case 184: { *n_args = 0; break; } /* linux_mq_getsetattr */ case 185: { *n_args = 0; break; } /* linux_msgget */ case 186: { struct linux_msgget_args *p = params; iarg[0] = p->key; /* l_key_t */ iarg[1] = p->msgflg; /* l_int */ *n_args = 2; break; } /* linux_msgctl */ case 187: { struct linux_msgctl_args *p = params; iarg[0] = p->msqid; /* l_int */ iarg[1] = p->cmd; /* l_int */ uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */ *n_args = 3; break; } /* linux_msgrcv */ case 188: { struct linux_msgrcv_args *p = params; iarg[0] = p->msqid; /* l_int */ uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ iarg[2] = p->msgsz; /* l_size_t */ iarg[3] = p->msgtyp; /* l_long */ iarg[4] = p->msgflg; /* l_int */ *n_args = 5; break; } /* linux_msgsnd */ case 189: { struct linux_msgsnd_args *p = params; iarg[0] = p->msqid; /* l_int */ uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ iarg[2] = p->msgsz; /* l_size_t */ iarg[3] = p->msgflg; /* l_int */ *n_args = 4; break; } /* linux_semget */ case 190: { struct linux_semget_args *p = params; iarg[0] = p->key; /* l_key_t */ iarg[1] = p->nsems; /* l_int */ iarg[2] = p->semflg; /* l_int */ *n_args = 3; break; } /* linux_semctl */ case 191: { struct linux_semctl_args *p = params; iarg[0] = p->semid; /* l_int */ iarg[1] = p->semnum; /* l_int */ iarg[2] = p->cmd; /* l_int */ uarg[3] = p->arg.buf; /* union l_semun */ *n_args = 4; break; } /* linux_semtimedop */ case 192: { *n_args = 0; break; } /* linux_semop */ case 193: { struct linux_semop_args *p = params; iarg[0] = p->semid; /* l_int */ uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */ iarg[2] = p->nsops; /* l_uint */ *n_args = 3; break; } /* linux_shmget */ case 194: { struct linux_shmget_args *p = params; iarg[0] = p->key; /* l_key_t */ iarg[1] = p->size; /* l_size_t */ iarg[2] = p->shmflg; /* l_int */ *n_args = 3; break; } /* linux_shmctl */ case 195: { struct linux_shmctl_args *p = params; iarg[0] = p->shmid; /* l_int */ iarg[1] = p->cmd; /* l_int */ uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */ *n_args = 3; break; } /* linux_shmat */ case 196: { struct linux_shmat_args *p = params; iarg[0] = p->shmid; /* l_int */ uarg[1] = (intptr_t) p->shmaddr; /* char * */ iarg[2] = p->shmflg; /* l_int */ *n_args = 3; break; } /* linux_shmdt */ case 197: { struct linux_shmdt_args *p = params; uarg[0] = (intptr_t) p->shmaddr; /* char * */ *n_args = 1; break; } /* linux_socket */ case 198: { struct linux_socket_args *p = params; iarg[0] = p->domain; /* l_int */ iarg[1] = p->type; /* l_int */ iarg[2] = p->protocol; /* l_int */ *n_args = 3; break; } /* linux_socketpair */ case 199: { struct linux_socketpair_args *p = params; iarg[0] = p->domain; /* l_int */ iarg[1] = p->type; /* l_int */ iarg[2] = p->protocol; /* l_int */ iarg[3] = p->rsv; /* l_uintptr_t */ *n_args = 4; break; } /* linux_bind */ case 200: { struct linux_bind_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->name; /* l_uintptr_t */ iarg[2] = p->namelen; /* l_int */ *n_args = 3; break; } /* linux_listen */ case 201: { struct linux_listen_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->backlog; /* l_int */ *n_args = 2; break; } /* linux_accept */ case 202: { struct linux_accept_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->addr; /* l_uintptr_t */ iarg[2] = p->namelen; /* l_uintptr_t */ *n_args = 3; break; } /* linux_connect */ case 203: { struct linux_connect_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->name; /* l_uintptr_t */ iarg[2] = p->namelen; /* l_int */ *n_args = 3; break; } /* linux_getsockname */ case 204: { struct linux_getsockname_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->addr; /* l_uintptr_t */ iarg[2] = p->namelen; /* l_uintptr_t */ *n_args = 3; break; } /* linux_getpeername */ case 205: { struct linux_getpeername_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->addr; /* l_uintptr_t */ iarg[2] = p->namelen; /* l_uintptr_t */ *n_args = 3; break; } /* linux_sendto */ case 206: { struct linux_sendto_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->msg; /* l_uintptr_t */ iarg[2] = p->len; /* l_int */ iarg[3] = p->flags; /* l_int */ iarg[4] = p->to; /* l_uintptr_t */ iarg[5] = p->tolen; /* l_int */ *n_args = 6; break; } /* linux_recvfrom */ case 207: { struct linux_recvfrom_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->buf; /* l_uintptr_t */ iarg[2] = p->len; /* l_size_t */ iarg[3] = p->flags; /* l_int */ iarg[4] = p->from; /* l_uintptr_t */ iarg[5] = p->fromlen; /* l_uintptr_t */ *n_args = 6; break; } /* linux_setsockopt */ case 208: { struct linux_setsockopt_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->level; /* l_int */ iarg[2] = p->optname; /* l_int */ iarg[3] = p->optval; /* l_uintptr_t */ iarg[4] = p->optlen; /* l_int */ *n_args = 5; break; } /* linux_getsockopt */ case 209: { struct linux_getsockopt_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->level; /* l_int */ iarg[2] = p->optname; /* l_int */ iarg[3] = p->optval; /* l_uintptr_t */ iarg[4] = p->optlen; /* l_uintptr_t */ *n_args = 5; break; } /* linux_shutdown */ case 210: { struct linux_shutdown_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->how; /* l_int */ *n_args = 2; break; } /* linux_sendmsg */ case 211: { struct linux_sendmsg_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->msg; /* l_uintptr_t */ iarg[2] = p->flags; /* l_int */ *n_args = 3; break; } /* linux_recvmsg */ case 212: { struct linux_recvmsg_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->msg; /* l_uintptr_t */ iarg[2] = p->flags; /* l_int */ *n_args = 3; break; } /* linux_brk */ case 214: { struct linux_brk_args *p = params; iarg[0] = p->dsend; /* l_ulong */ *n_args = 1; break; } /* munmap */ case 215: { struct munmap_args *p = params; uarg[0] = (intptr_t) p->addr; /* caddr_t */ iarg[1] = p->len; /* int */ *n_args = 2; break; } /* linux_mremap */ case 216: { struct linux_mremap_args *p = params; iarg[0] = p->addr; /* l_ulong */ iarg[1] = p->old_len; /* l_ulong */ iarg[2] = p->new_len; /* l_ulong */ iarg[3] = p->flags; /* l_ulong */ iarg[4] = p->new_addr; /* l_ulong */ *n_args = 5; break; } /* linux_add_key */ case 217: { *n_args = 0; break; } /* linux_request_key */ case 218: { *n_args = 0; break; } /* linux_keyctl */ case 219: { *n_args = 0; break; } /* linux_clone */ case 220: { struct linux_clone_args *p = params; iarg[0] = p->flags; /* l_int */ uarg[1] = (intptr_t) p->stack; /* void * */ uarg[2] = (intptr_t) p->parent_tidptr; /* void * */ uarg[3] = (intptr_t) p->child_tidptr; /* void * */ uarg[4] = (intptr_t) p->tls; /* void * */ *n_args = 5; break; } /* linux_execve */ case 221: { struct linux_execve_args *p = params; uarg[0] = (intptr_t) p->path; /* char * */ uarg[1] = (intptr_t) p->argp; /* char ** */ uarg[2] = (intptr_t) p->envp; /* char ** */ *n_args = 3; break; } /* linux_mmap2 */ case 222: { struct linux_mmap2_args *p = params; iarg[0] = p->addr; /* l_ulong */ iarg[1] = p->len; /* l_ulong */ iarg[2] = p->prot; /* l_ulong */ iarg[3] = p->flags; /* l_ulong */ iarg[4] = p->fd; /* l_ulong */ iarg[5] = p->pgoff; /* l_ulong */ *n_args = 6; break; } /* linux_fadvise64 */ case 223: { struct linux_fadvise64_args *p = params; iarg[0] = p->fd; /* l_int */ iarg[1] = p->offset; /* l_loff_t */ iarg[2] = p->len; /* l_size_t */ iarg[3] = p->advice; /* l_int */ *n_args = 4; break; } /* swapon */ case 224: { struct swapon_args *p = params; uarg[0] = (intptr_t) p->name; /* char * */ *n_args = 1; break; } /* linux_swapoff */ case 225: { *n_args = 0; break; } /* linux_mprotect */ case 226: { struct linux_mprotect_args *p = params; uarg[0] = (intptr_t) p->addr; /* caddr_t */ iarg[1] = p->len; /* l_int */ iarg[2] = p->prot; /* l_int */ *n_args = 3; break; } /* linux_msync */ case 227: { struct linux_msync_args *p = params; iarg[0] = p->addr; /* l_ulong */ iarg[1] = p->len; /* l_size_t */ iarg[2] = p->fl; /* l_int */ *n_args = 3; break; } /* mlock */ case 228: { struct mlock_args *p = params; uarg[0] = (intptr_t) p->addr; /* const void * */ uarg[1] = p->len; /* size_t */ *n_args = 2; break; } /* munlock */ case 229: { struct munlock_args *p = params; uarg[0] = (intptr_t) p->addr; /* const void * */ uarg[1] = p->len; /* size_t */ *n_args = 2; break; } /* mlockall */ case 230: { struct mlockall_args *p = params; iarg[0] = p->how; /* int */ *n_args = 1; break; } /* munlockall */ case 231: { *n_args = 0; break; } /* linux_mincore */ case 232: { struct linux_mincore_args *p = params; iarg[0] = p->start; /* l_ulong */ iarg[1] = p->len; /* l_size_t */ uarg[2] = (intptr_t) p->vec; /* u_char * */ *n_args = 3; break; } /* madvise */ case 233: { struct madvise_args *p = params; uarg[0] = (intptr_t) p->addr; /* void * */ uarg[1] = p->len; /* size_t */ iarg[2] = p->behav; /* int */ *n_args = 3; break; } /* linux_remap_file_pages */ case 234: { *n_args = 0; break; } /* linux_mbind */ case 235: { *n_args = 0; break; } /* linux_get_mempolicy */ case 236: { *n_args = 0; break; } /* linux_set_mempolicy */ case 237: { *n_args = 0; break; } /* linux_migrate_pages */ case 238: { *n_args = 0; break; } /* linux_move_pages */ case 239: { *n_args = 0; break; } /* linux_rt_tgsigqueueinfo */ case 240: { struct linux_rt_tgsigqueueinfo_args *p = params; iarg[0] = p->tgid; /* l_pid_t */ iarg[1] = p->tid; /* l_pid_t */ iarg[2] = p->sig; /* l_int */ uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */ *n_args = 4; break; } /* linux_perf_event_open */ case 241: { *n_args = 0; break; } /* linux_accept4 */ case 242: { struct linux_accept4_args *p = params; iarg[0] = p->s; /* l_int */ iarg[1] = p->addr; /* l_uintptr_t */ iarg[2] = p->namelen; /* l_uintptr_t */ iarg[3] = p->flags; /* int */ *n_args = 4; break; } /* linux_recvmmsg */ case 243: { struct linux_recvmmsg_args *p = params; iarg[0] = p->s; /* l_int */ uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ iarg[2] = p->vlen; /* l_uint */ iarg[3] = p->flags; /* l_uint */ uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */ *n_args = 5; break; } /* linux_wait4 */ case 260: { struct linux_wait4_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->status; /* l_int * */ iarg[2] = p->options; /* l_int */ uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ *n_args = 4; break; } /* linux_prlimit64 */ case 261: { struct linux_prlimit64_args *p = params; iarg[0] = p->pid; /* l_pid_t */ iarg[1] = p->resource; /* l_uint */ uarg[2] = (intptr_t) p->new; /* struct rlimit * */ uarg[3] = (intptr_t) p->old; /* struct rlimit * */ *n_args = 4; break; } /* linux_fanotify_init */ case 262: { *n_args = 0; break; } /* linux_fanotify_mark */ case 263: { *n_args = 0; break; } /* linux_name_to_handle_at */ case 264: { *n_args = 0; break; } /* linux_open_by_handle_at */ case 265: { *n_args = 0; break; } /* linux_clock_adjtime */ case 266: { *n_args = 0; break; } /* linux_syncfs */ case 267: { struct linux_syncfs_args *p = params; iarg[0] = p->fd; /* l_int */ *n_args = 1; break; } /* linux_setns */ case 268: { struct linux_setns_args *p = params; iarg[0] = p->fd; /* l_int */ iarg[1] = p->nstype; /* l_int */ *n_args = 2; break; } /* linux_sendmmsg */ case 269: { struct linux_sendmmsg_args *p = params; iarg[0] = p->s; /* l_int */ uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ iarg[2] = p->vlen; /* l_uint */ iarg[3] = p->flags; /* l_uint */ *n_args = 4; break; } /* linux_process_vm_readv */ case 270: { struct linux_process_vm_readv_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ iarg[2] = p->liovcnt; /* l_ulong */ uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ iarg[4] = p->riovcnt; /* l_ulong */ iarg[5] = p->flags; /* l_ulong */ *n_args = 6; break; } /* linux_process_vm_writev */ case 271: { struct linux_process_vm_writev_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ iarg[2] = p->liovcnt; /* l_ulong */ uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ iarg[4] = p->riovcnt; /* l_ulong */ iarg[5] = p->flags; /* l_ulong */ *n_args = 6; break; } /* linux_kcmp */ case 272: { struct linux_kcmp_args *p = params; iarg[0] = p->pid1; /* l_pid_t */ iarg[1] = p->pid2; /* l_pid_t */ iarg[2] = p->type; /* l_int */ iarg[3] = p->idx1; /* l_ulong */ iarg[4] = p->idx; /* l_ulong */ *n_args = 5; break; } /* linux_finit_module */ case 273: { struct linux_finit_module_args *p = params; iarg[0] = p->fd; /* l_int */ uarg[1] = (intptr_t) p->uargs; /* const char * */ iarg[2] = p->flags; /* l_int */ *n_args = 3; break; } /* linux_sched_setattr */ case 274: { struct linux_sched_setattr_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->attr; /* void * */ iarg[2] = p->flags; /* l_uint */ *n_args = 3; break; } /* linux_sched_getattr */ case 275: { struct linux_sched_getattr_args *p = params; iarg[0] = p->pid; /* l_pid_t */ uarg[1] = (intptr_t) p->attr; /* void * */ iarg[2] = p->size; /* l_uint */ iarg[3] = p->flags; /* l_uint */ *n_args = 4; break; } /* linux_renameat2 */ case 276: { struct linux_renameat2_args *p = params; iarg[0] = p->oldfd; /* l_int */ uarg[1] = (intptr_t) p->oldname; /* const char * */ iarg[2] = p->newfd; /* l_int */ uarg[3] = (intptr_t) p->newname; /* const char * */ uarg[4] = p->flags; /* unsigned int */ *n_args = 5; break; } /* linux_seccomp */ case 277: { struct linux_seccomp_args *p = params; iarg[0] = p->op; /* l_uint */ iarg[1] = p->flags; /* l_uint */ uarg[2] = (intptr_t) p->uargs; /* const char * */ *n_args = 3; break; } /* linux_getrandom */ case 278: { struct linux_getrandom_args *p = params; uarg[0] = (intptr_t) p->buf; /* char * */ iarg[1] = p->count; /* l_size_t */ iarg[2] = p->flags; /* l_uint */ *n_args = 3; break; } /* linux_memfd_create */ case 279: { struct linux_memfd_create_args *p = params; uarg[0] = (intptr_t) p->uname_ptr; /* const char * */ iarg[1] = p->flags; /* l_uint */ *n_args = 2; break; } /* linux_bpf */ case 280: { struct linux_bpf_args *p = params; iarg[0] = p->cmd; /* l_int */ uarg[1] = (intptr_t) p->attr; /* void * */ iarg[2] = p->size; /* l_uint */ *n_args = 3; break; } /* linux_execveat */ case 281: { struct linux_execveat_args *p = params; iarg[0] = p->dfd; /* l_int */ uarg[1] = (intptr_t) p->filename; /* const char * */ uarg[2] = (intptr_t) p->argv; /* const char ** */ uarg[3] = (intptr_t) p->envp; /* const char ** */ iarg[4] = p->flags; /* l_int */ *n_args = 5; break; } /* linux_userfaultfd */ case 282: { struct linux_userfaultfd_args *p = params; iarg[0] = p->flags; /* l_int */ *n_args = 1; break; } /* linux_membarrier */ case 283: { struct linux_membarrier_args *p = params; iarg[0] = p->cmd; /* l_int */ iarg[1] = p->flags; /* l_int */ *n_args = 2; break; } /* linux_mlock2 */ case 284: { struct linux_mlock2_args *p = params; iarg[0] = p->start; /* l_ulong */ iarg[1] = p->len; /* l_size_t */ iarg[2] = p->flags; /* l_int */ *n_args = 3; break; } /* linux_copy_file_range */ case 285: { struct linux_copy_file_range_args *p = params; iarg[0] = p->fd_in; /* l_int */ uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */ iarg[2] = p->fd_out; /* l_int */ uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */ iarg[4] = p->len; /* l_size_t */ iarg[5] = p->flags; /* l_uint */ *n_args = 6; break; } /* linux_preadv2 */ case 286: { struct linux_preadv2_args *p = params; iarg[0] = p->fd; /* l_ulong */ uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ iarg[2] = p->vlen; /* l_ulong */ iarg[3] = p->pos_l; /* l_ulong */ iarg[4] = p->pos_h; /* l_ulong */ iarg[5] = p->flags; /* l_int */ *n_args = 6; break; } /* linux_pwritev2 */ case 287: { struct linux_pwritev2_args *p = params; iarg[0] = p->fd; /* l_ulong */ uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ iarg[2] = p->vlen; /* l_ulong */ iarg[3] = p->pos_l; /* l_ulong */ iarg[4] = p->pos_h; /* l_ulong */ iarg[5] = p->flags; /* l_int */ *n_args = 6; break; } /* linux_pkey_mprotect */ case 288: { struct linux_pkey_mprotect_args *p = params; iarg[0] = p->start; /* l_ulong */ iarg[1] = p->len; /* l_size_t */ iarg[2] = p->prot; /* l_ulong */ iarg[3] = p->pkey; /* l_int */ *n_args = 4; break; } /* linux_pkey_alloc */ case 289: { struct linux_pkey_alloc_args *p = params; iarg[0] = p->flags; /* l_ulong */ iarg[1] = p->init_val; /* l_ulong */ *n_args = 2; break; } /* linux_pkey_free */ case 290: { struct linux_pkey_free_args *p = params; iarg[0] = p->pkey; /* l_int */ *n_args = 1; break; } default: *n_args = 0; break; }; } static void systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) { const char *p = NULL; switch (sysnum) { #define nosys linux_nosys /* linux_setxattr */ case 5: break; /* linux_lsetxattr */ case 6: break; /* linux_fsetxattr */ case 7: break; /* linux_getxattr */ case 8: break; /* linux_lgetxattr */ case 9: break; /* linux_fgetxattr */ case 10: break; /* linux_listxattr */ case 11: break; /* linux_llistxattr */ case 12: break; /* linux_flistxattr */ case 13: break; /* linux_removexattr */ case 14: break; /* linux_lremovexattr */ case 15: break; /* linux_fremovexattr */ case 16: break; /* linux_getcwd */ case 17: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "l_ulong"; break; default: break; }; break; /* linux_lookup_dcookie */ case 18: break; /* linux_eventfd2 */ case 19: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_epoll_create1 */ case 20: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; /* linux_epoll_ctl */ case 21: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; case 3: p = "userland struct epoll_event *"; break; default: break; }; break; /* linux_epoll_pwait */ case 22: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct epoll_event *"; break; case 2: p = "l_int"; break; case 3: p = "l_int"; break; case 4: p = "userland l_sigset_t *"; break; case 5: p = "l_size_t"; break; default: break; }; break; + /* dup */ + case 23: + switch(ndx) { + case 0: + p = "u_int"; + break; + default: + break; + }; + break; /* linux_dup3 */ case 24: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_fcntl */ case 25: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "l_uint"; break; case 2: p = "l_ulong"; break; default: break; }; break; /* linux_inotify_init1 */ case 26: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; /* linux_inotify_add_watch */ case 27: break; /* linux_inotify_rm_watch */ case 28: break; /* linux_ioctl */ case 29: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "l_uint"; break; case 2: p = "uintptr_t"; break; default: break; }; break; /* linux_ioprio_set */ case 30: break; /* linux_ioprio_get */ case 31: break; /* flock */ case 32: switch(ndx) { case 0: p = "int"; break; case 1: p = "int"; break; default: break; }; break; /* linux_mknodat */ case 33: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; case 3: p = "l_uint"; break; default: break; }; break; /* linux_mkdirat */ case 34: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_unlinkat */ case 35: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_symlinkat */ case 36: switch(ndx) { case 0: p = "userland const char *"; break; case 1: p = "l_int"; break; case 2: p = "userland const char *"; break; default: break; }; break; /* linux_linkat */ case 37: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; case 3: p = "userland const char *"; break; case 4: p = "l_int"; break; default: break; }; break; /* linux_renameat */ case 38: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; case 3: p = "userland const char *"; break; default: break; }; break; /* linux_mount */ case 40: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "userland char *"; break; case 2: p = "userland char *"; break; case 3: p = "l_ulong"; break; case 4: p = "userland void *"; break; default: break; }; break; /* linux_pivot_root */ case 41: break; /* linux_statfs */ case 43: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "userland struct l_statfs_buf *"; break; default: break; }; break; /* linux_fstatfs */ case 44: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland struct l_statfs_buf *"; break; default: break; }; break; /* linux_truncate */ case 45: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "l_ulong"; break; default: break; }; break; /* linux_ftruncate */ case 46: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_long"; break; default: break; }; break; /* linux_fallocate */ case 47: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_loff_t"; break; case 3: p = "l_loff_t"; break; default: break; }; break; /* linux_faccessat */ case 48: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_chdir */ case 49: switch(ndx) { case 0: p = "userland char *"; break; default: break; }; break; /* fchdir */ case 50: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* chroot */ case 51: switch(ndx) { case 0: p = "userland char *"; break; default: break; }; break; /* fchmod */ case 52: switch(ndx) { case 0: p = "int"; break; case 1: p = "int"; break; default: break; }; break; /* linux_fchmodat */ case 53: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_mode_t"; break; default: break; }; break; /* linux_fchownat */ case 54: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_uid_t"; break; case 3: p = "l_gid_t"; break; case 4: p = "l_int"; break; default: break; }; break; /* fchown */ case 55: switch(ndx) { case 0: p = "int"; break; case 1: p = "int"; break; case 2: p = "int"; break; default: break; }; break; /* linux_openat */ case 56: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; case 3: p = "l_int"; break; default: break; }; break; /* close */ case 57: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* linux_vhangup */ case 58: break; /* linux_pipe2 */ case 59: switch(ndx) { case 0: p = "userland l_int *"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_getdents64 */ case 61: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland void *"; break; case 2: p = "l_uint"; break; default: break; }; break; /* linux_lseek */ case 62: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "l_off_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* read */ case 63: switch(ndx) { case 0: p = "int"; break; case 1: p = "userland char *"; break; case 2: p = "u_int"; break; default: break; }; break; /* write */ case 64: switch(ndx) { case 0: p = "int"; break; case 1: p = "userland char *"; break; case 2: p = "u_int"; break; default: break; }; break; /* readv */ case 65: switch(ndx) { case 0: p = "int"; break; case 1: p = "userland struct iovec *"; break; case 2: p = "u_int"; break; default: break; }; break; /* writev */ case 66: switch(ndx) { case 0: p = "int"; break; case 1: p = "userland struct iovec *"; break; case 2: p = "u_int"; break; default: break; }; break; /* linux_pread */ case 67: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland char *"; break; case 2: p = "l_size_t"; break; case 3: p = "l_loff_t"; break; default: break; }; break; /* linux_pwrite */ case 68: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland char *"; break; case 2: p = "l_size_t"; break; case 3: p = "l_loff_t"; break; default: break; }; break; /* linux_preadv */ case 69: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "userland struct iovec *"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; default: break; }; break; /* linux_pwritev */ case 70: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "userland struct iovec *"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; default: break; }; break; /* linux_sendfile */ case 71: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "userland l_long *"; break; case 3: p = "l_size_t"; break; default: break; }; break; /* linux_pselect6 */ case 72: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland l_fd_set *"; break; case 2: p = "userland l_fd_set *"; break; case 3: p = "userland l_fd_set *"; break; case 4: p = "userland struct l_timespec *"; break; case 5: p = "userland l_uintptr_t *"; break; default: break; }; break; /* linux_ppoll */ case 73: switch(ndx) { case 0: p = "userland struct pollfd *"; break; case 1: p = "uint32_t"; break; case 2: p = "userland struct l_timespec *"; break; case 3: p = "userland l_sigset_t *"; break; case 4: p = "l_size_t"; break; default: break; }; break; /* linux_signalfd4 */ case 74: break; /* linux_vmsplice */ case 75: break; /* linux_splice */ case 76: break; /* linux_tee */ case 77: break; /* linux_readlinkat */ case 78: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "userland char *"; break; case 3: p = "l_int"; break; default: break; }; break; /* linux_newfstatat */ case 79: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland char *"; break; case 2: p = "userland struct l_stat64 *"; break; case 3: p = "l_int"; break; default: break; }; break; /* linux_newfstat */ case 80: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland struct l_newstat *"; break; default: break; }; break; /* fsync */ case 82: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* linux_fdatasync */ case 83: switch(ndx) { case 0: p = "l_uint"; break; default: break; }; break; /* linux_sync_file_range */ case 84: break; /* linux_timerfd_create */ case 85: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_timerfd_settime */ case 86: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "userland const struct l_itimerspec *"; break; case 3: p = "userland struct l_itimerspec *"; break; default: break; }; break; /* linux_timerfd_gettime */ case 87: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_itimerspec *"; break; default: break; }; break; /* linux_utimensat */ case 88: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "userland const struct l_timespec *"; break; case 3: p = "l_int"; break; default: break; }; break; /* acct */ case 89: switch(ndx) { case 0: p = "userland char *"; break; default: break; }; break; /* linux_capget */ case 90: switch(ndx) { case 0: p = "userland struct l_user_cap_header *"; break; case 1: p = "userland struct l_user_cap_data *"; break; default: break; }; break; /* linux_capset */ case 91: switch(ndx) { case 0: p = "userland struct l_user_cap_header *"; break; case 1: p = "userland struct l_user_cap_data *"; break; default: break; }; break; /* linux_personality */ case 92: switch(ndx) { case 0: p = "l_uint"; break; default: break; }; break; /* linux_exit */ case 93: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* linux_exit_group */ case 94: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* linux_waitid */ case 95: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_pid_t"; break; case 2: p = "userland l_siginfo_t *"; break; case 3: p = "l_int"; break; case 4: p = "userland struct rusage *"; break; default: break; }; break; /* linux_set_tid_address */ case 96: switch(ndx) { case 0: p = "userland int *"; break; default: break; }; break; /* linux_unshare */ case 97: break; /* linux_sys_futex */ case 98: switch(ndx) { case 0: p = "userland void *"; break; case 1: p = "int"; break; case 2: p = "int"; break; case 3: p = "userland struct l_timespec *"; break; case 4: p = "userland void *"; break; case 5: p = "int"; break; default: break; }; break; /* linux_set_robust_list */ case 99: switch(ndx) { case 0: p = "userland struct linux_robust_list_head *"; break; case 1: p = "l_size_t"; break; default: break; }; break; /* linux_get_robust_list */ case 100: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct linux_robust_list_head **"; break; case 2: p = "userland l_size_t *"; break; default: break; }; break; /* linux_nanosleep */ case 101: switch(ndx) { case 0: p = "userland const struct l_timespec *"; break; case 1: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_getitimer */ case 102: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_itimerval *"; break; default: break; }; break; /* linux_setitimer */ case 103: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_itimerval *"; break; case 2: p = "userland struct l_itimerval *"; break; default: break; }; break; /* linux_kexec_load */ case 104: break; /* linux_init_module */ case 105: break; /* linux_delete_module */ case 106: break; /* linux_timer_create */ case 107: switch(ndx) { case 0: p = "clockid_t"; break; case 1: p = "userland struct sigevent *"; break; case 2: p = "userland l_timer_t *"; break; default: break; }; break; /* linux_timer_gettime */ case 108: switch(ndx) { case 0: p = "l_timer_t"; break; case 1: p = "userland struct itimerspec *"; break; default: break; }; break; /* linux_timer_getoverrun */ case 109: switch(ndx) { case 0: p = "l_timer_t"; break; default: break; }; break; /* linux_timer_settime */ case 110: switch(ndx) { case 0: p = "l_timer_t"; break; case 1: p = "l_int"; break; case 2: p = "userland const struct itimerspec *"; break; case 3: p = "userland struct itimerspec *"; break; default: break; }; break; /* linux_timer_delete */ case 111: switch(ndx) { case 0: p = "l_timer_t"; break; default: break; }; break; /* linux_clock_settime */ case 112: switch(ndx) { case 0: p = "clockid_t"; break; case 1: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_clock_gettime */ case 113: switch(ndx) { case 0: p = "clockid_t"; break; case 1: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_clock_getres */ case 114: switch(ndx) { case 0: p = "clockid_t"; break; case 1: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_clock_nanosleep */ case 115: switch(ndx) { case 0: p = "clockid_t"; break; case 1: p = "int"; break; case 2: p = "userland struct l_timespec *"; break; case 3: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_syslog */ case 116: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland char *"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_ptrace */ case 117: switch(ndx) { case 0: p = "l_long"; break; case 1: p = "l_long"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; default: break; }; break; /* linux_sched_setparam */ case 118: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland struct sched_param *"; break; default: break; }; break; /* linux_sched_setscheduler */ case 119: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_int"; break; case 2: p = "userland struct sched_param *"; break; default: break; }; break; /* linux_sched_getscheduler */ case 120: switch(ndx) { case 0: p = "l_pid_t"; break; default: break; }; break; /* linux_sched_getparam */ case 121: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland struct sched_param *"; break; default: break; }; break; /* linux_sched_setaffinity */ case 122: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_uint"; break; case 2: p = "userland l_ulong *"; break; default: break; }; break; /* linux_sched_getaffinity */ case 123: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_uint"; break; case 2: p = "userland l_ulong *"; break; default: break; }; break; /* sched_yield */ case 124: break; /* linux_sched_get_priority_max */ case 125: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; /* linux_sched_get_priority_min */ case 126: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; /* linux_sched_rr_get_interval */ case 127: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_kill */ case 129: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_tkill */ case 130: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_tgkill */ case 131: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_sigaltstack */ case 132: switch(ndx) { case 0: p = "userland l_stack_t *"; break; case 1: p = "userland l_stack_t *"; break; default: break; }; break; /* linux_rt_sigsuspend */ case 133: switch(ndx) { case 0: p = "userland l_sigset_t *"; break; case 1: p = "l_size_t"; break; default: break; }; break; /* linux_rt_sigaction */ case 134: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland l_sigaction_t *"; break; case 2: p = "userland l_sigaction_t *"; break; case 3: p = "l_size_t"; break; default: break; }; break; /* linux_rt_sigprocmask */ case 135: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland l_sigset_t *"; break; case 2: p = "userland l_sigset_t *"; break; case 3: p = "l_size_t"; break; default: break; }; break; /* linux_rt_sigpending */ case 136: switch(ndx) { case 0: p = "userland l_sigset_t *"; break; case 1: p = "l_size_t"; break; default: break; }; break; /* linux_rt_sigtimedwait */ case 137: switch(ndx) { case 0: p = "userland l_sigset_t *"; break; case 1: p = "userland l_siginfo_t *"; break; case 2: p = "userland struct l_timeval *"; break; case 3: p = "l_size_t"; break; default: break; }; break; /* linux_rt_sigqueueinfo */ case 138: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_int"; break; case 2: p = "userland l_siginfo_t *"; break; default: break; }; break; /* linux_rt_sigreturn */ case 139: switch(ndx) { case 0: p = "userland struct l_ucontext *"; break; default: break; }; break; /* setpriority */ case 140: switch(ndx) { case 0: p = "int"; break; case 1: p = "int"; break; case 2: p = "int"; break; default: break; }; break; /* linux_getpriority */ case 141: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_reboot */ case 142: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_uint"; break; case 3: p = "userland void *"; break; default: break; }; break; /* setregid */ case 143: switch(ndx) { case 0: p = "gid_t"; break; case 1: p = "gid_t"; break; default: break; }; break; /* setgid */ case 144: switch(ndx) { case 0: p = "gid_t"; break; default: break; }; break; /* setreuid */ case 145: switch(ndx) { case 0: p = "uid_t"; break; case 1: p = "uid_t"; break; default: break; }; break; /* setuid */ case 146: switch(ndx) { case 0: p = "uid_t"; break; default: break; }; break; /* setresuid */ case 147: switch(ndx) { case 0: p = "uid_t"; break; case 1: p = "uid_t"; break; case 2: p = "uid_t"; break; default: break; }; break; /* getresuid */ case 148: switch(ndx) { case 0: p = "userland uid_t *"; break; case 1: p = "userland uid_t *"; break; case 2: p = "userland uid_t *"; break; default: break; }; break; /* setresgid */ case 149: switch(ndx) { case 0: p = "gid_t"; break; case 1: p = "gid_t"; break; case 2: p = "gid_t"; break; default: break; }; break; /* getresgid */ case 150: switch(ndx) { case 0: p = "userland gid_t *"; break; case 1: p = "userland gid_t *"; break; case 2: p = "userland gid_t *"; break; default: break; }; break; /* linux_setfsuid */ case 151: switch(ndx) { case 0: p = "l_uid_t"; break; default: break; }; break; /* linux_setfsgid */ case 152: switch(ndx) { case 0: p = "l_gid_t"; break; default: break; }; break; /* linux_times */ case 153: switch(ndx) { case 0: p = "userland struct l_times_argv *"; break; default: break; }; break; /* setpgid */ case 154: switch(ndx) { case 0: p = "int"; break; case 1: p = "int"; break; default: break; }; break; /* getpgid */ case 155: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* linux_getsid */ case 156: switch(ndx) { case 0: p = "l_pid_t"; break; default: break; }; break; /* setsid */ case 157: break; /* linux_getgroups */ case 158: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland l_gid_t *"; break; default: break; }; break; /* linux_setgroups */ case 159: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland l_gid_t *"; break; default: break; }; break; /* linux_newuname */ case 160: switch(ndx) { case 0: p = "userland struct l_new_utsname *"; break; default: break; }; break; /* linux_sethostname */ case 161: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "l_uint"; break; default: break; }; break; /* linux_setdomainname */ case 162: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_getrlimit */ case 163: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland struct l_rlimit *"; break; default: break; }; break; /* linux_setrlimit */ case 164: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "userland struct l_rlimit *"; break; default: break; }; break; /* getrusage */ case 165: switch(ndx) { case 0: p = "int"; break; case 1: p = "userland struct rusage *"; break; default: break; }; break; /* umask */ case 166: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* linux_prctl */ case 167: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_uintptr_t"; break; case 3: p = "l_uintptr_t"; break; case 4: p = "l_uintptr_t"; break; default: break; }; break; /* linux_getcpu */ case 168: switch(ndx) { case 0: p = "userland l_uint *"; break; case 1: p = "userland l_uint *"; break; case 2: p = "userland void *"; break; default: break; }; break; /* gettimeofday */ case 169: switch(ndx) { case 0: p = "userland struct l_timeval *"; break; case 1: p = "userland struct timezone *"; break; default: break; }; break; /* settimeofday */ case 170: switch(ndx) { case 0: p = "userland struct l_timeval *"; break; case 1: p = "userland struct timezone *"; break; default: break; }; break; /* linux_adjtimex */ case 171: break; /* linux_getpid */ case 172: break; /* linux_getppid */ case 173: break; /* linux_getuid */ case 174: break; /* geteuid */ case 175: break; /* linux_getgid */ case 176: break; /* getegid */ case 177: break; /* linux_gettid */ case 178: break; /* linux_sysinfo */ case 179: switch(ndx) { case 0: p = "userland struct l_sysinfo *"; break; default: break; }; break; /* linux_mq_open */ case 180: break; /* linux_mq_unlink */ case 181: break; /* linux_mq_timedsend */ case 182: break; /* linux_mq_timedreceive */ case 183: break; /* linux_mq_notify */ case 184: break; /* linux_mq_getsetattr */ case 185: break; /* linux_msgget */ case 186: switch(ndx) { case 0: p = "l_key_t"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_msgctl */ case 187: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "userland struct l_msqid_ds *"; break; default: break; }; break; /* linux_msgrcv */ case 188: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_msgbuf *"; break; case 2: p = "l_size_t"; break; case 3: p = "l_long"; break; case 4: p = "l_int"; break; default: break; }; break; /* linux_msgsnd */ case 189: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_msgbuf *"; break; case 2: p = "l_size_t"; break; case 3: p = "l_int"; break; default: break; }; break; /* linux_semget */ case 190: switch(ndx) { case 0: p = "l_key_t"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_semctl */ case 191: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; case 3: p = "union l_semun"; break; default: break; }; break; /* linux_semtimedop */ case 192: break; /* linux_semop */ case 193: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_sembuf *"; break; case 2: p = "l_uint"; break; default: break; }; break; /* linux_shmget */ case 194: switch(ndx) { case 0: p = "l_key_t"; break; case 1: p = "l_size_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_shmctl */ case 195: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "userland struct l_shmid_ds *"; break; default: break; }; break; /* linux_shmat */ case 196: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland char *"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_shmdt */ case 197: switch(ndx) { case 0: p = "userland char *"; break; default: break; }; break; /* linux_socket */ case 198: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_socketpair */ case 199: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; case 3: p = "l_uintptr_t"; break; default: break; }; break; /* linux_bind */ case 200: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_listen */ case 201: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_accept */ case 202: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_uintptr_t"; break; default: break; }; break; /* linux_connect */ case 203: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_getsockname */ case 204: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_uintptr_t"; break; default: break; }; break; /* linux_getpeername */ case 205: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_uintptr_t"; break; default: break; }; break; /* linux_sendto */ case 206: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_int"; break; case 3: p = "l_int"; break; case 4: p = "l_uintptr_t"; break; case 5: p = "l_int"; break; default: break; }; break; /* linux_recvfrom */ case 207: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_size_t"; break; case 3: p = "l_int"; break; case 4: p = "l_uintptr_t"; break; case 5: p = "l_uintptr_t"; break; default: break; }; break; /* linux_setsockopt */ case 208: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; case 3: p = "l_uintptr_t"; break; case 4: p = "l_int"; break; default: break; }; break; /* linux_getsockopt */ case 209: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; case 3: p = "l_uintptr_t"; break; case 4: p = "l_uintptr_t"; break; default: break; }; break; /* linux_shutdown */ case 210: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_sendmsg */ case 211: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_recvmsg */ case 212: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_brk */ case 214: switch(ndx) { case 0: p = "l_ulong"; break; default: break; }; break; /* munmap */ case 215: switch(ndx) { case 0: p = "caddr_t"; break; case 1: p = "int"; break; default: break; }; break; /* linux_mremap */ case 216: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_ulong"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; default: break; }; break; /* linux_add_key */ case 217: break; /* linux_request_key */ case 218: break; /* linux_keyctl */ case 219: break; /* linux_clone */ case 220: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland void *"; break; case 2: p = "userland void *"; break; case 3: p = "userland void *"; break; case 4: p = "userland void *"; break; default: break; }; break; /* linux_execve */ case 221: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "userland char **"; break; case 2: p = "userland char **"; break; default: break; }; break; /* linux_mmap2 */ case 222: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_ulong"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; case 5: p = "l_ulong"; break; default: break; }; break; /* linux_fadvise64 */ case 223: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_loff_t"; break; case 2: p = "l_size_t"; break; case 3: p = "l_int"; break; default: break; }; break; /* swapon */ case 224: switch(ndx) { case 0: p = "userland char *"; break; default: break; }; break; /* linux_swapoff */ case 225: break; /* linux_mprotect */ case 226: switch(ndx) { case 0: p = "caddr_t"; break; case 1: p = "l_int"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_msync */ case 227: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_size_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* mlock */ case 228: switch(ndx) { case 0: p = "userland const void *"; break; case 1: p = "size_t"; break; default: break; }; break; /* munlock */ case 229: switch(ndx) { case 0: p = "userland const void *"; break; case 1: p = "size_t"; break; default: break; }; break; /* mlockall */ case 230: switch(ndx) { case 0: p = "int"; break; default: break; }; break; /* munlockall */ case 231: break; /* linux_mincore */ case 232: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_size_t"; break; case 2: p = "userland u_char *"; break; default: break; }; break; /* madvise */ case 233: switch(ndx) { case 0: p = "userland void *"; break; case 1: p = "size_t"; break; case 2: p = "int"; break; default: break; }; break; /* linux_remap_file_pages */ case 234: break; /* linux_mbind */ case 235: break; /* linux_get_mempolicy */ case 236: break; /* linux_set_mempolicy */ case 237: break; /* linux_migrate_pages */ case 238: break; /* linux_move_pages */ case 239: break; /* linux_rt_tgsigqueueinfo */ case 240: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_pid_t"; break; case 2: p = "l_int"; break; case 3: p = "userland l_siginfo_t *"; break; default: break; }; break; /* linux_perf_event_open */ case 241: break; /* linux_accept4 */ case 242: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_uintptr_t"; break; case 2: p = "l_uintptr_t"; break; case 3: p = "int"; break; default: break; }; break; /* linux_recvmmsg */ case 243: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_mmsghdr *"; break; case 2: p = "l_uint"; break; case 3: p = "l_uint"; break; case 4: p = "userland struct l_timespec *"; break; default: break; }; break; /* linux_wait4 */ case 260: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland l_int *"; break; case 2: p = "l_int"; break; case 3: p = "userland struct rusage *"; break; default: break; }; break; /* linux_prlimit64 */ case 261: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_uint"; break; case 2: p = "userland struct rlimit *"; break; case 3: p = "userland struct rlimit *"; break; default: break; }; break; /* linux_fanotify_init */ case 262: break; /* linux_fanotify_mark */ case 263: break; /* linux_name_to_handle_at */ case 264: break; /* linux_open_by_handle_at */ case 265: break; /* linux_clock_adjtime */ case 266: break; /* linux_syncfs */ case 267: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; /* linux_setns */ case 268: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_sendmmsg */ case 269: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland struct l_mmsghdr *"; break; case 2: p = "l_uint"; break; case 3: p = "l_uint"; break; default: break; }; break; /* linux_process_vm_readv */ case 270: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland const struct iovec *"; break; case 2: p = "l_ulong"; break; case 3: p = "userland const struct iovec *"; break; case 4: p = "l_ulong"; break; case 5: p = "l_ulong"; break; default: break; }; break; /* linux_process_vm_writev */ case 271: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland const struct iovec *"; break; case 2: p = "l_ulong"; break; case 3: p = "userland const struct iovec *"; break; case 4: p = "l_ulong"; break; case 5: p = "l_ulong"; break; default: break; }; break; /* linux_kcmp */ case 272: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "l_pid_t"; break; case 2: p = "l_int"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; default: break; }; break; /* linux_finit_module */ case 273: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_sched_setattr */ case 274: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland void *"; break; case 2: p = "l_uint"; break; default: break; }; break; /* linux_sched_getattr */ case 275: switch(ndx) { case 0: p = "l_pid_t"; break; case 1: p = "userland void *"; break; case 2: p = "l_uint"; break; case 3: p = "l_uint"; break; default: break; }; break; /* linux_renameat2 */ case 276: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "l_int"; break; case 3: p = "userland const char *"; break; case 4: p = "unsigned int"; break; default: break; }; break; /* linux_seccomp */ case 277: switch(ndx) { case 0: p = "l_uint"; break; case 1: p = "l_uint"; break; case 2: p = "userland const char *"; break; default: break; }; break; /* linux_getrandom */ case 278: switch(ndx) { case 0: p = "userland char *"; break; case 1: p = "l_size_t"; break; case 2: p = "l_uint"; break; default: break; }; break; /* linux_memfd_create */ case 279: switch(ndx) { case 0: p = "userland const char *"; break; case 1: p = "l_uint"; break; default: break; }; break; /* linux_bpf */ case 280: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland void *"; break; case 2: p = "l_uint"; break; default: break; }; break; /* linux_execveat */ case 281: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland const char *"; break; case 2: p = "userland const char **"; break; case 3: p = "userland const char **"; break; case 4: p = "l_int"; break; default: break; }; break; /* linux_userfaultfd */ case 282: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; /* linux_membarrier */ case 283: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "l_int"; break; default: break; }; break; /* linux_mlock2 */ case 284: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_size_t"; break; case 2: p = "l_int"; break; default: break; }; break; /* linux_copy_file_range */ case 285: switch(ndx) { case 0: p = "l_int"; break; case 1: p = "userland l_loff_t *"; break; case 2: p = "l_int"; break; case 3: p = "userland l_loff_t *"; break; case 4: p = "l_size_t"; break; case 5: p = "l_uint"; break; default: break; }; break; /* linux_preadv2 */ case 286: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "userland const struct iovec *"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; case 5: p = "l_int"; break; default: break; }; break; /* linux_pwritev2 */ case 287: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "userland const struct iovec *"; break; case 2: p = "l_ulong"; break; case 3: p = "l_ulong"; break; case 4: p = "l_ulong"; break; case 5: p = "l_int"; break; default: break; }; break; /* linux_pkey_mprotect */ case 288: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_size_t"; break; case 2: p = "l_ulong"; break; case 3: p = "l_int"; break; default: break; }; break; /* linux_pkey_alloc */ case 289: switch(ndx) { case 0: p = "l_ulong"; break; case 1: p = "l_ulong"; break; default: break; }; break; /* linux_pkey_free */ case 290: switch(ndx) { case 0: p = "l_int"; break; default: break; }; break; default: break; }; if (p != NULL) strlcpy(desc, p, descsz); } static void systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) { const char *p = NULL; switch (sysnum) { #define nosys linux_nosys /* linux_setxattr */ case 5: /* linux_lsetxattr */ case 6: /* linux_fsetxattr */ case 7: /* linux_getxattr */ case 8: /* linux_lgetxattr */ case 9: /* linux_fgetxattr */ case 10: /* linux_listxattr */ case 11: /* linux_llistxattr */ case 12: /* linux_flistxattr */ case 13: /* linux_removexattr */ case 14: /* linux_lremovexattr */ case 15: /* linux_fremovexattr */ case 16: /* linux_getcwd */ case 17: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_lookup_dcookie */ case 18: /* linux_eventfd2 */ case 19: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_epoll_create1 */ case 20: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_epoll_ctl */ case 21: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_epoll_pwait */ case 22: + if (ndx == 0 || ndx == 1) + p = "int"; + break; + /* dup */ + case 23: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_dup3 */ case 24: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fcntl */ case 25: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_inotify_init1 */ case 26: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_inotify_add_watch */ case 27: /* linux_inotify_rm_watch */ case 28: /* linux_ioctl */ case 29: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_ioprio_set */ case 30: /* linux_ioprio_get */ case 31: /* flock */ case 32: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mknodat */ case 33: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mkdirat */ case 34: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_unlinkat */ case 35: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_symlinkat */ case 36: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_linkat */ case 37: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_renameat */ case 38: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mount */ case 40: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pivot_root */ case 41: /* linux_statfs */ case 43: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fstatfs */ case 44: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_truncate */ case 45: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_ftruncate */ case 46: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fallocate */ case 47: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_faccessat */ case 48: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_chdir */ case 49: if (ndx == 0 || ndx == 1) p = "int"; break; /* fchdir */ case 50: if (ndx == 0 || ndx == 1) p = "int"; break; /* chroot */ case 51: if (ndx == 0 || ndx == 1) p = "int"; break; /* fchmod */ case 52: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fchmodat */ case 53: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fchownat */ case 54: if (ndx == 0 || ndx == 1) p = "int"; break; /* fchown */ case 55: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_openat */ case 56: if (ndx == 0 || ndx == 1) p = "int"; break; /* close */ case 57: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_vhangup */ case 58: /* linux_pipe2 */ case 59: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getdents64 */ case 61: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_lseek */ case 62: if (ndx == 0 || ndx == 1) p = "int"; break; /* read */ case 63: if (ndx == 0 || ndx == 1) p = "int"; break; /* write */ case 64: if (ndx == 0 || ndx == 1) p = "int"; break; /* readv */ case 65: if (ndx == 0 || ndx == 1) p = "int"; break; /* writev */ case 66: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pread */ case 67: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pwrite */ case 68: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_preadv */ case 69: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pwritev */ case 70: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sendfile */ case 71: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pselect6 */ case 72: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_ppoll */ case 73: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_signalfd4 */ case 74: /* linux_vmsplice */ case 75: /* linux_splice */ case 76: /* linux_tee */ case 77: /* linux_readlinkat */ case 78: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_newfstatat */ case 79: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_newfstat */ case 80: if (ndx == 0 || ndx == 1) p = "int"; break; /* fsync */ case 82: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fdatasync */ case 83: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sync_file_range */ case 84: /* linux_timerfd_create */ case 85: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_timerfd_settime */ case 86: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_timerfd_gettime */ case 87: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_utimensat */ case 88: if (ndx == 0 || ndx == 1) p = "int"; break; /* acct */ case 89: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_capget */ case 90: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_capset */ case 91: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_personality */ case 92: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_exit */ case 93: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_exit_group */ case 94: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_waitid */ case 95: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_set_tid_address */ case 96: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_unshare */ case 97: /* linux_sys_futex */ case 98: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_set_robust_list */ case 99: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_get_robust_list */ case 100: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_nanosleep */ case 101: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getitimer */ case 102: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setitimer */ case 103: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_kexec_load */ case 104: /* linux_init_module */ case 105: /* linux_delete_module */ case 106: /* linux_timer_create */ case 107: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_timer_gettime */ case 108: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_timer_getoverrun */ case 109: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_timer_settime */ case 110: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_timer_delete */ case 111: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_clock_settime */ case 112: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_clock_gettime */ case 113: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_clock_getres */ case 114: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_clock_nanosleep */ case 115: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_syslog */ case 116: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_ptrace */ case 117: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_setparam */ case 118: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_setscheduler */ case 119: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_getscheduler */ case 120: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_getparam */ case 121: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_setaffinity */ case 122: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_getaffinity */ case 123: if (ndx == 0 || ndx == 1) p = "int"; break; /* sched_yield */ case 124: /* linux_sched_get_priority_max */ case 125: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_get_priority_min */ case 126: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_rr_get_interval */ case 127: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_kill */ case 129: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_tkill */ case 130: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_tgkill */ case 131: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sigaltstack */ case 132: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigsuspend */ case 133: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigaction */ case 134: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigprocmask */ case 135: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigpending */ case 136: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigtimedwait */ case 137: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigqueueinfo */ case 138: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_rt_sigreturn */ case 139: if (ndx == 0 || ndx == 1) p = "int"; break; /* setpriority */ case 140: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getpriority */ case 141: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_reboot */ case 142: if (ndx == 0 || ndx == 1) p = "int"; break; /* setregid */ case 143: if (ndx == 0 || ndx == 1) p = "int"; break; /* setgid */ case 144: if (ndx == 0 || ndx == 1) p = "int"; break; /* setreuid */ case 145: if (ndx == 0 || ndx == 1) p = "int"; break; /* setuid */ case 146: if (ndx == 0 || ndx == 1) p = "int"; break; /* setresuid */ case 147: if (ndx == 0 || ndx == 1) p = "int"; break; /* getresuid */ case 148: if (ndx == 0 || ndx == 1) p = "int"; break; /* setresgid */ case 149: if (ndx == 0 || ndx == 1) p = "int"; break; /* getresgid */ case 150: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setfsuid */ case 151: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setfsgid */ case 152: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_times */ case 153: if (ndx == 0 || ndx == 1) p = "int"; break; /* setpgid */ case 154: if (ndx == 0 || ndx == 1) p = "int"; break; /* getpgid */ case 155: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getsid */ case 156: if (ndx == 0 || ndx == 1) p = "int"; break; /* setsid */ case 157: /* linux_getgroups */ case 158: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setgroups */ case 159: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_newuname */ case 160: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sethostname */ case 161: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setdomainname */ case 162: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getrlimit */ case 163: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setrlimit */ case 164: if (ndx == 0 || ndx == 1) p = "int"; break; /* getrusage */ case 165: if (ndx == 0 || ndx == 1) p = "int"; break; /* umask */ case 166: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_prctl */ case 167: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getcpu */ case 168: if (ndx == 0 || ndx == 1) p = "int"; break; /* gettimeofday */ case 169: if (ndx == 0 || ndx == 1) p = "int"; break; /* settimeofday */ case 170: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_adjtimex */ case 171: /* linux_getpid */ case 172: /* linux_getppid */ case 173: /* linux_getuid */ case 174: /* geteuid */ case 175: /* linux_getgid */ case 176: /* getegid */ case 177: /* linux_gettid */ case 178: /* linux_sysinfo */ case 179: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mq_open */ case 180: /* linux_mq_unlink */ case 181: /* linux_mq_timedsend */ case 182: /* linux_mq_timedreceive */ case 183: /* linux_mq_notify */ case 184: /* linux_mq_getsetattr */ case 185: /* linux_msgget */ case 186: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_msgctl */ case 187: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_msgrcv */ case 188: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_msgsnd */ case 189: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_semget */ case 190: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_semctl */ case 191: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_semtimedop */ case 192: /* linux_semop */ case 193: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_shmget */ case 194: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_shmctl */ case 195: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_shmat */ case 196: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_shmdt */ case 197: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_socket */ case 198: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_socketpair */ case 199: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_bind */ case 200: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_listen */ case 201: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_accept */ case 202: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_connect */ case 203: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getsockname */ case 204: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getpeername */ case 205: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sendto */ case 206: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_recvfrom */ case 207: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setsockopt */ case 208: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getsockopt */ case 209: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_shutdown */ case 210: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sendmsg */ case 211: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_recvmsg */ case 212: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_brk */ case 214: if (ndx == 0 || ndx == 1) p = "int"; break; /* munmap */ case 215: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mremap */ case 216: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_add_key */ case 217: /* linux_request_key */ case 218: /* linux_keyctl */ case 219: /* linux_clone */ case 220: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_execve */ case 221: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mmap2 */ case 222: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fadvise64 */ case 223: if (ndx == 0 || ndx == 1) p = "int"; break; /* swapon */ case 224: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_swapoff */ case 225: /* linux_mprotect */ case 226: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_msync */ case 227: if (ndx == 0 || ndx == 1) p = "int"; break; /* mlock */ case 228: if (ndx == 0 || ndx == 1) p = "int"; break; /* munlock */ case 229: if (ndx == 0 || ndx == 1) p = "int"; break; /* mlockall */ case 230: if (ndx == 0 || ndx == 1) p = "int"; break; /* munlockall */ case 231: /* linux_mincore */ case 232: if (ndx == 0 || ndx == 1) p = "int"; break; /* madvise */ case 233: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_remap_file_pages */ case 234: /* linux_mbind */ case 235: /* linux_get_mempolicy */ case 236: /* linux_set_mempolicy */ case 237: /* linux_migrate_pages */ case 238: /* linux_move_pages */ case 239: /* linux_rt_tgsigqueueinfo */ case 240: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_perf_event_open */ case 241: /* linux_accept4 */ case 242: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_recvmmsg */ case 243: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_wait4 */ case 260: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_prlimit64 */ case 261: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_fanotify_init */ case 262: /* linux_fanotify_mark */ case 263: /* linux_name_to_handle_at */ case 264: /* linux_open_by_handle_at */ case 265: /* linux_clock_adjtime */ case 266: /* linux_syncfs */ case 267: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_setns */ case 268: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sendmmsg */ case 269: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_process_vm_readv */ case 270: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_process_vm_writev */ case 271: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_kcmp */ case 272: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_finit_module */ case 273: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_setattr */ case 274: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_sched_getattr */ case 275: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_renameat2 */ case 276: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_seccomp */ case 277: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_getrandom */ case 278: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_memfd_create */ case 279: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_bpf */ case 280: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_execveat */ case 281: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_userfaultfd */ case 282: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_membarrier */ case 283: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_mlock2 */ case 284: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_copy_file_range */ case 285: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_preadv2 */ case 286: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pwritev2 */ case 287: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pkey_mprotect */ case 288: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pkey_alloc */ case 289: if (ndx == 0 || ndx == 1) p = "int"; break; /* linux_pkey_free */ case 290: if (ndx == 0 || ndx == 1) p = "int"; break; default: break; }; if (p != NULL) strlcpy(desc, p, descsz); }