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_ulong */
812 iarg[1] = p->stack; /* l_ulong */
813 uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
814 iarg[3] = p->tls; /* l_ulong */
815 uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
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 linux_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_timespec * */
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 */
1297 struct linux_sendfile_args *p = params;
1298 iarg[0] = p->out; /* l_int */
1299 iarg[1] = p->in; /* l_int */
1300 uarg[2] = (intptr_t)p->offset; /* l_long * */
1301 iarg[3] = p->count; /* l_size_t */
1310 /* linux_getrlimit */
1312 struct linux_getrlimit_args *p = params;
1313 iarg[0] = p->resource; /* l_uint */
1314 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
1320 struct linux_mmap2_args *p = params;
1321 iarg[0] = p->addr; /* l_ulong */
1322 iarg[1] = p->len; /* l_ulong */
1323 iarg[2] = p->prot; /* l_ulong */
1324 iarg[3] = p->flags; /* l_ulong */
1325 iarg[4] = p->fd; /* l_ulong */
1326 iarg[5] = p->pgoff; /* l_ulong */
1330 /* linux_truncate64 */
1332 struct linux_truncate64_args *p = params;
1333 uarg[0] = (intptr_t)p->path; /* char * */
1334 uarg[1] = p->length1; /* uint32_t */
1335 uarg[2] = p->length2; /* uint32_t */
1339 /* linux_ftruncate64 */
1341 struct linux_ftruncate64_args *p = params;
1342 iarg[0] = p->fd; /* l_uint */
1343 uarg[1] = p->length1; /* uint32_t */
1344 uarg[2] = p->length2; /* uint32_t */
1350 struct linux_stat64_args *p = params;
1351 uarg[0] = (intptr_t)p->filename; /* const char * */
1352 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1358 struct linux_lstat64_args *p = params;
1359 uarg[0] = (intptr_t)p->filename; /* const char * */
1360 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1366 struct linux_fstat64_args *p = params;
1367 iarg[0] = p->fd; /* l_int */
1368 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1374 struct linux_lchown_args *p = params;
1375 uarg[0] = (intptr_t)p->path; /* char * */
1376 iarg[1] = p->uid; /* l_uid_t */
1377 iarg[2] = p->gid; /* l_gid_t */
1403 struct setreuid_args *p = params;
1404 uarg[0] = p->ruid; /* uid_t */
1405 uarg[1] = p->euid; /* uid_t */
1411 struct setregid_args *p = params;
1412 iarg[0] = p->rgid; /* gid_t */
1413 iarg[1] = p->egid; /* gid_t */
1417 /* linux_getgroups */
1419 struct linux_getgroups_args *p = params;
1420 iarg[0] = p->gidsetsize; /* l_int */
1421 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1425 /* linux_setgroups */
1427 struct linux_setgroups_args *p = params;
1428 iarg[0] = p->gidsetsize; /* l_int */
1429 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1440 struct setresuid_args *p = params;
1441 uarg[0] = p->ruid; /* uid_t */
1442 uarg[1] = p->euid; /* uid_t */
1443 uarg[2] = p->suid; /* uid_t */
1449 struct getresuid_args *p = params;
1450 uarg[0] = (intptr_t)p->ruid; /* uid_t * */
1451 uarg[1] = (intptr_t)p->euid; /* uid_t * */
1452 uarg[2] = (intptr_t)p->suid; /* uid_t * */
1458 struct setresgid_args *p = params;
1459 iarg[0] = p->rgid; /* gid_t */
1460 iarg[1] = p->egid; /* gid_t */
1461 iarg[2] = p->sgid; /* gid_t */
1467 struct getresgid_args *p = params;
1468 uarg[0] = (intptr_t)p->rgid; /* gid_t * */
1469 uarg[1] = (intptr_t)p->egid; /* gid_t * */
1470 uarg[2] = (intptr_t)p->sgid; /* gid_t * */
1476 struct linux_chown_args *p = params;
1477 uarg[0] = (intptr_t)p->path; /* char * */
1478 iarg[1] = p->uid; /* l_uid_t */
1479 iarg[2] = p->gid; /* l_gid_t */
1485 struct setuid_args *p = params;
1486 uarg[0] = p->uid; /* uid_t */
1492 struct setgid_args *p = params;
1493 iarg[0] = p->gid; /* gid_t */
1497 /* linux_setfsuid */
1499 struct linux_setfsuid_args *p = params;
1500 iarg[0] = p->uid; /* l_uid_t */
1504 /* linux_setfsgid */
1506 struct linux_setfsgid_args *p = params;
1507 iarg[0] = p->gid; /* l_gid_t */
1511 /* linux_pivot_root */
1513 struct linux_pivot_root_args *p = params;
1514 uarg[0] = (intptr_t)p->new_root; /* char * */
1515 uarg[1] = (intptr_t)p->put_old; /* char * */
1521 struct linux_mincore_args *p = params;
1522 iarg[0] = p->start; /* l_ulong */
1523 iarg[1] = p->len; /* l_size_t */
1524 uarg[2] = (intptr_t)p->vec; /* u_char * */
1530 struct linux_madvise_args *p = params;
1531 uarg[0] = (intptr_t)p->addr; /* void * */
1532 uarg[1] = p->len; /* size_t */
1533 iarg[2] = p->behav; /* int */
1537 /* linux_getdents64 */
1539 struct linux_getdents64_args *p = params;
1540 iarg[0] = p->fd; /* l_uint */
1541 uarg[1] = (intptr_t)p->dirent; /* void * */
1542 iarg[2] = p->count; /* l_uint */
1548 struct linux_fcntl64_args *p = params;
1549 iarg[0] = p->fd; /* l_uint */
1550 iarg[1] = p->cmd; /* l_uint */
1551 uarg[2] = p->arg; /* uintptr_t */
1560 /* linux_setxattr */
1562 struct linux_setxattr_args *p = params;
1563 uarg[0] = (intptr_t)p->path; /* const char * */
1564 uarg[1] = (intptr_t)p->name; /* const char * */
1565 uarg[2] = (intptr_t)p->value; /* const char * */
1566 iarg[3] = p->size; /* l_size_t */
1567 iarg[4] = p->flags; /* l_int */
1571 /* linux_lsetxattr */
1573 struct linux_lsetxattr_args *p = params;
1574 uarg[0] = (intptr_t)p->path; /* const char * */
1575 uarg[1] = (intptr_t)p->name; /* const char * */
1576 uarg[2] = (intptr_t)p->value; /* const char * */
1577 iarg[3] = p->size; /* l_size_t */
1578 iarg[4] = p->flags; /* l_int */
1582 /* linux_fsetxattr */
1584 struct linux_fsetxattr_args *p = params;
1585 iarg[0] = p->fd; /* l_int */
1586 uarg[1] = (intptr_t)p->name; /* const char * */
1587 uarg[2] = (intptr_t)p->value; /* const char * */
1588 iarg[3] = p->size; /* l_size_t */
1589 iarg[4] = p->flags; /* l_int */
1593 /* linux_getxattr */
1595 struct linux_getxattr_args *p = params;
1596 uarg[0] = (intptr_t)p->path; /* const char * */
1597 uarg[1] = (intptr_t)p->name; /* const char * */
1598 uarg[2] = (intptr_t)p->value; /* char * */
1599 iarg[3] = p->size; /* l_size_t */
1603 /* linux_lgetxattr */
1605 struct linux_lgetxattr_args *p = params;
1606 uarg[0] = (intptr_t)p->path; /* const char * */
1607 uarg[1] = (intptr_t)p->name; /* const char * */
1608 uarg[2] = (intptr_t)p->value; /* char * */
1609 iarg[3] = p->size; /* l_size_t */
1613 /* linux_fgetxattr */
1615 struct linux_fgetxattr_args *p = params;
1616 iarg[0] = p->fd; /* l_int */
1617 uarg[1] = (intptr_t)p->name; /* const char * */
1618 uarg[2] = (intptr_t)p->value; /* char * */
1619 iarg[3] = p->size; /* l_size_t */
1623 /* linux_listxattr */
1625 struct linux_listxattr_args *p = params;
1626 uarg[0] = (intptr_t)p->path; /* const char * */
1627 uarg[1] = (intptr_t)p->list; /* const char * */
1628 iarg[2] = p->size; /* l_size_t */
1632 /* linux_llistxattr */
1634 struct linux_llistxattr_args *p = params;
1635 uarg[0] = (intptr_t)p->path; /* const char * */
1636 uarg[1] = (intptr_t)p->list; /* const char * */
1637 iarg[2] = p->size; /* l_size_t */
1641 /* linux_flistxattr */
1643 struct linux_flistxattr_args *p = params;
1644 iarg[0] = p->fd; /* l_int */
1645 uarg[1] = (intptr_t)p->list; /* const char * */
1646 iarg[2] = p->size; /* l_size_t */
1650 /* linux_removexattr */
1652 struct linux_removexattr_args *p = params;
1653 uarg[0] = (intptr_t)p->path; /* const char * */
1654 uarg[1] = (intptr_t)p->name; /* const char * */
1658 /* linux_lremovexattr */
1660 struct linux_lremovexattr_args *p = params;
1661 uarg[0] = (intptr_t)p->path; /* const char * */
1662 uarg[1] = (intptr_t)p->name; /* const char * */
1666 /* linux_fremovexattr */
1668 struct linux_fremovexattr_args *p = params;
1669 iarg[0] = p->fd; /* l_int */
1670 uarg[1] = (intptr_t)p->name; /* const char * */
1676 struct linux_tkill_args *p = params;
1677 iarg[0] = p->tid; /* int */
1678 iarg[1] = p->sig; /* int */
1682 /* linux_sendfile64 */
1684 struct linux_sendfile64_args *p = params;
1685 iarg[0] = p->out; /* l_int */
1686 iarg[1] = p->in; /* l_int */
1687 uarg[2] = (intptr_t)p->offset; /* l_loff_t * */
1688 iarg[3] = p->count; /* l_size_t */
1692 /* linux_sys_futex */
1694 struct linux_sys_futex_args *p = params;
1695 uarg[0] = (intptr_t)p->uaddr; /* uint32_t * */
1696 iarg[1] = p->op; /* l_int */
1697 uarg[2] = p->val; /* uint32_t */
1698 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec * */
1699 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
1700 uarg[5] = p->val3; /* uint32_t */
1704 /* linux_sched_setaffinity */
1706 struct linux_sched_setaffinity_args *p = params;
1707 iarg[0] = p->pid; /* l_pid_t */
1708 iarg[1] = p->len; /* l_uint */
1709 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1713 /* linux_sched_getaffinity */
1715 struct linux_sched_getaffinity_args *p = params;
1716 iarg[0] = p->pid; /* l_pid_t */
1717 iarg[1] = p->len; /* l_uint */
1718 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1722 /* linux_set_thread_area */
1724 struct linux_set_thread_area_args *p = params;
1725 uarg[0] = (intptr_t)p->desc; /* struct l_user_desc * */
1729 /* linux_fadvise64 */
1731 struct linux_fadvise64_args *p = params;
1732 iarg[0] = p->fd; /* int */
1733 uarg[1] = p->offset1; /* uint32_t */
1734 uarg[2] = p->offset2; /* uint32_t */
1735 iarg[3] = p->len; /* l_size_t */
1736 iarg[4] = p->advice; /* int */
1740 /* linux_exit_group */
1742 struct linux_exit_group_args *p = params;
1743 iarg[0] = p->error_code; /* int */
1747 /* linux_lookup_dcookie */
1752 /* linux_epoll_create */
1754 struct linux_epoll_create_args *p = params;
1755 iarg[0] = p->size; /* l_int */
1759 /* linux_epoll_ctl */
1761 struct linux_epoll_ctl_args *p = params;
1762 iarg[0] = p->epfd; /* l_int */
1763 iarg[1] = p->op; /* l_int */
1764 iarg[2] = p->fd; /* l_int */
1765 uarg[3] = (intptr_t)p->event; /* struct epoll_event * */
1769 /* linux_epoll_wait */
1771 struct linux_epoll_wait_args *p = params;
1772 iarg[0] = p->epfd; /* l_int */
1773 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
1774 iarg[2] = p->maxevents; /* l_int */
1775 iarg[3] = p->timeout; /* l_int */
1779 /* linux_remap_file_pages */
1784 /* linux_set_tid_address */
1786 struct linux_set_tid_address_args *p = params;
1787 uarg[0] = (intptr_t)p->tidptr; /* int * */
1791 /* linux_timer_create */
1793 struct linux_timer_create_args *p = params;
1794 iarg[0] = p->clock_id; /* clockid_t */
1795 uarg[1] = (intptr_t)p->evp; /* struct sigevent * */
1796 uarg[2] = (intptr_t)p->timerid; /* l_timer_t * */
1800 /* linux_timer_settime */
1802 struct linux_timer_settime_args *p = params;
1803 iarg[0] = p->timerid; /* l_timer_t */
1804 iarg[1] = p->flags; /* l_int */
1805 uarg[2] = (intptr_t)p->new; /* const struct itimerspec * */
1806 uarg[3] = (intptr_t)p->old; /* struct itimerspec * */
1810 /* linux_timer_gettime */
1812 struct linux_timer_gettime_args *p = params;
1813 iarg[0] = p->timerid; /* l_timer_t */
1814 uarg[1] = (intptr_t)p->setting; /* struct itimerspec * */
1818 /* linux_timer_getoverrun */
1820 struct linux_timer_getoverrun_args *p = params;
1821 iarg[0] = p->timerid; /* l_timer_t */
1825 /* linux_timer_delete */
1827 struct linux_timer_delete_args *p = params;
1828 iarg[0] = p->timerid; /* l_timer_t */
1832 /* linux_clock_settime */
1834 struct linux_clock_settime_args *p = params;
1835 iarg[0] = p->which; /* clockid_t */
1836 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1840 /* linux_clock_gettime */
1842 struct linux_clock_gettime_args *p = params;
1843 iarg[0] = p->which; /* clockid_t */
1844 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1848 /* linux_clock_getres */
1850 struct linux_clock_getres_args *p = params;
1851 iarg[0] = p->which; /* clockid_t */
1852 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1856 /* linux_clock_nanosleep */
1858 struct linux_clock_nanosleep_args *p = params;
1859 iarg[0] = p->which; /* clockid_t */
1860 iarg[1] = p->flags; /* int */
1861 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec * */
1862 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
1866 /* linux_statfs64 */
1868 struct linux_statfs64_args *p = params;
1869 uarg[0] = (intptr_t)p->path; /* char * */
1870 uarg[1] = p->bufsize; /* size_t */
1871 uarg[2] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1875 /* linux_fstatfs64 */
1877 struct linux_fstatfs64_args *p = params;
1878 iarg[0] = p->fd; /* l_uint */
1879 uarg[1] = p->bufsize; /* size_t */
1880 uarg[2] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1886 struct linux_tgkill_args *p = params;
1887 iarg[0] = p->tgid; /* int */
1888 iarg[1] = p->pid; /* int */
1889 iarg[2] = p->sig; /* int */
1895 struct linux_utimes_args *p = params;
1896 uarg[0] = (intptr_t)p->fname; /* char * */
1897 uarg[1] = (intptr_t)p->tptr; /* struct l_timeval * */
1901 /* linux_fadvise64_64 */
1903 struct linux_fadvise64_64_args *p = params;
1904 iarg[0] = p->fd; /* int */
1905 uarg[1] = p->offset1; /* uint32_t */
1906 uarg[2] = p->offset2; /* uint32_t */
1907 uarg[3] = p->len1; /* uint32_t */
1908 uarg[4] = p->len2; /* uint32_t */
1909 iarg[5] = p->advice; /* int */
1918 /* linux_get_mempolicy */
1923 /* linux_set_mempolicy */
1930 struct linux_mq_open_args *p = params;
1931 uarg[0] = (intptr_t)p->name; /* const char * */
1932 iarg[1] = p->oflag; /* l_int */
1933 iarg[2] = p->mode; /* l_mode_t */
1934 uarg[3] = (intptr_t)p->attr; /* struct mq_attr * */
1938 /* linux_mq_unlink */
1940 struct linux_mq_unlink_args *p = params;
1941 uarg[0] = (intptr_t)p->name; /* const char * */
1945 /* linux_mq_timedsend */
1947 struct linux_mq_timedsend_args *p = params;
1948 iarg[0] = p->mqd; /* l_mqd_t */
1949 uarg[1] = (intptr_t)p->msg_ptr; /* const char * */
1950 iarg[2] = p->msg_len; /* l_size_t */
1951 iarg[3] = p->msg_prio; /* l_uint */
1952 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1956 /* linux_mq_timedreceive */
1958 struct linux_mq_timedreceive_args *p = params;
1959 iarg[0] = p->mqd; /* l_mqd_t */
1960 uarg[1] = (intptr_t)p->msg_ptr; /* char * */
1961 iarg[2] = p->msg_len; /* l_size_t */
1962 uarg[3] = (intptr_t)p->msg_prio; /* l_uint * */
1963 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1967 /* linux_mq_notify */
1969 struct linux_mq_notify_args *p = params;
1970 iarg[0] = p->mqd; /* l_mqd_t */
1971 uarg[1] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1975 /* linux_mq_getsetattr */
1977 struct linux_mq_getsetattr_args *p = params;
1978 iarg[0] = p->mqd; /* l_mqd_t */
1979 uarg[1] = (intptr_t)p->attr; /* const struct mq_attr * */
1980 uarg[2] = (intptr_t)p->oattr; /* struct mq_attr * */
1984 /* linux_kexec_load */
1991 struct linux_waitid_args *p = params;
1992 iarg[0] = p->idtype; /* int */
1993 iarg[1] = p->id; /* l_pid_t */
1994 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
1995 iarg[3] = p->options; /* int */
1996 uarg[4] = (intptr_t)p->rusage; /* struct l_rusage * */
2005 /* linux_request_key */
2015 /* linux_ioprio_set */
2020 /* linux_ioprio_get */
2025 /* linux_inotify_init */
2030 /* linux_inotify_add_watch */
2035 /* linux_inotify_rm_watch */
2040 /* linux_migrate_pages */
2047 struct linux_openat_args *p = params;
2048 iarg[0] = p->dfd; /* l_int */
2049 uarg[1] = (intptr_t)p->filename; /* const char * */
2050 iarg[2] = p->flags; /* l_int */
2051 iarg[3] = p->mode; /* l_int */
2057 struct linux_mkdirat_args *p = params;
2058 iarg[0] = p->dfd; /* l_int */
2059 uarg[1] = (intptr_t)p->pathname; /* const char * */
2060 iarg[2] = p->mode; /* l_int */
2066 struct linux_mknodat_args *p = params;
2067 iarg[0] = p->dfd; /* l_int */
2068 uarg[1] = (intptr_t)p->filename; /* const char * */
2069 iarg[2] = p->mode; /* l_int */
2070 iarg[3] = p->dev; /* l_uint */
2074 /* linux_fchownat */
2076 struct linux_fchownat_args *p = params;
2077 iarg[0] = p->dfd; /* l_int */
2078 uarg[1] = (intptr_t)p->filename; /* const char * */
2079 iarg[2] = p->uid; /* l_uid16_t */
2080 iarg[3] = p->gid; /* l_gid16_t */
2081 iarg[4] = p->flag; /* l_int */
2085 /* linux_futimesat */
2087 struct linux_futimesat_args *p = params;
2088 iarg[0] = p->dfd; /* l_int */
2089 uarg[1] = (intptr_t)p->filename; /* char * */
2090 uarg[2] = (intptr_t)p->utimes; /* struct l_timeval * */
2094 /* linux_fstatat64 */
2096 struct linux_fstatat64_args *p = params;
2097 iarg[0] = p->dfd; /* l_int */
2098 uarg[1] = (intptr_t)p->pathname; /* char * */
2099 uarg[2] = (intptr_t)p->statbuf; /* struct l_stat64 * */
2100 iarg[3] = p->flag; /* l_int */
2104 /* linux_unlinkat */
2106 struct linux_unlinkat_args *p = params;
2107 iarg[0] = p->dfd; /* l_int */
2108 uarg[1] = (intptr_t)p->pathname; /* const char * */
2109 iarg[2] = p->flag; /* l_int */
2113 /* linux_renameat */
2115 struct linux_renameat_args *p = params;
2116 iarg[0] = p->olddfd; /* l_int */
2117 uarg[1] = (intptr_t)p->oldname; /* const char * */
2118 iarg[2] = p->newdfd; /* l_int */
2119 uarg[3] = (intptr_t)p->newname; /* const char * */
2125 struct linux_linkat_args *p = params;
2126 iarg[0] = p->olddfd; /* l_int */
2127 uarg[1] = (intptr_t)p->oldname; /* const char * */
2128 iarg[2] = p->newdfd; /* l_int */
2129 uarg[3] = (intptr_t)p->newname; /* const char * */
2130 iarg[4] = p->flag; /* l_int */
2134 /* linux_symlinkat */
2136 struct linux_symlinkat_args *p = params;
2137 uarg[0] = (intptr_t)p->oldname; /* const char * */
2138 iarg[1] = p->newdfd; /* l_int */
2139 uarg[2] = (intptr_t)p->newname; /* const char * */
2143 /* linux_readlinkat */
2145 struct linux_readlinkat_args *p = params;
2146 iarg[0] = p->dfd; /* l_int */
2147 uarg[1] = (intptr_t)p->path; /* const char * */
2148 uarg[2] = (intptr_t)p->buf; /* char * */
2149 iarg[3] = p->bufsiz; /* l_int */
2153 /* linux_fchmodat */
2155 struct linux_fchmodat_args *p = params;
2156 iarg[0] = p->dfd; /* l_int */
2157 uarg[1] = (intptr_t)p->filename; /* const char * */
2158 iarg[2] = p->mode; /* l_mode_t */
2162 /* linux_faccessat */
2164 struct linux_faccessat_args *p = params;
2165 iarg[0] = p->dfd; /* l_int */
2166 uarg[1] = (intptr_t)p->filename; /* const char * */
2167 iarg[2] = p->amode; /* l_int */
2171 /* linux_pselect6 */
2173 struct linux_pselect6_args *p = params;
2174 iarg[0] = p->nfds; /* l_int */
2175 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
2176 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
2177 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
2178 uarg[4] = (intptr_t)p->tsp; /* struct l_timespec * */
2179 uarg[5] = (intptr_t)p->sig; /* l_uintptr_t * */
2185 struct linux_ppoll_args *p = params;
2186 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
2187 uarg[1] = p->nfds; /* uint32_t */
2188 uarg[2] = (intptr_t)p->tsp; /* struct l_timespec * */
2189 uarg[3] = (intptr_t)p->sset; /* l_sigset_t * */
2190 iarg[4] = p->ssize; /* l_size_t */
2199 /* linux_set_robust_list */
2201 struct linux_set_robust_list_args *p = params;
2202 uarg[0] = (intptr_t)p->head; /* struct linux_robust_list_head * */
2203 iarg[1] = p->len; /* l_size_t */
2207 /* linux_get_robust_list */
2209 struct linux_get_robust_list_args *p = params;
2210 iarg[0] = p->pid; /* l_int */
2211 uarg[1] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
2212 uarg[2] = (intptr_t)p->len; /* l_size_t * */
2218 struct linux_splice_args *p = params;
2219 iarg[0] = p->fd_in; /* int */
2220 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2221 iarg[2] = p->fd_out; /* int */
2222 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2223 iarg[4] = p->len; /* l_size_t */
2224 iarg[5] = p->flags; /* l_uint */
2228 /* linux_sync_file_range */
2230 struct linux_sync_file_range_args *p = params;
2231 iarg[0] = p->fd; /* l_int */
2232 uarg[1] = p->offset1; /* uint32_t */
2233 uarg[2] = p->offset2; /* uint32_t */
2234 uarg[3] = p->nbytes1; /* uint32_t */
2235 uarg[4] = p->nbytes2; /* uint32_t */
2236 uarg[5] = p->flags; /* unsigned int */
2245 /* linux_vmsplice */
2250 /* linux_move_pages */
2257 struct linux_getcpu_args *p = params;
2258 uarg[0] = (intptr_t)p->cpu; /* l_uint * */
2259 uarg[1] = (intptr_t)p->node; /* l_uint * */
2260 uarg[2] = (intptr_t)p->cache; /* void * */
2264 /* linux_epoll_pwait */
2266 struct linux_epoll_pwait_args *p = params;
2267 iarg[0] = p->epfd; /* l_int */
2268 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
2269 iarg[2] = p->maxevents; /* l_int */
2270 iarg[3] = p->timeout; /* l_int */
2271 uarg[4] = (intptr_t)p->mask; /* l_sigset_t * */
2272 iarg[5] = p->sigsetsize; /* l_size_t */
2276 /* linux_utimensat */
2278 struct linux_utimensat_args *p = params;
2279 iarg[0] = p->dfd; /* l_int */
2280 uarg[1] = (intptr_t)p->pathname; /* const char * */
2281 uarg[2] = (intptr_t)p->times; /* const struct l_timespec * */
2282 iarg[3] = p->flags; /* l_int */
2286 /* linux_signalfd */
2291 /* linux_timerfd_create */
2293 struct linux_timerfd_create_args *p = params;
2294 iarg[0] = p->clockid; /* l_int */
2295 iarg[1] = p->flags; /* l_int */
2301 struct linux_eventfd_args *p = params;
2302 iarg[0] = p->initval; /* l_uint */
2306 /* linux_fallocate */
2308 struct linux_fallocate_args *p = params;
2309 iarg[0] = p->fd; /* l_int */
2310 iarg[1] = p->mode; /* l_int */
2311 uarg[2] = p->offset1; /* uint32_t */
2312 uarg[3] = p->offset2; /* uint32_t */
2313 uarg[4] = p->len1; /* uint32_t */
2314 uarg[5] = p->len2; /* uint32_t */
2318 /* linux_timerfd_settime */
2320 struct linux_timerfd_settime_args *p = params;
2321 iarg[0] = p->fd; /* l_int */
2322 iarg[1] = p->flags; /* l_int */
2323 uarg[2] = (intptr_t)p->new_value; /* const struct l_itimerspec * */
2324 uarg[3] = (intptr_t)p->old_value; /* struct l_itimerspec * */
2328 /* linux_timerfd_gettime */
2330 struct linux_timerfd_gettime_args *p = params;
2331 iarg[0] = p->fd; /* l_int */
2332 uarg[1] = (intptr_t)p->old_value; /* struct l_itimerspec * */
2336 /* linux_signalfd4 */
2341 /* linux_eventfd2 */
2343 struct linux_eventfd2_args *p = params;
2344 iarg[0] = p->initval; /* l_uint */
2345 iarg[1] = p->flags; /* l_int */
2349 /* linux_epoll_create1 */
2351 struct linux_epoll_create1_args *p = params;
2352 iarg[0] = p->flags; /* l_int */
2358 struct linux_dup3_args *p = params;
2359 iarg[0] = p->oldfd; /* l_int */
2360 iarg[1] = p->newfd; /* l_int */
2361 iarg[2] = p->flags; /* l_int */
2367 struct linux_pipe2_args *p = params;
2368 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
2369 iarg[1] = p->flags; /* l_int */
2373 /* linux_inotify_init1 */
2380 struct linux_preadv_args *p = params;
2381 iarg[0] = p->fd; /* l_ulong */
2382 uarg[1] = (intptr_t)p->vec; /* struct iovec * */
2383 iarg[2] = p->vlen; /* l_ulong */
2384 iarg[3] = p->pos_l; /* l_ulong */
2385 iarg[4] = p->pos_h; /* l_ulong */
2391 struct linux_pwritev_args *p = params;
2392 iarg[0] = p->fd; /* l_ulong */
2393 uarg[1] = (intptr_t)p->vec; /* struct iovec * */
2394 iarg[2] = p->vlen; /* l_ulong */
2395 iarg[3] = p->pos_l; /* l_ulong */
2396 iarg[4] = p->pos_h; /* l_ulong */
2400 /* linux_rt_tgsigqueueinfo */
2402 struct linux_rt_tgsigqueueinfo_args *p = params;
2403 iarg[0] = p->tgid; /* l_pid_t */
2404 iarg[1] = p->tid; /* l_pid_t */
2405 iarg[2] = p->sig; /* l_int */
2406 uarg[3] = (intptr_t)p->uinfo; /* l_siginfo_t * */
2410 /* linux_perf_event_open */
2415 /* linux_recvmmsg */
2417 struct linux_recvmmsg_args *p = params;
2418 iarg[0] = p->s; /* l_int */
2419 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2420 iarg[2] = p->vlen; /* l_uint */
2421 iarg[3] = p->flags; /* l_uint */
2422 uarg[4] = (intptr_t)p->timeout; /* struct l_timespec * */
2426 /* linux_fanotify_init */
2431 /* linux_fanotify_mark */
2436 /* linux_prlimit64 */
2438 struct linux_prlimit64_args *p = params;
2439 iarg[0] = p->pid; /* l_pid_t */
2440 iarg[1] = p->resource; /* l_uint */
2441 uarg[2] = (intptr_t)p->new; /* struct rlimit * */
2442 uarg[3] = (intptr_t)p->old; /* struct rlimit * */
2446 /* linux_name_to_handle_at */
2448 struct linux_name_to_handle_at_args *p = params;
2449 iarg[0] = p->dirfd; /* l_int */
2450 uarg[1] = (intptr_t)p->name; /* const char * */
2451 uarg[2] = (intptr_t)p->handle; /* struct l_file_handle * */
2452 uarg[3] = (intptr_t)p->mnt_id; /* l_int * */
2453 iarg[4] = p->flags; /* l_int */
2457 /* linux_open_by_handle_at */
2459 struct linux_open_by_handle_at_args *p = params;
2460 iarg[0] = p->mountdirfd; /* l_int */
2461 uarg[1] = (intptr_t)p->handle; /* struct l_file_handle * */
2462 iarg[2] = p->flags; /* l_int */
2466 /* linux_clock_adjtime */
2473 struct linux_syncfs_args *p = params;
2474 iarg[0] = p->fd; /* l_int */
2478 /* linux_sendmmsg */
2480 struct linux_sendmmsg_args *p = params;
2481 iarg[0] = p->s; /* l_int */
2482 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2483 iarg[2] = p->vlen; /* l_uint */
2484 iarg[3] = p->flags; /* l_uint */
2493 /* linux_process_vm_readv */
2495 struct linux_process_vm_readv_args *p = params;
2496 iarg[0] = p->pid; /* l_pid_t */
2497 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2498 iarg[2] = p->liovcnt; /* l_ulong */
2499 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2500 iarg[4] = p->riovcnt; /* l_ulong */
2501 iarg[5] = p->flags; /* l_ulong */
2505 /* linux_process_vm_writev */
2507 struct linux_process_vm_writev_args *p = params;
2508 iarg[0] = p->pid; /* l_pid_t */
2509 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2510 iarg[2] = p->liovcnt; /* l_ulong */
2511 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2512 iarg[4] = p->riovcnt; /* l_ulong */
2513 iarg[5] = p->flags; /* l_ulong */
2519 struct linux_kcmp_args *p = params;
2520 iarg[0] = p->pid1; /* l_pid_t */
2521 iarg[1] = p->pid2; /* l_pid_t */
2522 iarg[2] = p->type; /* l_int */
2523 iarg[3] = p->idx1; /* l_ulong */
2524 iarg[4] = p->idx; /* l_ulong */
2528 /* linux_finit_module */
2530 struct linux_finit_module_args *p = params;
2531 iarg[0] = p->fd; /* l_int */
2532 uarg[1] = (intptr_t)p->uargs; /* const char * */
2533 iarg[2] = p->flags; /* l_int */
2537 /* linux_sched_setattr */
2539 struct linux_sched_setattr_args *p = params;
2540 iarg[0] = p->pid; /* l_pid_t */
2541 uarg[1] = (intptr_t)p->attr; /* void * */
2542 iarg[2] = p->flags; /* l_uint */
2546 /* linux_sched_getattr */
2548 struct linux_sched_getattr_args *p = params;
2549 iarg[0] = p->pid; /* l_pid_t */
2550 uarg[1] = (intptr_t)p->attr; /* void * */
2551 iarg[2] = p->size; /* l_uint */
2552 iarg[3] = p->flags; /* l_uint */
2556 /* linux_renameat2 */
2558 struct linux_renameat2_args *p = params;
2559 iarg[0] = p->olddfd; /* l_int */
2560 uarg[1] = (intptr_t)p->oldname; /* const char * */
2561 iarg[2] = p->newdfd; /* l_int */
2562 uarg[3] = (intptr_t)p->newname; /* const char * */
2563 uarg[4] = p->flags; /* unsigned int */
2569 struct linux_seccomp_args *p = params;
2570 iarg[0] = p->op; /* l_uint */
2571 iarg[1] = p->flags; /* l_uint */
2572 uarg[2] = (intptr_t)p->uargs; /* const char * */
2576 /* linux_getrandom */
2578 struct linux_getrandom_args *p = params;
2579 uarg[0] = (intptr_t)p->buf; /* char * */
2580 iarg[1] = p->count; /* l_size_t */
2581 iarg[2] = p->flags; /* l_uint */
2585 /* linux_memfd_create */
2587 struct linux_memfd_create_args *p = params;
2588 uarg[0] = (intptr_t)p->uname_ptr; /* const char * */
2589 iarg[1] = p->flags; /* l_uint */
2595 struct linux_bpf_args *p = params;
2596 iarg[0] = p->cmd; /* l_int */
2597 uarg[1] = (intptr_t)p->attr; /* void * */
2598 iarg[2] = p->size; /* l_uint */
2602 /* linux_execveat */
2604 struct linux_execveat_args *p = params;
2605 iarg[0] = p->dfd; /* l_int */
2606 uarg[1] = (intptr_t)p->filename; /* const char * */
2607 uarg[2] = (intptr_t)p->argv; /* const char ** */
2608 uarg[3] = (intptr_t)p->envp; /* const char ** */
2609 iarg[4] = p->flags; /* l_int */
2615 struct linux_socket_args *p = params;
2616 iarg[0] = p->domain; /* l_int */
2617 iarg[1] = p->type; /* l_int */
2618 iarg[2] = p->protocol; /* l_int */
2622 /* linux_socketpair */
2624 struct linux_socketpair_args *p = params;
2625 iarg[0] = p->domain; /* l_int */
2626 iarg[1] = p->type; /* l_int */
2627 iarg[2] = p->protocol; /* l_int */
2628 iarg[3] = p->rsv; /* l_uintptr_t */
2634 struct linux_bind_args *p = params;
2635 iarg[0] = p->s; /* l_int */
2636 iarg[1] = p->name; /* l_uintptr_t */
2637 iarg[2] = p->namelen; /* l_int */
2643 struct linux_connect_args *p = params;
2644 iarg[0] = p->s; /* l_int */
2645 iarg[1] = p->name; /* l_uintptr_t */
2646 iarg[2] = p->namelen; /* l_int */
2652 struct linux_listen_args *p = params;
2653 iarg[0] = p->s; /* l_int */
2654 iarg[1] = p->backlog; /* l_int */
2660 struct linux_accept4_args *p = params;
2661 iarg[0] = p->s; /* l_int */
2662 iarg[1] = p->addr; /* l_uintptr_t */
2663 iarg[2] = p->namelen; /* l_uintptr_t */
2664 iarg[3] = p->flags; /* l_int */
2668 /* linux_getsockopt */
2670 struct linux_getsockopt_args *p = params;
2671 iarg[0] = p->s; /* l_int */
2672 iarg[1] = p->level; /* l_int */
2673 iarg[2] = p->optname; /* l_int */
2674 iarg[3] = p->optval; /* l_uintptr_t */
2675 iarg[4] = p->optlen; /* l_uintptr_t */
2679 /* linux_setsockopt */
2681 struct linux_setsockopt_args *p = params;
2682 iarg[0] = p->s; /* l_int */
2683 iarg[1] = p->level; /* l_int */
2684 iarg[2] = p->optname; /* l_int */
2685 iarg[3] = p->optval; /* l_uintptr_t */
2686 iarg[4] = p->optlen; /* l_int */
2690 /* linux_getsockname */
2692 struct linux_getsockname_args *p = params;
2693 iarg[0] = p->s; /* l_int */
2694 iarg[1] = p->addr; /* l_uintptr_t */
2695 iarg[2] = p->namelen; /* l_uintptr_t */
2699 /* linux_getpeername */
2701 struct linux_getpeername_args *p = params;
2702 iarg[0] = p->s; /* l_int */
2703 iarg[1] = p->addr; /* l_uintptr_t */
2704 iarg[2] = p->namelen; /* l_uintptr_t */
2710 struct linux_sendto_args *p = params;
2711 iarg[0] = p->s; /* l_int */
2712 iarg[1] = p->msg; /* l_uintptr_t */
2713 iarg[2] = p->len; /* l_int */
2714 iarg[3] = p->flags; /* l_int */
2715 iarg[4] = p->to; /* l_uintptr_t */
2716 iarg[5] = p->tolen; /* l_int */
2722 struct linux_sendmsg_args *p = params;
2723 iarg[0] = p->s; /* l_int */
2724 iarg[1] = p->msg; /* l_uintptr_t */
2725 iarg[2] = p->flags; /* l_int */
2729 /* linux_recvfrom */
2731 struct linux_recvfrom_args *p = params;
2732 iarg[0] = p->s; /* l_int */
2733 iarg[1] = p->buf; /* l_uintptr_t */
2734 iarg[2] = p->len; /* l_size_t */
2735 iarg[3] = p->flags; /* l_int */
2736 iarg[4] = p->from; /* l_uintptr_t */
2737 iarg[5] = p->fromlen; /* l_uintptr_t */
2743 struct linux_recvmsg_args *p = params;
2744 iarg[0] = p->s; /* l_int */
2745 iarg[1] = p->msg; /* l_uintptr_t */
2746 iarg[2] = p->flags; /* l_int */
2750 /* linux_shutdown */
2752 struct linux_shutdown_args *p = params;
2753 iarg[0] = p->s; /* l_int */
2754 iarg[1] = p->how; /* l_int */
2758 /* linux_userfaultfd */
2760 struct linux_userfaultfd_args *p = params;
2761 iarg[0] = p->flags; /* l_int */
2765 /* linux_membarrier */
2767 struct linux_membarrier_args *p = params;
2768 iarg[0] = p->cmd; /* l_int */
2769 iarg[1] = p->flags; /* l_int */
2775 struct linux_mlock2_args *p = params;
2776 iarg[0] = p->start; /* l_ulong */
2777 iarg[1] = p->len; /* l_size_t */
2778 iarg[2] = p->flags; /* l_int */
2782 /* linux_copy_file_range */
2784 struct linux_copy_file_range_args *p = params;
2785 iarg[0] = p->fd_in; /* l_int */
2786 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2787 iarg[2] = p->fd_out; /* l_int */
2788 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2789 iarg[4] = p->len; /* l_size_t */
2790 iarg[5] = p->flags; /* l_uint */
2796 struct linux_preadv2_args *p = params;
2797 iarg[0] = p->fd; /* l_ulong */
2798 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2799 iarg[2] = p->vlen; /* l_ulong */
2800 iarg[3] = p->pos_l; /* l_ulong */
2801 iarg[4] = p->pos_h; /* l_ulong */
2802 iarg[5] = p->flags; /* l_int */
2806 /* linux_pwritev2 */
2808 struct linux_pwritev2_args *p = params;
2809 iarg[0] = p->fd; /* l_ulong */
2810 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2811 iarg[2] = p->vlen; /* l_ulong */
2812 iarg[3] = p->pos_l; /* l_ulong */
2813 iarg[4] = p->pos_h; /* l_ulong */
2814 iarg[5] = p->flags; /* l_int */
2818 /* linux_pkey_mprotect */
2820 struct linux_pkey_mprotect_args *p = params;
2821 iarg[0] = p->start; /* l_ulong */
2822 iarg[1] = p->len; /* l_size_t */
2823 iarg[2] = p->prot; /* l_ulong */
2824 iarg[3] = p->pkey; /* l_int */
2828 /* linux_pkey_alloc */
2830 struct linux_pkey_alloc_args *p = params;
2831 iarg[0] = p->flags; /* l_ulong */
2832 iarg[1] = p->init_val; /* l_ulong */
2836 /* linux_pkey_free */
2838 struct linux_pkey_free_args *p = params;
2839 iarg[0] = p->pkey; /* l_int */
2845 struct linux_statx_args *p = params;
2846 iarg[0] = p->dirfd; /* l_int */
2847 uarg[1] = (intptr_t)p->pathname; /* const char * */
2848 iarg[2] = p->flags; /* l_uint */
2849 iarg[3] = p->mask; /* l_uint */
2850 uarg[4] = (intptr_t)p->statxbuf; /* void * */
2854 /* linux_arch_prctl */
2856 struct linux_arch_prctl_args *p = params;
2857 iarg[0] = p->option; /* l_int */
2858 iarg[1] = p->arg2; /* l_ulong */
2862 /* linux_io_pgetevents */
2869 struct linux_rseq_args *p = params;
2870 uarg[0] = (intptr_t)p->rseq; /* struct linux_rseq * */
2871 uarg[1] = p->rseq_len; /* uint32_t */
2872 iarg[2] = p->flags; /* l_int */
2873 uarg[3] = p->sig; /* uint32_t */
2879 struct linux_semget_args *p = params;
2880 iarg[0] = p->key; /* l_key_t */
2881 iarg[1] = p->nsems; /* l_int */
2882 iarg[2] = p->semflg; /* l_int */
2888 struct linux_semctl_args *p = params;
2889 iarg[0] = p->semid; /* l_int */
2890 iarg[1] = p->semnum; /* l_int */
2891 iarg[2] = p->cmd; /* l_int */
2892 uarg[3] = p->arg.buf; /* union l_semun */
2898 struct linux_shmget_args *p = params;
2899 iarg[0] = p->key; /* l_key_t */
2900 iarg[1] = p->size; /* l_size_t */
2901 iarg[2] = p->shmflg; /* l_int */
2907 struct linux_shmctl_args *p = params;
2908 iarg[0] = p->shmid; /* l_int */
2909 iarg[1] = p->cmd; /* l_int */
2910 uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */
2916 struct linux_shmat_args *p = params;
2917 iarg[0] = p->shmid; /* l_int */
2918 uarg[1] = (intptr_t)p->shmaddr; /* char * */
2919 iarg[2] = p->shmflg; /* l_int */
2925 struct linux_shmdt_args *p = params;
2926 uarg[0] = (intptr_t)p->shmaddr; /* char * */
2932 struct linux_msgget_args *p = params;
2933 iarg[0] = p->key; /* l_key_t */
2934 iarg[1] = p->msgflg; /* l_int */
2940 struct linux_msgsnd_args *p = params;
2941 iarg[0] = p->msqid; /* l_int */
2942 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2943 iarg[2] = p->msgsz; /* l_size_t */
2944 iarg[3] = p->msgflg; /* l_int */
2950 struct linux_msgrcv_args *p = params;
2951 iarg[0] = p->msqid; /* l_int */
2952 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2953 iarg[2] = p->msgsz; /* l_size_t */
2954 iarg[3] = p->msgtyp; /* l_long */
2955 iarg[4] = p->msgflg; /* l_int */
2961 struct linux_msgctl_args *p = params;
2962 iarg[0] = p->msqid; /* l_int */
2963 iarg[1] = p->cmd; /* l_int */
2964 uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */
2968 /* linux_clock_gettime64 */
2970 struct linux_clock_gettime64_args *p = params;
2971 iarg[0] = p->which; /* clockid_t */
2972 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2976 /* linux_clock_settime64 */
2978 struct linux_clock_settime64_args *p = params;
2979 iarg[0] = p->which; /* clockid_t */
2980 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2984 /* linux_clock_adjtime64 */
2989 /* linux_clock_getres_time64 */
2991 struct linux_clock_getres_time64_args *p = params;
2992 iarg[0] = p->which; /* clockid_t */
2993 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2997 /* linux_clock_nanosleep_time64 */
2999 struct linux_clock_nanosleep_time64_args *p = params;
3000 iarg[0] = p->which; /* clockid_t */
3001 iarg[1] = p->flags; /* l_int */
3002 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec64 * */
3003 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec64 * */
3007 /* linux_timer_gettime64 */
3009 struct linux_timer_gettime64_args *p = params;
3010 iarg[0] = p->timerid; /* l_timer_t */
3011 uarg[1] = (intptr_t)p->setting; /* struct l_itimerspec64 * */
3015 /* linux_timer_settime64 */
3017 struct linux_timer_settime64_args *p = params;
3018 iarg[0] = p->timerid; /* l_timer_t */
3019 iarg[1] = p->flags; /* l_int */
3020 uarg[2] = (intptr_t)p->new; /* const struct l_itimerspec64 * */
3021 uarg[3] = (intptr_t)p->old; /* struct l_itimerspec64 * */
3025 /* linux_timerfd_gettime64 */
3030 /* linux_timerfd_settime64 */
3032 struct linux_timerfd_settime64_args *p = params;
3033 iarg[0] = p->fd; /* l_int */
3034 iarg[1] = p->flags; /* l_int */
3035 uarg[2] = (intptr_t)p->new_value; /* const struct l_itimerspec64 * */
3036 uarg[3] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
3040 /* linux_utimensat_time64 */
3042 struct linux_utimensat_time64_args *p = params;
3043 iarg[0] = p->dfd; /* l_int */
3044 uarg[1] = (intptr_t)p->pathname; /* const char * */
3045 uarg[2] = (intptr_t)p->times64; /* const struct l_timespec64 * */
3046 iarg[3] = p->flags; /* l_int */
3050 /* linux_pselect6_time64 */
3052 struct linux_pselect6_time64_args *p = params;
3053 iarg[0] = p->nfds; /* l_int */
3054 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
3055 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
3056 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
3057 uarg[4] = (intptr_t)p->tsp; /* struct l_timespec64 * */
3058 uarg[5] = (intptr_t)p->sig; /* l_uintptr_t * */
3062 /* linux_ppoll_time64 */
3064 struct linux_ppoll_time64_args *p = params;
3065 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
3066 uarg[1] = p->nfds; /* uint32_t */
3067 uarg[2] = (intptr_t)p->tsp; /* struct l_timespec * */
3068 uarg[3] = (intptr_t)p->sset; /* l_sigset_t * */
3069 iarg[4] = p->ssize; /* l_size_t */
3073 /* linux_io_pgetevents_time64 */
3078 /* linux_recvmmsg_time64 */
3083 /* linux_mq_timedsend_time64 */
3088 /* linux_mq_timedreceive_time64 */
3093 /* linux_semtimedop_time64 */
3098 /* linux_rt_sigtimedwait_time64 */
3100 struct linux_rt_sigtimedwait_time64_args *p = params;
3101 uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */
3102 uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */
3103 uarg[2] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3104 iarg[3] = p->sigsetsize; /* l_size_t */
3108 /* linux_sys_futex_time64 */
3110 struct linux_sys_futex_time64_args *p = params;
3111 uarg[0] = (intptr_t)p->uaddr; /* uint32_t * */
3112 iarg[1] = p->op; /* l_int */
3113 uarg[2] = p->val; /* uint32_t */
3114 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3115 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
3116 uarg[5] = p->val3; /* uint32_t */
3120 /* linux_sched_rr_get_interval_time64 */
3122 struct linux_sched_rr_get_interval_time64_args *p = params;
3123 iarg[0] = p->pid; /* l_pid_t */
3124 uarg[1] = (intptr_t)p->interval; /* struct l_timespec64 * */
3128 /* linux_pidfd_send_signal */
3130 struct linux_pidfd_send_signal_args *p = params;
3131 iarg[0] = p->pidfd; /* l_int */
3132 iarg[1] = p->sig; /* l_int */
3133 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
3134 iarg[3] = p->flags; /* l_uint */
3138 /* linux_io_uring_setup */
3143 /* linux_io_uring_enter */
3148 /* linux_io_uring_register */
3153 /* linux_open_tree */
3158 /* linux_move_mount */
3168 /* linux_fsconfig */
3183 /* linux_pidfd_open */
3190 struct linux_clone3_args *p = params;
3191 uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
3192 iarg[1] = p->usize; /* l_size_t */
3196 /* linux_close_range */
3206 /* linux_pidfd_getfd */
3211 /* linux_faccessat2 */
3213 struct linux_faccessat2_args *p = params;
3214 iarg[0] = p->dfd; /* l_int */
3215 uarg[1] = (intptr_t)p->filename; /* const char * */
3216 iarg[2] = p->amode; /* l_int */
3217 iarg[3] = p->flags; /* l_int */
3221 /* linux_process_madvise */
3226 /* linux_epoll_pwait2_64 */
3228 struct linux_epoll_pwait2_64_args *p = params;
3229 iarg[0] = p->epfd; /* l_int */
3230 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
3231 iarg[2] = p->maxevents; /* l_int */
3232 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3233 uarg[4] = (intptr_t)p->mask; /* l_sigset_t * */
3234 iarg[5] = p->sigsetsize; /* l_size_t */
3238 /* linux_mount_setattr */
3249 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3251 const char *p = NULL;
3253 #define nosys linux_nosys
3274 p = "userland char *";
3290 p = "userland char *";
3303 p = "userland char *";
3332 p = "userland l_int *";
3345 p = "userland char *";
3358 p = "userland char *";
3361 p = "userland char *";
3371 p = "userland char *";
3381 p = "userland char *";
3384 p = "userland uint32_t *";
3387 p = "userland uint32_t *";
3397 p = "userland char *";
3407 p = "userland l_time_t *";
3417 p = "userland char *";
3433 p = "userland char *";
3442 /* linux_lchown16 */
3446 p = "userland char *";
3462 p = "userland char *";
3465 p = "userland struct linux_stat *";
3494 p = "userland char *";
3497 p = "userland char *";
3500 p = "userland char *";
3506 p = "userland void *";
3512 /* linux_oldumount */
3516 p = "userland char *";
3522 /* linux_setuid16 */
3532 /* linux_getuid16 */
3574 p = "userland char *";
3577 p = "userland struct l_utimbuf *";
3587 p = "userland char *";
3626 p = "userland char *";
3629 p = "userland char *";
3639 p = "userland char *";
3652 p = "userland char *";
3672 p = "userland l_int *";
3682 p = "userland struct l_times_argv *";
3698 /* linux_setgid16 */
3708 /* linux_getgid16 */
3724 /* linux_geteuid16 */
3727 /* linux_getegid16 */
3734 p = "userland char *";
3744 p = "userland char *";
3798 /* linux_olduname */
3815 p = "userland char *";
3828 p = "userland struct l_ustat *";
3856 /* linux_sigaction */
3863 p = "userland l_osigaction_t *";
3866 p = "userland l_osigaction_t *";
3872 /* linux_sgetmask */
3875 /* linux_ssetmask */
3885 /* linux_setreuid16 */
3898 /* linux_setregid16 */
3911 /* linux_sigsuspend */
3927 /* linux_sigpending */
3931 p = "userland l_osigset_t *";
3937 /* linux_sethostname */
3941 p = "userland char *";
3950 /* linux_setrlimit */
3957 p = "userland struct l_rlimit *";
3963 /* linux_old_getrlimit */
3970 p = "userland struct l_rlimit *";
3976 /* linux_getrusage */
3983 p = "userland struct l_rusage *";
3989 /* linux_gettimeofday */
3993 p = "userland struct l_timeval *";
3996 p = "userland struct timezone *";
4002 /* linux_settimeofday */
4006 p = "userland struct l_timeval *";
4009 p = "userland struct timezone *";
4015 /* linux_getgroups16 */
4022 p = "userland l_gid16_t *";
4028 /* linux_setgroups16 */
4035 p = "userland l_gid16_t *";
4041 /* linux_old_select */
4045 p = "userland struct l_old_select_argv *";
4055 p = "userland char *";
4058 p = "userland char *";
4068 p = "userland char *";
4071 p = "userland struct linux_lstat *";
4077 /* linux_readlink */
4081 p = "userland char *";
4084 p = "userland char *";
4097 p = "userland char *";
4116 p = "userland void *";
4129 p = "userland struct l_dirent *";
4142 p = "userland struct l_mmap_argv *";
4161 /* linux_truncate */
4165 p = "userland char *";
4174 /* linux_ftruncate */
4216 /* linux_getpriority */
4249 p = "userland char *";
4252 p = "userland struct l_statfs_buf *";
4265 p = "userland struct l_statfs_buf *";
4271 /* linux_socketcall */
4291 p = "userland char *";
4300 /* linux_setitimer */
4307 p = "userland struct l_itimerval *";
4310 p = "userland struct l_itimerval *";
4316 /* linux_getitimer */
4323 p = "userland struct l_itimerval *";
4333 p = "userland char *";
4336 p = "userland struct l_newstat *";
4342 /* linux_newlstat */
4346 p = "userland char *";
4349 p = "userland struct l_newstat *";
4355 /* linux_newfstat */
4362 p = "userland struct l_newstat *";
4391 p = "userland l_int *";
4397 p = "userland struct l_rusage *";
4410 p = "userland struct l_sysinfo *";
4451 /* linux_sigreturn */
4455 p = "userland struct l_sigframe *";
4471 p = "userland l_int *";
4477 p = "userland l_int *";
4483 /* linux_setdomainname */
4487 p = "userland char *";
4496 /* linux_newuname */
4500 p = "userland struct l_new_utsname *";
4506 /* linux_adjtimex */
4509 /* linux_mprotect */
4525 /* linux_sigprocmask */
4532 p = "userland l_osigset_t *";
4535 p = "userland l_osigset_t *";
4541 /* linux_init_module */
4544 /* linux_delete_module */
4547 /* linux_quotactl */
4589 /* linux_personality */
4599 /* linux_setfsuid16 */
4609 /* linux_setfsgid16 */
4632 p = "userland l_loff_t *";
4641 /* linux_getdents */
4648 p = "userland void *";
4664 p = "userland l_fd_set *";
4667 p = "userland l_fd_set *";
4670 p = "userland l_fd_set *";
4673 p = "userland struct l_timeval *";
4715 p = "userland struct l_iovec32 *";
4731 p = "userland struct l_iovec32 *";
4750 /* linux_fdatasync */
4764 p = "userland struct l___sysctl_args *";
4774 p = "userland const void *";
4787 p = "userland const void *";
4809 /* linux_sched_setparam */
4816 p = "userland struct sched_param *";
4822 /* linux_sched_getparam */
4829 p = "userland struct sched_param *";
4835 /* linux_sched_setscheduler */
4845 p = "userland struct sched_param *";
4851 /* linux_sched_getscheduler */
4864 /* linux_sched_get_priority_max */
4874 /* linux_sched_get_priority_min */
4884 /* linux_sched_rr_get_interval */
4891 p = "userland struct l_timespec *";
4897 /* linux_nanosleep */
4901 p = "userland const struct l_timespec *";
4904 p = "userland struct l_timespec *";
4932 /* linux_setresuid16 */
4948 /* linux_getresuid16 */
4952 p = "userland l_uid16_t *";
4955 p = "userland l_uid16_t *";
4958 p = "userland l_uid16_t *";
4968 p = "userland struct pollfd *";
4980 /* linux_setresgid16 */
4996 /* linux_getresgid16 */
5000 p = "userland l_gid16_t *";
5003 p = "userland l_gid16_t *";
5006 p = "userland l_gid16_t *";
5034 /* linux_rt_sigreturn */
5038 p = "userland struct l_ucontext *";
5044 /* linux_rt_sigaction */
5051 p = "userland l_sigaction_t *";
5054 p = "userland l_sigaction_t *";
5063 /* linux_rt_sigprocmask */
5070 p = "userland l_sigset_t *";
5073 p = "userland l_sigset_t *";
5082 /* linux_rt_sigpending */
5086 p = "userland l_sigset_t *";
5095 /* linux_rt_sigtimedwait */
5099 p = "userland l_sigset_t *";
5102 p = "userland l_siginfo_t *";
5105 p = "userland struct l_timespec *";
5114 /* linux_rt_sigqueueinfo */
5124 p = "userland l_siginfo_t *";
5130 /* linux_rt_sigsuspend */
5134 p = "userland l_sigset_t *";
5150 p = "userland char *";
5172 p = "userland char *";
5191 p = "userland char *";
5207 p = "userland char *";
5220 p = "userland struct l_user_cap_header *";
5223 p = "userland struct l_user_cap_data *";
5233 p = "userland struct l_user_cap_header *";
5236 p = "userland struct l_user_cap_data *";
5242 /* linux_sigaltstack */
5246 p = "userland l_stack_t *";
5249 p = "userland l_stack_t *";
5255 /* linux_sendfile */
5265 p = "userland l_long *";
5277 /* linux_getrlimit */
5284 p = "userland struct l_rlimit *";
5315 /* linux_truncate64 */
5319 p = "userland char *";
5331 /* linux_ftruncate64 */
5351 p = "userland const char *";
5354 p = "userland struct l_stat64 *";
5364 p = "userland const char *";
5367 p = "userland struct l_stat64 *";
5380 p = "userland struct l_stat64 *";
5390 p = "userland char *";
5440 /* linux_getgroups */
5447 p = "userland l_gid_t *";
5453 /* linux_setgroups */
5460 p = "userland l_gid_t *";
5489 p = "userland uid_t *";
5492 p = "userland uid_t *";
5495 p = "userland uid_t *";
5521 p = "userland gid_t *";
5524 p = "userland gid_t *";
5527 p = "userland gid_t *";
5537 p = "userland char *";
5569 /* linux_setfsuid */
5579 /* linux_setfsgid */
5589 /* linux_pivot_root */
5593 p = "userland char *";
5596 p = "userland char *";
5612 p = "userland u_char *";
5622 p = "userland void *";
5634 /* linux_getdents64 */
5641 p = "userland void *";
5669 /* linux_setxattr */
5673 p = "userland const char *";
5676 p = "userland const char *";
5679 p = "userland const char *";
5691 /* linux_lsetxattr */
5695 p = "userland const char *";
5698 p = "userland const char *";
5701 p = "userland const char *";
5713 /* linux_fsetxattr */
5720 p = "userland const char *";
5723 p = "userland const char *";
5735 /* linux_getxattr */
5739 p = "userland const char *";
5742 p = "userland const char *";
5745 p = "userland char *";
5754 /* linux_lgetxattr */
5758 p = "userland const char *";
5761 p = "userland const char *";
5764 p = "userland char *";
5773 /* linux_fgetxattr */
5780 p = "userland const char *";
5783 p = "userland char *";
5792 /* linux_listxattr */
5796 p = "userland const char *";
5799 p = "userland const char *";
5808 /* linux_llistxattr */
5812 p = "userland const char *";
5815 p = "userland const char *";
5824 /* linux_flistxattr */
5831 p = "userland const char *";
5840 /* linux_removexattr */
5844 p = "userland const char *";
5847 p = "userland const char *";
5853 /* linux_lremovexattr */
5857 p = "userland const char *";
5860 p = "userland const char *";
5866 /* linux_fremovexattr */
5873 p = "userland const char *";
5892 /* linux_sendfile64 */
5902 p = "userland l_loff_t *";
5911 /* linux_sys_futex */
5915 p = "userland uint32_t *";
5924 p = "userland struct l_timespec *";
5927 p = "userland uint32_t *";
5936 /* linux_sched_setaffinity */
5946 p = "userland l_ulong *";
5952 /* linux_sched_getaffinity */
5962 p = "userland l_ulong *";
5968 /* linux_set_thread_area */
5972 p = "userland struct l_user_desc *";
5978 /* linux_fadvise64 */
6000 /* linux_exit_group */
6010 /* linux_lookup_dcookie */
6013 /* linux_epoll_create */
6023 /* linux_epoll_ctl */
6036 p = "userland struct epoll_event *";
6042 /* linux_epoll_wait */
6049 p = "userland struct epoll_event *";
6061 /* linux_remap_file_pages */
6064 /* linux_set_tid_address */
6068 p = "userland int *";
6074 /* linux_timer_create */
6081 p = "userland struct sigevent *";
6084 p = "userland l_timer_t *";
6090 /* linux_timer_settime */
6100 p = "userland const struct itimerspec *";
6103 p = "userland struct itimerspec *";
6109 /* linux_timer_gettime */
6116 p = "userland struct itimerspec *";
6122 /* linux_timer_getoverrun */
6132 /* linux_timer_delete */
6142 /* linux_clock_settime */
6149 p = "userland struct l_timespec *";
6155 /* linux_clock_gettime */
6162 p = "userland struct l_timespec *";
6168 /* linux_clock_getres */
6175 p = "userland struct l_timespec *";
6181 /* linux_clock_nanosleep */
6191 p = "userland struct l_timespec *";
6194 p = "userland struct l_timespec *";
6200 /* linux_statfs64 */
6204 p = "userland char *";
6210 p = "userland struct l_statfs64_buf *";
6216 /* linux_fstatfs64 */
6226 p = "userland struct l_statfs64_buf *";
6252 p = "userland char *";
6255 p = "userland struct l_timeval *";
6261 /* linux_fadvise64_64 */
6289 /* linux_get_mempolicy */
6292 /* linux_set_mempolicy */
6299 p = "userland const char *";
6308 p = "userland struct mq_attr *";
6314 /* linux_mq_unlink */
6318 p = "userland const char *";
6324 /* linux_mq_timedsend */
6331 p = "userland const char *";
6340 p = "userland const struct l_timespec *";
6346 /* linux_mq_timedreceive */
6353 p = "userland char *";
6359 p = "userland l_uint *";
6362 p = "userland const struct l_timespec *";
6368 /* linux_mq_notify */
6375 p = "userland const struct l_timespec *";
6381 /* linux_mq_getsetattr */
6388 p = "userland const struct mq_attr *";
6391 p = "userland struct mq_attr *";
6397 /* linux_kexec_load */
6410 p = "userland l_siginfo_t *";
6416 p = "userland struct l_rusage *";
6425 /* linux_request_key */
6431 /* linux_ioprio_set */
6434 /* linux_ioprio_get */
6437 /* linux_inotify_init */
6440 /* linux_inotify_add_watch */
6443 /* linux_inotify_rm_watch */
6446 /* linux_migrate_pages */
6456 p = "userland const char *";
6475 p = "userland const char *";
6491 p = "userland const char *";
6503 /* linux_fchownat */
6510 p = "userland const char *";
6525 /* linux_futimesat */
6532 p = "userland char *";
6535 p = "userland struct l_timeval *";
6541 /* linux_fstatat64 */
6548 p = "userland char *";
6551 p = "userland struct l_stat64 *";
6560 /* linux_unlinkat */
6567 p = "userland const char *";
6576 /* linux_renameat */
6583 p = "userland const char *";
6589 p = "userland const char *";
6602 p = "userland const char *";
6608 p = "userland const char *";
6617 /* linux_symlinkat */
6621 p = "userland const char *";
6627 p = "userland const char *";
6633 /* linux_readlinkat */
6640 p = "userland const char *";
6643 p = "userland char *";
6652 /* linux_fchmodat */
6659 p = "userland const char *";
6668 /* linux_faccessat */
6675 p = "userland const char *";
6684 /* linux_pselect6 */
6691 p = "userland l_fd_set *";
6694 p = "userland l_fd_set *";
6697 p = "userland l_fd_set *";
6700 p = "userland struct l_timespec *";
6703 p = "userland l_uintptr_t *";
6713 p = "userland struct pollfd *";
6719 p = "userland struct l_timespec *";
6722 p = "userland l_sigset_t *";
6734 /* linux_set_robust_list */
6738 p = "userland struct linux_robust_list_head *";
6747 /* linux_get_robust_list */
6754 p = "userland struct linux_robust_list_head **";
6757 p = "userland l_size_t *";
6770 p = "userland l_loff_t *";
6776 p = "userland l_loff_t *";
6788 /* linux_sync_file_range */
6816 /* linux_vmsplice */
6819 /* linux_move_pages */
6826 p = "userland l_uint *";
6829 p = "userland l_uint *";
6832 p = "userland void *";
6838 /* linux_epoll_pwait */
6845 p = "userland struct epoll_event *";
6854 p = "userland l_sigset_t *";
6863 /* linux_utimensat */
6870 p = "userland const char *";
6873 p = "userland const struct l_timespec *";
6882 /* linux_signalfd */
6885 /* linux_timerfd_create */
6908 /* linux_fallocate */
6933 /* linux_timerfd_settime */
6943 p = "userland const struct l_itimerspec *";
6946 p = "userland struct l_itimerspec *";
6952 /* linux_timerfd_gettime */
6959 p = "userland struct l_itimerspec *";
6965 /* linux_signalfd4 */
6968 /* linux_eventfd2 */
6981 /* linux_epoll_create1 */
7011 p = "userland l_int *";
7020 /* linux_inotify_init1 */
7030 p = "userland struct iovec *";
7052 p = "userland struct iovec *";
7067 /* linux_rt_tgsigqueueinfo */
7080 p = "userland l_siginfo_t *";
7086 /* linux_perf_event_open */
7089 /* linux_recvmmsg */
7096 p = "userland struct l_mmsghdr *";
7105 p = "userland struct l_timespec *";
7111 /* linux_fanotify_init */
7114 /* linux_fanotify_mark */
7117 /* linux_prlimit64 */
7127 p = "userland struct rlimit *";
7130 p = "userland struct rlimit *";
7136 /* linux_name_to_handle_at */
7143 p = "userland const char *";
7146 p = "userland struct l_file_handle *";
7149 p = "userland l_int *";
7158 /* linux_open_by_handle_at */
7165 p = "userland struct l_file_handle *";
7174 /* linux_clock_adjtime */
7187 /* linux_sendmmsg */
7194 p = "userland struct l_mmsghdr *";
7209 /* linux_process_vm_readv */
7216 p = "userland const struct iovec *";
7222 p = "userland const struct iovec *";
7234 /* linux_process_vm_writev */
7241 p = "userland const struct iovec *";
7247 p = "userland const struct iovec *";
7281 /* linux_finit_module */
7288 p = "userland const char *";
7297 /* linux_sched_setattr */
7304 p = "userland void *";
7313 /* linux_sched_getattr */
7320 p = "userland void *";
7332 /* linux_renameat2 */
7339 p = "userland const char *";
7345 p = "userland const char *";
7364 p = "userland const char *";
7370 /* linux_getrandom */
7374 p = "userland char *";
7386 /* linux_memfd_create */
7390 p = "userland const char *";
7406 p = "userland void *";
7415 /* linux_execveat */
7422 p = "userland const char *";
7425 p = "userland const char **";
7428 p = "userland const char **";
7453 /* linux_socketpair */
7536 /* linux_getsockopt */
7558 /* linux_setsockopt */
7580 /* linux_getsockname */
7596 /* linux_getpeername */
7653 /* linux_recvfrom */
7694 /* linux_shutdown */
7707 /* linux_userfaultfd */
7717 /* linux_membarrier */
7746 /* linux_copy_file_range */
7753 p = "userland l_loff_t *";
7759 p = "userland l_loff_t *";
7778 p = "userland const struct iovec *";
7796 /* linux_pwritev2 */
7803 p = "userland const struct iovec *";
7821 /* linux_pkey_mprotect */
7840 /* linux_pkey_alloc */
7853 /* linux_pkey_free */
7870 p = "userland const char *";
7879 p = "userland void *";
7885 /* linux_arch_prctl */
7898 /* linux_io_pgetevents */
7905 p = "userland struct linux_rseq *";
7949 p = "union l_semun";
7981 p = "userland struct l_shmid_ds *";
7994 p = "userland char *";
8007 p = "userland char *";
8033 p = "userland struct l_msgbuf *";
8052 p = "userland struct l_msgbuf *";
8077 p = "userland struct l_msqid_ds *";
8083 /* linux_clock_gettime64 */
8090 p = "userland struct l_timespec64 *";
8096 /* linux_clock_settime64 */
8103 p = "userland struct l_timespec64 *";
8109 /* linux_clock_adjtime64 */
8112 /* linux_clock_getres_time64 */
8119 p = "userland struct l_timespec64 *";
8125 /* linux_clock_nanosleep_time64 */
8135 p = "userland struct l_timespec64 *";
8138 p = "userland struct l_timespec64 *";
8144 /* linux_timer_gettime64 */
8151 p = "userland struct l_itimerspec64 *";
8157 /* linux_timer_settime64 */
8167 p = "userland const struct l_itimerspec64 *";
8170 p = "userland struct l_itimerspec64 *";
8176 /* linux_timerfd_gettime64 */
8179 /* linux_timerfd_settime64 */
8189 p = "userland const struct l_itimerspec64 *";
8192 p = "userland struct l_itimerspec64 *";
8198 /* linux_utimensat_time64 */
8205 p = "userland const char *";
8208 p = "userland const struct l_timespec64 *";
8217 /* linux_pselect6_time64 */
8224 p = "userland l_fd_set *";
8227 p = "userland l_fd_set *";
8230 p = "userland l_fd_set *";
8233 p = "userland struct l_timespec64 *";
8236 p = "userland l_uintptr_t *";
8242 /* linux_ppoll_time64 */
8246 p = "userland struct pollfd *";
8252 p = "userland struct l_timespec *";
8255 p = "userland l_sigset_t *";
8264 /* linux_io_pgetevents_time64 */
8267 /* linux_recvmmsg_time64 */
8270 /* linux_mq_timedsend_time64 */
8273 /* linux_mq_timedreceive_time64 */
8276 /* linux_semtimedop_time64 */
8279 /* linux_rt_sigtimedwait_time64 */
8283 p = "userland l_sigset_t *";
8286 p = "userland l_siginfo_t *";
8289 p = "userland struct l_timespec64 *";
8298 /* linux_sys_futex_time64 */
8302 p = "userland uint32_t *";
8311 p = "userland struct l_timespec64 *";
8314 p = "userland uint32_t *";
8323 /* linux_sched_rr_get_interval_time64 */
8330 p = "userland struct l_timespec64 *";
8336 /* linux_pidfd_send_signal */
8346 p = "userland l_siginfo_t *";
8355 /* linux_io_uring_setup */
8358 /* linux_io_uring_enter */
8361 /* linux_io_uring_register */
8364 /* linux_open_tree */
8367 /* linux_move_mount */
8373 /* linux_fsconfig */
8382 /* linux_pidfd_open */
8389 p = "userland struct l_user_clone_args *";
8398 /* linux_close_range */
8404 /* linux_pidfd_getfd */
8407 /* linux_faccessat2 */
8414 p = "userland const char *";
8426 /* linux_process_madvise */
8429 /* linux_epoll_pwait2_64 */
8436 p = "userland struct epoll_event *";
8442 p = "userland struct l_timespec64 *";
8445 p = "userland l_sigset_t *";
8454 /* linux_mount_setattr */
8461 strlcpy(desc, p, descsz);
8464 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8466 const char *p = NULL;
8468 #define nosys linux_nosys
8471 if (ndx == 0 || ndx == 1)
8478 if (ndx == 0 || ndx == 1)
8483 if (ndx == 0 || ndx == 1)
8488 if (ndx == 0 || ndx == 1)
8493 if (ndx == 0 || ndx == 1)
8498 if (ndx == 0 || ndx == 1)
8503 if (ndx == 0 || ndx == 1)
8508 if (ndx == 0 || ndx == 1)
8513 if (ndx == 0 || ndx == 1)
8518 if (ndx == 0 || ndx == 1)
8523 if (ndx == 0 || ndx == 1)
8528 if (ndx == 0 || ndx == 1)
8533 if (ndx == 0 || ndx == 1)
8538 if (ndx == 0 || ndx == 1)
8541 /* linux_lchown16 */
8543 if (ndx == 0 || ndx == 1)
8548 if (ndx == 0 || ndx == 1)
8553 if (ndx == 0 || ndx == 1)
8560 if (ndx == 0 || ndx == 1)
8563 /* linux_oldumount */
8565 if (ndx == 0 || ndx == 1)
8568 /* linux_setuid16 */
8570 if (ndx == 0 || ndx == 1)
8573 /* linux_getuid16 */
8579 if (ndx == 0 || ndx == 1)
8584 if (ndx == 0 || ndx == 1)
8591 if (ndx == 0 || ndx == 1)
8596 if (ndx == 0 || ndx == 1)
8601 if (ndx == 0 || ndx == 1)
8608 if (ndx == 0 || ndx == 1)
8613 if (ndx == 0 || ndx == 1)
8618 if (ndx == 0 || ndx == 1)
8623 if (ndx == 0 || ndx == 1)
8628 if (ndx == 0 || ndx == 1)
8633 if (ndx == 0 || ndx == 1)
8638 if (ndx == 0 || ndx == 1)
8643 if (ndx == 0 || ndx == 1)
8646 /* linux_setgid16 */
8648 if (ndx == 0 || ndx == 1)
8651 /* linux_getgid16 */
8655 if (ndx == 0 || ndx == 1)
8658 /* linux_geteuid16 */
8660 /* linux_getegid16 */
8664 if (ndx == 0 || ndx == 1)
8669 if (ndx == 0 || ndx == 1)
8674 if (ndx == 0 || ndx == 1)
8679 if (ndx == 0 || ndx == 1)
8684 if (ndx == 0 || ndx == 1)
8687 /* linux_olduname */
8691 if (ndx == 0 || ndx == 1)
8696 if (ndx == 0 || ndx == 1)
8701 if (ndx == 0 || ndx == 1)
8706 if (ndx == 0 || ndx == 1)
8715 /* linux_sigaction */
8717 if (ndx == 0 || ndx == 1)
8720 /* linux_sgetmask */
8722 /* linux_ssetmask */
8724 if (ndx == 0 || ndx == 1)
8727 /* linux_setreuid16 */
8729 if (ndx == 0 || ndx == 1)
8732 /* linux_setregid16 */
8734 if (ndx == 0 || ndx == 1)
8737 /* linux_sigsuspend */
8739 if (ndx == 0 || ndx == 1)
8742 /* linux_sigpending */
8744 if (ndx == 0 || ndx == 1)
8747 /* linux_sethostname */
8749 if (ndx == 0 || ndx == 1)
8752 /* linux_setrlimit */
8754 if (ndx == 0 || ndx == 1)
8757 /* linux_old_getrlimit */
8759 if (ndx == 0 || ndx == 1)
8762 /* linux_getrusage */
8764 if (ndx == 0 || ndx == 1)
8767 /* linux_gettimeofday */
8769 if (ndx == 0 || ndx == 1)
8772 /* linux_settimeofday */
8774 if (ndx == 0 || ndx == 1)
8777 /* linux_getgroups16 */
8779 if (ndx == 0 || ndx == 1)
8782 /* linux_setgroups16 */
8784 if (ndx == 0 || ndx == 1)
8787 /* linux_old_select */
8789 if (ndx == 0 || ndx == 1)
8794 if (ndx == 0 || ndx == 1)
8799 if (ndx == 0 || ndx == 1)
8802 /* linux_readlink */
8804 if (ndx == 0 || ndx == 1)
8809 if (ndx == 0 || ndx == 1)
8814 if (ndx == 0 || ndx == 1)
8819 if (ndx == 0 || ndx == 1)
8824 if (ndx == 0 || ndx == 1)
8829 if (ndx == 0 || ndx == 1)
8832 /* linux_truncate */
8834 if (ndx == 0 || ndx == 1)
8837 /* linux_ftruncate */
8839 if (ndx == 0 || ndx == 1)
8844 if (ndx == 0 || ndx == 1)
8849 if (ndx == 0 || ndx == 1)
8852 /* linux_getpriority */
8854 if (ndx == 0 || ndx == 1)
8859 if (ndx == 0 || ndx == 1)
8864 if (ndx == 0 || ndx == 1)
8869 if (ndx == 0 || ndx == 1)
8872 /* linux_socketcall */
8874 if (ndx == 0 || ndx == 1)
8879 if (ndx == 0 || ndx == 1)
8882 /* linux_setitimer */
8884 if (ndx == 0 || ndx == 1)
8887 /* linux_getitimer */
8889 if (ndx == 0 || ndx == 1)
8894 if (ndx == 0 || ndx == 1)
8897 /* linux_newlstat */
8899 if (ndx == 0 || ndx == 1)
8902 /* linux_newfstat */
8904 if (ndx == 0 || ndx == 1)
8911 if (ndx == 0 || ndx == 1)
8918 if (ndx == 0 || ndx == 1)
8925 if (ndx == 0 || ndx == 1)
8930 if (ndx == 0 || ndx == 1)
8935 if (ndx == 0 || ndx == 1)
8938 /* linux_sigreturn */
8940 if (ndx == 0 || ndx == 1)
8945 if (ndx == 0 || ndx == 1)
8948 /* linux_setdomainname */
8950 if (ndx == 0 || ndx == 1)
8953 /* linux_newuname */
8955 if (ndx == 0 || ndx == 1)
8958 /* linux_adjtimex */
8960 /* linux_mprotect */
8962 if (ndx == 0 || ndx == 1)
8965 /* linux_sigprocmask */
8967 if (ndx == 0 || ndx == 1)
8970 /* linux_init_module */
8972 /* linux_delete_module */
8974 /* linux_quotactl */
8978 if (ndx == 0 || ndx == 1)
8983 if (ndx == 0 || ndx == 1)
8990 if (ndx == 0 || ndx == 1)
8993 /* linux_personality */
8995 if (ndx == 0 || ndx == 1)
8998 /* linux_setfsuid16 */
9000 if (ndx == 0 || ndx == 1)
9003 /* linux_setfsgid16 */
9005 if (ndx == 0 || ndx == 1)
9010 if (ndx == 0 || ndx == 1)
9013 /* linux_getdents */
9015 if (ndx == 0 || ndx == 1)
9020 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9030 if (ndx == 0 || ndx == 1)
9035 if (ndx == 0 || ndx == 1)
9040 if (ndx == 0 || ndx == 1)
9045 if (ndx == 0 || ndx == 1)
9048 /* linux_fdatasync */
9050 if (ndx == 0 || ndx == 1)
9055 if (ndx == 0 || ndx == 1)
9060 if (ndx == 0 || ndx == 1)
9065 if (ndx == 0 || ndx == 1)
9070 if (ndx == 0 || ndx == 1)
9075 /* linux_sched_setparam */
9077 if (ndx == 0 || ndx == 1)
9080 /* linux_sched_getparam */
9082 if (ndx == 0 || ndx == 1)
9085 /* linux_sched_setscheduler */
9087 if (ndx == 0 || ndx == 1)
9090 /* linux_sched_getscheduler */
9092 if (ndx == 0 || ndx == 1)
9097 /* linux_sched_get_priority_max */
9099 if (ndx == 0 || ndx == 1)
9102 /* linux_sched_get_priority_min */
9104 if (ndx == 0 || ndx == 1)
9107 /* linux_sched_rr_get_interval */
9109 if (ndx == 0 || ndx == 1)
9112 /* linux_nanosleep */
9114 if (ndx == 0 || ndx == 1)
9119 if (ndx == 0 || ndx == 1)
9122 /* linux_setresuid16 */
9124 if (ndx == 0 || ndx == 1)
9127 /* linux_getresuid16 */
9129 if (ndx == 0 || ndx == 1)
9134 if (ndx == 0 || ndx == 1)
9137 /* linux_setresgid16 */
9139 if (ndx == 0 || ndx == 1)
9142 /* linux_getresgid16 */
9144 if (ndx == 0 || ndx == 1)
9149 if (ndx == 0 || ndx == 1)
9152 /* linux_rt_sigreturn */
9154 if (ndx == 0 || ndx == 1)
9157 /* linux_rt_sigaction */
9159 if (ndx == 0 || ndx == 1)
9162 /* linux_rt_sigprocmask */
9164 if (ndx == 0 || ndx == 1)
9167 /* linux_rt_sigpending */
9169 if (ndx == 0 || ndx == 1)
9172 /* linux_rt_sigtimedwait */
9174 if (ndx == 0 || ndx == 1)
9177 /* linux_rt_sigqueueinfo */
9179 if (ndx == 0 || ndx == 1)
9182 /* linux_rt_sigsuspend */
9184 if (ndx == 0 || ndx == 1)
9189 if (ndx == 0 || ndx == 1)
9194 if (ndx == 0 || ndx == 1)
9199 if (ndx == 0 || ndx == 1)
9204 if (ndx == 0 || ndx == 1)
9209 if (ndx == 0 || ndx == 1)
9214 if (ndx == 0 || ndx == 1)
9217 /* linux_sigaltstack */
9219 if (ndx == 0 || ndx == 1)
9222 /* linux_sendfile */
9224 if (ndx == 0 || ndx == 1)
9229 /* linux_getrlimit */
9231 if (ndx == 0 || ndx == 1)
9236 if (ndx == 0 || ndx == 1)
9239 /* linux_truncate64 */
9241 if (ndx == 0 || ndx == 1)
9244 /* linux_ftruncate64 */
9246 if (ndx == 0 || ndx == 1)
9251 if (ndx == 0 || ndx == 1)
9256 if (ndx == 0 || ndx == 1)
9261 if (ndx == 0 || ndx == 1)
9266 if (ndx == 0 || ndx == 1)
9279 if (ndx == 0 || ndx == 1)
9284 if (ndx == 0 || ndx == 1)
9287 /* linux_getgroups */
9289 if (ndx == 0 || ndx == 1)
9292 /* linux_setgroups */
9294 if (ndx == 0 || ndx == 1)
9301 if (ndx == 0 || ndx == 1)
9306 if (ndx == 0 || ndx == 1)
9311 if (ndx == 0 || ndx == 1)
9316 if (ndx == 0 || ndx == 1)
9321 if (ndx == 0 || ndx == 1)
9326 if (ndx == 0 || ndx == 1)
9331 if (ndx == 0 || ndx == 1)
9334 /* linux_setfsuid */
9336 if (ndx == 0 || ndx == 1)
9339 /* linux_setfsgid */
9341 if (ndx == 0 || ndx == 1)
9344 /* linux_pivot_root */
9346 if (ndx == 0 || ndx == 1)
9351 if (ndx == 0 || ndx == 1)
9356 if (ndx == 0 || ndx == 1)
9359 /* linux_getdents64 */
9361 if (ndx == 0 || ndx == 1)
9366 if (ndx == 0 || ndx == 1)
9371 /* linux_setxattr */
9373 if (ndx == 0 || ndx == 1)
9376 /* linux_lsetxattr */
9378 if (ndx == 0 || ndx == 1)
9381 /* linux_fsetxattr */
9383 if (ndx == 0 || ndx == 1)
9386 /* linux_getxattr */
9388 if (ndx == 0 || ndx == 1)
9391 /* linux_lgetxattr */
9393 if (ndx == 0 || ndx == 1)
9396 /* linux_fgetxattr */
9398 if (ndx == 0 || ndx == 1)
9401 /* linux_listxattr */
9403 if (ndx == 0 || ndx == 1)
9406 /* linux_llistxattr */
9408 if (ndx == 0 || ndx == 1)
9411 /* linux_flistxattr */
9413 if (ndx == 0 || ndx == 1)
9416 /* linux_removexattr */
9418 if (ndx == 0 || ndx == 1)
9421 /* linux_lremovexattr */
9423 if (ndx == 0 || ndx == 1)
9426 /* linux_fremovexattr */
9428 if (ndx == 0 || ndx == 1)
9433 if (ndx == 0 || ndx == 1)
9436 /* linux_sendfile64 */
9438 if (ndx == 0 || ndx == 1)
9441 /* linux_sys_futex */
9443 if (ndx == 0 || ndx == 1)
9446 /* linux_sched_setaffinity */
9448 if (ndx == 0 || ndx == 1)
9451 /* linux_sched_getaffinity */
9453 if (ndx == 0 || ndx == 1)
9456 /* linux_set_thread_area */
9458 if (ndx == 0 || ndx == 1)
9461 /* linux_fadvise64 */
9463 if (ndx == 0 || ndx == 1)
9466 /* linux_exit_group */
9468 if (ndx == 0 || ndx == 1)
9471 /* linux_lookup_dcookie */
9473 /* linux_epoll_create */
9475 if (ndx == 0 || ndx == 1)
9478 /* linux_epoll_ctl */
9480 if (ndx == 0 || ndx == 1)
9483 /* linux_epoll_wait */
9485 if (ndx == 0 || ndx == 1)
9488 /* linux_remap_file_pages */
9490 /* linux_set_tid_address */
9492 if (ndx == 0 || ndx == 1)
9495 /* linux_timer_create */
9497 if (ndx == 0 || ndx == 1)
9500 /* linux_timer_settime */
9502 if (ndx == 0 || ndx == 1)
9505 /* linux_timer_gettime */
9507 if (ndx == 0 || ndx == 1)
9510 /* linux_timer_getoverrun */
9512 if (ndx == 0 || ndx == 1)
9515 /* linux_timer_delete */
9517 if (ndx == 0 || ndx == 1)
9520 /* linux_clock_settime */
9522 if (ndx == 0 || ndx == 1)
9525 /* linux_clock_gettime */
9527 if (ndx == 0 || ndx == 1)
9530 /* linux_clock_getres */
9532 if (ndx == 0 || ndx == 1)
9535 /* linux_clock_nanosleep */
9537 if (ndx == 0 || ndx == 1)
9540 /* linux_statfs64 */
9542 if (ndx == 0 || ndx == 1)
9545 /* linux_fstatfs64 */
9547 if (ndx == 0 || ndx == 1)
9552 if (ndx == 0 || ndx == 1)
9557 if (ndx == 0 || ndx == 1)
9560 /* linux_fadvise64_64 */
9562 if (ndx == 0 || ndx == 1)
9567 /* linux_get_mempolicy */
9569 /* linux_set_mempolicy */
9573 if (ndx == 0 || ndx == 1)
9576 /* linux_mq_unlink */
9578 if (ndx == 0 || ndx == 1)
9581 /* linux_mq_timedsend */
9583 if (ndx == 0 || ndx == 1)
9586 /* linux_mq_timedreceive */
9588 if (ndx == 0 || ndx == 1)
9591 /* linux_mq_notify */
9593 if (ndx == 0 || ndx == 1)
9596 /* linux_mq_getsetattr */
9598 if (ndx == 0 || ndx == 1)
9601 /* linux_kexec_load */
9605 if (ndx == 0 || ndx == 1)
9610 /* linux_request_key */
9614 /* linux_ioprio_set */
9616 /* linux_ioprio_get */
9618 /* linux_inotify_init */
9620 /* linux_inotify_add_watch */
9622 /* linux_inotify_rm_watch */
9624 /* linux_migrate_pages */
9628 if (ndx == 0 || ndx == 1)
9633 if (ndx == 0 || ndx == 1)
9638 if (ndx == 0 || ndx == 1)
9641 /* linux_fchownat */
9643 if (ndx == 0 || ndx == 1)
9646 /* linux_futimesat */
9648 if (ndx == 0 || ndx == 1)
9651 /* linux_fstatat64 */
9653 if (ndx == 0 || ndx == 1)
9656 /* linux_unlinkat */
9658 if (ndx == 0 || ndx == 1)
9661 /* linux_renameat */
9663 if (ndx == 0 || ndx == 1)
9668 if (ndx == 0 || ndx == 1)
9671 /* linux_symlinkat */
9673 if (ndx == 0 || ndx == 1)
9676 /* linux_readlinkat */
9678 if (ndx == 0 || ndx == 1)
9681 /* linux_fchmodat */
9683 if (ndx == 0 || ndx == 1)
9686 /* linux_faccessat */
9688 if (ndx == 0 || ndx == 1)
9691 /* linux_pselect6 */
9693 if (ndx == 0 || ndx == 1)
9698 if (ndx == 0 || ndx == 1)
9703 /* linux_set_robust_list */
9705 if (ndx == 0 || ndx == 1)
9708 /* linux_get_robust_list */
9710 if (ndx == 0 || ndx == 1)
9715 if (ndx == 0 || ndx == 1)
9718 /* linux_sync_file_range */
9720 if (ndx == 0 || ndx == 1)
9725 /* linux_vmsplice */
9727 /* linux_move_pages */
9731 if (ndx == 0 || ndx == 1)
9734 /* linux_epoll_pwait */
9736 if (ndx == 0 || ndx == 1)
9739 /* linux_utimensat */
9741 if (ndx == 0 || ndx == 1)
9744 /* linux_signalfd */
9746 /* linux_timerfd_create */
9748 if (ndx == 0 || ndx == 1)
9753 if (ndx == 0 || ndx == 1)
9756 /* linux_fallocate */
9758 if (ndx == 0 || ndx == 1)
9761 /* linux_timerfd_settime */
9763 if (ndx == 0 || ndx == 1)
9766 /* linux_timerfd_gettime */
9768 if (ndx == 0 || ndx == 1)
9771 /* linux_signalfd4 */
9773 /* linux_eventfd2 */
9775 if (ndx == 0 || ndx == 1)
9778 /* linux_epoll_create1 */
9780 if (ndx == 0 || ndx == 1)
9785 if (ndx == 0 || ndx == 1)
9790 if (ndx == 0 || ndx == 1)
9793 /* linux_inotify_init1 */
9797 if (ndx == 0 || ndx == 1)
9802 if (ndx == 0 || ndx == 1)
9805 /* linux_rt_tgsigqueueinfo */
9807 if (ndx == 0 || ndx == 1)
9810 /* linux_perf_event_open */
9812 /* linux_recvmmsg */
9814 if (ndx == 0 || ndx == 1)
9817 /* linux_fanotify_init */
9819 /* linux_fanotify_mark */
9821 /* linux_prlimit64 */
9823 if (ndx == 0 || ndx == 1)
9826 /* linux_name_to_handle_at */
9828 if (ndx == 0 || ndx == 1)
9831 /* linux_open_by_handle_at */
9833 if (ndx == 0 || ndx == 1)
9836 /* linux_clock_adjtime */
9840 if (ndx == 0 || ndx == 1)
9843 /* linux_sendmmsg */
9845 if (ndx == 0 || ndx == 1)
9850 /* linux_process_vm_readv */
9852 if (ndx == 0 || ndx == 1)
9855 /* linux_process_vm_writev */
9857 if (ndx == 0 || ndx == 1)
9862 if (ndx == 0 || ndx == 1)
9865 /* linux_finit_module */
9867 if (ndx == 0 || ndx == 1)
9870 /* linux_sched_setattr */
9872 if (ndx == 0 || ndx == 1)
9875 /* linux_sched_getattr */
9877 if (ndx == 0 || ndx == 1)
9880 /* linux_renameat2 */
9882 if (ndx == 0 || ndx == 1)
9887 if (ndx == 0 || ndx == 1)
9890 /* linux_getrandom */
9892 if (ndx == 0 || ndx == 1)
9895 /* linux_memfd_create */
9897 if (ndx == 0 || ndx == 1)
9902 if (ndx == 0 || ndx == 1)
9905 /* linux_execveat */
9907 if (ndx == 0 || ndx == 1)
9912 if (ndx == 0 || ndx == 1)
9915 /* linux_socketpair */
9917 if (ndx == 0 || ndx == 1)
9922 if (ndx == 0 || ndx == 1)
9927 if (ndx == 0 || ndx == 1)
9932 if (ndx == 0 || ndx == 1)
9937 if (ndx == 0 || ndx == 1)
9940 /* linux_getsockopt */
9942 if (ndx == 0 || ndx == 1)
9945 /* linux_setsockopt */
9947 if (ndx == 0 || ndx == 1)
9950 /* linux_getsockname */
9952 if (ndx == 0 || ndx == 1)
9955 /* linux_getpeername */
9957 if (ndx == 0 || ndx == 1)
9962 if (ndx == 0 || ndx == 1)
9967 if (ndx == 0 || ndx == 1)
9970 /* linux_recvfrom */
9972 if (ndx == 0 || ndx == 1)
9977 if (ndx == 0 || ndx == 1)
9980 /* linux_shutdown */
9982 if (ndx == 0 || ndx == 1)
9985 /* linux_userfaultfd */
9987 if (ndx == 0 || ndx == 1)
9990 /* linux_membarrier */
9992 if (ndx == 0 || ndx == 1)
9997 if (ndx == 0 || ndx == 1)
10000 /* linux_copy_file_range */
10002 if (ndx == 0 || ndx == 1)
10005 /* linux_preadv2 */
10007 if (ndx == 0 || ndx == 1)
10010 /* linux_pwritev2 */
10012 if (ndx == 0 || ndx == 1)
10015 /* linux_pkey_mprotect */
10017 if (ndx == 0 || ndx == 1)
10020 /* linux_pkey_alloc */
10022 if (ndx == 0 || ndx == 1)
10025 /* linux_pkey_free */
10027 if (ndx == 0 || ndx == 1)
10032 if (ndx == 0 || ndx == 1)
10035 /* linux_arch_prctl */
10037 if (ndx == 0 || ndx == 1)
10040 /* linux_io_pgetevents */
10044 if (ndx == 0 || ndx == 1)
10049 if (ndx == 0 || ndx == 1)
10054 if (ndx == 0 || ndx == 1)
10059 if (ndx == 0 || ndx == 1)
10064 if (ndx == 0 || ndx == 1)
10069 if (ndx == 0 || ndx == 1)
10074 if (ndx == 0 || ndx == 1)
10079 if (ndx == 0 || ndx == 1)
10084 if (ndx == 0 || ndx == 1)
10089 if (ndx == 0 || ndx == 1)
10094 if (ndx == 0 || ndx == 1)
10097 /* linux_clock_gettime64 */
10099 if (ndx == 0 || ndx == 1)
10102 /* linux_clock_settime64 */
10104 if (ndx == 0 || ndx == 1)
10107 /* linux_clock_adjtime64 */
10109 /* linux_clock_getres_time64 */
10111 if (ndx == 0 || ndx == 1)
10114 /* linux_clock_nanosleep_time64 */
10116 if (ndx == 0 || ndx == 1)
10119 /* linux_timer_gettime64 */
10121 if (ndx == 0 || ndx == 1)
10124 /* linux_timer_settime64 */
10126 if (ndx == 0 || ndx == 1)
10129 /* linux_timerfd_gettime64 */
10131 /* linux_timerfd_settime64 */
10133 if (ndx == 0 || ndx == 1)
10136 /* linux_utimensat_time64 */
10138 if (ndx == 0 || ndx == 1)
10141 /* linux_pselect6_time64 */
10143 if (ndx == 0 || ndx == 1)
10146 /* linux_ppoll_time64 */
10148 if (ndx == 0 || ndx == 1)
10151 /* linux_io_pgetevents_time64 */
10153 /* linux_recvmmsg_time64 */
10155 /* linux_mq_timedsend_time64 */
10157 /* linux_mq_timedreceive_time64 */
10159 /* linux_semtimedop_time64 */
10161 /* linux_rt_sigtimedwait_time64 */
10163 if (ndx == 0 || ndx == 1)
10166 /* linux_sys_futex_time64 */
10168 if (ndx == 0 || ndx == 1)
10171 /* linux_sched_rr_get_interval_time64 */
10173 if (ndx == 0 || ndx == 1)
10176 /* linux_pidfd_send_signal */
10178 if (ndx == 0 || ndx == 1)
10181 /* linux_io_uring_setup */
10183 /* linux_io_uring_enter */
10185 /* linux_io_uring_register */
10187 /* linux_open_tree */
10189 /* linux_move_mount */
10193 /* linux_fsconfig */
10195 /* linux_fsmount */
10199 /* linux_pidfd_open */
10203 if (ndx == 0 || ndx == 1)
10206 /* linux_close_range */
10208 /* linux_openat2 */
10210 /* linux_pidfd_getfd */
10212 /* linux_faccessat2 */
10214 if (ndx == 0 || ndx == 1)
10217 /* linux_process_madvise */
10219 /* linux_epoll_pwait2_64 */
10221 if (ndx == 0 || ndx == 1)
10224 /* linux_mount_setattr */
10230 strlcpy(desc, p, descsz);