2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t) p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t) p->fname; /* char * */
225 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t) p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t) p->from; /* char * */
261 uarg[1] = (intptr_t) p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t) p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t) p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t) p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t) p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t) p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t) p->path; /* char * */
557 uarg[1] = (intptr_t) p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t) p->name; /* char * */
573 uarg[1] = (intptr_t) p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t) p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t) p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t) p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t) p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t) p->path; /* char * */
673 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t) p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t) p->path; /* char * */
723 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t) p->path; /* char * */
731 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t) p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_uint */
789 iarg[4] = p->ptr; /* l_uintptr_t */
790 iarg[5] = p->arg5; /* l_uint */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t) p->stack; /* void * */
813 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t) p->tls; /* void * */
815 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t) p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t) p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
857 /* linux_init_module */
862 /* linux_delete_module */
874 struct getpgid_args *p = params;
875 iarg[0] = p->pid; /* int */
881 struct fchdir_args *p = params;
882 iarg[0] = p->fd; /* int */
893 struct linux_sysfs_args *p = params;
894 iarg[0] = p->option; /* l_int */
895 iarg[1] = p->arg1; /* l_ulong */
896 iarg[2] = p->arg2; /* l_ulong */
900 /* linux_personality */
902 struct linux_personality_args *p = params;
903 iarg[0] = p->per; /* l_uint */
907 /* linux_setfsuid16 */
909 struct linux_setfsuid16_args *p = params;
910 iarg[0] = p->uid; /* l_uid16_t */
914 /* linux_setfsgid16 */
916 struct linux_setfsgid16_args *p = params;
917 iarg[0] = p->gid; /* l_gid16_t */
923 struct linux_llseek_args *p = params;
924 iarg[0] = p->fd; /* l_int */
925 iarg[1] = p->ohigh; /* l_ulong */
926 iarg[2] = p->olow; /* l_ulong */
927 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
928 iarg[4] = p->whence; /* l_uint */
934 struct linux_getdents_args *p = params;
935 iarg[0] = p->fd; /* l_uint */
936 uarg[1] = (intptr_t) p->dent; /* void * */
937 iarg[2] = p->count; /* l_uint */
943 struct linux_select_args *p = params;
944 iarg[0] = p->nfds; /* l_int */
945 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
946 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
947 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
948 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
954 struct flock_args *p = params;
955 iarg[0] = p->fd; /* int */
956 iarg[1] = p->how; /* int */
962 struct linux_msync_args *p = params;
963 iarg[0] = p->addr; /* l_ulong */
964 iarg[1] = p->len; /* l_size_t */
965 iarg[2] = p->fl; /* l_int */
971 struct linux_readv_args *p = params;
972 iarg[0] = p->fd; /* l_ulong */
973 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
974 iarg[2] = p->iovcnt; /* l_ulong */
980 struct linux_writev_args *p = params;
981 iarg[0] = p->fd; /* l_ulong */
982 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
983 iarg[2] = p->iovcnt; /* l_ulong */
989 struct linux_getsid_args *p = params;
990 iarg[0] = p->pid; /* l_pid_t */
994 /* linux_fdatasync */
996 struct linux_fdatasync_args *p = params;
997 iarg[0] = p->fd; /* l_uint */
1003 struct linux_sysctl_args *p = params;
1004 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1010 struct mlock_args *p = params;
1011 uarg[0] = (intptr_t) p->addr; /* const void * */
1012 uarg[1] = p->len; /* size_t */
1018 struct munlock_args *p = params;
1019 uarg[0] = (intptr_t) p->addr; /* const void * */
1020 uarg[1] = p->len; /* size_t */
1026 struct mlockall_args *p = params;
1027 iarg[0] = p->how; /* int */
1036 /* linux_sched_setparam */
1038 struct linux_sched_setparam_args *p = params;
1039 iarg[0] = p->pid; /* l_pid_t */
1040 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1044 /* linux_sched_getparam */
1046 struct linux_sched_getparam_args *p = params;
1047 iarg[0] = p->pid; /* l_pid_t */
1048 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1052 /* linux_sched_setscheduler */
1054 struct linux_sched_setscheduler_args *p = params;
1055 iarg[0] = p->pid; /* l_pid_t */
1056 iarg[1] = p->policy; /* l_int */
1057 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1061 /* linux_sched_getscheduler */
1063 struct linux_sched_getscheduler_args *p = params;
1064 iarg[0] = p->pid; /* l_pid_t */
1073 /* linux_sched_get_priority_max */
1075 struct linux_sched_get_priority_max_args *p = params;
1076 iarg[0] = p->policy; /* l_int */
1080 /* linux_sched_get_priority_min */
1082 struct linux_sched_get_priority_min_args *p = params;
1083 iarg[0] = p->policy; /* l_int */
1087 /* linux_sched_rr_get_interval */
1089 struct linux_sched_rr_get_interval_args *p = params;
1090 iarg[0] = p->pid; /* l_pid_t */
1091 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1095 /* linux_nanosleep */
1097 struct linux_nanosleep_args *p = params;
1098 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1099 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1105 struct linux_mremap_args *p = params;
1106 iarg[0] = p->addr; /* l_ulong */
1107 iarg[1] = p->old_len; /* l_ulong */
1108 iarg[2] = p->new_len; /* l_ulong */
1109 iarg[3] = p->flags; /* l_ulong */
1110 iarg[4] = p->new_addr; /* l_ulong */
1114 /* linux_setresuid16 */
1116 struct linux_setresuid16_args *p = params;
1117 iarg[0] = p->ruid; /* l_uid16_t */
1118 iarg[1] = p->euid; /* l_uid16_t */
1119 iarg[2] = p->suid; /* l_uid16_t */
1123 /* linux_getresuid16 */
1125 struct linux_getresuid16_args *p = params;
1126 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1127 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1128 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1134 struct poll_args *p = params;
1135 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1136 uarg[1] = p->nfds; /* unsigned int */
1137 iarg[2] = p->timeout; /* int */
1141 /* linux_setresgid16 */
1143 struct linux_setresgid16_args *p = params;
1144 iarg[0] = p->rgid; /* l_gid16_t */
1145 iarg[1] = p->egid; /* l_gid16_t */
1146 iarg[2] = p->sgid; /* l_gid16_t */
1150 /* linux_getresgid16 */
1152 struct linux_getresgid16_args *p = params;
1153 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1154 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1155 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1161 struct linux_prctl_args *p = params;
1162 iarg[0] = p->option; /* l_int */
1163 iarg[1] = p->arg2; /* l_int */
1164 iarg[2] = p->arg3; /* l_int */
1165 iarg[3] = p->arg4; /* l_int */
1166 iarg[4] = p->arg5; /* l_int */
1170 /* linux_rt_sigreturn */
1172 struct linux_rt_sigreturn_args *p = params;
1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1177 /* linux_rt_sigaction */
1179 struct linux_rt_sigaction_args *p = params;
1180 iarg[0] = p->sig; /* l_int */
1181 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1182 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1183 iarg[3] = p->sigsetsize; /* l_size_t */
1187 /* linux_rt_sigprocmask */
1189 struct linux_rt_sigprocmask_args *p = params;
1190 iarg[0] = p->how; /* l_int */
1191 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1192 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1193 iarg[3] = p->sigsetsize; /* l_size_t */
1197 /* linux_rt_sigpending */
1199 struct linux_rt_sigpending_args *p = params;
1200 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1201 iarg[1] = p->sigsetsize; /* l_size_t */
1205 /* linux_rt_sigtimedwait */
1207 struct linux_rt_sigtimedwait_args *p = params;
1208 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1209 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1210 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1211 iarg[3] = p->sigsetsize; /* l_size_t */
1215 /* linux_rt_sigqueueinfo */
1217 struct linux_rt_sigqueueinfo_args *p = params;
1218 iarg[0] = p->pid; /* l_pid_t */
1219 iarg[1] = p->sig; /* l_int */
1220 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1224 /* linux_rt_sigsuspend */
1226 struct linux_rt_sigsuspend_args *p = params;
1227 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1228 iarg[1] = p->sigsetsize; /* l_size_t */
1234 struct linux_pread_args *p = params;
1235 iarg[0] = p->fd; /* l_uint */
1236 uarg[1] = (intptr_t) p->buf; /* char * */
1237 iarg[2] = p->nbyte; /* l_size_t */
1238 uarg[3] = p->offset1; /* uint32_t */
1239 uarg[4] = p->offset2; /* uint32_t */
1245 struct linux_pwrite_args *p = params;
1246 iarg[0] = p->fd; /* l_uint */
1247 uarg[1] = (intptr_t) p->buf; /* char * */
1248 iarg[2] = p->nbyte; /* l_size_t */
1249 uarg[3] = p->offset1; /* uint32_t */
1250 uarg[4] = p->offset2; /* uint32_t */
1256 struct linux_chown16_args *p = params;
1257 uarg[0] = (intptr_t) p->path; /* char * */
1258 iarg[1] = p->uid; /* l_uid16_t */
1259 iarg[2] = p->gid; /* l_gid16_t */
1265 struct linux_getcwd_args *p = params;
1266 uarg[0] = (intptr_t) p->buf; /* char * */
1267 iarg[1] = p->bufsize; /* l_ulong */
1273 struct linux_capget_args *p = params;
1274 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1275 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1281 struct linux_capset_args *p = params;
1282 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1283 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1287 /* linux_sigaltstack */
1289 struct linux_sigaltstack_args *p = params;
1290 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1291 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1295 /* linux_sendfile */
1305 /* linux_getrlimit */
1307 struct linux_getrlimit_args *p = params;
1308 iarg[0] = p->resource; /* l_uint */
1309 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1315 struct linux_mmap2_args *p = params;
1316 iarg[0] = p->addr; /* l_ulong */
1317 iarg[1] = p->len; /* l_ulong */
1318 iarg[2] = p->prot; /* l_ulong */
1319 iarg[3] = p->flags; /* l_ulong */
1320 iarg[4] = p->fd; /* l_ulong */
1321 iarg[5] = p->pgoff; /* l_ulong */
1325 /* linux_truncate64 */
1327 struct linux_truncate64_args *p = params;
1328 uarg[0] = (intptr_t) p->path; /* char * */
1329 uarg[1] = p->length1; /* uint32_t */
1330 uarg[2] = p->length2; /* uint32_t */
1334 /* linux_ftruncate64 */
1336 struct linux_ftruncate64_args *p = params;
1337 iarg[0] = p->fd; /* l_uint */
1338 uarg[1] = p->length1; /* uint32_t */
1339 uarg[2] = p->length2; /* uint32_t */
1345 struct linux_stat64_args *p = params;
1346 uarg[0] = (intptr_t) p->filename; /* const char * */
1347 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1353 struct linux_lstat64_args *p = params;
1354 uarg[0] = (intptr_t) p->filename; /* const char * */
1355 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1361 struct linux_fstat64_args *p = params;
1362 iarg[0] = p->fd; /* l_int */
1363 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1369 struct linux_lchown_args *p = params;
1370 uarg[0] = (intptr_t) p->path; /* char * */
1371 iarg[1] = p->uid; /* l_uid_t */
1372 iarg[2] = p->gid; /* l_gid_t */
1398 struct setreuid_args *p = params;
1399 uarg[0] = p->ruid; /* uid_t */
1400 uarg[1] = p->euid; /* uid_t */
1406 struct setregid_args *p = params;
1407 iarg[0] = p->rgid; /* gid_t */
1408 iarg[1] = p->egid; /* gid_t */
1412 /* linux_getgroups */
1414 struct linux_getgroups_args *p = params;
1415 iarg[0] = p->gidsetsize; /* l_int */
1416 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1420 /* linux_setgroups */
1422 struct linux_setgroups_args *p = params;
1423 iarg[0] = p->gidsetsize; /* l_int */
1424 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1435 struct setresuid_args *p = params;
1436 uarg[0] = p->ruid; /* uid_t */
1437 uarg[1] = p->euid; /* uid_t */
1438 uarg[2] = p->suid; /* uid_t */
1444 struct getresuid_args *p = params;
1445 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1446 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1447 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1453 struct setresgid_args *p = params;
1454 iarg[0] = p->rgid; /* gid_t */
1455 iarg[1] = p->egid; /* gid_t */
1456 iarg[2] = p->sgid; /* gid_t */
1462 struct getresgid_args *p = params;
1463 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1464 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1465 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1471 struct linux_chown_args *p = params;
1472 uarg[0] = (intptr_t) p->path; /* char * */
1473 iarg[1] = p->uid; /* l_uid_t */
1474 iarg[2] = p->gid; /* l_gid_t */
1480 struct setuid_args *p = params;
1481 uarg[0] = p->uid; /* uid_t */
1487 struct setgid_args *p = params;
1488 iarg[0] = p->gid; /* gid_t */
1492 /* linux_setfsuid */
1494 struct linux_setfsuid_args *p = params;
1495 iarg[0] = p->uid; /* l_uid_t */
1499 /* linux_setfsgid */
1501 struct linux_setfsgid_args *p = params;
1502 iarg[0] = p->gid; /* l_gid_t */
1506 /* linux_pivot_root */
1508 struct linux_pivot_root_args *p = params;
1509 uarg[0] = (intptr_t) p->new_root; /* char * */
1510 uarg[1] = (intptr_t) p->put_old; /* char * */
1516 struct linux_mincore_args *p = params;
1517 iarg[0] = p->start; /* l_ulong */
1518 iarg[1] = p->len; /* l_size_t */
1519 uarg[2] = (intptr_t) p->vec; /* u_char * */
1525 struct madvise_args *p = params;
1526 uarg[0] = (intptr_t) p->addr; /* void * */
1527 uarg[1] = p->len; /* size_t */
1528 iarg[2] = p->behav; /* int */
1532 /* linux_getdents64 */
1534 struct linux_getdents64_args *p = params;
1535 iarg[0] = p->fd; /* l_uint */
1536 uarg[1] = (intptr_t) p->dirent; /* void * */
1537 iarg[2] = p->count; /* l_uint */
1543 struct linux_fcntl64_args *p = params;
1544 iarg[0] = p->fd; /* l_uint */
1545 iarg[1] = p->cmd; /* l_uint */
1546 uarg[2] = p->arg; /* uintptr_t */
1555 /* linux_setxattr */
1560 /* linux_lsetxattr */
1565 /* linux_fsetxattr */
1570 /* linux_getxattr */
1575 /* linux_lgetxattr */
1580 /* linux_fgetxattr */
1585 /* linux_listxattr */
1590 /* linux_llistxattr */
1595 /* linux_flistxattr */
1600 /* linux_removexattr */
1605 /* linux_lremovexattr */
1610 /* linux_fremovexattr */
1617 struct linux_tkill_args *p = params;
1618 iarg[0] = p->tid; /* int */
1619 iarg[1] = p->sig; /* int */
1623 /* linux_sys_futex */
1625 struct linux_sys_futex_args *p = params;
1626 uarg[0] = (intptr_t) p->uaddr; /* void * */
1627 iarg[1] = p->op; /* int */
1628 uarg[2] = p->val; /* uint32_t */
1629 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1630 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1631 uarg[5] = p->val3; /* uint32_t */
1635 /* linux_sched_setaffinity */
1637 struct linux_sched_setaffinity_args *p = params;
1638 iarg[0] = p->pid; /* l_pid_t */
1639 iarg[1] = p->len; /* l_uint */
1640 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1644 /* linux_sched_getaffinity */
1646 struct linux_sched_getaffinity_args *p = params;
1647 iarg[0] = p->pid; /* l_pid_t */
1648 iarg[1] = p->len; /* l_uint */
1649 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1653 /* linux_set_thread_area */
1655 struct linux_set_thread_area_args *p = params;
1656 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1660 /* linux_fadvise64 */
1662 struct linux_fadvise64_args *p = params;
1663 iarg[0] = p->fd; /* int */
1664 uarg[1] = p->offset1; /* uint32_t */
1665 uarg[2] = p->offset2; /* uint32_t */
1666 iarg[3] = p->len; /* l_size_t */
1667 iarg[4] = p->advice; /* int */
1671 /* linux_exit_group */
1673 struct linux_exit_group_args *p = params;
1674 iarg[0] = p->error_code; /* int */
1678 /* linux_lookup_dcookie */
1683 /* linux_epoll_create */
1685 struct linux_epoll_create_args *p = params;
1686 iarg[0] = p->size; /* l_int */
1690 /* linux_epoll_ctl */
1692 struct linux_epoll_ctl_args *p = params;
1693 iarg[0] = p->epfd; /* l_int */
1694 iarg[1] = p->op; /* l_int */
1695 iarg[2] = p->fd; /* l_int */
1696 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1700 /* linux_epoll_wait */
1702 struct linux_epoll_wait_args *p = params;
1703 iarg[0] = p->epfd; /* l_int */
1704 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1705 iarg[2] = p->maxevents; /* l_int */
1706 iarg[3] = p->timeout; /* l_int */
1710 /* linux_remap_file_pages */
1715 /* linux_set_tid_address */
1717 struct linux_set_tid_address_args *p = params;
1718 uarg[0] = (intptr_t) p->tidptr; /* int * */
1722 /* linux_timer_create */
1724 struct linux_timer_create_args *p = params;
1725 iarg[0] = p->clock_id; /* clockid_t */
1726 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1727 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1731 /* linux_timer_settime */
1733 struct linux_timer_settime_args *p = params;
1734 iarg[0] = p->timerid; /* l_timer_t */
1735 iarg[1] = p->flags; /* l_int */
1736 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1737 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1741 /* linux_timer_gettime */
1743 struct linux_timer_gettime_args *p = params;
1744 iarg[0] = p->timerid; /* l_timer_t */
1745 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1749 /* linux_timer_getoverrun */
1751 struct linux_timer_getoverrun_args *p = params;
1752 iarg[0] = p->timerid; /* l_timer_t */
1756 /* linux_timer_delete */
1758 struct linux_timer_delete_args *p = params;
1759 iarg[0] = p->timerid; /* l_timer_t */
1763 /* linux_clock_settime */
1765 struct linux_clock_settime_args *p = params;
1766 iarg[0] = p->which; /* clockid_t */
1767 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1771 /* linux_clock_gettime */
1773 struct linux_clock_gettime_args *p = params;
1774 iarg[0] = p->which; /* clockid_t */
1775 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1779 /* linux_clock_getres */
1781 struct linux_clock_getres_args *p = params;
1782 iarg[0] = p->which; /* clockid_t */
1783 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1787 /* linux_clock_nanosleep */
1789 struct linux_clock_nanosleep_args *p = params;
1790 iarg[0] = p->which; /* clockid_t */
1791 iarg[1] = p->flags; /* int */
1792 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1793 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1797 /* linux_statfs64 */
1799 struct linux_statfs64_args *p = params;
1800 uarg[0] = (intptr_t) p->path; /* char * */
1801 uarg[1] = p->bufsize; /* size_t */
1802 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1806 /* linux_fstatfs64 */
1808 struct linux_fstatfs64_args *p = params;
1809 iarg[0] = p->fd; /* l_uint */
1810 uarg[1] = p->bufsize; /* size_t */
1811 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1817 struct linux_tgkill_args *p = params;
1818 iarg[0] = p->tgid; /* int */
1819 iarg[1] = p->pid; /* int */
1820 iarg[2] = p->sig; /* int */
1826 struct linux_utimes_args *p = params;
1827 uarg[0] = (intptr_t) p->fname; /* char * */
1828 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1832 /* linux_fadvise64_64 */
1834 struct linux_fadvise64_64_args *p = params;
1835 iarg[0] = p->fd; /* int */
1836 uarg[1] = p->offset1; /* uint32_t */
1837 uarg[2] = p->offset2; /* uint32_t */
1838 uarg[3] = p->len1; /* uint32_t */
1839 uarg[4] = p->len2; /* uint32_t */
1840 iarg[5] = p->advice; /* int */
1849 /* linux_get_mempolicy */
1854 /* linux_set_mempolicy */
1864 /* linux_mq_unlink */
1869 /* linux_mq_timedsend */
1874 /* linux_mq_timedreceive */
1879 /* linux_mq_notify */
1884 /* linux_mq_getsetattr */
1889 /* linux_kexec_load */
1896 struct linux_waitid_args *p = params;
1897 iarg[0] = p->idtype; /* int */
1898 iarg[1] = p->id; /* l_pid_t */
1899 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1900 iarg[3] = p->options; /* int */
1901 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
1910 /* linux_request_key */
1920 /* linux_ioprio_set */
1925 /* linux_ioprio_get */
1930 /* linux_inotify_init */
1935 /* linux_inotify_add_watch */
1940 /* linux_inotify_rm_watch */
1945 /* linux_migrate_pages */
1952 struct linux_openat_args *p = params;
1953 iarg[0] = p->dfd; /* l_int */
1954 uarg[1] = (intptr_t) p->filename; /* const char * */
1955 iarg[2] = p->flags; /* l_int */
1956 iarg[3] = p->mode; /* l_int */
1962 struct linux_mkdirat_args *p = params;
1963 iarg[0] = p->dfd; /* l_int */
1964 uarg[1] = (intptr_t) p->pathname; /* const char * */
1965 iarg[2] = p->mode; /* l_int */
1971 struct linux_mknodat_args *p = params;
1972 iarg[0] = p->dfd; /* l_int */
1973 uarg[1] = (intptr_t) p->filename; /* const char * */
1974 iarg[2] = p->mode; /* l_int */
1975 iarg[3] = p->dev; /* l_uint */
1979 /* linux_fchownat */
1981 struct linux_fchownat_args *p = params;
1982 iarg[0] = p->dfd; /* l_int */
1983 uarg[1] = (intptr_t) p->filename; /* const char * */
1984 iarg[2] = p->uid; /* l_uid16_t */
1985 iarg[3] = p->gid; /* l_gid16_t */
1986 iarg[4] = p->flag; /* l_int */
1990 /* linux_futimesat */
1992 struct linux_futimesat_args *p = params;
1993 iarg[0] = p->dfd; /* l_int */
1994 uarg[1] = (intptr_t) p->filename; /* char * */
1995 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1999 /* linux_fstatat64 */
2001 struct linux_fstatat64_args *p = params;
2002 iarg[0] = p->dfd; /* l_int */
2003 uarg[1] = (intptr_t) p->pathname; /* char * */
2004 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2005 iarg[3] = p->flag; /* l_int */
2009 /* linux_unlinkat */
2011 struct linux_unlinkat_args *p = params;
2012 iarg[0] = p->dfd; /* l_int */
2013 uarg[1] = (intptr_t) p->pathname; /* const char * */
2014 iarg[2] = p->flag; /* l_int */
2018 /* linux_renameat */
2020 struct linux_renameat_args *p = params;
2021 iarg[0] = p->olddfd; /* l_int */
2022 uarg[1] = (intptr_t) p->oldname; /* const char * */
2023 iarg[2] = p->newdfd; /* l_int */
2024 uarg[3] = (intptr_t) p->newname; /* const char * */
2030 struct linux_linkat_args *p = params;
2031 iarg[0] = p->olddfd; /* l_int */
2032 uarg[1] = (intptr_t) p->oldname; /* const char * */
2033 iarg[2] = p->newdfd; /* l_int */
2034 uarg[3] = (intptr_t) p->newname; /* const char * */
2035 iarg[4] = p->flag; /* l_int */
2039 /* linux_symlinkat */
2041 struct linux_symlinkat_args *p = params;
2042 uarg[0] = (intptr_t) p->oldname; /* const char * */
2043 iarg[1] = p->newdfd; /* l_int */
2044 uarg[2] = (intptr_t) p->newname; /* const char * */
2048 /* linux_readlinkat */
2050 struct linux_readlinkat_args *p = params;
2051 iarg[0] = p->dfd; /* l_int */
2052 uarg[1] = (intptr_t) p->path; /* const char * */
2053 uarg[2] = (intptr_t) p->buf; /* char * */
2054 iarg[3] = p->bufsiz; /* l_int */
2058 /* linux_fchmodat */
2060 struct linux_fchmodat_args *p = params;
2061 iarg[0] = p->dfd; /* l_int */
2062 uarg[1] = (intptr_t) p->filename; /* const char * */
2063 iarg[2] = p->mode; /* l_mode_t */
2067 /* linux_faccessat */
2069 struct linux_faccessat_args *p = params;
2070 iarg[0] = p->dfd; /* l_int */
2071 uarg[1] = (intptr_t) p->filename; /* const char * */
2072 iarg[2] = p->amode; /* l_int */
2076 /* linux_pselect6 */
2078 struct linux_pselect6_args *p = params;
2079 iarg[0] = p->nfds; /* l_int */
2080 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2081 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2082 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2083 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2084 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2090 struct linux_ppoll_args *p = params;
2091 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2092 uarg[1] = p->nfds; /* uint32_t */
2093 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2094 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2095 iarg[4] = p->ssize; /* l_size_t */
2104 /* linux_set_robust_list */
2106 struct linux_set_robust_list_args *p = params;
2107 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2108 iarg[1] = p->len; /* l_size_t */
2112 /* linux_get_robust_list */
2114 struct linux_get_robust_list_args *p = params;
2115 iarg[0] = p->pid; /* l_int */
2116 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2117 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2126 /* linux_sync_file_range */
2128 struct linux_sync_file_range_args *p = params;
2129 iarg[0] = p->fd; /* l_int */
2130 uarg[1] = p->offset1; /* uint32_t */
2131 uarg[2] = p->offset2; /* uint32_t */
2132 uarg[3] = p->nbytes1; /* uint32_t */
2133 uarg[4] = p->nbytes2; /* uint32_t */
2134 uarg[5] = p->flags; /* unsigned int */
2143 /* linux_vmsplice */
2148 /* linux_move_pages */
2158 /* linux_epoll_pwait */
2160 struct linux_epoll_pwait_args *p = params;
2161 iarg[0] = p->epfd; /* l_int */
2162 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2163 iarg[2] = p->maxevents; /* l_int */
2164 iarg[3] = p->timeout; /* l_int */
2165 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2166 iarg[5] = p->sigsetsize; /* l_size_t */
2170 /* linux_utimensat */
2172 struct linux_utimensat_args *p = params;
2173 iarg[0] = p->dfd; /* l_int */
2174 uarg[1] = (intptr_t) p->pathname; /* const char * */
2175 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2176 iarg[3] = p->flags; /* l_int */
2180 /* linux_signalfd */
2185 /* linux_timerfd_create */
2187 struct linux_timerfd_create_args *p = params;
2188 iarg[0] = p->clockid; /* l_int */
2189 iarg[1] = p->flags; /* l_int */
2195 struct linux_eventfd_args *p = params;
2196 iarg[0] = p->initval; /* l_uint */
2200 /* linux_fallocate */
2202 struct linux_fallocate_args *p = params;
2203 iarg[0] = p->fd; /* l_int */
2204 iarg[1] = p->mode; /* l_int */
2205 uarg[2] = p->offset1; /* uint32_t */
2206 uarg[3] = p->offset2; /* uint32_t */
2207 uarg[4] = p->len1; /* uint32_t */
2208 uarg[5] = p->len2; /* uint32_t */
2212 /* linux_timerfd_settime */
2214 struct linux_timerfd_settime_args *p = params;
2215 iarg[0] = p->fd; /* l_int */
2216 iarg[1] = p->flags; /* l_int */
2217 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2218 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2222 /* linux_timerfd_gettime */
2224 struct linux_timerfd_gettime_args *p = params;
2225 iarg[0] = p->fd; /* l_int */
2226 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2230 /* linux_signalfd4 */
2235 /* linux_eventfd2 */
2237 struct linux_eventfd2_args *p = params;
2238 iarg[0] = p->initval; /* l_uint */
2239 iarg[1] = p->flags; /* l_int */
2243 /* linux_epoll_create1 */
2245 struct linux_epoll_create1_args *p = params;
2246 iarg[0] = p->flags; /* l_int */
2252 struct linux_dup3_args *p = params;
2253 iarg[0] = p->oldfd; /* l_int */
2254 iarg[1] = p->newfd; /* l_int */
2255 iarg[2] = p->flags; /* l_int */
2261 struct linux_pipe2_args *p = params;
2262 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2263 iarg[1] = p->flags; /* l_int */
2267 /* linux_inotify_init1 */
2274 struct linux_preadv_args *p = params;
2275 iarg[0] = p->fd; /* l_ulong */
2276 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2277 iarg[2] = p->vlen; /* l_ulong */
2278 iarg[3] = p->pos_l; /* l_ulong */
2279 iarg[4] = p->pos_h; /* l_ulong */
2285 struct linux_pwritev_args *p = params;
2286 iarg[0] = p->fd; /* l_ulong */
2287 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2288 iarg[2] = p->vlen; /* l_ulong */
2289 iarg[3] = p->pos_l; /* l_ulong */
2290 iarg[4] = p->pos_h; /* l_ulong */
2294 /* linux_rt_tgsigqueueinfo */
2296 struct linux_rt_tgsigqueueinfo_args *p = params;
2297 iarg[0] = p->tgid; /* l_pid_t */
2298 iarg[1] = p->tid; /* l_pid_t */
2299 iarg[2] = p->sig; /* l_int */
2300 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2304 /* linux_perf_event_open */
2309 /* linux_recvmmsg */
2311 struct linux_recvmmsg_args *p = params;
2312 iarg[0] = p->s; /* l_int */
2313 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2314 iarg[2] = p->vlen; /* l_uint */
2315 iarg[3] = p->flags; /* l_uint */
2316 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2320 /* linux_fanotify_init */
2325 /* linux_fanotify_mark */
2330 /* linux_prlimit64 */
2332 struct linux_prlimit64_args *p = params;
2333 iarg[0] = p->pid; /* l_pid_t */
2334 iarg[1] = p->resource; /* l_uint */
2335 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2336 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2340 /* linux_name_to_handle_at */
2345 /* linux_open_by_handle_at */
2350 /* linux_clock_adjtime */
2357 struct linux_syncfs_args *p = params;
2358 iarg[0] = p->fd; /* l_int */
2362 /* linux_sendmmsg */
2364 struct linux_sendmmsg_args *p = params;
2365 iarg[0] = p->s; /* l_int */
2366 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2367 iarg[2] = p->vlen; /* l_uint */
2368 iarg[3] = p->flags; /* l_uint */
2377 /* linux_process_vm_readv */
2379 struct linux_process_vm_readv_args *p = params;
2380 iarg[0] = p->pid; /* l_pid_t */
2381 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2382 iarg[2] = p->liovcnt; /* l_ulong */
2383 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2384 iarg[4] = p->riovcnt; /* l_ulong */
2385 iarg[5] = p->flags; /* l_ulong */
2389 /* linux_process_vm_writev */
2391 struct linux_process_vm_writev_args *p = params;
2392 iarg[0] = p->pid; /* l_pid_t */
2393 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2394 iarg[2] = p->liovcnt; /* l_ulong */
2395 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2396 iarg[4] = p->riovcnt; /* l_ulong */
2397 iarg[5] = p->flags; /* l_ulong */
2403 struct linux_kcmp_args *p = params;
2404 iarg[0] = p->pid1; /* l_pid_t */
2405 iarg[1] = p->pid2; /* l_pid_t */
2406 iarg[2] = p->type; /* l_int */
2407 iarg[3] = p->idx1; /* l_ulong */
2408 iarg[4] = p->idx; /* l_ulong */
2412 /* linux_finit_module */
2414 struct linux_finit_module_args *p = params;
2415 iarg[0] = p->fd; /* l_int */
2416 uarg[1] = (intptr_t) p->uargs; /* const char * */
2417 iarg[2] = p->flags; /* l_int */
2421 /* linux_sched_setattr */
2423 struct linux_sched_setattr_args *p = params;
2424 iarg[0] = p->pid; /* l_pid_t */
2425 uarg[1] = (intptr_t) p->attr; /* void * */
2426 iarg[2] = p->flags; /* l_uint */
2430 /* linux_sched_getattr */
2432 struct linux_sched_getattr_args *p = params;
2433 iarg[0] = p->pid; /* l_pid_t */
2434 uarg[1] = (intptr_t) p->attr; /* void * */
2435 iarg[2] = p->size; /* l_uint */
2436 iarg[3] = p->flags; /* l_uint */
2440 /* linux_renameat2 */
2442 struct linux_renameat2_args *p = params;
2443 iarg[0] = p->olddfd; /* l_int */
2444 uarg[1] = (intptr_t) p->oldname; /* const char * */
2445 iarg[2] = p->newdfd; /* l_int */
2446 uarg[3] = (intptr_t) p->newname; /* const char * */
2447 uarg[4] = p->flags; /* unsigned int */
2453 struct linux_seccomp_args *p = params;
2454 iarg[0] = p->op; /* l_uint */
2455 iarg[1] = p->flags; /* l_uint */
2456 uarg[2] = (intptr_t) p->uargs; /* const char * */
2460 /* linux_getrandom */
2462 struct linux_getrandom_args *p = params;
2463 uarg[0] = (intptr_t) p->buf; /* char * */
2464 iarg[1] = p->count; /* l_size_t */
2465 iarg[2] = p->flags; /* l_uint */
2469 /* linux_memfd_create */
2471 struct linux_memfd_create_args *p = params;
2472 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2473 iarg[1] = p->flags; /* l_uint */
2479 struct linux_bpf_args *p = params;
2480 iarg[0] = p->cmd; /* l_int */
2481 uarg[1] = (intptr_t) p->attr; /* void * */
2482 iarg[2] = p->size; /* l_uint */
2486 /* linux_execveat */
2488 struct linux_execveat_args *p = params;
2489 iarg[0] = p->dfd; /* l_int */
2490 uarg[1] = (intptr_t) p->filename; /* const char * */
2491 uarg[2] = (intptr_t) p->argv; /* const char ** */
2492 uarg[3] = (intptr_t) p->envp; /* const char ** */
2493 iarg[4] = p->flags; /* l_int */
2499 struct linux_socket_args *p = params;
2500 iarg[0] = p->domain; /* l_int */
2501 iarg[1] = p->type; /* l_int */
2502 iarg[2] = p->protocol; /* l_int */
2506 /* linux_socketpair */
2508 struct linux_socketpair_args *p = params;
2509 iarg[0] = p->domain; /* l_int */
2510 iarg[1] = p->type; /* l_int */
2511 iarg[2] = p->protocol; /* l_int */
2512 iarg[3] = p->rsv; /* l_uintptr_t */
2518 struct linux_bind_args *p = params;
2519 iarg[0] = p->s; /* l_int */
2520 iarg[1] = p->name; /* l_uintptr_t */
2521 iarg[2] = p->namelen; /* l_int */
2527 struct linux_connect_args *p = params;
2528 iarg[0] = p->s; /* l_int */
2529 iarg[1] = p->name; /* l_uintptr_t */
2530 iarg[2] = p->namelen; /* l_int */
2536 struct linux_listen_args *p = params;
2537 iarg[0] = p->s; /* l_int */
2538 iarg[1] = p->backlog; /* l_int */
2544 struct linux_accept4_args *p = params;
2545 iarg[0] = p->s; /* l_int */
2546 iarg[1] = p->addr; /* l_uintptr_t */
2547 iarg[2] = p->namelen; /* l_uintptr_t */
2548 iarg[3] = p->flags; /* l_int */
2552 /* linux_getsockopt */
2554 struct linux_getsockopt_args *p = params;
2555 iarg[0] = p->s; /* l_int */
2556 iarg[1] = p->level; /* l_int */
2557 iarg[2] = p->optname; /* l_int */
2558 iarg[3] = p->optval; /* l_uintptr_t */
2559 iarg[4] = p->optlen; /* l_uintptr_t */
2563 /* linux_setsockopt */
2565 struct linux_setsockopt_args *p = params;
2566 iarg[0] = p->s; /* l_int */
2567 iarg[1] = p->level; /* l_int */
2568 iarg[2] = p->optname; /* l_int */
2569 iarg[3] = p->optval; /* l_uintptr_t */
2570 iarg[4] = p->optlen; /* l_int */
2574 /* linux_getsockname */
2576 struct linux_getsockname_args *p = params;
2577 iarg[0] = p->s; /* l_int */
2578 iarg[1] = p->addr; /* l_uintptr_t */
2579 iarg[2] = p->namelen; /* l_uintptr_t */
2583 /* linux_getpeername */
2585 struct linux_getpeername_args *p = params;
2586 iarg[0] = p->s; /* l_int */
2587 iarg[1] = p->addr; /* l_uintptr_t */
2588 iarg[2] = p->namelen; /* l_uintptr_t */
2594 struct linux_sendto_args *p = params;
2595 iarg[0] = p->s; /* l_int */
2596 iarg[1] = p->msg; /* l_uintptr_t */
2597 iarg[2] = p->len; /* l_int */
2598 iarg[3] = p->flags; /* l_int */
2599 iarg[4] = p->to; /* l_uintptr_t */
2600 iarg[5] = p->tolen; /* l_int */
2606 struct linux_sendmsg_args *p = params;
2607 iarg[0] = p->s; /* l_int */
2608 iarg[1] = p->msg; /* l_uintptr_t */
2609 iarg[2] = p->flags; /* l_int */
2613 /* linux_recvfrom */
2615 struct linux_recvfrom_args *p = params;
2616 iarg[0] = p->s; /* l_int */
2617 iarg[1] = p->buf; /* l_uintptr_t */
2618 iarg[2] = p->len; /* l_size_t */
2619 iarg[3] = p->flags; /* l_int */
2620 iarg[4] = p->from; /* l_uintptr_t */
2621 iarg[5] = p->fromlen; /* l_uintptr_t */
2627 struct linux_recvmsg_args *p = params;
2628 iarg[0] = p->s; /* l_int */
2629 iarg[1] = p->msg; /* l_uintptr_t */
2630 iarg[2] = p->flags; /* l_int */
2634 /* linux_shutdown */
2636 struct linux_shutdown_args *p = params;
2637 iarg[0] = p->s; /* l_int */
2638 iarg[1] = p->how; /* l_int */
2642 /* linux_userfaultfd */
2644 struct linux_userfaultfd_args *p = params;
2645 iarg[0] = p->flags; /* l_int */
2649 /* linux_membarrier */
2651 struct linux_membarrier_args *p = params;
2652 iarg[0] = p->cmd; /* l_int */
2653 iarg[1] = p->flags; /* l_int */
2659 struct linux_mlock2_args *p = params;
2660 iarg[0] = p->start; /* l_ulong */
2661 iarg[1] = p->len; /* l_size_t */
2662 iarg[2] = p->flags; /* l_int */
2666 /* linux_copy_file_range */
2668 struct linux_copy_file_range_args *p = params;
2669 iarg[0] = p->fd_in; /* l_int */
2670 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2671 iarg[2] = p->fd_out; /* l_int */
2672 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2673 iarg[4] = p->len; /* l_size_t */
2674 iarg[5] = p->flags; /* l_uint */
2680 struct linux_preadv2_args *p = params;
2681 iarg[0] = p->fd; /* l_ulong */
2682 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2683 iarg[2] = p->vlen; /* l_ulong */
2684 iarg[3] = p->pos_l; /* l_ulong */
2685 iarg[4] = p->pos_h; /* l_ulong */
2686 iarg[5] = p->flags; /* l_int */
2690 /* linux_pwritev2 */
2692 struct linux_pwritev2_args *p = params;
2693 iarg[0] = p->fd; /* l_ulong */
2694 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2695 iarg[2] = p->vlen; /* l_ulong */
2696 iarg[3] = p->pos_l; /* l_ulong */
2697 iarg[4] = p->pos_h; /* l_ulong */
2698 iarg[5] = p->flags; /* l_int */
2702 /* linux_pkey_mprotect */
2704 struct linux_pkey_mprotect_args *p = params;
2705 iarg[0] = p->start; /* l_ulong */
2706 iarg[1] = p->len; /* l_size_t */
2707 iarg[2] = p->prot; /* l_ulong */
2708 iarg[3] = p->pkey; /* l_int */
2712 /* linux_pkey_alloc */
2714 struct linux_pkey_alloc_args *p = params;
2715 iarg[0] = p->flags; /* l_ulong */
2716 iarg[1] = p->init_val; /* l_ulong */
2720 /* linux_pkey_free */
2722 struct linux_pkey_free_args *p = params;
2723 iarg[0] = p->pkey; /* l_int */
2729 struct linux_statx_args *p = params;
2730 iarg[0] = p->dirfd; /* l_int */
2731 uarg[1] = (intptr_t) p->pathname; /* const char * */
2732 iarg[2] = p->flags; /* l_uint */
2733 iarg[3] = p->mask; /* l_uint */
2734 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2738 /* linux_arch_prctl */
2740 struct linux_arch_prctl_args *p = params;
2741 iarg[0] = p->option; /* l_int */
2742 iarg[1] = p->arg2; /* l_ulong */
2746 /* linux_io_pgetevents */
2758 struct linux_semget_args *p = params;
2759 iarg[0] = p->key; /* l_key_t */
2760 iarg[1] = p->nsems; /* l_int */
2761 iarg[2] = p->semflg; /* l_int */
2767 struct linux_semctl_args *p = params;
2768 iarg[0] = p->semid; /* l_int */
2769 iarg[1] = p->semnum; /* l_int */
2770 iarg[2] = p->cmd; /* l_int */
2771 uarg[3] = p->arg.buf; /* union l_semun */
2777 struct linux_shmget_args *p = params;
2778 iarg[0] = p->key; /* l_key_t */
2779 iarg[1] = p->size; /* l_size_t */
2780 iarg[2] = p->shmflg; /* l_int */
2786 struct linux_shmctl_args *p = params;
2787 iarg[0] = p->shmid; /* l_int */
2788 iarg[1] = p->cmd; /* l_int */
2789 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2795 struct linux_shmat_args *p = params;
2796 iarg[0] = p->shmid; /* l_int */
2797 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2798 iarg[2] = p->shmflg; /* l_int */
2804 struct linux_shmdt_args *p = params;
2805 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2811 struct linux_msgget_args *p = params;
2812 iarg[0] = p->key; /* l_key_t */
2813 iarg[1] = p->msgflg; /* l_int */
2819 struct linux_msgsnd_args *p = params;
2820 iarg[0] = p->msqid; /* l_int */
2821 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2822 iarg[2] = p->msgsz; /* l_size_t */
2823 iarg[3] = p->msgflg; /* l_int */
2829 struct linux_msgrcv_args *p = params;
2830 iarg[0] = p->msqid; /* l_int */
2831 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2832 iarg[2] = p->msgsz; /* l_size_t */
2833 iarg[3] = p->msgtyp; /* l_long */
2834 iarg[4] = p->msgflg; /* l_int */
2840 struct linux_msgctl_args *p = params;
2841 iarg[0] = p->msqid; /* l_int */
2842 iarg[1] = p->cmd; /* l_int */
2843 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2847 /* linux_clock_gettime64 */
2852 /* linux_clock_settime64 */
2857 /* linux_clock_adjtime64 */
2862 /* linux_clock_getres_time64 */
2867 /* linux_clock_nanosleep_time64 */
2872 /* linux_timer_gettime64 */
2877 /* linux_timer_settime64 */
2882 /* linux_timerfd_gettime64 */
2887 /* linux_timerfd_settime64 */
2892 /* linux_utimensat_time64 */
2897 /* linux_pselect6_time64 */
2902 /* linux_ppoll_time64 */
2907 /* linux_io_pgetevents_time64 */
2912 /* linux_recvmmsg_time64 */
2917 /* linux_mq_timedsend_time64 */
2922 /* linux_mq_timedreceive_time64 */
2927 /* linux_semtimedop_time64 */
2932 /* linux_rt_sigtimedwait_time64 */
2937 /* linux_futex_time64 */
2942 /* linux_sched_rr_get_interval_time64 */
2947 /* linux_pidfd_send_signal */
2949 struct linux_pidfd_send_signal_args *p = params;
2950 iarg[0] = p->pidfd; /* l_int */
2951 iarg[1] = p->sig; /* l_int */
2952 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2953 iarg[3] = p->flags; /* l_uint */
2957 /* linux_io_uring_setup */
2962 /* linux_io_uring_enter */
2967 /* linux_io_uring_register */
2978 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2980 const char *p = NULL;
2982 #define nosys linux_nosys
3003 p = "userland char *";
3019 p = "userland char *";
3032 p = "userland char *";
3061 p = "userland l_int *";
3074 p = "userland char *";
3087 p = "userland char *";
3090 p = "userland char *";
3100 p = "userland char *";
3110 p = "userland char *";
3113 p = "userland uint32_t *";
3116 p = "userland uint32_t *";
3126 p = "userland char *";
3136 p = "userland l_time_t *";
3146 p = "userland char *";
3162 p = "userland char *";
3171 /* linux_lchown16 */
3175 p = "userland char *";
3191 p = "userland char *";
3194 p = "userland struct linux_stat *";
3223 p = "userland char *";
3226 p = "userland char *";
3229 p = "userland char *";
3235 p = "userland void *";
3241 /* linux_oldumount */
3245 p = "userland char *";
3251 /* linux_setuid16 */
3261 /* linux_getuid16 */
3303 p = "userland char *";
3306 p = "userland struct l_utimbuf *";
3316 p = "userland char *";
3355 p = "userland char *";
3358 p = "userland char *";
3368 p = "userland char *";
3381 p = "userland char *";
3401 p = "userland l_int *";
3411 p = "userland struct l_times_argv *";
3427 /* linux_setgid16 */
3437 /* linux_getgid16 */
3453 /* linux_geteuid16 */
3456 /* linux_getegid16 */
3463 p = "userland char *";
3473 p = "userland char *";
3527 /* linux_olduname */
3544 p = "userland char *";
3557 p = "userland struct l_ustat *";
3585 /* linux_sigaction */
3592 p = "userland l_osigaction_t *";
3595 p = "userland l_osigaction_t *";
3601 /* linux_sgetmask */
3604 /* linux_ssetmask */
3614 /* linux_setreuid16 */
3627 /* linux_setregid16 */
3640 /* linux_sigsuspend */
3656 /* linux_sigpending */
3660 p = "userland l_osigset_t *";
3666 /* linux_sethostname */
3670 p = "userland char *";
3679 /* linux_setrlimit */
3686 p = "userland struct l_rlimit *";
3692 /* linux_old_getrlimit */
3699 p = "userland struct l_rlimit *";
3705 /* linux_getrusage */
3712 p = "userland struct l_rusage *";
3718 /* linux_gettimeofday */
3722 p = "userland struct l_timeval *";
3725 p = "userland struct timezone *";
3731 /* linux_settimeofday */
3735 p = "userland struct l_timeval *";
3738 p = "userland struct timezone *";
3744 /* linux_getgroups16 */
3751 p = "userland l_gid16_t *";
3757 /* linux_setgroups16 */
3764 p = "userland l_gid16_t *";
3770 /* linux_old_select */
3774 p = "userland struct l_old_select_argv *";
3784 p = "userland char *";
3787 p = "userland char *";
3797 p = "userland char *";
3800 p = "userland struct linux_lstat *";
3806 /* linux_readlink */
3810 p = "userland char *";
3813 p = "userland char *";
3826 p = "userland char *";
3845 p = "userland void *";
3858 p = "userland struct l_dirent *";
3871 p = "userland struct l_mmap_argv *";
3890 /* linux_truncate */
3894 p = "userland char *";
3903 /* linux_ftruncate */
3945 /* linux_getpriority */
3978 p = "userland char *";
3981 p = "userland struct l_statfs_buf *";
3994 p = "userland struct l_statfs_buf *";
4000 /* linux_socketcall */
4020 p = "userland char *";
4029 /* linux_setitimer */
4036 p = "userland struct l_itimerval *";
4039 p = "userland struct l_itimerval *";
4045 /* linux_getitimer */
4052 p = "userland struct l_itimerval *";
4062 p = "userland char *";
4065 p = "userland struct l_newstat *";
4071 /* linux_newlstat */
4075 p = "userland char *";
4078 p = "userland struct l_newstat *";
4084 /* linux_newfstat */
4091 p = "userland struct l_newstat *";
4120 p = "userland l_int *";
4126 p = "userland struct l_rusage *";
4139 p = "userland struct l_sysinfo *";
4180 /* linux_sigreturn */
4184 p = "userland struct l_sigframe *";
4197 p = "userland void *";
4200 p = "userland void *";
4203 p = "userland void *";
4206 p = "userland void *";
4212 /* linux_setdomainname */
4216 p = "userland char *";
4225 /* linux_newuname */
4229 p = "userland struct l_new_utsname *";
4235 /* linux_adjtimex */
4238 /* linux_mprotect */
4254 /* linux_sigprocmask */
4261 p = "userland l_osigset_t *";
4264 p = "userland l_osigset_t *";
4270 /* linux_init_module */
4273 /* linux_delete_module */
4276 /* linux_quotactl */
4318 /* linux_personality */
4328 /* linux_setfsuid16 */
4338 /* linux_setfsgid16 */
4361 p = "userland l_loff_t *";
4370 /* linux_getdents */
4377 p = "userland void *";
4393 p = "userland l_fd_set *";
4396 p = "userland l_fd_set *";
4399 p = "userland l_fd_set *";
4402 p = "userland struct l_timeval *";
4444 p = "userland struct l_iovec32 *";
4460 p = "userland struct l_iovec32 *";
4479 /* linux_fdatasync */
4493 p = "userland struct l___sysctl_args *";
4503 p = "userland const void *";
4516 p = "userland const void *";
4538 /* linux_sched_setparam */
4545 p = "userland struct sched_param *";
4551 /* linux_sched_getparam */
4558 p = "userland struct sched_param *";
4564 /* linux_sched_setscheduler */
4574 p = "userland struct sched_param *";
4580 /* linux_sched_getscheduler */
4593 /* linux_sched_get_priority_max */
4603 /* linux_sched_get_priority_min */
4613 /* linux_sched_rr_get_interval */
4620 p = "userland struct l_timespec *";
4626 /* linux_nanosleep */
4630 p = "userland const struct l_timespec *";
4633 p = "userland struct l_timespec *";
4661 /* linux_setresuid16 */
4677 /* linux_getresuid16 */
4681 p = "userland l_uid16_t *";
4684 p = "userland l_uid16_t *";
4687 p = "userland l_uid16_t *";
4697 p = "userland struct pollfd *";
4709 /* linux_setresgid16 */
4725 /* linux_getresgid16 */
4729 p = "userland l_gid16_t *";
4732 p = "userland l_gid16_t *";
4735 p = "userland l_gid16_t *";
4763 /* linux_rt_sigreturn */
4767 p = "userland struct l_ucontext *";
4773 /* linux_rt_sigaction */
4780 p = "userland l_sigaction_t *";
4783 p = "userland l_sigaction_t *";
4792 /* linux_rt_sigprocmask */
4799 p = "userland l_sigset_t *";
4802 p = "userland l_sigset_t *";
4811 /* linux_rt_sigpending */
4815 p = "userland l_sigset_t *";
4824 /* linux_rt_sigtimedwait */
4828 p = "userland l_sigset_t *";
4831 p = "userland l_siginfo_t *";
4834 p = "userland struct l_timeval *";
4843 /* linux_rt_sigqueueinfo */
4853 p = "userland l_siginfo_t *";
4859 /* linux_rt_sigsuspend */
4863 p = "userland l_sigset_t *";
4879 p = "userland char *";
4901 p = "userland char *";
4920 p = "userland char *";
4936 p = "userland char *";
4949 p = "userland struct l_user_cap_header *";
4952 p = "userland struct l_user_cap_data *";
4962 p = "userland struct l_user_cap_header *";
4965 p = "userland struct l_user_cap_data *";
4971 /* linux_sigaltstack */
4975 p = "userland l_stack_t *";
4978 p = "userland l_stack_t *";
4984 /* linux_sendfile */
4990 /* linux_getrlimit */
4997 p = "userland struct l_rlimit *";
5028 /* linux_truncate64 */
5032 p = "userland char *";
5044 /* linux_ftruncate64 */
5064 p = "userland const char *";
5067 p = "userland struct l_stat64 *";
5077 p = "userland const char *";
5080 p = "userland struct l_stat64 *";
5093 p = "userland struct l_stat64 *";
5103 p = "userland char *";
5153 /* linux_getgroups */
5160 p = "userland l_gid_t *";
5166 /* linux_setgroups */
5173 p = "userland l_gid_t *";
5202 p = "userland uid_t *";
5205 p = "userland uid_t *";
5208 p = "userland uid_t *";
5234 p = "userland gid_t *";
5237 p = "userland gid_t *";
5240 p = "userland gid_t *";
5250 p = "userland char *";
5282 /* linux_setfsuid */
5292 /* linux_setfsgid */
5302 /* linux_pivot_root */
5306 p = "userland char *";
5309 p = "userland char *";
5325 p = "userland u_char *";
5335 p = "userland void *";
5347 /* linux_getdents64 */
5354 p = "userland void *";
5382 /* linux_setxattr */
5385 /* linux_lsetxattr */
5388 /* linux_fsetxattr */
5391 /* linux_getxattr */
5394 /* linux_lgetxattr */
5397 /* linux_fgetxattr */
5400 /* linux_listxattr */
5403 /* linux_llistxattr */
5406 /* linux_flistxattr */
5409 /* linux_removexattr */
5412 /* linux_lremovexattr */
5415 /* linux_fremovexattr */
5431 /* linux_sys_futex */
5435 p = "userland void *";
5444 p = "userland struct l_timespec *";
5447 p = "userland uint32_t *";
5456 /* linux_sched_setaffinity */
5466 p = "userland l_ulong *";
5472 /* linux_sched_getaffinity */
5482 p = "userland l_ulong *";
5488 /* linux_set_thread_area */
5492 p = "userland struct l_user_desc *";
5498 /* linux_fadvise64 */
5520 /* linux_exit_group */
5530 /* linux_lookup_dcookie */
5533 /* linux_epoll_create */
5543 /* linux_epoll_ctl */
5556 p = "userland struct epoll_event *";
5562 /* linux_epoll_wait */
5569 p = "userland struct epoll_event *";
5581 /* linux_remap_file_pages */
5584 /* linux_set_tid_address */
5588 p = "userland int *";
5594 /* linux_timer_create */
5601 p = "userland struct sigevent *";
5604 p = "userland l_timer_t *";
5610 /* linux_timer_settime */
5620 p = "userland const struct itimerspec *";
5623 p = "userland struct itimerspec *";
5629 /* linux_timer_gettime */
5636 p = "userland struct itimerspec *";
5642 /* linux_timer_getoverrun */
5652 /* linux_timer_delete */
5662 /* linux_clock_settime */
5669 p = "userland struct l_timespec *";
5675 /* linux_clock_gettime */
5682 p = "userland struct l_timespec *";
5688 /* linux_clock_getres */
5695 p = "userland struct l_timespec *";
5701 /* linux_clock_nanosleep */
5711 p = "userland struct l_timespec *";
5714 p = "userland struct l_timespec *";
5720 /* linux_statfs64 */
5724 p = "userland char *";
5730 p = "userland struct l_statfs64_buf *";
5736 /* linux_fstatfs64 */
5746 p = "userland struct l_statfs64_buf *";
5772 p = "userland char *";
5775 p = "userland struct l_timeval *";
5781 /* linux_fadvise64_64 */
5809 /* linux_get_mempolicy */
5812 /* linux_set_mempolicy */
5818 /* linux_mq_unlink */
5821 /* linux_mq_timedsend */
5824 /* linux_mq_timedreceive */
5827 /* linux_mq_notify */
5830 /* linux_mq_getsetattr */
5833 /* linux_kexec_load */
5846 p = "userland l_siginfo_t *";
5852 p = "userland struct l_rusage *";
5861 /* linux_request_key */
5867 /* linux_ioprio_set */
5870 /* linux_ioprio_get */
5873 /* linux_inotify_init */
5876 /* linux_inotify_add_watch */
5879 /* linux_inotify_rm_watch */
5882 /* linux_migrate_pages */
5892 p = "userland const char *";
5911 p = "userland const char *";
5927 p = "userland const char *";
5939 /* linux_fchownat */
5946 p = "userland const char *";
5961 /* linux_futimesat */
5968 p = "userland char *";
5971 p = "userland struct l_timeval *";
5977 /* linux_fstatat64 */
5984 p = "userland char *";
5987 p = "userland struct l_stat64 *";
5996 /* linux_unlinkat */
6003 p = "userland const char *";
6012 /* linux_renameat */
6019 p = "userland const char *";
6025 p = "userland const char *";
6038 p = "userland const char *";
6044 p = "userland const char *";
6053 /* linux_symlinkat */
6057 p = "userland const char *";
6063 p = "userland const char *";
6069 /* linux_readlinkat */
6076 p = "userland const char *";
6079 p = "userland char *";
6088 /* linux_fchmodat */
6095 p = "userland const char *";
6104 /* linux_faccessat */
6111 p = "userland const char *";
6120 /* linux_pselect6 */
6127 p = "userland l_fd_set *";
6130 p = "userland l_fd_set *";
6133 p = "userland l_fd_set *";
6136 p = "userland struct l_timespec *";
6139 p = "userland l_uintptr_t *";
6149 p = "userland struct pollfd *";
6155 p = "userland struct l_timespec *";
6158 p = "userland l_sigset_t *";
6170 /* linux_set_robust_list */
6174 p = "userland struct linux_robust_list_head *";
6183 /* linux_get_robust_list */
6190 p = "userland struct linux_robust_list_head **";
6193 p = "userland l_size_t *";
6202 /* linux_sync_file_range */
6230 /* linux_vmsplice */
6233 /* linux_move_pages */
6239 /* linux_epoll_pwait */
6246 p = "userland struct epoll_event *";
6255 p = "userland l_sigset_t *";
6264 /* linux_utimensat */
6271 p = "userland const char *";
6274 p = "userland const struct l_timespec *";
6283 /* linux_signalfd */
6286 /* linux_timerfd_create */
6309 /* linux_fallocate */
6334 /* linux_timerfd_settime */
6344 p = "userland const struct l_itimerspec *";
6347 p = "userland struct l_itimerspec *";
6353 /* linux_timerfd_gettime */
6360 p = "userland struct l_itimerspec *";
6366 /* linux_signalfd4 */
6369 /* linux_eventfd2 */
6382 /* linux_epoll_create1 */
6412 p = "userland l_int *";
6421 /* linux_inotify_init1 */
6431 p = "userland struct iovec *";
6453 p = "userland struct iovec *";
6468 /* linux_rt_tgsigqueueinfo */
6481 p = "userland l_siginfo_t *";
6487 /* linux_perf_event_open */
6490 /* linux_recvmmsg */
6497 p = "userland struct l_mmsghdr *";
6506 p = "userland struct l_timespec *";
6512 /* linux_fanotify_init */
6515 /* linux_fanotify_mark */
6518 /* linux_prlimit64 */
6528 p = "userland struct rlimit *";
6531 p = "userland struct rlimit *";
6537 /* linux_name_to_handle_at */
6540 /* linux_open_by_handle_at */
6543 /* linux_clock_adjtime */
6556 /* linux_sendmmsg */
6563 p = "userland struct l_mmsghdr *";
6578 /* linux_process_vm_readv */
6585 p = "userland const struct iovec *";
6591 p = "userland const struct iovec *";
6603 /* linux_process_vm_writev */
6610 p = "userland const struct iovec *";
6616 p = "userland const struct iovec *";
6650 /* linux_finit_module */
6657 p = "userland const char *";
6666 /* linux_sched_setattr */
6673 p = "userland void *";
6682 /* linux_sched_getattr */
6689 p = "userland void *";
6701 /* linux_renameat2 */
6708 p = "userland const char *";
6714 p = "userland const char *";
6733 p = "userland const char *";
6739 /* linux_getrandom */
6743 p = "userland char *";
6755 /* linux_memfd_create */
6759 p = "userland const char *";
6775 p = "userland void *";
6784 /* linux_execveat */
6791 p = "userland const char *";
6794 p = "userland const char **";
6797 p = "userland const char **";
6822 /* linux_socketpair */
6905 /* linux_getsockopt */
6927 /* linux_setsockopt */
6949 /* linux_getsockname */
6965 /* linux_getpeername */
7022 /* linux_recvfrom */
7063 /* linux_shutdown */
7076 /* linux_userfaultfd */
7086 /* linux_membarrier */
7115 /* linux_copy_file_range */
7122 p = "userland l_loff_t *";
7128 p = "userland l_loff_t *";
7147 p = "userland const struct iovec *";
7165 /* linux_pwritev2 */
7172 p = "userland const struct iovec *";
7190 /* linux_pkey_mprotect */
7209 /* linux_pkey_alloc */
7222 /* linux_pkey_free */
7239 p = "userland const char *";
7248 p = "userland void *";
7254 /* linux_arch_prctl */
7267 /* linux_io_pgetevents */
7302 p = "union l_semun";
7334 p = "userland struct l_shmid_ds *";
7347 p = "userland char *";
7360 p = "userland char *";
7386 p = "userland struct l_msgbuf *";
7405 p = "userland struct l_msgbuf *";
7430 p = "userland struct l_msqid_ds *";
7436 /* linux_clock_gettime64 */
7439 /* linux_clock_settime64 */
7442 /* linux_clock_adjtime64 */
7445 /* linux_clock_getres_time64 */
7448 /* linux_clock_nanosleep_time64 */
7451 /* linux_timer_gettime64 */
7454 /* linux_timer_settime64 */
7457 /* linux_timerfd_gettime64 */
7460 /* linux_timerfd_settime64 */
7463 /* linux_utimensat_time64 */
7466 /* linux_pselect6_time64 */
7469 /* linux_ppoll_time64 */
7472 /* linux_io_pgetevents_time64 */
7475 /* linux_recvmmsg_time64 */
7478 /* linux_mq_timedsend_time64 */
7481 /* linux_mq_timedreceive_time64 */
7484 /* linux_semtimedop_time64 */
7487 /* linux_rt_sigtimedwait_time64 */
7490 /* linux_futex_time64 */
7493 /* linux_sched_rr_get_interval_time64 */
7496 /* linux_pidfd_send_signal */
7506 p = "userland l_siginfo_t *";
7515 /* linux_io_uring_setup */
7518 /* linux_io_uring_enter */
7521 /* linux_io_uring_register */
7528 strlcpy(desc, p, descsz);
7531 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7533 const char *p = NULL;
7535 #define nosys linux_nosys
7538 if (ndx == 0 || ndx == 1)
7545 if (ndx == 0 || ndx == 1)
7550 if (ndx == 0 || ndx == 1)
7555 if (ndx == 0 || ndx == 1)
7560 if (ndx == 0 || ndx == 1)
7565 if (ndx == 0 || ndx == 1)
7570 if (ndx == 0 || ndx == 1)
7575 if (ndx == 0 || ndx == 1)
7580 if (ndx == 0 || ndx == 1)
7585 if (ndx == 0 || ndx == 1)
7590 if (ndx == 0 || ndx == 1)
7595 if (ndx == 0 || ndx == 1)
7600 if (ndx == 0 || ndx == 1)
7605 if (ndx == 0 || ndx == 1)
7608 /* linux_lchown16 */
7610 if (ndx == 0 || ndx == 1)
7615 if (ndx == 0 || ndx == 1)
7620 if (ndx == 0 || ndx == 1)
7627 if (ndx == 0 || ndx == 1)
7630 /* linux_oldumount */
7632 if (ndx == 0 || ndx == 1)
7635 /* linux_setuid16 */
7637 if (ndx == 0 || ndx == 1)
7640 /* linux_getuid16 */
7646 if (ndx == 0 || ndx == 1)
7651 if (ndx == 0 || ndx == 1)
7658 if (ndx == 0 || ndx == 1)
7663 if (ndx == 0 || ndx == 1)
7668 if (ndx == 0 || ndx == 1)
7675 if (ndx == 0 || ndx == 1)
7680 if (ndx == 0 || ndx == 1)
7685 if (ndx == 0 || ndx == 1)
7690 if (ndx == 0 || ndx == 1)
7695 if (ndx == 0 || ndx == 1)
7700 if (ndx == 0 || ndx == 1)
7705 if (ndx == 0 || ndx == 1)
7710 if (ndx == 0 || ndx == 1)
7713 /* linux_setgid16 */
7715 if (ndx == 0 || ndx == 1)
7718 /* linux_getgid16 */
7722 if (ndx == 0 || ndx == 1)
7725 /* linux_geteuid16 */
7727 /* linux_getegid16 */
7731 if (ndx == 0 || ndx == 1)
7736 if (ndx == 0 || ndx == 1)
7741 if (ndx == 0 || ndx == 1)
7746 if (ndx == 0 || ndx == 1)
7751 if (ndx == 0 || ndx == 1)
7754 /* linux_olduname */
7758 if (ndx == 0 || ndx == 1)
7763 if (ndx == 0 || ndx == 1)
7768 if (ndx == 0 || ndx == 1)
7773 if (ndx == 0 || ndx == 1)
7782 /* linux_sigaction */
7784 if (ndx == 0 || ndx == 1)
7787 /* linux_sgetmask */
7789 /* linux_ssetmask */
7791 if (ndx == 0 || ndx == 1)
7794 /* linux_setreuid16 */
7796 if (ndx == 0 || ndx == 1)
7799 /* linux_setregid16 */
7801 if (ndx == 0 || ndx == 1)
7804 /* linux_sigsuspend */
7806 if (ndx == 0 || ndx == 1)
7809 /* linux_sigpending */
7811 if (ndx == 0 || ndx == 1)
7814 /* linux_sethostname */
7816 if (ndx == 0 || ndx == 1)
7819 /* linux_setrlimit */
7821 if (ndx == 0 || ndx == 1)
7824 /* linux_old_getrlimit */
7826 if (ndx == 0 || ndx == 1)
7829 /* linux_getrusage */
7831 if (ndx == 0 || ndx == 1)
7834 /* linux_gettimeofday */
7836 if (ndx == 0 || ndx == 1)
7839 /* linux_settimeofday */
7841 if (ndx == 0 || ndx == 1)
7844 /* linux_getgroups16 */
7846 if (ndx == 0 || ndx == 1)
7849 /* linux_setgroups16 */
7851 if (ndx == 0 || ndx == 1)
7854 /* linux_old_select */
7856 if (ndx == 0 || ndx == 1)
7861 if (ndx == 0 || ndx == 1)
7866 if (ndx == 0 || ndx == 1)
7869 /* linux_readlink */
7871 if (ndx == 0 || ndx == 1)
7876 if (ndx == 0 || ndx == 1)
7881 if (ndx == 0 || ndx == 1)
7886 if (ndx == 0 || ndx == 1)
7891 if (ndx == 0 || ndx == 1)
7896 if (ndx == 0 || ndx == 1)
7899 /* linux_truncate */
7901 if (ndx == 0 || ndx == 1)
7904 /* linux_ftruncate */
7906 if (ndx == 0 || ndx == 1)
7911 if (ndx == 0 || ndx == 1)
7916 if (ndx == 0 || ndx == 1)
7919 /* linux_getpriority */
7921 if (ndx == 0 || ndx == 1)
7926 if (ndx == 0 || ndx == 1)
7931 if (ndx == 0 || ndx == 1)
7936 if (ndx == 0 || ndx == 1)
7939 /* linux_socketcall */
7941 if (ndx == 0 || ndx == 1)
7946 if (ndx == 0 || ndx == 1)
7949 /* linux_setitimer */
7951 if (ndx == 0 || ndx == 1)
7954 /* linux_getitimer */
7956 if (ndx == 0 || ndx == 1)
7961 if (ndx == 0 || ndx == 1)
7964 /* linux_newlstat */
7966 if (ndx == 0 || ndx == 1)
7969 /* linux_newfstat */
7971 if (ndx == 0 || ndx == 1)
7978 if (ndx == 0 || ndx == 1)
7985 if (ndx == 0 || ndx == 1)
7992 if (ndx == 0 || ndx == 1)
7997 if (ndx == 0 || ndx == 1)
8002 if (ndx == 0 || ndx == 1)
8005 /* linux_sigreturn */
8007 if (ndx == 0 || ndx == 1)
8012 if (ndx == 0 || ndx == 1)
8015 /* linux_setdomainname */
8017 if (ndx == 0 || ndx == 1)
8020 /* linux_newuname */
8022 if (ndx == 0 || ndx == 1)
8025 /* linux_adjtimex */
8027 /* linux_mprotect */
8029 if (ndx == 0 || ndx == 1)
8032 /* linux_sigprocmask */
8034 if (ndx == 0 || ndx == 1)
8037 /* linux_init_module */
8039 /* linux_delete_module */
8041 /* linux_quotactl */
8045 if (ndx == 0 || ndx == 1)
8050 if (ndx == 0 || ndx == 1)
8057 if (ndx == 0 || ndx == 1)
8060 /* linux_personality */
8062 if (ndx == 0 || ndx == 1)
8065 /* linux_setfsuid16 */
8067 if (ndx == 0 || ndx == 1)
8070 /* linux_setfsgid16 */
8072 if (ndx == 0 || ndx == 1)
8077 if (ndx == 0 || ndx == 1)
8080 /* linux_getdents */
8082 if (ndx == 0 || ndx == 1)
8087 if (ndx == 0 || ndx == 1)
8092 if (ndx == 0 || ndx == 1)
8097 if (ndx == 0 || ndx == 1)
8102 if (ndx == 0 || ndx == 1)
8107 if (ndx == 0 || ndx == 1)
8112 if (ndx == 0 || ndx == 1)
8115 /* linux_fdatasync */
8117 if (ndx == 0 || ndx == 1)
8122 if (ndx == 0 || ndx == 1)
8127 if (ndx == 0 || ndx == 1)
8132 if (ndx == 0 || ndx == 1)
8137 if (ndx == 0 || ndx == 1)
8142 /* linux_sched_setparam */
8144 if (ndx == 0 || ndx == 1)
8147 /* linux_sched_getparam */
8149 if (ndx == 0 || ndx == 1)
8152 /* linux_sched_setscheduler */
8154 if (ndx == 0 || ndx == 1)
8157 /* linux_sched_getscheduler */
8159 if (ndx == 0 || ndx == 1)
8164 /* linux_sched_get_priority_max */
8166 if (ndx == 0 || ndx == 1)
8169 /* linux_sched_get_priority_min */
8171 if (ndx == 0 || ndx == 1)
8174 /* linux_sched_rr_get_interval */
8176 if (ndx == 0 || ndx == 1)
8179 /* linux_nanosleep */
8181 if (ndx == 0 || ndx == 1)
8186 if (ndx == 0 || ndx == 1)
8189 /* linux_setresuid16 */
8191 if (ndx == 0 || ndx == 1)
8194 /* linux_getresuid16 */
8196 if (ndx == 0 || ndx == 1)
8201 if (ndx == 0 || ndx == 1)
8204 /* linux_setresgid16 */
8206 if (ndx == 0 || ndx == 1)
8209 /* linux_getresgid16 */
8211 if (ndx == 0 || ndx == 1)
8216 if (ndx == 0 || ndx == 1)
8219 /* linux_rt_sigreturn */
8221 if (ndx == 0 || ndx == 1)
8224 /* linux_rt_sigaction */
8226 if (ndx == 0 || ndx == 1)
8229 /* linux_rt_sigprocmask */
8231 if (ndx == 0 || ndx == 1)
8234 /* linux_rt_sigpending */
8236 if (ndx == 0 || ndx == 1)
8239 /* linux_rt_sigtimedwait */
8241 if (ndx == 0 || ndx == 1)
8244 /* linux_rt_sigqueueinfo */
8246 if (ndx == 0 || ndx == 1)
8249 /* linux_rt_sigsuspend */
8251 if (ndx == 0 || ndx == 1)
8256 if (ndx == 0 || ndx == 1)
8261 if (ndx == 0 || ndx == 1)
8266 if (ndx == 0 || ndx == 1)
8271 if (ndx == 0 || ndx == 1)
8276 if (ndx == 0 || ndx == 1)
8281 if (ndx == 0 || ndx == 1)
8284 /* linux_sigaltstack */
8286 if (ndx == 0 || ndx == 1)
8289 /* linux_sendfile */
8293 /* linux_getrlimit */
8295 if (ndx == 0 || ndx == 1)
8300 if (ndx == 0 || ndx == 1)
8303 /* linux_truncate64 */
8305 if (ndx == 0 || ndx == 1)
8308 /* linux_ftruncate64 */
8310 if (ndx == 0 || ndx == 1)
8315 if (ndx == 0 || ndx == 1)
8320 if (ndx == 0 || ndx == 1)
8325 if (ndx == 0 || ndx == 1)
8330 if (ndx == 0 || ndx == 1)
8343 if (ndx == 0 || ndx == 1)
8348 if (ndx == 0 || ndx == 1)
8351 /* linux_getgroups */
8353 if (ndx == 0 || ndx == 1)
8356 /* linux_setgroups */
8358 if (ndx == 0 || ndx == 1)
8365 if (ndx == 0 || ndx == 1)
8370 if (ndx == 0 || ndx == 1)
8375 if (ndx == 0 || ndx == 1)
8380 if (ndx == 0 || ndx == 1)
8385 if (ndx == 0 || ndx == 1)
8390 if (ndx == 0 || ndx == 1)
8395 if (ndx == 0 || ndx == 1)
8398 /* linux_setfsuid */
8400 if (ndx == 0 || ndx == 1)
8403 /* linux_setfsgid */
8405 if (ndx == 0 || ndx == 1)
8408 /* linux_pivot_root */
8410 if (ndx == 0 || ndx == 1)
8415 if (ndx == 0 || ndx == 1)
8420 if (ndx == 0 || ndx == 1)
8423 /* linux_getdents64 */
8425 if (ndx == 0 || ndx == 1)
8430 if (ndx == 0 || ndx == 1)
8435 /* linux_setxattr */
8437 /* linux_lsetxattr */
8439 /* linux_fsetxattr */
8441 /* linux_getxattr */
8443 /* linux_lgetxattr */
8445 /* linux_fgetxattr */
8447 /* linux_listxattr */
8449 /* linux_llistxattr */
8451 /* linux_flistxattr */
8453 /* linux_removexattr */
8455 /* linux_lremovexattr */
8457 /* linux_fremovexattr */
8461 if (ndx == 0 || ndx == 1)
8464 /* linux_sys_futex */
8466 if (ndx == 0 || ndx == 1)
8469 /* linux_sched_setaffinity */
8471 if (ndx == 0 || ndx == 1)
8474 /* linux_sched_getaffinity */
8476 if (ndx == 0 || ndx == 1)
8479 /* linux_set_thread_area */
8481 if (ndx == 0 || ndx == 1)
8484 /* linux_fadvise64 */
8486 if (ndx == 0 || ndx == 1)
8489 /* linux_exit_group */
8491 if (ndx == 0 || ndx == 1)
8494 /* linux_lookup_dcookie */
8496 /* linux_epoll_create */
8498 if (ndx == 0 || ndx == 1)
8501 /* linux_epoll_ctl */
8503 if (ndx == 0 || ndx == 1)
8506 /* linux_epoll_wait */
8508 if (ndx == 0 || ndx == 1)
8511 /* linux_remap_file_pages */
8513 /* linux_set_tid_address */
8515 if (ndx == 0 || ndx == 1)
8518 /* linux_timer_create */
8520 if (ndx == 0 || ndx == 1)
8523 /* linux_timer_settime */
8525 if (ndx == 0 || ndx == 1)
8528 /* linux_timer_gettime */
8530 if (ndx == 0 || ndx == 1)
8533 /* linux_timer_getoverrun */
8535 if (ndx == 0 || ndx == 1)
8538 /* linux_timer_delete */
8540 if (ndx == 0 || ndx == 1)
8543 /* linux_clock_settime */
8545 if (ndx == 0 || ndx == 1)
8548 /* linux_clock_gettime */
8550 if (ndx == 0 || ndx == 1)
8553 /* linux_clock_getres */
8555 if (ndx == 0 || ndx == 1)
8558 /* linux_clock_nanosleep */
8560 if (ndx == 0 || ndx == 1)
8563 /* linux_statfs64 */
8565 if (ndx == 0 || ndx == 1)
8568 /* linux_fstatfs64 */
8570 if (ndx == 0 || ndx == 1)
8575 if (ndx == 0 || ndx == 1)
8580 if (ndx == 0 || ndx == 1)
8583 /* linux_fadvise64_64 */
8585 if (ndx == 0 || ndx == 1)
8590 /* linux_get_mempolicy */
8592 /* linux_set_mempolicy */
8596 /* linux_mq_unlink */
8598 /* linux_mq_timedsend */
8600 /* linux_mq_timedreceive */
8602 /* linux_mq_notify */
8604 /* linux_mq_getsetattr */
8606 /* linux_kexec_load */
8610 if (ndx == 0 || ndx == 1)
8615 /* linux_request_key */
8619 /* linux_ioprio_set */
8621 /* linux_ioprio_get */
8623 /* linux_inotify_init */
8625 /* linux_inotify_add_watch */
8627 /* linux_inotify_rm_watch */
8629 /* linux_migrate_pages */
8633 if (ndx == 0 || ndx == 1)
8638 if (ndx == 0 || ndx == 1)
8643 if (ndx == 0 || ndx == 1)
8646 /* linux_fchownat */
8648 if (ndx == 0 || ndx == 1)
8651 /* linux_futimesat */
8653 if (ndx == 0 || ndx == 1)
8656 /* linux_fstatat64 */
8658 if (ndx == 0 || ndx == 1)
8661 /* linux_unlinkat */
8663 if (ndx == 0 || ndx == 1)
8666 /* linux_renameat */
8668 if (ndx == 0 || ndx == 1)
8673 if (ndx == 0 || ndx == 1)
8676 /* linux_symlinkat */
8678 if (ndx == 0 || ndx == 1)
8681 /* linux_readlinkat */
8683 if (ndx == 0 || ndx == 1)
8686 /* linux_fchmodat */
8688 if (ndx == 0 || ndx == 1)
8691 /* linux_faccessat */
8693 if (ndx == 0 || ndx == 1)
8696 /* linux_pselect6 */
8698 if (ndx == 0 || ndx == 1)
8703 if (ndx == 0 || ndx == 1)
8708 /* linux_set_robust_list */
8710 if (ndx == 0 || ndx == 1)
8713 /* linux_get_robust_list */
8715 if (ndx == 0 || ndx == 1)
8720 /* linux_sync_file_range */
8722 if (ndx == 0 || ndx == 1)
8727 /* linux_vmsplice */
8729 /* linux_move_pages */
8733 /* linux_epoll_pwait */
8735 if (ndx == 0 || ndx == 1)
8738 /* linux_utimensat */
8740 if (ndx == 0 || ndx == 1)
8743 /* linux_signalfd */
8745 /* linux_timerfd_create */
8747 if (ndx == 0 || ndx == 1)
8752 if (ndx == 0 || ndx == 1)
8755 /* linux_fallocate */
8757 if (ndx == 0 || ndx == 1)
8760 /* linux_timerfd_settime */
8762 if (ndx == 0 || ndx == 1)
8765 /* linux_timerfd_gettime */
8767 if (ndx == 0 || ndx == 1)
8770 /* linux_signalfd4 */
8772 /* linux_eventfd2 */
8774 if (ndx == 0 || ndx == 1)
8777 /* linux_epoll_create1 */
8779 if (ndx == 0 || ndx == 1)
8784 if (ndx == 0 || ndx == 1)
8789 if (ndx == 0 || ndx == 1)
8792 /* linux_inotify_init1 */
8796 if (ndx == 0 || ndx == 1)
8801 if (ndx == 0 || ndx == 1)
8804 /* linux_rt_tgsigqueueinfo */
8806 if (ndx == 0 || ndx == 1)
8809 /* linux_perf_event_open */
8811 /* linux_recvmmsg */
8813 if (ndx == 0 || ndx == 1)
8816 /* linux_fanotify_init */
8818 /* linux_fanotify_mark */
8820 /* linux_prlimit64 */
8822 if (ndx == 0 || ndx == 1)
8825 /* linux_name_to_handle_at */
8827 /* linux_open_by_handle_at */
8829 /* linux_clock_adjtime */
8833 if (ndx == 0 || ndx == 1)
8836 /* linux_sendmmsg */
8838 if (ndx == 0 || ndx == 1)
8843 /* linux_process_vm_readv */
8845 if (ndx == 0 || ndx == 1)
8848 /* linux_process_vm_writev */
8850 if (ndx == 0 || ndx == 1)
8855 if (ndx == 0 || ndx == 1)
8858 /* linux_finit_module */
8860 if (ndx == 0 || ndx == 1)
8863 /* linux_sched_setattr */
8865 if (ndx == 0 || ndx == 1)
8868 /* linux_sched_getattr */
8870 if (ndx == 0 || ndx == 1)
8873 /* linux_renameat2 */
8875 if (ndx == 0 || ndx == 1)
8880 if (ndx == 0 || ndx == 1)
8883 /* linux_getrandom */
8885 if (ndx == 0 || ndx == 1)
8888 /* linux_memfd_create */
8890 if (ndx == 0 || ndx == 1)
8895 if (ndx == 0 || ndx == 1)
8898 /* linux_execveat */
8900 if (ndx == 0 || ndx == 1)
8905 if (ndx == 0 || ndx == 1)
8908 /* linux_socketpair */
8910 if (ndx == 0 || ndx == 1)
8915 if (ndx == 0 || ndx == 1)
8920 if (ndx == 0 || ndx == 1)
8925 if (ndx == 0 || ndx == 1)
8930 if (ndx == 0 || ndx == 1)
8933 /* linux_getsockopt */
8935 if (ndx == 0 || ndx == 1)
8938 /* linux_setsockopt */
8940 if (ndx == 0 || ndx == 1)
8943 /* linux_getsockname */
8945 if (ndx == 0 || ndx == 1)
8948 /* linux_getpeername */
8950 if (ndx == 0 || ndx == 1)
8955 if (ndx == 0 || ndx == 1)
8960 if (ndx == 0 || ndx == 1)
8963 /* linux_recvfrom */
8965 if (ndx == 0 || ndx == 1)
8970 if (ndx == 0 || ndx == 1)
8973 /* linux_shutdown */
8975 if (ndx == 0 || ndx == 1)
8978 /* linux_userfaultfd */
8980 if (ndx == 0 || ndx == 1)
8983 /* linux_membarrier */
8985 if (ndx == 0 || ndx == 1)
8990 if (ndx == 0 || ndx == 1)
8993 /* linux_copy_file_range */
8995 if (ndx == 0 || ndx == 1)
9000 if (ndx == 0 || ndx == 1)
9003 /* linux_pwritev2 */
9005 if (ndx == 0 || ndx == 1)
9008 /* linux_pkey_mprotect */
9010 if (ndx == 0 || ndx == 1)
9013 /* linux_pkey_alloc */
9015 if (ndx == 0 || ndx == 1)
9018 /* linux_pkey_free */
9020 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9028 /* linux_arch_prctl */
9030 if (ndx == 0 || ndx == 1)
9033 /* linux_io_pgetevents */
9039 if (ndx == 0 || ndx == 1)
9044 if (ndx == 0 || ndx == 1)
9049 if (ndx == 0 || ndx == 1)
9054 if (ndx == 0 || ndx == 1)
9059 if (ndx == 0 || ndx == 1)
9064 if (ndx == 0 || ndx == 1)
9069 if (ndx == 0 || ndx == 1)
9074 if (ndx == 0 || ndx == 1)
9079 if (ndx == 0 || ndx == 1)
9084 if (ndx == 0 || ndx == 1)
9087 /* linux_clock_gettime64 */
9089 /* linux_clock_settime64 */
9091 /* linux_clock_adjtime64 */
9093 /* linux_clock_getres_time64 */
9095 /* linux_clock_nanosleep_time64 */
9097 /* linux_timer_gettime64 */
9099 /* linux_timer_settime64 */
9101 /* linux_timerfd_gettime64 */
9103 /* linux_timerfd_settime64 */
9105 /* linux_utimensat_time64 */
9107 /* linux_pselect6_time64 */
9109 /* linux_ppoll_time64 */
9111 /* linux_io_pgetevents_time64 */
9113 /* linux_recvmmsg_time64 */
9115 /* linux_mq_timedsend_time64 */
9117 /* linux_mq_timedreceive_time64 */
9119 /* linux_semtimedop_time64 */
9121 /* linux_rt_sigtimedwait_time64 */
9123 /* linux_futex_time64 */
9125 /* linux_sched_rr_get_interval_time64 */
9127 /* linux_pidfd_send_signal */
9129 if (ndx == 0 || ndx == 1)
9132 /* linux_io_uring_setup */
9134 /* linux_io_uring_enter */
9136 /* linux_io_uring_register */
9142 strlcpy(desc, p, descsz);