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 */
3007 /* linux_clock_settime64 */
3012 /* linux_clock_adjtime64 */
3017 /* linux_clock_getres_time64 */
3022 /* linux_clock_nanosleep_time64 */
3027 /* linux_timer_gettime64 */
3032 /* linux_timer_settime64 */
3037 /* linux_timerfd_gettime64 */
3042 /* linux_timerfd_settime64 */
3047 /* linux_utimensat_time64 */
3052 /* linux_pselect6_time64 */
3057 /* linux_ppoll_time64 */
3062 /* linux_io_pgetevents_time64 */
3067 /* linux_recvmmsg_time64 */
3072 /* linux_mq_timedsend_time64 */
3077 /* linux_mq_timedreceive_time64 */
3082 /* linux_semtimedop_time64 */
3087 /* linux_rt_sigtimedwait_time64 */
3092 /* linux_futex_time64 */
3097 /* linux_sched_rr_get_interval_time64 */
3102 /* linux_pidfd_send_signal */
3104 struct linux_pidfd_send_signal_args *p = params;
3105 iarg[0] = p->pidfd; /* l_int */
3106 iarg[1] = p->sig; /* l_int */
3107 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
3108 iarg[3] = p->flags; /* l_uint */
3112 /* linux_io_uring_setup */
3117 /* linux_io_uring_enter */
3122 /* linux_io_uring_register */
3127 /* linux_open_tree */
3132 /* linux_move_mount */
3142 /* linux_fsconfig */
3157 /* linux_pidfd_open */
3167 /* linux_close_range */
3177 /* linux_pidfd_getfd */
3182 /* linux_faccessat2 */
3187 /* linux_process_madvise */
3192 /* linux_epoll_pwait2 */
3197 /* linux_mount_setattr */
3208 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3210 const char *p = NULL;
3212 #define nosys linux_nosys
3233 p = "userland char *";
3249 p = "userland char *";
3262 p = "userland char *";
3291 p = "userland l_int *";
3304 p = "userland char *";
3317 p = "userland char *";
3320 p = "userland char *";
3330 p = "userland char *";
3340 p = "userland char *";
3343 p = "userland char **";
3346 p = "userland char **";
3356 p = "userland char *";
3366 p = "userland l_time_t *";
3376 p = "userland char *";
3392 p = "userland char *";
3401 /* linux_lchown16 */
3405 p = "userland char *";
3421 p = "userland char *";
3424 p = "userland struct linux_stat *";
3453 p = "userland char *";
3456 p = "userland char *";
3459 p = "userland char *";
3465 p = "userland void *";
3471 /* linux_oldumount */
3475 p = "userland char *";
3481 /* linux_setuid16 */
3491 /* linux_getuid16 */
3533 p = "userland struct linux_stat *";
3546 p = "userland char *";
3549 p = "userland struct l_utimbuf *";
3559 p = "userland char *";
3598 p = "userland char *";
3601 p = "userland char *";
3611 p = "userland char *";
3624 p = "userland char *";
3644 p = "userland l_int *";
3654 p = "userland struct l_times_argv *";
3670 /* linux_setgid16 */
3680 /* linux_getgid16 */
3690 p = "userland void *";
3696 /* linux_geteuid16 */
3699 /* linux_getegid16 */
3706 p = "userland char *";
3716 p = "userland char *";
3770 /* linux_olduname */
3787 p = "userland char *";
3800 p = "userland struct l_ustat *";
3828 /* linux_sigaction */
3835 p = "userland l_osigaction_t *";
3838 p = "userland l_osigaction_t *";
3844 /* linux_sgetmask */
3847 /* linux_ssetmask */
3857 /* linux_setreuid16 */
3870 /* linux_setregid16 */
3883 /* linux_sigsuspend */
3899 /* linux_sigpending */
3903 p = "userland l_osigset_t *";
3909 /* linux_sethostname */
3913 p = "userland char *";
3922 /* linux_setrlimit */
3929 p = "userland struct l_rlimit *";
3935 /* linux_old_getrlimit */
3942 p = "userland struct l_rlimit *";
3955 p = "userland struct rusage *";
3965 p = "userland struct timeval *";
3968 p = "userland struct timezone *";
3978 p = "userland struct timeval *";
3981 p = "userland struct timezone *";
3987 /* linux_getgroups16 */
3994 p = "userland l_gid16_t *";
4000 /* linux_setgroups16 */
4007 p = "userland l_gid16_t *";
4013 /* linux_old_select */
4017 p = "userland struct l_old_select_argv *";
4027 p = "userland char *";
4030 p = "userland char *";
4040 p = "userland char *";
4043 p = "userland struct l_stat *";
4049 /* linux_readlink */
4053 p = "userland char *";
4056 p = "userland char *";
4069 p = "userland char *";
4079 p = "userland char *";
4098 p = "userland void *";
4111 p = "userland struct l_dirent *";
4124 p = "userland struct l_mmap_argv *";
4143 /* linux_truncate */
4147 p = "userland char *";
4156 /* linux_ftruncate */
4198 /* linux_getpriority */
4231 p = "userland char *";
4234 p = "userland struct l_statfs_buf *";
4247 p = "userland struct l_statfs_buf *";
4269 /* linux_socketcall */
4289 p = "userland char *";
4298 /* linux_setitimer */
4305 p = "userland struct l_itimerval *";
4308 p = "userland struct l_itimerval *";
4314 /* linux_getitimer */
4321 p = "userland struct l_itimerval *";
4331 p = "userland char *";
4334 p = "userland struct l_newstat *";
4340 /* linux_newlstat */
4344 p = "userland char *";
4347 p = "userland struct l_newstat *";
4353 /* linux_newfstat */
4360 p = "userland struct l_newstat *";
4392 p = "userland l_int *";
4398 p = "userland void *";
4411 p = "userland struct l_sysinfo *";
4452 /* linux_sigreturn */
4456 p = "userland struct l_sigframe *";
4469 p = "userland void *";
4472 p = "userland void *";
4475 p = "userland void *";
4478 p = "userland void *";
4484 /* linux_setdomainname */
4488 p = "userland char *";
4497 /* linux_newuname */
4501 p = "userland struct l_new_utsname *";
4507 /* linux_modify_ldt */
4514 p = "userland void *";
4523 /* linux_adjtimex */
4526 /* linux_mprotect */
4542 /* linux_sigprocmask */
4549 p = "userland l_osigset_t *";
4552 p = "userland l_osigset_t *";
4558 /* linux_init_module */
4561 /* linux_delete_module */
4564 /* linux_quotactl */
4606 /* linux_personality */
4616 /* linux_setfsuid16 */
4626 /* linux_setfsgid16 */
4649 p = "userland l_loff_t *";
4658 /* linux_getdents */
4665 p = "userland void *";
4681 p = "userland l_fd_set *";
4684 p = "userland l_fd_set *";
4687 p = "userland l_fd_set *";
4690 p = "userland struct l_timeval *";
4732 p = "userland struct iovec *";
4748 p = "userland struct iovec *";
4767 /* linux_fdatasync */
4781 p = "userland struct l___sysctl_args *";
4791 p = "userland const void *";
4804 p = "userland const void *";
4826 /* linux_sched_setparam */
4833 p = "userland struct sched_param *";
4839 /* linux_sched_getparam */
4846 p = "userland struct sched_param *";
4852 /* linux_sched_setscheduler */
4862 p = "userland struct sched_param *";
4868 /* linux_sched_getscheduler */
4881 /* linux_sched_get_priority_max */
4891 /* linux_sched_get_priority_min */
4901 /* linux_sched_rr_get_interval */
4908 p = "userland struct l_timespec *";
4914 /* linux_nanosleep */
4918 p = "userland const struct l_timespec *";
4921 p = "userland struct l_timespec *";
4949 /* linux_setresuid16 */
4965 /* linux_getresuid16 */
4969 p = "userland l_uid16_t *";
4972 p = "userland l_uid16_t *";
4975 p = "userland l_uid16_t *";
4988 p = "userland struct pollfd *";
5000 /* linux_setresgid16 */
5016 /* linux_getresgid16 */
5020 p = "userland l_gid16_t *";
5023 p = "userland l_gid16_t *";
5026 p = "userland l_gid16_t *";
5054 /* linux_rt_sigreturn */
5058 p = "userland struct l_ucontext *";
5064 /* linux_rt_sigaction */
5071 p = "userland l_sigaction_t *";
5074 p = "userland l_sigaction_t *";
5083 /* linux_rt_sigprocmask */
5090 p = "userland l_sigset_t *";
5093 p = "userland l_sigset_t *";
5102 /* linux_rt_sigpending */
5106 p = "userland l_sigset_t *";
5115 /* linux_rt_sigtimedwait */
5119 p = "userland l_sigset_t *";
5122 p = "userland l_siginfo_t *";
5125 p = "userland struct l_timeval *";
5134 /* linux_rt_sigqueueinfo */
5144 p = "userland l_siginfo_t *";
5150 /* linux_rt_sigsuspend */
5154 p = "userland l_sigset_t *";
5170 p = "userland char *";
5189 p = "userland char *";
5205 p = "userland char *";
5221 p = "userland char *";
5234 p = "userland struct l_user_cap_header *";
5237 p = "userland struct l_user_cap_data *";
5247 p = "userland struct l_user_cap_header *";
5250 p = "userland struct l_user_cap_data *";
5256 /* linux_sigaltstack */
5260 p = "userland l_stack_t *";
5263 p = "userland l_stack_t *";
5269 /* linux_sendfile */
5279 p = "userland l_long *";
5291 /* linux_getrlimit */
5298 p = "userland struct l_rlimit *";
5329 /* linux_truncate64 */
5333 p = "userland char *";
5342 /* linux_ftruncate64 */
5359 p = "userland const char *";
5362 p = "userland struct l_stat64 *";
5372 p = "userland const char *";
5375 p = "userland struct l_stat64 *";
5388 p = "userland struct l_stat64 *";
5398 p = "userland char *";
5448 /* linux_getgroups */
5455 p = "userland l_gid_t *";
5461 /* linux_setgroups */
5468 p = "userland l_gid_t *";
5497 p = "userland uid_t *";
5500 p = "userland uid_t *";
5503 p = "userland uid_t *";
5529 p = "userland gid_t *";
5532 p = "userland gid_t *";
5535 p = "userland gid_t *";
5545 p = "userland char *";
5577 /* linux_setfsuid */
5587 /* linux_setfsgid */
5597 /* linux_pivot_root */
5601 p = "userland char *";
5604 p = "userland char *";
5620 p = "userland u_char *";
5630 p = "userland void *";
5642 /* linux_getdents64 */
5649 p = "userland void *";
5677 /* linux_setxattr */
5681 p = "userland const char *";
5684 p = "userland const char *";
5687 p = "userland const char *";
5699 /* linux_lsetxattr */
5703 p = "userland const char *";
5706 p = "userland const char *";
5709 p = "userland const char *";
5721 /* linux_fsetxattr */
5728 p = "userland const char *";
5731 p = "userland const char *";
5743 /* linux_getxattr */
5747 p = "userland const char *";
5750 p = "userland const char *";
5753 p = "userland char *";
5762 /* linux_lgetxattr */
5766 p = "userland const char *";
5769 p = "userland const char *";
5772 p = "userland char *";
5781 /* linux_fgetxattr */
5788 p = "userland const char *";
5791 p = "userland char *";
5800 /* linux_listxattr */
5804 p = "userland const char *";
5807 p = "userland const char *";
5816 /* linux_llistxattr */
5820 p = "userland const char *";
5823 p = "userland const char *";
5832 /* linux_flistxattr */
5839 p = "userland const char *";
5848 /* linux_removexattr */
5852 p = "userland const char *";
5855 p = "userland const char *";
5861 /* linux_lremovexattr */
5865 p = "userland const char *";
5868 p = "userland const char *";
5874 /* linux_fremovexattr */
5881 p = "userland const char *";
5900 /* linux_sendfile64 */
5910 p = "userland l_loff_t *";
5919 /* linux_sys_futex */
5923 p = "userland void *";
5932 p = "userland struct l_timespec *";
5935 p = "userland uint32_t *";
5944 /* linux_sched_setaffinity */
5954 p = "userland l_ulong *";
5960 /* linux_sched_getaffinity */
5970 p = "userland l_ulong *";
5976 /* linux_set_thread_area */
5980 p = "userland struct l_user_desc *";
5986 /* linux_get_thread_area */
5990 p = "userland struct l_user_desc *";
5996 /* linux_fadvise64 */
6015 /* linux_exit_group */
6025 /* linux_lookup_dcookie */
6028 /* linux_epoll_create */
6038 /* linux_epoll_ctl */
6051 p = "userland struct epoll_event *";
6057 /* linux_epoll_wait */
6064 p = "userland struct epoll_event *";
6076 /* linux_remap_file_pages */
6079 /* linux_set_tid_address */
6083 p = "userland int *";
6089 /* linux_timer_create */
6096 p = "userland struct sigevent *";
6099 p = "userland l_timer_t *";
6105 /* linux_timer_settime */
6115 p = "userland const struct itimerspec *";
6118 p = "userland struct itimerspec *";
6124 /* linux_timer_gettime */
6131 p = "userland struct itimerspec *";
6137 /* linux_timer_getoverrun */
6147 /* linux_timer_delete */
6157 /* linux_clock_settime */
6164 p = "userland struct l_timespec *";
6170 /* linux_clock_gettime */
6177 p = "userland struct l_timespec *";
6183 /* linux_clock_getres */
6190 p = "userland struct l_timespec *";
6196 /* linux_clock_nanosleep */
6206 p = "userland struct l_timespec *";
6209 p = "userland struct l_timespec *";
6215 /* linux_statfs64 */
6219 p = "userland char *";
6225 p = "userland struct l_statfs64_buf *";
6231 /* linux_fstatfs64 */
6241 p = "userland struct l_statfs64_buf *";
6267 p = "userland char *";
6270 p = "userland struct l_timeval *";
6276 /* linux_fadvise64_64 */
6298 /* linux_get_mempolicy */
6301 /* linux_set_mempolicy */
6308 p = "userland const char *";
6317 p = "userland struct mq_attr *";
6323 /* linux_mq_unlink */
6327 p = "userland const char *";
6333 /* linux_mq_timedsend */
6340 p = "userland const char *";
6349 p = "userland const struct l_timespec *";
6355 /* linux_mq_timedreceive */
6362 p = "userland char *";
6368 p = "userland l_uint *";
6371 p = "userland const struct l_timespec *";
6377 /* linux_mq_notify */
6384 p = "userland const struct l_timespec *";
6390 /* linux_mq_getsetattr */
6397 p = "userland const struct mq_attr *";
6400 p = "userland struct mq_attr *";
6406 /* linux_kexec_load */
6419 p = "userland l_siginfo_t *";
6425 p = "userland void *";
6434 /* linux_request_key */
6440 /* linux_ioprio_set */
6443 /* linux_ioprio_get */
6446 /* linux_inotify_init */
6449 /* linux_inotify_add_watch */
6452 /* linux_inotify_rm_watch */
6455 /* linux_migrate_pages */
6465 p = "userland const char *";
6484 p = "userland const char *";
6500 p = "userland const char *";
6512 /* linux_fchownat */
6519 p = "userland const char *";
6534 /* linux_futimesat */
6541 p = "userland char *";
6544 p = "userland struct l_timeval *";
6550 /* linux_fstatat64 */
6557 p = "userland char *";
6560 p = "userland struct l_stat64 *";
6569 /* linux_unlinkat */
6576 p = "userland const char *";
6585 /* linux_renameat */
6592 p = "userland const char *";
6598 p = "userland const char *";
6611 p = "userland const char *";
6617 p = "userland const char *";
6626 /* linux_symlinkat */
6630 p = "userland const char *";
6636 p = "userland const char *";
6642 /* linux_readlinkat */
6649 p = "userland const char *";
6652 p = "userland char *";
6661 /* linux_fchmodat */
6668 p = "userland const char *";
6677 /* linux_faccessat */
6684 p = "userland const char *";
6693 /* linux_pselect6 */
6700 p = "userland l_fd_set *";
6703 p = "userland l_fd_set *";
6706 p = "userland l_fd_set *";
6709 p = "userland struct l_timespec *";
6712 p = "userland l_uintptr_t *";
6722 p = "userland struct pollfd *";
6728 p = "userland struct l_timespec *";
6731 p = "userland l_sigset_t *";
6743 /* linux_set_robust_list */
6747 p = "userland struct linux_robust_list_head *";
6756 /* linux_get_robust_list */
6763 p = "userland struct linux_robust_list_head **";
6766 p = "userland l_size_t *";
6779 p = "userland l_loff_t *";
6785 p = "userland l_loff_t *";
6797 /* linux_sync_file_range */
6819 /* linux_vmsplice */
6822 /* linux_move_pages */
6829 p = "userland l_uint *";
6832 p = "userland l_uint *";
6835 p = "userland void *";
6841 /* linux_epoll_pwait */
6848 p = "userland struct epoll_event *";
6857 p = "userland l_sigset_t *";
6866 /* linux_utimensat */
6873 p = "userland const char *";
6876 p = "userland const struct l_timespec *";
6885 /* linux_signalfd */
6888 /* linux_timerfd_create */
6911 /* linux_fallocate */
6930 /* linux_timerfd_settime */
6940 p = "userland const struct l_itimerspec *";
6943 p = "userland struct l_itimerspec *";
6949 /* linux_timerfd_gettime */
6956 p = "userland struct l_itimerspec *";
6962 /* linux_signalfd4 */
6965 /* linux_eventfd2 */
6978 /* linux_epoll_create1 */
7008 p = "userland l_int *";
7017 /* linux_inotify_init1 */
7027 p = "userland struct iovec *";
7049 p = "userland struct iovec *";
7064 /* linux_rt_tgsigqueueinfo */
7077 p = "userland l_siginfo_t *";
7083 /* linux_perf_event_open */
7086 /* linux_recvmmsg */
7093 p = "userland struct l_mmsghdr *";
7102 p = "userland struct l_timespec *";
7108 /* linux_fanotify_init */
7111 /* linux_fanotify_mark */
7114 /* linux_prlimit64 */
7124 p = "userland struct rlimit *";
7127 p = "userland struct rlimit *";
7133 /* linux_name_to_handle_at */
7140 p = "userland const char *";
7143 p = "userland struct l_file_handle *";
7146 p = "userland l_int *";
7155 /* linux_open_by_handle_at */
7162 p = "userland struct l_file_handle *";
7171 /* linux_clock_adjtime */
7184 /* linux_sendmmsg */
7191 p = "userland struct l_mmsghdr *";
7206 /* linux_process_vm_readv */
7213 p = "userland const struct iovec *";
7219 p = "userland const struct iovec *";
7231 /* linux_process_vm_writev */
7238 p = "userland const struct iovec *";
7244 p = "userland const struct iovec *";
7278 /* linux_finit_module */
7285 p = "userland const char *";
7294 /* linux_sched_setattr */
7301 p = "userland void *";
7310 /* linux_sched_getattr */
7317 p = "userland void *";
7329 /* linux_renameat2 */
7336 p = "userland const char *";
7342 p = "userland const char *";
7361 p = "userland const char *";
7367 /* linux_getrandom */
7371 p = "userland char *";
7383 /* linux_memfd_create */
7387 p = "userland const char *";
7403 p = "userland void *";
7412 /* linux_execveat */
7419 p = "userland const char *";
7422 p = "userland const char **";
7425 p = "userland const char **";
7450 /* linux_socketpair */
7533 /* linux_getsockopt */
7555 /* linux_setsockopt */
7577 /* linux_getsockname */
7593 /* linux_getpeername */
7650 /* linux_recvfrom */
7691 /* linux_shutdown */
7704 /* linux_userfaultfd */
7714 /* linux_membarrier */
7743 /* linux_copy_file_range */
7750 p = "userland l_loff_t *";
7756 p = "userland l_loff_t *";
7775 p = "userland const struct iovec *";
7793 /* linux_pwritev2 */
7800 p = "userland const struct iovec *";
7818 /* linux_pkey_mprotect */
7837 /* linux_pkey_alloc */
7850 /* linux_pkey_free */
7867 p = "userland const char *";
7876 p = "userland void *";
7882 /* linux_arch_prctl */
7895 /* linux_io_pgetevents */
7930 p = "union l_semun";
7962 p = "userland struct l_shmid_ds *";
7975 p = "userland char *";
7988 p = "userland char *";
8014 p = "userland struct l_msgbuf *";
8033 p = "userland struct l_msgbuf *";
8058 p = "userland struct l_msqid_ds *";
8064 /* linux_clock_gettime64 */
8067 /* linux_clock_settime64 */
8070 /* linux_clock_adjtime64 */
8073 /* linux_clock_getres_time64 */
8076 /* linux_clock_nanosleep_time64 */
8079 /* linux_timer_gettime64 */
8082 /* linux_timer_settime64 */
8085 /* linux_timerfd_gettime64 */
8088 /* linux_timerfd_settime64 */
8091 /* linux_utimensat_time64 */
8094 /* linux_pselect6_time64 */
8097 /* linux_ppoll_time64 */
8100 /* linux_io_pgetevents_time64 */
8103 /* linux_recvmmsg_time64 */
8106 /* linux_mq_timedsend_time64 */
8109 /* linux_mq_timedreceive_time64 */
8112 /* linux_semtimedop_time64 */
8115 /* linux_rt_sigtimedwait_time64 */
8118 /* linux_futex_time64 */
8121 /* linux_sched_rr_get_interval_time64 */
8124 /* linux_pidfd_send_signal */
8134 p = "userland l_siginfo_t *";
8143 /* linux_io_uring_setup */
8146 /* linux_io_uring_enter */
8149 /* linux_io_uring_register */
8152 /* linux_open_tree */
8155 /* linux_move_mount */
8161 /* linux_fsconfig */
8170 /* linux_pidfd_open */
8176 /* linux_close_range */
8182 /* linux_pidfd_getfd */
8185 /* linux_faccessat2 */
8188 /* linux_process_madvise */
8191 /* linux_epoll_pwait2 */
8194 /* linux_mount_setattr */
8201 strlcpy(desc, p, descsz);
8204 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8206 const char *p = NULL;
8208 #define nosys linux_nosys
8211 if (ndx == 0 || ndx == 1)
8218 if (ndx == 0 || ndx == 1)
8223 if (ndx == 0 || ndx == 1)
8228 if (ndx == 0 || ndx == 1)
8233 if (ndx == 0 || ndx == 1)
8238 if (ndx == 0 || ndx == 1)
8243 if (ndx == 0 || ndx == 1)
8248 if (ndx == 0 || ndx == 1)
8253 if (ndx == 0 || ndx == 1)
8258 if (ndx == 0 || ndx == 1)
8263 if (ndx == 0 || ndx == 1)
8268 if (ndx == 0 || ndx == 1)
8273 if (ndx == 0 || ndx == 1)
8278 if (ndx == 0 || ndx == 1)
8281 /* linux_lchown16 */
8283 if (ndx == 0 || ndx == 1)
8288 if (ndx == 0 || ndx == 1)
8293 if (ndx == 0 || ndx == 1)
8300 if (ndx == 0 || ndx == 1)
8303 /* linux_oldumount */
8305 if (ndx == 0 || ndx == 1)
8308 /* linux_setuid16 */
8310 if (ndx == 0 || ndx == 1)
8313 /* linux_getuid16 */
8319 if (ndx == 0 || ndx == 1)
8324 if (ndx == 0 || ndx == 1)
8329 if (ndx == 0 || ndx == 1)
8336 if (ndx == 0 || ndx == 1)
8341 if (ndx == 0 || ndx == 1)
8346 if (ndx == 0 || ndx == 1)
8353 if (ndx == 0 || ndx == 1)
8358 if (ndx == 0 || ndx == 1)
8363 if (ndx == 0 || ndx == 1)
8368 if (ndx == 0 || ndx == 1)
8373 if (ndx == 0 || ndx == 1)
8378 if (ndx == 0 || ndx == 1)
8383 if (ndx == 0 || ndx == 1)
8388 if (ndx == 0 || ndx == 1)
8391 /* linux_setgid16 */
8393 if (ndx == 0 || ndx == 1)
8396 /* linux_getgid16 */
8400 if (ndx == 0 || ndx == 1)
8403 /* linux_geteuid16 */
8405 /* linux_getegid16 */
8409 if (ndx == 0 || ndx == 1)
8414 if (ndx == 0 || ndx == 1)
8419 if (ndx == 0 || ndx == 1)
8424 if (ndx == 0 || ndx == 1)
8429 if (ndx == 0 || ndx == 1)
8432 /* linux_olduname */
8436 if (ndx == 0 || ndx == 1)
8441 if (ndx == 0 || ndx == 1)
8446 if (ndx == 0 || ndx == 1)
8451 if (ndx == 0 || ndx == 1)
8460 /* linux_sigaction */
8462 if (ndx == 0 || ndx == 1)
8465 /* linux_sgetmask */
8467 /* linux_ssetmask */
8469 if (ndx == 0 || ndx == 1)
8472 /* linux_setreuid16 */
8474 if (ndx == 0 || ndx == 1)
8477 /* linux_setregid16 */
8479 if (ndx == 0 || ndx == 1)
8482 /* linux_sigsuspend */
8484 if (ndx == 0 || ndx == 1)
8487 /* linux_sigpending */
8489 if (ndx == 0 || ndx == 1)
8492 /* linux_sethostname */
8494 if (ndx == 0 || ndx == 1)
8497 /* linux_setrlimit */
8499 if (ndx == 0 || ndx == 1)
8502 /* linux_old_getrlimit */
8504 if (ndx == 0 || ndx == 1)
8509 if (ndx == 0 || ndx == 1)
8514 if (ndx == 0 || ndx == 1)
8519 if (ndx == 0 || ndx == 1)
8522 /* linux_getgroups16 */
8524 if (ndx == 0 || ndx == 1)
8527 /* linux_setgroups16 */
8529 if (ndx == 0 || ndx == 1)
8532 /* linux_old_select */
8534 if (ndx == 0 || ndx == 1)
8539 if (ndx == 0 || ndx == 1)
8544 if (ndx == 0 || ndx == 1)
8547 /* linux_readlink */
8549 if (ndx == 0 || ndx == 1)
8554 if (ndx == 0 || ndx == 1)
8559 if (ndx == 0 || ndx == 1)
8564 if (ndx == 0 || ndx == 1)
8569 if (ndx == 0 || ndx == 1)
8574 if (ndx == 0 || ndx == 1)
8579 if (ndx == 0 || ndx == 1)
8582 /* linux_truncate */
8584 if (ndx == 0 || ndx == 1)
8587 /* linux_ftruncate */
8589 if (ndx == 0 || ndx == 1)
8594 if (ndx == 0 || ndx == 1)
8599 if (ndx == 0 || ndx == 1)
8602 /* linux_getpriority */
8604 if (ndx == 0 || ndx == 1)
8609 if (ndx == 0 || ndx == 1)
8614 if (ndx == 0 || ndx == 1)
8619 if (ndx == 0 || ndx == 1)
8624 if (ndx == 0 || ndx == 1)
8627 /* linux_socketcall */
8629 if (ndx == 0 || ndx == 1)
8634 if (ndx == 0 || ndx == 1)
8637 /* linux_setitimer */
8639 if (ndx == 0 || ndx == 1)
8642 /* linux_getitimer */
8644 if (ndx == 0 || ndx == 1)
8649 if (ndx == 0 || ndx == 1)
8652 /* linux_newlstat */
8654 if (ndx == 0 || ndx == 1)
8657 /* linux_newfstat */
8659 if (ndx == 0 || ndx == 1)
8666 if (ndx == 0 || ndx == 1)
8675 if (ndx == 0 || ndx == 1)
8682 if (ndx == 0 || ndx == 1)
8687 if (ndx == 0 || ndx == 1)
8692 if (ndx == 0 || ndx == 1)
8695 /* linux_sigreturn */
8697 if (ndx == 0 || ndx == 1)
8702 if (ndx == 0 || ndx == 1)
8705 /* linux_setdomainname */
8707 if (ndx == 0 || ndx == 1)
8710 /* linux_newuname */
8712 if (ndx == 0 || ndx == 1)
8715 /* linux_modify_ldt */
8717 if (ndx == 0 || ndx == 1)
8720 /* linux_adjtimex */
8722 /* linux_mprotect */
8724 if (ndx == 0 || ndx == 1)
8727 /* linux_sigprocmask */
8729 if (ndx == 0 || ndx == 1)
8732 /* linux_init_module */
8734 /* linux_delete_module */
8736 /* linux_quotactl */
8740 if (ndx == 0 || ndx == 1)
8745 if (ndx == 0 || ndx == 1)
8752 if (ndx == 0 || ndx == 1)
8755 /* linux_personality */
8757 if (ndx == 0 || ndx == 1)
8760 /* linux_setfsuid16 */
8762 if (ndx == 0 || ndx == 1)
8765 /* linux_setfsgid16 */
8767 if (ndx == 0 || ndx == 1)
8772 if (ndx == 0 || ndx == 1)
8775 /* linux_getdents */
8777 if (ndx == 0 || ndx == 1)
8782 if (ndx == 0 || ndx == 1)
8787 if (ndx == 0 || ndx == 1)
8792 if (ndx == 0 || ndx == 1)
8797 if (ndx == 0 || ndx == 1)
8802 if (ndx == 0 || ndx == 1)
8807 if (ndx == 0 || ndx == 1)
8810 /* linux_fdatasync */
8812 if (ndx == 0 || ndx == 1)
8817 if (ndx == 0 || ndx == 1)
8822 if (ndx == 0 || ndx == 1)
8827 if (ndx == 0 || ndx == 1)
8832 if (ndx == 0 || ndx == 1)
8837 /* linux_sched_setparam */
8839 if (ndx == 0 || ndx == 1)
8842 /* linux_sched_getparam */
8844 if (ndx == 0 || ndx == 1)
8847 /* linux_sched_setscheduler */
8849 if (ndx == 0 || ndx == 1)
8852 /* linux_sched_getscheduler */
8854 if (ndx == 0 || ndx == 1)
8859 /* linux_sched_get_priority_max */
8861 if (ndx == 0 || ndx == 1)
8864 /* linux_sched_get_priority_min */
8866 if (ndx == 0 || ndx == 1)
8869 /* linux_sched_rr_get_interval */
8871 if (ndx == 0 || ndx == 1)
8874 /* linux_nanosleep */
8876 if (ndx == 0 || ndx == 1)
8881 if (ndx == 0 || ndx == 1)
8884 /* linux_setresuid16 */
8886 if (ndx == 0 || ndx == 1)
8889 /* linux_getresuid16 */
8891 if (ndx == 0 || ndx == 1)
8898 if (ndx == 0 || ndx == 1)
8901 /* linux_setresgid16 */
8903 if (ndx == 0 || ndx == 1)
8906 /* linux_getresgid16 */
8908 if (ndx == 0 || ndx == 1)
8913 if (ndx == 0 || ndx == 1)
8916 /* linux_rt_sigreturn */
8918 if (ndx == 0 || ndx == 1)
8921 /* linux_rt_sigaction */
8923 if (ndx == 0 || ndx == 1)
8926 /* linux_rt_sigprocmask */
8928 if (ndx == 0 || ndx == 1)
8931 /* linux_rt_sigpending */
8933 if (ndx == 0 || ndx == 1)
8936 /* linux_rt_sigtimedwait */
8938 if (ndx == 0 || ndx == 1)
8941 /* linux_rt_sigqueueinfo */
8943 if (ndx == 0 || ndx == 1)
8946 /* linux_rt_sigsuspend */
8948 if (ndx == 0 || ndx == 1)
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8963 if (ndx == 0 || ndx == 1)
8968 if (ndx == 0 || ndx == 1)
8973 if (ndx == 0 || ndx == 1)
8978 if (ndx == 0 || ndx == 1)
8981 /* linux_sigaltstack */
8983 if (ndx == 0 || ndx == 1)
8986 /* linux_sendfile */
8988 if (ndx == 0 || ndx == 1)
8993 /* linux_getrlimit */
8995 if (ndx == 0 || ndx == 1)
9000 if (ndx == 0 || ndx == 1)
9003 /* linux_truncate64 */
9005 if (ndx == 0 || ndx == 1)
9008 /* linux_ftruncate64 */
9010 if (ndx == 0 || ndx == 1)
9015 if (ndx == 0 || ndx == 1)
9020 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9030 if (ndx == 0 || ndx == 1)
9043 if (ndx == 0 || ndx == 1)
9048 if (ndx == 0 || ndx == 1)
9051 /* linux_getgroups */
9053 if (ndx == 0 || ndx == 1)
9056 /* linux_setgroups */
9058 if (ndx == 0 || ndx == 1)
9065 if (ndx == 0 || ndx == 1)
9070 if (ndx == 0 || ndx == 1)
9075 if (ndx == 0 || ndx == 1)
9080 if (ndx == 0 || ndx == 1)
9085 if (ndx == 0 || ndx == 1)
9090 if (ndx == 0 || ndx == 1)
9095 if (ndx == 0 || ndx == 1)
9098 /* linux_setfsuid */
9100 if (ndx == 0 || ndx == 1)
9103 /* linux_setfsgid */
9105 if (ndx == 0 || ndx == 1)
9108 /* linux_pivot_root */
9110 if (ndx == 0 || ndx == 1)
9115 if (ndx == 0 || ndx == 1)
9120 if (ndx == 0 || ndx == 1)
9123 /* linux_getdents64 */
9125 if (ndx == 0 || ndx == 1)
9130 if (ndx == 0 || ndx == 1)
9135 /* linux_setxattr */
9137 if (ndx == 0 || ndx == 1)
9140 /* linux_lsetxattr */
9142 if (ndx == 0 || ndx == 1)
9145 /* linux_fsetxattr */
9147 if (ndx == 0 || ndx == 1)
9150 /* linux_getxattr */
9152 if (ndx == 0 || ndx == 1)
9155 /* linux_lgetxattr */
9157 if (ndx == 0 || ndx == 1)
9160 /* linux_fgetxattr */
9162 if (ndx == 0 || ndx == 1)
9165 /* linux_listxattr */
9167 if (ndx == 0 || ndx == 1)
9170 /* linux_llistxattr */
9172 if (ndx == 0 || ndx == 1)
9175 /* linux_flistxattr */
9177 if (ndx == 0 || ndx == 1)
9180 /* linux_removexattr */
9182 if (ndx == 0 || ndx == 1)
9185 /* linux_lremovexattr */
9187 if (ndx == 0 || ndx == 1)
9190 /* linux_fremovexattr */
9192 if (ndx == 0 || ndx == 1)
9197 if (ndx == 0 || ndx == 1)
9200 /* linux_sendfile64 */
9202 if (ndx == 0 || ndx == 1)
9205 /* linux_sys_futex */
9207 if (ndx == 0 || ndx == 1)
9210 /* linux_sched_setaffinity */
9212 if (ndx == 0 || ndx == 1)
9215 /* linux_sched_getaffinity */
9217 if (ndx == 0 || ndx == 1)
9220 /* linux_set_thread_area */
9222 if (ndx == 0 || ndx == 1)
9225 /* linux_get_thread_area */
9227 if (ndx == 0 || ndx == 1)
9230 /* linux_fadvise64 */
9232 if (ndx == 0 || ndx == 1)
9235 /* linux_exit_group */
9237 if (ndx == 0 || ndx == 1)
9240 /* linux_lookup_dcookie */
9242 /* linux_epoll_create */
9244 if (ndx == 0 || ndx == 1)
9247 /* linux_epoll_ctl */
9249 if (ndx == 0 || ndx == 1)
9252 /* linux_epoll_wait */
9254 if (ndx == 0 || ndx == 1)
9257 /* linux_remap_file_pages */
9259 /* linux_set_tid_address */
9261 if (ndx == 0 || ndx == 1)
9264 /* linux_timer_create */
9266 if (ndx == 0 || ndx == 1)
9269 /* linux_timer_settime */
9271 if (ndx == 0 || ndx == 1)
9274 /* linux_timer_gettime */
9276 if (ndx == 0 || ndx == 1)
9279 /* linux_timer_getoverrun */
9281 if (ndx == 0 || ndx == 1)
9284 /* linux_timer_delete */
9286 if (ndx == 0 || ndx == 1)
9289 /* linux_clock_settime */
9291 if (ndx == 0 || ndx == 1)
9294 /* linux_clock_gettime */
9296 if (ndx == 0 || ndx == 1)
9299 /* linux_clock_getres */
9301 if (ndx == 0 || ndx == 1)
9304 /* linux_clock_nanosleep */
9306 if (ndx == 0 || ndx == 1)
9309 /* linux_statfs64 */
9311 if (ndx == 0 || ndx == 1)
9314 /* linux_fstatfs64 */
9316 if (ndx == 0 || ndx == 1)
9321 if (ndx == 0 || ndx == 1)
9326 if (ndx == 0 || ndx == 1)
9329 /* linux_fadvise64_64 */
9331 if (ndx == 0 || ndx == 1)
9336 /* linux_get_mempolicy */
9338 /* linux_set_mempolicy */
9342 if (ndx == 0 || ndx == 1)
9345 /* linux_mq_unlink */
9347 if (ndx == 0 || ndx == 1)
9350 /* linux_mq_timedsend */
9352 if (ndx == 0 || ndx == 1)
9355 /* linux_mq_timedreceive */
9357 if (ndx == 0 || ndx == 1)
9360 /* linux_mq_notify */
9362 if (ndx == 0 || ndx == 1)
9365 /* linux_mq_getsetattr */
9367 if (ndx == 0 || ndx == 1)
9370 /* linux_kexec_load */
9374 if (ndx == 0 || ndx == 1)
9379 /* linux_request_key */
9383 /* linux_ioprio_set */
9385 /* linux_ioprio_get */
9387 /* linux_inotify_init */
9389 /* linux_inotify_add_watch */
9391 /* linux_inotify_rm_watch */
9393 /* linux_migrate_pages */
9397 if (ndx == 0 || ndx == 1)
9402 if (ndx == 0 || ndx == 1)
9407 if (ndx == 0 || ndx == 1)
9410 /* linux_fchownat */
9412 if (ndx == 0 || ndx == 1)
9415 /* linux_futimesat */
9417 if (ndx == 0 || ndx == 1)
9420 /* linux_fstatat64 */
9422 if (ndx == 0 || ndx == 1)
9425 /* linux_unlinkat */
9427 if (ndx == 0 || ndx == 1)
9430 /* linux_renameat */
9432 if (ndx == 0 || ndx == 1)
9437 if (ndx == 0 || ndx == 1)
9440 /* linux_symlinkat */
9442 if (ndx == 0 || ndx == 1)
9445 /* linux_readlinkat */
9447 if (ndx == 0 || ndx == 1)
9450 /* linux_fchmodat */
9452 if (ndx == 0 || ndx == 1)
9455 /* linux_faccessat */
9457 if (ndx == 0 || ndx == 1)
9460 /* linux_pselect6 */
9462 if (ndx == 0 || ndx == 1)
9467 if (ndx == 0 || ndx == 1)
9472 /* linux_set_robust_list */
9474 if (ndx == 0 || ndx == 1)
9477 /* linux_get_robust_list */
9479 if (ndx == 0 || ndx == 1)
9484 if (ndx == 0 || ndx == 1)
9487 /* linux_sync_file_range */
9489 if (ndx == 0 || ndx == 1)
9494 /* linux_vmsplice */
9496 /* linux_move_pages */
9500 if (ndx == 0 || ndx == 1)
9503 /* linux_epoll_pwait */
9505 if (ndx == 0 || ndx == 1)
9508 /* linux_utimensat */
9510 if (ndx == 0 || ndx == 1)
9513 /* linux_signalfd */
9515 /* linux_timerfd_create */
9517 if (ndx == 0 || ndx == 1)
9522 if (ndx == 0 || ndx == 1)
9525 /* linux_fallocate */
9527 if (ndx == 0 || ndx == 1)
9530 /* linux_timerfd_settime */
9532 if (ndx == 0 || ndx == 1)
9535 /* linux_timerfd_gettime */
9537 if (ndx == 0 || ndx == 1)
9540 /* linux_signalfd4 */
9542 /* linux_eventfd2 */
9544 if (ndx == 0 || ndx == 1)
9547 /* linux_epoll_create1 */
9549 if (ndx == 0 || ndx == 1)
9554 if (ndx == 0 || ndx == 1)
9559 if (ndx == 0 || ndx == 1)
9562 /* linux_inotify_init1 */
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9574 /* linux_rt_tgsigqueueinfo */
9576 if (ndx == 0 || ndx == 1)
9579 /* linux_perf_event_open */
9581 /* linux_recvmmsg */
9583 if (ndx == 0 || ndx == 1)
9586 /* linux_fanotify_init */
9588 /* linux_fanotify_mark */
9590 /* linux_prlimit64 */
9592 if (ndx == 0 || ndx == 1)
9595 /* linux_name_to_handle_at */
9597 if (ndx == 0 || ndx == 1)
9600 /* linux_open_by_handle_at */
9602 if (ndx == 0 || ndx == 1)
9605 /* linux_clock_adjtime */
9609 if (ndx == 0 || ndx == 1)
9612 /* linux_sendmmsg */
9614 if (ndx == 0 || ndx == 1)
9619 /* linux_process_vm_readv */
9621 if (ndx == 0 || ndx == 1)
9624 /* linux_process_vm_writev */
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9634 /* linux_finit_module */
9636 if (ndx == 0 || ndx == 1)
9639 /* linux_sched_setattr */
9641 if (ndx == 0 || ndx == 1)
9644 /* linux_sched_getattr */
9646 if (ndx == 0 || ndx == 1)
9649 /* linux_renameat2 */
9651 if (ndx == 0 || ndx == 1)
9656 if (ndx == 0 || ndx == 1)
9659 /* linux_getrandom */
9661 if (ndx == 0 || ndx == 1)
9664 /* linux_memfd_create */
9666 if (ndx == 0 || ndx == 1)
9671 if (ndx == 0 || ndx == 1)
9674 /* linux_execveat */
9676 if (ndx == 0 || ndx == 1)
9681 if (ndx == 0 || ndx == 1)
9684 /* linux_socketpair */
9686 if (ndx == 0 || ndx == 1)
9691 if (ndx == 0 || ndx == 1)
9696 if (ndx == 0 || ndx == 1)
9701 if (ndx == 0 || ndx == 1)
9706 if (ndx == 0 || ndx == 1)
9709 /* linux_getsockopt */
9711 if (ndx == 0 || ndx == 1)
9714 /* linux_setsockopt */
9716 if (ndx == 0 || ndx == 1)
9719 /* linux_getsockname */
9721 if (ndx == 0 || ndx == 1)
9724 /* linux_getpeername */
9726 if (ndx == 0 || ndx == 1)
9731 if (ndx == 0 || ndx == 1)
9736 if (ndx == 0 || ndx == 1)
9739 /* linux_recvfrom */
9741 if (ndx == 0 || ndx == 1)
9746 if (ndx == 0 || ndx == 1)
9749 /* linux_shutdown */
9751 if (ndx == 0 || ndx == 1)
9754 /* linux_userfaultfd */
9756 if (ndx == 0 || ndx == 1)
9759 /* linux_membarrier */
9761 if (ndx == 0 || ndx == 1)
9766 if (ndx == 0 || ndx == 1)
9769 /* linux_copy_file_range */
9771 if (ndx == 0 || ndx == 1)
9776 if (ndx == 0 || ndx == 1)
9779 /* linux_pwritev2 */
9781 if (ndx == 0 || ndx == 1)
9784 /* linux_pkey_mprotect */
9786 if (ndx == 0 || ndx == 1)
9789 /* linux_pkey_alloc */
9791 if (ndx == 0 || ndx == 1)
9794 /* linux_pkey_free */
9796 if (ndx == 0 || ndx == 1)
9801 if (ndx == 0 || ndx == 1)
9804 /* linux_arch_prctl */
9806 if (ndx == 0 || ndx == 1)
9809 /* linux_io_pgetevents */
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)
9840 if (ndx == 0 || ndx == 1)
9845 if (ndx == 0 || ndx == 1)
9850 if (ndx == 0 || ndx == 1)
9855 if (ndx == 0 || ndx == 1)
9860 if (ndx == 0 || ndx == 1)
9863 /* linux_clock_gettime64 */
9865 /* linux_clock_settime64 */
9867 /* linux_clock_adjtime64 */
9869 /* linux_clock_getres_time64 */
9871 /* linux_clock_nanosleep_time64 */
9873 /* linux_timer_gettime64 */
9875 /* linux_timer_settime64 */
9877 /* linux_timerfd_gettime64 */
9879 /* linux_timerfd_settime64 */
9881 /* linux_utimensat_time64 */
9883 /* linux_pselect6_time64 */
9885 /* linux_ppoll_time64 */
9887 /* linux_io_pgetevents_time64 */
9889 /* linux_recvmmsg_time64 */
9891 /* linux_mq_timedsend_time64 */
9893 /* linux_mq_timedreceive_time64 */
9895 /* linux_semtimedop_time64 */
9897 /* linux_rt_sigtimedwait_time64 */
9899 /* linux_futex_time64 */
9901 /* linux_sched_rr_get_interval_time64 */
9903 /* linux_pidfd_send_signal */
9905 if (ndx == 0 || ndx == 1)
9908 /* linux_io_uring_setup */
9910 /* linux_io_uring_enter */
9912 /* linux_io_uring_register */
9914 /* linux_open_tree */
9916 /* linux_move_mount */
9920 /* linux_fsconfig */
9926 /* linux_pidfd_open */
9930 /* linux_close_range */
9934 /* linux_pidfd_getfd */
9936 /* linux_faccessat2 */
9938 /* linux_process_madvise */
9940 /* linux_epoll_pwait2 */
9942 /* linux_mount_setattr */
9948 strlcpy(desc, p, descsz);