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_ulong */
812 iarg[1] = p->stack; /* l_ulong */
813 uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
814 iarg[3] = p->tls; /* l_ulong */
815 uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
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 linux_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_timespec * */
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; /* uint32_t * */
1696 iarg[1] = p->op; /* l_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 */
2448 struct linux_name_to_handle_at_args *p = params;
2449 iarg[0] = p->dirfd; /* l_int */
2450 uarg[1] = (intptr_t)p->name; /* const char * */
2451 uarg[2] = (intptr_t)p->handle; /* struct l_file_handle * */
2452 uarg[3] = (intptr_t)p->mnt_id; /* l_int * */
2453 iarg[4] = p->flags; /* l_int */
2457 /* linux_open_by_handle_at */
2459 struct linux_open_by_handle_at_args *p = params;
2460 iarg[0] = p->mountdirfd; /* l_int */
2461 uarg[1] = (intptr_t)p->handle; /* struct l_file_handle * */
2462 iarg[2] = p->flags; /* l_int */
2466 /* linux_clock_adjtime */
2473 struct linux_syncfs_args *p = params;
2474 iarg[0] = p->fd; /* l_int */
2478 /* linux_sendmmsg */
2480 struct linux_sendmmsg_args *p = params;
2481 iarg[0] = p->s; /* l_int */
2482 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2483 iarg[2] = p->vlen; /* l_uint */
2484 iarg[3] = p->flags; /* l_uint */
2493 /* linux_process_vm_readv */
2495 struct linux_process_vm_readv_args *p = params;
2496 iarg[0] = p->pid; /* l_pid_t */
2497 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2498 iarg[2] = p->liovcnt; /* l_ulong */
2499 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2500 iarg[4] = p->riovcnt; /* l_ulong */
2501 iarg[5] = p->flags; /* l_ulong */
2505 /* linux_process_vm_writev */
2507 struct linux_process_vm_writev_args *p = params;
2508 iarg[0] = p->pid; /* l_pid_t */
2509 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2510 iarg[2] = p->liovcnt; /* l_ulong */
2511 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2512 iarg[4] = p->riovcnt; /* l_ulong */
2513 iarg[5] = p->flags; /* l_ulong */
2519 struct linux_kcmp_args *p = params;
2520 iarg[0] = p->pid1; /* l_pid_t */
2521 iarg[1] = p->pid2; /* l_pid_t */
2522 iarg[2] = p->type; /* l_int */
2523 iarg[3] = p->idx1; /* l_ulong */
2524 iarg[4] = p->idx; /* l_ulong */
2528 /* linux_finit_module */
2530 struct linux_finit_module_args *p = params;
2531 iarg[0] = p->fd; /* l_int */
2532 uarg[1] = (intptr_t)p->uargs; /* const char * */
2533 iarg[2] = p->flags; /* l_int */
2537 /* linux_sched_setattr */
2539 struct linux_sched_setattr_args *p = params;
2540 iarg[0] = p->pid; /* l_pid_t */
2541 uarg[1] = (intptr_t)p->attr; /* void * */
2542 iarg[2] = p->flags; /* l_uint */
2546 /* linux_sched_getattr */
2548 struct linux_sched_getattr_args *p = params;
2549 iarg[0] = p->pid; /* l_pid_t */
2550 uarg[1] = (intptr_t)p->attr; /* void * */
2551 iarg[2] = p->size; /* l_uint */
2552 iarg[3] = p->flags; /* l_uint */
2556 /* linux_renameat2 */
2558 struct linux_renameat2_args *p = params;
2559 iarg[0] = p->olddfd; /* l_int */
2560 uarg[1] = (intptr_t)p->oldname; /* const char * */
2561 iarg[2] = p->newdfd; /* l_int */
2562 uarg[3] = (intptr_t)p->newname; /* const char * */
2563 uarg[4] = p->flags; /* unsigned int */
2569 struct linux_seccomp_args *p = params;
2570 iarg[0] = p->op; /* l_uint */
2571 iarg[1] = p->flags; /* l_uint */
2572 uarg[2] = (intptr_t)p->uargs; /* const char * */
2576 /* linux_getrandom */
2578 struct linux_getrandom_args *p = params;
2579 uarg[0] = (intptr_t)p->buf; /* char * */
2580 iarg[1] = p->count; /* l_size_t */
2581 iarg[2] = p->flags; /* l_uint */
2585 /* linux_memfd_create */
2587 struct linux_memfd_create_args *p = params;
2588 uarg[0] = (intptr_t)p->uname_ptr; /* const char * */
2589 iarg[1] = p->flags; /* l_uint */
2595 struct linux_bpf_args *p = params;
2596 iarg[0] = p->cmd; /* l_int */
2597 uarg[1] = (intptr_t)p->attr; /* void * */
2598 iarg[2] = p->size; /* l_uint */
2602 /* linux_execveat */
2604 struct linux_execveat_args *p = params;
2605 iarg[0] = p->dfd; /* l_int */
2606 uarg[1] = (intptr_t)p->filename; /* const char * */
2607 uarg[2] = (intptr_t)p->argv; /* const char ** */
2608 uarg[3] = (intptr_t)p->envp; /* const char ** */
2609 iarg[4] = p->flags; /* l_int */
2615 struct linux_socket_args *p = params;
2616 iarg[0] = p->domain; /* l_int */
2617 iarg[1] = p->type; /* l_int */
2618 iarg[2] = p->protocol; /* l_int */
2622 /* linux_socketpair */
2624 struct linux_socketpair_args *p = params;
2625 iarg[0] = p->domain; /* l_int */
2626 iarg[1] = p->type; /* l_int */
2627 iarg[2] = p->protocol; /* l_int */
2628 iarg[3] = p->rsv; /* l_uintptr_t */
2634 struct linux_bind_args *p = params;
2635 iarg[0] = p->s; /* l_int */
2636 iarg[1] = p->name; /* l_uintptr_t */
2637 iarg[2] = p->namelen; /* l_int */
2643 struct linux_connect_args *p = params;
2644 iarg[0] = p->s; /* l_int */
2645 iarg[1] = p->name; /* l_uintptr_t */
2646 iarg[2] = p->namelen; /* l_int */
2652 struct linux_listen_args *p = params;
2653 iarg[0] = p->s; /* l_int */
2654 iarg[1] = p->backlog; /* l_int */
2660 struct linux_accept4_args *p = params;
2661 iarg[0] = p->s; /* l_int */
2662 iarg[1] = p->addr; /* l_uintptr_t */
2663 iarg[2] = p->namelen; /* l_uintptr_t */
2664 iarg[3] = p->flags; /* l_int */
2668 /* linux_getsockopt */
2670 struct linux_getsockopt_args *p = params;
2671 iarg[0] = p->s; /* l_int */
2672 iarg[1] = p->level; /* l_int */
2673 iarg[2] = p->optname; /* l_int */
2674 iarg[3] = p->optval; /* l_uintptr_t */
2675 iarg[4] = p->optlen; /* l_uintptr_t */
2679 /* linux_setsockopt */
2681 struct linux_setsockopt_args *p = params;
2682 iarg[0] = p->s; /* l_int */
2683 iarg[1] = p->level; /* l_int */
2684 iarg[2] = p->optname; /* l_int */
2685 iarg[3] = p->optval; /* l_uintptr_t */
2686 iarg[4] = p->optlen; /* l_int */
2690 /* linux_getsockname */
2692 struct linux_getsockname_args *p = params;
2693 iarg[0] = p->s; /* l_int */
2694 iarg[1] = p->addr; /* l_uintptr_t */
2695 iarg[2] = p->namelen; /* l_uintptr_t */
2699 /* linux_getpeername */
2701 struct linux_getpeername_args *p = params;
2702 iarg[0] = p->s; /* l_int */
2703 iarg[1] = p->addr; /* l_uintptr_t */
2704 iarg[2] = p->namelen; /* l_uintptr_t */
2710 struct linux_sendto_args *p = params;
2711 iarg[0] = p->s; /* l_int */
2712 iarg[1] = p->msg; /* l_uintptr_t */
2713 iarg[2] = p->len; /* l_int */
2714 iarg[3] = p->flags; /* l_int */
2715 iarg[4] = p->to; /* l_uintptr_t */
2716 iarg[5] = p->tolen; /* l_int */
2722 struct linux_sendmsg_args *p = params;
2723 iarg[0] = p->s; /* l_int */
2724 iarg[1] = p->msg; /* l_uintptr_t */
2725 iarg[2] = p->flags; /* l_int */
2729 /* linux_recvfrom */
2731 struct linux_recvfrom_args *p = params;
2732 iarg[0] = p->s; /* l_int */
2733 iarg[1] = p->buf; /* l_uintptr_t */
2734 iarg[2] = p->len; /* l_size_t */
2735 iarg[3] = p->flags; /* l_int */
2736 iarg[4] = p->from; /* l_uintptr_t */
2737 iarg[5] = p->fromlen; /* l_uintptr_t */
2743 struct linux_recvmsg_args *p = params;
2744 iarg[0] = p->s; /* l_int */
2745 iarg[1] = p->msg; /* l_uintptr_t */
2746 iarg[2] = p->flags; /* l_int */
2750 /* linux_shutdown */
2752 struct linux_shutdown_args *p = params;
2753 iarg[0] = p->s; /* l_int */
2754 iarg[1] = p->how; /* l_int */
2758 /* linux_userfaultfd */
2760 struct linux_userfaultfd_args *p = params;
2761 iarg[0] = p->flags; /* l_int */
2765 /* linux_membarrier */
2767 struct linux_membarrier_args *p = params;
2768 iarg[0] = p->cmd; /* l_int */
2769 iarg[1] = p->flags; /* l_int */
2775 struct linux_mlock2_args *p = params;
2776 iarg[0] = p->start; /* l_ulong */
2777 iarg[1] = p->len; /* l_size_t */
2778 iarg[2] = p->flags; /* l_int */
2782 /* linux_copy_file_range */
2784 struct linux_copy_file_range_args *p = params;
2785 iarg[0] = p->fd_in; /* l_int */
2786 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2787 iarg[2] = p->fd_out; /* l_int */
2788 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2789 iarg[4] = p->len; /* l_size_t */
2790 iarg[5] = p->flags; /* l_uint */
2796 struct linux_preadv2_args *p = params;
2797 iarg[0] = p->fd; /* l_ulong */
2798 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2799 iarg[2] = p->vlen; /* l_ulong */
2800 iarg[3] = p->pos_l; /* l_ulong */
2801 iarg[4] = p->pos_h; /* l_ulong */
2802 iarg[5] = p->flags; /* l_int */
2806 /* linux_pwritev2 */
2808 struct linux_pwritev2_args *p = params;
2809 iarg[0] = p->fd; /* l_ulong */
2810 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2811 iarg[2] = p->vlen; /* l_ulong */
2812 iarg[3] = p->pos_l; /* l_ulong */
2813 iarg[4] = p->pos_h; /* l_ulong */
2814 iarg[5] = p->flags; /* l_int */
2818 /* linux_pkey_mprotect */
2820 struct linux_pkey_mprotect_args *p = params;
2821 iarg[0] = p->start; /* l_ulong */
2822 iarg[1] = p->len; /* l_size_t */
2823 iarg[2] = p->prot; /* l_ulong */
2824 iarg[3] = p->pkey; /* l_int */
2828 /* linux_pkey_alloc */
2830 struct linux_pkey_alloc_args *p = params;
2831 iarg[0] = p->flags; /* l_ulong */
2832 iarg[1] = p->init_val; /* l_ulong */
2836 /* linux_pkey_free */
2838 struct linux_pkey_free_args *p = params;
2839 iarg[0] = p->pkey; /* l_int */
2845 struct linux_statx_args *p = params;
2846 iarg[0] = p->dirfd; /* l_int */
2847 uarg[1] = (intptr_t)p->pathname; /* const char * */
2848 iarg[2] = p->flags; /* l_uint */
2849 iarg[3] = p->mask; /* l_uint */
2850 uarg[4] = (intptr_t)p->statxbuf; /* void * */
2854 /* linux_arch_prctl */
2856 struct linux_arch_prctl_args *p = params;
2857 iarg[0] = p->option; /* l_int */
2858 iarg[1] = p->arg2; /* l_ulong */
2862 /* linux_io_pgetevents */
2869 struct linux_rseq_args *p = params;
2870 uarg[0] = (intptr_t)p->rseq; /* struct linux_rseq * */
2871 uarg[1] = p->rseq_len; /* uint32_t */
2872 iarg[2] = p->flags; /* l_int */
2873 uarg[3] = p->sig; /* uint32_t */
2879 struct linux_semget_args *p = params;
2880 iarg[0] = p->key; /* l_key_t */
2881 iarg[1] = p->nsems; /* l_int */
2882 iarg[2] = p->semflg; /* l_int */
2888 struct linux_semctl_args *p = params;
2889 iarg[0] = p->semid; /* l_int */
2890 iarg[1] = p->semnum; /* l_int */
2891 iarg[2] = p->cmd; /* l_int */
2892 uarg[3] = p->arg.buf; /* union l_semun */
2898 struct linux_shmget_args *p = params;
2899 iarg[0] = p->key; /* l_key_t */
2900 iarg[1] = p->size; /* l_size_t */
2901 iarg[2] = p->shmflg; /* l_int */
2907 struct linux_shmctl_args *p = params;
2908 iarg[0] = p->shmid; /* l_int */
2909 iarg[1] = p->cmd; /* l_int */
2910 uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */
2916 struct linux_shmat_args *p = params;
2917 iarg[0] = p->shmid; /* l_int */
2918 uarg[1] = (intptr_t)p->shmaddr; /* char * */
2919 iarg[2] = p->shmflg; /* l_int */
2925 struct linux_shmdt_args *p = params;
2926 uarg[0] = (intptr_t)p->shmaddr; /* char * */
2932 struct linux_msgget_args *p = params;
2933 iarg[0] = p->key; /* l_key_t */
2934 iarg[1] = p->msgflg; /* l_int */
2940 struct linux_msgsnd_args *p = params;
2941 iarg[0] = p->msqid; /* l_int */
2942 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2943 iarg[2] = p->msgsz; /* l_size_t */
2944 iarg[3] = p->msgflg; /* l_int */
2950 struct linux_msgrcv_args *p = params;
2951 iarg[0] = p->msqid; /* l_int */
2952 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2953 iarg[2] = p->msgsz; /* l_size_t */
2954 iarg[3] = p->msgtyp; /* l_long */
2955 iarg[4] = p->msgflg; /* l_int */
2961 struct linux_msgctl_args *p = params;
2962 iarg[0] = p->msqid; /* l_int */
2963 iarg[1] = p->cmd; /* l_int */
2964 uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */
2968 /* linux_clock_gettime64 */
2970 struct linux_clock_gettime64_args *p = params;
2971 iarg[0] = p->which; /* clockid_t */
2972 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2976 /* linux_clock_settime64 */
2978 struct linux_clock_settime64_args *p = params;
2979 iarg[0] = p->which; /* clockid_t */
2980 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2984 /* linux_clock_adjtime64 */
2989 /* linux_clock_getres_time64 */
2991 struct linux_clock_getres_time64_args *p = params;
2992 iarg[0] = p->which; /* clockid_t */
2993 uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
2997 /* linux_clock_nanosleep_time64 */
2999 struct linux_clock_nanosleep_time64_args *p = params;
3000 iarg[0] = p->which; /* clockid_t */
3001 iarg[1] = p->flags; /* l_int */
3002 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec64 * */
3003 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec64 * */
3007 /* linux_timer_gettime64 */
3009 struct linux_timer_gettime64_args *p = params;
3010 iarg[0] = p->timerid; /* l_timer_t */
3011 uarg[1] = (intptr_t)p->setting; /* struct l_itimerspec64 * */
3015 /* linux_timer_settime64 */
3017 struct linux_timer_settime64_args *p = params;
3018 iarg[0] = p->timerid; /* l_timer_t */
3019 iarg[1] = p->flags; /* l_int */
3020 uarg[2] = (intptr_t)p->new; /* const struct l_itimerspec64 * */
3021 uarg[3] = (intptr_t)p->old; /* struct l_itimerspec64 * */
3025 /* linux_timerfd_gettime64 */
3027 struct linux_timerfd_gettime64_args *p = params;
3028 iarg[0] = p->fd; /* l_int */
3029 uarg[1] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
3033 /* linux_timerfd_settime64 */
3035 struct linux_timerfd_settime64_args *p = params;
3036 iarg[0] = p->fd; /* l_int */
3037 iarg[1] = p->flags; /* l_int */
3038 uarg[2] = (intptr_t)p->new_value; /* const struct l_itimerspec64 * */
3039 uarg[3] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
3043 /* linux_utimensat_time64 */
3045 struct linux_utimensat_time64_args *p = params;
3046 iarg[0] = p->dfd; /* l_int */
3047 uarg[1] = (intptr_t)p->pathname; /* const char * */
3048 uarg[2] = (intptr_t)p->times64; /* const struct l_timespec64 * */
3049 iarg[3] = p->flags; /* l_int */
3053 /* linux_pselect6_time64 */
3055 struct linux_pselect6_time64_args *p = params;
3056 iarg[0] = p->nfds; /* l_int */
3057 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
3058 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
3059 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
3060 uarg[4] = (intptr_t)p->tsp; /* struct l_timespec64 * */
3061 uarg[5] = (intptr_t)p->sig; /* l_uintptr_t * */
3065 /* linux_ppoll_time64 */
3067 struct linux_ppoll_time64_args *p = params;
3068 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
3069 uarg[1] = p->nfds; /* uint32_t */
3070 uarg[2] = (intptr_t)p->tsp; /* struct l_timespec * */
3071 uarg[3] = (intptr_t)p->sset; /* l_sigset_t * */
3072 iarg[4] = p->ssize; /* l_size_t */
3076 /* linux_io_pgetevents_time64 */
3081 /* linux_recvmmsg_time64 */
3086 /* linux_mq_timedsend_time64 */
3091 /* linux_mq_timedreceive_time64 */
3096 /* linux_semtimedop_time64 */
3101 /* linux_rt_sigtimedwait_time64 */
3103 struct linux_rt_sigtimedwait_time64_args *p = params;
3104 uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */
3105 uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */
3106 uarg[2] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3107 iarg[3] = p->sigsetsize; /* l_size_t */
3111 /* linux_sys_futex_time64 */
3113 struct linux_sys_futex_time64_args *p = params;
3114 uarg[0] = (intptr_t)p->uaddr; /* uint32_t * */
3115 iarg[1] = p->op; /* l_int */
3116 uarg[2] = p->val; /* uint32_t */
3117 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3118 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
3119 uarg[5] = p->val3; /* uint32_t */
3123 /* linux_sched_rr_get_interval_time64 */
3125 struct linux_sched_rr_get_interval_time64_args *p = params;
3126 iarg[0] = p->pid; /* l_pid_t */
3127 uarg[1] = (intptr_t)p->interval; /* struct l_timespec64 * */
3131 /* linux_pidfd_send_signal */
3133 struct linux_pidfd_send_signal_args *p = params;
3134 iarg[0] = p->pidfd; /* l_int */
3135 iarg[1] = p->sig; /* l_int */
3136 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
3137 iarg[3] = p->flags; /* l_uint */
3141 /* linux_io_uring_setup */
3146 /* linux_io_uring_enter */
3151 /* linux_io_uring_register */
3156 /* linux_open_tree */
3161 /* linux_move_mount */
3171 /* linux_fsconfig */
3186 /* linux_pidfd_open */
3193 struct linux_clone3_args *p = params;
3194 uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
3195 iarg[1] = p->usize; /* l_size_t */
3199 /* linux_close_range */
3209 /* linux_pidfd_getfd */
3214 /* linux_faccessat2 */
3216 struct linux_faccessat2_args *p = params;
3217 iarg[0] = p->dfd; /* l_int */
3218 uarg[1] = (intptr_t)p->filename; /* const char * */
3219 iarg[2] = p->amode; /* l_int */
3220 iarg[3] = p->flags; /* l_int */
3224 /* linux_process_madvise */
3229 /* linux_epoll_pwait2_64 */
3231 struct linux_epoll_pwait2_64_args *p = params;
3232 iarg[0] = p->epfd; /* l_int */
3233 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
3234 iarg[2] = p->maxevents; /* l_int */
3235 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3236 uarg[4] = (intptr_t)p->mask; /* l_sigset_t * */
3237 iarg[5] = p->sigsetsize; /* l_size_t */
3241 /* linux_mount_setattr */
3252 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3254 const char *p = NULL;
3256 #define nosys linux_nosys
3277 p = "userland char *";
3293 p = "userland char *";
3306 p = "userland char *";
3335 p = "userland l_int *";
3348 p = "userland char *";
3361 p = "userland char *";
3364 p = "userland char *";
3374 p = "userland char *";
3384 p = "userland char *";
3387 p = "userland uint32_t *";
3390 p = "userland uint32_t *";
3400 p = "userland char *";
3410 p = "userland l_time_t *";
3420 p = "userland char *";
3436 p = "userland char *";
3445 /* linux_lchown16 */
3449 p = "userland char *";
3465 p = "userland char *";
3468 p = "userland struct linux_stat *";
3497 p = "userland char *";
3500 p = "userland char *";
3503 p = "userland char *";
3509 p = "userland void *";
3515 /* linux_oldumount */
3519 p = "userland char *";
3525 /* linux_setuid16 */
3535 /* linux_getuid16 */
3577 p = "userland char *";
3580 p = "userland struct l_utimbuf *";
3590 p = "userland char *";
3629 p = "userland char *";
3632 p = "userland char *";
3642 p = "userland char *";
3655 p = "userland char *";
3675 p = "userland l_int *";
3685 p = "userland struct l_times_argv *";
3701 /* linux_setgid16 */
3711 /* linux_getgid16 */
3727 /* linux_geteuid16 */
3730 /* linux_getegid16 */
3737 p = "userland char *";
3747 p = "userland char *";
3801 /* linux_olduname */
3818 p = "userland char *";
3831 p = "userland struct l_ustat *";
3859 /* linux_sigaction */
3866 p = "userland l_osigaction_t *";
3869 p = "userland l_osigaction_t *";
3875 /* linux_sgetmask */
3878 /* linux_ssetmask */
3888 /* linux_setreuid16 */
3901 /* linux_setregid16 */
3914 /* linux_sigsuspend */
3930 /* linux_sigpending */
3934 p = "userland l_osigset_t *";
3940 /* linux_sethostname */
3944 p = "userland char *";
3953 /* linux_setrlimit */
3960 p = "userland struct l_rlimit *";
3966 /* linux_old_getrlimit */
3973 p = "userland struct l_rlimit *";
3979 /* linux_getrusage */
3986 p = "userland struct l_rusage *";
3992 /* linux_gettimeofday */
3996 p = "userland struct l_timeval *";
3999 p = "userland struct timezone *";
4005 /* linux_settimeofday */
4009 p = "userland struct l_timeval *";
4012 p = "userland struct timezone *";
4018 /* linux_getgroups16 */
4025 p = "userland l_gid16_t *";
4031 /* linux_setgroups16 */
4038 p = "userland l_gid16_t *";
4044 /* linux_old_select */
4048 p = "userland struct l_old_select_argv *";
4058 p = "userland char *";
4061 p = "userland char *";
4071 p = "userland char *";
4074 p = "userland struct linux_lstat *";
4080 /* linux_readlink */
4084 p = "userland char *";
4087 p = "userland char *";
4100 p = "userland char *";
4119 p = "userland void *";
4132 p = "userland struct l_dirent *";
4145 p = "userland struct l_mmap_argv *";
4164 /* linux_truncate */
4168 p = "userland char *";
4177 /* linux_ftruncate */
4219 /* linux_getpriority */
4252 p = "userland char *";
4255 p = "userland struct l_statfs_buf *";
4268 p = "userland struct l_statfs_buf *";
4274 /* linux_socketcall */
4294 p = "userland char *";
4303 /* linux_setitimer */
4310 p = "userland struct l_itimerval *";
4313 p = "userland struct l_itimerval *";
4319 /* linux_getitimer */
4326 p = "userland struct l_itimerval *";
4336 p = "userland char *";
4339 p = "userland struct l_newstat *";
4345 /* linux_newlstat */
4349 p = "userland char *";
4352 p = "userland struct l_newstat *";
4358 /* linux_newfstat */
4365 p = "userland struct l_newstat *";
4394 p = "userland l_int *";
4400 p = "userland struct l_rusage *";
4413 p = "userland struct l_sysinfo *";
4454 /* linux_sigreturn */
4458 p = "userland struct l_sigframe *";
4474 p = "userland l_int *";
4480 p = "userland l_int *";
4486 /* linux_setdomainname */
4490 p = "userland char *";
4499 /* linux_newuname */
4503 p = "userland struct l_new_utsname *";
4509 /* linux_adjtimex */
4512 /* linux_mprotect */
4528 /* linux_sigprocmask */
4535 p = "userland l_osigset_t *";
4538 p = "userland l_osigset_t *";
4544 /* linux_init_module */
4547 /* linux_delete_module */
4550 /* linux_quotactl */
4592 /* linux_personality */
4602 /* linux_setfsuid16 */
4612 /* linux_setfsgid16 */
4635 p = "userland l_loff_t *";
4644 /* linux_getdents */
4651 p = "userland void *";
4667 p = "userland l_fd_set *";
4670 p = "userland l_fd_set *";
4673 p = "userland l_fd_set *";
4676 p = "userland struct l_timeval *";
4718 p = "userland struct l_iovec32 *";
4734 p = "userland struct l_iovec32 *";
4753 /* linux_fdatasync */
4767 p = "userland struct l___sysctl_args *";
4777 p = "userland const void *";
4790 p = "userland const void *";
4812 /* linux_sched_setparam */
4819 p = "userland struct sched_param *";
4825 /* linux_sched_getparam */
4832 p = "userland struct sched_param *";
4838 /* linux_sched_setscheduler */
4848 p = "userland struct sched_param *";
4854 /* linux_sched_getscheduler */
4867 /* linux_sched_get_priority_max */
4877 /* linux_sched_get_priority_min */
4887 /* linux_sched_rr_get_interval */
4894 p = "userland struct l_timespec *";
4900 /* linux_nanosleep */
4904 p = "userland const struct l_timespec *";
4907 p = "userland struct l_timespec *";
4935 /* linux_setresuid16 */
4951 /* linux_getresuid16 */
4955 p = "userland l_uid16_t *";
4958 p = "userland l_uid16_t *";
4961 p = "userland l_uid16_t *";
4971 p = "userland struct pollfd *";
4983 /* linux_setresgid16 */
4999 /* linux_getresgid16 */
5003 p = "userland l_gid16_t *";
5006 p = "userland l_gid16_t *";
5009 p = "userland l_gid16_t *";
5037 /* linux_rt_sigreturn */
5041 p = "userland struct l_ucontext *";
5047 /* linux_rt_sigaction */
5054 p = "userland l_sigaction_t *";
5057 p = "userland l_sigaction_t *";
5066 /* linux_rt_sigprocmask */
5073 p = "userland l_sigset_t *";
5076 p = "userland l_sigset_t *";
5085 /* linux_rt_sigpending */
5089 p = "userland l_sigset_t *";
5098 /* linux_rt_sigtimedwait */
5102 p = "userland l_sigset_t *";
5105 p = "userland l_siginfo_t *";
5108 p = "userland struct l_timespec *";
5117 /* linux_rt_sigqueueinfo */
5127 p = "userland l_siginfo_t *";
5133 /* linux_rt_sigsuspend */
5137 p = "userland l_sigset_t *";
5153 p = "userland char *";
5175 p = "userland char *";
5194 p = "userland char *";
5210 p = "userland char *";
5223 p = "userland struct l_user_cap_header *";
5226 p = "userland struct l_user_cap_data *";
5236 p = "userland struct l_user_cap_header *";
5239 p = "userland struct l_user_cap_data *";
5245 /* linux_sigaltstack */
5249 p = "userland l_stack_t *";
5252 p = "userland l_stack_t *";
5258 /* linux_sendfile */
5268 p = "userland l_long *";
5280 /* linux_getrlimit */
5287 p = "userland struct l_rlimit *";
5318 /* linux_truncate64 */
5322 p = "userland char *";
5334 /* linux_ftruncate64 */
5354 p = "userland const char *";
5357 p = "userland struct l_stat64 *";
5367 p = "userland const char *";
5370 p = "userland struct l_stat64 *";
5383 p = "userland struct l_stat64 *";
5393 p = "userland char *";
5443 /* linux_getgroups */
5450 p = "userland l_gid_t *";
5456 /* linux_setgroups */
5463 p = "userland l_gid_t *";
5492 p = "userland uid_t *";
5495 p = "userland uid_t *";
5498 p = "userland uid_t *";
5524 p = "userland gid_t *";
5527 p = "userland gid_t *";
5530 p = "userland gid_t *";
5540 p = "userland char *";
5572 /* linux_setfsuid */
5582 /* linux_setfsgid */
5592 /* linux_pivot_root */
5596 p = "userland char *";
5599 p = "userland char *";
5615 p = "userland u_char *";
5625 p = "userland void *";
5637 /* linux_getdents64 */
5644 p = "userland void *";
5672 /* linux_setxattr */
5676 p = "userland const char *";
5679 p = "userland const char *";
5682 p = "userland const char *";
5694 /* linux_lsetxattr */
5698 p = "userland const char *";
5701 p = "userland const char *";
5704 p = "userland const char *";
5716 /* linux_fsetxattr */
5723 p = "userland const char *";
5726 p = "userland const char *";
5738 /* linux_getxattr */
5742 p = "userland const char *";
5745 p = "userland const char *";
5748 p = "userland char *";
5757 /* linux_lgetxattr */
5761 p = "userland const char *";
5764 p = "userland const char *";
5767 p = "userland char *";
5776 /* linux_fgetxattr */
5783 p = "userland const char *";
5786 p = "userland char *";
5795 /* linux_listxattr */
5799 p = "userland const char *";
5802 p = "userland const char *";
5811 /* linux_llistxattr */
5815 p = "userland const char *";
5818 p = "userland const char *";
5827 /* linux_flistxattr */
5834 p = "userland const char *";
5843 /* linux_removexattr */
5847 p = "userland const char *";
5850 p = "userland const char *";
5856 /* linux_lremovexattr */
5860 p = "userland const char *";
5863 p = "userland const char *";
5869 /* linux_fremovexattr */
5876 p = "userland const char *";
5895 /* linux_sendfile64 */
5905 p = "userland l_loff_t *";
5914 /* linux_sys_futex */
5918 p = "userland uint32_t *";
5927 p = "userland struct l_timespec *";
5930 p = "userland uint32_t *";
5939 /* linux_sched_setaffinity */
5949 p = "userland l_ulong *";
5955 /* linux_sched_getaffinity */
5965 p = "userland l_ulong *";
5971 /* linux_set_thread_area */
5975 p = "userland struct l_user_desc *";
5981 /* linux_fadvise64 */
6003 /* linux_exit_group */
6013 /* linux_lookup_dcookie */
6016 /* linux_epoll_create */
6026 /* linux_epoll_ctl */
6039 p = "userland struct epoll_event *";
6045 /* linux_epoll_wait */
6052 p = "userland struct epoll_event *";
6064 /* linux_remap_file_pages */
6067 /* linux_set_tid_address */
6071 p = "userland int *";
6077 /* linux_timer_create */
6084 p = "userland struct sigevent *";
6087 p = "userland l_timer_t *";
6093 /* linux_timer_settime */
6103 p = "userland const struct itimerspec *";
6106 p = "userland struct itimerspec *";
6112 /* linux_timer_gettime */
6119 p = "userland struct itimerspec *";
6125 /* linux_timer_getoverrun */
6135 /* linux_timer_delete */
6145 /* linux_clock_settime */
6152 p = "userland struct l_timespec *";
6158 /* linux_clock_gettime */
6165 p = "userland struct l_timespec *";
6171 /* linux_clock_getres */
6178 p = "userland struct l_timespec *";
6184 /* linux_clock_nanosleep */
6194 p = "userland struct l_timespec *";
6197 p = "userland struct l_timespec *";
6203 /* linux_statfs64 */
6207 p = "userland char *";
6213 p = "userland struct l_statfs64_buf *";
6219 /* linux_fstatfs64 */
6229 p = "userland struct l_statfs64_buf *";
6255 p = "userland char *";
6258 p = "userland struct l_timeval *";
6264 /* linux_fadvise64_64 */
6292 /* linux_get_mempolicy */
6295 /* linux_set_mempolicy */
6302 p = "userland const char *";
6311 p = "userland struct mq_attr *";
6317 /* linux_mq_unlink */
6321 p = "userland const char *";
6327 /* linux_mq_timedsend */
6334 p = "userland const char *";
6343 p = "userland const struct l_timespec *";
6349 /* linux_mq_timedreceive */
6356 p = "userland char *";
6362 p = "userland l_uint *";
6365 p = "userland const struct l_timespec *";
6371 /* linux_mq_notify */
6378 p = "userland const struct l_timespec *";
6384 /* linux_mq_getsetattr */
6391 p = "userland const struct mq_attr *";
6394 p = "userland struct mq_attr *";
6400 /* linux_kexec_load */
6413 p = "userland l_siginfo_t *";
6419 p = "userland struct l_rusage *";
6428 /* linux_request_key */
6434 /* linux_ioprio_set */
6437 /* linux_ioprio_get */
6440 /* linux_inotify_init */
6443 /* linux_inotify_add_watch */
6446 /* linux_inotify_rm_watch */
6449 /* linux_migrate_pages */
6459 p = "userland const char *";
6478 p = "userland const char *";
6494 p = "userland const char *";
6506 /* linux_fchownat */
6513 p = "userland const char *";
6528 /* linux_futimesat */
6535 p = "userland char *";
6538 p = "userland struct l_timeval *";
6544 /* linux_fstatat64 */
6551 p = "userland char *";
6554 p = "userland struct l_stat64 *";
6563 /* linux_unlinkat */
6570 p = "userland const char *";
6579 /* linux_renameat */
6586 p = "userland const char *";
6592 p = "userland const char *";
6605 p = "userland const char *";
6611 p = "userland const char *";
6620 /* linux_symlinkat */
6624 p = "userland const char *";
6630 p = "userland const char *";
6636 /* linux_readlinkat */
6643 p = "userland const char *";
6646 p = "userland char *";
6655 /* linux_fchmodat */
6662 p = "userland const char *";
6671 /* linux_faccessat */
6678 p = "userland const char *";
6687 /* linux_pselect6 */
6694 p = "userland l_fd_set *";
6697 p = "userland l_fd_set *";
6700 p = "userland l_fd_set *";
6703 p = "userland struct l_timespec *";
6706 p = "userland l_uintptr_t *";
6716 p = "userland struct pollfd *";
6722 p = "userland struct l_timespec *";
6725 p = "userland l_sigset_t *";
6737 /* linux_set_robust_list */
6741 p = "userland struct linux_robust_list_head *";
6750 /* linux_get_robust_list */
6757 p = "userland struct linux_robust_list_head **";
6760 p = "userland l_size_t *";
6773 p = "userland l_loff_t *";
6779 p = "userland l_loff_t *";
6791 /* linux_sync_file_range */
6819 /* linux_vmsplice */
6822 /* linux_move_pages */
6829 p = "userland l_uint *";
6832 p = "userland l_uint *";
6835 p = "userland void *";
6841 /* linux_epoll_pwait */
6848 p = "userland struct epoll_event *";
6857 p = "userland l_sigset_t *";
6866 /* linux_utimensat */
6873 p = "userland const char *";
6876 p = "userland const struct l_timespec *";
6885 /* linux_signalfd */
6888 /* linux_timerfd_create */
6911 /* linux_fallocate */
6936 /* linux_timerfd_settime */
6946 p = "userland const struct l_itimerspec *";
6949 p = "userland struct l_itimerspec *";
6955 /* linux_timerfd_gettime */
6962 p = "userland struct l_itimerspec *";
6968 /* linux_signalfd4 */
6971 /* linux_eventfd2 */
6984 /* linux_epoll_create1 */
7014 p = "userland l_int *";
7023 /* linux_inotify_init1 */
7033 p = "userland struct iovec *";
7055 p = "userland struct iovec *";
7070 /* linux_rt_tgsigqueueinfo */
7083 p = "userland l_siginfo_t *";
7089 /* linux_perf_event_open */
7092 /* linux_recvmmsg */
7099 p = "userland struct l_mmsghdr *";
7108 p = "userland struct l_timespec *";
7114 /* linux_fanotify_init */
7117 /* linux_fanotify_mark */
7120 /* linux_prlimit64 */
7130 p = "userland struct rlimit *";
7133 p = "userland struct rlimit *";
7139 /* linux_name_to_handle_at */
7146 p = "userland const char *";
7149 p = "userland struct l_file_handle *";
7152 p = "userland l_int *";
7161 /* linux_open_by_handle_at */
7168 p = "userland struct l_file_handle *";
7177 /* linux_clock_adjtime */
7190 /* linux_sendmmsg */
7197 p = "userland struct l_mmsghdr *";
7212 /* linux_process_vm_readv */
7219 p = "userland const struct iovec *";
7225 p = "userland const struct iovec *";
7237 /* linux_process_vm_writev */
7244 p = "userland const struct iovec *";
7250 p = "userland const struct iovec *";
7284 /* linux_finit_module */
7291 p = "userland const char *";
7300 /* linux_sched_setattr */
7307 p = "userland void *";
7316 /* linux_sched_getattr */
7323 p = "userland void *";
7335 /* linux_renameat2 */
7342 p = "userland const char *";
7348 p = "userland const char *";
7367 p = "userland const char *";
7373 /* linux_getrandom */
7377 p = "userland char *";
7389 /* linux_memfd_create */
7393 p = "userland const char *";
7409 p = "userland void *";
7418 /* linux_execveat */
7425 p = "userland const char *";
7428 p = "userland const char **";
7431 p = "userland const char **";
7456 /* linux_socketpair */
7539 /* linux_getsockopt */
7561 /* linux_setsockopt */
7583 /* linux_getsockname */
7599 /* linux_getpeername */
7656 /* linux_recvfrom */
7697 /* linux_shutdown */
7710 /* linux_userfaultfd */
7720 /* linux_membarrier */
7749 /* linux_copy_file_range */
7756 p = "userland l_loff_t *";
7762 p = "userland l_loff_t *";
7781 p = "userland const struct iovec *";
7799 /* linux_pwritev2 */
7806 p = "userland const struct iovec *";
7824 /* linux_pkey_mprotect */
7843 /* linux_pkey_alloc */
7856 /* linux_pkey_free */
7873 p = "userland const char *";
7882 p = "userland void *";
7888 /* linux_arch_prctl */
7901 /* linux_io_pgetevents */
7908 p = "userland struct linux_rseq *";
7952 p = "union l_semun";
7984 p = "userland struct l_shmid_ds *";
7997 p = "userland char *";
8010 p = "userland char *";
8036 p = "userland struct l_msgbuf *";
8055 p = "userland struct l_msgbuf *";
8080 p = "userland struct l_msqid_ds *";
8086 /* linux_clock_gettime64 */
8093 p = "userland struct l_timespec64 *";
8099 /* linux_clock_settime64 */
8106 p = "userland struct l_timespec64 *";
8112 /* linux_clock_adjtime64 */
8115 /* linux_clock_getres_time64 */
8122 p = "userland struct l_timespec64 *";
8128 /* linux_clock_nanosleep_time64 */
8138 p = "userland struct l_timespec64 *";
8141 p = "userland struct l_timespec64 *";
8147 /* linux_timer_gettime64 */
8154 p = "userland struct l_itimerspec64 *";
8160 /* linux_timer_settime64 */
8170 p = "userland const struct l_itimerspec64 *";
8173 p = "userland struct l_itimerspec64 *";
8179 /* linux_timerfd_gettime64 */
8186 p = "userland struct l_itimerspec64 *";
8192 /* linux_timerfd_settime64 */
8202 p = "userland const struct l_itimerspec64 *";
8205 p = "userland struct l_itimerspec64 *";
8211 /* linux_utimensat_time64 */
8218 p = "userland const char *";
8221 p = "userland const struct l_timespec64 *";
8230 /* linux_pselect6_time64 */
8237 p = "userland l_fd_set *";
8240 p = "userland l_fd_set *";
8243 p = "userland l_fd_set *";
8246 p = "userland struct l_timespec64 *";
8249 p = "userland l_uintptr_t *";
8255 /* linux_ppoll_time64 */
8259 p = "userland struct pollfd *";
8265 p = "userland struct l_timespec *";
8268 p = "userland l_sigset_t *";
8277 /* linux_io_pgetevents_time64 */
8280 /* linux_recvmmsg_time64 */
8283 /* linux_mq_timedsend_time64 */
8286 /* linux_mq_timedreceive_time64 */
8289 /* linux_semtimedop_time64 */
8292 /* linux_rt_sigtimedwait_time64 */
8296 p = "userland l_sigset_t *";
8299 p = "userland l_siginfo_t *";
8302 p = "userland struct l_timespec64 *";
8311 /* linux_sys_futex_time64 */
8315 p = "userland uint32_t *";
8324 p = "userland struct l_timespec64 *";
8327 p = "userland uint32_t *";
8336 /* linux_sched_rr_get_interval_time64 */
8343 p = "userland struct l_timespec64 *";
8349 /* linux_pidfd_send_signal */
8359 p = "userland l_siginfo_t *";
8368 /* linux_io_uring_setup */
8371 /* linux_io_uring_enter */
8374 /* linux_io_uring_register */
8377 /* linux_open_tree */
8380 /* linux_move_mount */
8386 /* linux_fsconfig */
8395 /* linux_pidfd_open */
8402 p = "userland struct l_user_clone_args *";
8411 /* linux_close_range */
8417 /* linux_pidfd_getfd */
8420 /* linux_faccessat2 */
8427 p = "userland const char *";
8439 /* linux_process_madvise */
8442 /* linux_epoll_pwait2_64 */
8449 p = "userland struct epoll_event *";
8455 p = "userland struct l_timespec64 *";
8458 p = "userland l_sigset_t *";
8467 /* linux_mount_setattr */
8474 strlcpy(desc, p, descsz);
8477 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8479 const char *p = NULL;
8481 #define nosys linux_nosys
8484 if (ndx == 0 || ndx == 1)
8491 if (ndx == 0 || ndx == 1)
8496 if (ndx == 0 || ndx == 1)
8501 if (ndx == 0 || ndx == 1)
8506 if (ndx == 0 || ndx == 1)
8511 if (ndx == 0 || ndx == 1)
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)
8551 if (ndx == 0 || ndx == 1)
8554 /* linux_lchown16 */
8556 if (ndx == 0 || ndx == 1)
8561 if (ndx == 0 || ndx == 1)
8566 if (ndx == 0 || ndx == 1)
8573 if (ndx == 0 || ndx == 1)
8576 /* linux_oldumount */
8578 if (ndx == 0 || ndx == 1)
8581 /* linux_setuid16 */
8583 if (ndx == 0 || ndx == 1)
8586 /* linux_getuid16 */
8592 if (ndx == 0 || ndx == 1)
8597 if (ndx == 0 || ndx == 1)
8604 if (ndx == 0 || ndx == 1)
8609 if (ndx == 0 || ndx == 1)
8614 if (ndx == 0 || ndx == 1)
8621 if (ndx == 0 || ndx == 1)
8626 if (ndx == 0 || ndx == 1)
8631 if (ndx == 0 || ndx == 1)
8636 if (ndx == 0 || ndx == 1)
8641 if (ndx == 0 || ndx == 1)
8646 if (ndx == 0 || ndx == 1)
8651 if (ndx == 0 || ndx == 1)
8656 if (ndx == 0 || ndx == 1)
8659 /* linux_setgid16 */
8661 if (ndx == 0 || ndx == 1)
8664 /* linux_getgid16 */
8668 if (ndx == 0 || ndx == 1)
8671 /* linux_geteuid16 */
8673 /* linux_getegid16 */
8677 if (ndx == 0 || ndx == 1)
8682 if (ndx == 0 || ndx == 1)
8687 if (ndx == 0 || ndx == 1)
8692 if (ndx == 0 || ndx == 1)
8697 if (ndx == 0 || ndx == 1)
8700 /* linux_olduname */
8704 if (ndx == 0 || ndx == 1)
8709 if (ndx == 0 || ndx == 1)
8714 if (ndx == 0 || ndx == 1)
8719 if (ndx == 0 || ndx == 1)
8728 /* linux_sigaction */
8730 if (ndx == 0 || ndx == 1)
8733 /* linux_sgetmask */
8735 /* linux_ssetmask */
8737 if (ndx == 0 || ndx == 1)
8740 /* linux_setreuid16 */
8742 if (ndx == 0 || ndx == 1)
8745 /* linux_setregid16 */
8747 if (ndx == 0 || ndx == 1)
8750 /* linux_sigsuspend */
8752 if (ndx == 0 || ndx == 1)
8755 /* linux_sigpending */
8757 if (ndx == 0 || ndx == 1)
8760 /* linux_sethostname */
8762 if (ndx == 0 || ndx == 1)
8765 /* linux_setrlimit */
8767 if (ndx == 0 || ndx == 1)
8770 /* linux_old_getrlimit */
8772 if (ndx == 0 || ndx == 1)
8775 /* linux_getrusage */
8777 if (ndx == 0 || ndx == 1)
8780 /* linux_gettimeofday */
8782 if (ndx == 0 || ndx == 1)
8785 /* linux_settimeofday */
8787 if (ndx == 0 || ndx == 1)
8790 /* linux_getgroups16 */
8792 if (ndx == 0 || ndx == 1)
8795 /* linux_setgroups16 */
8797 if (ndx == 0 || ndx == 1)
8800 /* linux_old_select */
8802 if (ndx == 0 || ndx == 1)
8807 if (ndx == 0 || ndx == 1)
8812 if (ndx == 0 || ndx == 1)
8815 /* linux_readlink */
8817 if (ndx == 0 || ndx == 1)
8822 if (ndx == 0 || ndx == 1)
8827 if (ndx == 0 || ndx == 1)
8832 if (ndx == 0 || ndx == 1)
8837 if (ndx == 0 || ndx == 1)
8842 if (ndx == 0 || ndx == 1)
8845 /* linux_truncate */
8847 if (ndx == 0 || ndx == 1)
8850 /* linux_ftruncate */
8852 if (ndx == 0 || ndx == 1)
8857 if (ndx == 0 || ndx == 1)
8862 if (ndx == 0 || ndx == 1)
8865 /* linux_getpriority */
8867 if (ndx == 0 || ndx == 1)
8872 if (ndx == 0 || ndx == 1)
8877 if (ndx == 0 || ndx == 1)
8882 if (ndx == 0 || ndx == 1)
8885 /* linux_socketcall */
8887 if (ndx == 0 || ndx == 1)
8892 if (ndx == 0 || ndx == 1)
8895 /* linux_setitimer */
8897 if (ndx == 0 || ndx == 1)
8900 /* linux_getitimer */
8902 if (ndx == 0 || ndx == 1)
8907 if (ndx == 0 || ndx == 1)
8910 /* linux_newlstat */
8912 if (ndx == 0 || ndx == 1)
8915 /* linux_newfstat */
8917 if (ndx == 0 || ndx == 1)
8924 if (ndx == 0 || ndx == 1)
8931 if (ndx == 0 || ndx == 1)
8938 if (ndx == 0 || ndx == 1)
8943 if (ndx == 0 || ndx == 1)
8948 if (ndx == 0 || ndx == 1)
8951 /* linux_sigreturn */
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8961 /* linux_setdomainname */
8963 if (ndx == 0 || ndx == 1)
8966 /* linux_newuname */
8968 if (ndx == 0 || ndx == 1)
8971 /* linux_adjtimex */
8973 /* linux_mprotect */
8975 if (ndx == 0 || ndx == 1)
8978 /* linux_sigprocmask */
8980 if (ndx == 0 || ndx == 1)
8983 /* linux_init_module */
8985 /* linux_delete_module */
8987 /* linux_quotactl */
8991 if (ndx == 0 || ndx == 1)
8996 if (ndx == 0 || ndx == 1)
9003 if (ndx == 0 || ndx == 1)
9006 /* linux_personality */
9008 if (ndx == 0 || ndx == 1)
9011 /* linux_setfsuid16 */
9013 if (ndx == 0 || ndx == 1)
9016 /* linux_setfsgid16 */
9018 if (ndx == 0 || ndx == 1)
9023 if (ndx == 0 || ndx == 1)
9026 /* linux_getdents */
9028 if (ndx == 0 || ndx == 1)
9033 if (ndx == 0 || ndx == 1)
9038 if (ndx == 0 || ndx == 1)
9043 if (ndx == 0 || ndx == 1)
9048 if (ndx == 0 || ndx == 1)
9053 if (ndx == 0 || ndx == 1)
9058 if (ndx == 0 || ndx == 1)
9061 /* linux_fdatasync */
9063 if (ndx == 0 || ndx == 1)
9068 if (ndx == 0 || ndx == 1)
9073 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9083 if (ndx == 0 || ndx == 1)
9088 /* linux_sched_setparam */
9090 if (ndx == 0 || ndx == 1)
9093 /* linux_sched_getparam */
9095 if (ndx == 0 || ndx == 1)
9098 /* linux_sched_setscheduler */
9100 if (ndx == 0 || ndx == 1)
9103 /* linux_sched_getscheduler */
9105 if (ndx == 0 || ndx == 1)
9110 /* linux_sched_get_priority_max */
9112 if (ndx == 0 || ndx == 1)
9115 /* linux_sched_get_priority_min */
9117 if (ndx == 0 || ndx == 1)
9120 /* linux_sched_rr_get_interval */
9122 if (ndx == 0 || ndx == 1)
9125 /* linux_nanosleep */
9127 if (ndx == 0 || ndx == 1)
9132 if (ndx == 0 || ndx == 1)
9135 /* linux_setresuid16 */
9137 if (ndx == 0 || ndx == 1)
9140 /* linux_getresuid16 */
9142 if (ndx == 0 || ndx == 1)
9147 if (ndx == 0 || ndx == 1)
9150 /* linux_setresgid16 */
9152 if (ndx == 0 || ndx == 1)
9155 /* linux_getresgid16 */
9157 if (ndx == 0 || ndx == 1)
9162 if (ndx == 0 || ndx == 1)
9165 /* linux_rt_sigreturn */
9167 if (ndx == 0 || ndx == 1)
9170 /* linux_rt_sigaction */
9172 if (ndx == 0 || ndx == 1)
9175 /* linux_rt_sigprocmask */
9177 if (ndx == 0 || ndx == 1)
9180 /* linux_rt_sigpending */
9182 if (ndx == 0 || ndx == 1)
9185 /* linux_rt_sigtimedwait */
9187 if (ndx == 0 || ndx == 1)
9190 /* linux_rt_sigqueueinfo */
9192 if (ndx == 0 || ndx == 1)
9195 /* linux_rt_sigsuspend */
9197 if (ndx == 0 || ndx == 1)
9202 if (ndx == 0 || ndx == 1)
9207 if (ndx == 0 || ndx == 1)
9212 if (ndx == 0 || ndx == 1)
9217 if (ndx == 0 || ndx == 1)
9222 if (ndx == 0 || ndx == 1)
9227 if (ndx == 0 || ndx == 1)
9230 /* linux_sigaltstack */
9232 if (ndx == 0 || ndx == 1)
9235 /* linux_sendfile */
9237 if (ndx == 0 || ndx == 1)
9242 /* linux_getrlimit */
9244 if (ndx == 0 || ndx == 1)
9249 if (ndx == 0 || ndx == 1)
9252 /* linux_truncate64 */
9254 if (ndx == 0 || ndx == 1)
9257 /* linux_ftruncate64 */
9259 if (ndx == 0 || ndx == 1)
9264 if (ndx == 0 || ndx == 1)
9269 if (ndx == 0 || ndx == 1)
9274 if (ndx == 0 || ndx == 1)
9279 if (ndx == 0 || ndx == 1)
9292 if (ndx == 0 || ndx == 1)
9297 if (ndx == 0 || ndx == 1)
9300 /* linux_getgroups */
9302 if (ndx == 0 || ndx == 1)
9305 /* linux_setgroups */
9307 if (ndx == 0 || ndx == 1)
9314 if (ndx == 0 || ndx == 1)
9319 if (ndx == 0 || ndx == 1)
9324 if (ndx == 0 || ndx == 1)
9329 if (ndx == 0 || ndx == 1)
9334 if (ndx == 0 || ndx == 1)
9339 if (ndx == 0 || ndx == 1)
9344 if (ndx == 0 || ndx == 1)
9347 /* linux_setfsuid */
9349 if (ndx == 0 || ndx == 1)
9352 /* linux_setfsgid */
9354 if (ndx == 0 || ndx == 1)
9357 /* linux_pivot_root */
9359 if (ndx == 0 || ndx == 1)
9364 if (ndx == 0 || ndx == 1)
9369 if (ndx == 0 || ndx == 1)
9372 /* linux_getdents64 */
9374 if (ndx == 0 || ndx == 1)
9379 if (ndx == 0 || ndx == 1)
9384 /* linux_setxattr */
9386 if (ndx == 0 || ndx == 1)
9389 /* linux_lsetxattr */
9391 if (ndx == 0 || ndx == 1)
9394 /* linux_fsetxattr */
9396 if (ndx == 0 || ndx == 1)
9399 /* linux_getxattr */
9401 if (ndx == 0 || ndx == 1)
9404 /* linux_lgetxattr */
9406 if (ndx == 0 || ndx == 1)
9409 /* linux_fgetxattr */
9411 if (ndx == 0 || ndx == 1)
9414 /* linux_listxattr */
9416 if (ndx == 0 || ndx == 1)
9419 /* linux_llistxattr */
9421 if (ndx == 0 || ndx == 1)
9424 /* linux_flistxattr */
9426 if (ndx == 0 || ndx == 1)
9429 /* linux_removexattr */
9431 if (ndx == 0 || ndx == 1)
9434 /* linux_lremovexattr */
9436 if (ndx == 0 || ndx == 1)
9439 /* linux_fremovexattr */
9441 if (ndx == 0 || ndx == 1)
9446 if (ndx == 0 || ndx == 1)
9449 /* linux_sendfile64 */
9451 if (ndx == 0 || ndx == 1)
9454 /* linux_sys_futex */
9456 if (ndx == 0 || ndx == 1)
9459 /* linux_sched_setaffinity */
9461 if (ndx == 0 || ndx == 1)
9464 /* linux_sched_getaffinity */
9466 if (ndx == 0 || ndx == 1)
9469 /* linux_set_thread_area */
9471 if (ndx == 0 || ndx == 1)
9474 /* linux_fadvise64 */
9476 if (ndx == 0 || ndx == 1)
9479 /* linux_exit_group */
9481 if (ndx == 0 || ndx == 1)
9484 /* linux_lookup_dcookie */
9486 /* linux_epoll_create */
9488 if (ndx == 0 || ndx == 1)
9491 /* linux_epoll_ctl */
9493 if (ndx == 0 || ndx == 1)
9496 /* linux_epoll_wait */
9498 if (ndx == 0 || ndx == 1)
9501 /* linux_remap_file_pages */
9503 /* linux_set_tid_address */
9505 if (ndx == 0 || ndx == 1)
9508 /* linux_timer_create */
9510 if (ndx == 0 || ndx == 1)
9513 /* linux_timer_settime */
9515 if (ndx == 0 || ndx == 1)
9518 /* linux_timer_gettime */
9520 if (ndx == 0 || ndx == 1)
9523 /* linux_timer_getoverrun */
9525 if (ndx == 0 || ndx == 1)
9528 /* linux_timer_delete */
9530 if (ndx == 0 || ndx == 1)
9533 /* linux_clock_settime */
9535 if (ndx == 0 || ndx == 1)
9538 /* linux_clock_gettime */
9540 if (ndx == 0 || ndx == 1)
9543 /* linux_clock_getres */
9545 if (ndx == 0 || ndx == 1)
9548 /* linux_clock_nanosleep */
9550 if (ndx == 0 || ndx == 1)
9553 /* linux_statfs64 */
9555 if (ndx == 0 || ndx == 1)
9558 /* linux_fstatfs64 */
9560 if (ndx == 0 || ndx == 1)
9565 if (ndx == 0 || ndx == 1)
9570 if (ndx == 0 || ndx == 1)
9573 /* linux_fadvise64_64 */
9575 if (ndx == 0 || ndx == 1)
9580 /* linux_get_mempolicy */
9582 /* linux_set_mempolicy */
9586 if (ndx == 0 || ndx == 1)
9589 /* linux_mq_unlink */
9591 if (ndx == 0 || ndx == 1)
9594 /* linux_mq_timedsend */
9596 if (ndx == 0 || ndx == 1)
9599 /* linux_mq_timedreceive */
9601 if (ndx == 0 || ndx == 1)
9604 /* linux_mq_notify */
9606 if (ndx == 0 || ndx == 1)
9609 /* linux_mq_getsetattr */
9611 if (ndx == 0 || ndx == 1)
9614 /* linux_kexec_load */
9618 if (ndx == 0 || ndx == 1)
9623 /* linux_request_key */
9627 /* linux_ioprio_set */
9629 /* linux_ioprio_get */
9631 /* linux_inotify_init */
9633 /* linux_inotify_add_watch */
9635 /* linux_inotify_rm_watch */
9637 /* linux_migrate_pages */
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9651 if (ndx == 0 || ndx == 1)
9654 /* linux_fchownat */
9656 if (ndx == 0 || ndx == 1)
9659 /* linux_futimesat */
9661 if (ndx == 0 || ndx == 1)
9664 /* linux_fstatat64 */
9666 if (ndx == 0 || ndx == 1)
9669 /* linux_unlinkat */
9671 if (ndx == 0 || ndx == 1)
9674 /* linux_renameat */
9676 if (ndx == 0 || ndx == 1)
9681 if (ndx == 0 || ndx == 1)
9684 /* linux_symlinkat */
9686 if (ndx == 0 || ndx == 1)
9689 /* linux_readlinkat */
9691 if (ndx == 0 || ndx == 1)
9694 /* linux_fchmodat */
9696 if (ndx == 0 || ndx == 1)
9699 /* linux_faccessat */
9701 if (ndx == 0 || ndx == 1)
9704 /* linux_pselect6 */
9706 if (ndx == 0 || ndx == 1)
9711 if (ndx == 0 || ndx == 1)
9716 /* linux_set_robust_list */
9718 if (ndx == 0 || ndx == 1)
9721 /* linux_get_robust_list */
9723 if (ndx == 0 || ndx == 1)
9728 if (ndx == 0 || ndx == 1)
9731 /* linux_sync_file_range */
9733 if (ndx == 0 || ndx == 1)
9738 /* linux_vmsplice */
9740 /* linux_move_pages */
9744 if (ndx == 0 || ndx == 1)
9747 /* linux_epoll_pwait */
9749 if (ndx == 0 || ndx == 1)
9752 /* linux_utimensat */
9754 if (ndx == 0 || ndx == 1)
9757 /* linux_signalfd */
9759 /* linux_timerfd_create */
9761 if (ndx == 0 || ndx == 1)
9766 if (ndx == 0 || ndx == 1)
9769 /* linux_fallocate */
9771 if (ndx == 0 || ndx == 1)
9774 /* linux_timerfd_settime */
9776 if (ndx == 0 || ndx == 1)
9779 /* linux_timerfd_gettime */
9781 if (ndx == 0 || ndx == 1)
9784 /* linux_signalfd4 */
9786 /* linux_eventfd2 */
9788 if (ndx == 0 || ndx == 1)
9791 /* linux_epoll_create1 */
9793 if (ndx == 0 || ndx == 1)
9798 if (ndx == 0 || ndx == 1)
9803 if (ndx == 0 || ndx == 1)
9806 /* linux_inotify_init1 */
9810 if (ndx == 0 || ndx == 1)
9815 if (ndx == 0 || ndx == 1)
9818 /* linux_rt_tgsigqueueinfo */
9820 if (ndx == 0 || ndx == 1)
9823 /* linux_perf_event_open */
9825 /* linux_recvmmsg */
9827 if (ndx == 0 || ndx == 1)
9830 /* linux_fanotify_init */
9832 /* linux_fanotify_mark */
9834 /* linux_prlimit64 */
9836 if (ndx == 0 || ndx == 1)
9839 /* linux_name_to_handle_at */
9841 if (ndx == 0 || ndx == 1)
9844 /* linux_open_by_handle_at */
9846 if (ndx == 0 || ndx == 1)
9849 /* linux_clock_adjtime */
9853 if (ndx == 0 || ndx == 1)
9856 /* linux_sendmmsg */
9858 if (ndx == 0 || ndx == 1)
9863 /* linux_process_vm_readv */
9865 if (ndx == 0 || ndx == 1)
9868 /* linux_process_vm_writev */
9870 if (ndx == 0 || ndx == 1)
9875 if (ndx == 0 || ndx == 1)
9878 /* linux_finit_module */
9880 if (ndx == 0 || ndx == 1)
9883 /* linux_sched_setattr */
9885 if (ndx == 0 || ndx == 1)
9888 /* linux_sched_getattr */
9890 if (ndx == 0 || ndx == 1)
9893 /* linux_renameat2 */
9895 if (ndx == 0 || ndx == 1)
9900 if (ndx == 0 || ndx == 1)
9903 /* linux_getrandom */
9905 if (ndx == 0 || ndx == 1)
9908 /* linux_memfd_create */
9910 if (ndx == 0 || ndx == 1)
9915 if (ndx == 0 || ndx == 1)
9918 /* linux_execveat */
9920 if (ndx == 0 || ndx == 1)
9925 if (ndx == 0 || ndx == 1)
9928 /* linux_socketpair */
9930 if (ndx == 0 || ndx == 1)
9935 if (ndx == 0 || ndx == 1)
9940 if (ndx == 0 || ndx == 1)
9945 if (ndx == 0 || ndx == 1)
9950 if (ndx == 0 || ndx == 1)
9953 /* linux_getsockopt */
9955 if (ndx == 0 || ndx == 1)
9958 /* linux_setsockopt */
9960 if (ndx == 0 || ndx == 1)
9963 /* linux_getsockname */
9965 if (ndx == 0 || ndx == 1)
9968 /* linux_getpeername */
9970 if (ndx == 0 || ndx == 1)
9975 if (ndx == 0 || ndx == 1)
9980 if (ndx == 0 || ndx == 1)
9983 /* linux_recvfrom */
9985 if (ndx == 0 || ndx == 1)
9990 if (ndx == 0 || ndx == 1)
9993 /* linux_shutdown */
9995 if (ndx == 0 || ndx == 1)
9998 /* linux_userfaultfd */
10000 if (ndx == 0 || ndx == 1)
10003 /* linux_membarrier */
10005 if (ndx == 0 || ndx == 1)
10010 if (ndx == 0 || ndx == 1)
10013 /* linux_copy_file_range */
10015 if (ndx == 0 || ndx == 1)
10018 /* linux_preadv2 */
10020 if (ndx == 0 || ndx == 1)
10023 /* linux_pwritev2 */
10025 if (ndx == 0 || ndx == 1)
10028 /* linux_pkey_mprotect */
10030 if (ndx == 0 || ndx == 1)
10033 /* linux_pkey_alloc */
10035 if (ndx == 0 || ndx == 1)
10038 /* linux_pkey_free */
10040 if (ndx == 0 || ndx == 1)
10045 if (ndx == 0 || ndx == 1)
10048 /* linux_arch_prctl */
10050 if (ndx == 0 || ndx == 1)
10053 /* linux_io_pgetevents */
10057 if (ndx == 0 || ndx == 1)
10062 if (ndx == 0 || ndx == 1)
10067 if (ndx == 0 || ndx == 1)
10072 if (ndx == 0 || ndx == 1)
10077 if (ndx == 0 || ndx == 1)
10082 if (ndx == 0 || ndx == 1)
10087 if (ndx == 0 || ndx == 1)
10092 if (ndx == 0 || ndx == 1)
10097 if (ndx == 0 || ndx == 1)
10102 if (ndx == 0 || ndx == 1)
10107 if (ndx == 0 || ndx == 1)
10110 /* linux_clock_gettime64 */
10112 if (ndx == 0 || ndx == 1)
10115 /* linux_clock_settime64 */
10117 if (ndx == 0 || ndx == 1)
10120 /* linux_clock_adjtime64 */
10122 /* linux_clock_getres_time64 */
10124 if (ndx == 0 || ndx == 1)
10127 /* linux_clock_nanosleep_time64 */
10129 if (ndx == 0 || ndx == 1)
10132 /* linux_timer_gettime64 */
10134 if (ndx == 0 || ndx == 1)
10137 /* linux_timer_settime64 */
10139 if (ndx == 0 || ndx == 1)
10142 /* linux_timerfd_gettime64 */
10144 if (ndx == 0 || ndx == 1)
10147 /* linux_timerfd_settime64 */
10149 if (ndx == 0 || ndx == 1)
10152 /* linux_utimensat_time64 */
10154 if (ndx == 0 || ndx == 1)
10157 /* linux_pselect6_time64 */
10159 if (ndx == 0 || ndx == 1)
10162 /* linux_ppoll_time64 */
10164 if (ndx == 0 || ndx == 1)
10167 /* linux_io_pgetevents_time64 */
10169 /* linux_recvmmsg_time64 */
10171 /* linux_mq_timedsend_time64 */
10173 /* linux_mq_timedreceive_time64 */
10175 /* linux_semtimedop_time64 */
10177 /* linux_rt_sigtimedwait_time64 */
10179 if (ndx == 0 || ndx == 1)
10182 /* linux_sys_futex_time64 */
10184 if (ndx == 0 || ndx == 1)
10187 /* linux_sched_rr_get_interval_time64 */
10189 if (ndx == 0 || ndx == 1)
10192 /* linux_pidfd_send_signal */
10194 if (ndx == 0 || ndx == 1)
10197 /* linux_io_uring_setup */
10199 /* linux_io_uring_enter */
10201 /* linux_io_uring_register */
10203 /* linux_open_tree */
10205 /* linux_move_mount */
10209 /* linux_fsconfig */
10211 /* linux_fsmount */
10215 /* linux_pidfd_open */
10219 if (ndx == 0 || ndx == 1)
10222 /* linux_close_range */
10224 /* linux_openat2 */
10226 /* linux_pidfd_getfd */
10228 /* linux_faccessat2 */
10230 if (ndx == 0 || ndx == 1)
10233 /* linux_process_madvise */
10235 /* linux_epoll_pwait2_64 */
10237 if (ndx == 0 || ndx == 1)
10240 /* linux_mount_setattr */
10246 strlcpy(desc, p, descsz);