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_int */
789 uarg[4] = (intptr_t) p->ptr; /* void * */
790 iarg[5] = p->arg5; /* l_long */
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 iarg[3] = p->offset; /* l_loff_t */
1244 struct linux_pwrite_args *p = params;
1245 iarg[0] = p->fd; /* l_uint */
1246 uarg[1] = (intptr_t) p->buf; /* char * */
1247 iarg[2] = p->nbyte; /* l_size_t */
1248 iarg[3] = p->offset; /* l_loff_t */
1254 struct linux_chown16_args *p = params;
1255 uarg[0] = (intptr_t) p->path; /* char * */
1256 iarg[1] = p->uid; /* l_uid16_t */
1257 iarg[2] = p->gid; /* l_gid16_t */
1263 struct linux_getcwd_args *p = params;
1264 uarg[0] = (intptr_t) p->buf; /* char * */
1265 iarg[1] = p->bufsize; /* l_ulong */
1271 struct linux_capget_args *p = params;
1272 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1273 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1279 struct linux_capset_args *p = params;
1280 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1281 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1285 /* linux_sigaltstack */
1287 struct linux_sigaltstack_args *p = params;
1288 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1289 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1293 /* linux_sendfile */
1303 /* linux_getrlimit */
1305 struct linux_getrlimit_args *p = params;
1306 iarg[0] = p->resource; /* l_uint */
1307 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1313 struct linux_mmap2_args *p = params;
1314 iarg[0] = p->addr; /* l_ulong */
1315 iarg[1] = p->len; /* l_ulong */
1316 iarg[2] = p->prot; /* l_ulong */
1317 iarg[3] = p->flags; /* l_ulong */
1318 iarg[4] = p->fd; /* l_ulong */
1319 iarg[5] = p->pgoff; /* l_ulong */
1323 /* linux_truncate64 */
1325 struct linux_truncate64_args *p = params;
1326 uarg[0] = (intptr_t) p->path; /* char * */
1327 iarg[1] = p->length; /* l_loff_t */
1331 /* linux_ftruncate64 */
1333 struct linux_ftruncate64_args *p = params;
1334 iarg[0] = p->fd; /* l_uint */
1335 iarg[1] = p->length; /* l_loff_t */
1341 struct linux_stat64_args *p = params;
1342 uarg[0] = (intptr_t) p->filename; /* const char * */
1343 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1349 struct linux_lstat64_args *p = params;
1350 uarg[0] = (intptr_t) p->filename; /* const char * */
1351 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1357 struct linux_fstat64_args *p = params;
1358 iarg[0] = p->fd; /* l_int */
1359 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1365 struct linux_lchown_args *p = params;
1366 uarg[0] = (intptr_t) p->path; /* char * */
1367 iarg[1] = p->uid; /* l_uid_t */
1368 iarg[2] = p->gid; /* l_gid_t */
1394 struct setreuid_args *p = params;
1395 uarg[0] = p->ruid; /* uid_t */
1396 uarg[1] = p->euid; /* uid_t */
1402 struct setregid_args *p = params;
1403 iarg[0] = p->rgid; /* gid_t */
1404 iarg[1] = p->egid; /* gid_t */
1408 /* linux_getgroups */
1410 struct linux_getgroups_args *p = params;
1411 iarg[0] = p->gidsetsize; /* l_int */
1412 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1416 /* linux_setgroups */
1418 struct linux_setgroups_args *p = params;
1419 iarg[0] = p->gidsetsize; /* l_int */
1420 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1431 struct setresuid_args *p = params;
1432 uarg[0] = p->ruid; /* uid_t */
1433 uarg[1] = p->euid; /* uid_t */
1434 uarg[2] = p->suid; /* uid_t */
1440 struct getresuid_args *p = params;
1441 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1442 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1443 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1449 struct setresgid_args *p = params;
1450 iarg[0] = p->rgid; /* gid_t */
1451 iarg[1] = p->egid; /* gid_t */
1452 iarg[2] = p->sgid; /* gid_t */
1458 struct getresgid_args *p = params;
1459 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1460 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1461 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1467 struct linux_chown_args *p = params;
1468 uarg[0] = (intptr_t) p->path; /* char * */
1469 iarg[1] = p->uid; /* l_uid_t */
1470 iarg[2] = p->gid; /* l_gid_t */
1476 struct setuid_args *p = params;
1477 uarg[0] = p->uid; /* uid_t */
1483 struct setgid_args *p = params;
1484 iarg[0] = p->gid; /* gid_t */
1488 /* linux_setfsuid */
1490 struct linux_setfsuid_args *p = params;
1491 iarg[0] = p->uid; /* l_uid_t */
1495 /* linux_setfsgid */
1497 struct linux_setfsgid_args *p = params;
1498 iarg[0] = p->gid; /* l_gid_t */
1502 /* linux_pivot_root */
1504 struct linux_pivot_root_args *p = params;
1505 uarg[0] = (intptr_t) p->new_root; /* char * */
1506 uarg[1] = (intptr_t) p->put_old; /* char * */
1512 struct linux_mincore_args *p = params;
1513 iarg[0] = p->start; /* l_ulong */
1514 iarg[1] = p->len; /* l_size_t */
1515 uarg[2] = (intptr_t) p->vec; /* u_char * */
1521 struct madvise_args *p = params;
1522 uarg[0] = (intptr_t) p->addr; /* void * */
1523 uarg[1] = p->len; /* size_t */
1524 iarg[2] = p->behav; /* int */
1528 /* linux_getdents64 */
1530 struct linux_getdents64_args *p = params;
1531 iarg[0] = p->fd; /* l_uint */
1532 uarg[1] = (intptr_t) p->dirent; /* void * */
1533 iarg[2] = p->count; /* l_uint */
1539 struct linux_fcntl64_args *p = params;
1540 iarg[0] = p->fd; /* l_uint */
1541 iarg[1] = p->cmd; /* l_uint */
1542 uarg[2] = p->arg; /* uintptr_t */
1551 /* linux_setxattr */
1556 /* linux_lsetxattr */
1561 /* linux_fsetxattr */
1566 /* linux_getxattr */
1571 /* linux_lgetxattr */
1576 /* linux_fgetxattr */
1581 /* linux_listxattr */
1586 /* linux_llistxattr */
1591 /* linux_flistxattr */
1596 /* linux_removexattr */
1601 /* linux_lremovexattr */
1606 /* linux_fremovexattr */
1613 struct linux_tkill_args *p = params;
1614 iarg[0] = p->tid; /* int */
1615 iarg[1] = p->sig; /* int */
1619 /* linux_sys_futex */
1621 struct linux_sys_futex_args *p = params;
1622 uarg[0] = (intptr_t) p->uaddr; /* void * */
1623 iarg[1] = p->op; /* int */
1624 uarg[2] = p->val; /* uint32_t */
1625 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1626 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1627 uarg[5] = p->val3; /* uint32_t */
1631 /* linux_sched_setaffinity */
1633 struct linux_sched_setaffinity_args *p = params;
1634 iarg[0] = p->pid; /* l_pid_t */
1635 iarg[1] = p->len; /* l_uint */
1636 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1640 /* linux_sched_getaffinity */
1642 struct linux_sched_getaffinity_args *p = params;
1643 iarg[0] = p->pid; /* l_pid_t */
1644 iarg[1] = p->len; /* l_uint */
1645 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1649 /* linux_set_thread_area */
1651 struct linux_set_thread_area_args *p = params;
1652 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1656 /* linux_fadvise64 */
1658 struct linux_fadvise64_args *p = params;
1659 iarg[0] = p->fd; /* int */
1660 iarg[1] = p->offset; /* l_loff_t */
1661 iarg[2] = p->len; /* l_size_t */
1662 iarg[3] = p->advice; /* int */
1666 /* linux_exit_group */
1668 struct linux_exit_group_args *p = params;
1669 iarg[0] = p->error_code; /* int */
1673 /* linux_lookup_dcookie */
1678 /* linux_epoll_create */
1680 struct linux_epoll_create_args *p = params;
1681 iarg[0] = p->size; /* l_int */
1685 /* linux_epoll_ctl */
1687 struct linux_epoll_ctl_args *p = params;
1688 iarg[0] = p->epfd; /* l_int */
1689 iarg[1] = p->op; /* l_int */
1690 iarg[2] = p->fd; /* l_int */
1691 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1695 /* linux_epoll_wait */
1697 struct linux_epoll_wait_args *p = params;
1698 iarg[0] = p->epfd; /* l_int */
1699 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1700 iarg[2] = p->maxevents; /* l_int */
1701 iarg[3] = p->timeout; /* l_int */
1705 /* linux_remap_file_pages */
1710 /* linux_set_tid_address */
1712 struct linux_set_tid_address_args *p = params;
1713 uarg[0] = (intptr_t) p->tidptr; /* int * */
1717 /* linux_timer_create */
1719 struct linux_timer_create_args *p = params;
1720 iarg[0] = p->clock_id; /* clockid_t */
1721 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1722 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1726 /* linux_timer_settime */
1728 struct linux_timer_settime_args *p = params;
1729 iarg[0] = p->timerid; /* l_timer_t */
1730 iarg[1] = p->flags; /* l_int */
1731 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1732 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1736 /* linux_timer_gettime */
1738 struct linux_timer_gettime_args *p = params;
1739 iarg[0] = p->timerid; /* l_timer_t */
1740 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1744 /* linux_timer_getoverrun */
1746 struct linux_timer_getoverrun_args *p = params;
1747 iarg[0] = p->timerid; /* l_timer_t */
1751 /* linux_timer_delete */
1753 struct linux_timer_delete_args *p = params;
1754 iarg[0] = p->timerid; /* l_timer_t */
1758 /* linux_clock_settime */
1760 struct linux_clock_settime_args *p = params;
1761 iarg[0] = p->which; /* clockid_t */
1762 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1766 /* linux_clock_gettime */
1768 struct linux_clock_gettime_args *p = params;
1769 iarg[0] = p->which; /* clockid_t */
1770 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1774 /* linux_clock_getres */
1776 struct linux_clock_getres_args *p = params;
1777 iarg[0] = p->which; /* clockid_t */
1778 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1782 /* linux_clock_nanosleep */
1784 struct linux_clock_nanosleep_args *p = params;
1785 iarg[0] = p->which; /* clockid_t */
1786 iarg[1] = p->flags; /* int */
1787 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1788 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1792 /* linux_statfs64 */
1794 struct linux_statfs64_args *p = params;
1795 uarg[0] = (intptr_t) p->path; /* char * */
1796 uarg[1] = p->bufsize; /* size_t */
1797 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1801 /* linux_fstatfs64 */
1803 struct linux_fstatfs64_args *p = params;
1804 iarg[0] = p->fd; /* l_uint */
1805 uarg[1] = p->bufsize; /* size_t */
1806 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1812 struct linux_tgkill_args *p = params;
1813 iarg[0] = p->tgid; /* int */
1814 iarg[1] = p->pid; /* int */
1815 iarg[2] = p->sig; /* int */
1821 struct linux_utimes_args *p = params;
1822 uarg[0] = (intptr_t) p->fname; /* char * */
1823 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1827 /* linux_fadvise64_64 */
1829 struct linux_fadvise64_64_args *p = params;
1830 iarg[0] = p->fd; /* int */
1831 iarg[1] = p->offset; /* l_loff_t */
1832 iarg[2] = p->len; /* l_loff_t */
1833 iarg[3] = p->advice; /* int */
1842 /* linux_get_mempolicy */
1847 /* linux_set_mempolicy */
1857 /* linux_mq_unlink */
1862 /* linux_mq_timedsend */
1867 /* linux_mq_timedreceive */
1872 /* linux_mq_notify */
1877 /* linux_mq_getsetattr */
1882 /* linux_kexec_load */
1889 struct linux_waitid_args *p = params;
1890 iarg[0] = p->idtype; /* int */
1891 iarg[1] = p->id; /* l_pid_t */
1892 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1893 iarg[3] = p->options; /* int */
1894 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
1903 /* linux_request_key */
1913 /* linux_ioprio_set */
1918 /* linux_ioprio_get */
1923 /* linux_inotify_init */
1928 /* linux_inotify_add_watch */
1933 /* linux_inotify_rm_watch */
1938 /* linux_migrate_pages */
1945 struct linux_openat_args *p = params;
1946 iarg[0] = p->dfd; /* l_int */
1947 uarg[1] = (intptr_t) p->filename; /* const char * */
1948 iarg[2] = p->flags; /* l_int */
1949 iarg[3] = p->mode; /* l_int */
1955 struct linux_mkdirat_args *p = params;
1956 iarg[0] = p->dfd; /* l_int */
1957 uarg[1] = (intptr_t) p->pathname; /* const char * */
1958 iarg[2] = p->mode; /* l_int */
1964 struct linux_mknodat_args *p = params;
1965 iarg[0] = p->dfd; /* l_int */
1966 uarg[1] = (intptr_t) p->filename; /* const char * */
1967 iarg[2] = p->mode; /* l_int */
1968 iarg[3] = p->dev; /* l_uint */
1972 /* linux_fchownat */
1974 struct linux_fchownat_args *p = params;
1975 iarg[0] = p->dfd; /* l_int */
1976 uarg[1] = (intptr_t) p->filename; /* const char * */
1977 iarg[2] = p->uid; /* l_uid16_t */
1978 iarg[3] = p->gid; /* l_gid16_t */
1979 iarg[4] = p->flag; /* l_int */
1983 /* linux_futimesat */
1985 struct linux_futimesat_args *p = params;
1986 iarg[0] = p->dfd; /* l_int */
1987 uarg[1] = (intptr_t) p->filename; /* char * */
1988 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1992 /* linux_fstatat64 */
1994 struct linux_fstatat64_args *p = params;
1995 iarg[0] = p->dfd; /* l_int */
1996 uarg[1] = (intptr_t) p->pathname; /* char * */
1997 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1998 iarg[3] = p->flag; /* l_int */
2002 /* linux_unlinkat */
2004 struct linux_unlinkat_args *p = params;
2005 iarg[0] = p->dfd; /* l_int */
2006 uarg[1] = (intptr_t) p->pathname; /* const char * */
2007 iarg[2] = p->flag; /* l_int */
2011 /* linux_renameat */
2013 struct linux_renameat_args *p = params;
2014 iarg[0] = p->olddfd; /* l_int */
2015 uarg[1] = (intptr_t) p->oldname; /* const char * */
2016 iarg[2] = p->newdfd; /* l_int */
2017 uarg[3] = (intptr_t) p->newname; /* const char * */
2023 struct linux_linkat_args *p = params;
2024 iarg[0] = p->olddfd; /* l_int */
2025 uarg[1] = (intptr_t) p->oldname; /* const char * */
2026 iarg[2] = p->newdfd; /* l_int */
2027 uarg[3] = (intptr_t) p->newname; /* const char * */
2028 iarg[4] = p->flag; /* l_int */
2032 /* linux_symlinkat */
2034 struct linux_symlinkat_args *p = params;
2035 uarg[0] = (intptr_t) p->oldname; /* const char * */
2036 iarg[1] = p->newdfd; /* l_int */
2037 uarg[2] = (intptr_t) p->newname; /* const char * */
2041 /* linux_readlinkat */
2043 struct linux_readlinkat_args *p = params;
2044 iarg[0] = p->dfd; /* l_int */
2045 uarg[1] = (intptr_t) p->path; /* const char * */
2046 uarg[2] = (intptr_t) p->buf; /* char * */
2047 iarg[3] = p->bufsiz; /* l_int */
2051 /* linux_fchmodat */
2053 struct linux_fchmodat_args *p = params;
2054 iarg[0] = p->dfd; /* l_int */
2055 uarg[1] = (intptr_t) p->filename; /* const char * */
2056 iarg[2] = p->mode; /* l_mode_t */
2060 /* linux_faccessat */
2062 struct linux_faccessat_args *p = params;
2063 iarg[0] = p->dfd; /* l_int */
2064 uarg[1] = (intptr_t) p->filename; /* const char * */
2065 iarg[2] = p->amode; /* l_int */
2069 /* linux_pselect6 */
2071 struct linux_pselect6_args *p = params;
2072 iarg[0] = p->nfds; /* l_int */
2073 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2074 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2075 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2076 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2077 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2083 struct linux_ppoll_args *p = params;
2084 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2085 uarg[1] = p->nfds; /* uint32_t */
2086 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2087 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2088 iarg[4] = p->ssize; /* l_size_t */
2097 /* linux_set_robust_list */
2099 struct linux_set_robust_list_args *p = params;
2100 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2101 iarg[1] = p->len; /* l_size_t */
2105 /* linux_get_robust_list */
2107 struct linux_get_robust_list_args *p = params;
2108 iarg[0] = p->pid; /* l_int */
2109 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2110 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2119 /* linux_sync_file_range */
2129 /* linux_vmsplice */
2134 /* linux_move_pages */
2144 /* linux_epoll_pwait */
2146 struct linux_epoll_pwait_args *p = params;
2147 iarg[0] = p->epfd; /* l_int */
2148 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2149 iarg[2] = p->maxevents; /* l_int */
2150 iarg[3] = p->timeout; /* l_int */
2151 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2152 iarg[5] = p->sigsetsize; /* l_size_t */
2156 /* linux_utimensat */
2158 struct linux_utimensat_args *p = params;
2159 iarg[0] = p->dfd; /* l_int */
2160 uarg[1] = (intptr_t) p->pathname; /* const char * */
2161 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2162 iarg[3] = p->flags; /* l_int */
2166 /* linux_signalfd */
2171 /* linux_timerfd_create */
2173 struct linux_timerfd_create_args *p = params;
2174 iarg[0] = p->clockid; /* l_int */
2175 iarg[1] = p->flags; /* l_int */
2181 struct linux_eventfd_args *p = params;
2182 iarg[0] = p->initval; /* l_uint */
2186 /* linux_fallocate */
2188 struct linux_fallocate_args *p = params;
2189 iarg[0] = p->fd; /* l_int */
2190 iarg[1] = p->mode; /* l_int */
2191 iarg[2] = p->offset; /* l_loff_t */
2192 iarg[3] = p->len; /* l_loff_t */
2196 /* linux_timerfd_settime */
2198 struct linux_timerfd_settime_args *p = params;
2199 iarg[0] = p->fd; /* l_int */
2200 iarg[1] = p->flags; /* l_int */
2201 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2202 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2206 /* linux_timerfd_gettime */
2208 struct linux_timerfd_gettime_args *p = params;
2209 iarg[0] = p->fd; /* l_int */
2210 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2214 /* linux_signalfd4 */
2219 /* linux_eventfd2 */
2221 struct linux_eventfd2_args *p = params;
2222 iarg[0] = p->initval; /* l_uint */
2223 iarg[1] = p->flags; /* l_int */
2227 /* linux_epoll_create1 */
2229 struct linux_epoll_create1_args *p = params;
2230 iarg[0] = p->flags; /* l_int */
2236 struct linux_dup3_args *p = params;
2237 iarg[0] = p->oldfd; /* l_int */
2238 iarg[1] = p->newfd; /* l_int */
2239 iarg[2] = p->flags; /* l_int */
2245 struct linux_pipe2_args *p = params;
2246 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2247 iarg[1] = p->flags; /* l_int */
2251 /* linux_inotify_init1 */
2258 struct linux_preadv_args *p = params;
2259 iarg[0] = p->fd; /* l_ulong */
2260 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2261 iarg[2] = p->vlen; /* l_ulong */
2262 iarg[3] = p->pos_l; /* l_ulong */
2263 iarg[4] = p->pos_h; /* l_ulong */
2269 struct linux_pwritev_args *p = params;
2270 iarg[0] = p->fd; /* l_ulong */
2271 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2272 iarg[2] = p->vlen; /* l_ulong */
2273 iarg[3] = p->pos_l; /* l_ulong */
2274 iarg[4] = p->pos_h; /* l_ulong */
2278 /* linux_rt_tgsigqueueinfo */
2280 struct linux_rt_tgsigqueueinfo_args *p = params;
2281 iarg[0] = p->tgid; /* l_pid_t */
2282 iarg[1] = p->tid; /* l_pid_t */
2283 iarg[2] = p->sig; /* l_int */
2284 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2288 /* linux_perf_event_open */
2293 /* linux_recvmmsg */
2295 struct linux_recvmmsg_args *p = params;
2296 iarg[0] = p->s; /* l_int */
2297 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2298 iarg[2] = p->vlen; /* l_uint */
2299 iarg[3] = p->flags; /* l_uint */
2300 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2304 /* linux_fanotify_init */
2309 /* linux_fanotify_mark */
2314 /* linux_prlimit64 */
2316 struct linux_prlimit64_args *p = params;
2317 iarg[0] = p->pid; /* l_pid_t */
2318 iarg[1] = p->resource; /* l_uint */
2319 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2320 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2324 /* linux_name_to_handle_at */
2329 /* linux_open_by_handle_at */
2334 /* linux_clock_adjtime */
2341 struct linux_syncfs_args *p = params;
2342 iarg[0] = p->fd; /* l_int */
2346 /* linux_sendmmsg */
2348 struct linux_sendmmsg_args *p = params;
2349 iarg[0] = p->s; /* l_int */
2350 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2351 iarg[2] = p->vlen; /* l_uint */
2352 iarg[3] = p->flags; /* l_uint */
2361 /* linux_process_vm_readv */
2363 struct linux_process_vm_readv_args *p = params;
2364 iarg[0] = p->pid; /* l_pid_t */
2365 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2366 iarg[2] = p->liovcnt; /* l_ulong */
2367 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2368 iarg[4] = p->riovcnt; /* l_ulong */
2369 iarg[5] = p->flags; /* l_ulong */
2373 /* linux_process_vm_writev */
2375 struct linux_process_vm_writev_args *p = params;
2376 iarg[0] = p->pid; /* l_pid_t */
2377 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2378 iarg[2] = p->liovcnt; /* l_ulong */
2379 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2380 iarg[4] = p->riovcnt; /* l_ulong */
2381 iarg[5] = p->flags; /* l_ulong */
2387 struct linux_kcmp_args *p = params;
2388 iarg[0] = p->pid1; /* l_pid_t */
2389 iarg[1] = p->pid2; /* l_pid_t */
2390 iarg[2] = p->type; /* l_int */
2391 iarg[3] = p->idx1; /* l_ulong */
2392 iarg[4] = p->idx; /* l_ulong */
2396 /* linux_finit_module */
2398 struct linux_finit_module_args *p = params;
2399 iarg[0] = p->fd; /* l_int */
2400 uarg[1] = (intptr_t) p->uargs; /* const char * */
2401 iarg[2] = p->flags; /* l_int */
2405 /* linux_sched_setattr */
2407 struct linux_sched_setattr_args *p = params;
2408 iarg[0] = p->pid; /* l_pid_t */
2409 uarg[1] = (intptr_t) p->attr; /* void * */
2410 iarg[2] = p->flags; /* l_uint */
2414 /* linux_sched_getattr */
2416 struct linux_sched_getattr_args *p = params;
2417 iarg[0] = p->pid; /* l_pid_t */
2418 uarg[1] = (intptr_t) p->attr; /* void * */
2419 iarg[2] = p->size; /* l_uint */
2420 iarg[3] = p->flags; /* l_uint */
2424 /* linux_renameat2 */
2426 struct linux_renameat2_args *p = params;
2427 iarg[0] = p->oldfd; /* l_int */
2428 uarg[1] = (intptr_t) p->oldname; /* const char * */
2429 iarg[2] = p->newfd; /* l_int */
2430 uarg[3] = (intptr_t) p->newname; /* const char * */
2431 uarg[4] = p->flags; /* unsigned int */
2437 struct linux_seccomp_args *p = params;
2438 iarg[0] = p->op; /* l_uint */
2439 iarg[1] = p->flags; /* l_uint */
2440 uarg[2] = (intptr_t) p->uargs; /* const char * */
2444 /* linux_getrandom */
2446 struct linux_getrandom_args *p = params;
2447 uarg[0] = (intptr_t) p->buf; /* char * */
2448 iarg[1] = p->count; /* l_size_t */
2449 iarg[2] = p->flags; /* l_uint */
2453 /* linux_memfd_create */
2455 struct linux_memfd_create_args *p = params;
2456 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2457 iarg[1] = p->flags; /* l_uint */
2463 struct linux_bpf_args *p = params;
2464 iarg[0] = p->cmd; /* l_int */
2465 uarg[1] = (intptr_t) p->attr; /* void * */
2466 iarg[2] = p->size; /* l_uint */
2470 /* linux_execveat */
2472 struct linux_execveat_args *p = params;
2473 iarg[0] = p->dfd; /* l_int */
2474 uarg[1] = (intptr_t) p->filename; /* const char * */
2475 uarg[2] = (intptr_t) p->argv; /* const char ** */
2476 uarg[3] = (intptr_t) p->envp; /* const char ** */
2477 iarg[4] = p->flags; /* l_int */
2483 struct linux_socket_args *p = params;
2484 iarg[0] = p->domain; /* l_int */
2485 iarg[1] = p->type; /* l_int */
2486 iarg[2] = p->protocol; /* l_int */
2490 /* linux_socketpair */
2492 struct linux_socketpair_args *p = params;
2493 iarg[0] = p->domain; /* l_int */
2494 iarg[1] = p->type; /* l_int */
2495 iarg[2] = p->protocol; /* l_int */
2496 iarg[3] = p->rsv; /* l_uintptr_t */
2502 struct linux_bind_args *p = params;
2503 iarg[0] = p->s; /* l_int */
2504 iarg[1] = p->name; /* l_uintptr_t */
2505 iarg[2] = p->namelen; /* l_int */
2511 struct linux_connect_args *p = params;
2512 iarg[0] = p->s; /* l_int */
2513 iarg[1] = p->name; /* l_uintptr_t */
2514 iarg[2] = p->namelen; /* l_int */
2520 struct linux_listen_args *p = params;
2521 iarg[0] = p->s; /* l_int */
2522 iarg[1] = p->backlog; /* l_int */
2528 struct linux_accept4_args *p = params;
2529 iarg[0] = p->s; /* l_int */
2530 iarg[1] = p->addr; /* l_uintptr_t */
2531 iarg[2] = p->namelen; /* l_uintptr_t */
2532 iarg[3] = p->flags; /* l_int */
2536 /* linux_getsockopt */
2538 struct linux_getsockopt_args *p = params;
2539 iarg[0] = p->s; /* l_int */
2540 iarg[1] = p->level; /* l_int */
2541 iarg[2] = p->optname; /* l_int */
2542 iarg[3] = p->optval; /* l_uintptr_t */
2543 iarg[4] = p->optlen; /* l_uintptr_t */
2547 /* linux_setsockopt */
2549 struct linux_setsockopt_args *p = params;
2550 iarg[0] = p->s; /* l_int */
2551 iarg[1] = p->level; /* l_int */
2552 iarg[2] = p->optname; /* l_int */
2553 iarg[3] = p->optval; /* l_uintptr_t */
2554 iarg[4] = p->optlen; /* l_int */
2558 /* linux_getsockname */
2560 struct linux_getsockname_args *p = params;
2561 iarg[0] = p->s; /* l_int */
2562 iarg[1] = p->addr; /* l_uintptr_t */
2563 iarg[2] = p->namelen; /* l_uintptr_t */
2567 /* linux_getpeername */
2569 struct linux_getpeername_args *p = params;
2570 iarg[0] = p->s; /* l_int */
2571 iarg[1] = p->addr; /* l_uintptr_t */
2572 iarg[2] = p->namelen; /* l_uintptr_t */
2578 struct linux_sendto_args *p = params;
2579 iarg[0] = p->s; /* l_int */
2580 iarg[1] = p->msg; /* l_uintptr_t */
2581 iarg[2] = p->len; /* l_int */
2582 iarg[3] = p->flags; /* l_int */
2583 iarg[4] = p->to; /* l_uintptr_t */
2584 iarg[5] = p->tolen; /* l_int */
2590 struct linux_sendmsg_args *p = params;
2591 iarg[0] = p->s; /* l_int */
2592 iarg[1] = p->msg; /* l_uintptr_t */
2593 iarg[2] = p->flags; /* l_int */
2597 /* linux_recvfrom */
2599 struct linux_recvfrom_args *p = params;
2600 iarg[0] = p->s; /* l_int */
2601 iarg[1] = p->buf; /* l_uintptr_t */
2602 iarg[2] = p->len; /* l_size_t */
2603 iarg[3] = p->flags; /* l_int */
2604 iarg[4] = p->from; /* l_uintptr_t */
2605 iarg[5] = p->fromlen; /* l_uintptr_t */
2611 struct linux_recvmsg_args *p = params;
2612 iarg[0] = p->s; /* l_int */
2613 iarg[1] = p->msg; /* l_uintptr_t */
2614 iarg[2] = p->flags; /* l_int */
2618 /* linux_shutdown */
2620 struct linux_shutdown_args *p = params;
2621 iarg[0] = p->s; /* l_int */
2622 iarg[1] = p->how; /* l_int */
2626 /* linux_userfaultfd */
2628 struct linux_userfaultfd_args *p = params;
2629 iarg[0] = p->flags; /* l_int */
2633 /* linux_membarrier */
2635 struct linux_membarrier_args *p = params;
2636 iarg[0] = p->cmd; /* l_int */
2637 iarg[1] = p->flags; /* l_int */
2643 struct linux_mlock2_args *p = params;
2644 iarg[0] = p->start; /* l_ulong */
2645 iarg[1] = p->len; /* l_size_t */
2646 iarg[2] = p->flags; /* l_int */
2650 /* linux_copy_file_range */
2652 struct linux_copy_file_range_args *p = params;
2653 iarg[0] = p->fd_in; /* l_int */
2654 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2655 iarg[2] = p->fd_out; /* l_int */
2656 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2657 iarg[4] = p->len; /* l_size_t */
2658 iarg[5] = p->flags; /* l_uint */
2664 struct linux_preadv2_args *p = params;
2665 iarg[0] = p->fd; /* l_ulong */
2666 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2667 iarg[2] = p->vlen; /* l_ulong */
2668 iarg[3] = p->pos_l; /* l_ulong */
2669 iarg[4] = p->pos_h; /* l_ulong */
2670 iarg[5] = p->flags; /* l_int */
2674 /* linux_pwritev2 */
2676 struct linux_pwritev2_args *p = params;
2677 iarg[0] = p->fd; /* l_ulong */
2678 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2679 iarg[2] = p->vlen; /* l_ulong */
2680 iarg[3] = p->pos_l; /* l_ulong */
2681 iarg[4] = p->pos_h; /* l_ulong */
2682 iarg[5] = p->flags; /* l_int */
2686 /* linux_pkey_mprotect */
2688 struct linux_pkey_mprotect_args *p = params;
2689 iarg[0] = p->start; /* l_ulong */
2690 iarg[1] = p->len; /* l_size_t */
2691 iarg[2] = p->prot; /* l_ulong */
2692 iarg[3] = p->pkey; /* l_int */
2696 /* linux_pkey_alloc */
2698 struct linux_pkey_alloc_args *p = params;
2699 iarg[0] = p->flags; /* l_ulong */
2700 iarg[1] = p->init_val; /* l_ulong */
2704 /* linux_pkey_free */
2706 struct linux_pkey_free_args *p = params;
2707 iarg[0] = p->pkey; /* l_int */
2717 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2719 const char *p = NULL;
2721 #define nosys linux_nosys
2742 p = "userland char *";
2758 p = "userland char *";
2771 p = "userland char *";
2800 p = "userland l_int *";
2813 p = "userland char *";
2826 p = "userland char *";
2829 p = "userland char *";
2839 p = "userland char *";
2849 p = "userland char *";
2852 p = "userland uint32_t *";
2855 p = "userland uint32_t *";
2865 p = "userland char *";
2875 p = "userland l_time_t *";
2885 p = "userland char *";
2901 p = "userland char *";
2910 /* linux_lchown16 */
2914 p = "userland char *";
2930 p = "userland char *";
2933 p = "userland struct linux_stat *";
2962 p = "userland char *";
2965 p = "userland char *";
2968 p = "userland char *";
2974 p = "userland void *";
2980 /* linux_oldumount */
2984 p = "userland char *";
2990 /* linux_setuid16 */
3000 /* linux_getuid16 */
3042 p = "userland char *";
3045 p = "userland struct l_utimbuf *";
3055 p = "userland char *";
3094 p = "userland char *";
3097 p = "userland char *";
3107 p = "userland char *";
3120 p = "userland char *";
3140 p = "userland l_int *";
3150 p = "userland struct l_times_argv *";
3166 /* linux_setgid16 */
3176 /* linux_getgid16 */
3192 /* linux_geteuid16 */
3195 /* linux_getegid16 */
3202 p = "userland char *";
3212 p = "userland char *";
3266 /* linux_olduname */
3283 p = "userland char *";
3296 p = "userland struct l_ustat *";
3324 /* linux_sigaction */
3331 p = "userland l_osigaction_t *";
3334 p = "userland l_osigaction_t *";
3340 /* linux_sgetmask */
3343 /* linux_ssetmask */
3353 /* linux_setreuid16 */
3366 /* linux_setregid16 */
3379 /* linux_sigsuspend */
3395 /* linux_sigpending */
3399 p = "userland l_osigset_t *";
3405 /* linux_sethostname */
3409 p = "userland char *";
3418 /* linux_setrlimit */
3425 p = "userland struct l_rlimit *";
3431 /* linux_old_getrlimit */
3438 p = "userland struct l_rlimit *";
3444 /* linux_getrusage */
3451 p = "userland struct l_rusage *";
3457 /* linux_gettimeofday */
3461 p = "userland struct l_timeval *";
3464 p = "userland struct timezone *";
3470 /* linux_settimeofday */
3474 p = "userland struct l_timeval *";
3477 p = "userland struct timezone *";
3483 /* linux_getgroups16 */
3490 p = "userland l_gid16_t *";
3496 /* linux_setgroups16 */
3503 p = "userland l_gid16_t *";
3509 /* linux_old_select */
3513 p = "userland struct l_old_select_argv *";
3523 p = "userland char *";
3526 p = "userland char *";
3536 p = "userland char *";
3539 p = "userland struct linux_lstat *";
3545 /* linux_readlink */
3549 p = "userland char *";
3552 p = "userland char *";
3565 p = "userland char *";
3584 p = "userland void *";
3597 p = "userland struct l_dirent *";
3610 p = "userland struct l_mmap_argv *";
3629 /* linux_truncate */
3633 p = "userland char *";
3642 /* linux_ftruncate */
3684 /* linux_getpriority */
3717 p = "userland char *";
3720 p = "userland struct l_statfs_buf *";
3733 p = "userland struct l_statfs_buf *";
3739 /* linux_socketcall */
3759 p = "userland char *";
3768 /* linux_setitimer */
3775 p = "userland struct l_itimerval *";
3778 p = "userland struct l_itimerval *";
3784 /* linux_getitimer */
3791 p = "userland struct l_itimerval *";
3801 p = "userland char *";
3804 p = "userland struct l_newstat *";
3810 /* linux_newlstat */
3814 p = "userland char *";
3817 p = "userland struct l_newstat *";
3823 /* linux_newfstat */
3830 p = "userland struct l_newstat *";
3859 p = "userland l_int *";
3865 p = "userland struct l_rusage *";
3878 p = "userland struct l_sysinfo *";
3900 p = "userland void *";
3919 /* linux_sigreturn */
3923 p = "userland struct l_sigframe *";
3936 p = "userland void *";
3939 p = "userland void *";
3942 p = "userland void *";
3945 p = "userland void *";
3951 /* linux_setdomainname */
3955 p = "userland char *";
3964 /* linux_newuname */
3968 p = "userland struct l_new_utsname *";
3974 /* linux_adjtimex */
3977 /* linux_mprotect */
3993 /* linux_sigprocmask */
4000 p = "userland l_osigset_t *";
4003 p = "userland l_osigset_t *";
4009 /* linux_init_module */
4012 /* linux_delete_module */
4015 /* linux_quotactl */
4057 /* linux_personality */
4067 /* linux_setfsuid16 */
4077 /* linux_setfsgid16 */
4100 p = "userland l_loff_t *";
4109 /* linux_getdents */
4116 p = "userland void *";
4132 p = "userland l_fd_set *";
4135 p = "userland l_fd_set *";
4138 p = "userland l_fd_set *";
4141 p = "userland struct l_timeval *";
4183 p = "userland struct l_iovec32 *";
4199 p = "userland struct l_iovec32 *";
4218 /* linux_fdatasync */
4232 p = "userland struct l___sysctl_args *";
4242 p = "userland const void *";
4255 p = "userland const void *";
4277 /* linux_sched_setparam */
4284 p = "userland struct sched_param *";
4290 /* linux_sched_getparam */
4297 p = "userland struct sched_param *";
4303 /* linux_sched_setscheduler */
4313 p = "userland struct sched_param *";
4319 /* linux_sched_getscheduler */
4332 /* linux_sched_get_priority_max */
4342 /* linux_sched_get_priority_min */
4352 /* linux_sched_rr_get_interval */
4359 p = "userland struct l_timespec *";
4365 /* linux_nanosleep */
4369 p = "userland const struct l_timespec *";
4372 p = "userland struct l_timespec *";
4400 /* linux_setresuid16 */
4416 /* linux_getresuid16 */
4420 p = "userland l_uid16_t *";
4423 p = "userland l_uid16_t *";
4426 p = "userland l_uid16_t *";
4436 p = "userland struct pollfd *";
4448 /* linux_setresgid16 */
4464 /* linux_getresgid16 */
4468 p = "userland l_gid16_t *";
4471 p = "userland l_gid16_t *";
4474 p = "userland l_gid16_t *";
4502 /* linux_rt_sigreturn */
4506 p = "userland struct l_ucontext *";
4512 /* linux_rt_sigaction */
4519 p = "userland l_sigaction_t *";
4522 p = "userland l_sigaction_t *";
4531 /* linux_rt_sigprocmask */
4538 p = "userland l_sigset_t *";
4541 p = "userland l_sigset_t *";
4550 /* linux_rt_sigpending */
4554 p = "userland l_sigset_t *";
4563 /* linux_rt_sigtimedwait */
4567 p = "userland l_sigset_t *";
4570 p = "userland l_siginfo_t *";
4573 p = "userland struct l_timeval *";
4582 /* linux_rt_sigqueueinfo */
4592 p = "userland l_siginfo_t *";
4598 /* linux_rt_sigsuspend */
4602 p = "userland l_sigset_t *";
4618 p = "userland char *";
4637 p = "userland char *";
4653 p = "userland char *";
4669 p = "userland char *";
4682 p = "userland struct l_user_cap_header *";
4685 p = "userland struct l_user_cap_data *";
4695 p = "userland struct l_user_cap_header *";
4698 p = "userland struct l_user_cap_data *";
4704 /* linux_sigaltstack */
4708 p = "userland l_stack_t *";
4711 p = "userland l_stack_t *";
4717 /* linux_sendfile */
4723 /* linux_getrlimit */
4730 p = "userland struct l_rlimit *";
4761 /* linux_truncate64 */
4765 p = "userland char *";
4774 /* linux_ftruncate64 */
4791 p = "userland const char *";
4794 p = "userland struct l_stat64 *";
4804 p = "userland const char *";
4807 p = "userland struct l_stat64 *";
4820 p = "userland struct l_stat64 *";
4830 p = "userland char *";
4880 /* linux_getgroups */
4887 p = "userland l_gid_t *";
4893 /* linux_setgroups */
4900 p = "userland l_gid_t *";
4929 p = "userland uid_t *";
4932 p = "userland uid_t *";
4935 p = "userland uid_t *";
4961 p = "userland gid_t *";
4964 p = "userland gid_t *";
4967 p = "userland gid_t *";
4977 p = "userland char *";
5009 /* linux_setfsuid */
5019 /* linux_setfsgid */
5029 /* linux_pivot_root */
5033 p = "userland char *";
5036 p = "userland char *";
5052 p = "userland u_char *";
5062 p = "userland void *";
5074 /* linux_getdents64 */
5081 p = "userland void *";
5109 /* linux_setxattr */
5112 /* linux_lsetxattr */
5115 /* linux_fsetxattr */
5118 /* linux_getxattr */
5121 /* linux_lgetxattr */
5124 /* linux_fgetxattr */
5127 /* linux_listxattr */
5130 /* linux_llistxattr */
5133 /* linux_flistxattr */
5136 /* linux_removexattr */
5139 /* linux_lremovexattr */
5142 /* linux_fremovexattr */
5158 /* linux_sys_futex */
5162 p = "userland void *";
5171 p = "userland struct l_timespec *";
5174 p = "userland uint32_t *";
5183 /* linux_sched_setaffinity */
5193 p = "userland l_ulong *";
5199 /* linux_sched_getaffinity */
5209 p = "userland l_ulong *";
5215 /* linux_set_thread_area */
5219 p = "userland struct l_user_desc *";
5225 /* linux_fadvise64 */
5244 /* linux_exit_group */
5254 /* linux_lookup_dcookie */
5257 /* linux_epoll_create */
5267 /* linux_epoll_ctl */
5280 p = "userland struct epoll_event *";
5286 /* linux_epoll_wait */
5293 p = "userland struct epoll_event *";
5305 /* linux_remap_file_pages */
5308 /* linux_set_tid_address */
5312 p = "userland int *";
5318 /* linux_timer_create */
5325 p = "userland struct sigevent *";
5328 p = "userland l_timer_t *";
5334 /* linux_timer_settime */
5344 p = "userland const struct itimerspec *";
5347 p = "userland struct itimerspec *";
5353 /* linux_timer_gettime */
5360 p = "userland struct itimerspec *";
5366 /* linux_timer_getoverrun */
5376 /* linux_timer_delete */
5386 /* linux_clock_settime */
5393 p = "userland struct l_timespec *";
5399 /* linux_clock_gettime */
5406 p = "userland struct l_timespec *";
5412 /* linux_clock_getres */
5419 p = "userland struct l_timespec *";
5425 /* linux_clock_nanosleep */
5435 p = "userland struct l_timespec *";
5438 p = "userland struct l_timespec *";
5444 /* linux_statfs64 */
5448 p = "userland char *";
5454 p = "userland struct l_statfs64_buf *";
5460 /* linux_fstatfs64 */
5470 p = "userland struct l_statfs64_buf *";
5496 p = "userland char *";
5499 p = "userland struct l_timeval *";
5505 /* linux_fadvise64_64 */
5527 /* linux_get_mempolicy */
5530 /* linux_set_mempolicy */
5536 /* linux_mq_unlink */
5539 /* linux_mq_timedsend */
5542 /* linux_mq_timedreceive */
5545 /* linux_mq_notify */
5548 /* linux_mq_getsetattr */
5551 /* linux_kexec_load */
5564 p = "userland l_siginfo_t *";
5570 p = "userland struct l_rusage *";
5579 /* linux_request_key */
5585 /* linux_ioprio_set */
5588 /* linux_ioprio_get */
5591 /* linux_inotify_init */
5594 /* linux_inotify_add_watch */
5597 /* linux_inotify_rm_watch */
5600 /* linux_migrate_pages */
5610 p = "userland const char *";
5629 p = "userland const char *";
5645 p = "userland const char *";
5657 /* linux_fchownat */
5664 p = "userland const char *";
5679 /* linux_futimesat */
5686 p = "userland char *";
5689 p = "userland struct l_timeval *";
5695 /* linux_fstatat64 */
5702 p = "userland char *";
5705 p = "userland struct l_stat64 *";
5714 /* linux_unlinkat */
5721 p = "userland const char *";
5730 /* linux_renameat */
5737 p = "userland const char *";
5743 p = "userland const char *";
5756 p = "userland const char *";
5762 p = "userland const char *";
5771 /* linux_symlinkat */
5775 p = "userland const char *";
5781 p = "userland const char *";
5787 /* linux_readlinkat */
5794 p = "userland const char *";
5797 p = "userland char *";
5806 /* linux_fchmodat */
5813 p = "userland const char *";
5822 /* linux_faccessat */
5829 p = "userland const char *";
5838 /* linux_pselect6 */
5845 p = "userland l_fd_set *";
5848 p = "userland l_fd_set *";
5851 p = "userland l_fd_set *";
5854 p = "userland struct l_timespec *";
5857 p = "userland l_uintptr_t *";
5867 p = "userland struct pollfd *";
5873 p = "userland struct l_timespec *";
5876 p = "userland l_sigset_t *";
5888 /* linux_set_robust_list */
5892 p = "userland struct linux_robust_list_head *";
5901 /* linux_get_robust_list */
5908 p = "userland struct linux_robust_list_head **";
5911 p = "userland l_size_t *";
5920 /* linux_sync_file_range */
5926 /* linux_vmsplice */
5929 /* linux_move_pages */
5935 /* linux_epoll_pwait */
5942 p = "userland struct epoll_event *";
5951 p = "userland l_sigset_t *";
5960 /* linux_utimensat */
5967 p = "userland const char *";
5970 p = "userland const struct l_timespec *";
5979 /* linux_signalfd */
5982 /* linux_timerfd_create */
6005 /* linux_fallocate */
6024 /* linux_timerfd_settime */
6034 p = "userland const struct l_itimerspec *";
6037 p = "userland struct l_itimerspec *";
6043 /* linux_timerfd_gettime */
6050 p = "userland struct l_itimerspec *";
6056 /* linux_signalfd4 */
6059 /* linux_eventfd2 */
6072 /* linux_epoll_create1 */
6102 p = "userland l_int *";
6111 /* linux_inotify_init1 */
6121 p = "userland struct iovec *";
6143 p = "userland struct iovec *";
6158 /* linux_rt_tgsigqueueinfo */
6171 p = "userland l_siginfo_t *";
6177 /* linux_perf_event_open */
6180 /* linux_recvmmsg */
6187 p = "userland struct l_mmsghdr *";
6196 p = "userland struct l_timespec *";
6202 /* linux_fanotify_init */
6205 /* linux_fanotify_mark */
6208 /* linux_prlimit64 */
6218 p = "userland struct rlimit *";
6221 p = "userland struct rlimit *";
6227 /* linux_name_to_handle_at */
6230 /* linux_open_by_handle_at */
6233 /* linux_clock_adjtime */
6246 /* linux_sendmmsg */
6253 p = "userland struct l_mmsghdr *";
6268 /* linux_process_vm_readv */
6275 p = "userland const struct iovec *";
6281 p = "userland const struct iovec *";
6293 /* linux_process_vm_writev */
6300 p = "userland const struct iovec *";
6306 p = "userland const struct iovec *";
6340 /* linux_finit_module */
6347 p = "userland const char *";
6356 /* linux_sched_setattr */
6363 p = "userland void *";
6372 /* linux_sched_getattr */
6379 p = "userland void *";
6391 /* linux_renameat2 */
6398 p = "userland const char *";
6404 p = "userland const char *";
6423 p = "userland const char *";
6429 /* linux_getrandom */
6433 p = "userland char *";
6445 /* linux_memfd_create */
6449 p = "userland const char *";
6465 p = "userland void *";
6474 /* linux_execveat */
6481 p = "userland const char *";
6484 p = "userland const char **";
6487 p = "userland const char **";
6512 /* linux_socketpair */
6595 /* linux_getsockopt */
6617 /* linux_setsockopt */
6639 /* linux_getsockname */
6655 /* linux_getpeername */
6712 /* linux_recvfrom */
6753 /* linux_shutdown */
6766 /* linux_userfaultfd */
6776 /* linux_membarrier */
6805 /* linux_copy_file_range */
6812 p = "userland l_loff_t *";
6818 p = "userland l_loff_t *";
6837 p = "userland const struct iovec *";
6855 /* linux_pwritev2 */
6862 p = "userland const struct iovec *";
6880 /* linux_pkey_mprotect */
6899 /* linux_pkey_alloc */
6912 /* linux_pkey_free */
6926 strlcpy(desc, p, descsz);
6929 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6931 const char *p = NULL;
6933 #define nosys linux_nosys
6936 if (ndx == 0 || ndx == 1)
6943 if (ndx == 0 || ndx == 1)
6948 if (ndx == 0 || ndx == 1)
6953 if (ndx == 0 || ndx == 1)
6958 if (ndx == 0 || ndx == 1)
6963 if (ndx == 0 || ndx == 1)
6968 if (ndx == 0 || ndx == 1)
6973 if (ndx == 0 || ndx == 1)
6978 if (ndx == 0 || ndx == 1)
6983 if (ndx == 0 || ndx == 1)
6988 if (ndx == 0 || ndx == 1)
6993 if (ndx == 0 || ndx == 1)
6998 if (ndx == 0 || ndx == 1)
7003 if (ndx == 0 || ndx == 1)
7006 /* linux_lchown16 */
7008 if (ndx == 0 || ndx == 1)
7013 if (ndx == 0 || ndx == 1)
7018 if (ndx == 0 || ndx == 1)
7025 if (ndx == 0 || ndx == 1)
7028 /* linux_oldumount */
7030 if (ndx == 0 || ndx == 1)
7033 /* linux_setuid16 */
7035 if (ndx == 0 || ndx == 1)
7038 /* linux_getuid16 */
7044 if (ndx == 0 || ndx == 1)
7049 if (ndx == 0 || ndx == 1)
7056 if (ndx == 0 || ndx == 1)
7061 if (ndx == 0 || ndx == 1)
7066 if (ndx == 0 || ndx == 1)
7073 if (ndx == 0 || ndx == 1)
7078 if (ndx == 0 || ndx == 1)
7083 if (ndx == 0 || ndx == 1)
7088 if (ndx == 0 || ndx == 1)
7093 if (ndx == 0 || ndx == 1)
7098 if (ndx == 0 || ndx == 1)
7103 if (ndx == 0 || ndx == 1)
7108 if (ndx == 0 || ndx == 1)
7111 /* linux_setgid16 */
7113 if (ndx == 0 || ndx == 1)
7116 /* linux_getgid16 */
7120 if (ndx == 0 || ndx == 1)
7123 /* linux_geteuid16 */
7125 /* linux_getegid16 */
7129 if (ndx == 0 || ndx == 1)
7134 if (ndx == 0 || ndx == 1)
7139 if (ndx == 0 || ndx == 1)
7144 if (ndx == 0 || ndx == 1)
7149 if (ndx == 0 || ndx == 1)
7152 /* linux_olduname */
7156 if (ndx == 0 || ndx == 1)
7161 if (ndx == 0 || ndx == 1)
7166 if (ndx == 0 || ndx == 1)
7171 if (ndx == 0 || ndx == 1)
7180 /* linux_sigaction */
7182 if (ndx == 0 || ndx == 1)
7185 /* linux_sgetmask */
7187 /* linux_ssetmask */
7189 if (ndx == 0 || ndx == 1)
7192 /* linux_setreuid16 */
7194 if (ndx == 0 || ndx == 1)
7197 /* linux_setregid16 */
7199 if (ndx == 0 || ndx == 1)
7202 /* linux_sigsuspend */
7204 if (ndx == 0 || ndx == 1)
7207 /* linux_sigpending */
7209 if (ndx == 0 || ndx == 1)
7212 /* linux_sethostname */
7214 if (ndx == 0 || ndx == 1)
7217 /* linux_setrlimit */
7219 if (ndx == 0 || ndx == 1)
7222 /* linux_old_getrlimit */
7224 if (ndx == 0 || ndx == 1)
7227 /* linux_getrusage */
7229 if (ndx == 0 || ndx == 1)
7232 /* linux_gettimeofday */
7234 if (ndx == 0 || ndx == 1)
7237 /* linux_settimeofday */
7239 if (ndx == 0 || ndx == 1)
7242 /* linux_getgroups16 */
7244 if (ndx == 0 || ndx == 1)
7247 /* linux_setgroups16 */
7249 if (ndx == 0 || ndx == 1)
7252 /* linux_old_select */
7254 if (ndx == 0 || ndx == 1)
7259 if (ndx == 0 || ndx == 1)
7264 if (ndx == 0 || ndx == 1)
7267 /* linux_readlink */
7269 if (ndx == 0 || ndx == 1)
7274 if (ndx == 0 || ndx == 1)
7279 if (ndx == 0 || ndx == 1)
7284 if (ndx == 0 || ndx == 1)
7289 if (ndx == 0 || ndx == 1)
7294 if (ndx == 0 || ndx == 1)
7297 /* linux_truncate */
7299 if (ndx == 0 || ndx == 1)
7302 /* linux_ftruncate */
7304 if (ndx == 0 || ndx == 1)
7309 if (ndx == 0 || ndx == 1)
7314 if (ndx == 0 || ndx == 1)
7317 /* linux_getpriority */
7319 if (ndx == 0 || ndx == 1)
7324 if (ndx == 0 || ndx == 1)
7329 if (ndx == 0 || ndx == 1)
7334 if (ndx == 0 || ndx == 1)
7337 /* linux_socketcall */
7339 if (ndx == 0 || ndx == 1)
7344 if (ndx == 0 || ndx == 1)
7347 /* linux_setitimer */
7349 if (ndx == 0 || ndx == 1)
7352 /* linux_getitimer */
7354 if (ndx == 0 || ndx == 1)
7359 if (ndx == 0 || ndx == 1)
7362 /* linux_newlstat */
7364 if (ndx == 0 || ndx == 1)
7367 /* linux_newfstat */
7369 if (ndx == 0 || ndx == 1)
7376 if (ndx == 0 || ndx == 1)
7383 if (ndx == 0 || ndx == 1)
7390 if (ndx == 0 || ndx == 1)
7395 if (ndx == 0 || ndx == 1)
7400 if (ndx == 0 || ndx == 1)
7403 /* linux_sigreturn */
7405 if (ndx == 0 || ndx == 1)
7410 if (ndx == 0 || ndx == 1)
7413 /* linux_setdomainname */
7415 if (ndx == 0 || ndx == 1)
7418 /* linux_newuname */
7420 if (ndx == 0 || ndx == 1)
7423 /* linux_adjtimex */
7425 /* linux_mprotect */
7427 if (ndx == 0 || ndx == 1)
7430 /* linux_sigprocmask */
7432 if (ndx == 0 || ndx == 1)
7435 /* linux_init_module */
7437 /* linux_delete_module */
7439 /* linux_quotactl */
7443 if (ndx == 0 || ndx == 1)
7448 if (ndx == 0 || ndx == 1)
7455 if (ndx == 0 || ndx == 1)
7458 /* linux_personality */
7460 if (ndx == 0 || ndx == 1)
7463 /* linux_setfsuid16 */
7465 if (ndx == 0 || ndx == 1)
7468 /* linux_setfsgid16 */
7470 if (ndx == 0 || ndx == 1)
7475 if (ndx == 0 || ndx == 1)
7478 /* linux_getdents */
7480 if (ndx == 0 || ndx == 1)
7485 if (ndx == 0 || ndx == 1)
7490 if (ndx == 0 || ndx == 1)
7495 if (ndx == 0 || ndx == 1)
7500 if (ndx == 0 || ndx == 1)
7505 if (ndx == 0 || ndx == 1)
7510 if (ndx == 0 || ndx == 1)
7513 /* linux_fdatasync */
7515 if (ndx == 0 || ndx == 1)
7520 if (ndx == 0 || ndx == 1)
7525 if (ndx == 0 || ndx == 1)
7530 if (ndx == 0 || ndx == 1)
7535 if (ndx == 0 || ndx == 1)
7540 /* linux_sched_setparam */
7542 if (ndx == 0 || ndx == 1)
7545 /* linux_sched_getparam */
7547 if (ndx == 0 || ndx == 1)
7550 /* linux_sched_setscheduler */
7552 if (ndx == 0 || ndx == 1)
7555 /* linux_sched_getscheduler */
7557 if (ndx == 0 || ndx == 1)
7562 /* linux_sched_get_priority_max */
7564 if (ndx == 0 || ndx == 1)
7567 /* linux_sched_get_priority_min */
7569 if (ndx == 0 || ndx == 1)
7572 /* linux_sched_rr_get_interval */
7574 if (ndx == 0 || ndx == 1)
7577 /* linux_nanosleep */
7579 if (ndx == 0 || ndx == 1)
7584 if (ndx == 0 || ndx == 1)
7587 /* linux_setresuid16 */
7589 if (ndx == 0 || ndx == 1)
7592 /* linux_getresuid16 */
7594 if (ndx == 0 || ndx == 1)
7599 if (ndx == 0 || ndx == 1)
7602 /* linux_setresgid16 */
7604 if (ndx == 0 || ndx == 1)
7607 /* linux_getresgid16 */
7609 if (ndx == 0 || ndx == 1)
7614 if (ndx == 0 || ndx == 1)
7617 /* linux_rt_sigreturn */
7619 if (ndx == 0 || ndx == 1)
7622 /* linux_rt_sigaction */
7624 if (ndx == 0 || ndx == 1)
7627 /* linux_rt_sigprocmask */
7629 if (ndx == 0 || ndx == 1)
7632 /* linux_rt_sigpending */
7634 if (ndx == 0 || ndx == 1)
7637 /* linux_rt_sigtimedwait */
7639 if (ndx == 0 || ndx == 1)
7642 /* linux_rt_sigqueueinfo */
7644 if (ndx == 0 || ndx == 1)
7647 /* linux_rt_sigsuspend */
7649 if (ndx == 0 || ndx == 1)
7654 if (ndx == 0 || ndx == 1)
7659 if (ndx == 0 || ndx == 1)
7664 if (ndx == 0 || ndx == 1)
7669 if (ndx == 0 || ndx == 1)
7674 if (ndx == 0 || ndx == 1)
7679 if (ndx == 0 || ndx == 1)
7682 /* linux_sigaltstack */
7684 if (ndx == 0 || ndx == 1)
7687 /* linux_sendfile */
7691 /* linux_getrlimit */
7693 if (ndx == 0 || ndx == 1)
7698 if (ndx == 0 || ndx == 1)
7701 /* linux_truncate64 */
7703 if (ndx == 0 || ndx == 1)
7706 /* linux_ftruncate64 */
7708 if (ndx == 0 || ndx == 1)
7713 if (ndx == 0 || ndx == 1)
7718 if (ndx == 0 || ndx == 1)
7723 if (ndx == 0 || ndx == 1)
7728 if (ndx == 0 || ndx == 1)
7741 if (ndx == 0 || ndx == 1)
7746 if (ndx == 0 || ndx == 1)
7749 /* linux_getgroups */
7751 if (ndx == 0 || ndx == 1)
7754 /* linux_setgroups */
7756 if (ndx == 0 || ndx == 1)
7763 if (ndx == 0 || ndx == 1)
7768 if (ndx == 0 || ndx == 1)
7773 if (ndx == 0 || ndx == 1)
7778 if (ndx == 0 || ndx == 1)
7783 if (ndx == 0 || ndx == 1)
7788 if (ndx == 0 || ndx == 1)
7793 if (ndx == 0 || ndx == 1)
7796 /* linux_setfsuid */
7798 if (ndx == 0 || ndx == 1)
7801 /* linux_setfsgid */
7803 if (ndx == 0 || ndx == 1)
7806 /* linux_pivot_root */
7808 if (ndx == 0 || ndx == 1)
7813 if (ndx == 0 || ndx == 1)
7818 if (ndx == 0 || ndx == 1)
7821 /* linux_getdents64 */
7823 if (ndx == 0 || ndx == 1)
7828 if (ndx == 0 || ndx == 1)
7833 /* linux_setxattr */
7835 /* linux_lsetxattr */
7837 /* linux_fsetxattr */
7839 /* linux_getxattr */
7841 /* linux_lgetxattr */
7843 /* linux_fgetxattr */
7845 /* linux_listxattr */
7847 /* linux_llistxattr */
7849 /* linux_flistxattr */
7851 /* linux_removexattr */
7853 /* linux_lremovexattr */
7855 /* linux_fremovexattr */
7859 if (ndx == 0 || ndx == 1)
7862 /* linux_sys_futex */
7864 if (ndx == 0 || ndx == 1)
7867 /* linux_sched_setaffinity */
7869 if (ndx == 0 || ndx == 1)
7872 /* linux_sched_getaffinity */
7874 if (ndx == 0 || ndx == 1)
7877 /* linux_set_thread_area */
7879 if (ndx == 0 || ndx == 1)
7882 /* linux_fadvise64 */
7884 if (ndx == 0 || ndx == 1)
7887 /* linux_exit_group */
7889 if (ndx == 0 || ndx == 1)
7892 /* linux_lookup_dcookie */
7894 /* linux_epoll_create */
7896 if (ndx == 0 || ndx == 1)
7899 /* linux_epoll_ctl */
7901 if (ndx == 0 || ndx == 1)
7904 /* linux_epoll_wait */
7906 if (ndx == 0 || ndx == 1)
7909 /* linux_remap_file_pages */
7911 /* linux_set_tid_address */
7913 if (ndx == 0 || ndx == 1)
7916 /* linux_timer_create */
7918 if (ndx == 0 || ndx == 1)
7921 /* linux_timer_settime */
7923 if (ndx == 0 || ndx == 1)
7926 /* linux_timer_gettime */
7928 if (ndx == 0 || ndx == 1)
7931 /* linux_timer_getoverrun */
7933 if (ndx == 0 || ndx == 1)
7936 /* linux_timer_delete */
7938 if (ndx == 0 || ndx == 1)
7941 /* linux_clock_settime */
7943 if (ndx == 0 || ndx == 1)
7946 /* linux_clock_gettime */
7948 if (ndx == 0 || ndx == 1)
7951 /* linux_clock_getres */
7953 if (ndx == 0 || ndx == 1)
7956 /* linux_clock_nanosleep */
7958 if (ndx == 0 || ndx == 1)
7961 /* linux_statfs64 */
7963 if (ndx == 0 || ndx == 1)
7966 /* linux_fstatfs64 */
7968 if (ndx == 0 || ndx == 1)
7973 if (ndx == 0 || ndx == 1)
7978 if (ndx == 0 || ndx == 1)
7981 /* linux_fadvise64_64 */
7983 if (ndx == 0 || ndx == 1)
7988 /* linux_get_mempolicy */
7990 /* linux_set_mempolicy */
7994 /* linux_mq_unlink */
7996 /* linux_mq_timedsend */
7998 /* linux_mq_timedreceive */
8000 /* linux_mq_notify */
8002 /* linux_mq_getsetattr */
8004 /* linux_kexec_load */
8008 if (ndx == 0 || ndx == 1)
8013 /* linux_request_key */
8017 /* linux_ioprio_set */
8019 /* linux_ioprio_get */
8021 /* linux_inotify_init */
8023 /* linux_inotify_add_watch */
8025 /* linux_inotify_rm_watch */
8027 /* linux_migrate_pages */
8031 if (ndx == 0 || ndx == 1)
8036 if (ndx == 0 || ndx == 1)
8041 if (ndx == 0 || ndx == 1)
8044 /* linux_fchownat */
8046 if (ndx == 0 || ndx == 1)
8049 /* linux_futimesat */
8051 if (ndx == 0 || ndx == 1)
8054 /* linux_fstatat64 */
8056 if (ndx == 0 || ndx == 1)
8059 /* linux_unlinkat */
8061 if (ndx == 0 || ndx == 1)
8064 /* linux_renameat */
8066 if (ndx == 0 || ndx == 1)
8071 if (ndx == 0 || ndx == 1)
8074 /* linux_symlinkat */
8076 if (ndx == 0 || ndx == 1)
8079 /* linux_readlinkat */
8081 if (ndx == 0 || ndx == 1)
8084 /* linux_fchmodat */
8086 if (ndx == 0 || ndx == 1)
8089 /* linux_faccessat */
8091 if (ndx == 0 || ndx == 1)
8094 /* linux_pselect6 */
8096 if (ndx == 0 || ndx == 1)
8101 if (ndx == 0 || ndx == 1)
8106 /* linux_set_robust_list */
8108 if (ndx == 0 || ndx == 1)
8111 /* linux_get_robust_list */
8113 if (ndx == 0 || ndx == 1)
8118 /* linux_sync_file_range */
8122 /* linux_vmsplice */
8124 /* linux_move_pages */
8128 /* linux_epoll_pwait */
8130 if (ndx == 0 || ndx == 1)
8133 /* linux_utimensat */
8135 if (ndx == 0 || ndx == 1)
8138 /* linux_signalfd */
8140 /* linux_timerfd_create */
8142 if (ndx == 0 || ndx == 1)
8147 if (ndx == 0 || ndx == 1)
8150 /* linux_fallocate */
8152 if (ndx == 0 || ndx == 1)
8155 /* linux_timerfd_settime */
8157 if (ndx == 0 || ndx == 1)
8160 /* linux_timerfd_gettime */
8162 if (ndx == 0 || ndx == 1)
8165 /* linux_signalfd4 */
8167 /* linux_eventfd2 */
8169 if (ndx == 0 || ndx == 1)
8172 /* linux_epoll_create1 */
8174 if (ndx == 0 || ndx == 1)
8179 if (ndx == 0 || ndx == 1)
8184 if (ndx == 0 || ndx == 1)
8187 /* linux_inotify_init1 */
8191 if (ndx == 0 || ndx == 1)
8196 if (ndx == 0 || ndx == 1)
8199 /* linux_rt_tgsigqueueinfo */
8201 if (ndx == 0 || ndx == 1)
8204 /* linux_perf_event_open */
8206 /* linux_recvmmsg */
8208 if (ndx == 0 || ndx == 1)
8211 /* linux_fanotify_init */
8213 /* linux_fanotify_mark */
8215 /* linux_prlimit64 */
8217 if (ndx == 0 || ndx == 1)
8220 /* linux_name_to_handle_at */
8222 /* linux_open_by_handle_at */
8224 /* linux_clock_adjtime */
8228 if (ndx == 0 || ndx == 1)
8231 /* linux_sendmmsg */
8233 if (ndx == 0 || ndx == 1)
8238 /* linux_process_vm_readv */
8240 if (ndx == 0 || ndx == 1)
8243 /* linux_process_vm_writev */
8245 if (ndx == 0 || ndx == 1)
8250 if (ndx == 0 || ndx == 1)
8253 /* linux_finit_module */
8255 if (ndx == 0 || ndx == 1)
8258 /* linux_sched_setattr */
8260 if (ndx == 0 || ndx == 1)
8263 /* linux_sched_getattr */
8265 if (ndx == 0 || ndx == 1)
8268 /* linux_renameat2 */
8270 if (ndx == 0 || ndx == 1)
8275 if (ndx == 0 || ndx == 1)
8278 /* linux_getrandom */
8280 if (ndx == 0 || ndx == 1)
8283 /* linux_memfd_create */
8285 if (ndx == 0 || ndx == 1)
8290 if (ndx == 0 || ndx == 1)
8293 /* linux_execveat */
8295 if (ndx == 0 || ndx == 1)
8300 if (ndx == 0 || ndx == 1)
8303 /* linux_socketpair */
8305 if (ndx == 0 || ndx == 1)
8310 if (ndx == 0 || ndx == 1)
8315 if (ndx == 0 || ndx == 1)
8320 if (ndx == 0 || ndx == 1)
8325 if (ndx == 0 || ndx == 1)
8328 /* linux_getsockopt */
8330 if (ndx == 0 || ndx == 1)
8333 /* linux_setsockopt */
8335 if (ndx == 0 || ndx == 1)
8338 /* linux_getsockname */
8340 if (ndx == 0 || ndx == 1)
8343 /* linux_getpeername */
8345 if (ndx == 0 || ndx == 1)
8350 if (ndx == 0 || ndx == 1)
8355 if (ndx == 0 || ndx == 1)
8358 /* linux_recvfrom */
8360 if (ndx == 0 || ndx == 1)
8365 if (ndx == 0 || ndx == 1)
8368 /* linux_shutdown */
8370 if (ndx == 0 || ndx == 1)
8373 /* linux_userfaultfd */
8375 if (ndx == 0 || ndx == 1)
8378 /* linux_membarrier */
8380 if (ndx == 0 || ndx == 1)
8385 if (ndx == 0 || ndx == 1)
8388 /* linux_copy_file_range */
8390 if (ndx == 0 || ndx == 1)
8395 if (ndx == 0 || ndx == 1)
8398 /* linux_pwritev2 */
8400 if (ndx == 0 || ndx == 1)
8403 /* linux_pkey_mprotect */
8405 if (ndx == 0 || ndx == 1)
8408 /* linux_pkey_alloc */
8410 if (ndx == 0 || ndx == 1)
8413 /* linux_pkey_free */
8415 if (ndx == 0 || ndx == 1)
8422 strlcpy(desc, p, descsz);