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 */
3133 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3135 const char *p = NULL;
3137 #define nosys linux_nosys
3158 p = "userland char *";
3174 p = "userland char *";
3187 p = "userland char *";
3216 p = "userland l_int *";
3229 p = "userland char *";
3242 p = "userland char *";
3245 p = "userland char *";
3255 p = "userland char *";
3265 p = "userland char *";
3268 p = "userland char **";
3271 p = "userland char **";
3281 p = "userland char *";
3291 p = "userland l_time_t *";
3301 p = "userland char *";
3317 p = "userland char *";
3326 /* linux_lchown16 */
3330 p = "userland char *";
3346 p = "userland char *";
3349 p = "userland struct linux_stat *";
3378 p = "userland char *";
3381 p = "userland char *";
3384 p = "userland char *";
3390 p = "userland void *";
3396 /* linux_oldumount */
3400 p = "userland char *";
3406 /* linux_setuid16 */
3416 /* linux_getuid16 */
3458 p = "userland struct linux_stat *";
3471 p = "userland char *";
3474 p = "userland struct l_utimbuf *";
3484 p = "userland char *";
3523 p = "userland char *";
3526 p = "userland char *";
3536 p = "userland char *";
3549 p = "userland char *";
3569 p = "userland l_int *";
3579 p = "userland struct l_times_argv *";
3595 /* linux_setgid16 */
3605 /* linux_getgid16 */
3615 p = "userland void *";
3621 /* linux_geteuid16 */
3624 /* linux_getegid16 */
3631 p = "userland char *";
3641 p = "userland char *";
3695 /* linux_olduname */
3712 p = "userland char *";
3725 p = "userland struct l_ustat *";
3753 /* linux_sigaction */
3760 p = "userland l_osigaction_t *";
3763 p = "userland l_osigaction_t *";
3769 /* linux_sgetmask */
3772 /* linux_ssetmask */
3782 /* linux_setreuid16 */
3795 /* linux_setregid16 */
3808 /* linux_sigsuspend */
3824 /* linux_sigpending */
3828 p = "userland l_osigset_t *";
3834 /* linux_sethostname */
3838 p = "userland char *";
3847 /* linux_setrlimit */
3854 p = "userland struct l_rlimit *";
3860 /* linux_old_getrlimit */
3867 p = "userland struct l_rlimit *";
3880 p = "userland struct rusage *";
3890 p = "userland struct timeval *";
3893 p = "userland struct timezone *";
3903 p = "userland struct timeval *";
3906 p = "userland struct timezone *";
3912 /* linux_getgroups16 */
3919 p = "userland l_gid16_t *";
3925 /* linux_setgroups16 */
3932 p = "userland l_gid16_t *";
3938 /* linux_old_select */
3942 p = "userland struct l_old_select_argv *";
3952 p = "userland char *";
3955 p = "userland char *";
3965 p = "userland char *";
3968 p = "userland struct l_stat *";
3974 /* linux_readlink */
3978 p = "userland char *";
3981 p = "userland char *";
3994 p = "userland char *";
4004 p = "userland char *";
4023 p = "userland void *";
4036 p = "userland struct l_dirent *";
4049 p = "userland struct l_mmap_argv *";
4068 /* linux_truncate */
4072 p = "userland char *";
4081 /* linux_ftruncate */
4123 /* linux_getpriority */
4156 p = "userland char *";
4159 p = "userland struct l_statfs_buf *";
4172 p = "userland struct l_statfs_buf *";
4194 /* linux_socketcall */
4214 p = "userland char *";
4223 /* linux_setitimer */
4230 p = "userland struct l_itimerval *";
4233 p = "userland struct l_itimerval *";
4239 /* linux_getitimer */
4246 p = "userland struct l_itimerval *";
4256 p = "userland char *";
4259 p = "userland struct l_newstat *";
4265 /* linux_newlstat */
4269 p = "userland char *";
4272 p = "userland struct l_newstat *";
4278 /* linux_newfstat */
4285 p = "userland struct l_newstat *";
4317 p = "userland l_int *";
4323 p = "userland void *";
4336 p = "userland struct l_sysinfo *";
4377 /* linux_sigreturn */
4381 p = "userland struct l_sigframe *";
4394 p = "userland void *";
4397 p = "userland void *";
4400 p = "userland void *";
4403 p = "userland void *";
4409 /* linux_setdomainname */
4413 p = "userland char *";
4422 /* linux_newuname */
4426 p = "userland struct l_new_utsname *";
4432 /* linux_modify_ldt */
4439 p = "userland void *";
4448 /* linux_adjtimex */
4451 /* linux_mprotect */
4467 /* linux_sigprocmask */
4474 p = "userland l_osigset_t *";
4477 p = "userland l_osigset_t *";
4483 /* linux_init_module */
4486 /* linux_delete_module */
4489 /* linux_quotactl */
4531 /* linux_personality */
4541 /* linux_setfsuid16 */
4551 /* linux_setfsgid16 */
4574 p = "userland l_loff_t *";
4583 /* linux_getdents */
4590 p = "userland void *";
4606 p = "userland l_fd_set *";
4609 p = "userland l_fd_set *";
4612 p = "userland l_fd_set *";
4615 p = "userland struct l_timeval *";
4657 p = "userland struct iovec *";
4673 p = "userland struct iovec *";
4692 /* linux_fdatasync */
4706 p = "userland struct l___sysctl_args *";
4716 p = "userland const void *";
4729 p = "userland const void *";
4751 /* linux_sched_setparam */
4758 p = "userland struct sched_param *";
4764 /* linux_sched_getparam */
4771 p = "userland struct sched_param *";
4777 /* linux_sched_setscheduler */
4787 p = "userland struct sched_param *";
4793 /* linux_sched_getscheduler */
4806 /* linux_sched_get_priority_max */
4816 /* linux_sched_get_priority_min */
4826 /* linux_sched_rr_get_interval */
4833 p = "userland struct l_timespec *";
4839 /* linux_nanosleep */
4843 p = "userland const struct l_timespec *";
4846 p = "userland struct l_timespec *";
4874 /* linux_setresuid16 */
4890 /* linux_getresuid16 */
4894 p = "userland l_uid16_t *";
4897 p = "userland l_uid16_t *";
4900 p = "userland l_uid16_t *";
4913 p = "userland struct pollfd *";
4925 /* linux_setresgid16 */
4941 /* linux_getresgid16 */
4945 p = "userland l_gid16_t *";
4948 p = "userland l_gid16_t *";
4951 p = "userland l_gid16_t *";
4979 /* linux_rt_sigreturn */
4983 p = "userland struct l_ucontext *";
4989 /* linux_rt_sigaction */
4996 p = "userland l_sigaction_t *";
4999 p = "userland l_sigaction_t *";
5008 /* linux_rt_sigprocmask */
5015 p = "userland l_sigset_t *";
5018 p = "userland l_sigset_t *";
5027 /* linux_rt_sigpending */
5031 p = "userland l_sigset_t *";
5040 /* linux_rt_sigtimedwait */
5044 p = "userland l_sigset_t *";
5047 p = "userland l_siginfo_t *";
5050 p = "userland struct l_timeval *";
5059 /* linux_rt_sigqueueinfo */
5069 p = "userland l_siginfo_t *";
5075 /* linux_rt_sigsuspend */
5079 p = "userland l_sigset_t *";
5095 p = "userland char *";
5114 p = "userland char *";
5130 p = "userland char *";
5146 p = "userland char *";
5159 p = "userland struct l_user_cap_header *";
5162 p = "userland struct l_user_cap_data *";
5172 p = "userland struct l_user_cap_header *";
5175 p = "userland struct l_user_cap_data *";
5181 /* linux_sigaltstack */
5185 p = "userland l_stack_t *";
5188 p = "userland l_stack_t *";
5194 /* linux_sendfile */
5204 p = "userland l_long *";
5216 /* linux_getrlimit */
5223 p = "userland struct l_rlimit *";
5254 /* linux_truncate64 */
5258 p = "userland char *";
5267 /* linux_ftruncate64 */
5284 p = "userland const char *";
5287 p = "userland struct l_stat64 *";
5297 p = "userland const char *";
5300 p = "userland struct l_stat64 *";
5313 p = "userland struct l_stat64 *";
5323 p = "userland char *";
5373 /* linux_getgroups */
5380 p = "userland l_gid_t *";
5386 /* linux_setgroups */
5393 p = "userland l_gid_t *";
5422 p = "userland uid_t *";
5425 p = "userland uid_t *";
5428 p = "userland uid_t *";
5454 p = "userland gid_t *";
5457 p = "userland gid_t *";
5460 p = "userland gid_t *";
5470 p = "userland char *";
5502 /* linux_setfsuid */
5512 /* linux_setfsgid */
5522 /* linux_pivot_root */
5526 p = "userland char *";
5529 p = "userland char *";
5545 p = "userland u_char *";
5555 p = "userland void *";
5567 /* linux_getdents64 */
5574 p = "userland void *";
5602 /* linux_setxattr */
5606 p = "userland const char *";
5609 p = "userland const char *";
5612 p = "userland const char *";
5624 /* linux_lsetxattr */
5628 p = "userland const char *";
5631 p = "userland const char *";
5634 p = "userland const char *";
5646 /* linux_fsetxattr */
5653 p = "userland const char *";
5656 p = "userland const char *";
5668 /* linux_getxattr */
5672 p = "userland const char *";
5675 p = "userland const char *";
5678 p = "userland char *";
5687 /* linux_lgetxattr */
5691 p = "userland const char *";
5694 p = "userland const char *";
5697 p = "userland char *";
5706 /* linux_fgetxattr */
5713 p = "userland const char *";
5716 p = "userland char *";
5725 /* linux_listxattr */
5729 p = "userland const char *";
5732 p = "userland const char *";
5741 /* linux_llistxattr */
5745 p = "userland const char *";
5748 p = "userland const char *";
5757 /* linux_flistxattr */
5764 p = "userland const char *";
5773 /* linux_removexattr */
5777 p = "userland const char *";
5780 p = "userland const char *";
5786 /* linux_lremovexattr */
5790 p = "userland const char *";
5793 p = "userland const char *";
5799 /* linux_fremovexattr */
5806 p = "userland const char *";
5825 /* linux_sendfile64 */
5835 p = "userland l_loff_t *";
5844 /* linux_sys_futex */
5848 p = "userland void *";
5857 p = "userland struct l_timespec *";
5860 p = "userland uint32_t *";
5869 /* linux_sched_setaffinity */
5879 p = "userland l_ulong *";
5885 /* linux_sched_getaffinity */
5895 p = "userland l_ulong *";
5901 /* linux_set_thread_area */
5905 p = "userland struct l_user_desc *";
5911 /* linux_get_thread_area */
5915 p = "userland struct l_user_desc *";
5921 /* linux_fadvise64 */
5940 /* linux_exit_group */
5950 /* linux_lookup_dcookie */
5953 /* linux_epoll_create */
5963 /* linux_epoll_ctl */
5976 p = "userland struct epoll_event *";
5982 /* linux_epoll_wait */
5989 p = "userland struct epoll_event *";
6001 /* linux_remap_file_pages */
6004 /* linux_set_tid_address */
6008 p = "userland int *";
6014 /* linux_timer_create */
6021 p = "userland struct sigevent *";
6024 p = "userland l_timer_t *";
6030 /* linux_timer_settime */
6040 p = "userland const struct itimerspec *";
6043 p = "userland struct itimerspec *";
6049 /* linux_timer_gettime */
6056 p = "userland struct itimerspec *";
6062 /* linux_timer_getoverrun */
6072 /* linux_timer_delete */
6082 /* linux_clock_settime */
6089 p = "userland struct l_timespec *";
6095 /* linux_clock_gettime */
6102 p = "userland struct l_timespec *";
6108 /* linux_clock_getres */
6115 p = "userland struct l_timespec *";
6121 /* linux_clock_nanosleep */
6131 p = "userland struct l_timespec *";
6134 p = "userland struct l_timespec *";
6140 /* linux_statfs64 */
6144 p = "userland char *";
6150 p = "userland struct l_statfs64_buf *";
6156 /* linux_fstatfs64 */
6166 p = "userland struct l_statfs64_buf *";
6192 p = "userland char *";
6195 p = "userland struct l_timeval *";
6201 /* linux_fadvise64_64 */
6223 /* linux_get_mempolicy */
6226 /* linux_set_mempolicy */
6233 p = "userland const char *";
6242 p = "userland struct mq_attr *";
6248 /* linux_mq_unlink */
6252 p = "userland const char *";
6258 /* linux_mq_timedsend */
6265 p = "userland const char *";
6274 p = "userland const struct l_timespec *";
6280 /* linux_mq_timedreceive */
6287 p = "userland char *";
6293 p = "userland l_uint *";
6296 p = "userland const struct l_timespec *";
6302 /* linux_mq_notify */
6309 p = "userland const struct l_timespec *";
6315 /* linux_mq_getsetattr */
6322 p = "userland const struct mq_attr *";
6325 p = "userland struct mq_attr *";
6331 /* linux_kexec_load */
6344 p = "userland l_siginfo_t *";
6350 p = "userland void *";
6359 /* linux_request_key */
6365 /* linux_ioprio_set */
6368 /* linux_ioprio_get */
6371 /* linux_inotify_init */
6374 /* linux_inotify_add_watch */
6377 /* linux_inotify_rm_watch */
6380 /* linux_migrate_pages */
6390 p = "userland const char *";
6409 p = "userland const char *";
6425 p = "userland const char *";
6437 /* linux_fchownat */
6444 p = "userland const char *";
6459 /* linux_futimesat */
6466 p = "userland char *";
6469 p = "userland struct l_timeval *";
6475 /* linux_fstatat64 */
6482 p = "userland char *";
6485 p = "userland struct l_stat64 *";
6494 /* linux_unlinkat */
6501 p = "userland const char *";
6510 /* linux_renameat */
6517 p = "userland const char *";
6523 p = "userland const char *";
6536 p = "userland const char *";
6542 p = "userland const char *";
6551 /* linux_symlinkat */
6555 p = "userland const char *";
6561 p = "userland const char *";
6567 /* linux_readlinkat */
6574 p = "userland const char *";
6577 p = "userland char *";
6586 /* linux_fchmodat */
6593 p = "userland const char *";
6602 /* linux_faccessat */
6609 p = "userland const char *";
6618 /* linux_pselect6 */
6625 p = "userland l_fd_set *";
6628 p = "userland l_fd_set *";
6631 p = "userland l_fd_set *";
6634 p = "userland struct l_timespec *";
6637 p = "userland l_uintptr_t *";
6647 p = "userland struct pollfd *";
6653 p = "userland struct l_timespec *";
6656 p = "userland l_sigset_t *";
6668 /* linux_set_robust_list */
6672 p = "userland struct linux_robust_list_head *";
6681 /* linux_get_robust_list */
6688 p = "userland struct linux_robust_list_head **";
6691 p = "userland l_size_t *";
6704 p = "userland l_loff_t *";
6710 p = "userland l_loff_t *";
6722 /* linux_sync_file_range */
6744 /* linux_vmsplice */
6747 /* linux_move_pages */
6754 p = "userland l_uint *";
6757 p = "userland l_uint *";
6760 p = "userland void *";
6766 /* linux_epoll_pwait */
6773 p = "userland struct epoll_event *";
6782 p = "userland l_sigset_t *";
6791 /* linux_utimensat */
6798 p = "userland const char *";
6801 p = "userland const struct l_timespec *";
6810 /* linux_signalfd */
6813 /* linux_timerfd_create */
6836 /* linux_fallocate */
6855 /* linux_timerfd_settime */
6865 p = "userland const struct l_itimerspec *";
6868 p = "userland struct l_itimerspec *";
6874 /* linux_timerfd_gettime */
6881 p = "userland struct l_itimerspec *";
6887 /* linux_signalfd4 */
6890 /* linux_eventfd2 */
6903 /* linux_epoll_create1 */
6933 p = "userland l_int *";
6942 /* linux_inotify_init1 */
6952 p = "userland struct iovec *";
6974 p = "userland struct iovec *";
6989 /* linux_rt_tgsigqueueinfo */
7002 p = "userland l_siginfo_t *";
7008 /* linux_perf_event_open */
7011 /* linux_recvmmsg */
7018 p = "userland struct l_mmsghdr *";
7027 p = "userland struct l_timespec *";
7033 /* linux_fanotify_init */
7036 /* linux_fanotify_mark */
7039 /* linux_prlimit64 */
7049 p = "userland struct rlimit *";
7052 p = "userland struct rlimit *";
7058 /* linux_name_to_handle_at */
7065 p = "userland const char *";
7068 p = "userland struct l_file_handle *";
7071 p = "userland l_int *";
7080 /* linux_open_by_handle_at */
7087 p = "userland struct l_file_handle *";
7096 /* linux_clock_adjtime */
7109 /* linux_sendmmsg */
7116 p = "userland struct l_mmsghdr *";
7131 /* linux_process_vm_readv */
7138 p = "userland const struct iovec *";
7144 p = "userland const struct iovec *";
7156 /* linux_process_vm_writev */
7163 p = "userland const struct iovec *";
7169 p = "userland const struct iovec *";
7203 /* linux_finit_module */
7210 p = "userland const char *";
7219 /* linux_sched_setattr */
7226 p = "userland void *";
7235 /* linux_sched_getattr */
7242 p = "userland void *";
7254 /* linux_renameat2 */
7261 p = "userland const char *";
7267 p = "userland const char *";
7286 p = "userland const char *";
7292 /* linux_getrandom */
7296 p = "userland char *";
7308 /* linux_memfd_create */
7312 p = "userland const char *";
7328 p = "userland void *";
7337 /* linux_execveat */
7344 p = "userland const char *";
7347 p = "userland const char **";
7350 p = "userland const char **";
7375 /* linux_socketpair */
7458 /* linux_getsockopt */
7480 /* linux_setsockopt */
7502 /* linux_getsockname */
7518 /* linux_getpeername */
7575 /* linux_recvfrom */
7616 /* linux_shutdown */
7629 /* linux_userfaultfd */
7639 /* linux_membarrier */
7668 /* linux_copy_file_range */
7675 p = "userland l_loff_t *";
7681 p = "userland l_loff_t *";
7700 p = "userland const struct iovec *";
7718 /* linux_pwritev2 */
7725 p = "userland const struct iovec *";
7743 /* linux_pkey_mprotect */
7762 /* linux_pkey_alloc */
7775 /* linux_pkey_free */
7792 p = "userland const char *";
7801 p = "userland void *";
7807 /* linux_arch_prctl */
7820 /* linux_io_pgetevents */
7855 p = "union l_semun";
7887 p = "userland struct l_shmid_ds *";
7900 p = "userland char *";
7913 p = "userland char *";
7939 p = "userland struct l_msgbuf *";
7958 p = "userland struct l_msgbuf *";
7983 p = "userland struct l_msqid_ds *";
7989 /* linux_clock_gettime64 */
7992 /* linux_clock_settime64 */
7995 /* linux_clock_adjtime64 */
7998 /* linux_clock_getres_time64 */
8001 /* linux_clock_nanosleep_time64 */
8004 /* linux_timer_gettime64 */
8007 /* linux_timer_settime64 */
8010 /* linux_timerfd_gettime64 */
8013 /* linux_timerfd_settime64 */
8016 /* linux_utimensat_time64 */
8019 /* linux_pselect6_time64 */
8022 /* linux_ppoll_time64 */
8025 /* linux_io_pgetevents_time64 */
8028 /* linux_recvmmsg_time64 */
8031 /* linux_mq_timedsend_time64 */
8034 /* linux_mq_timedreceive_time64 */
8037 /* linux_semtimedop_time64 */
8040 /* linux_rt_sigtimedwait_time64 */
8043 /* linux_futex_time64 */
8046 /* linux_sched_rr_get_interval_time64 */
8049 /* linux_pidfd_send_signal */
8059 p = "userland l_siginfo_t *";
8068 /* linux_io_uring_setup */
8071 /* linux_io_uring_enter */
8074 /* linux_io_uring_register */
8081 strlcpy(desc, p, descsz);
8084 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8086 const char *p = NULL;
8088 #define nosys linux_nosys
8091 if (ndx == 0 || ndx == 1)
8098 if (ndx == 0 || ndx == 1)
8103 if (ndx == 0 || ndx == 1)
8108 if (ndx == 0 || ndx == 1)
8113 if (ndx == 0 || ndx == 1)
8118 if (ndx == 0 || ndx == 1)
8123 if (ndx == 0 || ndx == 1)
8128 if (ndx == 0 || ndx == 1)
8133 if (ndx == 0 || ndx == 1)
8138 if (ndx == 0 || ndx == 1)
8143 if (ndx == 0 || ndx == 1)
8148 if (ndx == 0 || ndx == 1)
8153 if (ndx == 0 || ndx == 1)
8158 if (ndx == 0 || ndx == 1)
8161 /* linux_lchown16 */
8163 if (ndx == 0 || ndx == 1)
8168 if (ndx == 0 || ndx == 1)
8173 if (ndx == 0 || ndx == 1)
8180 if (ndx == 0 || ndx == 1)
8183 /* linux_oldumount */
8185 if (ndx == 0 || ndx == 1)
8188 /* linux_setuid16 */
8190 if (ndx == 0 || ndx == 1)
8193 /* linux_getuid16 */
8199 if (ndx == 0 || ndx == 1)
8204 if (ndx == 0 || ndx == 1)
8209 if (ndx == 0 || ndx == 1)
8216 if (ndx == 0 || ndx == 1)
8221 if (ndx == 0 || ndx == 1)
8226 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)
8271 /* linux_setgid16 */
8273 if (ndx == 0 || ndx == 1)
8276 /* linux_getgid16 */
8280 if (ndx == 0 || ndx == 1)
8283 /* linux_geteuid16 */
8285 /* linux_getegid16 */
8289 if (ndx == 0 || ndx == 1)
8294 if (ndx == 0 || ndx == 1)
8299 if (ndx == 0 || ndx == 1)
8304 if (ndx == 0 || ndx == 1)
8309 if (ndx == 0 || ndx == 1)
8312 /* linux_olduname */
8316 if (ndx == 0 || ndx == 1)
8321 if (ndx == 0 || ndx == 1)
8326 if (ndx == 0 || ndx == 1)
8331 if (ndx == 0 || ndx == 1)
8340 /* linux_sigaction */
8342 if (ndx == 0 || ndx == 1)
8345 /* linux_sgetmask */
8347 /* linux_ssetmask */
8349 if (ndx == 0 || ndx == 1)
8352 /* linux_setreuid16 */
8354 if (ndx == 0 || ndx == 1)
8357 /* linux_setregid16 */
8359 if (ndx == 0 || ndx == 1)
8362 /* linux_sigsuspend */
8364 if (ndx == 0 || ndx == 1)
8367 /* linux_sigpending */
8369 if (ndx == 0 || ndx == 1)
8372 /* linux_sethostname */
8374 if (ndx == 0 || ndx == 1)
8377 /* linux_setrlimit */
8379 if (ndx == 0 || ndx == 1)
8382 /* linux_old_getrlimit */
8384 if (ndx == 0 || ndx == 1)
8389 if (ndx == 0 || ndx == 1)
8394 if (ndx == 0 || ndx == 1)
8399 if (ndx == 0 || ndx == 1)
8402 /* linux_getgroups16 */
8404 if (ndx == 0 || ndx == 1)
8407 /* linux_setgroups16 */
8409 if (ndx == 0 || ndx == 1)
8412 /* linux_old_select */
8414 if (ndx == 0 || ndx == 1)
8419 if (ndx == 0 || ndx == 1)
8424 if (ndx == 0 || ndx == 1)
8427 /* linux_readlink */
8429 if (ndx == 0 || ndx == 1)
8434 if (ndx == 0 || ndx == 1)
8439 if (ndx == 0 || ndx == 1)
8444 if (ndx == 0 || ndx == 1)
8449 if (ndx == 0 || ndx == 1)
8454 if (ndx == 0 || ndx == 1)
8459 if (ndx == 0 || ndx == 1)
8462 /* linux_truncate */
8464 if (ndx == 0 || ndx == 1)
8467 /* linux_ftruncate */
8469 if (ndx == 0 || ndx == 1)
8474 if (ndx == 0 || ndx == 1)
8479 if (ndx == 0 || ndx == 1)
8482 /* linux_getpriority */
8484 if (ndx == 0 || ndx == 1)
8489 if (ndx == 0 || ndx == 1)
8494 if (ndx == 0 || ndx == 1)
8499 if (ndx == 0 || ndx == 1)
8504 if (ndx == 0 || ndx == 1)
8507 /* linux_socketcall */
8509 if (ndx == 0 || ndx == 1)
8514 if (ndx == 0 || ndx == 1)
8517 /* linux_setitimer */
8519 if (ndx == 0 || ndx == 1)
8522 /* linux_getitimer */
8524 if (ndx == 0 || ndx == 1)
8529 if (ndx == 0 || ndx == 1)
8532 /* linux_newlstat */
8534 if (ndx == 0 || ndx == 1)
8537 /* linux_newfstat */
8539 if (ndx == 0 || ndx == 1)
8546 if (ndx == 0 || ndx == 1)
8555 if (ndx == 0 || ndx == 1)
8562 if (ndx == 0 || ndx == 1)
8567 if (ndx == 0 || ndx == 1)
8572 if (ndx == 0 || ndx == 1)
8575 /* linux_sigreturn */
8577 if (ndx == 0 || ndx == 1)
8582 if (ndx == 0 || ndx == 1)
8585 /* linux_setdomainname */
8587 if (ndx == 0 || ndx == 1)
8590 /* linux_newuname */
8592 if (ndx == 0 || ndx == 1)
8595 /* linux_modify_ldt */
8597 if (ndx == 0 || ndx == 1)
8600 /* linux_adjtimex */
8602 /* linux_mprotect */
8604 if (ndx == 0 || ndx == 1)
8607 /* linux_sigprocmask */
8609 if (ndx == 0 || ndx == 1)
8612 /* linux_init_module */
8614 /* linux_delete_module */
8616 /* linux_quotactl */
8620 if (ndx == 0 || ndx == 1)
8625 if (ndx == 0 || ndx == 1)
8632 if (ndx == 0 || ndx == 1)
8635 /* linux_personality */
8637 if (ndx == 0 || ndx == 1)
8640 /* linux_setfsuid16 */
8642 if (ndx == 0 || ndx == 1)
8645 /* linux_setfsgid16 */
8647 if (ndx == 0 || ndx == 1)
8652 if (ndx == 0 || ndx == 1)
8655 /* linux_getdents */
8657 if (ndx == 0 || ndx == 1)
8662 if (ndx == 0 || ndx == 1)
8667 if (ndx == 0 || ndx == 1)
8672 if (ndx == 0 || ndx == 1)
8677 if (ndx == 0 || ndx == 1)
8682 if (ndx == 0 || ndx == 1)
8687 if (ndx == 0 || ndx == 1)
8690 /* linux_fdatasync */
8692 if (ndx == 0 || ndx == 1)
8697 if (ndx == 0 || ndx == 1)
8702 if (ndx == 0 || ndx == 1)
8707 if (ndx == 0 || ndx == 1)
8712 if (ndx == 0 || ndx == 1)
8717 /* linux_sched_setparam */
8719 if (ndx == 0 || ndx == 1)
8722 /* linux_sched_getparam */
8724 if (ndx == 0 || ndx == 1)
8727 /* linux_sched_setscheduler */
8729 if (ndx == 0 || ndx == 1)
8732 /* linux_sched_getscheduler */
8734 if (ndx == 0 || ndx == 1)
8739 /* linux_sched_get_priority_max */
8741 if (ndx == 0 || ndx == 1)
8744 /* linux_sched_get_priority_min */
8746 if (ndx == 0 || ndx == 1)
8749 /* linux_sched_rr_get_interval */
8751 if (ndx == 0 || ndx == 1)
8754 /* linux_nanosleep */
8756 if (ndx == 0 || ndx == 1)
8761 if (ndx == 0 || ndx == 1)
8764 /* linux_setresuid16 */
8766 if (ndx == 0 || ndx == 1)
8769 /* linux_getresuid16 */
8771 if (ndx == 0 || ndx == 1)
8778 if (ndx == 0 || ndx == 1)
8781 /* linux_setresgid16 */
8783 if (ndx == 0 || ndx == 1)
8786 /* linux_getresgid16 */
8788 if (ndx == 0 || ndx == 1)
8793 if (ndx == 0 || ndx == 1)
8796 /* linux_rt_sigreturn */
8798 if (ndx == 0 || ndx == 1)
8801 /* linux_rt_sigaction */
8803 if (ndx == 0 || ndx == 1)
8806 /* linux_rt_sigprocmask */
8808 if (ndx == 0 || ndx == 1)
8811 /* linux_rt_sigpending */
8813 if (ndx == 0 || ndx == 1)
8816 /* linux_rt_sigtimedwait */
8818 if (ndx == 0 || ndx == 1)
8821 /* linux_rt_sigqueueinfo */
8823 if (ndx == 0 || ndx == 1)
8826 /* linux_rt_sigsuspend */
8828 if (ndx == 0 || ndx == 1)
8833 if (ndx == 0 || ndx == 1)
8838 if (ndx == 0 || ndx == 1)
8843 if (ndx == 0 || ndx == 1)
8848 if (ndx == 0 || ndx == 1)
8853 if (ndx == 0 || ndx == 1)
8858 if (ndx == 0 || ndx == 1)
8861 /* linux_sigaltstack */
8863 if (ndx == 0 || ndx == 1)
8866 /* linux_sendfile */
8868 if (ndx == 0 || ndx == 1)
8873 /* linux_getrlimit */
8875 if (ndx == 0 || ndx == 1)
8880 if (ndx == 0 || ndx == 1)
8883 /* linux_truncate64 */
8885 if (ndx == 0 || ndx == 1)
8888 /* linux_ftruncate64 */
8890 if (ndx == 0 || ndx == 1)
8895 if (ndx == 0 || ndx == 1)
8900 if (ndx == 0 || ndx == 1)
8905 if (ndx == 0 || ndx == 1)
8910 if (ndx == 0 || ndx == 1)
8923 if (ndx == 0 || ndx == 1)
8928 if (ndx == 0 || ndx == 1)
8931 /* linux_getgroups */
8933 if (ndx == 0 || ndx == 1)
8936 /* linux_setgroups */
8938 if (ndx == 0 || ndx == 1)
8945 if (ndx == 0 || ndx == 1)
8950 if (ndx == 0 || ndx == 1)
8955 if (ndx == 0 || ndx == 1)
8960 if (ndx == 0 || ndx == 1)
8965 if (ndx == 0 || ndx == 1)
8970 if (ndx == 0 || ndx == 1)
8975 if (ndx == 0 || ndx == 1)
8978 /* linux_setfsuid */
8980 if (ndx == 0 || ndx == 1)
8983 /* linux_setfsgid */
8985 if (ndx == 0 || ndx == 1)
8988 /* linux_pivot_root */
8990 if (ndx == 0 || ndx == 1)
8995 if (ndx == 0 || ndx == 1)
9000 if (ndx == 0 || ndx == 1)
9003 /* linux_getdents64 */
9005 if (ndx == 0 || ndx == 1)
9010 if (ndx == 0 || ndx == 1)
9015 /* linux_setxattr */
9017 if (ndx == 0 || ndx == 1)
9020 /* linux_lsetxattr */
9022 if (ndx == 0 || ndx == 1)
9025 /* linux_fsetxattr */
9027 if (ndx == 0 || ndx == 1)
9030 /* linux_getxattr */
9032 if (ndx == 0 || ndx == 1)
9035 /* linux_lgetxattr */
9037 if (ndx == 0 || ndx == 1)
9040 /* linux_fgetxattr */
9042 if (ndx == 0 || ndx == 1)
9045 /* linux_listxattr */
9047 if (ndx == 0 || ndx == 1)
9050 /* linux_llistxattr */
9052 if (ndx == 0 || ndx == 1)
9055 /* linux_flistxattr */
9057 if (ndx == 0 || ndx == 1)
9060 /* linux_removexattr */
9062 if (ndx == 0 || ndx == 1)
9065 /* linux_lremovexattr */
9067 if (ndx == 0 || ndx == 1)
9070 /* linux_fremovexattr */
9072 if (ndx == 0 || ndx == 1)
9077 if (ndx == 0 || ndx == 1)
9080 /* linux_sendfile64 */
9082 if (ndx == 0 || ndx == 1)
9085 /* linux_sys_futex */
9087 if (ndx == 0 || ndx == 1)
9090 /* linux_sched_setaffinity */
9092 if (ndx == 0 || ndx == 1)
9095 /* linux_sched_getaffinity */
9097 if (ndx == 0 || ndx == 1)
9100 /* linux_set_thread_area */
9102 if (ndx == 0 || ndx == 1)
9105 /* linux_get_thread_area */
9107 if (ndx == 0 || ndx == 1)
9110 /* linux_fadvise64 */
9112 if (ndx == 0 || ndx == 1)
9115 /* linux_exit_group */
9117 if (ndx == 0 || ndx == 1)
9120 /* linux_lookup_dcookie */
9122 /* linux_epoll_create */
9124 if (ndx == 0 || ndx == 1)
9127 /* linux_epoll_ctl */
9129 if (ndx == 0 || ndx == 1)
9132 /* linux_epoll_wait */
9134 if (ndx == 0 || ndx == 1)
9137 /* linux_remap_file_pages */
9139 /* linux_set_tid_address */
9141 if (ndx == 0 || ndx == 1)
9144 /* linux_timer_create */
9146 if (ndx == 0 || ndx == 1)
9149 /* linux_timer_settime */
9151 if (ndx == 0 || ndx == 1)
9154 /* linux_timer_gettime */
9156 if (ndx == 0 || ndx == 1)
9159 /* linux_timer_getoverrun */
9161 if (ndx == 0 || ndx == 1)
9164 /* linux_timer_delete */
9166 if (ndx == 0 || ndx == 1)
9169 /* linux_clock_settime */
9171 if (ndx == 0 || ndx == 1)
9174 /* linux_clock_gettime */
9176 if (ndx == 0 || ndx == 1)
9179 /* linux_clock_getres */
9181 if (ndx == 0 || ndx == 1)
9184 /* linux_clock_nanosleep */
9186 if (ndx == 0 || ndx == 1)
9189 /* linux_statfs64 */
9191 if (ndx == 0 || ndx == 1)
9194 /* linux_fstatfs64 */
9196 if (ndx == 0 || ndx == 1)
9201 if (ndx == 0 || ndx == 1)
9206 if (ndx == 0 || ndx == 1)
9209 /* linux_fadvise64_64 */
9211 if (ndx == 0 || ndx == 1)
9216 /* linux_get_mempolicy */
9218 /* linux_set_mempolicy */
9222 if (ndx == 0 || ndx == 1)
9225 /* linux_mq_unlink */
9227 if (ndx == 0 || ndx == 1)
9230 /* linux_mq_timedsend */
9232 if (ndx == 0 || ndx == 1)
9235 /* linux_mq_timedreceive */
9237 if (ndx == 0 || ndx == 1)
9240 /* linux_mq_notify */
9242 if (ndx == 0 || ndx == 1)
9245 /* linux_mq_getsetattr */
9247 if (ndx == 0 || ndx == 1)
9250 /* linux_kexec_load */
9254 if (ndx == 0 || ndx == 1)
9259 /* linux_request_key */
9263 /* linux_ioprio_set */
9265 /* linux_ioprio_get */
9267 /* linux_inotify_init */
9269 /* linux_inotify_add_watch */
9271 /* linux_inotify_rm_watch */
9273 /* linux_migrate_pages */
9277 if (ndx == 0 || ndx == 1)
9282 if (ndx == 0 || ndx == 1)
9287 if (ndx == 0 || ndx == 1)
9290 /* linux_fchownat */
9292 if (ndx == 0 || ndx == 1)
9295 /* linux_futimesat */
9297 if (ndx == 0 || ndx == 1)
9300 /* linux_fstatat64 */
9302 if (ndx == 0 || ndx == 1)
9305 /* linux_unlinkat */
9307 if (ndx == 0 || ndx == 1)
9310 /* linux_renameat */
9312 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9320 /* linux_symlinkat */
9322 if (ndx == 0 || ndx == 1)
9325 /* linux_readlinkat */
9327 if (ndx == 0 || ndx == 1)
9330 /* linux_fchmodat */
9332 if (ndx == 0 || ndx == 1)
9335 /* linux_faccessat */
9337 if (ndx == 0 || ndx == 1)
9340 /* linux_pselect6 */
9342 if (ndx == 0 || ndx == 1)
9347 if (ndx == 0 || ndx == 1)
9352 /* linux_set_robust_list */
9354 if (ndx == 0 || ndx == 1)
9357 /* linux_get_robust_list */
9359 if (ndx == 0 || ndx == 1)
9364 if (ndx == 0 || ndx == 1)
9367 /* linux_sync_file_range */
9369 if (ndx == 0 || ndx == 1)
9374 /* linux_vmsplice */
9376 /* linux_move_pages */
9380 if (ndx == 0 || ndx == 1)
9383 /* linux_epoll_pwait */
9385 if (ndx == 0 || ndx == 1)
9388 /* linux_utimensat */
9390 if (ndx == 0 || ndx == 1)
9393 /* linux_signalfd */
9395 /* linux_timerfd_create */
9397 if (ndx == 0 || ndx == 1)
9402 if (ndx == 0 || ndx == 1)
9405 /* linux_fallocate */
9407 if (ndx == 0 || ndx == 1)
9410 /* linux_timerfd_settime */
9412 if (ndx == 0 || ndx == 1)
9415 /* linux_timerfd_gettime */
9417 if (ndx == 0 || ndx == 1)
9420 /* linux_signalfd4 */
9422 /* linux_eventfd2 */
9424 if (ndx == 0 || ndx == 1)
9427 /* linux_epoll_create1 */
9429 if (ndx == 0 || ndx == 1)
9434 if (ndx == 0 || ndx == 1)
9439 if (ndx == 0 || ndx == 1)
9442 /* linux_inotify_init1 */
9446 if (ndx == 0 || ndx == 1)
9451 if (ndx == 0 || ndx == 1)
9454 /* linux_rt_tgsigqueueinfo */
9456 if (ndx == 0 || ndx == 1)
9459 /* linux_perf_event_open */
9461 /* linux_recvmmsg */
9463 if (ndx == 0 || ndx == 1)
9466 /* linux_fanotify_init */
9468 /* linux_fanotify_mark */
9470 /* linux_prlimit64 */
9472 if (ndx == 0 || ndx == 1)
9475 /* linux_name_to_handle_at */
9477 if (ndx == 0 || ndx == 1)
9480 /* linux_open_by_handle_at */
9482 if (ndx == 0 || ndx == 1)
9485 /* linux_clock_adjtime */
9489 if (ndx == 0 || ndx == 1)
9492 /* linux_sendmmsg */
9494 if (ndx == 0 || ndx == 1)
9499 /* linux_process_vm_readv */
9501 if (ndx == 0 || ndx == 1)
9504 /* linux_process_vm_writev */
9506 if (ndx == 0 || ndx == 1)
9511 if (ndx == 0 || ndx == 1)
9514 /* linux_finit_module */
9516 if (ndx == 0 || ndx == 1)
9519 /* linux_sched_setattr */
9521 if (ndx == 0 || ndx == 1)
9524 /* linux_sched_getattr */
9526 if (ndx == 0 || ndx == 1)
9529 /* linux_renameat2 */
9531 if (ndx == 0 || ndx == 1)
9536 if (ndx == 0 || ndx == 1)
9539 /* linux_getrandom */
9541 if (ndx == 0 || ndx == 1)
9544 /* linux_memfd_create */
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9554 /* linux_execveat */
9556 if (ndx == 0 || ndx == 1)
9561 if (ndx == 0 || ndx == 1)
9564 /* linux_socketpair */
9566 if (ndx == 0 || ndx == 1)
9571 if (ndx == 0 || ndx == 1)
9576 if (ndx == 0 || ndx == 1)
9581 if (ndx == 0 || ndx == 1)
9586 if (ndx == 0 || ndx == 1)
9589 /* linux_getsockopt */
9591 if (ndx == 0 || ndx == 1)
9594 /* linux_setsockopt */
9596 if (ndx == 0 || ndx == 1)
9599 /* linux_getsockname */
9601 if (ndx == 0 || ndx == 1)
9604 /* linux_getpeername */
9606 if (ndx == 0 || ndx == 1)
9611 if (ndx == 0 || ndx == 1)
9616 if (ndx == 0 || ndx == 1)
9619 /* linux_recvfrom */
9621 if (ndx == 0 || ndx == 1)
9626 if (ndx == 0 || ndx == 1)
9629 /* linux_shutdown */
9631 if (ndx == 0 || ndx == 1)
9634 /* linux_userfaultfd */
9636 if (ndx == 0 || ndx == 1)
9639 /* linux_membarrier */
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9649 /* linux_copy_file_range */
9651 if (ndx == 0 || ndx == 1)
9656 if (ndx == 0 || ndx == 1)
9659 /* linux_pwritev2 */
9661 if (ndx == 0 || ndx == 1)
9664 /* linux_pkey_mprotect */
9666 if (ndx == 0 || ndx == 1)
9669 /* linux_pkey_alloc */
9671 if (ndx == 0 || ndx == 1)
9674 /* linux_pkey_free */
9676 if (ndx == 0 || ndx == 1)
9681 if (ndx == 0 || ndx == 1)
9684 /* linux_arch_prctl */
9686 if (ndx == 0 || ndx == 1)
9689 /* linux_io_pgetevents */
9695 if (ndx == 0 || ndx == 1)
9700 if (ndx == 0 || ndx == 1)
9705 if (ndx == 0 || ndx == 1)
9710 if (ndx == 0 || ndx == 1)
9715 if (ndx == 0 || ndx == 1)
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_clock_gettime64 */
9745 /* linux_clock_settime64 */
9747 /* linux_clock_adjtime64 */
9749 /* linux_clock_getres_time64 */
9751 /* linux_clock_nanosleep_time64 */
9753 /* linux_timer_gettime64 */
9755 /* linux_timer_settime64 */
9757 /* linux_timerfd_gettime64 */
9759 /* linux_timerfd_settime64 */
9761 /* linux_utimensat_time64 */
9763 /* linux_pselect6_time64 */
9765 /* linux_ppoll_time64 */
9767 /* linux_io_pgetevents_time64 */
9769 /* linux_recvmmsg_time64 */
9771 /* linux_mq_timedsend_time64 */
9773 /* linux_mq_timedreceive_time64 */
9775 /* linux_semtimedop_time64 */
9777 /* linux_rt_sigtimedwait_time64 */
9779 /* linux_futex_time64 */
9781 /* linux_sched_rr_get_interval_time64 */
9783 /* linux_pidfd_send_signal */
9785 if (ndx == 0 || ndx == 1)
9788 /* linux_io_uring_setup */
9790 /* linux_io_uring_enter */
9792 /* linux_io_uring_register */
9798 strlcpy(desc, p, descsz);