2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t) p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t) p->fname; /* char * */
225 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t) p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t) p->from; /* char * */
261 uarg[1] = (intptr_t) p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t) p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t) p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t) p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t) p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t) p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t) p->path; /* char * */
557 uarg[1] = (intptr_t) p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t) p->name; /* char * */
573 uarg[1] = (intptr_t) p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t) p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t) p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t) p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t) p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t) p->path; /* char * */
673 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t) p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t) p->path; /* char * */
723 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t) p->path; /* char * */
731 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t) p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_uint */
789 iarg[4] = p->ptr; /* l_uintptr_t */
790 iarg[5] = p->arg5; /* l_uint */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t) p->stack; /* void * */
813 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t) p->tls; /* void * */
815 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t) p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t) p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
857 /* linux_init_module */
862 /* linux_delete_module */
874 struct getpgid_args *p = params;
875 iarg[0] = p->pid; /* int */
881 struct fchdir_args *p = params;
882 iarg[0] = p->fd; /* int */
893 struct linux_sysfs_args *p = params;
894 iarg[0] = p->option; /* l_int */
895 iarg[1] = p->arg1; /* l_ulong */
896 iarg[2] = p->arg2; /* l_ulong */
900 /* linux_personality */
902 struct linux_personality_args *p = params;
903 iarg[0] = p->per; /* l_uint */
907 /* linux_setfsuid16 */
909 struct linux_setfsuid16_args *p = params;
910 iarg[0] = p->uid; /* l_uid16_t */
914 /* linux_setfsgid16 */
916 struct linux_setfsgid16_args *p = params;
917 iarg[0] = p->gid; /* l_gid16_t */
923 struct linux_llseek_args *p = params;
924 iarg[0] = p->fd; /* l_int */
925 iarg[1] = p->ohigh; /* l_ulong */
926 iarg[2] = p->olow; /* l_ulong */
927 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
928 iarg[4] = p->whence; /* l_uint */
934 struct linux_getdents_args *p = params;
935 iarg[0] = p->fd; /* l_uint */
936 uarg[1] = (intptr_t) p->dent; /* void * */
937 iarg[2] = p->count; /* l_uint */
943 struct linux_select_args *p = params;
944 iarg[0] = p->nfds; /* l_int */
945 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
946 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
947 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
948 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
954 struct flock_args *p = params;
955 iarg[0] = p->fd; /* int */
956 iarg[1] = p->how; /* int */
962 struct linux_msync_args *p = params;
963 iarg[0] = p->addr; /* l_ulong */
964 iarg[1] = p->len; /* l_size_t */
965 iarg[2] = p->fl; /* l_int */
971 struct linux_readv_args *p = params;
972 iarg[0] = p->fd; /* l_ulong */
973 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
974 iarg[2] = p->iovcnt; /* l_ulong */
980 struct linux_writev_args *p = params;
981 iarg[0] = p->fd; /* l_ulong */
982 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
983 iarg[2] = p->iovcnt; /* l_ulong */
989 struct linux_getsid_args *p = params;
990 iarg[0] = p->pid; /* l_pid_t */
994 /* linux_fdatasync */
996 struct linux_fdatasync_args *p = params;
997 iarg[0] = p->fd; /* l_uint */
1003 struct linux_sysctl_args *p = params;
1004 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1010 struct mlock_args *p = params;
1011 uarg[0] = (intptr_t) p->addr; /* const void * */
1012 uarg[1] = p->len; /* size_t */
1018 struct munlock_args *p = params;
1019 uarg[0] = (intptr_t) p->addr; /* const void * */
1020 uarg[1] = p->len; /* size_t */
1026 struct mlockall_args *p = params;
1027 iarg[0] = p->how; /* int */
1036 /* linux_sched_setparam */
1038 struct linux_sched_setparam_args *p = params;
1039 iarg[0] = p->pid; /* l_pid_t */
1040 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1044 /* linux_sched_getparam */
1046 struct linux_sched_getparam_args *p = params;
1047 iarg[0] = p->pid; /* l_pid_t */
1048 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1052 /* linux_sched_setscheduler */
1054 struct linux_sched_setscheduler_args *p = params;
1055 iarg[0] = p->pid; /* l_pid_t */
1056 iarg[1] = p->policy; /* l_int */
1057 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1061 /* linux_sched_getscheduler */
1063 struct linux_sched_getscheduler_args *p = params;
1064 iarg[0] = p->pid; /* l_pid_t */
1073 /* linux_sched_get_priority_max */
1075 struct linux_sched_get_priority_max_args *p = params;
1076 iarg[0] = p->policy; /* l_int */
1080 /* linux_sched_get_priority_min */
1082 struct linux_sched_get_priority_min_args *p = params;
1083 iarg[0] = p->policy; /* l_int */
1087 /* linux_sched_rr_get_interval */
1089 struct linux_sched_rr_get_interval_args *p = params;
1090 iarg[0] = p->pid; /* l_pid_t */
1091 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1095 /* linux_nanosleep */
1097 struct linux_nanosleep_args *p = params;
1098 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1099 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1105 struct linux_mremap_args *p = params;
1106 iarg[0] = p->addr; /* l_ulong */
1107 iarg[1] = p->old_len; /* l_ulong */
1108 iarg[2] = p->new_len; /* l_ulong */
1109 iarg[3] = p->flags; /* l_ulong */
1110 iarg[4] = p->new_addr; /* l_ulong */
1114 /* linux_setresuid16 */
1116 struct linux_setresuid16_args *p = params;
1117 iarg[0] = p->ruid; /* l_uid16_t */
1118 iarg[1] = p->euid; /* l_uid16_t */
1119 iarg[2] = p->suid; /* l_uid16_t */
1123 /* linux_getresuid16 */
1125 struct linux_getresuid16_args *p = params;
1126 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1127 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1128 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1134 struct poll_args *p = params;
1135 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1136 uarg[1] = p->nfds; /* unsigned int */
1137 iarg[2] = p->timeout; /* int */
1141 /* linux_setresgid16 */
1143 struct linux_setresgid16_args *p = params;
1144 iarg[0] = p->rgid; /* l_gid16_t */
1145 iarg[1] = p->egid; /* l_gid16_t */
1146 iarg[2] = p->sgid; /* l_gid16_t */
1150 /* linux_getresgid16 */
1152 struct linux_getresgid16_args *p = params;
1153 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1154 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1155 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1161 struct linux_prctl_args *p = params;
1162 iarg[0] = p->option; /* l_int */
1163 iarg[1] = p->arg2; /* l_int */
1164 iarg[2] = p->arg3; /* l_int */
1165 iarg[3] = p->arg4; /* l_int */
1166 iarg[4] = p->arg5; /* l_int */
1170 /* linux_rt_sigreturn */
1172 struct linux_rt_sigreturn_args *p = params;
1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1177 /* linux_rt_sigaction */
1179 struct linux_rt_sigaction_args *p = params;
1180 iarg[0] = p->sig; /* l_int */
1181 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1182 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1183 iarg[3] = p->sigsetsize; /* l_size_t */
1187 /* linux_rt_sigprocmask */
1189 struct linux_rt_sigprocmask_args *p = params;
1190 iarg[0] = p->how; /* l_int */
1191 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1192 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1193 iarg[3] = p->sigsetsize; /* l_size_t */
1197 /* linux_rt_sigpending */
1199 struct linux_rt_sigpending_args *p = params;
1200 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1201 iarg[1] = p->sigsetsize; /* l_size_t */
1205 /* linux_rt_sigtimedwait */
1207 struct linux_rt_sigtimedwait_args *p = params;
1208 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1209 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1210 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1211 iarg[3] = p->sigsetsize; /* l_size_t */
1215 /* linux_rt_sigqueueinfo */
1217 struct linux_rt_sigqueueinfo_args *p = params;
1218 iarg[0] = p->pid; /* l_pid_t */
1219 iarg[1] = p->sig; /* l_int */
1220 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1224 /* linux_rt_sigsuspend */
1226 struct linux_rt_sigsuspend_args *p = params;
1227 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1228 iarg[1] = p->sigsetsize; /* l_size_t */
1234 struct linux_pread_args *p = params;
1235 iarg[0] = p->fd; /* l_uint */
1236 uarg[1] = (intptr_t) p->buf; /* char * */
1237 iarg[2] = p->nbyte; /* l_size_t */
1238 uarg[3] = p->offset1; /* uint32_t */
1239 uarg[4] = p->offset2; /* uint32_t */
1245 struct linux_pwrite_args *p = params;
1246 iarg[0] = p->fd; /* l_uint */
1247 uarg[1] = (intptr_t) p->buf; /* char * */
1248 iarg[2] = p->nbyte; /* l_size_t */
1249 uarg[3] = p->offset1; /* uint32_t */
1250 uarg[4] = p->offset2; /* uint32_t */
1256 struct linux_chown16_args *p = params;
1257 uarg[0] = (intptr_t) p->path; /* char * */
1258 iarg[1] = p->uid; /* l_uid16_t */
1259 iarg[2] = p->gid; /* l_gid16_t */
1265 struct linux_getcwd_args *p = params;
1266 uarg[0] = (intptr_t) p->buf; /* char * */
1267 iarg[1] = p->bufsize; /* l_ulong */
1273 struct linux_capget_args *p = params;
1274 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1275 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1281 struct linux_capset_args *p = params;
1282 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1283 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1287 /* linux_sigaltstack */
1289 struct linux_sigaltstack_args *p = params;
1290 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1291 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1295 /* linux_sendfile */
1297 struct linux_sendfile_args *p = params;
1298 iarg[0] = p->out; /* l_int */
1299 iarg[1] = p->in; /* l_int */
1300 uarg[2] = (intptr_t) p->offset; /* l_long * */
1301 iarg[3] = p->count; /* l_size_t */
1310 /* linux_getrlimit */
1312 struct linux_getrlimit_args *p = params;
1313 iarg[0] = p->resource; /* l_uint */
1314 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1320 struct linux_mmap2_args *p = params;
1321 iarg[0] = p->addr; /* l_ulong */
1322 iarg[1] = p->len; /* l_ulong */
1323 iarg[2] = p->prot; /* l_ulong */
1324 iarg[3] = p->flags; /* l_ulong */
1325 iarg[4] = p->fd; /* l_ulong */
1326 iarg[5] = p->pgoff; /* l_ulong */
1330 /* linux_truncate64 */
1332 struct linux_truncate64_args *p = params;
1333 uarg[0] = (intptr_t) p->path; /* char * */
1334 uarg[1] = p->length1; /* uint32_t */
1335 uarg[2] = p->length2; /* uint32_t */
1339 /* linux_ftruncate64 */
1341 struct linux_ftruncate64_args *p = params;
1342 iarg[0] = p->fd; /* l_uint */
1343 uarg[1] = p->length1; /* uint32_t */
1344 uarg[2] = p->length2; /* uint32_t */
1350 struct linux_stat64_args *p = params;
1351 uarg[0] = (intptr_t) p->filename; /* const char * */
1352 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1358 struct linux_lstat64_args *p = params;
1359 uarg[0] = (intptr_t) p->filename; /* const char * */
1360 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1366 struct linux_fstat64_args *p = params;
1367 iarg[0] = p->fd; /* l_int */
1368 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1374 struct linux_lchown_args *p = params;
1375 uarg[0] = (intptr_t) p->path; /* char * */
1376 iarg[1] = p->uid; /* l_uid_t */
1377 iarg[2] = p->gid; /* l_gid_t */
1403 struct setreuid_args *p = params;
1404 uarg[0] = p->ruid; /* uid_t */
1405 uarg[1] = p->euid; /* uid_t */
1411 struct setregid_args *p = params;
1412 iarg[0] = p->rgid; /* gid_t */
1413 iarg[1] = p->egid; /* gid_t */
1417 /* linux_getgroups */
1419 struct linux_getgroups_args *p = params;
1420 iarg[0] = p->gidsetsize; /* l_int */
1421 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1425 /* linux_setgroups */
1427 struct linux_setgroups_args *p = params;
1428 iarg[0] = p->gidsetsize; /* l_int */
1429 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1440 struct setresuid_args *p = params;
1441 uarg[0] = p->ruid; /* uid_t */
1442 uarg[1] = p->euid; /* uid_t */
1443 uarg[2] = p->suid; /* uid_t */
1449 struct getresuid_args *p = params;
1450 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1451 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1452 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1458 struct setresgid_args *p = params;
1459 iarg[0] = p->rgid; /* gid_t */
1460 iarg[1] = p->egid; /* gid_t */
1461 iarg[2] = p->sgid; /* gid_t */
1467 struct getresgid_args *p = params;
1468 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1469 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1470 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1476 struct linux_chown_args *p = params;
1477 uarg[0] = (intptr_t) p->path; /* char * */
1478 iarg[1] = p->uid; /* l_uid_t */
1479 iarg[2] = p->gid; /* l_gid_t */
1485 struct setuid_args *p = params;
1486 uarg[0] = p->uid; /* uid_t */
1492 struct setgid_args *p = params;
1493 iarg[0] = p->gid; /* gid_t */
1497 /* linux_setfsuid */
1499 struct linux_setfsuid_args *p = params;
1500 iarg[0] = p->uid; /* l_uid_t */
1504 /* linux_setfsgid */
1506 struct linux_setfsgid_args *p = params;
1507 iarg[0] = p->gid; /* l_gid_t */
1511 /* linux_pivot_root */
1513 struct linux_pivot_root_args *p = params;
1514 uarg[0] = (intptr_t) p->new_root; /* char * */
1515 uarg[1] = (intptr_t) p->put_old; /* char * */
1521 struct linux_mincore_args *p = params;
1522 iarg[0] = p->start; /* l_ulong */
1523 iarg[1] = p->len; /* l_size_t */
1524 uarg[2] = (intptr_t) p->vec; /* u_char * */
1530 struct linux_madvise_args *p = params;
1531 uarg[0] = (intptr_t) p->addr; /* void * */
1532 uarg[1] = p->len; /* size_t */
1533 iarg[2] = p->behav; /* int */
1537 /* linux_getdents64 */
1539 struct linux_getdents64_args *p = params;
1540 iarg[0] = p->fd; /* l_uint */
1541 uarg[1] = (intptr_t) p->dirent; /* void * */
1542 iarg[2] = p->count; /* l_uint */
1548 struct linux_fcntl64_args *p = params;
1549 iarg[0] = p->fd; /* l_uint */
1550 iarg[1] = p->cmd; /* l_uint */
1551 uarg[2] = p->arg; /* uintptr_t */
1560 /* linux_setxattr */
1562 struct linux_setxattr_args *p = params;
1563 uarg[0] = (intptr_t) p->path; /* const char * */
1564 uarg[1] = (intptr_t) p->name; /* const char * */
1565 uarg[2] = (intptr_t) p->value; /* const char * */
1566 iarg[3] = p->size; /* l_size_t */
1567 iarg[4] = p->flags; /* l_int */
1571 /* linux_lsetxattr */
1573 struct linux_lsetxattr_args *p = params;
1574 uarg[0] = (intptr_t) p->path; /* const char * */
1575 uarg[1] = (intptr_t) p->name; /* const char * */
1576 uarg[2] = (intptr_t) p->value; /* const char * */
1577 iarg[3] = p->size; /* l_size_t */
1578 iarg[4] = p->flags; /* l_int */
1582 /* linux_fsetxattr */
1584 struct linux_fsetxattr_args *p = params;
1585 iarg[0] = p->fd; /* l_int */
1586 uarg[1] = (intptr_t) p->name; /* const char * */
1587 uarg[2] = (intptr_t) p->value; /* const char * */
1588 iarg[3] = p->size; /* l_size_t */
1589 iarg[4] = p->flags; /* l_int */
1593 /* linux_getxattr */
1595 struct linux_getxattr_args *p = params;
1596 uarg[0] = (intptr_t) p->path; /* const char * */
1597 uarg[1] = (intptr_t) p->name; /* const char * */
1598 uarg[2] = (intptr_t) p->value; /* char * */
1599 iarg[3] = p->size; /* l_size_t */
1603 /* linux_lgetxattr */
1605 struct linux_lgetxattr_args *p = params;
1606 uarg[0] = (intptr_t) p->path; /* const char * */
1607 uarg[1] = (intptr_t) p->name; /* const char * */
1608 uarg[2] = (intptr_t) p->value; /* char * */
1609 iarg[3] = p->size; /* l_size_t */
1613 /* linux_fgetxattr */
1615 struct linux_fgetxattr_args *p = params;
1616 iarg[0] = p->fd; /* l_int */
1617 uarg[1] = (intptr_t) p->name; /* const char * */
1618 uarg[2] = (intptr_t) p->value; /* char * */
1619 iarg[3] = p->size; /* l_size_t */
1623 /* linux_listxattr */
1625 struct linux_listxattr_args *p = params;
1626 uarg[0] = (intptr_t) p->path; /* const char * */
1627 uarg[1] = (intptr_t) p->list; /* const char * */
1628 iarg[2] = p->size; /* l_size_t */
1632 /* linux_llistxattr */
1634 struct linux_llistxattr_args *p = params;
1635 uarg[0] = (intptr_t) p->path; /* const char * */
1636 uarg[1] = (intptr_t) p->list; /* const char * */
1637 iarg[2] = p->size; /* l_size_t */
1641 /* linux_flistxattr */
1643 struct linux_flistxattr_args *p = params;
1644 iarg[0] = p->fd; /* l_int */
1645 uarg[1] = (intptr_t) p->list; /* const char * */
1646 iarg[2] = p->size; /* l_size_t */
1650 /* linux_removexattr */
1652 struct linux_removexattr_args *p = params;
1653 uarg[0] = (intptr_t) p->path; /* const char * */
1654 uarg[1] = (intptr_t) p->name; /* const char * */
1658 /* linux_lremovexattr */
1660 struct linux_lremovexattr_args *p = params;
1661 uarg[0] = (intptr_t) p->path; /* const char * */
1662 uarg[1] = (intptr_t) p->name; /* const char * */
1666 /* linux_fremovexattr */
1668 struct linux_fremovexattr_args *p = params;
1669 iarg[0] = p->fd; /* l_int */
1670 uarg[1] = (intptr_t) p->name; /* const char * */
1676 struct linux_tkill_args *p = params;
1677 iarg[0] = p->tid; /* int */
1678 iarg[1] = p->sig; /* int */
1682 /* linux_sendfile64 */
1684 struct linux_sendfile64_args *p = params;
1685 iarg[0] = p->out; /* l_int */
1686 iarg[1] = p->in; /* l_int */
1687 uarg[2] = (intptr_t) p->offset; /* l_loff_t * */
1688 iarg[3] = p->count; /* l_size_t */
1692 /* linux_sys_futex */
1694 struct linux_sys_futex_args *p = params;
1695 uarg[0] = (intptr_t) p->uaddr; /* void * */
1696 iarg[1] = p->op; /* int */
1697 uarg[2] = p->val; /* uint32_t */
1698 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1699 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1700 uarg[5] = p->val3; /* uint32_t */
1704 /* linux_sched_setaffinity */
1706 struct linux_sched_setaffinity_args *p = params;
1707 iarg[0] = p->pid; /* l_pid_t */
1708 iarg[1] = p->len; /* l_uint */
1709 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1713 /* linux_sched_getaffinity */
1715 struct linux_sched_getaffinity_args *p = params;
1716 iarg[0] = p->pid; /* l_pid_t */
1717 iarg[1] = p->len; /* l_uint */
1718 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1722 /* linux_set_thread_area */
1724 struct linux_set_thread_area_args *p = params;
1725 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1729 /* linux_fadvise64 */
1731 struct linux_fadvise64_args *p = params;
1732 iarg[0] = p->fd; /* int */
1733 uarg[1] = p->offset1; /* uint32_t */
1734 uarg[2] = p->offset2; /* uint32_t */
1735 iarg[3] = p->len; /* l_size_t */
1736 iarg[4] = p->advice; /* int */
1740 /* linux_exit_group */
1742 struct linux_exit_group_args *p = params;
1743 iarg[0] = p->error_code; /* int */
1747 /* linux_lookup_dcookie */
1752 /* linux_epoll_create */
1754 struct linux_epoll_create_args *p = params;
1755 iarg[0] = p->size; /* l_int */
1759 /* linux_epoll_ctl */
1761 struct linux_epoll_ctl_args *p = params;
1762 iarg[0] = p->epfd; /* l_int */
1763 iarg[1] = p->op; /* l_int */
1764 iarg[2] = p->fd; /* l_int */
1765 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1769 /* linux_epoll_wait */
1771 struct linux_epoll_wait_args *p = params;
1772 iarg[0] = p->epfd; /* l_int */
1773 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1774 iarg[2] = p->maxevents; /* l_int */
1775 iarg[3] = p->timeout; /* l_int */
1779 /* linux_remap_file_pages */
1784 /* linux_set_tid_address */
1786 struct linux_set_tid_address_args *p = params;
1787 uarg[0] = (intptr_t) p->tidptr; /* int * */
1791 /* linux_timer_create */
1793 struct linux_timer_create_args *p = params;
1794 iarg[0] = p->clock_id; /* clockid_t */
1795 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1796 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1800 /* linux_timer_settime */
1802 struct linux_timer_settime_args *p = params;
1803 iarg[0] = p->timerid; /* l_timer_t */
1804 iarg[1] = p->flags; /* l_int */
1805 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1806 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1810 /* linux_timer_gettime */
1812 struct linux_timer_gettime_args *p = params;
1813 iarg[0] = p->timerid; /* l_timer_t */
1814 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1818 /* linux_timer_getoverrun */
1820 struct linux_timer_getoverrun_args *p = params;
1821 iarg[0] = p->timerid; /* l_timer_t */
1825 /* linux_timer_delete */
1827 struct linux_timer_delete_args *p = params;
1828 iarg[0] = p->timerid; /* l_timer_t */
1832 /* linux_clock_settime */
1834 struct linux_clock_settime_args *p = params;
1835 iarg[0] = p->which; /* clockid_t */
1836 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1840 /* linux_clock_gettime */
1842 struct linux_clock_gettime_args *p = params;
1843 iarg[0] = p->which; /* clockid_t */
1844 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1848 /* linux_clock_getres */
1850 struct linux_clock_getres_args *p = params;
1851 iarg[0] = p->which; /* clockid_t */
1852 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1856 /* linux_clock_nanosleep */
1858 struct linux_clock_nanosleep_args *p = params;
1859 iarg[0] = p->which; /* clockid_t */
1860 iarg[1] = p->flags; /* int */
1861 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1862 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1866 /* linux_statfs64 */
1868 struct linux_statfs64_args *p = params;
1869 uarg[0] = (intptr_t) p->path; /* char * */
1870 uarg[1] = p->bufsize; /* size_t */
1871 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1875 /* linux_fstatfs64 */
1877 struct linux_fstatfs64_args *p = params;
1878 iarg[0] = p->fd; /* l_uint */
1879 uarg[1] = p->bufsize; /* size_t */
1880 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1886 struct linux_tgkill_args *p = params;
1887 iarg[0] = p->tgid; /* int */
1888 iarg[1] = p->pid; /* int */
1889 iarg[2] = p->sig; /* int */
1895 struct linux_utimes_args *p = params;
1896 uarg[0] = (intptr_t) p->fname; /* char * */
1897 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1901 /* linux_fadvise64_64 */
1903 struct linux_fadvise64_64_args *p = params;
1904 iarg[0] = p->fd; /* int */
1905 uarg[1] = p->offset1; /* uint32_t */
1906 uarg[2] = p->offset2; /* uint32_t */
1907 uarg[3] = p->len1; /* uint32_t */
1908 uarg[4] = p->len2; /* uint32_t */
1909 iarg[5] = p->advice; /* int */
1918 /* linux_get_mempolicy */
1923 /* linux_set_mempolicy */
1930 struct linux_mq_open_args *p = params;
1931 uarg[0] = (intptr_t) p->name; /* const char * */
1932 iarg[1] = p->oflag; /* l_int */
1933 iarg[2] = p->mode; /* l_mode_t */
1934 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1938 /* linux_mq_unlink */
1940 struct linux_mq_unlink_args *p = params;
1941 uarg[0] = (intptr_t) p->name; /* const char * */
1945 /* linux_mq_timedsend */
1947 struct linux_mq_timedsend_args *p = params;
1948 iarg[0] = p->mqd; /* l_mqd_t */
1949 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1950 iarg[2] = p->msg_len; /* l_size_t */
1951 iarg[3] = p->msg_prio; /* l_uint */
1952 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1956 /* linux_mq_timedreceive */
1958 struct linux_mq_timedreceive_args *p = params;
1959 iarg[0] = p->mqd; /* l_mqd_t */
1960 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1961 iarg[2] = p->msg_len; /* l_size_t */
1962 uarg[3] = (intptr_t) p->msg_prio; /* l_uint * */
1963 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1967 /* linux_mq_notify */
1969 struct linux_mq_notify_args *p = params;
1970 iarg[0] = p->mqd; /* l_mqd_t */
1971 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1975 /* linux_mq_getsetattr */
1977 struct linux_mq_getsetattr_args *p = params;
1978 iarg[0] = p->mqd; /* l_mqd_t */
1979 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1980 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1984 /* linux_kexec_load */
1991 struct linux_waitid_args *p = params;
1992 iarg[0] = p->idtype; /* int */
1993 iarg[1] = p->id; /* l_pid_t */
1994 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1995 iarg[3] = p->options; /* int */
1996 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
2005 /* linux_request_key */
2015 /* linux_ioprio_set */
2020 /* linux_ioprio_get */
2025 /* linux_inotify_init */
2030 /* linux_inotify_add_watch */
2035 /* linux_inotify_rm_watch */
2040 /* linux_migrate_pages */
2047 struct linux_openat_args *p = params;
2048 iarg[0] = p->dfd; /* l_int */
2049 uarg[1] = (intptr_t) p->filename; /* const char * */
2050 iarg[2] = p->flags; /* l_int */
2051 iarg[3] = p->mode; /* l_int */
2057 struct linux_mkdirat_args *p = params;
2058 iarg[0] = p->dfd; /* l_int */
2059 uarg[1] = (intptr_t) p->pathname; /* const char * */
2060 iarg[2] = p->mode; /* l_int */
2066 struct linux_mknodat_args *p = params;
2067 iarg[0] = p->dfd; /* l_int */
2068 uarg[1] = (intptr_t) p->filename; /* const char * */
2069 iarg[2] = p->mode; /* l_int */
2070 iarg[3] = p->dev; /* l_uint */
2074 /* linux_fchownat */
2076 struct linux_fchownat_args *p = params;
2077 iarg[0] = p->dfd; /* l_int */
2078 uarg[1] = (intptr_t) p->filename; /* const char * */
2079 iarg[2] = p->uid; /* l_uid16_t */
2080 iarg[3] = p->gid; /* l_gid16_t */
2081 iarg[4] = p->flag; /* l_int */
2085 /* linux_futimesat */
2087 struct linux_futimesat_args *p = params;
2088 iarg[0] = p->dfd; /* l_int */
2089 uarg[1] = (intptr_t) p->filename; /* char * */
2090 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2094 /* linux_fstatat64 */
2096 struct linux_fstatat64_args *p = params;
2097 iarg[0] = p->dfd; /* l_int */
2098 uarg[1] = (intptr_t) p->pathname; /* char * */
2099 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2100 iarg[3] = p->flag; /* l_int */
2104 /* linux_unlinkat */
2106 struct linux_unlinkat_args *p = params;
2107 iarg[0] = p->dfd; /* l_int */
2108 uarg[1] = (intptr_t) p->pathname; /* const char * */
2109 iarg[2] = p->flag; /* l_int */
2113 /* linux_renameat */
2115 struct linux_renameat_args *p = params;
2116 iarg[0] = p->olddfd; /* l_int */
2117 uarg[1] = (intptr_t) p->oldname; /* const char * */
2118 iarg[2] = p->newdfd; /* l_int */
2119 uarg[3] = (intptr_t) p->newname; /* const char * */
2125 struct linux_linkat_args *p = params;
2126 iarg[0] = p->olddfd; /* l_int */
2127 uarg[1] = (intptr_t) p->oldname; /* const char * */
2128 iarg[2] = p->newdfd; /* l_int */
2129 uarg[3] = (intptr_t) p->newname; /* const char * */
2130 iarg[4] = p->flag; /* l_int */
2134 /* linux_symlinkat */
2136 struct linux_symlinkat_args *p = params;
2137 uarg[0] = (intptr_t) p->oldname; /* const char * */
2138 iarg[1] = p->newdfd; /* l_int */
2139 uarg[2] = (intptr_t) p->newname; /* const char * */
2143 /* linux_readlinkat */
2145 struct linux_readlinkat_args *p = params;
2146 iarg[0] = p->dfd; /* l_int */
2147 uarg[1] = (intptr_t) p->path; /* const char * */
2148 uarg[2] = (intptr_t) p->buf; /* char * */
2149 iarg[3] = p->bufsiz; /* l_int */
2153 /* linux_fchmodat */
2155 struct linux_fchmodat_args *p = params;
2156 iarg[0] = p->dfd; /* l_int */
2157 uarg[1] = (intptr_t) p->filename; /* const char * */
2158 iarg[2] = p->mode; /* l_mode_t */
2162 /* linux_faccessat */
2164 struct linux_faccessat_args *p = params;
2165 iarg[0] = p->dfd; /* l_int */
2166 uarg[1] = (intptr_t) p->filename; /* const char * */
2167 iarg[2] = p->amode; /* l_int */
2171 /* linux_pselect6 */
2173 struct linux_pselect6_args *p = params;
2174 iarg[0] = p->nfds; /* l_int */
2175 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2176 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2177 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2178 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2179 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2185 struct linux_ppoll_args *p = params;
2186 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2187 uarg[1] = p->nfds; /* uint32_t */
2188 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2189 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2190 iarg[4] = p->ssize; /* l_size_t */
2199 /* linux_set_robust_list */
2201 struct linux_set_robust_list_args *p = params;
2202 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2203 iarg[1] = p->len; /* l_size_t */
2207 /* linux_get_robust_list */
2209 struct linux_get_robust_list_args *p = params;
2210 iarg[0] = p->pid; /* l_int */
2211 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2212 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2218 struct linux_splice_args *p = params;
2219 iarg[0] = p->fd_in; /* int */
2220 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2221 iarg[2] = p->fd_out; /* int */
2222 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2223 iarg[4] = p->len; /* l_size_t */
2224 iarg[5] = p->flags; /* l_uint */
2228 /* linux_sync_file_range */
2230 struct linux_sync_file_range_args *p = params;
2231 iarg[0] = p->fd; /* l_int */
2232 uarg[1] = p->offset1; /* uint32_t */
2233 uarg[2] = p->offset2; /* uint32_t */
2234 uarg[3] = p->nbytes1; /* uint32_t */
2235 uarg[4] = p->nbytes2; /* uint32_t */
2236 uarg[5] = p->flags; /* unsigned int */
2245 /* linux_vmsplice */
2250 /* linux_move_pages */
2257 struct linux_getcpu_args *p = params;
2258 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2259 uarg[1] = (intptr_t) p->node; /* l_uint * */
2260 uarg[2] = (intptr_t) p->cache; /* void * */
2264 /* linux_epoll_pwait */
2266 struct linux_epoll_pwait_args *p = params;
2267 iarg[0] = p->epfd; /* l_int */
2268 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2269 iarg[2] = p->maxevents; /* l_int */
2270 iarg[3] = p->timeout; /* l_int */
2271 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2272 iarg[5] = p->sigsetsize; /* l_size_t */
2276 /* linux_utimensat */
2278 struct linux_utimensat_args *p = params;
2279 iarg[0] = p->dfd; /* l_int */
2280 uarg[1] = (intptr_t) p->pathname; /* const char * */
2281 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2282 iarg[3] = p->flags; /* l_int */
2286 /* linux_signalfd */
2291 /* linux_timerfd_create */
2293 struct linux_timerfd_create_args *p = params;
2294 iarg[0] = p->clockid; /* l_int */
2295 iarg[1] = p->flags; /* l_int */
2301 struct linux_eventfd_args *p = params;
2302 iarg[0] = p->initval; /* l_uint */
2306 /* linux_fallocate */
2308 struct linux_fallocate_args *p = params;
2309 iarg[0] = p->fd; /* l_int */
2310 iarg[1] = p->mode; /* l_int */
2311 uarg[2] = p->offset1; /* uint32_t */
2312 uarg[3] = p->offset2; /* uint32_t */
2313 uarg[4] = p->len1; /* uint32_t */
2314 uarg[5] = p->len2; /* uint32_t */
2318 /* linux_timerfd_settime */
2320 struct linux_timerfd_settime_args *p = params;
2321 iarg[0] = p->fd; /* l_int */
2322 iarg[1] = p->flags; /* l_int */
2323 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2324 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2328 /* linux_timerfd_gettime */
2330 struct linux_timerfd_gettime_args *p = params;
2331 iarg[0] = p->fd; /* l_int */
2332 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2336 /* linux_signalfd4 */
2341 /* linux_eventfd2 */
2343 struct linux_eventfd2_args *p = params;
2344 iarg[0] = p->initval; /* l_uint */
2345 iarg[1] = p->flags; /* l_int */
2349 /* linux_epoll_create1 */
2351 struct linux_epoll_create1_args *p = params;
2352 iarg[0] = p->flags; /* l_int */
2358 struct linux_dup3_args *p = params;
2359 iarg[0] = p->oldfd; /* l_int */
2360 iarg[1] = p->newfd; /* l_int */
2361 iarg[2] = p->flags; /* l_int */
2367 struct linux_pipe2_args *p = params;
2368 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2369 iarg[1] = p->flags; /* l_int */
2373 /* linux_inotify_init1 */
2380 struct linux_preadv_args *p = params;
2381 iarg[0] = p->fd; /* l_ulong */
2382 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2383 iarg[2] = p->vlen; /* l_ulong */
2384 iarg[3] = p->pos_l; /* l_ulong */
2385 iarg[4] = p->pos_h; /* l_ulong */
2391 struct linux_pwritev_args *p = params;
2392 iarg[0] = p->fd; /* l_ulong */
2393 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2394 iarg[2] = p->vlen; /* l_ulong */
2395 iarg[3] = p->pos_l; /* l_ulong */
2396 iarg[4] = p->pos_h; /* l_ulong */
2400 /* linux_rt_tgsigqueueinfo */
2402 struct linux_rt_tgsigqueueinfo_args *p = params;
2403 iarg[0] = p->tgid; /* l_pid_t */
2404 iarg[1] = p->tid; /* l_pid_t */
2405 iarg[2] = p->sig; /* l_int */
2406 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2410 /* linux_perf_event_open */
2415 /* linux_recvmmsg */
2417 struct linux_recvmmsg_args *p = params;
2418 iarg[0] = p->s; /* l_int */
2419 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2420 iarg[2] = p->vlen; /* l_uint */
2421 iarg[3] = p->flags; /* l_uint */
2422 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2426 /* linux_fanotify_init */
2431 /* linux_fanotify_mark */
2436 /* linux_prlimit64 */
2438 struct linux_prlimit64_args *p = params;
2439 iarg[0] = p->pid; /* l_pid_t */
2440 iarg[1] = p->resource; /* l_uint */
2441 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2442 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2446 /* linux_name_to_handle_at */
2451 /* linux_open_by_handle_at */
2456 /* linux_clock_adjtime */
2463 struct linux_syncfs_args *p = params;
2464 iarg[0] = p->fd; /* l_int */
2468 /* linux_sendmmsg */
2470 struct linux_sendmmsg_args *p = params;
2471 iarg[0] = p->s; /* l_int */
2472 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2473 iarg[2] = p->vlen; /* l_uint */
2474 iarg[3] = p->flags; /* l_uint */
2483 /* linux_process_vm_readv */
2485 struct linux_process_vm_readv_args *p = params;
2486 iarg[0] = p->pid; /* l_pid_t */
2487 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2488 iarg[2] = p->liovcnt; /* l_ulong */
2489 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2490 iarg[4] = p->riovcnt; /* l_ulong */
2491 iarg[5] = p->flags; /* l_ulong */
2495 /* linux_process_vm_writev */
2497 struct linux_process_vm_writev_args *p = params;
2498 iarg[0] = p->pid; /* l_pid_t */
2499 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2500 iarg[2] = p->liovcnt; /* l_ulong */
2501 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2502 iarg[4] = p->riovcnt; /* l_ulong */
2503 iarg[5] = p->flags; /* l_ulong */
2509 struct linux_kcmp_args *p = params;
2510 iarg[0] = p->pid1; /* l_pid_t */
2511 iarg[1] = p->pid2; /* l_pid_t */
2512 iarg[2] = p->type; /* l_int */
2513 iarg[3] = p->idx1; /* l_ulong */
2514 iarg[4] = p->idx; /* l_ulong */
2518 /* linux_finit_module */
2520 struct linux_finit_module_args *p = params;
2521 iarg[0] = p->fd; /* l_int */
2522 uarg[1] = (intptr_t) p->uargs; /* const char * */
2523 iarg[2] = p->flags; /* l_int */
2527 /* linux_sched_setattr */
2529 struct linux_sched_setattr_args *p = params;
2530 iarg[0] = p->pid; /* l_pid_t */
2531 uarg[1] = (intptr_t) p->attr; /* void * */
2532 iarg[2] = p->flags; /* l_uint */
2536 /* linux_sched_getattr */
2538 struct linux_sched_getattr_args *p = params;
2539 iarg[0] = p->pid; /* l_pid_t */
2540 uarg[1] = (intptr_t) p->attr; /* void * */
2541 iarg[2] = p->size; /* l_uint */
2542 iarg[3] = p->flags; /* l_uint */
2546 /* linux_renameat2 */
2548 struct linux_renameat2_args *p = params;
2549 iarg[0] = p->olddfd; /* l_int */
2550 uarg[1] = (intptr_t) p->oldname; /* const char * */
2551 iarg[2] = p->newdfd; /* l_int */
2552 uarg[3] = (intptr_t) p->newname; /* const char * */
2553 uarg[4] = p->flags; /* unsigned int */
2559 struct linux_seccomp_args *p = params;
2560 iarg[0] = p->op; /* l_uint */
2561 iarg[1] = p->flags; /* l_uint */
2562 uarg[2] = (intptr_t) p->uargs; /* const char * */
2566 /* linux_getrandom */
2568 struct linux_getrandom_args *p = params;
2569 uarg[0] = (intptr_t) p->buf; /* char * */
2570 iarg[1] = p->count; /* l_size_t */
2571 iarg[2] = p->flags; /* l_uint */
2575 /* linux_memfd_create */
2577 struct linux_memfd_create_args *p = params;
2578 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2579 iarg[1] = p->flags; /* l_uint */
2585 struct linux_bpf_args *p = params;
2586 iarg[0] = p->cmd; /* l_int */
2587 uarg[1] = (intptr_t) p->attr; /* void * */
2588 iarg[2] = p->size; /* l_uint */
2592 /* linux_execveat */
2594 struct linux_execveat_args *p = params;
2595 iarg[0] = p->dfd; /* l_int */
2596 uarg[1] = (intptr_t) p->filename; /* const char * */
2597 uarg[2] = (intptr_t) p->argv; /* const char ** */
2598 uarg[3] = (intptr_t) p->envp; /* const char ** */
2599 iarg[4] = p->flags; /* l_int */
2605 struct linux_socket_args *p = params;
2606 iarg[0] = p->domain; /* l_int */
2607 iarg[1] = p->type; /* l_int */
2608 iarg[2] = p->protocol; /* l_int */
2612 /* linux_socketpair */
2614 struct linux_socketpair_args *p = params;
2615 iarg[0] = p->domain; /* l_int */
2616 iarg[1] = p->type; /* l_int */
2617 iarg[2] = p->protocol; /* l_int */
2618 iarg[3] = p->rsv; /* l_uintptr_t */
2624 struct linux_bind_args *p = params;
2625 iarg[0] = p->s; /* l_int */
2626 iarg[1] = p->name; /* l_uintptr_t */
2627 iarg[2] = p->namelen; /* l_int */
2633 struct linux_connect_args *p = params;
2634 iarg[0] = p->s; /* l_int */
2635 iarg[1] = p->name; /* l_uintptr_t */
2636 iarg[2] = p->namelen; /* l_int */
2642 struct linux_listen_args *p = params;
2643 iarg[0] = p->s; /* l_int */
2644 iarg[1] = p->backlog; /* l_int */
2650 struct linux_accept4_args *p = params;
2651 iarg[0] = p->s; /* l_int */
2652 iarg[1] = p->addr; /* l_uintptr_t */
2653 iarg[2] = p->namelen; /* l_uintptr_t */
2654 iarg[3] = p->flags; /* l_int */
2658 /* linux_getsockopt */
2660 struct linux_getsockopt_args *p = params;
2661 iarg[0] = p->s; /* l_int */
2662 iarg[1] = p->level; /* l_int */
2663 iarg[2] = p->optname; /* l_int */
2664 iarg[3] = p->optval; /* l_uintptr_t */
2665 iarg[4] = p->optlen; /* l_uintptr_t */
2669 /* linux_setsockopt */
2671 struct linux_setsockopt_args *p = params;
2672 iarg[0] = p->s; /* l_int */
2673 iarg[1] = p->level; /* l_int */
2674 iarg[2] = p->optname; /* l_int */
2675 iarg[3] = p->optval; /* l_uintptr_t */
2676 iarg[4] = p->optlen; /* l_int */
2680 /* linux_getsockname */
2682 struct linux_getsockname_args *p = params;
2683 iarg[0] = p->s; /* l_int */
2684 iarg[1] = p->addr; /* l_uintptr_t */
2685 iarg[2] = p->namelen; /* l_uintptr_t */
2689 /* linux_getpeername */
2691 struct linux_getpeername_args *p = params;
2692 iarg[0] = p->s; /* l_int */
2693 iarg[1] = p->addr; /* l_uintptr_t */
2694 iarg[2] = p->namelen; /* l_uintptr_t */
2700 struct linux_sendto_args *p = params;
2701 iarg[0] = p->s; /* l_int */
2702 iarg[1] = p->msg; /* l_uintptr_t */
2703 iarg[2] = p->len; /* l_int */
2704 iarg[3] = p->flags; /* l_int */
2705 iarg[4] = p->to; /* l_uintptr_t */
2706 iarg[5] = p->tolen; /* l_int */
2712 struct linux_sendmsg_args *p = params;
2713 iarg[0] = p->s; /* l_int */
2714 iarg[1] = p->msg; /* l_uintptr_t */
2715 iarg[2] = p->flags; /* l_int */
2719 /* linux_recvfrom */
2721 struct linux_recvfrom_args *p = params;
2722 iarg[0] = p->s; /* l_int */
2723 iarg[1] = p->buf; /* l_uintptr_t */
2724 iarg[2] = p->len; /* l_size_t */
2725 iarg[3] = p->flags; /* l_int */
2726 iarg[4] = p->from; /* l_uintptr_t */
2727 iarg[5] = p->fromlen; /* l_uintptr_t */
2733 struct linux_recvmsg_args *p = params;
2734 iarg[0] = p->s; /* l_int */
2735 iarg[1] = p->msg; /* l_uintptr_t */
2736 iarg[2] = p->flags; /* l_int */
2740 /* linux_shutdown */
2742 struct linux_shutdown_args *p = params;
2743 iarg[0] = p->s; /* l_int */
2744 iarg[1] = p->how; /* l_int */
2748 /* linux_userfaultfd */
2750 struct linux_userfaultfd_args *p = params;
2751 iarg[0] = p->flags; /* l_int */
2755 /* linux_membarrier */
2757 struct linux_membarrier_args *p = params;
2758 iarg[0] = p->cmd; /* l_int */
2759 iarg[1] = p->flags; /* l_int */
2765 struct linux_mlock2_args *p = params;
2766 iarg[0] = p->start; /* l_ulong */
2767 iarg[1] = p->len; /* l_size_t */
2768 iarg[2] = p->flags; /* l_int */
2772 /* linux_copy_file_range */
2774 struct linux_copy_file_range_args *p = params;
2775 iarg[0] = p->fd_in; /* l_int */
2776 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2777 iarg[2] = p->fd_out; /* l_int */
2778 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2779 iarg[4] = p->len; /* l_size_t */
2780 iarg[5] = p->flags; /* l_uint */
2786 struct linux_preadv2_args *p = params;
2787 iarg[0] = p->fd; /* l_ulong */
2788 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2789 iarg[2] = p->vlen; /* l_ulong */
2790 iarg[3] = p->pos_l; /* l_ulong */
2791 iarg[4] = p->pos_h; /* l_ulong */
2792 iarg[5] = p->flags; /* l_int */
2796 /* linux_pwritev2 */
2798 struct linux_pwritev2_args *p = params;
2799 iarg[0] = p->fd; /* l_ulong */
2800 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2801 iarg[2] = p->vlen; /* l_ulong */
2802 iarg[3] = p->pos_l; /* l_ulong */
2803 iarg[4] = p->pos_h; /* l_ulong */
2804 iarg[5] = p->flags; /* l_int */
2808 /* linux_pkey_mprotect */
2810 struct linux_pkey_mprotect_args *p = params;
2811 iarg[0] = p->start; /* l_ulong */
2812 iarg[1] = p->len; /* l_size_t */
2813 iarg[2] = p->prot; /* l_ulong */
2814 iarg[3] = p->pkey; /* l_int */
2818 /* linux_pkey_alloc */
2820 struct linux_pkey_alloc_args *p = params;
2821 iarg[0] = p->flags; /* l_ulong */
2822 iarg[1] = p->init_val; /* l_ulong */
2826 /* linux_pkey_free */
2828 struct linux_pkey_free_args *p = params;
2829 iarg[0] = p->pkey; /* l_int */
2835 struct linux_statx_args *p = params;
2836 iarg[0] = p->dirfd; /* l_int */
2837 uarg[1] = (intptr_t) p->pathname; /* const char * */
2838 iarg[2] = p->flags; /* l_uint */
2839 iarg[3] = p->mask; /* l_uint */
2840 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2844 /* linux_arch_prctl */
2846 struct linux_arch_prctl_args *p = params;
2847 iarg[0] = p->option; /* l_int */
2848 iarg[1] = p->arg2; /* l_ulong */
2852 /* linux_io_pgetevents */
2864 struct linux_semget_args *p = params;
2865 iarg[0] = p->key; /* l_key_t */
2866 iarg[1] = p->nsems; /* l_int */
2867 iarg[2] = p->semflg; /* l_int */
2873 struct linux_semctl_args *p = params;
2874 iarg[0] = p->semid; /* l_int */
2875 iarg[1] = p->semnum; /* l_int */
2876 iarg[2] = p->cmd; /* l_int */
2877 uarg[3] = p->arg.buf; /* union l_semun */
2883 struct linux_shmget_args *p = params;
2884 iarg[0] = p->key; /* l_key_t */
2885 iarg[1] = p->size; /* l_size_t */
2886 iarg[2] = p->shmflg; /* l_int */
2892 struct linux_shmctl_args *p = params;
2893 iarg[0] = p->shmid; /* l_int */
2894 iarg[1] = p->cmd; /* l_int */
2895 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2901 struct linux_shmat_args *p = params;
2902 iarg[0] = p->shmid; /* l_int */
2903 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2904 iarg[2] = p->shmflg; /* l_int */
2910 struct linux_shmdt_args *p = params;
2911 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2917 struct linux_msgget_args *p = params;
2918 iarg[0] = p->key; /* l_key_t */
2919 iarg[1] = p->msgflg; /* l_int */
2925 struct linux_msgsnd_args *p = params;
2926 iarg[0] = p->msqid; /* l_int */
2927 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2928 iarg[2] = p->msgsz; /* l_size_t */
2929 iarg[3] = p->msgflg; /* l_int */
2935 struct linux_msgrcv_args *p = params;
2936 iarg[0] = p->msqid; /* l_int */
2937 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2938 iarg[2] = p->msgsz; /* l_size_t */
2939 iarg[3] = p->msgtyp; /* l_long */
2940 iarg[4] = p->msgflg; /* l_int */
2946 struct linux_msgctl_args *p = params;
2947 iarg[0] = p->msqid; /* l_int */
2948 iarg[1] = p->cmd; /* l_int */
2949 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2953 /* linux_clock_gettime64 */
2958 /* linux_clock_settime64 */
2963 /* linux_clock_adjtime64 */
2968 /* linux_clock_getres_time64 */
2973 /* linux_clock_nanosleep_time64 */
2978 /* linux_timer_gettime64 */
2983 /* linux_timer_settime64 */
2988 /* linux_timerfd_gettime64 */
2993 /* linux_timerfd_settime64 */
2998 /* linux_utimensat_time64 */
3003 /* linux_pselect6_time64 */
3008 /* linux_ppoll_time64 */
3013 /* linux_io_pgetevents_time64 */
3018 /* linux_recvmmsg_time64 */
3023 /* linux_mq_timedsend_time64 */
3028 /* linux_mq_timedreceive_time64 */
3033 /* linux_semtimedop_time64 */
3038 /* linux_rt_sigtimedwait_time64 */
3043 /* linux_futex_time64 */
3048 /* linux_sched_rr_get_interval_time64 */
3053 /* linux_pidfd_send_signal */
3055 struct linux_pidfd_send_signal_args *p = params;
3056 iarg[0] = p->pidfd; /* l_int */
3057 iarg[1] = p->sig; /* l_int */
3058 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
3059 iarg[3] = p->flags; /* l_uint */
3063 /* linux_io_uring_setup */
3068 /* linux_io_uring_enter */
3073 /* linux_io_uring_register */
3084 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3086 const char *p = NULL;
3088 #define nosys linux_nosys
3109 p = "userland char *";
3125 p = "userland char *";
3138 p = "userland char *";
3167 p = "userland l_int *";
3180 p = "userland char *";
3193 p = "userland char *";
3196 p = "userland char *";
3206 p = "userland char *";
3216 p = "userland char *";
3219 p = "userland uint32_t *";
3222 p = "userland uint32_t *";
3232 p = "userland char *";
3242 p = "userland l_time_t *";
3252 p = "userland char *";
3268 p = "userland char *";
3277 /* linux_lchown16 */
3281 p = "userland char *";
3297 p = "userland char *";
3300 p = "userland struct linux_stat *";
3329 p = "userland char *";
3332 p = "userland char *";
3335 p = "userland char *";
3341 p = "userland void *";
3347 /* linux_oldumount */
3351 p = "userland char *";
3357 /* linux_setuid16 */
3367 /* linux_getuid16 */
3409 p = "userland char *";
3412 p = "userland struct l_utimbuf *";
3422 p = "userland char *";
3461 p = "userland char *";
3464 p = "userland char *";
3474 p = "userland char *";
3487 p = "userland char *";
3507 p = "userland l_int *";
3517 p = "userland struct l_times_argv *";
3533 /* linux_setgid16 */
3543 /* linux_getgid16 */
3559 /* linux_geteuid16 */
3562 /* linux_getegid16 */
3569 p = "userland char *";
3579 p = "userland char *";
3633 /* linux_olduname */
3650 p = "userland char *";
3663 p = "userland struct l_ustat *";
3691 /* linux_sigaction */
3698 p = "userland l_osigaction_t *";
3701 p = "userland l_osigaction_t *";
3707 /* linux_sgetmask */
3710 /* linux_ssetmask */
3720 /* linux_setreuid16 */
3733 /* linux_setregid16 */
3746 /* linux_sigsuspend */
3762 /* linux_sigpending */
3766 p = "userland l_osigset_t *";
3772 /* linux_sethostname */
3776 p = "userland char *";
3785 /* linux_setrlimit */
3792 p = "userland struct l_rlimit *";
3798 /* linux_old_getrlimit */
3805 p = "userland struct l_rlimit *";
3811 /* linux_getrusage */
3818 p = "userland struct l_rusage *";
3824 /* linux_gettimeofday */
3828 p = "userland struct l_timeval *";
3831 p = "userland struct timezone *";
3837 /* linux_settimeofday */
3841 p = "userland struct l_timeval *";
3844 p = "userland struct timezone *";
3850 /* linux_getgroups16 */
3857 p = "userland l_gid16_t *";
3863 /* linux_setgroups16 */
3870 p = "userland l_gid16_t *";
3876 /* linux_old_select */
3880 p = "userland struct l_old_select_argv *";
3890 p = "userland char *";
3893 p = "userland char *";
3903 p = "userland char *";
3906 p = "userland struct linux_lstat *";
3912 /* linux_readlink */
3916 p = "userland char *";
3919 p = "userland char *";
3932 p = "userland char *";
3951 p = "userland void *";
3964 p = "userland struct l_dirent *";
3977 p = "userland struct l_mmap_argv *";
3996 /* linux_truncate */
4000 p = "userland char *";
4009 /* linux_ftruncate */
4051 /* linux_getpriority */
4084 p = "userland char *";
4087 p = "userland struct l_statfs_buf *";
4100 p = "userland struct l_statfs_buf *";
4106 /* linux_socketcall */
4126 p = "userland char *";
4135 /* linux_setitimer */
4142 p = "userland struct l_itimerval *";
4145 p = "userland struct l_itimerval *";
4151 /* linux_getitimer */
4158 p = "userland struct l_itimerval *";
4168 p = "userland char *";
4171 p = "userland struct l_newstat *";
4177 /* linux_newlstat */
4181 p = "userland char *";
4184 p = "userland struct l_newstat *";
4190 /* linux_newfstat */
4197 p = "userland struct l_newstat *";
4226 p = "userland l_int *";
4232 p = "userland struct l_rusage *";
4245 p = "userland struct l_sysinfo *";
4286 /* linux_sigreturn */
4290 p = "userland struct l_sigframe *";
4303 p = "userland void *";
4306 p = "userland void *";
4309 p = "userland void *";
4312 p = "userland void *";
4318 /* linux_setdomainname */
4322 p = "userland char *";
4331 /* linux_newuname */
4335 p = "userland struct l_new_utsname *";
4341 /* linux_adjtimex */
4344 /* linux_mprotect */
4360 /* linux_sigprocmask */
4367 p = "userland l_osigset_t *";
4370 p = "userland l_osigset_t *";
4376 /* linux_init_module */
4379 /* linux_delete_module */
4382 /* linux_quotactl */
4424 /* linux_personality */
4434 /* linux_setfsuid16 */
4444 /* linux_setfsgid16 */
4467 p = "userland l_loff_t *";
4476 /* linux_getdents */
4483 p = "userland void *";
4499 p = "userland l_fd_set *";
4502 p = "userland l_fd_set *";
4505 p = "userland l_fd_set *";
4508 p = "userland struct l_timeval *";
4550 p = "userland struct l_iovec32 *";
4566 p = "userland struct l_iovec32 *";
4585 /* linux_fdatasync */
4599 p = "userland struct l___sysctl_args *";
4609 p = "userland const void *";
4622 p = "userland const void *";
4644 /* linux_sched_setparam */
4651 p = "userland struct sched_param *";
4657 /* linux_sched_getparam */
4664 p = "userland struct sched_param *";
4670 /* linux_sched_setscheduler */
4680 p = "userland struct sched_param *";
4686 /* linux_sched_getscheduler */
4699 /* linux_sched_get_priority_max */
4709 /* linux_sched_get_priority_min */
4719 /* linux_sched_rr_get_interval */
4726 p = "userland struct l_timespec *";
4732 /* linux_nanosleep */
4736 p = "userland const struct l_timespec *";
4739 p = "userland struct l_timespec *";
4767 /* linux_setresuid16 */
4783 /* linux_getresuid16 */
4787 p = "userland l_uid16_t *";
4790 p = "userland l_uid16_t *";
4793 p = "userland l_uid16_t *";
4803 p = "userland struct pollfd *";
4815 /* linux_setresgid16 */
4831 /* linux_getresgid16 */
4835 p = "userland l_gid16_t *";
4838 p = "userland l_gid16_t *";
4841 p = "userland l_gid16_t *";
4869 /* linux_rt_sigreturn */
4873 p = "userland struct l_ucontext *";
4879 /* linux_rt_sigaction */
4886 p = "userland l_sigaction_t *";
4889 p = "userland l_sigaction_t *";
4898 /* linux_rt_sigprocmask */
4905 p = "userland l_sigset_t *";
4908 p = "userland l_sigset_t *";
4917 /* linux_rt_sigpending */
4921 p = "userland l_sigset_t *";
4930 /* linux_rt_sigtimedwait */
4934 p = "userland l_sigset_t *";
4937 p = "userland l_siginfo_t *";
4940 p = "userland struct l_timeval *";
4949 /* linux_rt_sigqueueinfo */
4959 p = "userland l_siginfo_t *";
4965 /* linux_rt_sigsuspend */
4969 p = "userland l_sigset_t *";
4985 p = "userland char *";
5007 p = "userland char *";
5026 p = "userland char *";
5042 p = "userland char *";
5055 p = "userland struct l_user_cap_header *";
5058 p = "userland struct l_user_cap_data *";
5068 p = "userland struct l_user_cap_header *";
5071 p = "userland struct l_user_cap_data *";
5077 /* linux_sigaltstack */
5081 p = "userland l_stack_t *";
5084 p = "userland l_stack_t *";
5090 /* linux_sendfile */
5100 p = "userland l_long *";
5112 /* linux_getrlimit */
5119 p = "userland struct l_rlimit *";
5150 /* linux_truncate64 */
5154 p = "userland char *";
5166 /* linux_ftruncate64 */
5186 p = "userland const char *";
5189 p = "userland struct l_stat64 *";
5199 p = "userland const char *";
5202 p = "userland struct l_stat64 *";
5215 p = "userland struct l_stat64 *";
5225 p = "userland char *";
5275 /* linux_getgroups */
5282 p = "userland l_gid_t *";
5288 /* linux_setgroups */
5295 p = "userland l_gid_t *";
5324 p = "userland uid_t *";
5327 p = "userland uid_t *";
5330 p = "userland uid_t *";
5356 p = "userland gid_t *";
5359 p = "userland gid_t *";
5362 p = "userland gid_t *";
5372 p = "userland char *";
5404 /* linux_setfsuid */
5414 /* linux_setfsgid */
5424 /* linux_pivot_root */
5428 p = "userland char *";
5431 p = "userland char *";
5447 p = "userland u_char *";
5457 p = "userland void *";
5469 /* linux_getdents64 */
5476 p = "userland void *";
5504 /* linux_setxattr */
5508 p = "userland const char *";
5511 p = "userland const char *";
5514 p = "userland const char *";
5526 /* linux_lsetxattr */
5530 p = "userland const char *";
5533 p = "userland const char *";
5536 p = "userland const char *";
5548 /* linux_fsetxattr */
5555 p = "userland const char *";
5558 p = "userland const char *";
5570 /* linux_getxattr */
5574 p = "userland const char *";
5577 p = "userland const char *";
5580 p = "userland char *";
5589 /* linux_lgetxattr */
5593 p = "userland const char *";
5596 p = "userland const char *";
5599 p = "userland char *";
5608 /* linux_fgetxattr */
5615 p = "userland const char *";
5618 p = "userland char *";
5627 /* linux_listxattr */
5631 p = "userland const char *";
5634 p = "userland const char *";
5643 /* linux_llistxattr */
5647 p = "userland const char *";
5650 p = "userland const char *";
5659 /* linux_flistxattr */
5666 p = "userland const char *";
5675 /* linux_removexattr */
5679 p = "userland const char *";
5682 p = "userland const char *";
5688 /* linux_lremovexattr */
5692 p = "userland const char *";
5695 p = "userland const char *";
5701 /* linux_fremovexattr */
5708 p = "userland const char *";
5727 /* linux_sendfile64 */
5737 p = "userland l_loff_t *";
5746 /* linux_sys_futex */
5750 p = "userland void *";
5759 p = "userland struct l_timespec *";
5762 p = "userland uint32_t *";
5771 /* linux_sched_setaffinity */
5781 p = "userland l_ulong *";
5787 /* linux_sched_getaffinity */
5797 p = "userland l_ulong *";
5803 /* linux_set_thread_area */
5807 p = "userland struct l_user_desc *";
5813 /* linux_fadvise64 */
5835 /* linux_exit_group */
5845 /* linux_lookup_dcookie */
5848 /* linux_epoll_create */
5858 /* linux_epoll_ctl */
5871 p = "userland struct epoll_event *";
5877 /* linux_epoll_wait */
5884 p = "userland struct epoll_event *";
5896 /* linux_remap_file_pages */
5899 /* linux_set_tid_address */
5903 p = "userland int *";
5909 /* linux_timer_create */
5916 p = "userland struct sigevent *";
5919 p = "userland l_timer_t *";
5925 /* linux_timer_settime */
5935 p = "userland const struct itimerspec *";
5938 p = "userland struct itimerspec *";
5944 /* linux_timer_gettime */
5951 p = "userland struct itimerspec *";
5957 /* linux_timer_getoverrun */
5967 /* linux_timer_delete */
5977 /* linux_clock_settime */
5984 p = "userland struct l_timespec *";
5990 /* linux_clock_gettime */
5997 p = "userland struct l_timespec *";
6003 /* linux_clock_getres */
6010 p = "userland struct l_timespec *";
6016 /* linux_clock_nanosleep */
6026 p = "userland struct l_timespec *";
6029 p = "userland struct l_timespec *";
6035 /* linux_statfs64 */
6039 p = "userland char *";
6045 p = "userland struct l_statfs64_buf *";
6051 /* linux_fstatfs64 */
6061 p = "userland struct l_statfs64_buf *";
6087 p = "userland char *";
6090 p = "userland struct l_timeval *";
6096 /* linux_fadvise64_64 */
6124 /* linux_get_mempolicy */
6127 /* linux_set_mempolicy */
6134 p = "userland const char *";
6143 p = "userland struct mq_attr *";
6149 /* linux_mq_unlink */
6153 p = "userland const char *";
6159 /* linux_mq_timedsend */
6166 p = "userland const char *";
6175 p = "userland const struct l_timespec *";
6181 /* linux_mq_timedreceive */
6188 p = "userland char *";
6194 p = "userland l_uint *";
6197 p = "userland const struct l_timespec *";
6203 /* linux_mq_notify */
6210 p = "userland const struct l_timespec *";
6216 /* linux_mq_getsetattr */
6223 p = "userland const struct mq_attr *";
6226 p = "userland struct mq_attr *";
6232 /* linux_kexec_load */
6245 p = "userland l_siginfo_t *";
6251 p = "userland struct l_rusage *";
6260 /* linux_request_key */
6266 /* linux_ioprio_set */
6269 /* linux_ioprio_get */
6272 /* linux_inotify_init */
6275 /* linux_inotify_add_watch */
6278 /* linux_inotify_rm_watch */
6281 /* linux_migrate_pages */
6291 p = "userland const char *";
6310 p = "userland const char *";
6326 p = "userland const char *";
6338 /* linux_fchownat */
6345 p = "userland const char *";
6360 /* linux_futimesat */
6367 p = "userland char *";
6370 p = "userland struct l_timeval *";
6376 /* linux_fstatat64 */
6383 p = "userland char *";
6386 p = "userland struct l_stat64 *";
6395 /* linux_unlinkat */
6402 p = "userland const char *";
6411 /* linux_renameat */
6418 p = "userland const char *";
6424 p = "userland const char *";
6437 p = "userland const char *";
6443 p = "userland const char *";
6452 /* linux_symlinkat */
6456 p = "userland const char *";
6462 p = "userland const char *";
6468 /* linux_readlinkat */
6475 p = "userland const char *";
6478 p = "userland char *";
6487 /* linux_fchmodat */
6494 p = "userland const char *";
6503 /* linux_faccessat */
6510 p = "userland const char *";
6519 /* linux_pselect6 */
6526 p = "userland l_fd_set *";
6529 p = "userland l_fd_set *";
6532 p = "userland l_fd_set *";
6535 p = "userland struct l_timespec *";
6538 p = "userland l_uintptr_t *";
6548 p = "userland struct pollfd *";
6554 p = "userland struct l_timespec *";
6557 p = "userland l_sigset_t *";
6569 /* linux_set_robust_list */
6573 p = "userland struct linux_robust_list_head *";
6582 /* linux_get_robust_list */
6589 p = "userland struct linux_robust_list_head **";
6592 p = "userland l_size_t *";
6605 p = "userland l_loff_t *";
6611 p = "userland l_loff_t *";
6623 /* linux_sync_file_range */
6651 /* linux_vmsplice */
6654 /* linux_move_pages */
6661 p = "userland l_uint *";
6664 p = "userland l_uint *";
6667 p = "userland void *";
6673 /* linux_epoll_pwait */
6680 p = "userland struct epoll_event *";
6689 p = "userland l_sigset_t *";
6698 /* linux_utimensat */
6705 p = "userland const char *";
6708 p = "userland const struct l_timespec *";
6717 /* linux_signalfd */
6720 /* linux_timerfd_create */
6743 /* linux_fallocate */
6768 /* linux_timerfd_settime */
6778 p = "userland const struct l_itimerspec *";
6781 p = "userland struct l_itimerspec *";
6787 /* linux_timerfd_gettime */
6794 p = "userland struct l_itimerspec *";
6800 /* linux_signalfd4 */
6803 /* linux_eventfd2 */
6816 /* linux_epoll_create1 */
6846 p = "userland l_int *";
6855 /* linux_inotify_init1 */
6865 p = "userland struct iovec *";
6887 p = "userland struct iovec *";
6902 /* linux_rt_tgsigqueueinfo */
6915 p = "userland l_siginfo_t *";
6921 /* linux_perf_event_open */
6924 /* linux_recvmmsg */
6931 p = "userland struct l_mmsghdr *";
6940 p = "userland struct l_timespec *";
6946 /* linux_fanotify_init */
6949 /* linux_fanotify_mark */
6952 /* linux_prlimit64 */
6962 p = "userland struct rlimit *";
6965 p = "userland struct rlimit *";
6971 /* linux_name_to_handle_at */
6974 /* linux_open_by_handle_at */
6977 /* linux_clock_adjtime */
6990 /* linux_sendmmsg */
6997 p = "userland struct l_mmsghdr *";
7012 /* linux_process_vm_readv */
7019 p = "userland const struct iovec *";
7025 p = "userland const struct iovec *";
7037 /* linux_process_vm_writev */
7044 p = "userland const struct iovec *";
7050 p = "userland const struct iovec *";
7084 /* linux_finit_module */
7091 p = "userland const char *";
7100 /* linux_sched_setattr */
7107 p = "userland void *";
7116 /* linux_sched_getattr */
7123 p = "userland void *";
7135 /* linux_renameat2 */
7142 p = "userland const char *";
7148 p = "userland const char *";
7167 p = "userland const char *";
7173 /* linux_getrandom */
7177 p = "userland char *";
7189 /* linux_memfd_create */
7193 p = "userland const char *";
7209 p = "userland void *";
7218 /* linux_execveat */
7225 p = "userland const char *";
7228 p = "userland const char **";
7231 p = "userland const char **";
7256 /* linux_socketpair */
7339 /* linux_getsockopt */
7361 /* linux_setsockopt */
7383 /* linux_getsockname */
7399 /* linux_getpeername */
7456 /* linux_recvfrom */
7497 /* linux_shutdown */
7510 /* linux_userfaultfd */
7520 /* linux_membarrier */
7549 /* linux_copy_file_range */
7556 p = "userland l_loff_t *";
7562 p = "userland l_loff_t *";
7581 p = "userland const struct iovec *";
7599 /* linux_pwritev2 */
7606 p = "userland const struct iovec *";
7624 /* linux_pkey_mprotect */
7643 /* linux_pkey_alloc */
7656 /* linux_pkey_free */
7673 p = "userland const char *";
7682 p = "userland void *";
7688 /* linux_arch_prctl */
7701 /* linux_io_pgetevents */
7736 p = "union l_semun";
7768 p = "userland struct l_shmid_ds *";
7781 p = "userland char *";
7794 p = "userland char *";
7820 p = "userland struct l_msgbuf *";
7839 p = "userland struct l_msgbuf *";
7864 p = "userland struct l_msqid_ds *";
7870 /* linux_clock_gettime64 */
7873 /* linux_clock_settime64 */
7876 /* linux_clock_adjtime64 */
7879 /* linux_clock_getres_time64 */
7882 /* linux_clock_nanosleep_time64 */
7885 /* linux_timer_gettime64 */
7888 /* linux_timer_settime64 */
7891 /* linux_timerfd_gettime64 */
7894 /* linux_timerfd_settime64 */
7897 /* linux_utimensat_time64 */
7900 /* linux_pselect6_time64 */
7903 /* linux_ppoll_time64 */
7906 /* linux_io_pgetevents_time64 */
7909 /* linux_recvmmsg_time64 */
7912 /* linux_mq_timedsend_time64 */
7915 /* linux_mq_timedreceive_time64 */
7918 /* linux_semtimedop_time64 */
7921 /* linux_rt_sigtimedwait_time64 */
7924 /* linux_futex_time64 */
7927 /* linux_sched_rr_get_interval_time64 */
7930 /* linux_pidfd_send_signal */
7940 p = "userland l_siginfo_t *";
7949 /* linux_io_uring_setup */
7952 /* linux_io_uring_enter */
7955 /* linux_io_uring_register */
7962 strlcpy(desc, p, descsz);
7965 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7967 const char *p = NULL;
7969 #define nosys linux_nosys
7972 if (ndx == 0 || ndx == 1)
7979 if (ndx == 0 || ndx == 1)
7984 if (ndx == 0 || ndx == 1)
7989 if (ndx == 0 || ndx == 1)
7994 if (ndx == 0 || ndx == 1)
7999 if (ndx == 0 || ndx == 1)
8004 if (ndx == 0 || ndx == 1)
8009 if (ndx == 0 || ndx == 1)
8014 if (ndx == 0 || ndx == 1)
8019 if (ndx == 0 || ndx == 1)
8024 if (ndx == 0 || ndx == 1)
8029 if (ndx == 0 || ndx == 1)
8034 if (ndx == 0 || ndx == 1)
8039 if (ndx == 0 || ndx == 1)
8042 /* linux_lchown16 */
8044 if (ndx == 0 || ndx == 1)
8049 if (ndx == 0 || ndx == 1)
8054 if (ndx == 0 || ndx == 1)
8061 if (ndx == 0 || ndx == 1)
8064 /* linux_oldumount */
8066 if (ndx == 0 || ndx == 1)
8069 /* linux_setuid16 */
8071 if (ndx == 0 || ndx == 1)
8074 /* linux_getuid16 */
8080 if (ndx == 0 || ndx == 1)
8085 if (ndx == 0 || ndx == 1)
8092 if (ndx == 0 || ndx == 1)
8097 if (ndx == 0 || ndx == 1)
8102 if (ndx == 0 || ndx == 1)
8109 if (ndx == 0 || ndx == 1)
8114 if (ndx == 0 || ndx == 1)
8119 if (ndx == 0 || ndx == 1)
8124 if (ndx == 0 || ndx == 1)
8129 if (ndx == 0 || ndx == 1)
8134 if (ndx == 0 || ndx == 1)
8139 if (ndx == 0 || ndx == 1)
8144 if (ndx == 0 || ndx == 1)
8147 /* linux_setgid16 */
8149 if (ndx == 0 || ndx == 1)
8152 /* linux_getgid16 */
8156 if (ndx == 0 || ndx == 1)
8159 /* linux_geteuid16 */
8161 /* linux_getegid16 */
8165 if (ndx == 0 || ndx == 1)
8170 if (ndx == 0 || ndx == 1)
8175 if (ndx == 0 || ndx == 1)
8180 if (ndx == 0 || ndx == 1)
8185 if (ndx == 0 || ndx == 1)
8188 /* linux_olduname */
8192 if (ndx == 0 || ndx == 1)
8197 if (ndx == 0 || ndx == 1)
8202 if (ndx == 0 || ndx == 1)
8207 if (ndx == 0 || ndx == 1)
8216 /* linux_sigaction */
8218 if (ndx == 0 || ndx == 1)
8221 /* linux_sgetmask */
8223 /* linux_ssetmask */
8225 if (ndx == 0 || ndx == 1)
8228 /* linux_setreuid16 */
8230 if (ndx == 0 || ndx == 1)
8233 /* linux_setregid16 */
8235 if (ndx == 0 || ndx == 1)
8238 /* linux_sigsuspend */
8240 if (ndx == 0 || ndx == 1)
8243 /* linux_sigpending */
8245 if (ndx == 0 || ndx == 1)
8248 /* linux_sethostname */
8250 if (ndx == 0 || ndx == 1)
8253 /* linux_setrlimit */
8255 if (ndx == 0 || ndx == 1)
8258 /* linux_old_getrlimit */
8260 if (ndx == 0 || ndx == 1)
8263 /* linux_getrusage */
8265 if (ndx == 0 || ndx == 1)
8268 /* linux_gettimeofday */
8270 if (ndx == 0 || ndx == 1)
8273 /* linux_settimeofday */
8275 if (ndx == 0 || ndx == 1)
8278 /* linux_getgroups16 */
8280 if (ndx == 0 || ndx == 1)
8283 /* linux_setgroups16 */
8285 if (ndx == 0 || ndx == 1)
8288 /* linux_old_select */
8290 if (ndx == 0 || ndx == 1)
8295 if (ndx == 0 || ndx == 1)
8300 if (ndx == 0 || ndx == 1)
8303 /* linux_readlink */
8305 if (ndx == 0 || ndx == 1)
8310 if (ndx == 0 || ndx == 1)
8315 if (ndx == 0 || ndx == 1)
8320 if (ndx == 0 || ndx == 1)
8325 if (ndx == 0 || ndx == 1)
8330 if (ndx == 0 || ndx == 1)
8333 /* linux_truncate */
8335 if (ndx == 0 || ndx == 1)
8338 /* linux_ftruncate */
8340 if (ndx == 0 || ndx == 1)
8345 if (ndx == 0 || ndx == 1)
8350 if (ndx == 0 || ndx == 1)
8353 /* linux_getpriority */
8355 if (ndx == 0 || ndx == 1)
8360 if (ndx == 0 || ndx == 1)
8365 if (ndx == 0 || ndx == 1)
8370 if (ndx == 0 || ndx == 1)
8373 /* linux_socketcall */
8375 if (ndx == 0 || ndx == 1)
8380 if (ndx == 0 || ndx == 1)
8383 /* linux_setitimer */
8385 if (ndx == 0 || ndx == 1)
8388 /* linux_getitimer */
8390 if (ndx == 0 || ndx == 1)
8395 if (ndx == 0 || ndx == 1)
8398 /* linux_newlstat */
8400 if (ndx == 0 || ndx == 1)
8403 /* linux_newfstat */
8405 if (ndx == 0 || ndx == 1)
8412 if (ndx == 0 || ndx == 1)
8419 if (ndx == 0 || ndx == 1)
8426 if (ndx == 0 || ndx == 1)
8431 if (ndx == 0 || ndx == 1)
8436 if (ndx == 0 || ndx == 1)
8439 /* linux_sigreturn */
8441 if (ndx == 0 || ndx == 1)
8446 if (ndx == 0 || ndx == 1)
8449 /* linux_setdomainname */
8451 if (ndx == 0 || ndx == 1)
8454 /* linux_newuname */
8456 if (ndx == 0 || ndx == 1)
8459 /* linux_adjtimex */
8461 /* linux_mprotect */
8463 if (ndx == 0 || ndx == 1)
8466 /* linux_sigprocmask */
8468 if (ndx == 0 || ndx == 1)
8471 /* linux_init_module */
8473 /* linux_delete_module */
8475 /* linux_quotactl */
8479 if (ndx == 0 || ndx == 1)
8484 if (ndx == 0 || ndx == 1)
8491 if (ndx == 0 || ndx == 1)
8494 /* linux_personality */
8496 if (ndx == 0 || ndx == 1)
8499 /* linux_setfsuid16 */
8501 if (ndx == 0 || ndx == 1)
8504 /* linux_setfsgid16 */
8506 if (ndx == 0 || ndx == 1)
8511 if (ndx == 0 || ndx == 1)
8514 /* linux_getdents */
8516 if (ndx == 0 || ndx == 1)
8521 if (ndx == 0 || ndx == 1)
8526 if (ndx == 0 || ndx == 1)
8531 if (ndx == 0 || ndx == 1)
8536 if (ndx == 0 || ndx == 1)
8541 if (ndx == 0 || ndx == 1)
8546 if (ndx == 0 || ndx == 1)
8549 /* linux_fdatasync */
8551 if (ndx == 0 || ndx == 1)
8556 if (ndx == 0 || ndx == 1)
8561 if (ndx == 0 || ndx == 1)
8566 if (ndx == 0 || ndx == 1)
8571 if (ndx == 0 || ndx == 1)
8576 /* linux_sched_setparam */
8578 if (ndx == 0 || ndx == 1)
8581 /* linux_sched_getparam */
8583 if (ndx == 0 || ndx == 1)
8586 /* linux_sched_setscheduler */
8588 if (ndx == 0 || ndx == 1)
8591 /* linux_sched_getscheduler */
8593 if (ndx == 0 || ndx == 1)
8598 /* linux_sched_get_priority_max */
8600 if (ndx == 0 || ndx == 1)
8603 /* linux_sched_get_priority_min */
8605 if (ndx == 0 || ndx == 1)
8608 /* linux_sched_rr_get_interval */
8610 if (ndx == 0 || ndx == 1)
8613 /* linux_nanosleep */
8615 if (ndx == 0 || ndx == 1)
8620 if (ndx == 0 || ndx == 1)
8623 /* linux_setresuid16 */
8625 if (ndx == 0 || ndx == 1)
8628 /* linux_getresuid16 */
8630 if (ndx == 0 || ndx == 1)
8635 if (ndx == 0 || ndx == 1)
8638 /* linux_setresgid16 */
8640 if (ndx == 0 || ndx == 1)
8643 /* linux_getresgid16 */
8645 if (ndx == 0 || ndx == 1)
8650 if (ndx == 0 || ndx == 1)
8653 /* linux_rt_sigreturn */
8655 if (ndx == 0 || ndx == 1)
8658 /* linux_rt_sigaction */
8660 if (ndx == 0 || ndx == 1)
8663 /* linux_rt_sigprocmask */
8665 if (ndx == 0 || ndx == 1)
8668 /* linux_rt_sigpending */
8670 if (ndx == 0 || ndx == 1)
8673 /* linux_rt_sigtimedwait */
8675 if (ndx == 0 || ndx == 1)
8678 /* linux_rt_sigqueueinfo */
8680 if (ndx == 0 || ndx == 1)
8683 /* linux_rt_sigsuspend */
8685 if (ndx == 0 || ndx == 1)
8690 if (ndx == 0 || ndx == 1)
8695 if (ndx == 0 || ndx == 1)
8700 if (ndx == 0 || ndx == 1)
8705 if (ndx == 0 || ndx == 1)
8710 if (ndx == 0 || ndx == 1)
8715 if (ndx == 0 || ndx == 1)
8718 /* linux_sigaltstack */
8720 if (ndx == 0 || ndx == 1)
8723 /* linux_sendfile */
8725 if (ndx == 0 || ndx == 1)
8730 /* linux_getrlimit */
8732 if (ndx == 0 || ndx == 1)
8737 if (ndx == 0 || ndx == 1)
8740 /* linux_truncate64 */
8742 if (ndx == 0 || ndx == 1)
8745 /* linux_ftruncate64 */
8747 if (ndx == 0 || ndx == 1)
8752 if (ndx == 0 || ndx == 1)
8757 if (ndx == 0 || ndx == 1)
8762 if (ndx == 0 || ndx == 1)
8767 if (ndx == 0 || ndx == 1)
8780 if (ndx == 0 || ndx == 1)
8785 if (ndx == 0 || ndx == 1)
8788 /* linux_getgroups */
8790 if (ndx == 0 || ndx == 1)
8793 /* linux_setgroups */
8795 if (ndx == 0 || ndx == 1)
8802 if (ndx == 0 || ndx == 1)
8807 if (ndx == 0 || ndx == 1)
8812 if (ndx == 0 || ndx == 1)
8817 if (ndx == 0 || ndx == 1)
8822 if (ndx == 0 || ndx == 1)
8827 if (ndx == 0 || ndx == 1)
8832 if (ndx == 0 || ndx == 1)
8835 /* linux_setfsuid */
8837 if (ndx == 0 || ndx == 1)
8840 /* linux_setfsgid */
8842 if (ndx == 0 || ndx == 1)
8845 /* linux_pivot_root */
8847 if (ndx == 0 || ndx == 1)
8852 if (ndx == 0 || ndx == 1)
8857 if (ndx == 0 || ndx == 1)
8860 /* linux_getdents64 */
8862 if (ndx == 0 || ndx == 1)
8867 if (ndx == 0 || ndx == 1)
8872 /* linux_setxattr */
8874 if (ndx == 0 || ndx == 1)
8877 /* linux_lsetxattr */
8879 if (ndx == 0 || ndx == 1)
8882 /* linux_fsetxattr */
8884 if (ndx == 0 || ndx == 1)
8887 /* linux_getxattr */
8889 if (ndx == 0 || ndx == 1)
8892 /* linux_lgetxattr */
8894 if (ndx == 0 || ndx == 1)
8897 /* linux_fgetxattr */
8899 if (ndx == 0 || ndx == 1)
8902 /* linux_listxattr */
8904 if (ndx == 0 || ndx == 1)
8907 /* linux_llistxattr */
8909 if (ndx == 0 || ndx == 1)
8912 /* linux_flistxattr */
8914 if (ndx == 0 || ndx == 1)
8917 /* linux_removexattr */
8919 if (ndx == 0 || ndx == 1)
8922 /* linux_lremovexattr */
8924 if (ndx == 0 || ndx == 1)
8927 /* linux_fremovexattr */
8929 if (ndx == 0 || ndx == 1)
8934 if (ndx == 0 || ndx == 1)
8937 /* linux_sendfile64 */
8939 if (ndx == 0 || ndx == 1)
8942 /* linux_sys_futex */
8944 if (ndx == 0 || ndx == 1)
8947 /* linux_sched_setaffinity */
8949 if (ndx == 0 || ndx == 1)
8952 /* linux_sched_getaffinity */
8954 if (ndx == 0 || ndx == 1)
8957 /* linux_set_thread_area */
8959 if (ndx == 0 || ndx == 1)
8962 /* linux_fadvise64 */
8964 if (ndx == 0 || ndx == 1)
8967 /* linux_exit_group */
8969 if (ndx == 0 || ndx == 1)
8972 /* linux_lookup_dcookie */
8974 /* linux_epoll_create */
8976 if (ndx == 0 || ndx == 1)
8979 /* linux_epoll_ctl */
8981 if (ndx == 0 || ndx == 1)
8984 /* linux_epoll_wait */
8986 if (ndx == 0 || ndx == 1)
8989 /* linux_remap_file_pages */
8991 /* linux_set_tid_address */
8993 if (ndx == 0 || ndx == 1)
8996 /* linux_timer_create */
8998 if (ndx == 0 || ndx == 1)
9001 /* linux_timer_settime */
9003 if (ndx == 0 || ndx == 1)
9006 /* linux_timer_gettime */
9008 if (ndx == 0 || ndx == 1)
9011 /* linux_timer_getoverrun */
9013 if (ndx == 0 || ndx == 1)
9016 /* linux_timer_delete */
9018 if (ndx == 0 || ndx == 1)
9021 /* linux_clock_settime */
9023 if (ndx == 0 || ndx == 1)
9026 /* linux_clock_gettime */
9028 if (ndx == 0 || ndx == 1)
9031 /* linux_clock_getres */
9033 if (ndx == 0 || ndx == 1)
9036 /* linux_clock_nanosleep */
9038 if (ndx == 0 || ndx == 1)
9041 /* linux_statfs64 */
9043 if (ndx == 0 || ndx == 1)
9046 /* linux_fstatfs64 */
9048 if (ndx == 0 || ndx == 1)
9053 if (ndx == 0 || ndx == 1)
9058 if (ndx == 0 || ndx == 1)
9061 /* linux_fadvise64_64 */
9063 if (ndx == 0 || ndx == 1)
9068 /* linux_get_mempolicy */
9070 /* linux_set_mempolicy */
9074 if (ndx == 0 || ndx == 1)
9077 /* linux_mq_unlink */
9079 if (ndx == 0 || ndx == 1)
9082 /* linux_mq_timedsend */
9084 if (ndx == 0 || ndx == 1)
9087 /* linux_mq_timedreceive */
9089 if (ndx == 0 || ndx == 1)
9092 /* linux_mq_notify */
9094 if (ndx == 0 || ndx == 1)
9097 /* linux_mq_getsetattr */
9099 if (ndx == 0 || ndx == 1)
9102 /* linux_kexec_load */
9106 if (ndx == 0 || ndx == 1)
9111 /* linux_request_key */
9115 /* linux_ioprio_set */
9117 /* linux_ioprio_get */
9119 /* linux_inotify_init */
9121 /* linux_inotify_add_watch */
9123 /* linux_inotify_rm_watch */
9125 /* linux_migrate_pages */
9129 if (ndx == 0 || ndx == 1)
9134 if (ndx == 0 || ndx == 1)
9139 if (ndx == 0 || ndx == 1)
9142 /* linux_fchownat */
9144 if (ndx == 0 || ndx == 1)
9147 /* linux_futimesat */
9149 if (ndx == 0 || ndx == 1)
9152 /* linux_fstatat64 */
9154 if (ndx == 0 || ndx == 1)
9157 /* linux_unlinkat */
9159 if (ndx == 0 || ndx == 1)
9162 /* linux_renameat */
9164 if (ndx == 0 || ndx == 1)
9169 if (ndx == 0 || ndx == 1)
9172 /* linux_symlinkat */
9174 if (ndx == 0 || ndx == 1)
9177 /* linux_readlinkat */
9179 if (ndx == 0 || ndx == 1)
9182 /* linux_fchmodat */
9184 if (ndx == 0 || ndx == 1)
9187 /* linux_faccessat */
9189 if (ndx == 0 || ndx == 1)
9192 /* linux_pselect6 */
9194 if (ndx == 0 || ndx == 1)
9199 if (ndx == 0 || ndx == 1)
9204 /* linux_set_robust_list */
9206 if (ndx == 0 || ndx == 1)
9209 /* linux_get_robust_list */
9211 if (ndx == 0 || ndx == 1)
9216 if (ndx == 0 || ndx == 1)
9219 /* linux_sync_file_range */
9221 if (ndx == 0 || ndx == 1)
9226 /* linux_vmsplice */
9228 /* linux_move_pages */
9232 if (ndx == 0 || ndx == 1)
9235 /* linux_epoll_pwait */
9237 if (ndx == 0 || ndx == 1)
9240 /* linux_utimensat */
9242 if (ndx == 0 || ndx == 1)
9245 /* linux_signalfd */
9247 /* linux_timerfd_create */
9249 if (ndx == 0 || ndx == 1)
9254 if (ndx == 0 || ndx == 1)
9257 /* linux_fallocate */
9259 if (ndx == 0 || ndx == 1)
9262 /* linux_timerfd_settime */
9264 if (ndx == 0 || ndx == 1)
9267 /* linux_timerfd_gettime */
9269 if (ndx == 0 || ndx == 1)
9272 /* linux_signalfd4 */
9274 /* linux_eventfd2 */
9276 if (ndx == 0 || ndx == 1)
9279 /* linux_epoll_create1 */
9281 if (ndx == 0 || ndx == 1)
9286 if (ndx == 0 || ndx == 1)
9291 if (ndx == 0 || ndx == 1)
9294 /* linux_inotify_init1 */
9298 if (ndx == 0 || ndx == 1)
9303 if (ndx == 0 || ndx == 1)
9306 /* linux_rt_tgsigqueueinfo */
9308 if (ndx == 0 || ndx == 1)
9311 /* linux_perf_event_open */
9313 /* linux_recvmmsg */
9315 if (ndx == 0 || ndx == 1)
9318 /* linux_fanotify_init */
9320 /* linux_fanotify_mark */
9322 /* linux_prlimit64 */
9324 if (ndx == 0 || ndx == 1)
9327 /* linux_name_to_handle_at */
9329 /* linux_open_by_handle_at */
9331 /* linux_clock_adjtime */
9335 if (ndx == 0 || ndx == 1)
9338 /* linux_sendmmsg */
9340 if (ndx == 0 || ndx == 1)
9345 /* linux_process_vm_readv */
9347 if (ndx == 0 || ndx == 1)
9350 /* linux_process_vm_writev */
9352 if (ndx == 0 || ndx == 1)
9357 if (ndx == 0 || ndx == 1)
9360 /* linux_finit_module */
9362 if (ndx == 0 || ndx == 1)
9365 /* linux_sched_setattr */
9367 if (ndx == 0 || ndx == 1)
9370 /* linux_sched_getattr */
9372 if (ndx == 0 || ndx == 1)
9375 /* linux_renameat2 */
9377 if (ndx == 0 || ndx == 1)
9382 if (ndx == 0 || ndx == 1)
9385 /* linux_getrandom */
9387 if (ndx == 0 || ndx == 1)
9390 /* linux_memfd_create */
9392 if (ndx == 0 || ndx == 1)
9397 if (ndx == 0 || ndx == 1)
9400 /* linux_execveat */
9402 if (ndx == 0 || ndx == 1)
9407 if (ndx == 0 || ndx == 1)
9410 /* linux_socketpair */
9412 if (ndx == 0 || ndx == 1)
9417 if (ndx == 0 || ndx == 1)
9422 if (ndx == 0 || ndx == 1)
9427 if (ndx == 0 || ndx == 1)
9432 if (ndx == 0 || ndx == 1)
9435 /* linux_getsockopt */
9437 if (ndx == 0 || ndx == 1)
9440 /* linux_setsockopt */
9442 if (ndx == 0 || ndx == 1)
9445 /* linux_getsockname */
9447 if (ndx == 0 || ndx == 1)
9450 /* linux_getpeername */
9452 if (ndx == 0 || ndx == 1)
9457 if (ndx == 0 || ndx == 1)
9462 if (ndx == 0 || ndx == 1)
9465 /* linux_recvfrom */
9467 if (ndx == 0 || ndx == 1)
9472 if (ndx == 0 || ndx == 1)
9475 /* linux_shutdown */
9477 if (ndx == 0 || ndx == 1)
9480 /* linux_userfaultfd */
9482 if (ndx == 0 || ndx == 1)
9485 /* linux_membarrier */
9487 if (ndx == 0 || ndx == 1)
9492 if (ndx == 0 || ndx == 1)
9495 /* linux_copy_file_range */
9497 if (ndx == 0 || ndx == 1)
9502 if (ndx == 0 || ndx == 1)
9505 /* linux_pwritev2 */
9507 if (ndx == 0 || ndx == 1)
9510 /* linux_pkey_mprotect */
9512 if (ndx == 0 || ndx == 1)
9515 /* linux_pkey_alloc */
9517 if (ndx == 0 || ndx == 1)
9520 /* linux_pkey_free */
9522 if (ndx == 0 || ndx == 1)
9527 if (ndx == 0 || ndx == 1)
9530 /* linux_arch_prctl */
9532 if (ndx == 0 || ndx == 1)
9535 /* linux_io_pgetevents */
9541 if (ndx == 0 || ndx == 1)
9546 if (ndx == 0 || ndx == 1)
9551 if (ndx == 0 || ndx == 1)
9556 if (ndx == 0 || ndx == 1)
9561 if (ndx == 0 || ndx == 1)
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_clock_gettime64 */
9591 /* linux_clock_settime64 */
9593 /* linux_clock_adjtime64 */
9595 /* linux_clock_getres_time64 */
9597 /* linux_clock_nanosleep_time64 */
9599 /* linux_timer_gettime64 */
9601 /* linux_timer_settime64 */
9603 /* linux_timerfd_gettime64 */
9605 /* linux_timerfd_settime64 */
9607 /* linux_utimensat_time64 */
9609 /* linux_pselect6_time64 */
9611 /* linux_ppoll_time64 */
9613 /* linux_io_pgetevents_time64 */
9615 /* linux_recvmmsg_time64 */
9617 /* linux_mq_timedsend_time64 */
9619 /* linux_mq_timedreceive_time64 */
9621 /* linux_semtimedop_time64 */
9623 /* linux_rt_sigtimedwait_time64 */
9625 /* linux_futex_time64 */
9627 /* linux_sched_rr_get_interval_time64 */
9629 /* linux_pidfd_send_signal */
9631 if (ndx == 0 || ndx == 1)
9634 /* linux_io_uring_setup */
9636 /* linux_io_uring_enter */
9638 /* linux_io_uring_register */
9644 strlcpy(desc, p, descsz);