2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *)uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t)p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t)p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t)p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t)p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t)p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t)p->path; /* char * */
82 uarg[1] = (intptr_t)p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t)p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t)p->path; /* char * */
97 uarg[1] = (intptr_t)p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t)p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t)p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t)p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t)p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t)p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t)p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t)p->path; /* char * */
146 uarg[1] = (intptr_t)p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t)p->specialfile; /* char * */
168 uarg[1] = (intptr_t)p->dir; /* char * */
169 uarg[2] = (intptr_t)p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t)p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t)p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t)p->fname; /* char * */
225 uarg[1] = (intptr_t)p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t)p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t)p->from; /* char * */
261 uarg[1] = (intptr_t)p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t)p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t)p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t)p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t)p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t)p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t)p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t)p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t)p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t)p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t)p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t)p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t)p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t)p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t)p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t)p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t)p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t)p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t)p->path; /* char * */
557 uarg[1] = (intptr_t)p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t)p->path; /* char * */
565 uarg[1] = (intptr_t)p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t)p->name; /* char * */
573 uarg[1] = (intptr_t)p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t)p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t)p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t)p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t)p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t)p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t)p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t)p->path; /* char * */
673 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t)p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t)p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t)p->path; /* char * */
723 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t)p->path; /* char * */
731 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t)p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t)p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t)p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_uint */
789 iarg[4] = p->ptr; /* l_uintptr_t */
790 iarg[5] = p->arg5; /* l_uint */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t)p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t)p->stack; /* void * */
813 uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t)p->tls; /* void * */
815 uarg[4] = (intptr_t)p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t)p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t)p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t)p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t)p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t)p->omask; /* l_osigset_t * */
857 /* linux_init_module */
862 /* linux_delete_module */
874 struct getpgid_args *p = params;
875 iarg[0] = p->pid; /* int */
881 struct fchdir_args *p = params;
882 iarg[0] = p->fd; /* int */
893 struct linux_sysfs_args *p = params;
894 iarg[0] = p->option; /* l_int */
895 iarg[1] = p->arg1; /* l_ulong */
896 iarg[2] = p->arg2; /* l_ulong */
900 /* linux_personality */
902 struct linux_personality_args *p = params;
903 iarg[0] = p->per; /* l_uint */
907 /* linux_setfsuid16 */
909 struct linux_setfsuid16_args *p = params;
910 iarg[0] = p->uid; /* l_uid16_t */
914 /* linux_setfsgid16 */
916 struct linux_setfsgid16_args *p = params;
917 iarg[0] = p->gid; /* l_gid16_t */
923 struct linux_llseek_args *p = params;
924 iarg[0] = p->fd; /* l_int */
925 iarg[1] = p->ohigh; /* l_ulong */
926 iarg[2] = p->olow; /* l_ulong */
927 uarg[3] = (intptr_t)p->res; /* l_loff_t * */
928 iarg[4] = p->whence; /* l_uint */
934 struct linux_getdents_args *p = params;
935 iarg[0] = p->fd; /* l_uint */
936 uarg[1] = (intptr_t)p->dent; /* void * */
937 iarg[2] = p->count; /* l_uint */
943 struct linux_select_args *p = params;
944 iarg[0] = p->nfds; /* l_int */
945 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
946 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
947 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
948 uarg[4] = (intptr_t)p->timeout; /* struct l_timeval * */
954 struct flock_args *p = params;
955 iarg[0] = p->fd; /* int */
956 iarg[1] = p->how; /* int */
962 struct linux_msync_args *p = params;
963 iarg[0] = p->addr; /* l_ulong */
964 iarg[1] = p->len; /* l_size_t */
965 iarg[2] = p->fl; /* l_int */
971 struct linux_readv_args *p = params;
972 iarg[0] = p->fd; /* l_ulong */
973 uarg[1] = (intptr_t)p->iovp; /* struct l_iovec32 * */
974 iarg[2] = p->iovcnt; /* l_ulong */
980 struct linux_writev_args *p = params;
981 iarg[0] = p->fd; /* l_ulong */
982 uarg[1] = (intptr_t)p->iovp; /* struct l_iovec32 * */
983 iarg[2] = p->iovcnt; /* l_ulong */
989 struct linux_getsid_args *p = params;
990 iarg[0] = p->pid; /* l_pid_t */
994 /* linux_fdatasync */
996 struct linux_fdatasync_args *p = params;
997 iarg[0] = p->fd; /* l_uint */
1003 struct linux_sysctl_args *p = params;
1004 uarg[0] = (intptr_t)p->args; /* struct l___sysctl_args * */
1010 struct mlock_args *p = params;
1011 uarg[0] = (intptr_t)p->addr; /* const void * */
1012 uarg[1] = p->len; /* size_t */
1018 struct munlock_args *p = params;
1019 uarg[0] = (intptr_t)p->addr; /* const void * */
1020 uarg[1] = p->len; /* size_t */
1026 struct mlockall_args *p = params;
1027 iarg[0] = p->how; /* int */
1036 /* linux_sched_setparam */
1038 struct linux_sched_setparam_args *p = params;
1039 iarg[0] = p->pid; /* l_pid_t */
1040 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
1044 /* linux_sched_getparam */
1046 struct linux_sched_getparam_args *p = params;
1047 iarg[0] = p->pid; /* l_pid_t */
1048 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
1052 /* linux_sched_setscheduler */
1054 struct linux_sched_setscheduler_args *p = params;
1055 iarg[0] = p->pid; /* l_pid_t */
1056 iarg[1] = p->policy; /* l_int */
1057 uarg[2] = (intptr_t)p->param; /* struct sched_param * */
1061 /* linux_sched_getscheduler */
1063 struct linux_sched_getscheduler_args *p = params;
1064 iarg[0] = p->pid; /* l_pid_t */
1073 /* linux_sched_get_priority_max */
1075 struct linux_sched_get_priority_max_args *p = params;
1076 iarg[0] = p->policy; /* l_int */
1080 /* linux_sched_get_priority_min */
1082 struct linux_sched_get_priority_min_args *p = params;
1083 iarg[0] = p->policy; /* l_int */
1087 /* linux_sched_rr_get_interval */
1089 struct linux_sched_rr_get_interval_args *p = params;
1090 iarg[0] = p->pid; /* l_pid_t */
1091 uarg[1] = (intptr_t)p->interval; /* struct l_timespec * */
1095 /* linux_nanosleep */
1097 struct linux_nanosleep_args *p = params;
1098 uarg[0] = (intptr_t)p->rqtp; /* const struct l_timespec * */
1099 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */
1105 struct linux_mremap_args *p = params;
1106 iarg[0] = p->addr; /* l_ulong */
1107 iarg[1] = p->old_len; /* l_ulong */
1108 iarg[2] = p->new_len; /* l_ulong */
1109 iarg[3] = p->flags; /* l_ulong */
1110 iarg[4] = p->new_addr; /* l_ulong */
1114 /* linux_setresuid16 */
1116 struct linux_setresuid16_args *p = params;
1117 iarg[0] = p->ruid; /* l_uid16_t */
1118 iarg[1] = p->euid; /* l_uid16_t */
1119 iarg[2] = p->suid; /* l_uid16_t */
1123 /* linux_getresuid16 */
1125 struct linux_getresuid16_args *p = params;
1126 uarg[0] = (intptr_t)p->ruid; /* l_uid16_t * */
1127 uarg[1] = (intptr_t)p->euid; /* l_uid16_t * */
1128 uarg[2] = (intptr_t)p->suid; /* l_uid16_t * */
1134 struct poll_args *p = params;
1135 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
1136 uarg[1] = p->nfds; /* unsigned int */
1137 iarg[2] = p->timeout; /* int */
1141 /* linux_setresgid16 */
1143 struct linux_setresgid16_args *p = params;
1144 iarg[0] = p->rgid; /* l_gid16_t */
1145 iarg[1] = p->egid; /* l_gid16_t */
1146 iarg[2] = p->sgid; /* l_gid16_t */
1150 /* linux_getresgid16 */
1152 struct linux_getresgid16_args *p = params;
1153 uarg[0] = (intptr_t)p->rgid; /* l_gid16_t * */
1154 uarg[1] = (intptr_t)p->egid; /* l_gid16_t * */
1155 uarg[2] = (intptr_t)p->sgid; /* l_gid16_t * */
1161 struct linux_prctl_args *p = params;
1162 iarg[0] = p->option; /* l_int */
1163 iarg[1] = p->arg2; /* l_int */
1164 iarg[2] = p->arg3; /* l_int */
1165 iarg[3] = p->arg4; /* l_int */
1166 iarg[4] = p->arg5; /* l_int */
1170 /* linux_rt_sigreturn */
1172 struct linux_rt_sigreturn_args *p = params;
1173 uarg[0] = (intptr_t)p->ucp; /* struct l_ucontext * */
1177 /* linux_rt_sigaction */
1179 struct linux_rt_sigaction_args *p = params;
1180 iarg[0] = p->sig; /* l_int */
1181 uarg[1] = (intptr_t)p->act; /* l_sigaction_t * */
1182 uarg[2] = (intptr_t)p->oact; /* l_sigaction_t * */
1183 iarg[3] = p->sigsetsize; /* l_size_t */
1187 /* linux_rt_sigprocmask */
1189 struct linux_rt_sigprocmask_args *p = params;
1190 iarg[0] = p->how; /* l_int */
1191 uarg[1] = (intptr_t)p->mask; /* l_sigset_t * */
1192 uarg[2] = (intptr_t)p->omask; /* l_sigset_t * */
1193 iarg[3] = p->sigsetsize; /* l_size_t */
1197 /* linux_rt_sigpending */
1199 struct linux_rt_sigpending_args *p = params;
1200 uarg[0] = (intptr_t)p->set; /* l_sigset_t * */
1201 iarg[1] = p->sigsetsize; /* l_size_t */
1205 /* linux_rt_sigtimedwait */
1207 struct linux_rt_sigtimedwait_args *p = params;
1208 uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */
1209 uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */
1210 uarg[2] = (intptr_t)p->timeout; /* struct l_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; /* void * */
1696 iarg[1] = p->op; /* 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 */
2874 struct linux_semget_args *p = params;
2875 iarg[0] = p->key; /* l_key_t */
2876 iarg[1] = p->nsems; /* l_int */
2877 iarg[2] = p->semflg; /* l_int */
2883 struct linux_semctl_args *p = params;
2884 iarg[0] = p->semid; /* l_int */
2885 iarg[1] = p->semnum; /* l_int */
2886 iarg[2] = p->cmd; /* l_int */
2887 uarg[3] = p->arg.buf; /* union l_semun */
2893 struct linux_shmget_args *p = params;
2894 iarg[0] = p->key; /* l_key_t */
2895 iarg[1] = p->size; /* l_size_t */
2896 iarg[2] = p->shmflg; /* l_int */
2902 struct linux_shmctl_args *p = params;
2903 iarg[0] = p->shmid; /* l_int */
2904 iarg[1] = p->cmd; /* l_int */
2905 uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */
2911 struct linux_shmat_args *p = params;
2912 iarg[0] = p->shmid; /* l_int */
2913 uarg[1] = (intptr_t)p->shmaddr; /* char * */
2914 iarg[2] = p->shmflg; /* l_int */
2920 struct linux_shmdt_args *p = params;
2921 uarg[0] = (intptr_t)p->shmaddr; /* char * */
2927 struct linux_msgget_args *p = params;
2928 iarg[0] = p->key; /* l_key_t */
2929 iarg[1] = p->msgflg; /* l_int */
2935 struct linux_msgsnd_args *p = params;
2936 iarg[0] = p->msqid; /* l_int */
2937 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2938 iarg[2] = p->msgsz; /* l_size_t */
2939 iarg[3] = p->msgflg; /* l_int */
2945 struct linux_msgrcv_args *p = params;
2946 iarg[0] = p->msqid; /* l_int */
2947 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2948 iarg[2] = p->msgsz; /* l_size_t */
2949 iarg[3] = p->msgtyp; /* l_long */
2950 iarg[4] = p->msgflg; /* l_int */
2956 struct linux_msgctl_args *p = params;
2957 iarg[0] = p->msqid; /* l_int */
2958 iarg[1] = p->cmd; /* l_int */
2959 uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */
2963 /* linux_clock_gettime64 */
2965 struct linux_clock_gettime64_args *p = params;
2966 iarg[0] = p->which; /* clockid_t */
2967 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2971 /* linux_clock_settime64 */
2973 struct linux_clock_settime64_args *p = params;
2974 iarg[0] = p->which; /* clockid_t */
2975 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2979 /* linux_clock_adjtime64 */
2984 /* linux_clock_getres_time64 */
2986 struct linux_clock_getres_time64_args *p = params;
2987 iarg[0] = p->which; /* clockid_t */
2988 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2992 /* linux_clock_nanosleep_time64 */
2994 struct linux_clock_nanosleep_time64_args *p = params;
2995 iarg[0] = p->which; /* clockid_t */
2996 iarg[1] = p->flags; /* l_int */
2997 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec64 * */
2998 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec64 * */
3002 /* linux_timer_gettime64 */
3007 /* linux_timer_settime64 */
3012 /* linux_timerfd_gettime64 */
3017 /* linux_timerfd_settime64 */
3022 /* linux_utimensat_time64 */
3024 struct linux_utimensat_time64_args *p = params;
3025 iarg[0] = p->dfd; /* l_int */
3026 uarg[1] = (intptr_t)p->pathname; /* const char * */
3027 uarg[2] = (intptr_t)p->times64; /* const struct l_timespec64 * */
3028 iarg[3] = p->flags; /* l_int */
3032 /* linux_pselect6_time64 */
3037 /* linux_ppoll_time64 */
3042 /* linux_io_pgetevents_time64 */
3047 /* linux_recvmmsg_time64 */
3052 /* linux_mq_timedsend_time64 */
3057 /* linux_mq_timedreceive_time64 */
3062 /* linux_semtimedop_time64 */
3067 /* linux_rt_sigtimedwait_time64 */
3072 /* linux_futex_time64 */
3077 /* linux_sched_rr_get_interval_time64 */
3082 /* linux_pidfd_send_signal */
3084 struct linux_pidfd_send_signal_args *p = params;
3085 iarg[0] = p->pidfd; /* l_int */
3086 iarg[1] = p->sig; /* l_int */
3087 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
3088 iarg[3] = p->flags; /* l_uint */
3092 /* linux_io_uring_setup */
3097 /* linux_io_uring_enter */
3102 /* linux_io_uring_register */
3107 /* linux_open_tree */
3112 /* linux_move_mount */
3122 /* linux_fsconfig */
3137 /* linux_pidfd_open */
3147 /* linux_close_range */
3157 /* linux_pidfd_getfd */
3162 /* linux_faccessat2 */
3167 /* linux_process_madvise */
3172 /* linux_epoll_pwait2 */
3177 /* linux_mount_setattr */
3188 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3190 const char *p = NULL;
3192 #define nosys linux_nosys
3213 p = "userland char *";
3229 p = "userland char *";
3242 p = "userland char *";
3271 p = "userland l_int *";
3284 p = "userland char *";
3297 p = "userland char *";
3300 p = "userland char *";
3310 p = "userland char *";
3320 p = "userland char *";
3323 p = "userland uint32_t *";
3326 p = "userland uint32_t *";
3336 p = "userland char *";
3346 p = "userland l_time_t *";
3356 p = "userland char *";
3372 p = "userland char *";
3381 /* linux_lchown16 */
3385 p = "userland char *";
3401 p = "userland char *";
3404 p = "userland struct linux_stat *";
3433 p = "userland char *";
3436 p = "userland char *";
3439 p = "userland char *";
3445 p = "userland void *";
3451 /* linux_oldumount */
3455 p = "userland char *";
3461 /* linux_setuid16 */
3471 /* linux_getuid16 */
3513 p = "userland char *";
3516 p = "userland struct l_utimbuf *";
3526 p = "userland char *";
3565 p = "userland char *";
3568 p = "userland char *";
3578 p = "userland char *";
3591 p = "userland char *";
3611 p = "userland l_int *";
3621 p = "userland struct l_times_argv *";
3637 /* linux_setgid16 */
3647 /* linux_getgid16 */
3663 /* linux_geteuid16 */
3666 /* linux_getegid16 */
3673 p = "userland char *";
3683 p = "userland char *";
3737 /* linux_olduname */
3754 p = "userland char *";
3767 p = "userland struct l_ustat *";
3795 /* linux_sigaction */
3802 p = "userland l_osigaction_t *";
3805 p = "userland l_osigaction_t *";
3811 /* linux_sgetmask */
3814 /* linux_ssetmask */
3824 /* linux_setreuid16 */
3837 /* linux_setregid16 */
3850 /* linux_sigsuspend */
3866 /* linux_sigpending */
3870 p = "userland l_osigset_t *";
3876 /* linux_sethostname */
3880 p = "userland char *";
3889 /* linux_setrlimit */
3896 p = "userland struct l_rlimit *";
3902 /* linux_old_getrlimit */
3909 p = "userland struct l_rlimit *";
3915 /* linux_getrusage */
3922 p = "userland struct l_rusage *";
3928 /* linux_gettimeofday */
3932 p = "userland struct l_timeval *";
3935 p = "userland struct timezone *";
3941 /* linux_settimeofday */
3945 p = "userland struct l_timeval *";
3948 p = "userland struct timezone *";
3954 /* linux_getgroups16 */
3961 p = "userland l_gid16_t *";
3967 /* linux_setgroups16 */
3974 p = "userland l_gid16_t *";
3980 /* linux_old_select */
3984 p = "userland struct l_old_select_argv *";
3994 p = "userland char *";
3997 p = "userland char *";
4007 p = "userland char *";
4010 p = "userland struct linux_lstat *";
4016 /* linux_readlink */
4020 p = "userland char *";
4023 p = "userland char *";
4036 p = "userland char *";
4055 p = "userland void *";
4068 p = "userland struct l_dirent *";
4081 p = "userland struct l_mmap_argv *";
4100 /* linux_truncate */
4104 p = "userland char *";
4113 /* linux_ftruncate */
4155 /* linux_getpriority */
4188 p = "userland char *";
4191 p = "userland struct l_statfs_buf *";
4204 p = "userland struct l_statfs_buf *";
4210 /* linux_socketcall */
4230 p = "userland char *";
4239 /* linux_setitimer */
4246 p = "userland struct l_itimerval *";
4249 p = "userland struct l_itimerval *";
4255 /* linux_getitimer */
4262 p = "userland struct l_itimerval *";
4272 p = "userland char *";
4275 p = "userland struct l_newstat *";
4281 /* linux_newlstat */
4285 p = "userland char *";
4288 p = "userland struct l_newstat *";
4294 /* linux_newfstat */
4301 p = "userland struct l_newstat *";
4330 p = "userland l_int *";
4336 p = "userland struct l_rusage *";
4349 p = "userland struct l_sysinfo *";
4390 /* linux_sigreturn */
4394 p = "userland struct l_sigframe *";
4407 p = "userland void *";
4410 p = "userland void *";
4413 p = "userland void *";
4416 p = "userland void *";
4422 /* linux_setdomainname */
4426 p = "userland char *";
4435 /* linux_newuname */
4439 p = "userland struct l_new_utsname *";
4445 /* linux_adjtimex */
4448 /* linux_mprotect */
4464 /* linux_sigprocmask */
4471 p = "userland l_osigset_t *";
4474 p = "userland l_osigset_t *";
4480 /* linux_init_module */
4483 /* linux_delete_module */
4486 /* linux_quotactl */
4528 /* linux_personality */
4538 /* linux_setfsuid16 */
4548 /* linux_setfsgid16 */
4571 p = "userland l_loff_t *";
4580 /* linux_getdents */
4587 p = "userland void *";
4603 p = "userland l_fd_set *";
4606 p = "userland l_fd_set *";
4609 p = "userland l_fd_set *";
4612 p = "userland struct l_timeval *";
4654 p = "userland struct l_iovec32 *";
4670 p = "userland struct l_iovec32 *";
4689 /* linux_fdatasync */
4703 p = "userland struct l___sysctl_args *";
4713 p = "userland const void *";
4726 p = "userland const void *";
4748 /* linux_sched_setparam */
4755 p = "userland struct sched_param *";
4761 /* linux_sched_getparam */
4768 p = "userland struct sched_param *";
4774 /* linux_sched_setscheduler */
4784 p = "userland struct sched_param *";
4790 /* linux_sched_getscheduler */
4803 /* linux_sched_get_priority_max */
4813 /* linux_sched_get_priority_min */
4823 /* linux_sched_rr_get_interval */
4830 p = "userland struct l_timespec *";
4836 /* linux_nanosleep */
4840 p = "userland const struct l_timespec *";
4843 p = "userland struct l_timespec *";
4871 /* linux_setresuid16 */
4887 /* linux_getresuid16 */
4891 p = "userland l_uid16_t *";
4894 p = "userland l_uid16_t *";
4897 p = "userland l_uid16_t *";
4907 p = "userland struct pollfd *";
4919 /* linux_setresgid16 */
4935 /* linux_getresgid16 */
4939 p = "userland l_gid16_t *";
4942 p = "userland l_gid16_t *";
4945 p = "userland l_gid16_t *";
4973 /* linux_rt_sigreturn */
4977 p = "userland struct l_ucontext *";
4983 /* linux_rt_sigaction */
4990 p = "userland l_sigaction_t *";
4993 p = "userland l_sigaction_t *";
5002 /* linux_rt_sigprocmask */
5009 p = "userland l_sigset_t *";
5012 p = "userland l_sigset_t *";
5021 /* linux_rt_sigpending */
5025 p = "userland l_sigset_t *";
5034 /* linux_rt_sigtimedwait */
5038 p = "userland l_sigset_t *";
5041 p = "userland l_siginfo_t *";
5044 p = "userland struct l_timespec *";
5053 /* linux_rt_sigqueueinfo */
5063 p = "userland l_siginfo_t *";
5069 /* linux_rt_sigsuspend */
5073 p = "userland l_sigset_t *";
5089 p = "userland char *";
5111 p = "userland char *";
5130 p = "userland char *";
5146 p = "userland char *";
5159 p = "userland struct l_user_cap_header *";
5162 p = "userland struct l_user_cap_data *";
5172 p = "userland struct l_user_cap_header *";
5175 p = "userland struct l_user_cap_data *";
5181 /* linux_sigaltstack */
5185 p = "userland l_stack_t *";
5188 p = "userland l_stack_t *";
5194 /* linux_sendfile */
5204 p = "userland l_long *";
5216 /* linux_getrlimit */
5223 p = "userland struct l_rlimit *";
5254 /* linux_truncate64 */
5258 p = "userland char *";
5270 /* linux_ftruncate64 */
5290 p = "userland const char *";
5293 p = "userland struct l_stat64 *";
5303 p = "userland const char *";
5306 p = "userland struct l_stat64 *";
5319 p = "userland struct l_stat64 *";
5329 p = "userland char *";
5379 /* linux_getgroups */
5386 p = "userland l_gid_t *";
5392 /* linux_setgroups */
5399 p = "userland l_gid_t *";
5428 p = "userland uid_t *";
5431 p = "userland uid_t *";
5434 p = "userland uid_t *";
5460 p = "userland gid_t *";
5463 p = "userland gid_t *";
5466 p = "userland gid_t *";
5476 p = "userland char *";
5508 /* linux_setfsuid */
5518 /* linux_setfsgid */
5528 /* linux_pivot_root */
5532 p = "userland char *";
5535 p = "userland char *";
5551 p = "userland u_char *";
5561 p = "userland void *";
5573 /* linux_getdents64 */
5580 p = "userland void *";
5608 /* linux_setxattr */
5612 p = "userland const char *";
5615 p = "userland const char *";
5618 p = "userland const char *";
5630 /* linux_lsetxattr */
5634 p = "userland const char *";
5637 p = "userland const char *";
5640 p = "userland const char *";
5652 /* linux_fsetxattr */
5659 p = "userland const char *";
5662 p = "userland const char *";
5674 /* linux_getxattr */
5678 p = "userland const char *";
5681 p = "userland const char *";
5684 p = "userland char *";
5693 /* linux_lgetxattr */
5697 p = "userland const char *";
5700 p = "userland const char *";
5703 p = "userland char *";
5712 /* linux_fgetxattr */
5719 p = "userland const char *";
5722 p = "userland char *";
5731 /* linux_listxattr */
5735 p = "userland const char *";
5738 p = "userland const char *";
5747 /* linux_llistxattr */
5751 p = "userland const char *";
5754 p = "userland const char *";
5763 /* linux_flistxattr */
5770 p = "userland const char *";
5779 /* linux_removexattr */
5783 p = "userland const char *";
5786 p = "userland const char *";
5792 /* linux_lremovexattr */
5796 p = "userland const char *";
5799 p = "userland const char *";
5805 /* linux_fremovexattr */
5812 p = "userland const char *";
5831 /* linux_sendfile64 */
5841 p = "userland l_loff_t *";
5850 /* linux_sys_futex */
5854 p = "userland void *";
5863 p = "userland struct l_timespec *";
5866 p = "userland uint32_t *";
5875 /* linux_sched_setaffinity */
5885 p = "userland l_ulong *";
5891 /* linux_sched_getaffinity */
5901 p = "userland l_ulong *";
5907 /* linux_set_thread_area */
5911 p = "userland struct l_user_desc *";
5917 /* linux_fadvise64 */
5939 /* linux_exit_group */
5949 /* linux_lookup_dcookie */
5952 /* linux_epoll_create */
5962 /* linux_epoll_ctl */
5975 p = "userland struct epoll_event *";
5981 /* linux_epoll_wait */
5988 p = "userland struct epoll_event *";
6000 /* linux_remap_file_pages */
6003 /* linux_set_tid_address */
6007 p = "userland int *";
6013 /* linux_timer_create */
6020 p = "userland struct sigevent *";
6023 p = "userland l_timer_t *";
6029 /* linux_timer_settime */
6039 p = "userland const struct itimerspec *";
6042 p = "userland struct itimerspec *";
6048 /* linux_timer_gettime */
6055 p = "userland struct itimerspec *";
6061 /* linux_timer_getoverrun */
6071 /* linux_timer_delete */
6081 /* linux_clock_settime */
6088 p = "userland struct l_timespec *";
6094 /* linux_clock_gettime */
6101 p = "userland struct l_timespec *";
6107 /* linux_clock_getres */
6114 p = "userland struct l_timespec *";
6120 /* linux_clock_nanosleep */
6130 p = "userland struct l_timespec *";
6133 p = "userland struct l_timespec *";
6139 /* linux_statfs64 */
6143 p = "userland char *";
6149 p = "userland struct l_statfs64_buf *";
6155 /* linux_fstatfs64 */
6165 p = "userland struct l_statfs64_buf *";
6191 p = "userland char *";
6194 p = "userland struct l_timeval *";
6200 /* linux_fadvise64_64 */
6228 /* linux_get_mempolicy */
6231 /* linux_set_mempolicy */
6238 p = "userland const char *";
6247 p = "userland struct mq_attr *";
6253 /* linux_mq_unlink */
6257 p = "userland const char *";
6263 /* linux_mq_timedsend */
6270 p = "userland const char *";
6279 p = "userland const struct l_timespec *";
6285 /* linux_mq_timedreceive */
6292 p = "userland char *";
6298 p = "userland l_uint *";
6301 p = "userland const struct l_timespec *";
6307 /* linux_mq_notify */
6314 p = "userland const struct l_timespec *";
6320 /* linux_mq_getsetattr */
6327 p = "userland const struct mq_attr *";
6330 p = "userland struct mq_attr *";
6336 /* linux_kexec_load */
6349 p = "userland l_siginfo_t *";
6355 p = "userland struct l_rusage *";
6364 /* linux_request_key */
6370 /* linux_ioprio_set */
6373 /* linux_ioprio_get */
6376 /* linux_inotify_init */
6379 /* linux_inotify_add_watch */
6382 /* linux_inotify_rm_watch */
6385 /* linux_migrate_pages */
6395 p = "userland const char *";
6414 p = "userland const char *";
6430 p = "userland const char *";
6442 /* linux_fchownat */
6449 p = "userland const char *";
6464 /* linux_futimesat */
6471 p = "userland char *";
6474 p = "userland struct l_timeval *";
6480 /* linux_fstatat64 */
6487 p = "userland char *";
6490 p = "userland struct l_stat64 *";
6499 /* linux_unlinkat */
6506 p = "userland const char *";
6515 /* linux_renameat */
6522 p = "userland const char *";
6528 p = "userland const char *";
6541 p = "userland const char *";
6547 p = "userland const char *";
6556 /* linux_symlinkat */
6560 p = "userland const char *";
6566 p = "userland const char *";
6572 /* linux_readlinkat */
6579 p = "userland const char *";
6582 p = "userland char *";
6591 /* linux_fchmodat */
6598 p = "userland const char *";
6607 /* linux_faccessat */
6614 p = "userland const char *";
6623 /* linux_pselect6 */
6630 p = "userland l_fd_set *";
6633 p = "userland l_fd_set *";
6636 p = "userland l_fd_set *";
6639 p = "userland struct l_timespec *";
6642 p = "userland l_uintptr_t *";
6652 p = "userland struct pollfd *";
6658 p = "userland struct l_timespec *";
6661 p = "userland l_sigset_t *";
6673 /* linux_set_robust_list */
6677 p = "userland struct linux_robust_list_head *";
6686 /* linux_get_robust_list */
6693 p = "userland struct linux_robust_list_head **";
6696 p = "userland l_size_t *";
6709 p = "userland l_loff_t *";
6715 p = "userland l_loff_t *";
6727 /* linux_sync_file_range */
6755 /* linux_vmsplice */
6758 /* linux_move_pages */
6765 p = "userland l_uint *";
6768 p = "userland l_uint *";
6771 p = "userland void *";
6777 /* linux_epoll_pwait */
6784 p = "userland struct epoll_event *";
6793 p = "userland l_sigset_t *";
6802 /* linux_utimensat */
6809 p = "userland const char *";
6812 p = "userland const struct l_timespec *";
6821 /* linux_signalfd */
6824 /* linux_timerfd_create */
6847 /* linux_fallocate */
6872 /* linux_timerfd_settime */
6882 p = "userland const struct l_itimerspec *";
6885 p = "userland struct l_itimerspec *";
6891 /* linux_timerfd_gettime */
6898 p = "userland struct l_itimerspec *";
6904 /* linux_signalfd4 */
6907 /* linux_eventfd2 */
6920 /* linux_epoll_create1 */
6950 p = "userland l_int *";
6959 /* linux_inotify_init1 */
6969 p = "userland struct iovec *";
6991 p = "userland struct iovec *";
7006 /* linux_rt_tgsigqueueinfo */
7019 p = "userland l_siginfo_t *";
7025 /* linux_perf_event_open */
7028 /* linux_recvmmsg */
7035 p = "userland struct l_mmsghdr *";
7044 p = "userland struct l_timespec *";
7050 /* linux_fanotify_init */
7053 /* linux_fanotify_mark */
7056 /* linux_prlimit64 */
7066 p = "userland struct rlimit *";
7069 p = "userland struct rlimit *";
7075 /* linux_name_to_handle_at */
7082 p = "userland const char *";
7085 p = "userland struct l_file_handle *";
7088 p = "userland l_int *";
7097 /* linux_open_by_handle_at */
7104 p = "userland struct l_file_handle *";
7113 /* linux_clock_adjtime */
7126 /* linux_sendmmsg */
7133 p = "userland struct l_mmsghdr *";
7148 /* linux_process_vm_readv */
7155 p = "userland const struct iovec *";
7161 p = "userland const struct iovec *";
7173 /* linux_process_vm_writev */
7180 p = "userland const struct iovec *";
7186 p = "userland const struct iovec *";
7220 /* linux_finit_module */
7227 p = "userland const char *";
7236 /* linux_sched_setattr */
7243 p = "userland void *";
7252 /* linux_sched_getattr */
7259 p = "userland void *";
7271 /* linux_renameat2 */
7278 p = "userland const char *";
7284 p = "userland const char *";
7303 p = "userland const char *";
7309 /* linux_getrandom */
7313 p = "userland char *";
7325 /* linux_memfd_create */
7329 p = "userland const char *";
7345 p = "userland void *";
7354 /* linux_execveat */
7361 p = "userland const char *";
7364 p = "userland const char **";
7367 p = "userland const char **";
7392 /* linux_socketpair */
7475 /* linux_getsockopt */
7497 /* linux_setsockopt */
7519 /* linux_getsockname */
7535 /* linux_getpeername */
7592 /* linux_recvfrom */
7633 /* linux_shutdown */
7646 /* linux_userfaultfd */
7656 /* linux_membarrier */
7685 /* linux_copy_file_range */
7692 p = "userland l_loff_t *";
7698 p = "userland l_loff_t *";
7717 p = "userland const struct iovec *";
7735 /* linux_pwritev2 */
7742 p = "userland const struct iovec *";
7760 /* linux_pkey_mprotect */
7779 /* linux_pkey_alloc */
7792 /* linux_pkey_free */
7809 p = "userland const char *";
7818 p = "userland void *";
7824 /* linux_arch_prctl */
7837 /* linux_io_pgetevents */
7872 p = "union l_semun";
7904 p = "userland struct l_shmid_ds *";
7917 p = "userland char *";
7930 p = "userland char *";
7956 p = "userland struct l_msgbuf *";
7975 p = "userland struct l_msgbuf *";
8000 p = "userland struct l_msqid_ds *";
8006 /* linux_clock_gettime64 */
8013 p = "userland struct l_timespec64 *";
8019 /* linux_clock_settime64 */
8026 p = "userland struct l_timespec64 *";
8032 /* linux_clock_adjtime64 */
8035 /* linux_clock_getres_time64 */
8042 p = "userland struct l_timespec64 *";
8048 /* linux_clock_nanosleep_time64 */
8058 p = "userland struct l_timespec64 *";
8061 p = "userland struct l_timespec64 *";
8067 /* linux_timer_gettime64 */
8070 /* linux_timer_settime64 */
8073 /* linux_timerfd_gettime64 */
8076 /* linux_timerfd_settime64 */
8079 /* linux_utimensat_time64 */
8086 p = "userland const char *";
8089 p = "userland const struct l_timespec64 *";
8098 /* linux_pselect6_time64 */
8101 /* linux_ppoll_time64 */
8104 /* linux_io_pgetevents_time64 */
8107 /* linux_recvmmsg_time64 */
8110 /* linux_mq_timedsend_time64 */
8113 /* linux_mq_timedreceive_time64 */
8116 /* linux_semtimedop_time64 */
8119 /* linux_rt_sigtimedwait_time64 */
8122 /* linux_futex_time64 */
8125 /* linux_sched_rr_get_interval_time64 */
8128 /* linux_pidfd_send_signal */
8138 p = "userland l_siginfo_t *";
8147 /* linux_io_uring_setup */
8150 /* linux_io_uring_enter */
8153 /* linux_io_uring_register */
8156 /* linux_open_tree */
8159 /* linux_move_mount */
8165 /* linux_fsconfig */
8174 /* linux_pidfd_open */
8180 /* linux_close_range */
8186 /* linux_pidfd_getfd */
8189 /* linux_faccessat2 */
8192 /* linux_process_madvise */
8195 /* linux_epoll_pwait2 */
8198 /* linux_mount_setattr */
8205 strlcpy(desc, p, descsz);
8208 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8210 const char *p = NULL;
8212 #define nosys linux_nosys
8215 if (ndx == 0 || ndx == 1)
8222 if (ndx == 0 || ndx == 1)
8227 if (ndx == 0 || ndx == 1)
8232 if (ndx == 0 || ndx == 1)
8237 if (ndx == 0 || ndx == 1)
8242 if (ndx == 0 || ndx == 1)
8247 if (ndx == 0 || ndx == 1)
8252 if (ndx == 0 || ndx == 1)
8257 if (ndx == 0 || ndx == 1)
8262 if (ndx == 0 || ndx == 1)
8267 if (ndx == 0 || ndx == 1)
8272 if (ndx == 0 || ndx == 1)
8277 if (ndx == 0 || ndx == 1)
8282 if (ndx == 0 || ndx == 1)
8285 /* linux_lchown16 */
8287 if (ndx == 0 || ndx == 1)
8292 if (ndx == 0 || ndx == 1)
8297 if (ndx == 0 || ndx == 1)
8304 if (ndx == 0 || ndx == 1)
8307 /* linux_oldumount */
8309 if (ndx == 0 || ndx == 1)
8312 /* linux_setuid16 */
8314 if (ndx == 0 || ndx == 1)
8317 /* linux_getuid16 */
8323 if (ndx == 0 || ndx == 1)
8328 if (ndx == 0 || ndx == 1)
8335 if (ndx == 0 || ndx == 1)
8340 if (ndx == 0 || ndx == 1)
8345 if (ndx == 0 || ndx == 1)
8352 if (ndx == 0 || ndx == 1)
8357 if (ndx == 0 || ndx == 1)
8362 if (ndx == 0 || ndx == 1)
8367 if (ndx == 0 || ndx == 1)
8372 if (ndx == 0 || ndx == 1)
8377 if (ndx == 0 || ndx == 1)
8382 if (ndx == 0 || ndx == 1)
8387 if (ndx == 0 || ndx == 1)
8390 /* linux_setgid16 */
8392 if (ndx == 0 || ndx == 1)
8395 /* linux_getgid16 */
8399 if (ndx == 0 || ndx == 1)
8402 /* linux_geteuid16 */
8404 /* linux_getegid16 */
8408 if (ndx == 0 || ndx == 1)
8413 if (ndx == 0 || ndx == 1)
8418 if (ndx == 0 || ndx == 1)
8423 if (ndx == 0 || ndx == 1)
8428 if (ndx == 0 || ndx == 1)
8431 /* linux_olduname */
8435 if (ndx == 0 || ndx == 1)
8440 if (ndx == 0 || ndx == 1)
8445 if (ndx == 0 || ndx == 1)
8450 if (ndx == 0 || ndx == 1)
8459 /* linux_sigaction */
8461 if (ndx == 0 || ndx == 1)
8464 /* linux_sgetmask */
8466 /* linux_ssetmask */
8468 if (ndx == 0 || ndx == 1)
8471 /* linux_setreuid16 */
8473 if (ndx == 0 || ndx == 1)
8476 /* linux_setregid16 */
8478 if (ndx == 0 || ndx == 1)
8481 /* linux_sigsuspend */
8483 if (ndx == 0 || ndx == 1)
8486 /* linux_sigpending */
8488 if (ndx == 0 || ndx == 1)
8491 /* linux_sethostname */
8493 if (ndx == 0 || ndx == 1)
8496 /* linux_setrlimit */
8498 if (ndx == 0 || ndx == 1)
8501 /* linux_old_getrlimit */
8503 if (ndx == 0 || ndx == 1)
8506 /* linux_getrusage */
8508 if (ndx == 0 || ndx == 1)
8511 /* linux_gettimeofday */
8513 if (ndx == 0 || ndx == 1)
8516 /* linux_settimeofday */
8518 if (ndx == 0 || ndx == 1)
8521 /* linux_getgroups16 */
8523 if (ndx == 0 || ndx == 1)
8526 /* linux_setgroups16 */
8528 if (ndx == 0 || ndx == 1)
8531 /* linux_old_select */
8533 if (ndx == 0 || ndx == 1)
8538 if (ndx == 0 || ndx == 1)
8543 if (ndx == 0 || ndx == 1)
8546 /* linux_readlink */
8548 if (ndx == 0 || ndx == 1)
8553 if (ndx == 0 || ndx == 1)
8558 if (ndx == 0 || ndx == 1)
8563 if (ndx == 0 || ndx == 1)
8568 if (ndx == 0 || ndx == 1)
8573 if (ndx == 0 || ndx == 1)
8576 /* linux_truncate */
8578 if (ndx == 0 || ndx == 1)
8581 /* linux_ftruncate */
8583 if (ndx == 0 || ndx == 1)
8588 if (ndx == 0 || ndx == 1)
8593 if (ndx == 0 || ndx == 1)
8596 /* linux_getpriority */
8598 if (ndx == 0 || ndx == 1)
8603 if (ndx == 0 || ndx == 1)
8608 if (ndx == 0 || ndx == 1)
8613 if (ndx == 0 || ndx == 1)
8616 /* linux_socketcall */
8618 if (ndx == 0 || ndx == 1)
8623 if (ndx == 0 || ndx == 1)
8626 /* linux_setitimer */
8628 if (ndx == 0 || ndx == 1)
8631 /* linux_getitimer */
8633 if (ndx == 0 || ndx == 1)
8638 if (ndx == 0 || ndx == 1)
8641 /* linux_newlstat */
8643 if (ndx == 0 || ndx == 1)
8646 /* linux_newfstat */
8648 if (ndx == 0 || ndx == 1)
8655 if (ndx == 0 || ndx == 1)
8662 if (ndx == 0 || ndx == 1)
8669 if (ndx == 0 || ndx == 1)
8674 if (ndx == 0 || ndx == 1)
8679 if (ndx == 0 || ndx == 1)
8682 /* linux_sigreturn */
8684 if (ndx == 0 || ndx == 1)
8689 if (ndx == 0 || ndx == 1)
8692 /* linux_setdomainname */
8694 if (ndx == 0 || ndx == 1)
8697 /* linux_newuname */
8699 if (ndx == 0 || ndx == 1)
8702 /* linux_adjtimex */
8704 /* linux_mprotect */
8706 if (ndx == 0 || ndx == 1)
8709 /* linux_sigprocmask */
8711 if (ndx == 0 || ndx == 1)
8714 /* linux_init_module */
8716 /* linux_delete_module */
8718 /* linux_quotactl */
8722 if (ndx == 0 || ndx == 1)
8727 if (ndx == 0 || ndx == 1)
8734 if (ndx == 0 || ndx == 1)
8737 /* linux_personality */
8739 if (ndx == 0 || ndx == 1)
8742 /* linux_setfsuid16 */
8744 if (ndx == 0 || ndx == 1)
8747 /* linux_setfsgid16 */
8749 if (ndx == 0 || ndx == 1)
8754 if (ndx == 0 || ndx == 1)
8757 /* linux_getdents */
8759 if (ndx == 0 || ndx == 1)
8764 if (ndx == 0 || ndx == 1)
8769 if (ndx == 0 || ndx == 1)
8774 if (ndx == 0 || ndx == 1)
8779 if (ndx == 0 || ndx == 1)
8784 if (ndx == 0 || ndx == 1)
8789 if (ndx == 0 || ndx == 1)
8792 /* linux_fdatasync */
8794 if (ndx == 0 || ndx == 1)
8799 if (ndx == 0 || ndx == 1)
8804 if (ndx == 0 || ndx == 1)
8809 if (ndx == 0 || ndx == 1)
8814 if (ndx == 0 || ndx == 1)
8819 /* linux_sched_setparam */
8821 if (ndx == 0 || ndx == 1)
8824 /* linux_sched_getparam */
8826 if (ndx == 0 || ndx == 1)
8829 /* linux_sched_setscheduler */
8831 if (ndx == 0 || ndx == 1)
8834 /* linux_sched_getscheduler */
8836 if (ndx == 0 || ndx == 1)
8841 /* linux_sched_get_priority_max */
8843 if (ndx == 0 || ndx == 1)
8846 /* linux_sched_get_priority_min */
8848 if (ndx == 0 || ndx == 1)
8851 /* linux_sched_rr_get_interval */
8853 if (ndx == 0 || ndx == 1)
8856 /* linux_nanosleep */
8858 if (ndx == 0 || ndx == 1)
8863 if (ndx == 0 || ndx == 1)
8866 /* linux_setresuid16 */
8868 if (ndx == 0 || ndx == 1)
8871 /* linux_getresuid16 */
8873 if (ndx == 0 || ndx == 1)
8878 if (ndx == 0 || ndx == 1)
8881 /* linux_setresgid16 */
8883 if (ndx == 0 || ndx == 1)
8886 /* linux_getresgid16 */
8888 if (ndx == 0 || ndx == 1)
8893 if (ndx == 0 || ndx == 1)
8896 /* linux_rt_sigreturn */
8898 if (ndx == 0 || ndx == 1)
8901 /* linux_rt_sigaction */
8903 if (ndx == 0 || ndx == 1)
8906 /* linux_rt_sigprocmask */
8908 if (ndx == 0 || ndx == 1)
8911 /* linux_rt_sigpending */
8913 if (ndx == 0 || ndx == 1)
8916 /* linux_rt_sigtimedwait */
8918 if (ndx == 0 || ndx == 1)
8921 /* linux_rt_sigqueueinfo */
8923 if (ndx == 0 || ndx == 1)
8926 /* linux_rt_sigsuspend */
8928 if (ndx == 0 || ndx == 1)
8933 if (ndx == 0 || ndx == 1)
8938 if (ndx == 0 || ndx == 1)
8943 if (ndx == 0 || ndx == 1)
8948 if (ndx == 0 || ndx == 1)
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8961 /* linux_sigaltstack */
8963 if (ndx == 0 || ndx == 1)
8966 /* linux_sendfile */
8968 if (ndx == 0 || ndx == 1)
8973 /* linux_getrlimit */
8975 if (ndx == 0 || ndx == 1)
8980 if (ndx == 0 || ndx == 1)
8983 /* linux_truncate64 */
8985 if (ndx == 0 || ndx == 1)
8988 /* linux_ftruncate64 */
8990 if (ndx == 0 || ndx == 1)
8995 if (ndx == 0 || ndx == 1)
9000 if (ndx == 0 || ndx == 1)
9005 if (ndx == 0 || ndx == 1)
9010 if (ndx == 0 || ndx == 1)
9023 if (ndx == 0 || ndx == 1)
9028 if (ndx == 0 || ndx == 1)
9031 /* linux_getgroups */
9033 if (ndx == 0 || ndx == 1)
9036 /* linux_setgroups */
9038 if (ndx == 0 || ndx == 1)
9045 if (ndx == 0 || ndx == 1)
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 if (ndx == 0 || ndx == 1)
9078 /* linux_setfsuid */
9080 if (ndx == 0 || ndx == 1)
9083 /* linux_setfsgid */
9085 if (ndx == 0 || ndx == 1)
9088 /* linux_pivot_root */
9090 if (ndx == 0 || ndx == 1)
9095 if (ndx == 0 || ndx == 1)
9100 if (ndx == 0 || ndx == 1)
9103 /* linux_getdents64 */
9105 if (ndx == 0 || ndx == 1)
9110 if (ndx == 0 || ndx == 1)
9115 /* linux_setxattr */
9117 if (ndx == 0 || ndx == 1)
9120 /* linux_lsetxattr */
9122 if (ndx == 0 || ndx == 1)
9125 /* linux_fsetxattr */
9127 if (ndx == 0 || ndx == 1)
9130 /* linux_getxattr */
9132 if (ndx == 0 || ndx == 1)
9135 /* linux_lgetxattr */
9137 if (ndx == 0 || ndx == 1)
9140 /* linux_fgetxattr */
9142 if (ndx == 0 || ndx == 1)
9145 /* linux_listxattr */
9147 if (ndx == 0 || ndx == 1)
9150 /* linux_llistxattr */
9152 if (ndx == 0 || ndx == 1)
9155 /* linux_flistxattr */
9157 if (ndx == 0 || ndx == 1)
9160 /* linux_removexattr */
9162 if (ndx == 0 || ndx == 1)
9165 /* linux_lremovexattr */
9167 if (ndx == 0 || ndx == 1)
9170 /* linux_fremovexattr */
9172 if (ndx == 0 || ndx == 1)
9177 if (ndx == 0 || ndx == 1)
9180 /* linux_sendfile64 */
9182 if (ndx == 0 || ndx == 1)
9185 /* linux_sys_futex */
9187 if (ndx == 0 || ndx == 1)
9190 /* linux_sched_setaffinity */
9192 if (ndx == 0 || ndx == 1)
9195 /* linux_sched_getaffinity */
9197 if (ndx == 0 || ndx == 1)
9200 /* linux_set_thread_area */
9202 if (ndx == 0 || ndx == 1)
9205 /* linux_fadvise64 */
9207 if (ndx == 0 || ndx == 1)
9210 /* linux_exit_group */
9212 if (ndx == 0 || ndx == 1)
9215 /* linux_lookup_dcookie */
9217 /* linux_epoll_create */
9219 if (ndx == 0 || ndx == 1)
9222 /* linux_epoll_ctl */
9224 if (ndx == 0 || ndx == 1)
9227 /* linux_epoll_wait */
9229 if (ndx == 0 || ndx == 1)
9232 /* linux_remap_file_pages */
9234 /* linux_set_tid_address */
9236 if (ndx == 0 || ndx == 1)
9239 /* linux_timer_create */
9241 if (ndx == 0 || ndx == 1)
9244 /* linux_timer_settime */
9246 if (ndx == 0 || ndx == 1)
9249 /* linux_timer_gettime */
9251 if (ndx == 0 || ndx == 1)
9254 /* linux_timer_getoverrun */
9256 if (ndx == 0 || ndx == 1)
9259 /* linux_timer_delete */
9261 if (ndx == 0 || ndx == 1)
9264 /* linux_clock_settime */
9266 if (ndx == 0 || ndx == 1)
9269 /* linux_clock_gettime */
9271 if (ndx == 0 || ndx == 1)
9274 /* linux_clock_getres */
9276 if (ndx == 0 || ndx == 1)
9279 /* linux_clock_nanosleep */
9281 if (ndx == 0 || ndx == 1)
9284 /* linux_statfs64 */
9286 if (ndx == 0 || ndx == 1)
9289 /* linux_fstatfs64 */
9291 if (ndx == 0 || ndx == 1)
9296 if (ndx == 0 || ndx == 1)
9301 if (ndx == 0 || ndx == 1)
9304 /* linux_fadvise64_64 */
9306 if (ndx == 0 || ndx == 1)
9311 /* linux_get_mempolicy */
9313 /* linux_set_mempolicy */
9317 if (ndx == 0 || ndx == 1)
9320 /* linux_mq_unlink */
9322 if (ndx == 0 || ndx == 1)
9325 /* linux_mq_timedsend */
9327 if (ndx == 0 || ndx == 1)
9330 /* linux_mq_timedreceive */
9332 if (ndx == 0 || ndx == 1)
9335 /* linux_mq_notify */
9337 if (ndx == 0 || ndx == 1)
9340 /* linux_mq_getsetattr */
9342 if (ndx == 0 || ndx == 1)
9345 /* linux_kexec_load */
9349 if (ndx == 0 || ndx == 1)
9354 /* linux_request_key */
9358 /* linux_ioprio_set */
9360 /* linux_ioprio_get */
9362 /* linux_inotify_init */
9364 /* linux_inotify_add_watch */
9366 /* linux_inotify_rm_watch */
9368 /* linux_migrate_pages */
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
9382 if (ndx == 0 || ndx == 1)
9385 /* linux_fchownat */
9387 if (ndx == 0 || ndx == 1)
9390 /* linux_futimesat */
9392 if (ndx == 0 || ndx == 1)
9395 /* linux_fstatat64 */
9397 if (ndx == 0 || ndx == 1)
9400 /* linux_unlinkat */
9402 if (ndx == 0 || ndx == 1)
9405 /* linux_renameat */
9407 if (ndx == 0 || ndx == 1)
9412 if (ndx == 0 || ndx == 1)
9415 /* linux_symlinkat */
9417 if (ndx == 0 || ndx == 1)
9420 /* linux_readlinkat */
9422 if (ndx == 0 || ndx == 1)
9425 /* linux_fchmodat */
9427 if (ndx == 0 || ndx == 1)
9430 /* linux_faccessat */
9432 if (ndx == 0 || ndx == 1)
9435 /* linux_pselect6 */
9437 if (ndx == 0 || ndx == 1)
9442 if (ndx == 0 || ndx == 1)
9447 /* linux_set_robust_list */
9449 if (ndx == 0 || ndx == 1)
9452 /* linux_get_robust_list */
9454 if (ndx == 0 || ndx == 1)
9459 if (ndx == 0 || ndx == 1)
9462 /* linux_sync_file_range */
9464 if (ndx == 0 || ndx == 1)
9469 /* linux_vmsplice */
9471 /* linux_move_pages */
9475 if (ndx == 0 || ndx == 1)
9478 /* linux_epoll_pwait */
9480 if (ndx == 0 || ndx == 1)
9483 /* linux_utimensat */
9485 if (ndx == 0 || ndx == 1)
9488 /* linux_signalfd */
9490 /* linux_timerfd_create */
9492 if (ndx == 0 || ndx == 1)
9497 if (ndx == 0 || ndx == 1)
9500 /* linux_fallocate */
9502 if (ndx == 0 || ndx == 1)
9505 /* linux_timerfd_settime */
9507 if (ndx == 0 || ndx == 1)
9510 /* linux_timerfd_gettime */
9512 if (ndx == 0 || ndx == 1)
9515 /* linux_signalfd4 */
9517 /* linux_eventfd2 */
9519 if (ndx == 0 || ndx == 1)
9522 /* linux_epoll_create1 */
9524 if (ndx == 0 || ndx == 1)
9529 if (ndx == 0 || ndx == 1)
9534 if (ndx == 0 || ndx == 1)
9537 /* linux_inotify_init1 */
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9549 /* linux_rt_tgsigqueueinfo */
9551 if (ndx == 0 || ndx == 1)
9554 /* linux_perf_event_open */
9556 /* linux_recvmmsg */
9558 if (ndx == 0 || ndx == 1)
9561 /* linux_fanotify_init */
9563 /* linux_fanotify_mark */
9565 /* linux_prlimit64 */
9567 if (ndx == 0 || ndx == 1)
9570 /* linux_name_to_handle_at */
9572 if (ndx == 0 || ndx == 1)
9575 /* linux_open_by_handle_at */
9577 if (ndx == 0 || ndx == 1)
9580 /* linux_clock_adjtime */
9584 if (ndx == 0 || ndx == 1)
9587 /* linux_sendmmsg */
9589 if (ndx == 0 || ndx == 1)
9594 /* linux_process_vm_readv */
9596 if (ndx == 0 || ndx == 1)
9599 /* linux_process_vm_writev */
9601 if (ndx == 0 || ndx == 1)
9606 if (ndx == 0 || ndx == 1)
9609 /* linux_finit_module */
9611 if (ndx == 0 || ndx == 1)
9614 /* linux_sched_setattr */
9616 if (ndx == 0 || ndx == 1)
9619 /* linux_sched_getattr */
9621 if (ndx == 0 || ndx == 1)
9624 /* linux_renameat2 */
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9634 /* linux_getrandom */
9636 if (ndx == 0 || ndx == 1)
9639 /* linux_memfd_create */
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9649 /* linux_execveat */
9651 if (ndx == 0 || ndx == 1)
9656 if (ndx == 0 || ndx == 1)
9659 /* linux_socketpair */
9661 if (ndx == 0 || ndx == 1)
9666 if (ndx == 0 || ndx == 1)
9671 if (ndx == 0 || ndx == 1)
9676 if (ndx == 0 || ndx == 1)
9681 if (ndx == 0 || ndx == 1)
9684 /* linux_getsockopt */
9686 if (ndx == 0 || ndx == 1)
9689 /* linux_setsockopt */
9691 if (ndx == 0 || ndx == 1)
9694 /* linux_getsockname */
9696 if (ndx == 0 || ndx == 1)
9699 /* linux_getpeername */
9701 if (ndx == 0 || ndx == 1)
9706 if (ndx == 0 || ndx == 1)
9711 if (ndx == 0 || ndx == 1)
9714 /* linux_recvfrom */
9716 if (ndx == 0 || ndx == 1)
9721 if (ndx == 0 || ndx == 1)
9724 /* linux_shutdown */
9726 if (ndx == 0 || ndx == 1)
9729 /* linux_userfaultfd */
9731 if (ndx == 0 || ndx == 1)
9734 /* linux_membarrier */
9736 if (ndx == 0 || ndx == 1)
9741 if (ndx == 0 || ndx == 1)
9744 /* linux_copy_file_range */
9746 if (ndx == 0 || ndx == 1)
9751 if (ndx == 0 || ndx == 1)
9754 /* linux_pwritev2 */
9756 if (ndx == 0 || ndx == 1)
9759 /* linux_pkey_mprotect */
9761 if (ndx == 0 || ndx == 1)
9764 /* linux_pkey_alloc */
9766 if (ndx == 0 || ndx == 1)
9769 /* linux_pkey_free */
9771 if (ndx == 0 || ndx == 1)
9776 if (ndx == 0 || ndx == 1)
9779 /* linux_arch_prctl */
9781 if (ndx == 0 || ndx == 1)
9784 /* linux_io_pgetevents */
9790 if (ndx == 0 || ndx == 1)
9795 if (ndx == 0 || ndx == 1)
9800 if (ndx == 0 || ndx == 1)
9805 if (ndx == 0 || ndx == 1)
9810 if (ndx == 0 || ndx == 1)
9815 if (ndx == 0 || ndx == 1)
9820 if (ndx == 0 || ndx == 1)
9825 if (ndx == 0 || ndx == 1)
9830 if (ndx == 0 || ndx == 1)
9835 if (ndx == 0 || ndx == 1)
9838 /* linux_clock_gettime64 */
9840 if (ndx == 0 || ndx == 1)
9843 /* linux_clock_settime64 */
9845 if (ndx == 0 || ndx == 1)
9848 /* linux_clock_adjtime64 */
9850 /* linux_clock_getres_time64 */
9852 if (ndx == 0 || ndx == 1)
9855 /* linux_clock_nanosleep_time64 */
9857 if (ndx == 0 || ndx == 1)
9860 /* linux_timer_gettime64 */
9862 /* linux_timer_settime64 */
9864 /* linux_timerfd_gettime64 */
9866 /* linux_timerfd_settime64 */
9868 /* linux_utimensat_time64 */
9870 if (ndx == 0 || ndx == 1)
9873 /* linux_pselect6_time64 */
9875 /* linux_ppoll_time64 */
9877 /* linux_io_pgetevents_time64 */
9879 /* linux_recvmmsg_time64 */
9881 /* linux_mq_timedsend_time64 */
9883 /* linux_mq_timedreceive_time64 */
9885 /* linux_semtimedop_time64 */
9887 /* linux_rt_sigtimedwait_time64 */
9889 /* linux_futex_time64 */
9891 /* linux_sched_rr_get_interval_time64 */
9893 /* linux_pidfd_send_signal */
9895 if (ndx == 0 || ndx == 1)
9898 /* linux_io_uring_setup */
9900 /* linux_io_uring_enter */
9902 /* linux_io_uring_register */
9904 /* linux_open_tree */
9906 /* linux_move_mount */
9910 /* linux_fsconfig */
9916 /* linux_pidfd_open */
9920 /* linux_close_range */
9924 /* linux_pidfd_getfd */
9926 /* linux_faccessat2 */
9928 /* linux_process_madvise */
9930 /* linux_epoll_pwait2 */
9932 /* linux_mount_setattr */
9938 strlcpy(desc, p, descsz);