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; /* char ** */
98 uarg[2] = (intptr_t)p->envp; /* char ** */
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 */
218 struct linux_fstat_args *p = params;
219 iarg[0] = p->fd; /* l_uint */
220 uarg[1] = (intptr_t)p->up; /* struct linux_stat * */
231 struct linux_utime_args *p = params;
232 uarg[0] = (intptr_t)p->fname; /* char * */
233 uarg[1] = (intptr_t)p->times; /* struct l_utimbuf * */
239 struct linux_access_args *p = params;
240 uarg[0] = (intptr_t)p->path; /* char * */
241 iarg[1] = p->amode; /* l_int */
247 struct linux_nice_args *p = params;
248 iarg[0] = p->inc; /* l_int */
259 struct linux_kill_args *p = params;
260 iarg[0] = p->pid; /* l_int */
261 iarg[1] = p->signum; /* l_int */
267 struct linux_rename_args *p = params;
268 uarg[0] = (intptr_t)p->from; /* char * */
269 uarg[1] = (intptr_t)p->to; /* char * */
275 struct linux_mkdir_args *p = params;
276 uarg[0] = (intptr_t)p->path; /* char * */
277 iarg[1] = p->mode; /* l_int */
283 struct linux_rmdir_args *p = params;
284 uarg[0] = (intptr_t)p->path; /* char * */
290 struct dup_args *p = params;
291 uarg[0] = p->fd; /* u_int */
297 struct linux_pipe_args *p = params;
298 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
304 struct linux_times_args *p = params;
305 uarg[0] = (intptr_t)p->buf; /* struct l_times_argv * */
311 struct linux_brk_args *p = params;
312 iarg[0] = p->dsend; /* l_ulong */
318 struct linux_setgid16_args *p = params;
319 iarg[0] = p->gid; /* l_gid16_t */
330 struct linux_signal_args *p = params;
331 iarg[0] = p->sig; /* l_int */
332 uarg[1] = (intptr_t)p->handler; /* void * */
336 /* linux_geteuid16 */
341 /* linux_getegid16 */
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t)p->path; /* char * */
355 struct linux_umount_args *p = params;
356 uarg[0] = (intptr_t)p->path; /* char * */
357 iarg[1] = p->flags; /* l_int */
363 struct linux_ioctl_args *p = params;
364 iarg[0] = p->fd; /* l_uint */
365 iarg[1] = p->cmd; /* l_uint */
366 iarg[2] = p->arg; /* l_ulong */
372 struct linux_fcntl_args *p = params;
373 iarg[0] = p->fd; /* l_uint */
374 iarg[1] = p->cmd; /* l_uint */
375 iarg[2] = p->arg; /* l_ulong */
381 struct setpgid_args *p = params;
382 iarg[0] = p->pid; /* int */
383 iarg[1] = p->pgid; /* int */
394 struct umask_args *p = params;
395 iarg[0] = p->newmask; /* int */
401 struct chroot_args *p = params;
402 uarg[0] = (intptr_t)p->path; /* char * */
408 struct linux_ustat_args *p = params;
409 iarg[0] = p->dev; /* l_dev_t */
410 uarg[1] = (intptr_t)p->ubuf; /* struct l_ustat * */
416 struct dup2_args *p = params;
417 uarg[0] = p->from; /* u_int */
418 uarg[1] = p->to; /* u_int */
437 /* linux_sigaction */
439 struct linux_sigaction_args *p = params;
440 iarg[0] = p->sig; /* l_int */
441 uarg[1] = (intptr_t)p->nsa; /* l_osigaction_t * */
442 uarg[2] = (intptr_t)p->osa; /* l_osigaction_t * */
453 struct linux_ssetmask_args *p = params;
454 iarg[0] = p->mask; /* l_osigset_t */
458 /* linux_setreuid16 */
460 struct linux_setreuid16_args *p = params;
461 iarg[0] = p->ruid; /* l_uid16_t */
462 iarg[1] = p->euid; /* l_uid16_t */
466 /* linux_setregid16 */
468 struct linux_setregid16_args *p = params;
469 iarg[0] = p->rgid; /* l_gid16_t */
470 iarg[1] = p->egid; /* l_gid16_t */
474 /* linux_sigsuspend */
476 struct linux_sigsuspend_args *p = params;
477 iarg[0] = p->hist0; /* l_int */
478 iarg[1] = p->hist1; /* l_int */
479 iarg[2] = p->mask; /* l_osigset_t */
483 /* linux_sigpending */
485 struct linux_sigpending_args *p = params;
486 uarg[0] = (intptr_t)p->mask; /* l_osigset_t * */
490 /* linux_sethostname */
492 struct linux_sethostname_args *p = params;
493 uarg[0] = (intptr_t)p->hostname; /* char * */
494 uarg[1] = p->len; /* u_int */
498 /* linux_setrlimit */
500 struct linux_setrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
506 /* linux_old_getrlimit */
508 struct linux_old_getrlimit_args *p = params;
509 iarg[0] = p->resource; /* l_uint */
510 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
516 struct getrusage_args *p = params;
517 iarg[0] = p->who; /* int */
518 uarg[1] = (intptr_t)p->rusage; /* struct rusage * */
524 struct gettimeofday_args *p = params;
525 uarg[0] = (intptr_t)p->tp; /* struct timeval * */
526 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
532 struct settimeofday_args *p = params;
533 uarg[0] = (intptr_t)p->tv; /* struct timeval * */
534 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
538 /* linux_getgroups16 */
540 struct linux_getgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t)p->gidset; /* l_gid16_t * */
546 /* linux_setgroups16 */
548 struct linux_setgroups16_args *p = params;
549 iarg[0] = p->gidsetsize; /* l_uint */
550 uarg[1] = (intptr_t)p->gidset; /* l_gid16_t * */
554 /* linux_old_select */
556 struct linux_old_select_args *p = params;
557 uarg[0] = (intptr_t)p->ptr; /* struct l_old_select_argv * */
563 struct linux_symlink_args *p = params;
564 uarg[0] = (intptr_t)p->path; /* char * */
565 uarg[1] = (intptr_t)p->to; /* char * */
571 struct linux_lstat_args *p = params;
572 uarg[0] = (intptr_t)p->path; /* char * */
573 uarg[1] = (intptr_t)p->up; /* struct l_stat * */
579 struct linux_readlink_args *p = params;
580 uarg[0] = (intptr_t)p->name; /* char * */
581 uarg[1] = (intptr_t)p->buf; /* char * */
582 iarg[2] = p->count; /* l_int */
588 struct linux_uselib_args *p = params;
589 uarg[0] = (intptr_t)p->library; /* char * */
595 struct swapon_args *p = params;
596 uarg[0] = (intptr_t)p->name; /* char * */
602 struct linux_reboot_args *p = params;
603 iarg[0] = p->magic1; /* l_int */
604 iarg[1] = p->magic2; /* l_int */
605 iarg[2] = p->cmd; /* l_uint */
606 uarg[3] = (intptr_t)p->arg; /* void * */
612 struct linux_readdir_args *p = params;
613 iarg[0] = p->fd; /* l_uint */
614 uarg[1] = (intptr_t)p->dent; /* struct l_dirent * */
615 iarg[2] = p->count; /* l_uint */
621 struct linux_mmap_args *p = params;
622 uarg[0] = (intptr_t)p->ptr; /* struct l_mmap_argv * */
628 struct munmap_args *p = params;
629 uarg[0] = (intptr_t)p->addr; /* caddr_t */
630 iarg[1] = p->len; /* int */
636 struct linux_truncate_args *p = params;
637 uarg[0] = (intptr_t)p->path; /* char * */
638 iarg[1] = p->length; /* l_ulong */
642 /* linux_ftruncate */
644 struct linux_ftruncate_args *p = params;
645 iarg[0] = p->fd; /* int */
646 iarg[1] = p->length; /* long */
652 struct fchmod_args *p = params;
653 iarg[0] = p->fd; /* int */
654 iarg[1] = p->mode; /* int */
660 struct fchown_args *p = params;
661 iarg[0] = p->fd; /* int */
662 iarg[1] = p->uid; /* int */
663 iarg[2] = p->gid; /* int */
667 /* linux_getpriority */
669 struct linux_getpriority_args *p = params;
670 iarg[0] = p->which; /* int */
671 iarg[1] = p->who; /* int */
677 struct setpriority_args *p = params;
678 iarg[0] = p->which; /* int */
679 iarg[1] = p->who; /* int */
680 iarg[2] = p->prio; /* int */
686 struct linux_statfs_args *p = params;
687 uarg[0] = (intptr_t)p->path; /* char * */
688 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
694 struct linux_fstatfs_args *p = params;
695 iarg[0] = p->fd; /* l_uint */
696 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
702 struct linux_ioperm_args *p = params;
703 iarg[0] = p->start; /* l_ulong */
704 iarg[1] = p->length; /* l_ulong */
705 iarg[2] = p->enable; /* l_int */
709 /* linux_socketcall */
711 struct linux_socketcall_args *p = params;
712 iarg[0] = p->what; /* l_int */
713 iarg[1] = p->args; /* l_ulong */
719 struct linux_syslog_args *p = params;
720 iarg[0] = p->type; /* l_int */
721 uarg[1] = (intptr_t)p->buf; /* char * */
722 iarg[2] = p->len; /* l_int */
726 /* linux_setitimer */
728 struct linux_setitimer_args *p = params;
729 iarg[0] = p->which; /* l_int */
730 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
731 uarg[2] = (intptr_t)p->oitv; /* struct l_itimerval * */
735 /* linux_getitimer */
737 struct linux_getitimer_args *p = params;
738 iarg[0] = p->which; /* l_int */
739 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
745 struct linux_newstat_args *p = params;
746 uarg[0] = (intptr_t)p->path; /* char * */
747 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
753 struct linux_newlstat_args *p = params;
754 uarg[0] = (intptr_t)p->path; /* char * */
755 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
761 struct linux_newfstat_args *p = params;
762 iarg[0] = p->fd; /* l_uint */
763 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
774 struct linux_iopl_args *p = params;
775 iarg[0] = p->level; /* l_int */
791 struct linux_wait4_args *p = params;
792 iarg[0] = p->pid; /* l_pid_t */
793 uarg[1] = (intptr_t)p->status; /* l_int * */
794 iarg[2] = p->options; /* l_int */
795 uarg[3] = (intptr_t)p->rusage; /* void * */
806 struct linux_sysinfo_args *p = params;
807 uarg[0] = (intptr_t)p->info; /* struct l_sysinfo * */
813 struct linux_ipc_args *p = params;
814 iarg[0] = p->what; /* l_uint */
815 iarg[1] = p->arg1; /* l_int */
816 iarg[2] = p->arg2; /* l_int */
817 iarg[3] = p->arg3; /* l_uint */
818 iarg[4] = p->ptr; /* l_uintptr_t */
819 iarg[5] = p->arg5; /* l_uint */
825 struct fsync_args *p = params;
826 iarg[0] = p->fd; /* int */
830 /* linux_sigreturn */
832 struct linux_sigreturn_args *p = params;
833 uarg[0] = (intptr_t)p->sfp; /* struct l_sigframe * */
839 struct linux_clone_args *p = params;
840 iarg[0] = p->flags; /* l_int */
841 uarg[1] = (intptr_t)p->stack; /* void * */
842 uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
843 uarg[3] = (intptr_t)p->tls; /* void * */
844 uarg[4] = (intptr_t)p->child_tidptr; /* void * */
848 /* linux_setdomainname */
850 struct linux_setdomainname_args *p = params;
851 uarg[0] = (intptr_t)p->name; /* char * */
852 iarg[1] = p->len; /* int */
858 struct linux_newuname_args *p = params;
859 uarg[0] = (intptr_t)p->buf; /* struct l_new_utsname * */
863 /* linux_modify_ldt */
865 struct linux_modify_ldt_args *p = params;
866 iarg[0] = p->func; /* l_int */
867 uarg[1] = (intptr_t)p->ptr; /* void * */
868 iarg[2] = p->bytecount; /* l_ulong */
879 struct linux_mprotect_args *p = params;
880 uarg[0] = (intptr_t)p->addr; /* caddr_t */
881 iarg[1] = p->len; /* int */
882 iarg[2] = p->prot; /* int */
886 /* linux_sigprocmask */
888 struct linux_sigprocmask_args *p = params;
889 iarg[0] = p->how; /* l_int */
890 uarg[1] = (intptr_t)p->mask; /* l_osigset_t * */
891 uarg[2] = (intptr_t)p->omask; /* l_osigset_t * */
895 /* linux_init_module */
900 /* linux_delete_module */
912 struct getpgid_args *p = params;
913 iarg[0] = p->pid; /* int */
919 struct fchdir_args *p = params;
920 iarg[0] = p->fd; /* int */
931 struct linux_sysfs_args *p = params;
932 iarg[0] = p->option; /* l_int */
933 iarg[1] = p->arg1; /* l_ulong */
934 iarg[2] = p->arg2; /* l_ulong */
938 /* linux_personality */
940 struct linux_personality_args *p = params;
941 iarg[0] = p->per; /* l_uint */
945 /* linux_setfsuid16 */
947 struct linux_setfsuid16_args *p = params;
948 iarg[0] = p->uid; /* l_uid16_t */
952 /* linux_setfsgid16 */
954 struct linux_setfsgid16_args *p = params;
955 iarg[0] = p->gid; /* l_gid16_t */
961 struct linux_llseek_args *p = params;
962 iarg[0] = p->fd; /* l_int */
963 iarg[1] = p->ohigh; /* l_ulong */
964 iarg[2] = p->olow; /* l_ulong */
965 uarg[3] = (intptr_t)p->res; /* l_loff_t * */
966 iarg[4] = p->whence; /* l_uint */
972 struct linux_getdents_args *p = params;
973 iarg[0] = p->fd; /* l_uint */
974 uarg[1] = (intptr_t)p->dent; /* void * */
975 iarg[2] = p->count; /* l_uint */
981 struct linux_select_args *p = params;
982 iarg[0] = p->nfds; /* l_int */
983 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
984 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
985 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
986 uarg[4] = (intptr_t)p->timeout; /* struct l_timeval * */
992 struct flock_args *p = params;
993 iarg[0] = p->fd; /* int */
994 iarg[1] = p->how; /* int */
1000 struct linux_msync_args *p = params;
1001 iarg[0] = p->addr; /* l_ulong */
1002 iarg[1] = p->len; /* l_size_t */
1003 iarg[2] = p->fl; /* l_int */
1009 struct readv_args *p = params;
1010 iarg[0] = p->fd; /* int */
1011 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
1012 uarg[2] = p->iovcnt; /* u_int */
1018 struct writev_args *p = params;
1019 iarg[0] = p->fd; /* int */
1020 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
1021 uarg[2] = p->iovcnt; /* u_int */
1027 struct linux_getsid_args *p = params;
1028 iarg[0] = p->pid; /* l_pid_t */
1032 /* linux_fdatasync */
1034 struct linux_fdatasync_args *p = params;
1035 iarg[0] = p->fd; /* l_uint */
1041 struct linux_sysctl_args *p = params;
1042 uarg[0] = (intptr_t)p->args; /* struct l___sysctl_args * */
1048 struct mlock_args *p = params;
1049 uarg[0] = (intptr_t)p->addr; /* const void * */
1050 uarg[1] = p->len; /* size_t */
1056 struct munlock_args *p = params;
1057 uarg[0] = (intptr_t)p->addr; /* const void * */
1058 uarg[1] = p->len; /* size_t */
1064 struct mlockall_args *p = params;
1065 iarg[0] = p->how; /* int */
1074 /* linux_sched_setparam */
1076 struct linux_sched_setparam_args *p = params;
1077 iarg[0] = p->pid; /* l_pid_t */
1078 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
1082 /* linux_sched_getparam */
1084 struct linux_sched_getparam_args *p = params;
1085 iarg[0] = p->pid; /* l_pid_t */
1086 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
1090 /* linux_sched_setscheduler */
1092 struct linux_sched_setscheduler_args *p = params;
1093 iarg[0] = p->pid; /* l_pid_t */
1094 iarg[1] = p->policy; /* l_int */
1095 uarg[2] = (intptr_t)p->param; /* struct sched_param * */
1099 /* linux_sched_getscheduler */
1101 struct linux_sched_getscheduler_args *p = params;
1102 iarg[0] = p->pid; /* l_pid_t */
1111 /* linux_sched_get_priority_max */
1113 struct linux_sched_get_priority_max_args *p = params;
1114 iarg[0] = p->policy; /* l_int */
1118 /* linux_sched_get_priority_min */
1120 struct linux_sched_get_priority_min_args *p = params;
1121 iarg[0] = p->policy; /* l_int */
1125 /* linux_sched_rr_get_interval */
1127 struct linux_sched_rr_get_interval_args *p = params;
1128 iarg[0] = p->pid; /* l_pid_t */
1129 uarg[1] = (intptr_t)p->interval; /* struct l_timespec * */
1133 /* linux_nanosleep */
1135 struct linux_nanosleep_args *p = params;
1136 uarg[0] = (intptr_t)p->rqtp; /* const struct l_timespec * */
1137 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */
1143 struct linux_mremap_args *p = params;
1144 iarg[0] = p->addr; /* l_ulong */
1145 iarg[1] = p->old_len; /* l_ulong */
1146 iarg[2] = p->new_len; /* l_ulong */
1147 iarg[3] = p->flags; /* l_ulong */
1148 iarg[4] = p->new_addr; /* l_ulong */
1152 /* linux_setresuid16 */
1154 struct linux_setresuid16_args *p = params;
1155 iarg[0] = p->ruid; /* l_uid16_t */
1156 iarg[1] = p->euid; /* l_uid16_t */
1157 iarg[2] = p->suid; /* l_uid16_t */
1161 /* linux_getresuid16 */
1163 struct linux_getresuid16_args *p = params;
1164 uarg[0] = (intptr_t)p->ruid; /* l_uid16_t * */
1165 uarg[1] = (intptr_t)p->euid; /* l_uid16_t * */
1166 uarg[2] = (intptr_t)p->suid; /* l_uid16_t * */
1177 struct poll_args *p = params;
1178 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
1179 uarg[1] = p->nfds; /* unsigned int */
1180 iarg[2] = p->timeout; /* long */
1184 /* linux_setresgid16 */
1186 struct linux_setresgid16_args *p = params;
1187 iarg[0] = p->rgid; /* l_gid16_t */
1188 iarg[1] = p->egid; /* l_gid16_t */
1189 iarg[2] = p->sgid; /* l_gid16_t */
1193 /* linux_getresgid16 */
1195 struct linux_getresgid16_args *p = params;
1196 uarg[0] = (intptr_t)p->rgid; /* l_gid16_t * */
1197 uarg[1] = (intptr_t)p->egid; /* l_gid16_t * */
1198 uarg[2] = (intptr_t)p->sgid; /* l_gid16_t * */
1204 struct linux_prctl_args *p = params;
1205 iarg[0] = p->option; /* l_int */
1206 iarg[1] = p->arg2; /* l_int */
1207 iarg[2] = p->arg3; /* l_int */
1208 iarg[3] = p->arg4; /* l_int */
1209 iarg[4] = p->arg5; /* l_int */
1213 /* linux_rt_sigreturn */
1215 struct linux_rt_sigreturn_args *p = params;
1216 uarg[0] = (intptr_t)p->ucp; /* struct l_ucontext * */
1220 /* linux_rt_sigaction */
1222 struct linux_rt_sigaction_args *p = params;
1223 iarg[0] = p->sig; /* l_int */
1224 uarg[1] = (intptr_t)p->act; /* l_sigaction_t * */
1225 uarg[2] = (intptr_t)p->oact; /* l_sigaction_t * */
1226 iarg[3] = p->sigsetsize; /* l_size_t */
1230 /* linux_rt_sigprocmask */
1232 struct linux_rt_sigprocmask_args *p = params;
1233 iarg[0] = p->how; /* l_int */
1234 uarg[1] = (intptr_t)p->mask; /* l_sigset_t * */
1235 uarg[2] = (intptr_t)p->omask; /* l_sigset_t * */
1236 iarg[3] = p->sigsetsize; /* l_size_t */
1240 /* linux_rt_sigpending */
1242 struct linux_rt_sigpending_args *p = params;
1243 uarg[0] = (intptr_t)p->set; /* l_sigset_t * */
1244 iarg[1] = p->sigsetsize; /* l_size_t */
1248 /* linux_rt_sigtimedwait */
1250 struct linux_rt_sigtimedwait_args *p = params;
1251 uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */
1252 uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */
1253 uarg[2] = (intptr_t)p->timeout; /* struct l_timeval * */
1254 iarg[3] = p->sigsetsize; /* l_size_t */
1258 /* linux_rt_sigqueueinfo */
1260 struct linux_rt_sigqueueinfo_args *p = params;
1261 iarg[0] = p->pid; /* l_pid_t */
1262 iarg[1] = p->sig; /* l_int */
1263 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
1267 /* linux_rt_sigsuspend */
1269 struct linux_rt_sigsuspend_args *p = params;
1270 uarg[0] = (intptr_t)p->newset; /* l_sigset_t * */
1271 iarg[1] = p->sigsetsize; /* l_size_t */
1277 struct linux_pread_args *p = params;
1278 iarg[0] = p->fd; /* l_uint */
1279 uarg[1] = (intptr_t)p->buf; /* char * */
1280 iarg[2] = p->nbyte; /* l_size_t */
1281 iarg[3] = p->offset; /* l_loff_t */
1287 struct linux_pwrite_args *p = params;
1288 iarg[0] = p->fd; /* l_uint */
1289 uarg[1] = (intptr_t)p->buf; /* char * */
1290 iarg[2] = p->nbyte; /* l_size_t */
1291 iarg[3] = p->offset; /* l_loff_t */
1297 struct linux_chown16_args *p = params;
1298 uarg[0] = (intptr_t)p->path; /* char * */
1299 iarg[1] = p->uid; /* l_uid16_t */
1300 iarg[2] = p->gid; /* l_gid16_t */
1306 struct linux_getcwd_args *p = params;
1307 uarg[0] = (intptr_t)p->buf; /* char * */
1308 iarg[1] = p->bufsize; /* l_ulong */
1314 struct linux_capget_args *p = params;
1315 uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1316 uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */
1322 struct linux_capset_args *p = params;
1323 uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1324 uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */
1328 /* linux_sigaltstack */
1330 struct linux_sigaltstack_args *p = params;
1331 uarg[0] = (intptr_t)p->uss; /* l_stack_t * */
1332 uarg[1] = (intptr_t)p->uoss; /* l_stack_t * */
1336 /* linux_sendfile */
1338 struct linux_sendfile_args *p = params;
1339 iarg[0] = p->out; /* l_int */
1340 iarg[1] = p->in; /* l_int */
1341 uarg[2] = (intptr_t)p->offset; /* l_long * */
1342 iarg[3] = p->count; /* l_size_t */
1351 /* linux_getrlimit */
1353 struct linux_getrlimit_args *p = params;
1354 iarg[0] = p->resource; /* l_uint */
1355 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
1361 struct linux_mmap2_args *p = params;
1362 iarg[0] = p->addr; /* l_ulong */
1363 iarg[1] = p->len; /* l_ulong */
1364 iarg[2] = p->prot; /* l_ulong */
1365 iarg[3] = p->flags; /* l_ulong */
1366 iarg[4] = p->fd; /* l_ulong */
1367 iarg[5] = p->pgoff; /* l_ulong */
1371 /* linux_truncate64 */
1373 struct linux_truncate64_args *p = params;
1374 uarg[0] = (intptr_t)p->path; /* char * */
1375 iarg[1] = p->length; /* l_loff_t */
1379 /* linux_ftruncate64 */
1381 struct linux_ftruncate64_args *p = params;
1382 iarg[0] = p->fd; /* l_uint */
1383 iarg[1] = p->length; /* l_loff_t */
1389 struct linux_stat64_args *p = params;
1390 uarg[0] = (intptr_t)p->filename; /* const char * */
1391 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1397 struct linux_lstat64_args *p = params;
1398 uarg[0] = (intptr_t)p->filename; /* const char * */
1399 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1405 struct linux_fstat64_args *p = params;
1406 iarg[0] = p->fd; /* l_int */
1407 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1413 struct linux_lchown_args *p = params;
1414 uarg[0] = (intptr_t)p->path; /* char * */
1415 iarg[1] = p->uid; /* l_uid_t */
1416 iarg[2] = p->gid; /* l_gid_t */
1442 struct setreuid_args *p = params;
1443 uarg[0] = p->ruid; /* uid_t */
1444 uarg[1] = p->euid; /* uid_t */
1450 struct setregid_args *p = params;
1451 iarg[0] = p->rgid; /* gid_t */
1452 iarg[1] = p->egid; /* gid_t */
1456 /* linux_getgroups */
1458 struct linux_getgroups_args *p = params;
1459 iarg[0] = p->gidsetsize; /* l_int */
1460 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1464 /* linux_setgroups */
1466 struct linux_setgroups_args *p = params;
1467 iarg[0] = p->gidsetsize; /* l_int */
1468 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1479 struct setresuid_args *p = params;
1480 uarg[0] = p->ruid; /* uid_t */
1481 uarg[1] = p->euid; /* uid_t */
1482 uarg[2] = p->suid; /* uid_t */
1488 struct getresuid_args *p = params;
1489 uarg[0] = (intptr_t)p->ruid; /* uid_t * */
1490 uarg[1] = (intptr_t)p->euid; /* uid_t * */
1491 uarg[2] = (intptr_t)p->suid; /* uid_t * */
1497 struct setresgid_args *p = params;
1498 iarg[0] = p->rgid; /* gid_t */
1499 iarg[1] = p->egid; /* gid_t */
1500 iarg[2] = p->sgid; /* gid_t */
1506 struct getresgid_args *p = params;
1507 uarg[0] = (intptr_t)p->rgid; /* gid_t * */
1508 uarg[1] = (intptr_t)p->egid; /* gid_t * */
1509 uarg[2] = (intptr_t)p->sgid; /* gid_t * */
1515 struct linux_chown_args *p = params;
1516 uarg[0] = (intptr_t)p->path; /* char * */
1517 iarg[1] = p->uid; /* l_uid_t */
1518 iarg[2] = p->gid; /* l_gid_t */
1524 struct setuid_args *p = params;
1525 uarg[0] = p->uid; /* uid_t */
1531 struct setgid_args *p = params;
1532 iarg[0] = p->gid; /* gid_t */
1536 /* linux_setfsuid */
1538 struct linux_setfsuid_args *p = params;
1539 iarg[0] = p->uid; /* l_uid_t */
1543 /* linux_setfsgid */
1545 struct linux_setfsgid_args *p = params;
1546 iarg[0] = p->gid; /* l_gid_t */
1550 /* linux_pivot_root */
1552 struct linux_pivot_root_args *p = params;
1553 uarg[0] = (intptr_t)p->new_root; /* char * */
1554 uarg[1] = (intptr_t)p->put_old; /* char * */
1560 struct linux_mincore_args *p = params;
1561 iarg[0] = p->start; /* l_ulong */
1562 iarg[1] = p->len; /* l_size_t */
1563 uarg[2] = (intptr_t)p->vec; /* u_char * */
1569 struct linux_madvise_args *p = params;
1570 uarg[0] = (intptr_t)p->addr; /* void * */
1571 uarg[1] = p->len; /* size_t */
1572 iarg[2] = p->behav; /* int */
1576 /* linux_getdents64 */
1578 struct linux_getdents64_args *p = params;
1579 iarg[0] = p->fd; /* l_uint */
1580 uarg[1] = (intptr_t)p->dirent; /* void * */
1581 iarg[2] = p->count; /* l_uint */
1587 struct linux_fcntl64_args *p = params;
1588 iarg[0] = p->fd; /* l_uint */
1589 iarg[1] = p->cmd; /* l_uint */
1590 iarg[2] = p->arg; /* l_ulong */
1599 /* linux_setxattr */
1601 struct linux_setxattr_args *p = params;
1602 uarg[0] = (intptr_t)p->path; /* const char * */
1603 uarg[1] = (intptr_t)p->name; /* const char * */
1604 uarg[2] = (intptr_t)p->value; /* const char * */
1605 iarg[3] = p->size; /* l_size_t */
1606 iarg[4] = p->flags; /* l_int */
1610 /* linux_lsetxattr */
1612 struct linux_lsetxattr_args *p = params;
1613 uarg[0] = (intptr_t)p->path; /* const char * */
1614 uarg[1] = (intptr_t)p->name; /* const char * */
1615 uarg[2] = (intptr_t)p->value; /* const char * */
1616 iarg[3] = p->size; /* l_size_t */
1617 iarg[4] = p->flags; /* l_int */
1621 /* linux_fsetxattr */
1623 struct linux_fsetxattr_args *p = params;
1624 iarg[0] = p->fd; /* l_int */
1625 uarg[1] = (intptr_t)p->name; /* const char * */
1626 uarg[2] = (intptr_t)p->value; /* const char * */
1627 iarg[3] = p->size; /* l_size_t */
1628 iarg[4] = p->flags; /* l_int */
1632 /* linux_getxattr */
1634 struct linux_getxattr_args *p = params;
1635 uarg[0] = (intptr_t)p->path; /* const char * */
1636 uarg[1] = (intptr_t)p->name; /* const char * */
1637 uarg[2] = (intptr_t)p->value; /* char * */
1638 iarg[3] = p->size; /* l_size_t */
1642 /* linux_lgetxattr */
1644 struct linux_lgetxattr_args *p = params;
1645 uarg[0] = (intptr_t)p->path; /* const char * */
1646 uarg[1] = (intptr_t)p->name; /* const char * */
1647 uarg[2] = (intptr_t)p->value; /* char * */
1648 iarg[3] = p->size; /* l_size_t */
1652 /* linux_fgetxattr */
1654 struct linux_fgetxattr_args *p = params;
1655 iarg[0] = p->fd; /* l_int */
1656 uarg[1] = (intptr_t)p->name; /* const char * */
1657 uarg[2] = (intptr_t)p->value; /* char * */
1658 iarg[3] = p->size; /* l_size_t */
1662 /* linux_listxattr */
1664 struct linux_listxattr_args *p = params;
1665 uarg[0] = (intptr_t)p->path; /* const char * */
1666 uarg[1] = (intptr_t)p->list; /* const char * */
1667 iarg[2] = p->size; /* l_size_t */
1671 /* linux_llistxattr */
1673 struct linux_llistxattr_args *p = params;
1674 uarg[0] = (intptr_t)p->path; /* const char * */
1675 uarg[1] = (intptr_t)p->list; /* const char * */
1676 iarg[2] = p->size; /* l_size_t */
1680 /* linux_flistxattr */
1682 struct linux_flistxattr_args *p = params;
1683 iarg[0] = p->fd; /* l_int */
1684 uarg[1] = (intptr_t)p->list; /* const char * */
1685 iarg[2] = p->size; /* l_size_t */
1689 /* linux_removexattr */
1691 struct linux_removexattr_args *p = params;
1692 uarg[0] = (intptr_t)p->path; /* const char * */
1693 uarg[1] = (intptr_t)p->name; /* const char * */
1697 /* linux_lremovexattr */
1699 struct linux_lremovexattr_args *p = params;
1700 uarg[0] = (intptr_t)p->path; /* const char * */
1701 uarg[1] = (intptr_t)p->name; /* const char * */
1705 /* linux_fremovexattr */
1707 struct linux_fremovexattr_args *p = params;
1708 iarg[0] = p->fd; /* l_int */
1709 uarg[1] = (intptr_t)p->name; /* const char * */
1715 struct linux_tkill_args *p = params;
1716 iarg[0] = p->tid; /* int */
1717 iarg[1] = p->sig; /* int */
1721 /* linux_sendfile64 */
1723 struct linux_sendfile64_args *p = params;
1724 iarg[0] = p->out; /* l_int */
1725 iarg[1] = p->in; /* l_int */
1726 uarg[2] = (intptr_t)p->offset; /* l_loff_t * */
1727 iarg[3] = p->count; /* l_size_t */
1731 /* linux_sys_futex */
1733 struct linux_sys_futex_args *p = params;
1734 uarg[0] = (intptr_t)p->uaddr; /* void * */
1735 iarg[1] = p->op; /* int */
1736 uarg[2] = p->val; /* uint32_t */
1737 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec * */
1738 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
1739 uarg[5] = p->val3; /* uint32_t */
1743 /* linux_sched_setaffinity */
1745 struct linux_sched_setaffinity_args *p = params;
1746 iarg[0] = p->pid; /* l_pid_t */
1747 iarg[1] = p->len; /* l_uint */
1748 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1752 /* linux_sched_getaffinity */
1754 struct linux_sched_getaffinity_args *p = params;
1755 iarg[0] = p->pid; /* l_pid_t */
1756 iarg[1] = p->len; /* l_uint */
1757 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1761 /* linux_set_thread_area */
1763 struct linux_set_thread_area_args *p = params;
1764 uarg[0] = (intptr_t)p->desc; /* struct l_user_desc * */
1768 /* linux_get_thread_area */
1770 struct linux_get_thread_area_args *p = params;
1771 uarg[0] = (intptr_t)p->desc; /* struct l_user_desc * */
1775 /* linux_fadvise64 */
1777 struct linux_fadvise64_args *p = params;
1778 iarg[0] = p->fd; /* int */
1779 iarg[1] = p->offset; /* l_loff_t */
1780 iarg[2] = p->len; /* l_size_t */
1781 iarg[3] = p->advice; /* int */
1785 /* linux_exit_group */
1787 struct linux_exit_group_args *p = params;
1788 iarg[0] = p->error_code; /* int */
1792 /* linux_lookup_dcookie */
1797 /* linux_epoll_create */
1799 struct linux_epoll_create_args *p = params;
1800 iarg[0] = p->size; /* l_int */
1804 /* linux_epoll_ctl */
1806 struct linux_epoll_ctl_args *p = params;
1807 iarg[0] = p->epfd; /* l_int */
1808 iarg[1] = p->op; /* l_int */
1809 iarg[2] = p->fd; /* l_int */
1810 uarg[3] = (intptr_t)p->event; /* struct epoll_event * */
1814 /* linux_epoll_wait */
1816 struct linux_epoll_wait_args *p = params;
1817 iarg[0] = p->epfd; /* l_int */
1818 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
1819 iarg[2] = p->maxevents; /* l_int */
1820 iarg[3] = p->timeout; /* l_int */
1824 /* linux_remap_file_pages */
1829 /* linux_set_tid_address */
1831 struct linux_set_tid_address_args *p = params;
1832 uarg[0] = (intptr_t)p->tidptr; /* int * */
1836 /* linux_timer_create */
1838 struct linux_timer_create_args *p = params;
1839 iarg[0] = p->clock_id; /* clockid_t */
1840 uarg[1] = (intptr_t)p->evp; /* struct sigevent * */
1841 uarg[2] = (intptr_t)p->timerid; /* l_timer_t * */
1845 /* linux_timer_settime */
1847 struct linux_timer_settime_args *p = params;
1848 iarg[0] = p->timerid; /* l_timer_t */
1849 iarg[1] = p->flags; /* l_int */
1850 uarg[2] = (intptr_t)p->new; /* const struct itimerspec * */
1851 uarg[3] = (intptr_t)p->old; /* struct itimerspec * */
1855 /* linux_timer_gettime */
1857 struct linux_timer_gettime_args *p = params;
1858 iarg[0] = p->timerid; /* l_timer_t */
1859 uarg[1] = (intptr_t)p->setting; /* struct itimerspec * */
1863 /* linux_timer_getoverrun */
1865 struct linux_timer_getoverrun_args *p = params;
1866 iarg[0] = p->timerid; /* l_timer_t */
1870 /* linux_timer_delete */
1872 struct linux_timer_delete_args *p = params;
1873 iarg[0] = p->timerid; /* l_timer_t */
1877 /* linux_clock_settime */
1879 struct linux_clock_settime_args *p = params;
1880 iarg[0] = p->which; /* clockid_t */
1881 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1885 /* linux_clock_gettime */
1887 struct linux_clock_gettime_args *p = params;
1888 iarg[0] = p->which; /* clockid_t */
1889 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1893 /* linux_clock_getres */
1895 struct linux_clock_getres_args *p = params;
1896 iarg[0] = p->which; /* clockid_t */
1897 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1901 /* linux_clock_nanosleep */
1903 struct linux_clock_nanosleep_args *p = params;
1904 iarg[0] = p->which; /* clockid_t */
1905 iarg[1] = p->flags; /* int */
1906 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec * */
1907 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
1911 /* linux_statfs64 */
1913 struct linux_statfs64_args *p = params;
1914 uarg[0] = (intptr_t)p->path; /* char * */
1915 uarg[1] = p->bufsize; /* size_t */
1916 uarg[2] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1920 /* linux_fstatfs64 */
1922 struct linux_fstatfs64_args *p = params;
1923 iarg[0] = p->fd; /* l_uint */
1924 uarg[1] = p->bufsize; /* size_t */
1925 uarg[2] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1931 struct linux_tgkill_args *p = params;
1932 iarg[0] = p->tgid; /* int */
1933 iarg[1] = p->pid; /* int */
1934 iarg[2] = p->sig; /* int */
1940 struct linux_utimes_args *p = params;
1941 uarg[0] = (intptr_t)p->fname; /* char * */
1942 uarg[1] = (intptr_t)p->tptr; /* struct l_timeval * */
1946 /* linux_fadvise64_64 */
1948 struct linux_fadvise64_64_args *p = params;
1949 iarg[0] = p->fd; /* int */
1950 iarg[1] = p->offset; /* l_loff_t */
1951 iarg[2] = p->len; /* l_loff_t */
1952 iarg[3] = p->advice; /* int */
1961 /* linux_get_mempolicy */
1966 /* linux_set_mempolicy */
1973 struct linux_mq_open_args *p = params;
1974 uarg[0] = (intptr_t)p->name; /* const char * */
1975 iarg[1] = p->oflag; /* l_int */
1976 iarg[2] = p->mode; /* l_mode_t */
1977 uarg[3] = (intptr_t)p->attr; /* struct mq_attr * */
1981 /* linux_mq_unlink */
1983 struct linux_mq_unlink_args *p = params;
1984 uarg[0] = (intptr_t)p->name; /* const char * */
1988 /* linux_mq_timedsend */
1990 struct linux_mq_timedsend_args *p = params;
1991 iarg[0] = p->mqd; /* l_mqd_t */
1992 uarg[1] = (intptr_t)p->msg_ptr; /* const char * */
1993 iarg[2] = p->msg_len; /* l_size_t */
1994 iarg[3] = p->msg_prio; /* l_uint */
1995 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1999 /* linux_mq_timedreceive */
2001 struct linux_mq_timedreceive_args *p = params;
2002 iarg[0] = p->mqd; /* l_mqd_t */
2003 uarg[1] = (intptr_t)p->msg_ptr; /* char * */
2004 iarg[2] = p->msg_len; /* l_size_t */
2005 uarg[3] = (intptr_t)p->msg_prio; /* l_uint * */
2006 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
2010 /* linux_mq_notify */
2012 struct linux_mq_notify_args *p = params;
2013 iarg[0] = p->mqd; /* l_mqd_t */
2014 uarg[1] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
2018 /* linux_mq_getsetattr */
2020 struct linux_mq_getsetattr_args *p = params;
2021 iarg[0] = p->mqd; /* l_mqd_t */
2022 uarg[1] = (intptr_t)p->attr; /* const struct mq_attr * */
2023 uarg[2] = (intptr_t)p->oattr; /* struct mq_attr * */
2027 /* linux_kexec_load */
2034 struct linux_waitid_args *p = params;
2035 iarg[0] = p->idtype; /* int */
2036 iarg[1] = p->id; /* l_pid_t */
2037 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
2038 iarg[3] = p->options; /* int */
2039 uarg[4] = (intptr_t)p->rusage; /* void * */
2048 /* linux_request_key */
2058 /* linux_ioprio_set */
2063 /* linux_ioprio_get */
2068 /* linux_inotify_init */
2073 /* linux_inotify_add_watch */
2078 /* linux_inotify_rm_watch */
2083 /* linux_migrate_pages */
2090 struct linux_openat_args *p = params;
2091 iarg[0] = p->dfd; /* l_int */
2092 uarg[1] = (intptr_t)p->filename; /* const char * */
2093 iarg[2] = p->flags; /* l_int */
2094 iarg[3] = p->mode; /* l_int */
2100 struct linux_mkdirat_args *p = params;
2101 iarg[0] = p->dfd; /* l_int */
2102 uarg[1] = (intptr_t)p->pathname; /* const char * */
2103 iarg[2] = p->mode; /* l_int */
2109 struct linux_mknodat_args *p = params;
2110 iarg[0] = p->dfd; /* l_int */
2111 uarg[1] = (intptr_t)p->filename; /* const char * */
2112 iarg[2] = p->mode; /* l_int */
2113 iarg[3] = p->dev; /* l_uint */
2117 /* linux_fchownat */
2119 struct linux_fchownat_args *p = params;
2120 iarg[0] = p->dfd; /* l_int */
2121 uarg[1] = (intptr_t)p->filename; /* const char * */
2122 iarg[2] = p->uid; /* l_uid16_t */
2123 iarg[3] = p->gid; /* l_gid16_t */
2124 iarg[4] = p->flag; /* l_int */
2128 /* linux_futimesat */
2130 struct linux_futimesat_args *p = params;
2131 iarg[0] = p->dfd; /* l_int */
2132 uarg[1] = (intptr_t)p->filename; /* char * */
2133 uarg[2] = (intptr_t)p->utimes; /* struct l_timeval * */
2137 /* linux_fstatat64 */
2139 struct linux_fstatat64_args *p = params;
2140 iarg[0] = p->dfd; /* l_int */
2141 uarg[1] = (intptr_t)p->pathname; /* char * */
2142 uarg[2] = (intptr_t)p->statbuf; /* struct l_stat64 * */
2143 iarg[3] = p->flag; /* l_int */
2147 /* linux_unlinkat */
2149 struct linux_unlinkat_args *p = params;
2150 iarg[0] = p->dfd; /* l_int */
2151 uarg[1] = (intptr_t)p->pathname; /* const char * */
2152 iarg[2] = p->flag; /* l_int */
2156 /* linux_renameat */
2158 struct linux_renameat_args *p = params;
2159 iarg[0] = p->olddfd; /* l_int */
2160 uarg[1] = (intptr_t)p->oldname; /* const char * */
2161 iarg[2] = p->newdfd; /* l_int */
2162 uarg[3] = (intptr_t)p->newname; /* const char * */
2168 struct linux_linkat_args *p = params;
2169 iarg[0] = p->olddfd; /* l_int */
2170 uarg[1] = (intptr_t)p->oldname; /* const char * */
2171 iarg[2] = p->newdfd; /* l_int */
2172 uarg[3] = (intptr_t)p->newname; /* const char * */
2173 iarg[4] = p->flag; /* l_int */
2177 /* linux_symlinkat */
2179 struct linux_symlinkat_args *p = params;
2180 uarg[0] = (intptr_t)p->oldname; /* const char * */
2181 iarg[1] = p->newdfd; /* l_int */
2182 uarg[2] = (intptr_t)p->newname; /* const char * */
2186 /* linux_readlinkat */
2188 struct linux_readlinkat_args *p = params;
2189 iarg[0] = p->dfd; /* l_int */
2190 uarg[1] = (intptr_t)p->path; /* const char * */
2191 uarg[2] = (intptr_t)p->buf; /* char * */
2192 iarg[3] = p->bufsiz; /* l_int */
2196 /* linux_fchmodat */
2198 struct linux_fchmodat_args *p = params;
2199 iarg[0] = p->dfd; /* l_int */
2200 uarg[1] = (intptr_t)p->filename; /* const char * */
2201 iarg[2] = p->mode; /* l_mode_t */
2205 /* linux_faccessat */
2207 struct linux_faccessat_args *p = params;
2208 iarg[0] = p->dfd; /* l_int */
2209 uarg[1] = (intptr_t)p->filename; /* const char * */
2210 iarg[2] = p->amode; /* l_int */
2214 /* linux_pselect6 */
2216 struct linux_pselect6_args *p = params;
2217 iarg[0] = p->nfds; /* l_int */
2218 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
2219 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
2220 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
2221 uarg[4] = (intptr_t)p->tsp; /* struct l_timespec * */
2222 uarg[5] = (intptr_t)p->sig; /* l_uintptr_t * */
2228 struct linux_ppoll_args *p = params;
2229 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
2230 uarg[1] = p->nfds; /* uint32_t */
2231 uarg[2] = (intptr_t)p->tsp; /* struct l_timespec * */
2232 uarg[3] = (intptr_t)p->sset; /* l_sigset_t * */
2233 iarg[4] = p->ssize; /* l_size_t */
2242 /* linux_set_robust_list */
2244 struct linux_set_robust_list_args *p = params;
2245 uarg[0] = (intptr_t)p->head; /* struct linux_robust_list_head * */
2246 iarg[1] = p->len; /* l_size_t */
2250 /* linux_get_robust_list */
2252 struct linux_get_robust_list_args *p = params;
2253 iarg[0] = p->pid; /* l_int */
2254 uarg[1] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
2255 uarg[2] = (intptr_t)p->len; /* l_size_t * */
2261 struct linux_splice_args *p = params;
2262 iarg[0] = p->fd_in; /* int */
2263 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2264 iarg[2] = p->fd_out; /* int */
2265 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2266 iarg[4] = p->len; /* l_size_t */
2267 iarg[5] = p->flags; /* l_uint */
2271 /* linux_sync_file_range */
2273 struct linux_sync_file_range_args *p = params;
2274 iarg[0] = p->fd; /* l_int */
2275 iarg[1] = p->offset; /* l_loff_t */
2276 iarg[2] = p->nbytes; /* l_loff_t */
2277 uarg[3] = p->flags; /* unsigned int */
2286 /* linux_vmsplice */
2291 /* linux_move_pages */
2298 struct linux_getcpu_args *p = params;
2299 uarg[0] = (intptr_t)p->cpu; /* l_uint * */
2300 uarg[1] = (intptr_t)p->node; /* l_uint * */
2301 uarg[2] = (intptr_t)p->cache; /* void * */
2305 /* linux_epoll_pwait */
2307 struct linux_epoll_pwait_args *p = params;
2308 iarg[0] = p->epfd; /* l_int */
2309 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
2310 iarg[2] = p->maxevents; /* l_int */
2311 iarg[3] = p->timeout; /* l_int */
2312 uarg[4] = (intptr_t)p->mask; /* l_sigset_t * */
2313 iarg[5] = p->sigsetsize; /* l_size_t */
2317 /* linux_utimensat */
2319 struct linux_utimensat_args *p = params;
2320 iarg[0] = p->dfd; /* l_int */
2321 uarg[1] = (intptr_t)p->pathname; /* const char * */
2322 uarg[2] = (intptr_t)p->times; /* const struct l_timespec * */
2323 iarg[3] = p->flags; /* l_int */
2327 /* linux_signalfd */
2332 /* linux_timerfd_create */
2334 struct linux_timerfd_create_args *p = params;
2335 iarg[0] = p->clockid; /* l_int */
2336 iarg[1] = p->flags; /* l_int */
2342 struct linux_eventfd_args *p = params;
2343 iarg[0] = p->initval; /* l_uint */
2347 /* linux_fallocate */
2349 struct linux_fallocate_args *p = params;
2350 iarg[0] = p->fd; /* l_int */
2351 iarg[1] = p->mode; /* l_int */
2352 iarg[2] = p->offset; /* l_loff_t */
2353 iarg[3] = p->len; /* l_loff_t */
2357 /* linux_timerfd_settime */
2359 struct linux_timerfd_settime_args *p = params;
2360 iarg[0] = p->fd; /* l_int */
2361 iarg[1] = p->flags; /* l_int */
2362 uarg[2] = (intptr_t)p->new_value; /* const struct l_itimerspec * */
2363 uarg[3] = (intptr_t)p->old_value; /* struct l_itimerspec * */
2367 /* linux_timerfd_gettime */
2369 struct linux_timerfd_gettime_args *p = params;
2370 iarg[0] = p->fd; /* l_int */
2371 uarg[1] = (intptr_t)p->old_value; /* struct l_itimerspec * */
2375 /* linux_signalfd4 */
2380 /* linux_eventfd2 */
2382 struct linux_eventfd2_args *p = params;
2383 iarg[0] = p->initval; /* l_uint */
2384 iarg[1] = p->flags; /* l_int */
2388 /* linux_epoll_create1 */
2390 struct linux_epoll_create1_args *p = params;
2391 iarg[0] = p->flags; /* l_int */
2397 struct linux_dup3_args *p = params;
2398 iarg[0] = p->oldfd; /* l_int */
2399 iarg[1] = p->newfd; /* l_int */
2400 iarg[2] = p->flags; /* l_int */
2406 struct linux_pipe2_args *p = params;
2407 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
2408 iarg[1] = p->flags; /* l_int */
2412 /* linux_inotify_init1 */
2419 struct linux_preadv_args *p = params;
2420 iarg[0] = p->fd; /* l_ulong */
2421 uarg[1] = (intptr_t)p->vec; /* struct iovec * */
2422 iarg[2] = p->vlen; /* l_ulong */
2423 iarg[3] = p->pos_l; /* l_ulong */
2424 iarg[4] = p->pos_h; /* l_ulong */
2430 struct linux_pwritev_args *p = params;
2431 iarg[0] = p->fd; /* l_ulong */
2432 uarg[1] = (intptr_t)p->vec; /* struct iovec * */
2433 iarg[2] = p->vlen; /* l_ulong */
2434 iarg[3] = p->pos_l; /* l_ulong */
2435 iarg[4] = p->pos_h; /* l_ulong */
2439 /* linux_rt_tgsigqueueinfo */
2441 struct linux_rt_tgsigqueueinfo_args *p = params;
2442 iarg[0] = p->tgid; /* l_pid_t */
2443 iarg[1] = p->tid; /* l_pid_t */
2444 iarg[2] = p->sig; /* l_int */
2445 uarg[3] = (intptr_t)p->uinfo; /* l_siginfo_t * */
2449 /* linux_perf_event_open */
2454 /* linux_recvmmsg */
2456 struct linux_recvmmsg_args *p = params;
2457 iarg[0] = p->s; /* l_int */
2458 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2459 iarg[2] = p->vlen; /* l_uint */
2460 iarg[3] = p->flags; /* l_uint */
2461 uarg[4] = (intptr_t)p->timeout; /* struct l_timespec * */
2465 /* linux_fanotify_init */
2470 /* linux_fanotify_mark */
2475 /* linux_prlimit64 */
2477 struct linux_prlimit64_args *p = params;
2478 iarg[0] = p->pid; /* l_pid_t */
2479 iarg[1] = p->resource; /* l_uint */
2480 uarg[2] = (intptr_t)p->new; /* struct rlimit * */
2481 uarg[3] = (intptr_t)p->old; /* struct rlimit * */
2485 /* linux_name_to_handle_at */
2487 struct linux_name_to_handle_at_args *p = params;
2488 iarg[0] = p->dirfd; /* l_int */
2489 uarg[1] = (intptr_t)p->name; /* const char * */
2490 uarg[2] = (intptr_t)p->handle; /* struct l_file_handle * */
2491 uarg[3] = (intptr_t)p->mnt_id; /* l_int * */
2492 iarg[4] = p->flags; /* l_int */
2496 /* linux_open_by_handle_at */
2498 struct linux_open_by_handle_at_args *p = params;
2499 iarg[0] = p->mountdirfd; /* l_int */
2500 uarg[1] = (intptr_t)p->handle; /* struct l_file_handle * */
2501 iarg[2] = p->flags; /* l_int */
2505 /* linux_clock_adjtime */
2512 struct linux_syncfs_args *p = params;
2513 iarg[0] = p->fd; /* l_int */
2517 /* linux_sendmmsg */
2519 struct linux_sendmmsg_args *p = params;
2520 iarg[0] = p->s; /* l_int */
2521 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2522 iarg[2] = p->vlen; /* l_uint */
2523 iarg[3] = p->flags; /* l_uint */
2532 /* linux_process_vm_readv */
2534 struct linux_process_vm_readv_args *p = params;
2535 iarg[0] = p->pid; /* l_pid_t */
2536 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2537 iarg[2] = p->liovcnt; /* l_ulong */
2538 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2539 iarg[4] = p->riovcnt; /* l_ulong */
2540 iarg[5] = p->flags; /* l_ulong */
2544 /* linux_process_vm_writev */
2546 struct linux_process_vm_writev_args *p = params;
2547 iarg[0] = p->pid; /* l_pid_t */
2548 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2549 iarg[2] = p->liovcnt; /* l_ulong */
2550 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2551 iarg[4] = p->riovcnt; /* l_ulong */
2552 iarg[5] = p->flags; /* l_ulong */
2558 struct linux_kcmp_args *p = params;
2559 iarg[0] = p->pid1; /* l_pid_t */
2560 iarg[1] = p->pid2; /* l_pid_t */
2561 iarg[2] = p->type; /* l_int */
2562 iarg[3] = p->idx1; /* l_ulong */
2563 iarg[4] = p->idx; /* l_ulong */
2567 /* linux_finit_module */
2569 struct linux_finit_module_args *p = params;
2570 iarg[0] = p->fd; /* l_int */
2571 uarg[1] = (intptr_t)p->uargs; /* const char * */
2572 iarg[2] = p->flags; /* l_int */
2576 /* linux_sched_setattr */
2578 struct linux_sched_setattr_args *p = params;
2579 iarg[0] = p->pid; /* l_pid_t */
2580 uarg[1] = (intptr_t)p->attr; /* void * */
2581 iarg[2] = p->flags; /* l_uint */
2585 /* linux_sched_getattr */
2587 struct linux_sched_getattr_args *p = params;
2588 iarg[0] = p->pid; /* l_pid_t */
2589 uarg[1] = (intptr_t)p->attr; /* void * */
2590 iarg[2] = p->size; /* l_uint */
2591 iarg[3] = p->flags; /* l_uint */
2595 /* linux_renameat2 */
2597 struct linux_renameat2_args *p = params;
2598 iarg[0] = p->olddfd; /* l_int */
2599 uarg[1] = (intptr_t)p->oldname; /* const char * */
2600 iarg[2] = p->newdfd; /* l_int */
2601 uarg[3] = (intptr_t)p->newname; /* const char * */
2602 uarg[4] = p->flags; /* unsigned int */
2608 struct linux_seccomp_args *p = params;
2609 iarg[0] = p->op; /* l_uint */
2610 iarg[1] = p->flags; /* l_uint */
2611 uarg[2] = (intptr_t)p->uargs; /* const char * */
2615 /* linux_getrandom */
2617 struct linux_getrandom_args *p = params;
2618 uarg[0] = (intptr_t)p->buf; /* char * */
2619 iarg[1] = p->count; /* l_size_t */
2620 iarg[2] = p->flags; /* l_uint */
2624 /* linux_memfd_create */
2626 struct linux_memfd_create_args *p = params;
2627 uarg[0] = (intptr_t)p->uname_ptr; /* const char * */
2628 iarg[1] = p->flags; /* l_uint */
2634 struct linux_bpf_args *p = params;
2635 iarg[0] = p->cmd; /* l_int */
2636 uarg[1] = (intptr_t)p->attr; /* void * */
2637 iarg[2] = p->size; /* l_uint */
2641 /* linux_execveat */
2643 struct linux_execveat_args *p = params;
2644 iarg[0] = p->dfd; /* l_int */
2645 uarg[1] = (intptr_t)p->filename; /* const char * */
2646 uarg[2] = (intptr_t)p->argv; /* const char ** */
2647 uarg[3] = (intptr_t)p->envp; /* const char ** */
2648 iarg[4] = p->flags; /* l_int */
2654 struct linux_socket_args *p = params;
2655 iarg[0] = p->domain; /* l_int */
2656 iarg[1] = p->type; /* l_int */
2657 iarg[2] = p->protocol; /* l_int */
2661 /* linux_socketpair */
2663 struct linux_socketpair_args *p = params;
2664 iarg[0] = p->domain; /* l_int */
2665 iarg[1] = p->type; /* l_int */
2666 iarg[2] = p->protocol; /* l_int */
2667 iarg[3] = p->rsv; /* l_uintptr_t */
2673 struct linux_bind_args *p = params;
2674 iarg[0] = p->s; /* l_int */
2675 iarg[1] = p->name; /* l_uintptr_t */
2676 iarg[2] = p->namelen; /* l_int */
2682 struct linux_connect_args *p = params;
2683 iarg[0] = p->s; /* l_int */
2684 iarg[1] = p->name; /* l_uintptr_t */
2685 iarg[2] = p->namelen; /* l_int */
2691 struct linux_listen_args *p = params;
2692 iarg[0] = p->s; /* l_int */
2693 iarg[1] = p->backlog; /* l_int */
2699 struct linux_accept4_args *p = params;
2700 iarg[0] = p->s; /* l_int */
2701 iarg[1] = p->addr; /* l_uintptr_t */
2702 iarg[2] = p->namelen; /* l_uintptr_t */
2703 iarg[3] = p->flags; /* l_int */
2707 /* linux_getsockopt */
2709 struct linux_getsockopt_args *p = params;
2710 iarg[0] = p->s; /* l_int */
2711 iarg[1] = p->level; /* l_int */
2712 iarg[2] = p->optname; /* l_int */
2713 iarg[3] = p->optval; /* l_uintptr_t */
2714 iarg[4] = p->optlen; /* l_uintptr_t */
2718 /* linux_setsockopt */
2720 struct linux_setsockopt_args *p = params;
2721 iarg[0] = p->s; /* l_int */
2722 iarg[1] = p->level; /* l_int */
2723 iarg[2] = p->optname; /* l_int */
2724 iarg[3] = p->optval; /* l_uintptr_t */
2725 iarg[4] = p->optlen; /* l_int */
2729 /* linux_getsockname */
2731 struct linux_getsockname_args *p = params;
2732 iarg[0] = p->s; /* l_int */
2733 iarg[1] = p->addr; /* l_uintptr_t */
2734 iarg[2] = p->namelen; /* l_uintptr_t */
2738 /* linux_getpeername */
2740 struct linux_getpeername_args *p = params;
2741 iarg[0] = p->s; /* l_int */
2742 iarg[1] = p->addr; /* l_uintptr_t */
2743 iarg[2] = p->namelen; /* l_uintptr_t */
2749 struct linux_sendto_args *p = params;
2750 iarg[0] = p->s; /* l_int */
2751 iarg[1] = p->msg; /* l_uintptr_t */
2752 iarg[2] = p->len; /* l_int */
2753 iarg[3] = p->flags; /* l_int */
2754 iarg[4] = p->to; /* l_uintptr_t */
2755 iarg[5] = p->tolen; /* l_int */
2761 struct linux_sendmsg_args *p = params;
2762 iarg[0] = p->s; /* l_int */
2763 iarg[1] = p->msg; /* l_uintptr_t */
2764 iarg[2] = p->flags; /* l_int */
2768 /* linux_recvfrom */
2770 struct linux_recvfrom_args *p = params;
2771 iarg[0] = p->s; /* l_int */
2772 iarg[1] = p->buf; /* l_uintptr_t */
2773 iarg[2] = p->len; /* l_size_t */
2774 iarg[3] = p->flags; /* l_int */
2775 iarg[4] = p->from; /* l_uintptr_t */
2776 iarg[5] = p->fromlen; /* l_uintptr_t */
2782 struct linux_recvmsg_args *p = params;
2783 iarg[0] = p->s; /* l_int */
2784 iarg[1] = p->msg; /* l_uintptr_t */
2785 iarg[2] = p->flags; /* l_int */
2789 /* linux_shutdown */
2791 struct linux_shutdown_args *p = params;
2792 iarg[0] = p->s; /* l_int */
2793 iarg[1] = p->how; /* l_int */
2797 /* linux_userfaultfd */
2799 struct linux_userfaultfd_args *p = params;
2800 iarg[0] = p->flags; /* l_int */
2804 /* linux_membarrier */
2806 struct linux_membarrier_args *p = params;
2807 iarg[0] = p->cmd; /* l_int */
2808 iarg[1] = p->flags; /* l_int */
2814 struct linux_mlock2_args *p = params;
2815 iarg[0] = p->start; /* l_ulong */
2816 iarg[1] = p->len; /* l_size_t */
2817 iarg[2] = p->flags; /* l_int */
2821 /* linux_copy_file_range */
2823 struct linux_copy_file_range_args *p = params;
2824 iarg[0] = p->fd_in; /* l_int */
2825 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2826 iarg[2] = p->fd_out; /* l_int */
2827 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2828 iarg[4] = p->len; /* l_size_t */
2829 iarg[5] = p->flags; /* l_uint */
2835 struct linux_preadv2_args *p = params;
2836 iarg[0] = p->fd; /* l_ulong */
2837 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2838 iarg[2] = p->vlen; /* l_ulong */
2839 iarg[3] = p->pos_l; /* l_ulong */
2840 iarg[4] = p->pos_h; /* l_ulong */
2841 iarg[5] = p->flags; /* l_int */
2845 /* linux_pwritev2 */
2847 struct linux_pwritev2_args *p = params;
2848 iarg[0] = p->fd; /* l_ulong */
2849 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2850 iarg[2] = p->vlen; /* l_ulong */
2851 iarg[3] = p->pos_l; /* l_ulong */
2852 iarg[4] = p->pos_h; /* l_ulong */
2853 iarg[5] = p->flags; /* l_int */
2857 /* linux_pkey_mprotect */
2859 struct linux_pkey_mprotect_args *p = params;
2860 iarg[0] = p->start; /* l_ulong */
2861 iarg[1] = p->len; /* l_size_t */
2862 iarg[2] = p->prot; /* l_ulong */
2863 iarg[3] = p->pkey; /* l_int */
2867 /* linux_pkey_alloc */
2869 struct linux_pkey_alloc_args *p = params;
2870 iarg[0] = p->flags; /* l_ulong */
2871 iarg[1] = p->init_val; /* l_ulong */
2875 /* linux_pkey_free */
2877 struct linux_pkey_free_args *p = params;
2878 iarg[0] = p->pkey; /* l_int */
2884 struct linux_statx_args *p = params;
2885 iarg[0] = p->dirfd; /* l_int */
2886 uarg[1] = (intptr_t)p->pathname; /* const char * */
2887 iarg[2] = p->flags; /* l_uint */
2888 iarg[3] = p->mask; /* l_uint */
2889 uarg[4] = (intptr_t)p->statxbuf; /* void * */
2893 /* linux_arch_prctl */
2895 struct linux_arch_prctl_args *p = params;
2896 iarg[0] = p->option; /* l_int */
2897 iarg[1] = p->arg2; /* l_ulong */
2901 /* linux_io_pgetevents */
2913 struct linux_semget_args *p = params;
2914 iarg[0] = p->key; /* l_key_t */
2915 iarg[1] = p->nsems; /* l_int */
2916 iarg[2] = p->semflg; /* l_int */
2922 struct linux_semctl_args *p = params;
2923 iarg[0] = p->semid; /* l_int */
2924 iarg[1] = p->semnum; /* l_int */
2925 iarg[2] = p->cmd; /* l_int */
2926 uarg[3] = p->arg.buf; /* union l_semun */
2932 struct linux_shmget_args *p = params;
2933 iarg[0] = p->key; /* l_key_t */
2934 iarg[1] = p->size; /* l_size_t */
2935 iarg[2] = p->shmflg; /* l_int */
2941 struct linux_shmctl_args *p = params;
2942 iarg[0] = p->shmid; /* l_int */
2943 iarg[1] = p->cmd; /* l_int */
2944 uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */
2950 struct linux_shmat_args *p = params;
2951 iarg[0] = p->shmid; /* l_int */
2952 uarg[1] = (intptr_t)p->shmaddr; /* char * */
2953 iarg[2] = p->shmflg; /* l_int */
2959 struct linux_shmdt_args *p = params;
2960 uarg[0] = (intptr_t)p->shmaddr; /* char * */
2966 struct linux_msgget_args *p = params;
2967 iarg[0] = p->key; /* l_key_t */
2968 iarg[1] = p->msgflg; /* l_int */
2974 struct linux_msgsnd_args *p = params;
2975 iarg[0] = p->msqid; /* l_int */
2976 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2977 iarg[2] = p->msgsz; /* l_size_t */
2978 iarg[3] = p->msgflg; /* l_int */
2984 struct linux_msgrcv_args *p = params;
2985 iarg[0] = p->msqid; /* l_int */
2986 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2987 iarg[2] = p->msgsz; /* l_size_t */
2988 iarg[3] = p->msgtyp; /* l_long */
2989 iarg[4] = p->msgflg; /* l_int */
2995 struct linux_msgctl_args *p = params;
2996 iarg[0] = p->msqid; /* l_int */
2997 iarg[1] = p->cmd; /* l_int */
2998 uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */
3002 /* linux_clock_gettime64 */
3004 struct linux_clock_gettime64_args *p = params;
3005 iarg[0] = p->which; /* clockid_t */
3006 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
3010 /* linux_clock_settime64 */
3015 /* linux_clock_adjtime64 */
3020 /* linux_clock_getres_time64 */
3025 /* linux_clock_nanosleep_time64 */
3030 /* linux_timer_gettime64 */
3035 /* linux_timer_settime64 */
3040 /* linux_timerfd_gettime64 */
3045 /* linux_timerfd_settime64 */
3050 /* linux_utimensat_time64 */
3052 struct linux_utimensat_time64_args *p = params;
3053 iarg[0] = p->dfd; /* l_int */
3054 uarg[1] = (intptr_t)p->pathname; /* const char * */
3055 uarg[2] = (intptr_t)p->times64; /* const struct l_timespec64 * */
3056 iarg[3] = p->flags; /* l_int */
3060 /* linux_pselect6_time64 */
3065 /* linux_ppoll_time64 */
3070 /* linux_io_pgetevents_time64 */
3075 /* linux_recvmmsg_time64 */
3080 /* linux_mq_timedsend_time64 */
3085 /* linux_mq_timedreceive_time64 */
3090 /* linux_semtimedop_time64 */
3095 /* linux_rt_sigtimedwait_time64 */
3100 /* linux_futex_time64 */
3105 /* linux_sched_rr_get_interval_time64 */
3110 /* linux_pidfd_send_signal */
3112 struct linux_pidfd_send_signal_args *p = params;
3113 iarg[0] = p->pidfd; /* l_int */
3114 iarg[1] = p->sig; /* l_int */
3115 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
3116 iarg[3] = p->flags; /* l_uint */
3120 /* linux_io_uring_setup */
3125 /* linux_io_uring_enter */
3130 /* linux_io_uring_register */
3135 /* linux_open_tree */
3140 /* linux_move_mount */
3150 /* linux_fsconfig */
3165 /* linux_pidfd_open */
3175 /* linux_close_range */
3185 /* linux_pidfd_getfd */
3190 /* linux_faccessat2 */
3195 /* linux_process_madvise */
3200 /* linux_epoll_pwait2 */
3205 /* linux_mount_setattr */
3216 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3218 const char *p = NULL;
3220 #define nosys linux_nosys
3241 p = "userland char *";
3257 p = "userland char *";
3270 p = "userland char *";
3299 p = "userland l_int *";
3312 p = "userland char *";
3325 p = "userland char *";
3328 p = "userland char *";
3338 p = "userland char *";
3348 p = "userland char *";
3351 p = "userland char **";
3354 p = "userland char **";
3364 p = "userland char *";
3374 p = "userland l_time_t *";
3384 p = "userland char *";
3400 p = "userland char *";
3409 /* linux_lchown16 */
3413 p = "userland char *";
3429 p = "userland char *";
3432 p = "userland struct linux_stat *";
3461 p = "userland char *";
3464 p = "userland char *";
3467 p = "userland char *";
3473 p = "userland void *";
3479 /* linux_oldumount */
3483 p = "userland char *";
3489 /* linux_setuid16 */
3499 /* linux_getuid16 */
3541 p = "userland struct linux_stat *";
3554 p = "userland char *";
3557 p = "userland struct l_utimbuf *";
3567 p = "userland char *";
3606 p = "userland char *";
3609 p = "userland char *";
3619 p = "userland char *";
3632 p = "userland char *";
3652 p = "userland l_int *";
3662 p = "userland struct l_times_argv *";
3678 /* linux_setgid16 */
3688 /* linux_getgid16 */
3698 p = "userland void *";
3704 /* linux_geteuid16 */
3707 /* linux_getegid16 */
3714 p = "userland char *";
3724 p = "userland char *";
3778 /* linux_olduname */
3795 p = "userland char *";
3808 p = "userland struct l_ustat *";
3836 /* linux_sigaction */
3843 p = "userland l_osigaction_t *";
3846 p = "userland l_osigaction_t *";
3852 /* linux_sgetmask */
3855 /* linux_ssetmask */
3865 /* linux_setreuid16 */
3878 /* linux_setregid16 */
3891 /* linux_sigsuspend */
3907 /* linux_sigpending */
3911 p = "userland l_osigset_t *";
3917 /* linux_sethostname */
3921 p = "userland char *";
3930 /* linux_setrlimit */
3937 p = "userland struct l_rlimit *";
3943 /* linux_old_getrlimit */
3950 p = "userland struct l_rlimit *";
3963 p = "userland struct rusage *";
3973 p = "userland struct timeval *";
3976 p = "userland struct timezone *";
3986 p = "userland struct timeval *";
3989 p = "userland struct timezone *";
3995 /* linux_getgroups16 */
4002 p = "userland l_gid16_t *";
4008 /* linux_setgroups16 */
4015 p = "userland l_gid16_t *";
4021 /* linux_old_select */
4025 p = "userland struct l_old_select_argv *";
4035 p = "userland char *";
4038 p = "userland char *";
4048 p = "userland char *";
4051 p = "userland struct l_stat *";
4057 /* linux_readlink */
4061 p = "userland char *";
4064 p = "userland char *";
4077 p = "userland char *";
4087 p = "userland char *";
4106 p = "userland void *";
4119 p = "userland struct l_dirent *";
4132 p = "userland struct l_mmap_argv *";
4151 /* linux_truncate */
4155 p = "userland char *";
4164 /* linux_ftruncate */
4206 /* linux_getpriority */
4239 p = "userland char *";
4242 p = "userland struct l_statfs_buf *";
4255 p = "userland struct l_statfs_buf *";
4277 /* linux_socketcall */
4297 p = "userland char *";
4306 /* linux_setitimer */
4313 p = "userland struct l_itimerval *";
4316 p = "userland struct l_itimerval *";
4322 /* linux_getitimer */
4329 p = "userland struct l_itimerval *";
4339 p = "userland char *";
4342 p = "userland struct l_newstat *";
4348 /* linux_newlstat */
4352 p = "userland char *";
4355 p = "userland struct l_newstat *";
4361 /* linux_newfstat */
4368 p = "userland struct l_newstat *";
4400 p = "userland l_int *";
4406 p = "userland void *";
4419 p = "userland struct l_sysinfo *";
4460 /* linux_sigreturn */
4464 p = "userland struct l_sigframe *";
4477 p = "userland void *";
4480 p = "userland void *";
4483 p = "userland void *";
4486 p = "userland void *";
4492 /* linux_setdomainname */
4496 p = "userland char *";
4505 /* linux_newuname */
4509 p = "userland struct l_new_utsname *";
4515 /* linux_modify_ldt */
4522 p = "userland void *";
4531 /* linux_adjtimex */
4534 /* linux_mprotect */
4550 /* linux_sigprocmask */
4557 p = "userland l_osigset_t *";
4560 p = "userland l_osigset_t *";
4566 /* linux_init_module */
4569 /* linux_delete_module */
4572 /* linux_quotactl */
4614 /* linux_personality */
4624 /* linux_setfsuid16 */
4634 /* linux_setfsgid16 */
4657 p = "userland l_loff_t *";
4666 /* linux_getdents */
4673 p = "userland void *";
4689 p = "userland l_fd_set *";
4692 p = "userland l_fd_set *";
4695 p = "userland l_fd_set *";
4698 p = "userland struct l_timeval *";
4740 p = "userland struct iovec *";
4756 p = "userland struct iovec *";
4775 /* linux_fdatasync */
4789 p = "userland struct l___sysctl_args *";
4799 p = "userland const void *";
4812 p = "userland const void *";
4834 /* linux_sched_setparam */
4841 p = "userland struct sched_param *";
4847 /* linux_sched_getparam */
4854 p = "userland struct sched_param *";
4860 /* linux_sched_setscheduler */
4870 p = "userland struct sched_param *";
4876 /* linux_sched_getscheduler */
4889 /* linux_sched_get_priority_max */
4899 /* linux_sched_get_priority_min */
4909 /* linux_sched_rr_get_interval */
4916 p = "userland struct l_timespec *";
4922 /* linux_nanosleep */
4926 p = "userland const struct l_timespec *";
4929 p = "userland struct l_timespec *";
4957 /* linux_setresuid16 */
4973 /* linux_getresuid16 */
4977 p = "userland l_uid16_t *";
4980 p = "userland l_uid16_t *";
4983 p = "userland l_uid16_t *";
4996 p = "userland struct pollfd *";
5008 /* linux_setresgid16 */
5024 /* linux_getresgid16 */
5028 p = "userland l_gid16_t *";
5031 p = "userland l_gid16_t *";
5034 p = "userland l_gid16_t *";
5062 /* linux_rt_sigreturn */
5066 p = "userland struct l_ucontext *";
5072 /* linux_rt_sigaction */
5079 p = "userland l_sigaction_t *";
5082 p = "userland l_sigaction_t *";
5091 /* linux_rt_sigprocmask */
5098 p = "userland l_sigset_t *";
5101 p = "userland l_sigset_t *";
5110 /* linux_rt_sigpending */
5114 p = "userland l_sigset_t *";
5123 /* linux_rt_sigtimedwait */
5127 p = "userland l_sigset_t *";
5130 p = "userland l_siginfo_t *";
5133 p = "userland struct l_timeval *";
5142 /* linux_rt_sigqueueinfo */
5152 p = "userland l_siginfo_t *";
5158 /* linux_rt_sigsuspend */
5162 p = "userland l_sigset_t *";
5178 p = "userland char *";
5197 p = "userland char *";
5213 p = "userland char *";
5229 p = "userland char *";
5242 p = "userland struct l_user_cap_header *";
5245 p = "userland struct l_user_cap_data *";
5255 p = "userland struct l_user_cap_header *";
5258 p = "userland struct l_user_cap_data *";
5264 /* linux_sigaltstack */
5268 p = "userland l_stack_t *";
5271 p = "userland l_stack_t *";
5277 /* linux_sendfile */
5287 p = "userland l_long *";
5299 /* linux_getrlimit */
5306 p = "userland struct l_rlimit *";
5337 /* linux_truncate64 */
5341 p = "userland char *";
5350 /* linux_ftruncate64 */
5367 p = "userland const char *";
5370 p = "userland struct l_stat64 *";
5380 p = "userland const char *";
5383 p = "userland struct l_stat64 *";
5396 p = "userland struct l_stat64 *";
5406 p = "userland char *";
5456 /* linux_getgroups */
5463 p = "userland l_gid_t *";
5469 /* linux_setgroups */
5476 p = "userland l_gid_t *";
5505 p = "userland uid_t *";
5508 p = "userland uid_t *";
5511 p = "userland uid_t *";
5537 p = "userland gid_t *";
5540 p = "userland gid_t *";
5543 p = "userland gid_t *";
5553 p = "userland char *";
5585 /* linux_setfsuid */
5595 /* linux_setfsgid */
5605 /* linux_pivot_root */
5609 p = "userland char *";
5612 p = "userland char *";
5628 p = "userland u_char *";
5638 p = "userland void *";
5650 /* linux_getdents64 */
5657 p = "userland void *";
5685 /* linux_setxattr */
5689 p = "userland const char *";
5692 p = "userland const char *";
5695 p = "userland const char *";
5707 /* linux_lsetxattr */
5711 p = "userland const char *";
5714 p = "userland const char *";
5717 p = "userland const char *";
5729 /* linux_fsetxattr */
5736 p = "userland const char *";
5739 p = "userland const char *";
5751 /* linux_getxattr */
5755 p = "userland const char *";
5758 p = "userland const char *";
5761 p = "userland char *";
5770 /* linux_lgetxattr */
5774 p = "userland const char *";
5777 p = "userland const char *";
5780 p = "userland char *";
5789 /* linux_fgetxattr */
5796 p = "userland const char *";
5799 p = "userland char *";
5808 /* linux_listxattr */
5812 p = "userland const char *";
5815 p = "userland const char *";
5824 /* linux_llistxattr */
5828 p = "userland const char *";
5831 p = "userland const char *";
5840 /* linux_flistxattr */
5847 p = "userland const char *";
5856 /* linux_removexattr */
5860 p = "userland const char *";
5863 p = "userland const char *";
5869 /* linux_lremovexattr */
5873 p = "userland const char *";
5876 p = "userland const char *";
5882 /* linux_fremovexattr */
5889 p = "userland const char *";
5908 /* linux_sendfile64 */
5918 p = "userland l_loff_t *";
5927 /* linux_sys_futex */
5931 p = "userland void *";
5940 p = "userland struct l_timespec *";
5943 p = "userland uint32_t *";
5952 /* linux_sched_setaffinity */
5962 p = "userland l_ulong *";
5968 /* linux_sched_getaffinity */
5978 p = "userland l_ulong *";
5984 /* linux_set_thread_area */
5988 p = "userland struct l_user_desc *";
5994 /* linux_get_thread_area */
5998 p = "userland struct l_user_desc *";
6004 /* linux_fadvise64 */
6023 /* linux_exit_group */
6033 /* linux_lookup_dcookie */
6036 /* linux_epoll_create */
6046 /* linux_epoll_ctl */
6059 p = "userland struct epoll_event *";
6065 /* linux_epoll_wait */
6072 p = "userland struct epoll_event *";
6084 /* linux_remap_file_pages */
6087 /* linux_set_tid_address */
6091 p = "userland int *";
6097 /* linux_timer_create */
6104 p = "userland struct sigevent *";
6107 p = "userland l_timer_t *";
6113 /* linux_timer_settime */
6123 p = "userland const struct itimerspec *";
6126 p = "userland struct itimerspec *";
6132 /* linux_timer_gettime */
6139 p = "userland struct itimerspec *";
6145 /* linux_timer_getoverrun */
6155 /* linux_timer_delete */
6165 /* linux_clock_settime */
6172 p = "userland struct l_timespec *";
6178 /* linux_clock_gettime */
6185 p = "userland struct l_timespec *";
6191 /* linux_clock_getres */
6198 p = "userland struct l_timespec *";
6204 /* linux_clock_nanosleep */
6214 p = "userland struct l_timespec *";
6217 p = "userland struct l_timespec *";
6223 /* linux_statfs64 */
6227 p = "userland char *";
6233 p = "userland struct l_statfs64_buf *";
6239 /* linux_fstatfs64 */
6249 p = "userland struct l_statfs64_buf *";
6275 p = "userland char *";
6278 p = "userland struct l_timeval *";
6284 /* linux_fadvise64_64 */
6306 /* linux_get_mempolicy */
6309 /* linux_set_mempolicy */
6316 p = "userland const char *";
6325 p = "userland struct mq_attr *";
6331 /* linux_mq_unlink */
6335 p = "userland const char *";
6341 /* linux_mq_timedsend */
6348 p = "userland const char *";
6357 p = "userland const struct l_timespec *";
6363 /* linux_mq_timedreceive */
6370 p = "userland char *";
6376 p = "userland l_uint *";
6379 p = "userland const struct l_timespec *";
6385 /* linux_mq_notify */
6392 p = "userland const struct l_timespec *";
6398 /* linux_mq_getsetattr */
6405 p = "userland const struct mq_attr *";
6408 p = "userland struct mq_attr *";
6414 /* linux_kexec_load */
6427 p = "userland l_siginfo_t *";
6433 p = "userland void *";
6442 /* linux_request_key */
6448 /* linux_ioprio_set */
6451 /* linux_ioprio_get */
6454 /* linux_inotify_init */
6457 /* linux_inotify_add_watch */
6460 /* linux_inotify_rm_watch */
6463 /* linux_migrate_pages */
6473 p = "userland const char *";
6492 p = "userland const char *";
6508 p = "userland const char *";
6520 /* linux_fchownat */
6527 p = "userland const char *";
6542 /* linux_futimesat */
6549 p = "userland char *";
6552 p = "userland struct l_timeval *";
6558 /* linux_fstatat64 */
6565 p = "userland char *";
6568 p = "userland struct l_stat64 *";
6577 /* linux_unlinkat */
6584 p = "userland const char *";
6593 /* linux_renameat */
6600 p = "userland const char *";
6606 p = "userland const char *";
6619 p = "userland const char *";
6625 p = "userland const char *";
6634 /* linux_symlinkat */
6638 p = "userland const char *";
6644 p = "userland const char *";
6650 /* linux_readlinkat */
6657 p = "userland const char *";
6660 p = "userland char *";
6669 /* linux_fchmodat */
6676 p = "userland const char *";
6685 /* linux_faccessat */
6692 p = "userland const char *";
6701 /* linux_pselect6 */
6708 p = "userland l_fd_set *";
6711 p = "userland l_fd_set *";
6714 p = "userland l_fd_set *";
6717 p = "userland struct l_timespec *";
6720 p = "userland l_uintptr_t *";
6730 p = "userland struct pollfd *";
6736 p = "userland struct l_timespec *";
6739 p = "userland l_sigset_t *";
6751 /* linux_set_robust_list */
6755 p = "userland struct linux_robust_list_head *";
6764 /* linux_get_robust_list */
6771 p = "userland struct linux_robust_list_head **";
6774 p = "userland l_size_t *";
6787 p = "userland l_loff_t *";
6793 p = "userland l_loff_t *";
6805 /* linux_sync_file_range */
6827 /* linux_vmsplice */
6830 /* linux_move_pages */
6837 p = "userland l_uint *";
6840 p = "userland l_uint *";
6843 p = "userland void *";
6849 /* linux_epoll_pwait */
6856 p = "userland struct epoll_event *";
6865 p = "userland l_sigset_t *";
6874 /* linux_utimensat */
6881 p = "userland const char *";
6884 p = "userland const struct l_timespec *";
6893 /* linux_signalfd */
6896 /* linux_timerfd_create */
6919 /* linux_fallocate */
6938 /* linux_timerfd_settime */
6948 p = "userland const struct l_itimerspec *";
6951 p = "userland struct l_itimerspec *";
6957 /* linux_timerfd_gettime */
6964 p = "userland struct l_itimerspec *";
6970 /* linux_signalfd4 */
6973 /* linux_eventfd2 */
6986 /* linux_epoll_create1 */
7016 p = "userland l_int *";
7025 /* linux_inotify_init1 */
7035 p = "userland struct iovec *";
7057 p = "userland struct iovec *";
7072 /* linux_rt_tgsigqueueinfo */
7085 p = "userland l_siginfo_t *";
7091 /* linux_perf_event_open */
7094 /* linux_recvmmsg */
7101 p = "userland struct l_mmsghdr *";
7110 p = "userland struct l_timespec *";
7116 /* linux_fanotify_init */
7119 /* linux_fanotify_mark */
7122 /* linux_prlimit64 */
7132 p = "userland struct rlimit *";
7135 p = "userland struct rlimit *";
7141 /* linux_name_to_handle_at */
7148 p = "userland const char *";
7151 p = "userland struct l_file_handle *";
7154 p = "userland l_int *";
7163 /* linux_open_by_handle_at */
7170 p = "userland struct l_file_handle *";
7179 /* linux_clock_adjtime */
7192 /* linux_sendmmsg */
7199 p = "userland struct l_mmsghdr *";
7214 /* linux_process_vm_readv */
7221 p = "userland const struct iovec *";
7227 p = "userland const struct iovec *";
7239 /* linux_process_vm_writev */
7246 p = "userland const struct iovec *";
7252 p = "userland const struct iovec *";
7286 /* linux_finit_module */
7293 p = "userland const char *";
7302 /* linux_sched_setattr */
7309 p = "userland void *";
7318 /* linux_sched_getattr */
7325 p = "userland void *";
7337 /* linux_renameat2 */
7344 p = "userland const char *";
7350 p = "userland const char *";
7369 p = "userland const char *";
7375 /* linux_getrandom */
7379 p = "userland char *";
7391 /* linux_memfd_create */
7395 p = "userland const char *";
7411 p = "userland void *";
7420 /* linux_execveat */
7427 p = "userland const char *";
7430 p = "userland const char **";
7433 p = "userland const char **";
7458 /* linux_socketpair */
7541 /* linux_getsockopt */
7563 /* linux_setsockopt */
7585 /* linux_getsockname */
7601 /* linux_getpeername */
7658 /* linux_recvfrom */
7699 /* linux_shutdown */
7712 /* linux_userfaultfd */
7722 /* linux_membarrier */
7751 /* linux_copy_file_range */
7758 p = "userland l_loff_t *";
7764 p = "userland l_loff_t *";
7783 p = "userland const struct iovec *";
7801 /* linux_pwritev2 */
7808 p = "userland const struct iovec *";
7826 /* linux_pkey_mprotect */
7845 /* linux_pkey_alloc */
7858 /* linux_pkey_free */
7875 p = "userland const char *";
7884 p = "userland void *";
7890 /* linux_arch_prctl */
7903 /* linux_io_pgetevents */
7938 p = "union l_semun";
7970 p = "userland struct l_shmid_ds *";
7983 p = "userland char *";
7996 p = "userland char *";
8022 p = "userland struct l_msgbuf *";
8041 p = "userland struct l_msgbuf *";
8066 p = "userland struct l_msqid_ds *";
8072 /* linux_clock_gettime64 */
8079 p = "userland struct l_timespec64 *";
8085 /* linux_clock_settime64 */
8088 /* linux_clock_adjtime64 */
8091 /* linux_clock_getres_time64 */
8094 /* linux_clock_nanosleep_time64 */
8097 /* linux_timer_gettime64 */
8100 /* linux_timer_settime64 */
8103 /* linux_timerfd_gettime64 */
8106 /* linux_timerfd_settime64 */
8109 /* linux_utimensat_time64 */
8116 p = "userland const char *";
8119 p = "userland const struct l_timespec64 *";
8128 /* linux_pselect6_time64 */
8131 /* linux_ppoll_time64 */
8134 /* linux_io_pgetevents_time64 */
8137 /* linux_recvmmsg_time64 */
8140 /* linux_mq_timedsend_time64 */
8143 /* linux_mq_timedreceive_time64 */
8146 /* linux_semtimedop_time64 */
8149 /* linux_rt_sigtimedwait_time64 */
8152 /* linux_futex_time64 */
8155 /* linux_sched_rr_get_interval_time64 */
8158 /* linux_pidfd_send_signal */
8168 p = "userland l_siginfo_t *";
8177 /* linux_io_uring_setup */
8180 /* linux_io_uring_enter */
8183 /* linux_io_uring_register */
8186 /* linux_open_tree */
8189 /* linux_move_mount */
8195 /* linux_fsconfig */
8204 /* linux_pidfd_open */
8210 /* linux_close_range */
8216 /* linux_pidfd_getfd */
8219 /* linux_faccessat2 */
8222 /* linux_process_madvise */
8225 /* linux_epoll_pwait2 */
8228 /* linux_mount_setattr */
8235 strlcpy(desc, p, descsz);
8238 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8240 const char *p = NULL;
8242 #define nosys linux_nosys
8245 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)
8287 if (ndx == 0 || ndx == 1)
8292 if (ndx == 0 || ndx == 1)
8297 if (ndx == 0 || ndx == 1)
8302 if (ndx == 0 || ndx == 1)
8307 if (ndx == 0 || ndx == 1)
8312 if (ndx == 0 || ndx == 1)
8315 /* linux_lchown16 */
8317 if (ndx == 0 || ndx == 1)
8322 if (ndx == 0 || ndx == 1)
8327 if (ndx == 0 || ndx == 1)
8334 if (ndx == 0 || ndx == 1)
8337 /* linux_oldumount */
8339 if (ndx == 0 || ndx == 1)
8342 /* linux_setuid16 */
8344 if (ndx == 0 || ndx == 1)
8347 /* linux_getuid16 */
8353 if (ndx == 0 || ndx == 1)
8358 if (ndx == 0 || ndx == 1)
8363 if (ndx == 0 || ndx == 1)
8370 if (ndx == 0 || ndx == 1)
8375 if (ndx == 0 || ndx == 1)
8380 if (ndx == 0 || ndx == 1)
8387 if (ndx == 0 || ndx == 1)
8392 if (ndx == 0 || ndx == 1)
8397 if (ndx == 0 || ndx == 1)
8402 if (ndx == 0 || ndx == 1)
8407 if (ndx == 0 || ndx == 1)
8412 if (ndx == 0 || ndx == 1)
8417 if (ndx == 0 || ndx == 1)
8422 if (ndx == 0 || ndx == 1)
8425 /* linux_setgid16 */
8427 if (ndx == 0 || ndx == 1)
8430 /* linux_getgid16 */
8434 if (ndx == 0 || ndx == 1)
8437 /* linux_geteuid16 */
8439 /* linux_getegid16 */
8443 if (ndx == 0 || ndx == 1)
8448 if (ndx == 0 || ndx == 1)
8453 if (ndx == 0 || ndx == 1)
8458 if (ndx == 0 || ndx == 1)
8463 if (ndx == 0 || ndx == 1)
8466 /* linux_olduname */
8470 if (ndx == 0 || ndx == 1)
8475 if (ndx == 0 || ndx == 1)
8480 if (ndx == 0 || ndx == 1)
8485 if (ndx == 0 || ndx == 1)
8494 /* linux_sigaction */
8496 if (ndx == 0 || ndx == 1)
8499 /* linux_sgetmask */
8501 /* linux_ssetmask */
8503 if (ndx == 0 || ndx == 1)
8506 /* linux_setreuid16 */
8508 if (ndx == 0 || ndx == 1)
8511 /* linux_setregid16 */
8513 if (ndx == 0 || ndx == 1)
8516 /* linux_sigsuspend */
8518 if (ndx == 0 || ndx == 1)
8521 /* linux_sigpending */
8523 if (ndx == 0 || ndx == 1)
8526 /* linux_sethostname */
8528 if (ndx == 0 || ndx == 1)
8531 /* linux_setrlimit */
8533 if (ndx == 0 || ndx == 1)
8536 /* linux_old_getrlimit */
8538 if (ndx == 0 || ndx == 1)
8543 if (ndx == 0 || ndx == 1)
8548 if (ndx == 0 || ndx == 1)
8553 if (ndx == 0 || ndx == 1)
8556 /* linux_getgroups16 */
8558 if (ndx == 0 || ndx == 1)
8561 /* linux_setgroups16 */
8563 if (ndx == 0 || ndx == 1)
8566 /* linux_old_select */
8568 if (ndx == 0 || ndx == 1)
8573 if (ndx == 0 || ndx == 1)
8578 if (ndx == 0 || ndx == 1)
8581 /* linux_readlink */
8583 if (ndx == 0 || ndx == 1)
8588 if (ndx == 0 || ndx == 1)
8593 if (ndx == 0 || ndx == 1)
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_truncate */
8618 if (ndx == 0 || ndx == 1)
8621 /* linux_ftruncate */
8623 if (ndx == 0 || ndx == 1)
8628 if (ndx == 0 || ndx == 1)
8633 if (ndx == 0 || ndx == 1)
8636 /* linux_getpriority */
8638 if (ndx == 0 || ndx == 1)
8643 if (ndx == 0 || ndx == 1)
8648 if (ndx == 0 || ndx == 1)
8653 if (ndx == 0 || ndx == 1)
8658 if (ndx == 0 || ndx == 1)
8661 /* linux_socketcall */
8663 if (ndx == 0 || ndx == 1)
8668 if (ndx == 0 || ndx == 1)
8671 /* linux_setitimer */
8673 if (ndx == 0 || ndx == 1)
8676 /* linux_getitimer */
8678 if (ndx == 0 || ndx == 1)
8683 if (ndx == 0 || ndx == 1)
8686 /* linux_newlstat */
8688 if (ndx == 0 || ndx == 1)
8691 /* linux_newfstat */
8693 if (ndx == 0 || ndx == 1)
8700 if (ndx == 0 || ndx == 1)
8709 if (ndx == 0 || ndx == 1)
8716 if (ndx == 0 || ndx == 1)
8721 if (ndx == 0 || ndx == 1)
8726 if (ndx == 0 || ndx == 1)
8729 /* linux_sigreturn */
8731 if (ndx == 0 || ndx == 1)
8736 if (ndx == 0 || ndx == 1)
8739 /* linux_setdomainname */
8741 if (ndx == 0 || ndx == 1)
8744 /* linux_newuname */
8746 if (ndx == 0 || ndx == 1)
8749 /* linux_modify_ldt */
8751 if (ndx == 0 || ndx == 1)
8754 /* linux_adjtimex */
8756 /* linux_mprotect */
8758 if (ndx == 0 || ndx == 1)
8761 /* linux_sigprocmask */
8763 if (ndx == 0 || ndx == 1)
8766 /* linux_init_module */
8768 /* linux_delete_module */
8770 /* linux_quotactl */
8774 if (ndx == 0 || ndx == 1)
8779 if (ndx == 0 || ndx == 1)
8786 if (ndx == 0 || ndx == 1)
8789 /* linux_personality */
8791 if (ndx == 0 || ndx == 1)
8794 /* linux_setfsuid16 */
8796 if (ndx == 0 || ndx == 1)
8799 /* linux_setfsgid16 */
8801 if (ndx == 0 || ndx == 1)
8806 if (ndx == 0 || ndx == 1)
8809 /* linux_getdents */
8811 if (ndx == 0 || ndx == 1)
8816 if (ndx == 0 || ndx == 1)
8821 if (ndx == 0 || ndx == 1)
8826 if (ndx == 0 || ndx == 1)
8831 if (ndx == 0 || ndx == 1)
8836 if (ndx == 0 || ndx == 1)
8841 if (ndx == 0 || ndx == 1)
8844 /* linux_fdatasync */
8846 if (ndx == 0 || ndx == 1)
8851 if (ndx == 0 || ndx == 1)
8856 if (ndx == 0 || ndx == 1)
8861 if (ndx == 0 || ndx == 1)
8866 if (ndx == 0 || ndx == 1)
8871 /* linux_sched_setparam */
8873 if (ndx == 0 || ndx == 1)
8876 /* linux_sched_getparam */
8878 if (ndx == 0 || ndx == 1)
8881 /* linux_sched_setscheduler */
8883 if (ndx == 0 || ndx == 1)
8886 /* linux_sched_getscheduler */
8888 if (ndx == 0 || ndx == 1)
8893 /* linux_sched_get_priority_max */
8895 if (ndx == 0 || ndx == 1)
8898 /* linux_sched_get_priority_min */
8900 if (ndx == 0 || ndx == 1)
8903 /* linux_sched_rr_get_interval */
8905 if (ndx == 0 || ndx == 1)
8908 /* linux_nanosleep */
8910 if (ndx == 0 || ndx == 1)
8915 if (ndx == 0 || ndx == 1)
8918 /* linux_setresuid16 */
8920 if (ndx == 0 || ndx == 1)
8923 /* linux_getresuid16 */
8925 if (ndx == 0 || ndx == 1)
8932 if (ndx == 0 || ndx == 1)
8935 /* linux_setresgid16 */
8937 if (ndx == 0 || ndx == 1)
8940 /* linux_getresgid16 */
8942 if (ndx == 0 || ndx == 1)
8947 if (ndx == 0 || ndx == 1)
8950 /* linux_rt_sigreturn */
8952 if (ndx == 0 || ndx == 1)
8955 /* linux_rt_sigaction */
8957 if (ndx == 0 || ndx == 1)
8960 /* linux_rt_sigprocmask */
8962 if (ndx == 0 || ndx == 1)
8965 /* linux_rt_sigpending */
8967 if (ndx == 0 || ndx == 1)
8970 /* linux_rt_sigtimedwait */
8972 if (ndx == 0 || ndx == 1)
8975 /* linux_rt_sigqueueinfo */
8977 if (ndx == 0 || ndx == 1)
8980 /* linux_rt_sigsuspend */
8982 if (ndx == 0 || ndx == 1)
8987 if (ndx == 0 || ndx == 1)
8992 if (ndx == 0 || ndx == 1)
8997 if (ndx == 0 || ndx == 1)
9002 if (ndx == 0 || ndx == 1)
9007 if (ndx == 0 || ndx == 1)
9012 if (ndx == 0 || ndx == 1)
9015 /* linux_sigaltstack */
9017 if (ndx == 0 || ndx == 1)
9020 /* linux_sendfile */
9022 if (ndx == 0 || ndx == 1)
9027 /* linux_getrlimit */
9029 if (ndx == 0 || ndx == 1)
9034 if (ndx == 0 || ndx == 1)
9037 /* linux_truncate64 */
9039 if (ndx == 0 || ndx == 1)
9042 /* linux_ftruncate64 */
9044 if (ndx == 0 || ndx == 1)
9049 if (ndx == 0 || ndx == 1)
9054 if (ndx == 0 || ndx == 1)
9059 if (ndx == 0 || ndx == 1)
9064 if (ndx == 0 || ndx == 1)
9077 if (ndx == 0 || ndx == 1)
9082 if (ndx == 0 || ndx == 1)
9085 /* linux_getgroups */
9087 if (ndx == 0 || ndx == 1)
9090 /* linux_setgroups */
9092 if (ndx == 0 || ndx == 1)
9099 if (ndx == 0 || ndx == 1)
9104 if (ndx == 0 || ndx == 1)
9109 if (ndx == 0 || ndx == 1)
9114 if (ndx == 0 || ndx == 1)
9119 if (ndx == 0 || ndx == 1)
9124 if (ndx == 0 || ndx == 1)
9129 if (ndx == 0 || ndx == 1)
9132 /* linux_setfsuid */
9134 if (ndx == 0 || ndx == 1)
9137 /* linux_setfsgid */
9139 if (ndx == 0 || ndx == 1)
9142 /* linux_pivot_root */
9144 if (ndx == 0 || ndx == 1)
9149 if (ndx == 0 || ndx == 1)
9154 if (ndx == 0 || ndx == 1)
9157 /* linux_getdents64 */
9159 if (ndx == 0 || ndx == 1)
9164 if (ndx == 0 || ndx == 1)
9169 /* linux_setxattr */
9171 if (ndx == 0 || ndx == 1)
9174 /* linux_lsetxattr */
9176 if (ndx == 0 || ndx == 1)
9179 /* linux_fsetxattr */
9181 if (ndx == 0 || ndx == 1)
9184 /* linux_getxattr */
9186 if (ndx == 0 || ndx == 1)
9189 /* linux_lgetxattr */
9191 if (ndx == 0 || ndx == 1)
9194 /* linux_fgetxattr */
9196 if (ndx == 0 || ndx == 1)
9199 /* linux_listxattr */
9201 if (ndx == 0 || ndx == 1)
9204 /* linux_llistxattr */
9206 if (ndx == 0 || ndx == 1)
9209 /* linux_flistxattr */
9211 if (ndx == 0 || ndx == 1)
9214 /* linux_removexattr */
9216 if (ndx == 0 || ndx == 1)
9219 /* linux_lremovexattr */
9221 if (ndx == 0 || ndx == 1)
9224 /* linux_fremovexattr */
9226 if (ndx == 0 || ndx == 1)
9231 if (ndx == 0 || ndx == 1)
9234 /* linux_sendfile64 */
9236 if (ndx == 0 || ndx == 1)
9239 /* linux_sys_futex */
9241 if (ndx == 0 || ndx == 1)
9244 /* linux_sched_setaffinity */
9246 if (ndx == 0 || ndx == 1)
9249 /* linux_sched_getaffinity */
9251 if (ndx == 0 || ndx == 1)
9254 /* linux_set_thread_area */
9256 if (ndx == 0 || ndx == 1)
9259 /* linux_get_thread_area */
9261 if (ndx == 0 || ndx == 1)
9264 /* linux_fadvise64 */
9266 if (ndx == 0 || ndx == 1)
9269 /* linux_exit_group */
9271 if (ndx == 0 || ndx == 1)
9274 /* linux_lookup_dcookie */
9276 /* linux_epoll_create */
9278 if (ndx == 0 || ndx == 1)
9281 /* linux_epoll_ctl */
9283 if (ndx == 0 || ndx == 1)
9286 /* linux_epoll_wait */
9288 if (ndx == 0 || ndx == 1)
9291 /* linux_remap_file_pages */
9293 /* linux_set_tid_address */
9295 if (ndx == 0 || ndx == 1)
9298 /* linux_timer_create */
9300 if (ndx == 0 || ndx == 1)
9303 /* linux_timer_settime */
9305 if (ndx == 0 || ndx == 1)
9308 /* linux_timer_gettime */
9310 if (ndx == 0 || ndx == 1)
9313 /* linux_timer_getoverrun */
9315 if (ndx == 0 || ndx == 1)
9318 /* linux_timer_delete */
9320 if (ndx == 0 || ndx == 1)
9323 /* linux_clock_settime */
9325 if (ndx == 0 || ndx == 1)
9328 /* linux_clock_gettime */
9330 if (ndx == 0 || ndx == 1)
9333 /* linux_clock_getres */
9335 if (ndx == 0 || ndx == 1)
9338 /* linux_clock_nanosleep */
9340 if (ndx == 0 || ndx == 1)
9343 /* linux_statfs64 */
9345 if (ndx == 0 || ndx == 1)
9348 /* linux_fstatfs64 */
9350 if (ndx == 0 || ndx == 1)
9355 if (ndx == 0 || ndx == 1)
9360 if (ndx == 0 || ndx == 1)
9363 /* linux_fadvise64_64 */
9365 if (ndx == 0 || ndx == 1)
9370 /* linux_get_mempolicy */
9372 /* linux_set_mempolicy */
9376 if (ndx == 0 || ndx == 1)
9379 /* linux_mq_unlink */
9381 if (ndx == 0 || ndx == 1)
9384 /* linux_mq_timedsend */
9386 if (ndx == 0 || ndx == 1)
9389 /* linux_mq_timedreceive */
9391 if (ndx == 0 || ndx == 1)
9394 /* linux_mq_notify */
9396 if (ndx == 0 || ndx == 1)
9399 /* linux_mq_getsetattr */
9401 if (ndx == 0 || ndx == 1)
9404 /* linux_kexec_load */
9408 if (ndx == 0 || ndx == 1)
9413 /* linux_request_key */
9417 /* linux_ioprio_set */
9419 /* linux_ioprio_get */
9421 /* linux_inotify_init */
9423 /* linux_inotify_add_watch */
9425 /* linux_inotify_rm_watch */
9427 /* linux_migrate_pages */
9431 if (ndx == 0 || ndx == 1)
9436 if (ndx == 0 || ndx == 1)
9441 if (ndx == 0 || ndx == 1)
9444 /* linux_fchownat */
9446 if (ndx == 0 || ndx == 1)
9449 /* linux_futimesat */
9451 if (ndx == 0 || ndx == 1)
9454 /* linux_fstatat64 */
9456 if (ndx == 0 || ndx == 1)
9459 /* linux_unlinkat */
9461 if (ndx == 0 || ndx == 1)
9464 /* linux_renameat */
9466 if (ndx == 0 || ndx == 1)
9471 if (ndx == 0 || ndx == 1)
9474 /* linux_symlinkat */
9476 if (ndx == 0 || ndx == 1)
9479 /* linux_readlinkat */
9481 if (ndx == 0 || ndx == 1)
9484 /* linux_fchmodat */
9486 if (ndx == 0 || ndx == 1)
9489 /* linux_faccessat */
9491 if (ndx == 0 || ndx == 1)
9494 /* linux_pselect6 */
9496 if (ndx == 0 || ndx == 1)
9501 if (ndx == 0 || ndx == 1)
9506 /* linux_set_robust_list */
9508 if (ndx == 0 || ndx == 1)
9511 /* linux_get_robust_list */
9513 if (ndx == 0 || ndx == 1)
9518 if (ndx == 0 || ndx == 1)
9521 /* linux_sync_file_range */
9523 if (ndx == 0 || ndx == 1)
9528 /* linux_vmsplice */
9530 /* linux_move_pages */
9534 if (ndx == 0 || ndx == 1)
9537 /* linux_epoll_pwait */
9539 if (ndx == 0 || ndx == 1)
9542 /* linux_utimensat */
9544 if (ndx == 0 || ndx == 1)
9547 /* linux_signalfd */
9549 /* linux_timerfd_create */
9551 if (ndx == 0 || ndx == 1)
9556 if (ndx == 0 || ndx == 1)
9559 /* linux_fallocate */
9561 if (ndx == 0 || ndx == 1)
9564 /* linux_timerfd_settime */
9566 if (ndx == 0 || ndx == 1)
9569 /* linux_timerfd_gettime */
9571 if (ndx == 0 || ndx == 1)
9574 /* linux_signalfd4 */
9576 /* linux_eventfd2 */
9578 if (ndx == 0 || ndx == 1)
9581 /* linux_epoll_create1 */
9583 if (ndx == 0 || ndx == 1)
9588 if (ndx == 0 || ndx == 1)
9593 if (ndx == 0 || ndx == 1)
9596 /* linux_inotify_init1 */
9600 if (ndx == 0 || ndx == 1)
9605 if (ndx == 0 || ndx == 1)
9608 /* linux_rt_tgsigqueueinfo */
9610 if (ndx == 0 || ndx == 1)
9613 /* linux_perf_event_open */
9615 /* linux_recvmmsg */
9617 if (ndx == 0 || ndx == 1)
9620 /* linux_fanotify_init */
9622 /* linux_fanotify_mark */
9624 /* linux_prlimit64 */
9626 if (ndx == 0 || ndx == 1)
9629 /* linux_name_to_handle_at */
9631 if (ndx == 0 || ndx == 1)
9634 /* linux_open_by_handle_at */
9636 if (ndx == 0 || ndx == 1)
9639 /* linux_clock_adjtime */
9643 if (ndx == 0 || ndx == 1)
9646 /* linux_sendmmsg */
9648 if (ndx == 0 || ndx == 1)
9653 /* linux_process_vm_readv */
9655 if (ndx == 0 || ndx == 1)
9658 /* linux_process_vm_writev */
9660 if (ndx == 0 || ndx == 1)
9665 if (ndx == 0 || ndx == 1)
9668 /* linux_finit_module */
9670 if (ndx == 0 || ndx == 1)
9673 /* linux_sched_setattr */
9675 if (ndx == 0 || ndx == 1)
9678 /* linux_sched_getattr */
9680 if (ndx == 0 || ndx == 1)
9683 /* linux_renameat2 */
9685 if (ndx == 0 || ndx == 1)
9690 if (ndx == 0 || ndx == 1)
9693 /* linux_getrandom */
9695 if (ndx == 0 || ndx == 1)
9698 /* linux_memfd_create */
9700 if (ndx == 0 || ndx == 1)
9705 if (ndx == 0 || ndx == 1)
9708 /* linux_execveat */
9710 if (ndx == 0 || ndx == 1)
9715 if (ndx == 0 || ndx == 1)
9718 /* linux_socketpair */
9720 if (ndx == 0 || ndx == 1)
9725 if (ndx == 0 || ndx == 1)
9730 if (ndx == 0 || ndx == 1)
9735 if (ndx == 0 || ndx == 1)
9740 if (ndx == 0 || ndx == 1)
9743 /* linux_getsockopt */
9745 if (ndx == 0 || ndx == 1)
9748 /* linux_setsockopt */
9750 if (ndx == 0 || ndx == 1)
9753 /* linux_getsockname */
9755 if (ndx == 0 || ndx == 1)
9758 /* linux_getpeername */
9760 if (ndx == 0 || ndx == 1)
9765 if (ndx == 0 || ndx == 1)
9770 if (ndx == 0 || ndx == 1)
9773 /* linux_recvfrom */
9775 if (ndx == 0 || ndx == 1)
9780 if (ndx == 0 || ndx == 1)
9783 /* linux_shutdown */
9785 if (ndx == 0 || ndx == 1)
9788 /* linux_userfaultfd */
9790 if (ndx == 0 || ndx == 1)
9793 /* linux_membarrier */
9795 if (ndx == 0 || ndx == 1)
9800 if (ndx == 0 || ndx == 1)
9803 /* linux_copy_file_range */
9805 if (ndx == 0 || ndx == 1)
9810 if (ndx == 0 || ndx == 1)
9813 /* linux_pwritev2 */
9815 if (ndx == 0 || ndx == 1)
9818 /* linux_pkey_mprotect */
9820 if (ndx == 0 || ndx == 1)
9823 /* linux_pkey_alloc */
9825 if (ndx == 0 || ndx == 1)
9828 /* linux_pkey_free */
9830 if (ndx == 0 || ndx == 1)
9835 if (ndx == 0 || ndx == 1)
9838 /* linux_arch_prctl */
9840 if (ndx == 0 || ndx == 1)
9843 /* linux_io_pgetevents */
9849 if (ndx == 0 || ndx == 1)
9854 if (ndx == 0 || ndx == 1)
9859 if (ndx == 0 || ndx == 1)
9864 if (ndx == 0 || ndx == 1)
9869 if (ndx == 0 || ndx == 1)
9874 if (ndx == 0 || ndx == 1)
9879 if (ndx == 0 || ndx == 1)
9884 if (ndx == 0 || ndx == 1)
9889 if (ndx == 0 || ndx == 1)
9894 if (ndx == 0 || ndx == 1)
9897 /* linux_clock_gettime64 */
9899 if (ndx == 0 || ndx == 1)
9902 /* linux_clock_settime64 */
9904 /* linux_clock_adjtime64 */
9906 /* linux_clock_getres_time64 */
9908 /* linux_clock_nanosleep_time64 */
9910 /* linux_timer_gettime64 */
9912 /* linux_timer_settime64 */
9914 /* linux_timerfd_gettime64 */
9916 /* linux_timerfd_settime64 */
9918 /* linux_utimensat_time64 */
9920 if (ndx == 0 || ndx == 1)
9923 /* linux_pselect6_time64 */
9925 /* linux_ppoll_time64 */
9927 /* linux_io_pgetevents_time64 */
9929 /* linux_recvmmsg_time64 */
9931 /* linux_mq_timedsend_time64 */
9933 /* linux_mq_timedreceive_time64 */
9935 /* linux_semtimedop_time64 */
9937 /* linux_rt_sigtimedwait_time64 */
9939 /* linux_futex_time64 */
9941 /* linux_sched_rr_get_interval_time64 */
9943 /* linux_pidfd_send_signal */
9945 if (ndx == 0 || ndx == 1)
9948 /* linux_io_uring_setup */
9950 /* linux_io_uring_enter */
9952 /* linux_io_uring_register */
9954 /* linux_open_tree */
9956 /* linux_move_mount */
9960 /* linux_fsconfig */
9966 /* linux_pidfd_open */
9970 /* linux_close_range */
9974 /* linux_pidfd_getfd */
9976 /* linux_faccessat2 */
9978 /* linux_process_madvise */
9980 /* linux_epoll_pwait2 */
9982 /* linux_mount_setattr */
9988 strlcpy(desc, p, descsz);