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 */
2490 /* linux_open_by_handle_at */
2495 /* linux_clock_adjtime */
2502 struct linux_syncfs_args *p = params;
2503 iarg[0] = p->fd; /* l_int */
2507 /* linux_sendmmsg */
2509 struct linux_sendmmsg_args *p = params;
2510 iarg[0] = p->s; /* l_int */
2511 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2512 iarg[2] = p->vlen; /* l_uint */
2513 iarg[3] = p->flags; /* l_uint */
2522 /* linux_process_vm_readv */
2524 struct linux_process_vm_readv_args *p = params;
2525 iarg[0] = p->pid; /* l_pid_t */
2526 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2527 iarg[2] = p->liovcnt; /* l_ulong */
2528 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2529 iarg[4] = p->riovcnt; /* l_ulong */
2530 iarg[5] = p->flags; /* l_ulong */
2534 /* linux_process_vm_writev */
2536 struct linux_process_vm_writev_args *p = params;
2537 iarg[0] = p->pid; /* l_pid_t */
2538 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2539 iarg[2] = p->liovcnt; /* l_ulong */
2540 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2541 iarg[4] = p->riovcnt; /* l_ulong */
2542 iarg[5] = p->flags; /* l_ulong */
2548 struct linux_kcmp_args *p = params;
2549 iarg[0] = p->pid1; /* l_pid_t */
2550 iarg[1] = p->pid2; /* l_pid_t */
2551 iarg[2] = p->type; /* l_int */
2552 iarg[3] = p->idx1; /* l_ulong */
2553 iarg[4] = p->idx; /* l_ulong */
2557 /* linux_finit_module */
2559 struct linux_finit_module_args *p = params;
2560 iarg[0] = p->fd; /* l_int */
2561 uarg[1] = (intptr_t) p->uargs; /* const char * */
2562 iarg[2] = p->flags; /* l_int */
2566 /* linux_sched_setattr */
2568 struct linux_sched_setattr_args *p = params;
2569 iarg[0] = p->pid; /* l_pid_t */
2570 uarg[1] = (intptr_t) p->attr; /* void * */
2571 iarg[2] = p->flags; /* l_uint */
2575 /* linux_sched_getattr */
2577 struct linux_sched_getattr_args *p = params;
2578 iarg[0] = p->pid; /* l_pid_t */
2579 uarg[1] = (intptr_t) p->attr; /* void * */
2580 iarg[2] = p->size; /* l_uint */
2581 iarg[3] = p->flags; /* l_uint */
2585 /* linux_renameat2 */
2587 struct linux_renameat2_args *p = params;
2588 iarg[0] = p->olddfd; /* l_int */
2589 uarg[1] = (intptr_t) p->oldname; /* const char * */
2590 iarg[2] = p->newdfd; /* l_int */
2591 uarg[3] = (intptr_t) p->newname; /* const char * */
2592 uarg[4] = p->flags; /* unsigned int */
2598 struct linux_seccomp_args *p = params;
2599 iarg[0] = p->op; /* l_uint */
2600 iarg[1] = p->flags; /* l_uint */
2601 uarg[2] = (intptr_t) p->uargs; /* const char * */
2605 /* linux_getrandom */
2607 struct linux_getrandom_args *p = params;
2608 uarg[0] = (intptr_t) p->buf; /* char * */
2609 iarg[1] = p->count; /* l_size_t */
2610 iarg[2] = p->flags; /* l_uint */
2614 /* linux_memfd_create */
2616 struct linux_memfd_create_args *p = params;
2617 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2618 iarg[1] = p->flags; /* l_uint */
2624 struct linux_bpf_args *p = params;
2625 iarg[0] = p->cmd; /* l_int */
2626 uarg[1] = (intptr_t) p->attr; /* void * */
2627 iarg[2] = p->size; /* l_uint */
2631 /* linux_execveat */
2633 struct linux_execveat_args *p = params;
2634 iarg[0] = p->dfd; /* l_int */
2635 uarg[1] = (intptr_t) p->filename; /* const char * */
2636 uarg[2] = (intptr_t) p->argv; /* const char ** */
2637 uarg[3] = (intptr_t) p->envp; /* const char ** */
2638 iarg[4] = p->flags; /* l_int */
2644 struct linux_socket_args *p = params;
2645 iarg[0] = p->domain; /* l_int */
2646 iarg[1] = p->type; /* l_int */
2647 iarg[2] = p->protocol; /* l_int */
2651 /* linux_socketpair */
2653 struct linux_socketpair_args *p = params;
2654 iarg[0] = p->domain; /* l_int */
2655 iarg[1] = p->type; /* l_int */
2656 iarg[2] = p->protocol; /* l_int */
2657 iarg[3] = p->rsv; /* l_uintptr_t */
2663 struct linux_bind_args *p = params;
2664 iarg[0] = p->s; /* l_int */
2665 iarg[1] = p->name; /* l_uintptr_t */
2666 iarg[2] = p->namelen; /* l_int */
2672 struct linux_connect_args *p = params;
2673 iarg[0] = p->s; /* l_int */
2674 iarg[1] = p->name; /* l_uintptr_t */
2675 iarg[2] = p->namelen; /* l_int */
2681 struct linux_listen_args *p = params;
2682 iarg[0] = p->s; /* l_int */
2683 iarg[1] = p->backlog; /* l_int */
2689 struct linux_accept4_args *p = params;
2690 iarg[0] = p->s; /* l_int */
2691 iarg[1] = p->addr; /* l_uintptr_t */
2692 iarg[2] = p->namelen; /* l_uintptr_t */
2693 iarg[3] = p->flags; /* l_int */
2697 /* linux_getsockopt */
2699 struct linux_getsockopt_args *p = params;
2700 iarg[0] = p->s; /* l_int */
2701 iarg[1] = p->level; /* l_int */
2702 iarg[2] = p->optname; /* l_int */
2703 iarg[3] = p->optval; /* l_uintptr_t */
2704 iarg[4] = p->optlen; /* l_uintptr_t */
2708 /* linux_setsockopt */
2710 struct linux_setsockopt_args *p = params;
2711 iarg[0] = p->s; /* l_int */
2712 iarg[1] = p->level; /* l_int */
2713 iarg[2] = p->optname; /* l_int */
2714 iarg[3] = p->optval; /* l_uintptr_t */
2715 iarg[4] = p->optlen; /* l_int */
2719 /* linux_getsockname */
2721 struct linux_getsockname_args *p = params;
2722 iarg[0] = p->s; /* l_int */
2723 iarg[1] = p->addr; /* l_uintptr_t */
2724 iarg[2] = p->namelen; /* l_uintptr_t */
2728 /* linux_getpeername */
2730 struct linux_getpeername_args *p = params;
2731 iarg[0] = p->s; /* l_int */
2732 iarg[1] = p->addr; /* l_uintptr_t */
2733 iarg[2] = p->namelen; /* l_uintptr_t */
2739 struct linux_sendto_args *p = params;
2740 iarg[0] = p->s; /* l_int */
2741 iarg[1] = p->msg; /* l_uintptr_t */
2742 iarg[2] = p->len; /* l_int */
2743 iarg[3] = p->flags; /* l_int */
2744 iarg[4] = p->to; /* l_uintptr_t */
2745 iarg[5] = p->tolen; /* l_int */
2751 struct linux_sendmsg_args *p = params;
2752 iarg[0] = p->s; /* l_int */
2753 iarg[1] = p->msg; /* l_uintptr_t */
2754 iarg[2] = p->flags; /* l_int */
2758 /* linux_recvfrom */
2760 struct linux_recvfrom_args *p = params;
2761 iarg[0] = p->s; /* l_int */
2762 iarg[1] = p->buf; /* l_uintptr_t */
2763 iarg[2] = p->len; /* l_size_t */
2764 iarg[3] = p->flags; /* l_int */
2765 iarg[4] = p->from; /* l_uintptr_t */
2766 iarg[5] = p->fromlen; /* l_uintptr_t */
2772 struct linux_recvmsg_args *p = params;
2773 iarg[0] = p->s; /* l_int */
2774 iarg[1] = p->msg; /* l_uintptr_t */
2775 iarg[2] = p->flags; /* l_int */
2779 /* linux_shutdown */
2781 struct linux_shutdown_args *p = params;
2782 iarg[0] = p->s; /* l_int */
2783 iarg[1] = p->how; /* l_int */
2787 /* linux_userfaultfd */
2789 struct linux_userfaultfd_args *p = params;
2790 iarg[0] = p->flags; /* l_int */
2794 /* linux_membarrier */
2796 struct linux_membarrier_args *p = params;
2797 iarg[0] = p->cmd; /* l_int */
2798 iarg[1] = p->flags; /* l_int */
2804 struct linux_mlock2_args *p = params;
2805 iarg[0] = p->start; /* l_ulong */
2806 iarg[1] = p->len; /* l_size_t */
2807 iarg[2] = p->flags; /* l_int */
2811 /* linux_copy_file_range */
2813 struct linux_copy_file_range_args *p = params;
2814 iarg[0] = p->fd_in; /* l_int */
2815 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2816 iarg[2] = p->fd_out; /* l_int */
2817 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2818 iarg[4] = p->len; /* l_size_t */
2819 iarg[5] = p->flags; /* l_uint */
2825 struct linux_preadv2_args *p = params;
2826 iarg[0] = p->fd; /* l_ulong */
2827 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2828 iarg[2] = p->vlen; /* l_ulong */
2829 iarg[3] = p->pos_l; /* l_ulong */
2830 iarg[4] = p->pos_h; /* l_ulong */
2831 iarg[5] = p->flags; /* l_int */
2835 /* linux_pwritev2 */
2837 struct linux_pwritev2_args *p = params;
2838 iarg[0] = p->fd; /* l_ulong */
2839 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2840 iarg[2] = p->vlen; /* l_ulong */
2841 iarg[3] = p->pos_l; /* l_ulong */
2842 iarg[4] = p->pos_h; /* l_ulong */
2843 iarg[5] = p->flags; /* l_int */
2847 /* linux_pkey_mprotect */
2849 struct linux_pkey_mprotect_args *p = params;
2850 iarg[0] = p->start; /* l_ulong */
2851 iarg[1] = p->len; /* l_size_t */
2852 iarg[2] = p->prot; /* l_ulong */
2853 iarg[3] = p->pkey; /* l_int */
2857 /* linux_pkey_alloc */
2859 struct linux_pkey_alloc_args *p = params;
2860 iarg[0] = p->flags; /* l_ulong */
2861 iarg[1] = p->init_val; /* l_ulong */
2865 /* linux_pkey_free */
2867 struct linux_pkey_free_args *p = params;
2868 iarg[0] = p->pkey; /* l_int */
2874 struct linux_statx_args *p = params;
2875 iarg[0] = p->dirfd; /* l_int */
2876 uarg[1] = (intptr_t) p->pathname; /* const char * */
2877 iarg[2] = p->flags; /* l_uint */
2878 iarg[3] = p->mask; /* l_uint */
2879 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2883 /* linux_arch_prctl */
2885 struct linux_arch_prctl_args *p = params;
2886 iarg[0] = p->option; /* l_int */
2887 iarg[1] = p->arg2; /* l_ulong */
2891 /* linux_io_pgetevents */
2903 struct linux_semget_args *p = params;
2904 iarg[0] = p->key; /* l_key_t */
2905 iarg[1] = p->nsems; /* l_int */
2906 iarg[2] = p->semflg; /* l_int */
2912 struct linux_semctl_args *p = params;
2913 iarg[0] = p->semid; /* l_int */
2914 iarg[1] = p->semnum; /* l_int */
2915 iarg[2] = p->cmd; /* l_int */
2916 uarg[3] = p->arg.buf; /* union l_semun */
2922 struct linux_shmget_args *p = params;
2923 iarg[0] = p->key; /* l_key_t */
2924 iarg[1] = p->size; /* l_size_t */
2925 iarg[2] = p->shmflg; /* l_int */
2931 struct linux_shmctl_args *p = params;
2932 iarg[0] = p->shmid; /* l_int */
2933 iarg[1] = p->cmd; /* l_int */
2934 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2940 struct linux_shmat_args *p = params;
2941 iarg[0] = p->shmid; /* l_int */
2942 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2943 iarg[2] = p->shmflg; /* l_int */
2949 struct linux_shmdt_args *p = params;
2950 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2956 struct linux_msgget_args *p = params;
2957 iarg[0] = p->key; /* l_key_t */
2958 iarg[1] = p->msgflg; /* l_int */
2964 struct linux_msgsnd_args *p = params;
2965 iarg[0] = p->msqid; /* l_int */
2966 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2967 iarg[2] = p->msgsz; /* l_size_t */
2968 iarg[3] = p->msgflg; /* l_int */
2974 struct linux_msgrcv_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->msgtyp; /* l_long */
2979 iarg[4] = p->msgflg; /* l_int */
2985 struct linux_msgctl_args *p = params;
2986 iarg[0] = p->msqid; /* l_int */
2987 iarg[1] = p->cmd; /* l_int */
2988 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2992 /* linux_clock_gettime64 */
2997 /* linux_clock_settime64 */
3002 /* linux_clock_adjtime64 */
3007 /* linux_clock_getres_time64 */
3012 /* linux_clock_nanosleep_time64 */
3017 /* linux_timer_gettime64 */
3022 /* linux_timer_settime64 */
3027 /* linux_timerfd_gettime64 */
3032 /* linux_timerfd_settime64 */
3037 /* linux_utimensat_time64 */
3042 /* linux_pselect6_time64 */
3047 /* linux_ppoll_time64 */
3052 /* linux_io_pgetevents_time64 */
3057 /* linux_recvmmsg_time64 */
3062 /* linux_mq_timedsend_time64 */
3067 /* linux_mq_timedreceive_time64 */
3072 /* linux_semtimedop_time64 */
3077 /* linux_rt_sigtimedwait_time64 */
3082 /* linux_futex_time64 */
3087 /* linux_sched_rr_get_interval_time64 */
3092 /* linux_pidfd_send_signal */
3094 struct linux_pidfd_send_signal_args *p = params;
3095 iarg[0] = p->pidfd; /* l_int */
3096 iarg[1] = p->sig; /* l_int */
3097 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
3098 iarg[3] = p->flags; /* l_uint */
3102 /* linux_io_uring_setup */
3107 /* linux_io_uring_enter */
3112 /* linux_io_uring_register */
3123 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3125 const char *p = NULL;
3127 #define nosys linux_nosys
3148 p = "userland char *";
3164 p = "userland char *";
3177 p = "userland char *";
3206 p = "userland l_int *";
3219 p = "userland char *";
3232 p = "userland char *";
3235 p = "userland char *";
3245 p = "userland char *";
3255 p = "userland char *";
3258 p = "userland char **";
3261 p = "userland char **";
3271 p = "userland char *";
3281 p = "userland l_time_t *";
3291 p = "userland char *";
3307 p = "userland char *";
3316 /* linux_lchown16 */
3320 p = "userland char *";
3336 p = "userland char *";
3339 p = "userland struct linux_stat *";
3368 p = "userland char *";
3371 p = "userland char *";
3374 p = "userland char *";
3380 p = "userland void *";
3386 /* linux_oldumount */
3390 p = "userland char *";
3396 /* linux_setuid16 */
3406 /* linux_getuid16 */
3448 p = "userland struct linux_stat *";
3461 p = "userland char *";
3464 p = "userland struct l_utimbuf *";
3474 p = "userland char *";
3513 p = "userland char *";
3516 p = "userland char *";
3526 p = "userland char *";
3539 p = "userland char *";
3559 p = "userland l_int *";
3569 p = "userland struct l_times_argv *";
3585 /* linux_setgid16 */
3595 /* linux_getgid16 */
3605 p = "userland void *";
3611 /* linux_geteuid16 */
3614 /* linux_getegid16 */
3621 p = "userland char *";
3631 p = "userland char *";
3685 /* linux_olduname */
3702 p = "userland char *";
3715 p = "userland struct l_ustat *";
3743 /* linux_sigaction */
3750 p = "userland l_osigaction_t *";
3753 p = "userland l_osigaction_t *";
3759 /* linux_sgetmask */
3762 /* linux_ssetmask */
3772 /* linux_setreuid16 */
3785 /* linux_setregid16 */
3798 /* linux_sigsuspend */
3814 /* linux_sigpending */
3818 p = "userland l_osigset_t *";
3824 /* linux_sethostname */
3828 p = "userland char *";
3837 /* linux_setrlimit */
3844 p = "userland struct l_rlimit *";
3850 /* linux_old_getrlimit */
3857 p = "userland struct l_rlimit *";
3870 p = "userland struct rusage *";
3880 p = "userland struct timeval *";
3883 p = "userland struct timezone *";
3893 p = "userland struct timeval *";
3896 p = "userland struct timezone *";
3902 /* linux_getgroups16 */
3909 p = "userland l_gid16_t *";
3915 /* linux_setgroups16 */
3922 p = "userland l_gid16_t *";
3928 /* linux_old_select */
3932 p = "userland struct l_old_select_argv *";
3942 p = "userland char *";
3945 p = "userland char *";
3955 p = "userland char *";
3958 p = "userland struct l_stat *";
3964 /* linux_readlink */
3968 p = "userland char *";
3971 p = "userland char *";
3984 p = "userland char *";
3994 p = "userland char *";
4013 p = "userland void *";
4026 p = "userland struct l_dirent *";
4039 p = "userland struct l_mmap_argv *";
4058 /* linux_truncate */
4062 p = "userland char *";
4071 /* linux_ftruncate */
4113 /* linux_getpriority */
4146 p = "userland char *";
4149 p = "userland struct l_statfs_buf *";
4162 p = "userland struct l_statfs_buf *";
4184 /* linux_socketcall */
4204 p = "userland char *";
4213 /* linux_setitimer */
4220 p = "userland struct l_itimerval *";
4223 p = "userland struct l_itimerval *";
4229 /* linux_getitimer */
4236 p = "userland struct l_itimerval *";
4246 p = "userland char *";
4249 p = "userland struct l_newstat *";
4255 /* linux_newlstat */
4259 p = "userland char *";
4262 p = "userland struct l_newstat *";
4268 /* linux_newfstat */
4275 p = "userland struct l_newstat *";
4307 p = "userland l_int *";
4313 p = "userland void *";
4326 p = "userland struct l_sysinfo *";
4367 /* linux_sigreturn */
4371 p = "userland struct l_sigframe *";
4384 p = "userland void *";
4387 p = "userland void *";
4390 p = "userland void *";
4393 p = "userland void *";
4399 /* linux_setdomainname */
4403 p = "userland char *";
4412 /* linux_newuname */
4416 p = "userland struct l_new_utsname *";
4422 /* linux_modify_ldt */
4429 p = "userland void *";
4438 /* linux_adjtimex */
4441 /* linux_mprotect */
4457 /* linux_sigprocmask */
4464 p = "userland l_osigset_t *";
4467 p = "userland l_osigset_t *";
4473 /* linux_init_module */
4476 /* linux_delete_module */
4479 /* linux_quotactl */
4521 /* linux_personality */
4531 /* linux_setfsuid16 */
4541 /* linux_setfsgid16 */
4564 p = "userland l_loff_t *";
4573 /* linux_getdents */
4580 p = "userland void *";
4596 p = "userland l_fd_set *";
4599 p = "userland l_fd_set *";
4602 p = "userland l_fd_set *";
4605 p = "userland struct l_timeval *";
4647 p = "userland struct iovec *";
4663 p = "userland struct iovec *";
4682 /* linux_fdatasync */
4696 p = "userland struct l___sysctl_args *";
4706 p = "userland const void *";
4719 p = "userland const void *";
4741 /* linux_sched_setparam */
4748 p = "userland struct sched_param *";
4754 /* linux_sched_getparam */
4761 p = "userland struct sched_param *";
4767 /* linux_sched_setscheduler */
4777 p = "userland struct sched_param *";
4783 /* linux_sched_getscheduler */
4796 /* linux_sched_get_priority_max */
4806 /* linux_sched_get_priority_min */
4816 /* linux_sched_rr_get_interval */
4823 p = "userland struct l_timespec *";
4829 /* linux_nanosleep */
4833 p = "userland const struct l_timespec *";
4836 p = "userland struct l_timespec *";
4864 /* linux_setresuid16 */
4880 /* linux_getresuid16 */
4884 p = "userland l_uid16_t *";
4887 p = "userland l_uid16_t *";
4890 p = "userland l_uid16_t *";
4903 p = "userland struct pollfd *";
4915 /* linux_setresgid16 */
4931 /* linux_getresgid16 */
4935 p = "userland l_gid16_t *";
4938 p = "userland l_gid16_t *";
4941 p = "userland l_gid16_t *";
4969 /* linux_rt_sigreturn */
4973 p = "userland struct l_ucontext *";
4979 /* linux_rt_sigaction */
4986 p = "userland l_sigaction_t *";
4989 p = "userland l_sigaction_t *";
4998 /* linux_rt_sigprocmask */
5005 p = "userland l_sigset_t *";
5008 p = "userland l_sigset_t *";
5017 /* linux_rt_sigpending */
5021 p = "userland l_sigset_t *";
5030 /* linux_rt_sigtimedwait */
5034 p = "userland l_sigset_t *";
5037 p = "userland l_siginfo_t *";
5040 p = "userland struct l_timeval *";
5049 /* linux_rt_sigqueueinfo */
5059 p = "userland l_siginfo_t *";
5065 /* linux_rt_sigsuspend */
5069 p = "userland l_sigset_t *";
5085 p = "userland char *";
5104 p = "userland char *";
5120 p = "userland char *";
5136 p = "userland char *";
5149 p = "userland struct l_user_cap_header *";
5152 p = "userland struct l_user_cap_data *";
5162 p = "userland struct l_user_cap_header *";
5165 p = "userland struct l_user_cap_data *";
5171 /* linux_sigaltstack */
5175 p = "userland l_stack_t *";
5178 p = "userland l_stack_t *";
5184 /* linux_sendfile */
5194 p = "userland l_long *";
5206 /* linux_getrlimit */
5213 p = "userland struct l_rlimit *";
5244 /* linux_truncate64 */
5248 p = "userland char *";
5257 /* linux_ftruncate64 */
5274 p = "userland const char *";
5277 p = "userland struct l_stat64 *";
5287 p = "userland const char *";
5290 p = "userland struct l_stat64 *";
5303 p = "userland struct l_stat64 *";
5313 p = "userland char *";
5363 /* linux_getgroups */
5370 p = "userland l_gid_t *";
5376 /* linux_setgroups */
5383 p = "userland l_gid_t *";
5412 p = "userland uid_t *";
5415 p = "userland uid_t *";
5418 p = "userland uid_t *";
5444 p = "userland gid_t *";
5447 p = "userland gid_t *";
5450 p = "userland gid_t *";
5460 p = "userland char *";
5492 /* linux_setfsuid */
5502 /* linux_setfsgid */
5512 /* linux_pivot_root */
5516 p = "userland char *";
5519 p = "userland char *";
5535 p = "userland u_char *";
5545 p = "userland void *";
5557 /* linux_getdents64 */
5564 p = "userland void *";
5592 /* linux_setxattr */
5596 p = "userland const char *";
5599 p = "userland const char *";
5602 p = "userland const char *";
5614 /* linux_lsetxattr */
5618 p = "userland const char *";
5621 p = "userland const char *";
5624 p = "userland const char *";
5636 /* linux_fsetxattr */
5643 p = "userland const char *";
5646 p = "userland const char *";
5658 /* linux_getxattr */
5662 p = "userland const char *";
5665 p = "userland const char *";
5668 p = "userland char *";
5677 /* linux_lgetxattr */
5681 p = "userland const char *";
5684 p = "userland const char *";
5687 p = "userland char *";
5696 /* linux_fgetxattr */
5703 p = "userland const char *";
5706 p = "userland char *";
5715 /* linux_listxattr */
5719 p = "userland const char *";
5722 p = "userland const char *";
5731 /* linux_llistxattr */
5735 p = "userland const char *";
5738 p = "userland const char *";
5747 /* linux_flistxattr */
5754 p = "userland const char *";
5763 /* linux_removexattr */
5767 p = "userland const char *";
5770 p = "userland const char *";
5776 /* linux_lremovexattr */
5780 p = "userland const char *";
5783 p = "userland const char *";
5789 /* linux_fremovexattr */
5796 p = "userland const char *";
5815 /* linux_sendfile64 */
5825 p = "userland l_loff_t *";
5834 /* linux_sys_futex */
5838 p = "userland void *";
5847 p = "userland struct l_timespec *";
5850 p = "userland uint32_t *";
5859 /* linux_sched_setaffinity */
5869 p = "userland l_ulong *";
5875 /* linux_sched_getaffinity */
5885 p = "userland l_ulong *";
5891 /* linux_set_thread_area */
5895 p = "userland struct l_user_desc *";
5901 /* linux_get_thread_area */
5905 p = "userland struct l_user_desc *";
5911 /* linux_fadvise64 */
5930 /* linux_exit_group */
5940 /* linux_lookup_dcookie */
5943 /* linux_epoll_create */
5953 /* linux_epoll_ctl */
5966 p = "userland struct epoll_event *";
5972 /* linux_epoll_wait */
5979 p = "userland struct epoll_event *";
5991 /* linux_remap_file_pages */
5994 /* linux_set_tid_address */
5998 p = "userland int *";
6004 /* linux_timer_create */
6011 p = "userland struct sigevent *";
6014 p = "userland l_timer_t *";
6020 /* linux_timer_settime */
6030 p = "userland const struct itimerspec *";
6033 p = "userland struct itimerspec *";
6039 /* linux_timer_gettime */
6046 p = "userland struct itimerspec *";
6052 /* linux_timer_getoverrun */
6062 /* linux_timer_delete */
6072 /* linux_clock_settime */
6079 p = "userland struct l_timespec *";
6085 /* linux_clock_gettime */
6092 p = "userland struct l_timespec *";
6098 /* linux_clock_getres */
6105 p = "userland struct l_timespec *";
6111 /* linux_clock_nanosleep */
6121 p = "userland struct l_timespec *";
6124 p = "userland struct l_timespec *";
6130 /* linux_statfs64 */
6134 p = "userland char *";
6140 p = "userland struct l_statfs64_buf *";
6146 /* linux_fstatfs64 */
6156 p = "userland struct l_statfs64_buf *";
6182 p = "userland char *";
6185 p = "userland struct l_timeval *";
6191 /* linux_fadvise64_64 */
6213 /* linux_get_mempolicy */
6216 /* linux_set_mempolicy */
6223 p = "userland const char *";
6232 p = "userland struct mq_attr *";
6238 /* linux_mq_unlink */
6242 p = "userland const char *";
6248 /* linux_mq_timedsend */
6255 p = "userland const char *";
6264 p = "userland const struct l_timespec *";
6270 /* linux_mq_timedreceive */
6277 p = "userland char *";
6283 p = "userland l_uint *";
6286 p = "userland const struct l_timespec *";
6292 /* linux_mq_notify */
6299 p = "userland const struct l_timespec *";
6305 /* linux_mq_getsetattr */
6312 p = "userland const struct mq_attr *";
6315 p = "userland struct mq_attr *";
6321 /* linux_kexec_load */
6334 p = "userland l_siginfo_t *";
6340 p = "userland void *";
6349 /* linux_request_key */
6355 /* linux_ioprio_set */
6358 /* linux_ioprio_get */
6361 /* linux_inotify_init */
6364 /* linux_inotify_add_watch */
6367 /* linux_inotify_rm_watch */
6370 /* linux_migrate_pages */
6380 p = "userland const char *";
6399 p = "userland const char *";
6415 p = "userland const char *";
6427 /* linux_fchownat */
6434 p = "userland const char *";
6449 /* linux_futimesat */
6456 p = "userland char *";
6459 p = "userland struct l_timeval *";
6465 /* linux_fstatat64 */
6472 p = "userland char *";
6475 p = "userland struct l_stat64 *";
6484 /* linux_unlinkat */
6491 p = "userland const char *";
6500 /* linux_renameat */
6507 p = "userland const char *";
6513 p = "userland const char *";
6526 p = "userland const char *";
6532 p = "userland const char *";
6541 /* linux_symlinkat */
6545 p = "userland const char *";
6551 p = "userland const char *";
6557 /* linux_readlinkat */
6564 p = "userland const char *";
6567 p = "userland char *";
6576 /* linux_fchmodat */
6583 p = "userland const char *";
6592 /* linux_faccessat */
6599 p = "userland const char *";
6608 /* linux_pselect6 */
6615 p = "userland l_fd_set *";
6618 p = "userland l_fd_set *";
6621 p = "userland l_fd_set *";
6624 p = "userland struct l_timespec *";
6627 p = "userland l_uintptr_t *";
6637 p = "userland struct pollfd *";
6643 p = "userland struct l_timespec *";
6646 p = "userland l_sigset_t *";
6658 /* linux_set_robust_list */
6662 p = "userland struct linux_robust_list_head *";
6671 /* linux_get_robust_list */
6678 p = "userland struct linux_robust_list_head **";
6681 p = "userland l_size_t *";
6694 p = "userland l_loff_t *";
6700 p = "userland l_loff_t *";
6712 /* linux_sync_file_range */
6734 /* linux_vmsplice */
6737 /* linux_move_pages */
6744 p = "userland l_uint *";
6747 p = "userland l_uint *";
6750 p = "userland void *";
6756 /* linux_epoll_pwait */
6763 p = "userland struct epoll_event *";
6772 p = "userland l_sigset_t *";
6781 /* linux_utimensat */
6788 p = "userland const char *";
6791 p = "userland const struct l_timespec *";
6800 /* linux_signalfd */
6803 /* linux_timerfd_create */
6826 /* linux_fallocate */
6845 /* linux_timerfd_settime */
6855 p = "userland const struct l_itimerspec *";
6858 p = "userland struct l_itimerspec *";
6864 /* linux_timerfd_gettime */
6871 p = "userland struct l_itimerspec *";
6877 /* linux_signalfd4 */
6880 /* linux_eventfd2 */
6893 /* linux_epoll_create1 */
6923 p = "userland l_int *";
6932 /* linux_inotify_init1 */
6942 p = "userland struct iovec *";
6964 p = "userland struct iovec *";
6979 /* linux_rt_tgsigqueueinfo */
6992 p = "userland l_siginfo_t *";
6998 /* linux_perf_event_open */
7001 /* linux_recvmmsg */
7008 p = "userland struct l_mmsghdr *";
7017 p = "userland struct l_timespec *";
7023 /* linux_fanotify_init */
7026 /* linux_fanotify_mark */
7029 /* linux_prlimit64 */
7039 p = "userland struct rlimit *";
7042 p = "userland struct rlimit *";
7048 /* linux_name_to_handle_at */
7051 /* linux_open_by_handle_at */
7054 /* linux_clock_adjtime */
7067 /* linux_sendmmsg */
7074 p = "userland struct l_mmsghdr *";
7089 /* linux_process_vm_readv */
7096 p = "userland const struct iovec *";
7102 p = "userland const struct iovec *";
7114 /* linux_process_vm_writev */
7121 p = "userland const struct iovec *";
7127 p = "userland const struct iovec *";
7161 /* linux_finit_module */
7168 p = "userland const char *";
7177 /* linux_sched_setattr */
7184 p = "userland void *";
7193 /* linux_sched_getattr */
7200 p = "userland void *";
7212 /* linux_renameat2 */
7219 p = "userland const char *";
7225 p = "userland const char *";
7244 p = "userland const char *";
7250 /* linux_getrandom */
7254 p = "userland char *";
7266 /* linux_memfd_create */
7270 p = "userland const char *";
7286 p = "userland void *";
7295 /* linux_execveat */
7302 p = "userland const char *";
7305 p = "userland const char **";
7308 p = "userland const char **";
7333 /* linux_socketpair */
7416 /* linux_getsockopt */
7438 /* linux_setsockopt */
7460 /* linux_getsockname */
7476 /* linux_getpeername */
7533 /* linux_recvfrom */
7574 /* linux_shutdown */
7587 /* linux_userfaultfd */
7597 /* linux_membarrier */
7626 /* linux_copy_file_range */
7633 p = "userland l_loff_t *";
7639 p = "userland l_loff_t *";
7658 p = "userland const struct iovec *";
7676 /* linux_pwritev2 */
7683 p = "userland const struct iovec *";
7701 /* linux_pkey_mprotect */
7720 /* linux_pkey_alloc */
7733 /* linux_pkey_free */
7750 p = "userland const char *";
7759 p = "userland void *";
7765 /* linux_arch_prctl */
7778 /* linux_io_pgetevents */
7813 p = "union l_semun";
7845 p = "userland struct l_shmid_ds *";
7858 p = "userland char *";
7871 p = "userland char *";
7897 p = "userland struct l_msgbuf *";
7916 p = "userland struct l_msgbuf *";
7941 p = "userland struct l_msqid_ds *";
7947 /* linux_clock_gettime64 */
7950 /* linux_clock_settime64 */
7953 /* linux_clock_adjtime64 */
7956 /* linux_clock_getres_time64 */
7959 /* linux_clock_nanosleep_time64 */
7962 /* linux_timer_gettime64 */
7965 /* linux_timer_settime64 */
7968 /* linux_timerfd_gettime64 */
7971 /* linux_timerfd_settime64 */
7974 /* linux_utimensat_time64 */
7977 /* linux_pselect6_time64 */
7980 /* linux_ppoll_time64 */
7983 /* linux_io_pgetevents_time64 */
7986 /* linux_recvmmsg_time64 */
7989 /* linux_mq_timedsend_time64 */
7992 /* linux_mq_timedreceive_time64 */
7995 /* linux_semtimedop_time64 */
7998 /* linux_rt_sigtimedwait_time64 */
8001 /* linux_futex_time64 */
8004 /* linux_sched_rr_get_interval_time64 */
8007 /* linux_pidfd_send_signal */
8017 p = "userland l_siginfo_t *";
8026 /* linux_io_uring_setup */
8029 /* linux_io_uring_enter */
8032 /* linux_io_uring_register */
8039 strlcpy(desc, p, descsz);
8042 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8044 const char *p = NULL;
8046 #define nosys linux_nosys
8049 if (ndx == 0 || ndx == 1)
8056 if (ndx == 0 || ndx == 1)
8061 if (ndx == 0 || ndx == 1)
8066 if (ndx == 0 || ndx == 1)
8071 if (ndx == 0 || ndx == 1)
8076 if (ndx == 0 || ndx == 1)
8081 if (ndx == 0 || ndx == 1)
8086 if (ndx == 0 || ndx == 1)
8091 if (ndx == 0 || ndx == 1)
8096 if (ndx == 0 || ndx == 1)
8101 if (ndx == 0 || ndx == 1)
8106 if (ndx == 0 || ndx == 1)
8111 if (ndx == 0 || ndx == 1)
8116 if (ndx == 0 || ndx == 1)
8119 /* linux_lchown16 */
8121 if (ndx == 0 || ndx == 1)
8126 if (ndx == 0 || ndx == 1)
8131 if (ndx == 0 || ndx == 1)
8138 if (ndx == 0 || ndx == 1)
8141 /* linux_oldumount */
8143 if (ndx == 0 || ndx == 1)
8146 /* linux_setuid16 */
8148 if (ndx == 0 || ndx == 1)
8151 /* linux_getuid16 */
8157 if (ndx == 0 || ndx == 1)
8162 if (ndx == 0 || ndx == 1)
8167 if (ndx == 0 || ndx == 1)
8174 if (ndx == 0 || ndx == 1)
8179 if (ndx == 0 || ndx == 1)
8184 if (ndx == 0 || ndx == 1)
8191 if (ndx == 0 || ndx == 1)
8196 if (ndx == 0 || ndx == 1)
8201 if (ndx == 0 || ndx == 1)
8206 if (ndx == 0 || ndx == 1)
8211 if (ndx == 0 || ndx == 1)
8216 if (ndx == 0 || ndx == 1)
8221 if (ndx == 0 || ndx == 1)
8226 if (ndx == 0 || ndx == 1)
8229 /* linux_setgid16 */
8231 if (ndx == 0 || ndx == 1)
8234 /* linux_getgid16 */
8238 if (ndx == 0 || ndx == 1)
8241 /* linux_geteuid16 */
8243 /* linux_getegid16 */
8247 if (ndx == 0 || ndx == 1)
8252 if (ndx == 0 || ndx == 1)
8257 if (ndx == 0 || ndx == 1)
8262 if (ndx == 0 || ndx == 1)
8267 if (ndx == 0 || ndx == 1)
8270 /* linux_olduname */
8274 if (ndx == 0 || ndx == 1)
8279 if (ndx == 0 || ndx == 1)
8284 if (ndx == 0 || ndx == 1)
8289 if (ndx == 0 || ndx == 1)
8298 /* linux_sigaction */
8300 if (ndx == 0 || ndx == 1)
8303 /* linux_sgetmask */
8305 /* linux_ssetmask */
8307 if (ndx == 0 || ndx == 1)
8310 /* linux_setreuid16 */
8312 if (ndx == 0 || ndx == 1)
8315 /* linux_setregid16 */
8317 if (ndx == 0 || ndx == 1)
8320 /* linux_sigsuspend */
8322 if (ndx == 0 || ndx == 1)
8325 /* linux_sigpending */
8327 if (ndx == 0 || ndx == 1)
8330 /* linux_sethostname */
8332 if (ndx == 0 || ndx == 1)
8335 /* linux_setrlimit */
8337 if (ndx == 0 || ndx == 1)
8340 /* linux_old_getrlimit */
8342 if (ndx == 0 || ndx == 1)
8347 if (ndx == 0 || ndx == 1)
8352 if (ndx == 0 || ndx == 1)
8357 if (ndx == 0 || ndx == 1)
8360 /* linux_getgroups16 */
8362 if (ndx == 0 || ndx == 1)
8365 /* linux_setgroups16 */
8367 if (ndx == 0 || ndx == 1)
8370 /* linux_old_select */
8372 if (ndx == 0 || ndx == 1)
8377 if (ndx == 0 || ndx == 1)
8382 if (ndx == 0 || ndx == 1)
8385 /* linux_readlink */
8387 if (ndx == 0 || ndx == 1)
8392 if (ndx == 0 || ndx == 1)
8397 if (ndx == 0 || ndx == 1)
8402 if (ndx == 0 || ndx == 1)
8407 if (ndx == 0 || ndx == 1)
8412 if (ndx == 0 || ndx == 1)
8417 if (ndx == 0 || ndx == 1)
8420 /* linux_truncate */
8422 if (ndx == 0 || ndx == 1)
8425 /* linux_ftruncate */
8427 if (ndx == 0 || ndx == 1)
8432 if (ndx == 0 || ndx == 1)
8437 if (ndx == 0 || ndx == 1)
8440 /* linux_getpriority */
8442 if (ndx == 0 || ndx == 1)
8447 if (ndx == 0 || ndx == 1)
8452 if (ndx == 0 || ndx == 1)
8457 if (ndx == 0 || ndx == 1)
8462 if (ndx == 0 || ndx == 1)
8465 /* linux_socketcall */
8467 if (ndx == 0 || ndx == 1)
8472 if (ndx == 0 || ndx == 1)
8475 /* linux_setitimer */
8477 if (ndx == 0 || ndx == 1)
8480 /* linux_getitimer */
8482 if (ndx == 0 || ndx == 1)
8487 if (ndx == 0 || ndx == 1)
8490 /* linux_newlstat */
8492 if (ndx == 0 || ndx == 1)
8495 /* linux_newfstat */
8497 if (ndx == 0 || ndx == 1)
8504 if (ndx == 0 || ndx == 1)
8513 if (ndx == 0 || ndx == 1)
8520 if (ndx == 0 || ndx == 1)
8525 if (ndx == 0 || ndx == 1)
8530 if (ndx == 0 || ndx == 1)
8533 /* linux_sigreturn */
8535 if (ndx == 0 || ndx == 1)
8540 if (ndx == 0 || ndx == 1)
8543 /* linux_setdomainname */
8545 if (ndx == 0 || ndx == 1)
8548 /* linux_newuname */
8550 if (ndx == 0 || ndx == 1)
8553 /* linux_modify_ldt */
8555 if (ndx == 0 || ndx == 1)
8558 /* linux_adjtimex */
8560 /* linux_mprotect */
8562 if (ndx == 0 || ndx == 1)
8565 /* linux_sigprocmask */
8567 if (ndx == 0 || ndx == 1)
8570 /* linux_init_module */
8572 /* linux_delete_module */
8574 /* linux_quotactl */
8578 if (ndx == 0 || ndx == 1)
8583 if (ndx == 0 || ndx == 1)
8590 if (ndx == 0 || ndx == 1)
8593 /* linux_personality */
8595 if (ndx == 0 || ndx == 1)
8598 /* linux_setfsuid16 */
8600 if (ndx == 0 || ndx == 1)
8603 /* linux_setfsgid16 */
8605 if (ndx == 0 || ndx == 1)
8610 if (ndx == 0 || ndx == 1)
8613 /* linux_getdents */
8615 if (ndx == 0 || ndx == 1)
8620 if (ndx == 0 || ndx == 1)
8625 if (ndx == 0 || ndx == 1)
8630 if (ndx == 0 || ndx == 1)
8635 if (ndx == 0 || ndx == 1)
8640 if (ndx == 0 || ndx == 1)
8645 if (ndx == 0 || ndx == 1)
8648 /* linux_fdatasync */
8650 if (ndx == 0 || ndx == 1)
8655 if (ndx == 0 || ndx == 1)
8660 if (ndx == 0 || ndx == 1)
8665 if (ndx == 0 || ndx == 1)
8670 if (ndx == 0 || ndx == 1)
8675 /* linux_sched_setparam */
8677 if (ndx == 0 || ndx == 1)
8680 /* linux_sched_getparam */
8682 if (ndx == 0 || ndx == 1)
8685 /* linux_sched_setscheduler */
8687 if (ndx == 0 || ndx == 1)
8690 /* linux_sched_getscheduler */
8692 if (ndx == 0 || ndx == 1)
8697 /* linux_sched_get_priority_max */
8699 if (ndx == 0 || ndx == 1)
8702 /* linux_sched_get_priority_min */
8704 if (ndx == 0 || ndx == 1)
8707 /* linux_sched_rr_get_interval */
8709 if (ndx == 0 || ndx == 1)
8712 /* linux_nanosleep */
8714 if (ndx == 0 || ndx == 1)
8719 if (ndx == 0 || ndx == 1)
8722 /* linux_setresuid16 */
8724 if (ndx == 0 || ndx == 1)
8727 /* linux_getresuid16 */
8729 if (ndx == 0 || ndx == 1)
8736 if (ndx == 0 || ndx == 1)
8739 /* linux_setresgid16 */
8741 if (ndx == 0 || ndx == 1)
8744 /* linux_getresgid16 */
8746 if (ndx == 0 || ndx == 1)
8751 if (ndx == 0 || ndx == 1)
8754 /* linux_rt_sigreturn */
8756 if (ndx == 0 || ndx == 1)
8759 /* linux_rt_sigaction */
8761 if (ndx == 0 || ndx == 1)
8764 /* linux_rt_sigprocmask */
8766 if (ndx == 0 || ndx == 1)
8769 /* linux_rt_sigpending */
8771 if (ndx == 0 || ndx == 1)
8774 /* linux_rt_sigtimedwait */
8776 if (ndx == 0 || ndx == 1)
8779 /* linux_rt_sigqueueinfo */
8781 if (ndx == 0 || ndx == 1)
8784 /* linux_rt_sigsuspend */
8786 if (ndx == 0 || ndx == 1)
8791 if (ndx == 0 || ndx == 1)
8796 if (ndx == 0 || ndx == 1)
8801 if (ndx == 0 || ndx == 1)
8806 if (ndx == 0 || ndx == 1)
8811 if (ndx == 0 || ndx == 1)
8816 if (ndx == 0 || ndx == 1)
8819 /* linux_sigaltstack */
8821 if (ndx == 0 || ndx == 1)
8824 /* linux_sendfile */
8826 if (ndx == 0 || ndx == 1)
8831 /* linux_getrlimit */
8833 if (ndx == 0 || ndx == 1)
8838 if (ndx == 0 || ndx == 1)
8841 /* linux_truncate64 */
8843 if (ndx == 0 || ndx == 1)
8846 /* linux_ftruncate64 */
8848 if (ndx == 0 || ndx == 1)
8853 if (ndx == 0 || ndx == 1)
8858 if (ndx == 0 || ndx == 1)
8863 if (ndx == 0 || ndx == 1)
8868 if (ndx == 0 || ndx == 1)
8881 if (ndx == 0 || ndx == 1)
8886 if (ndx == 0 || ndx == 1)
8889 /* linux_getgroups */
8891 if (ndx == 0 || ndx == 1)
8894 /* linux_setgroups */
8896 if (ndx == 0 || ndx == 1)
8903 if (ndx == 0 || ndx == 1)
8908 if (ndx == 0 || ndx == 1)
8913 if (ndx == 0 || ndx == 1)
8918 if (ndx == 0 || ndx == 1)
8923 if (ndx == 0 || ndx == 1)
8928 if (ndx == 0 || ndx == 1)
8933 if (ndx == 0 || ndx == 1)
8936 /* linux_setfsuid */
8938 if (ndx == 0 || ndx == 1)
8941 /* linux_setfsgid */
8943 if (ndx == 0 || ndx == 1)
8946 /* linux_pivot_root */
8948 if (ndx == 0 || ndx == 1)
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8961 /* linux_getdents64 */
8963 if (ndx == 0 || ndx == 1)
8968 if (ndx == 0 || ndx == 1)
8973 /* linux_setxattr */
8975 if (ndx == 0 || ndx == 1)
8978 /* linux_lsetxattr */
8980 if (ndx == 0 || ndx == 1)
8983 /* linux_fsetxattr */
8985 if (ndx == 0 || ndx == 1)
8988 /* linux_getxattr */
8990 if (ndx == 0 || ndx == 1)
8993 /* linux_lgetxattr */
8995 if (ndx == 0 || ndx == 1)
8998 /* linux_fgetxattr */
9000 if (ndx == 0 || ndx == 1)
9003 /* linux_listxattr */
9005 if (ndx == 0 || ndx == 1)
9008 /* linux_llistxattr */
9010 if (ndx == 0 || ndx == 1)
9013 /* linux_flistxattr */
9015 if (ndx == 0 || ndx == 1)
9018 /* linux_removexattr */
9020 if (ndx == 0 || ndx == 1)
9023 /* linux_lremovexattr */
9025 if (ndx == 0 || ndx == 1)
9028 /* linux_fremovexattr */
9030 if (ndx == 0 || ndx == 1)
9035 if (ndx == 0 || ndx == 1)
9038 /* linux_sendfile64 */
9040 if (ndx == 0 || ndx == 1)
9043 /* linux_sys_futex */
9045 if (ndx == 0 || ndx == 1)
9048 /* linux_sched_setaffinity */
9050 if (ndx == 0 || ndx == 1)
9053 /* linux_sched_getaffinity */
9055 if (ndx == 0 || ndx == 1)
9058 /* linux_set_thread_area */
9060 if (ndx == 0 || ndx == 1)
9063 /* linux_get_thread_area */
9065 if (ndx == 0 || ndx == 1)
9068 /* linux_fadvise64 */
9070 if (ndx == 0 || ndx == 1)
9073 /* linux_exit_group */
9075 if (ndx == 0 || ndx == 1)
9078 /* linux_lookup_dcookie */
9080 /* linux_epoll_create */
9082 if (ndx == 0 || ndx == 1)
9085 /* linux_epoll_ctl */
9087 if (ndx == 0 || ndx == 1)
9090 /* linux_epoll_wait */
9092 if (ndx == 0 || ndx == 1)
9095 /* linux_remap_file_pages */
9097 /* linux_set_tid_address */
9099 if (ndx == 0 || ndx == 1)
9102 /* linux_timer_create */
9104 if (ndx == 0 || ndx == 1)
9107 /* linux_timer_settime */
9109 if (ndx == 0 || ndx == 1)
9112 /* linux_timer_gettime */
9114 if (ndx == 0 || ndx == 1)
9117 /* linux_timer_getoverrun */
9119 if (ndx == 0 || ndx == 1)
9122 /* linux_timer_delete */
9124 if (ndx == 0 || ndx == 1)
9127 /* linux_clock_settime */
9129 if (ndx == 0 || ndx == 1)
9132 /* linux_clock_gettime */
9134 if (ndx == 0 || ndx == 1)
9137 /* linux_clock_getres */
9139 if (ndx == 0 || ndx == 1)
9142 /* linux_clock_nanosleep */
9144 if (ndx == 0 || ndx == 1)
9147 /* linux_statfs64 */
9149 if (ndx == 0 || ndx == 1)
9152 /* linux_fstatfs64 */
9154 if (ndx == 0 || ndx == 1)
9159 if (ndx == 0 || ndx == 1)
9164 if (ndx == 0 || ndx == 1)
9167 /* linux_fadvise64_64 */
9169 if (ndx == 0 || ndx == 1)
9174 /* linux_get_mempolicy */
9176 /* linux_set_mempolicy */
9180 if (ndx == 0 || ndx == 1)
9183 /* linux_mq_unlink */
9185 if (ndx == 0 || ndx == 1)
9188 /* linux_mq_timedsend */
9190 if (ndx == 0 || ndx == 1)
9193 /* linux_mq_timedreceive */
9195 if (ndx == 0 || ndx == 1)
9198 /* linux_mq_notify */
9200 if (ndx == 0 || ndx == 1)
9203 /* linux_mq_getsetattr */
9205 if (ndx == 0 || ndx == 1)
9208 /* linux_kexec_load */
9212 if (ndx == 0 || ndx == 1)
9217 /* linux_request_key */
9221 /* linux_ioprio_set */
9223 /* linux_ioprio_get */
9225 /* linux_inotify_init */
9227 /* linux_inotify_add_watch */
9229 /* linux_inotify_rm_watch */
9231 /* linux_migrate_pages */
9235 if (ndx == 0 || ndx == 1)
9240 if (ndx == 0 || ndx == 1)
9245 if (ndx == 0 || ndx == 1)
9248 /* linux_fchownat */
9250 if (ndx == 0 || ndx == 1)
9253 /* linux_futimesat */
9255 if (ndx == 0 || ndx == 1)
9258 /* linux_fstatat64 */
9260 if (ndx == 0 || ndx == 1)
9263 /* linux_unlinkat */
9265 if (ndx == 0 || ndx == 1)
9268 /* linux_renameat */
9270 if (ndx == 0 || ndx == 1)
9275 if (ndx == 0 || ndx == 1)
9278 /* linux_symlinkat */
9280 if (ndx == 0 || ndx == 1)
9283 /* linux_readlinkat */
9285 if (ndx == 0 || ndx == 1)
9288 /* linux_fchmodat */
9290 if (ndx == 0 || ndx == 1)
9293 /* linux_faccessat */
9295 if (ndx == 0 || ndx == 1)
9298 /* linux_pselect6 */
9300 if (ndx == 0 || ndx == 1)
9305 if (ndx == 0 || ndx == 1)
9310 /* linux_set_robust_list */
9312 if (ndx == 0 || ndx == 1)
9315 /* linux_get_robust_list */
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9325 /* linux_sync_file_range */
9327 if (ndx == 0 || ndx == 1)
9332 /* linux_vmsplice */
9334 /* linux_move_pages */
9338 if (ndx == 0 || ndx == 1)
9341 /* linux_epoll_pwait */
9343 if (ndx == 0 || ndx == 1)
9346 /* linux_utimensat */
9348 if (ndx == 0 || ndx == 1)
9351 /* linux_signalfd */
9353 /* linux_timerfd_create */
9355 if (ndx == 0 || ndx == 1)
9360 if (ndx == 0 || ndx == 1)
9363 /* linux_fallocate */
9365 if (ndx == 0 || ndx == 1)
9368 /* linux_timerfd_settime */
9370 if (ndx == 0 || ndx == 1)
9373 /* linux_timerfd_gettime */
9375 if (ndx == 0 || ndx == 1)
9378 /* linux_signalfd4 */
9380 /* linux_eventfd2 */
9382 if (ndx == 0 || ndx == 1)
9385 /* linux_epoll_create1 */
9387 if (ndx == 0 || ndx == 1)
9392 if (ndx == 0 || ndx == 1)
9397 if (ndx == 0 || ndx == 1)
9400 /* linux_inotify_init1 */
9404 if (ndx == 0 || ndx == 1)
9409 if (ndx == 0 || ndx == 1)
9412 /* linux_rt_tgsigqueueinfo */
9414 if (ndx == 0 || ndx == 1)
9417 /* linux_perf_event_open */
9419 /* linux_recvmmsg */
9421 if (ndx == 0 || ndx == 1)
9424 /* linux_fanotify_init */
9426 /* linux_fanotify_mark */
9428 /* linux_prlimit64 */
9430 if (ndx == 0 || ndx == 1)
9433 /* linux_name_to_handle_at */
9435 /* linux_open_by_handle_at */
9437 /* linux_clock_adjtime */
9441 if (ndx == 0 || ndx == 1)
9444 /* linux_sendmmsg */
9446 if (ndx == 0 || ndx == 1)
9451 /* linux_process_vm_readv */
9453 if (ndx == 0 || ndx == 1)
9456 /* linux_process_vm_writev */
9458 if (ndx == 0 || ndx == 1)
9463 if (ndx == 0 || ndx == 1)
9466 /* linux_finit_module */
9468 if (ndx == 0 || ndx == 1)
9471 /* linux_sched_setattr */
9473 if (ndx == 0 || ndx == 1)
9476 /* linux_sched_getattr */
9478 if (ndx == 0 || ndx == 1)
9481 /* linux_renameat2 */
9483 if (ndx == 0 || ndx == 1)
9488 if (ndx == 0 || ndx == 1)
9491 /* linux_getrandom */
9493 if (ndx == 0 || ndx == 1)
9496 /* linux_memfd_create */
9498 if (ndx == 0 || ndx == 1)
9503 if (ndx == 0 || ndx == 1)
9506 /* linux_execveat */
9508 if (ndx == 0 || ndx == 1)
9513 if (ndx == 0 || ndx == 1)
9516 /* linux_socketpair */
9518 if (ndx == 0 || ndx == 1)
9523 if (ndx == 0 || ndx == 1)
9528 if (ndx == 0 || ndx == 1)
9533 if (ndx == 0 || ndx == 1)
9538 if (ndx == 0 || ndx == 1)
9541 /* linux_getsockopt */
9543 if (ndx == 0 || ndx == 1)
9546 /* linux_setsockopt */
9548 if (ndx == 0 || ndx == 1)
9551 /* linux_getsockname */
9553 if (ndx == 0 || ndx == 1)
9556 /* linux_getpeername */
9558 if (ndx == 0 || ndx == 1)
9563 if (ndx == 0 || ndx == 1)
9568 if (ndx == 0 || ndx == 1)
9571 /* linux_recvfrom */
9573 if (ndx == 0 || ndx == 1)
9578 if (ndx == 0 || ndx == 1)
9581 /* linux_shutdown */
9583 if (ndx == 0 || ndx == 1)
9586 /* linux_userfaultfd */
9588 if (ndx == 0 || ndx == 1)
9591 /* linux_membarrier */
9593 if (ndx == 0 || ndx == 1)
9598 if (ndx == 0 || ndx == 1)
9601 /* linux_copy_file_range */
9603 if (ndx == 0 || ndx == 1)
9608 if (ndx == 0 || ndx == 1)
9611 /* linux_pwritev2 */
9613 if (ndx == 0 || ndx == 1)
9616 /* linux_pkey_mprotect */
9618 if (ndx == 0 || ndx == 1)
9621 /* linux_pkey_alloc */
9623 if (ndx == 0 || ndx == 1)
9626 /* linux_pkey_free */
9628 if (ndx == 0 || ndx == 1)
9633 if (ndx == 0 || ndx == 1)
9636 /* linux_arch_prctl */
9638 if (ndx == 0 || ndx == 1)
9641 /* linux_io_pgetevents */
9647 if (ndx == 0 || ndx == 1)
9652 if (ndx == 0 || ndx == 1)
9657 if (ndx == 0 || ndx == 1)
9662 if (ndx == 0 || ndx == 1)
9667 if (ndx == 0 || ndx == 1)
9672 if (ndx == 0 || ndx == 1)
9677 if (ndx == 0 || ndx == 1)
9682 if (ndx == 0 || ndx == 1)
9687 if (ndx == 0 || ndx == 1)
9692 if (ndx == 0 || ndx == 1)
9695 /* linux_clock_gettime64 */
9697 /* linux_clock_settime64 */
9699 /* linux_clock_adjtime64 */
9701 /* linux_clock_getres_time64 */
9703 /* linux_clock_nanosleep_time64 */
9705 /* linux_timer_gettime64 */
9707 /* linux_timer_settime64 */
9709 /* linux_timerfd_gettime64 */
9711 /* linux_timerfd_settime64 */
9713 /* linux_utimensat_time64 */
9715 /* linux_pselect6_time64 */
9717 /* linux_ppoll_time64 */
9719 /* linux_io_pgetevents_time64 */
9721 /* linux_recvmmsg_time64 */
9723 /* linux_mq_timedsend_time64 */
9725 /* linux_mq_timedreceive_time64 */
9727 /* linux_semtimedop_time64 */
9729 /* linux_rt_sigtimedwait_time64 */
9731 /* linux_futex_time64 */
9733 /* linux_sched_rr_get_interval_time64 */
9735 /* linux_pidfd_send_signal */
9737 if (ndx == 0 || ndx == 1)
9740 /* linux_io_uring_setup */
9742 /* linux_io_uring_enter */
9744 /* linux_io_uring_register */
9750 strlcpy(desc, p, descsz);