2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t) p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t) p->fname; /* char * */
225 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t) p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t) p->from; /* char * */
261 uarg[1] = (intptr_t) p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t) p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t) p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t) p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t) p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t) p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t) p->path; /* char * */
557 uarg[1] = (intptr_t) p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t) p->name; /* char * */
573 uarg[1] = (intptr_t) p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t) p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t) p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t) p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t) p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t) p->path; /* char * */
673 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t) p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t) p->path; /* char * */
723 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t) p->path; /* char * */
731 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t) p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_uint */
789 iarg[4] = p->ptr; /* l_uintptr_t */
790 iarg[5] = p->arg5; /* l_uint */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t) p->stack; /* void * */
813 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t) p->tls; /* void * */
815 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t) p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t) p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
857 /* linux_init_module */
862 /* linux_delete_module */
874 struct getpgid_args *p = params;
875 iarg[0] = p->pid; /* int */
881 struct fchdir_args *p = params;
882 iarg[0] = p->fd; /* int */
893 struct linux_sysfs_args *p = params;
894 iarg[0] = p->option; /* l_int */
895 iarg[1] = p->arg1; /* l_ulong */
896 iarg[2] = p->arg2; /* l_ulong */
900 /* linux_personality */
902 struct linux_personality_args *p = params;
903 iarg[0] = p->per; /* l_uint */
907 /* linux_setfsuid16 */
909 struct linux_setfsuid16_args *p = params;
910 iarg[0] = p->uid; /* l_uid16_t */
914 /* linux_setfsgid16 */
916 struct linux_setfsgid16_args *p = params;
917 iarg[0] = p->gid; /* l_gid16_t */
923 struct linux_llseek_args *p = params;
924 iarg[0] = p->fd; /* l_int */
925 iarg[1] = p->ohigh; /* l_ulong */
926 iarg[2] = p->olow; /* l_ulong */
927 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
928 iarg[4] = p->whence; /* l_uint */
934 struct linux_getdents_args *p = params;
935 iarg[0] = p->fd; /* l_uint */
936 uarg[1] = (intptr_t) p->dent; /* void * */
937 iarg[2] = p->count; /* l_uint */
943 struct linux_select_args *p = params;
944 iarg[0] = p->nfds; /* l_int */
945 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
946 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
947 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
948 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
954 struct flock_args *p = params;
955 iarg[0] = p->fd; /* int */
956 iarg[1] = p->how; /* int */
962 struct linux_msync_args *p = params;
963 iarg[0] = p->addr; /* l_ulong */
964 iarg[1] = p->len; /* l_size_t */
965 iarg[2] = p->fl; /* l_int */
971 struct linux_readv_args *p = params;
972 iarg[0] = p->fd; /* l_ulong */
973 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
974 iarg[2] = p->iovcnt; /* l_ulong */
980 struct linux_writev_args *p = params;
981 iarg[0] = p->fd; /* l_ulong */
982 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
983 iarg[2] = p->iovcnt; /* l_ulong */
989 struct linux_getsid_args *p = params;
990 iarg[0] = p->pid; /* l_pid_t */
994 /* linux_fdatasync */
996 struct linux_fdatasync_args *p = params;
997 iarg[0] = p->fd; /* l_uint */
1003 struct linux_sysctl_args *p = params;
1004 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1010 struct mlock_args *p = params;
1011 uarg[0] = (intptr_t) p->addr; /* const void * */
1012 uarg[1] = p->len; /* size_t */
1018 struct munlock_args *p = params;
1019 uarg[0] = (intptr_t) p->addr; /* const void * */
1020 uarg[1] = p->len; /* size_t */
1026 struct mlockall_args *p = params;
1027 iarg[0] = p->how; /* int */
1036 /* linux_sched_setparam */
1038 struct linux_sched_setparam_args *p = params;
1039 iarg[0] = p->pid; /* l_pid_t */
1040 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1044 /* linux_sched_getparam */
1046 struct linux_sched_getparam_args *p = params;
1047 iarg[0] = p->pid; /* l_pid_t */
1048 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1052 /* linux_sched_setscheduler */
1054 struct linux_sched_setscheduler_args *p = params;
1055 iarg[0] = p->pid; /* l_pid_t */
1056 iarg[1] = p->policy; /* l_int */
1057 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1061 /* linux_sched_getscheduler */
1063 struct linux_sched_getscheduler_args *p = params;
1064 iarg[0] = p->pid; /* l_pid_t */
1073 /* linux_sched_get_priority_max */
1075 struct linux_sched_get_priority_max_args *p = params;
1076 iarg[0] = p->policy; /* l_int */
1080 /* linux_sched_get_priority_min */
1082 struct linux_sched_get_priority_min_args *p = params;
1083 iarg[0] = p->policy; /* l_int */
1087 /* linux_sched_rr_get_interval */
1089 struct linux_sched_rr_get_interval_args *p = params;
1090 iarg[0] = p->pid; /* l_pid_t */
1091 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1095 /* linux_nanosleep */
1097 struct linux_nanosleep_args *p = params;
1098 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1099 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1105 struct linux_mremap_args *p = params;
1106 iarg[0] = p->addr; /* l_ulong */
1107 iarg[1] = p->old_len; /* l_ulong */
1108 iarg[2] = p->new_len; /* l_ulong */
1109 iarg[3] = p->flags; /* l_ulong */
1110 iarg[4] = p->new_addr; /* l_ulong */
1114 /* linux_setresuid16 */
1116 struct linux_setresuid16_args *p = params;
1117 iarg[0] = p->ruid; /* l_uid16_t */
1118 iarg[1] = p->euid; /* l_uid16_t */
1119 iarg[2] = p->suid; /* l_uid16_t */
1123 /* linux_getresuid16 */
1125 struct linux_getresuid16_args *p = params;
1126 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1127 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1128 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1134 struct poll_args *p = params;
1135 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1136 uarg[1] = p->nfds; /* unsigned int */
1137 iarg[2] = p->timeout; /* int */
1141 /* linux_setresgid16 */
1143 struct linux_setresgid16_args *p = params;
1144 iarg[0] = p->rgid; /* l_gid16_t */
1145 iarg[1] = p->egid; /* l_gid16_t */
1146 iarg[2] = p->sgid; /* l_gid16_t */
1150 /* linux_getresgid16 */
1152 struct linux_getresgid16_args *p = params;
1153 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1154 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1155 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1161 struct linux_prctl_args *p = params;
1162 iarg[0] = p->option; /* l_int */
1163 iarg[1] = p->arg2; /* l_int */
1164 iarg[2] = p->arg3; /* l_int */
1165 iarg[3] = p->arg4; /* l_int */
1166 iarg[4] = p->arg5; /* l_int */
1170 /* linux_rt_sigreturn */
1172 struct linux_rt_sigreturn_args *p = params;
1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1177 /* linux_rt_sigaction */
1179 struct linux_rt_sigaction_args *p = params;
1180 iarg[0] = p->sig; /* l_int */
1181 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1182 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1183 iarg[3] = p->sigsetsize; /* l_size_t */
1187 /* linux_rt_sigprocmask */
1189 struct linux_rt_sigprocmask_args *p = params;
1190 iarg[0] = p->how; /* l_int */
1191 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1192 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1193 iarg[3] = p->sigsetsize; /* l_size_t */
1197 /* linux_rt_sigpending */
1199 struct linux_rt_sigpending_args *p = params;
1200 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1201 iarg[1] = p->sigsetsize; /* l_size_t */
1205 /* linux_rt_sigtimedwait */
1207 struct linux_rt_sigtimedwait_args *p = params;
1208 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1209 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1210 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1211 iarg[3] = p->sigsetsize; /* l_size_t */
1215 /* linux_rt_sigqueueinfo */
1217 struct linux_rt_sigqueueinfo_args *p = params;
1218 iarg[0] = p->pid; /* l_pid_t */
1219 iarg[1] = p->sig; /* l_int */
1220 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1224 /* linux_rt_sigsuspend */
1226 struct linux_rt_sigsuspend_args *p = params;
1227 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1228 iarg[1] = p->sigsetsize; /* l_size_t */
1234 struct linux_pread_args *p = params;
1235 iarg[0] = p->fd; /* l_uint */
1236 uarg[1] = (intptr_t) p->buf; /* char * */
1237 iarg[2] = p->nbyte; /* l_size_t */
1238 uarg[3] = p->offset1; /* uint32_t */
1239 uarg[4] = p->offset2; /* uint32_t */
1245 struct linux_pwrite_args *p = params;
1246 iarg[0] = p->fd; /* l_uint */
1247 uarg[1] = (intptr_t) p->buf; /* char * */
1248 iarg[2] = p->nbyte; /* l_size_t */
1249 uarg[3] = p->offset1; /* uint32_t */
1250 uarg[4] = p->offset2; /* uint32_t */
1256 struct linux_chown16_args *p = params;
1257 uarg[0] = (intptr_t) p->path; /* char * */
1258 iarg[1] = p->uid; /* l_uid16_t */
1259 iarg[2] = p->gid; /* l_gid16_t */
1265 struct linux_getcwd_args *p = params;
1266 uarg[0] = (intptr_t) p->buf; /* char * */
1267 iarg[1] = p->bufsize; /* l_ulong */
1273 struct linux_capget_args *p = params;
1274 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1275 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1281 struct linux_capset_args *p = params;
1282 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1283 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1287 /* linux_sigaltstack */
1289 struct linux_sigaltstack_args *p = params;
1290 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1291 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1295 /* linux_sendfile */
1305 /* linux_getrlimit */
1307 struct linux_getrlimit_args *p = params;
1308 iarg[0] = p->resource; /* l_uint */
1309 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1315 struct linux_mmap2_args *p = params;
1316 iarg[0] = p->addr; /* l_ulong */
1317 iarg[1] = p->len; /* l_ulong */
1318 iarg[2] = p->prot; /* l_ulong */
1319 iarg[3] = p->flags; /* l_ulong */
1320 iarg[4] = p->fd; /* l_ulong */
1321 iarg[5] = p->pgoff; /* l_ulong */
1325 /* linux_truncate64 */
1327 struct linux_truncate64_args *p = params;
1328 uarg[0] = (intptr_t) p->path; /* char * */
1329 uarg[1] = p->length1; /* uint32_t */
1330 uarg[2] = p->length2; /* uint32_t */
1334 /* linux_ftruncate64 */
1336 struct linux_ftruncate64_args *p = params;
1337 iarg[0] = p->fd; /* l_uint */
1338 uarg[1] = p->length1; /* uint32_t */
1339 uarg[2] = p->length2; /* uint32_t */
1345 struct linux_stat64_args *p = params;
1346 uarg[0] = (intptr_t) p->filename; /* const char * */
1347 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1353 struct linux_lstat64_args *p = params;
1354 uarg[0] = (intptr_t) p->filename; /* const char * */
1355 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1361 struct linux_fstat64_args *p = params;
1362 iarg[0] = p->fd; /* l_int */
1363 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1369 struct linux_lchown_args *p = params;
1370 uarg[0] = (intptr_t) p->path; /* char * */
1371 iarg[1] = p->uid; /* l_uid_t */
1372 iarg[2] = p->gid; /* l_gid_t */
1398 struct setreuid_args *p = params;
1399 uarg[0] = p->ruid; /* uid_t */
1400 uarg[1] = p->euid; /* uid_t */
1406 struct setregid_args *p = params;
1407 iarg[0] = p->rgid; /* gid_t */
1408 iarg[1] = p->egid; /* gid_t */
1412 /* linux_getgroups */
1414 struct linux_getgroups_args *p = params;
1415 iarg[0] = p->gidsetsize; /* l_int */
1416 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1420 /* linux_setgroups */
1422 struct linux_setgroups_args *p = params;
1423 iarg[0] = p->gidsetsize; /* l_int */
1424 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1435 struct setresuid_args *p = params;
1436 uarg[0] = p->ruid; /* uid_t */
1437 uarg[1] = p->euid; /* uid_t */
1438 uarg[2] = p->suid; /* uid_t */
1444 struct getresuid_args *p = params;
1445 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1446 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1447 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1453 struct setresgid_args *p = params;
1454 iarg[0] = p->rgid; /* gid_t */
1455 iarg[1] = p->egid; /* gid_t */
1456 iarg[2] = p->sgid; /* gid_t */
1462 struct getresgid_args *p = params;
1463 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1464 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1465 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1471 struct linux_chown_args *p = params;
1472 uarg[0] = (intptr_t) p->path; /* char * */
1473 iarg[1] = p->uid; /* l_uid_t */
1474 iarg[2] = p->gid; /* l_gid_t */
1480 struct setuid_args *p = params;
1481 uarg[0] = p->uid; /* uid_t */
1487 struct setgid_args *p = params;
1488 iarg[0] = p->gid; /* gid_t */
1492 /* linux_setfsuid */
1494 struct linux_setfsuid_args *p = params;
1495 iarg[0] = p->uid; /* l_uid_t */
1499 /* linux_setfsgid */
1501 struct linux_setfsgid_args *p = params;
1502 iarg[0] = p->gid; /* l_gid_t */
1506 /* linux_pivot_root */
1508 struct linux_pivot_root_args *p = params;
1509 uarg[0] = (intptr_t) p->new_root; /* char * */
1510 uarg[1] = (intptr_t) p->put_old; /* char * */
1516 struct linux_mincore_args *p = params;
1517 iarg[0] = p->start; /* l_ulong */
1518 iarg[1] = p->len; /* l_size_t */
1519 uarg[2] = (intptr_t) p->vec; /* u_char * */
1525 struct linux_madvise_args *p = params;
1526 uarg[0] = (intptr_t) p->addr; /* void * */
1527 uarg[1] = p->len; /* size_t */
1528 iarg[2] = p->behav; /* int */
1532 /* linux_getdents64 */
1534 struct linux_getdents64_args *p = params;
1535 iarg[0] = p->fd; /* l_uint */
1536 uarg[1] = (intptr_t) p->dirent; /* void * */
1537 iarg[2] = p->count; /* l_uint */
1543 struct linux_fcntl64_args *p = params;
1544 iarg[0] = p->fd; /* l_uint */
1545 iarg[1] = p->cmd; /* l_uint */
1546 uarg[2] = p->arg; /* uintptr_t */
1555 /* linux_setxattr */
1560 /* linux_lsetxattr */
1565 /* linux_fsetxattr */
1570 /* linux_getxattr */
1575 /* linux_lgetxattr */
1580 /* linux_fgetxattr */
1585 /* linux_listxattr */
1590 /* linux_llistxattr */
1595 /* linux_flistxattr */
1600 /* linux_removexattr */
1605 /* linux_lremovexattr */
1610 /* linux_fremovexattr */
1617 struct linux_tkill_args *p = params;
1618 iarg[0] = p->tid; /* int */
1619 iarg[1] = p->sig; /* int */
1623 /* linux_sys_futex */
1625 struct linux_sys_futex_args *p = params;
1626 uarg[0] = (intptr_t) p->uaddr; /* void * */
1627 iarg[1] = p->op; /* int */
1628 uarg[2] = p->val; /* uint32_t */
1629 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1630 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1631 uarg[5] = p->val3; /* uint32_t */
1635 /* linux_sched_setaffinity */
1637 struct linux_sched_setaffinity_args *p = params;
1638 iarg[0] = p->pid; /* l_pid_t */
1639 iarg[1] = p->len; /* l_uint */
1640 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1644 /* linux_sched_getaffinity */
1646 struct linux_sched_getaffinity_args *p = params;
1647 iarg[0] = p->pid; /* l_pid_t */
1648 iarg[1] = p->len; /* l_uint */
1649 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1653 /* linux_set_thread_area */
1655 struct linux_set_thread_area_args *p = params;
1656 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1660 /* linux_fadvise64 */
1662 struct linux_fadvise64_args *p = params;
1663 iarg[0] = p->fd; /* int */
1664 uarg[1] = p->offset1; /* uint32_t */
1665 uarg[2] = p->offset2; /* uint32_t */
1666 iarg[3] = p->len; /* l_size_t */
1667 iarg[4] = p->advice; /* int */
1671 /* linux_exit_group */
1673 struct linux_exit_group_args *p = params;
1674 iarg[0] = p->error_code; /* int */
1678 /* linux_lookup_dcookie */
1683 /* linux_epoll_create */
1685 struct linux_epoll_create_args *p = params;
1686 iarg[0] = p->size; /* l_int */
1690 /* linux_epoll_ctl */
1692 struct linux_epoll_ctl_args *p = params;
1693 iarg[0] = p->epfd; /* l_int */
1694 iarg[1] = p->op; /* l_int */
1695 iarg[2] = p->fd; /* l_int */
1696 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1700 /* linux_epoll_wait */
1702 struct linux_epoll_wait_args *p = params;
1703 iarg[0] = p->epfd; /* l_int */
1704 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1705 iarg[2] = p->maxevents; /* l_int */
1706 iarg[3] = p->timeout; /* l_int */
1710 /* linux_remap_file_pages */
1715 /* linux_set_tid_address */
1717 struct linux_set_tid_address_args *p = params;
1718 uarg[0] = (intptr_t) p->tidptr; /* int * */
1722 /* linux_timer_create */
1724 struct linux_timer_create_args *p = params;
1725 iarg[0] = p->clock_id; /* clockid_t */
1726 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1727 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1731 /* linux_timer_settime */
1733 struct linux_timer_settime_args *p = params;
1734 iarg[0] = p->timerid; /* l_timer_t */
1735 iarg[1] = p->flags; /* l_int */
1736 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1737 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1741 /* linux_timer_gettime */
1743 struct linux_timer_gettime_args *p = params;
1744 iarg[0] = p->timerid; /* l_timer_t */
1745 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1749 /* linux_timer_getoverrun */
1751 struct linux_timer_getoverrun_args *p = params;
1752 iarg[0] = p->timerid; /* l_timer_t */
1756 /* linux_timer_delete */
1758 struct linux_timer_delete_args *p = params;
1759 iarg[0] = p->timerid; /* l_timer_t */
1763 /* linux_clock_settime */
1765 struct linux_clock_settime_args *p = params;
1766 iarg[0] = p->which; /* clockid_t */
1767 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1771 /* linux_clock_gettime */
1773 struct linux_clock_gettime_args *p = params;
1774 iarg[0] = p->which; /* clockid_t */
1775 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1779 /* linux_clock_getres */
1781 struct linux_clock_getres_args *p = params;
1782 iarg[0] = p->which; /* clockid_t */
1783 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1787 /* linux_clock_nanosleep */
1789 struct linux_clock_nanosleep_args *p = params;
1790 iarg[0] = p->which; /* clockid_t */
1791 iarg[1] = p->flags; /* int */
1792 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1793 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1797 /* linux_statfs64 */
1799 struct linux_statfs64_args *p = params;
1800 uarg[0] = (intptr_t) p->path; /* char * */
1801 uarg[1] = p->bufsize; /* size_t */
1802 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1806 /* linux_fstatfs64 */
1808 struct linux_fstatfs64_args *p = params;
1809 iarg[0] = p->fd; /* l_uint */
1810 uarg[1] = p->bufsize; /* size_t */
1811 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1817 struct linux_tgkill_args *p = params;
1818 iarg[0] = p->tgid; /* int */
1819 iarg[1] = p->pid; /* int */
1820 iarg[2] = p->sig; /* int */
1826 struct linux_utimes_args *p = params;
1827 uarg[0] = (intptr_t) p->fname; /* char * */
1828 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1832 /* linux_fadvise64_64 */
1834 struct linux_fadvise64_64_args *p = params;
1835 iarg[0] = p->fd; /* int */
1836 uarg[1] = p->offset1; /* uint32_t */
1837 uarg[2] = p->offset2; /* uint32_t */
1838 uarg[3] = p->len1; /* uint32_t */
1839 uarg[4] = p->len2; /* uint32_t */
1840 iarg[5] = p->advice; /* int */
1849 /* linux_get_mempolicy */
1854 /* linux_set_mempolicy */
1864 /* linux_mq_unlink */
1869 /* linux_mq_timedsend */
1874 /* linux_mq_timedreceive */
1879 /* linux_mq_notify */
1884 /* linux_mq_getsetattr */
1889 /* linux_kexec_load */
1896 struct linux_waitid_args *p = params;
1897 iarg[0] = p->idtype; /* int */
1898 iarg[1] = p->id; /* l_pid_t */
1899 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1900 iarg[3] = p->options; /* int */
1901 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
1910 /* linux_request_key */
1920 /* linux_ioprio_set */
1925 /* linux_ioprio_get */
1930 /* linux_inotify_init */
1935 /* linux_inotify_add_watch */
1940 /* linux_inotify_rm_watch */
1945 /* linux_migrate_pages */
1952 struct linux_openat_args *p = params;
1953 iarg[0] = p->dfd; /* l_int */
1954 uarg[1] = (intptr_t) p->filename; /* const char * */
1955 iarg[2] = p->flags; /* l_int */
1956 iarg[3] = p->mode; /* l_int */
1962 struct linux_mkdirat_args *p = params;
1963 iarg[0] = p->dfd; /* l_int */
1964 uarg[1] = (intptr_t) p->pathname; /* const char * */
1965 iarg[2] = p->mode; /* l_int */
1971 struct linux_mknodat_args *p = params;
1972 iarg[0] = p->dfd; /* l_int */
1973 uarg[1] = (intptr_t) p->filename; /* const char * */
1974 iarg[2] = p->mode; /* l_int */
1975 iarg[3] = p->dev; /* l_uint */
1979 /* linux_fchownat */
1981 struct linux_fchownat_args *p = params;
1982 iarg[0] = p->dfd; /* l_int */
1983 uarg[1] = (intptr_t) p->filename; /* const char * */
1984 iarg[2] = p->uid; /* l_uid16_t */
1985 iarg[3] = p->gid; /* l_gid16_t */
1986 iarg[4] = p->flag; /* l_int */
1990 /* linux_futimesat */
1992 struct linux_futimesat_args *p = params;
1993 iarg[0] = p->dfd; /* l_int */
1994 uarg[1] = (intptr_t) p->filename; /* char * */
1995 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1999 /* linux_fstatat64 */
2001 struct linux_fstatat64_args *p = params;
2002 iarg[0] = p->dfd; /* l_int */
2003 uarg[1] = (intptr_t) p->pathname; /* char * */
2004 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2005 iarg[3] = p->flag; /* l_int */
2009 /* linux_unlinkat */
2011 struct linux_unlinkat_args *p = params;
2012 iarg[0] = p->dfd; /* l_int */
2013 uarg[1] = (intptr_t) p->pathname; /* const char * */
2014 iarg[2] = p->flag; /* l_int */
2018 /* linux_renameat */
2020 struct linux_renameat_args *p = params;
2021 iarg[0] = p->olddfd; /* l_int */
2022 uarg[1] = (intptr_t) p->oldname; /* const char * */
2023 iarg[2] = p->newdfd; /* l_int */
2024 uarg[3] = (intptr_t) p->newname; /* const char * */
2030 struct linux_linkat_args *p = params;
2031 iarg[0] = p->olddfd; /* l_int */
2032 uarg[1] = (intptr_t) p->oldname; /* const char * */
2033 iarg[2] = p->newdfd; /* l_int */
2034 uarg[3] = (intptr_t) p->newname; /* const char * */
2035 iarg[4] = p->flag; /* l_int */
2039 /* linux_symlinkat */
2041 struct linux_symlinkat_args *p = params;
2042 uarg[0] = (intptr_t) p->oldname; /* const char * */
2043 iarg[1] = p->newdfd; /* l_int */
2044 uarg[2] = (intptr_t) p->newname; /* const char * */
2048 /* linux_readlinkat */
2050 struct linux_readlinkat_args *p = params;
2051 iarg[0] = p->dfd; /* l_int */
2052 uarg[1] = (intptr_t) p->path; /* const char * */
2053 uarg[2] = (intptr_t) p->buf; /* char * */
2054 iarg[3] = p->bufsiz; /* l_int */
2058 /* linux_fchmodat */
2060 struct linux_fchmodat_args *p = params;
2061 iarg[0] = p->dfd; /* l_int */
2062 uarg[1] = (intptr_t) p->filename; /* const char * */
2063 iarg[2] = p->mode; /* l_mode_t */
2067 /* linux_faccessat */
2069 struct linux_faccessat_args *p = params;
2070 iarg[0] = p->dfd; /* l_int */
2071 uarg[1] = (intptr_t) p->filename; /* const char * */
2072 iarg[2] = p->amode; /* l_int */
2076 /* linux_pselect6 */
2078 struct linux_pselect6_args *p = params;
2079 iarg[0] = p->nfds; /* l_int */
2080 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2081 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2082 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2083 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2084 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2090 struct linux_ppoll_args *p = params;
2091 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2092 uarg[1] = p->nfds; /* uint32_t */
2093 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2094 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2095 iarg[4] = p->ssize; /* l_size_t */
2104 /* linux_set_robust_list */
2106 struct linux_set_robust_list_args *p = params;
2107 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2108 iarg[1] = p->len; /* l_size_t */
2112 /* linux_get_robust_list */
2114 struct linux_get_robust_list_args *p = params;
2115 iarg[0] = p->pid; /* l_int */
2116 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2117 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2123 struct linux_splice_args *p = params;
2124 iarg[0] = p->fd_in; /* int */
2125 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2126 iarg[2] = p->fd_out; /* int */
2127 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2128 iarg[4] = p->len; /* l_size_t */
2129 iarg[5] = p->flags; /* l_uint */
2133 /* linux_sync_file_range */
2135 struct linux_sync_file_range_args *p = params;
2136 iarg[0] = p->fd; /* l_int */
2137 uarg[1] = p->offset1; /* uint32_t */
2138 uarg[2] = p->offset2; /* uint32_t */
2139 uarg[3] = p->nbytes1; /* uint32_t */
2140 uarg[4] = p->nbytes2; /* uint32_t */
2141 uarg[5] = p->flags; /* unsigned int */
2150 /* linux_vmsplice */
2155 /* linux_move_pages */
2162 struct linux_getcpu_args *p = params;
2163 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2164 uarg[1] = (intptr_t) p->node; /* l_uint * */
2165 uarg[2] = (intptr_t) p->cache; /* void * */
2169 /* linux_epoll_pwait */
2171 struct linux_epoll_pwait_args *p = params;
2172 iarg[0] = p->epfd; /* l_int */
2173 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2174 iarg[2] = p->maxevents; /* l_int */
2175 iarg[3] = p->timeout; /* l_int */
2176 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2177 iarg[5] = p->sigsetsize; /* l_size_t */
2181 /* linux_utimensat */
2183 struct linux_utimensat_args *p = params;
2184 iarg[0] = p->dfd; /* l_int */
2185 uarg[1] = (intptr_t) p->pathname; /* const char * */
2186 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2187 iarg[3] = p->flags; /* l_int */
2191 /* linux_signalfd */
2196 /* linux_timerfd_create */
2198 struct linux_timerfd_create_args *p = params;
2199 iarg[0] = p->clockid; /* l_int */
2200 iarg[1] = p->flags; /* l_int */
2206 struct linux_eventfd_args *p = params;
2207 iarg[0] = p->initval; /* l_uint */
2211 /* linux_fallocate */
2213 struct linux_fallocate_args *p = params;
2214 iarg[0] = p->fd; /* l_int */
2215 iarg[1] = p->mode; /* l_int */
2216 uarg[2] = p->offset1; /* uint32_t */
2217 uarg[3] = p->offset2; /* uint32_t */
2218 uarg[4] = p->len1; /* uint32_t */
2219 uarg[5] = p->len2; /* uint32_t */
2223 /* linux_timerfd_settime */
2225 struct linux_timerfd_settime_args *p = params;
2226 iarg[0] = p->fd; /* l_int */
2227 iarg[1] = p->flags; /* l_int */
2228 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2229 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2233 /* linux_timerfd_gettime */
2235 struct linux_timerfd_gettime_args *p = params;
2236 iarg[0] = p->fd; /* l_int */
2237 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2241 /* linux_signalfd4 */
2246 /* linux_eventfd2 */
2248 struct linux_eventfd2_args *p = params;
2249 iarg[0] = p->initval; /* l_uint */
2250 iarg[1] = p->flags; /* l_int */
2254 /* linux_epoll_create1 */
2256 struct linux_epoll_create1_args *p = params;
2257 iarg[0] = p->flags; /* l_int */
2263 struct linux_dup3_args *p = params;
2264 iarg[0] = p->oldfd; /* l_int */
2265 iarg[1] = p->newfd; /* l_int */
2266 iarg[2] = p->flags; /* l_int */
2272 struct linux_pipe2_args *p = params;
2273 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2274 iarg[1] = p->flags; /* l_int */
2278 /* linux_inotify_init1 */
2285 struct linux_preadv_args *p = params;
2286 iarg[0] = p->fd; /* l_ulong */
2287 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2288 iarg[2] = p->vlen; /* l_ulong */
2289 iarg[3] = p->pos_l; /* l_ulong */
2290 iarg[4] = p->pos_h; /* l_ulong */
2296 struct linux_pwritev_args *p = params;
2297 iarg[0] = p->fd; /* l_ulong */
2298 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2299 iarg[2] = p->vlen; /* l_ulong */
2300 iarg[3] = p->pos_l; /* l_ulong */
2301 iarg[4] = p->pos_h; /* l_ulong */
2305 /* linux_rt_tgsigqueueinfo */
2307 struct linux_rt_tgsigqueueinfo_args *p = params;
2308 iarg[0] = p->tgid; /* l_pid_t */
2309 iarg[1] = p->tid; /* l_pid_t */
2310 iarg[2] = p->sig; /* l_int */
2311 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2315 /* linux_perf_event_open */
2320 /* linux_recvmmsg */
2322 struct linux_recvmmsg_args *p = params;
2323 iarg[0] = p->s; /* l_int */
2324 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2325 iarg[2] = p->vlen; /* l_uint */
2326 iarg[3] = p->flags; /* l_uint */
2327 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2331 /* linux_fanotify_init */
2336 /* linux_fanotify_mark */
2341 /* linux_prlimit64 */
2343 struct linux_prlimit64_args *p = params;
2344 iarg[0] = p->pid; /* l_pid_t */
2345 iarg[1] = p->resource; /* l_uint */
2346 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2347 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2351 /* linux_name_to_handle_at */
2356 /* linux_open_by_handle_at */
2361 /* linux_clock_adjtime */
2368 struct linux_syncfs_args *p = params;
2369 iarg[0] = p->fd; /* l_int */
2373 /* linux_sendmmsg */
2375 struct linux_sendmmsg_args *p = params;
2376 iarg[0] = p->s; /* l_int */
2377 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2378 iarg[2] = p->vlen; /* l_uint */
2379 iarg[3] = p->flags; /* l_uint */
2388 /* linux_process_vm_readv */
2390 struct linux_process_vm_readv_args *p = params;
2391 iarg[0] = p->pid; /* l_pid_t */
2392 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2393 iarg[2] = p->liovcnt; /* l_ulong */
2394 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2395 iarg[4] = p->riovcnt; /* l_ulong */
2396 iarg[5] = p->flags; /* l_ulong */
2400 /* linux_process_vm_writev */
2402 struct linux_process_vm_writev_args *p = params;
2403 iarg[0] = p->pid; /* l_pid_t */
2404 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2405 iarg[2] = p->liovcnt; /* l_ulong */
2406 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2407 iarg[4] = p->riovcnt; /* l_ulong */
2408 iarg[5] = p->flags; /* l_ulong */
2414 struct linux_kcmp_args *p = params;
2415 iarg[0] = p->pid1; /* l_pid_t */
2416 iarg[1] = p->pid2; /* l_pid_t */
2417 iarg[2] = p->type; /* l_int */
2418 iarg[3] = p->idx1; /* l_ulong */
2419 iarg[4] = p->idx; /* l_ulong */
2423 /* linux_finit_module */
2425 struct linux_finit_module_args *p = params;
2426 iarg[0] = p->fd; /* l_int */
2427 uarg[1] = (intptr_t) p->uargs; /* const char * */
2428 iarg[2] = p->flags; /* l_int */
2432 /* linux_sched_setattr */
2434 struct linux_sched_setattr_args *p = params;
2435 iarg[0] = p->pid; /* l_pid_t */
2436 uarg[1] = (intptr_t) p->attr; /* void * */
2437 iarg[2] = p->flags; /* l_uint */
2441 /* linux_sched_getattr */
2443 struct linux_sched_getattr_args *p = params;
2444 iarg[0] = p->pid; /* l_pid_t */
2445 uarg[1] = (intptr_t) p->attr; /* void * */
2446 iarg[2] = p->size; /* l_uint */
2447 iarg[3] = p->flags; /* l_uint */
2451 /* linux_renameat2 */
2453 struct linux_renameat2_args *p = params;
2454 iarg[0] = p->olddfd; /* l_int */
2455 uarg[1] = (intptr_t) p->oldname; /* const char * */
2456 iarg[2] = p->newdfd; /* l_int */
2457 uarg[3] = (intptr_t) p->newname; /* const char * */
2458 uarg[4] = p->flags; /* unsigned int */
2464 struct linux_seccomp_args *p = params;
2465 iarg[0] = p->op; /* l_uint */
2466 iarg[1] = p->flags; /* l_uint */
2467 uarg[2] = (intptr_t) p->uargs; /* const char * */
2471 /* linux_getrandom */
2473 struct linux_getrandom_args *p = params;
2474 uarg[0] = (intptr_t) p->buf; /* char * */
2475 iarg[1] = p->count; /* l_size_t */
2476 iarg[2] = p->flags; /* l_uint */
2480 /* linux_memfd_create */
2482 struct linux_memfd_create_args *p = params;
2483 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2484 iarg[1] = p->flags; /* l_uint */
2490 struct linux_bpf_args *p = params;
2491 iarg[0] = p->cmd; /* l_int */
2492 uarg[1] = (intptr_t) p->attr; /* void * */
2493 iarg[2] = p->size; /* l_uint */
2497 /* linux_execveat */
2499 struct linux_execveat_args *p = params;
2500 iarg[0] = p->dfd; /* l_int */
2501 uarg[1] = (intptr_t) p->filename; /* const char * */
2502 uarg[2] = (intptr_t) p->argv; /* const char ** */
2503 uarg[3] = (intptr_t) p->envp; /* const char ** */
2504 iarg[4] = p->flags; /* l_int */
2510 struct linux_socket_args *p = params;
2511 iarg[0] = p->domain; /* l_int */
2512 iarg[1] = p->type; /* l_int */
2513 iarg[2] = p->protocol; /* l_int */
2517 /* linux_socketpair */
2519 struct linux_socketpair_args *p = params;
2520 iarg[0] = p->domain; /* l_int */
2521 iarg[1] = p->type; /* l_int */
2522 iarg[2] = p->protocol; /* l_int */
2523 iarg[3] = p->rsv; /* l_uintptr_t */
2529 struct linux_bind_args *p = params;
2530 iarg[0] = p->s; /* l_int */
2531 iarg[1] = p->name; /* l_uintptr_t */
2532 iarg[2] = p->namelen; /* l_int */
2538 struct linux_connect_args *p = params;
2539 iarg[0] = p->s; /* l_int */
2540 iarg[1] = p->name; /* l_uintptr_t */
2541 iarg[2] = p->namelen; /* l_int */
2547 struct linux_listen_args *p = params;
2548 iarg[0] = p->s; /* l_int */
2549 iarg[1] = p->backlog; /* l_int */
2555 struct linux_accept4_args *p = params;
2556 iarg[0] = p->s; /* l_int */
2557 iarg[1] = p->addr; /* l_uintptr_t */
2558 iarg[2] = p->namelen; /* l_uintptr_t */
2559 iarg[3] = p->flags; /* l_int */
2563 /* linux_getsockopt */
2565 struct linux_getsockopt_args *p = params;
2566 iarg[0] = p->s; /* l_int */
2567 iarg[1] = p->level; /* l_int */
2568 iarg[2] = p->optname; /* l_int */
2569 iarg[3] = p->optval; /* l_uintptr_t */
2570 iarg[4] = p->optlen; /* l_uintptr_t */
2574 /* linux_setsockopt */
2576 struct linux_setsockopt_args *p = params;
2577 iarg[0] = p->s; /* l_int */
2578 iarg[1] = p->level; /* l_int */
2579 iarg[2] = p->optname; /* l_int */
2580 iarg[3] = p->optval; /* l_uintptr_t */
2581 iarg[4] = p->optlen; /* l_int */
2585 /* linux_getsockname */
2587 struct linux_getsockname_args *p = params;
2588 iarg[0] = p->s; /* l_int */
2589 iarg[1] = p->addr; /* l_uintptr_t */
2590 iarg[2] = p->namelen; /* l_uintptr_t */
2594 /* linux_getpeername */
2596 struct linux_getpeername_args *p = params;
2597 iarg[0] = p->s; /* l_int */
2598 iarg[1] = p->addr; /* l_uintptr_t */
2599 iarg[2] = p->namelen; /* l_uintptr_t */
2605 struct linux_sendto_args *p = params;
2606 iarg[0] = p->s; /* l_int */
2607 iarg[1] = p->msg; /* l_uintptr_t */
2608 iarg[2] = p->len; /* l_int */
2609 iarg[3] = p->flags; /* l_int */
2610 iarg[4] = p->to; /* l_uintptr_t */
2611 iarg[5] = p->tolen; /* l_int */
2617 struct linux_sendmsg_args *p = params;
2618 iarg[0] = p->s; /* l_int */
2619 iarg[1] = p->msg; /* l_uintptr_t */
2620 iarg[2] = p->flags; /* l_int */
2624 /* linux_recvfrom */
2626 struct linux_recvfrom_args *p = params;
2627 iarg[0] = p->s; /* l_int */
2628 iarg[1] = p->buf; /* l_uintptr_t */
2629 iarg[2] = p->len; /* l_size_t */
2630 iarg[3] = p->flags; /* l_int */
2631 iarg[4] = p->from; /* l_uintptr_t */
2632 iarg[5] = p->fromlen; /* l_uintptr_t */
2638 struct linux_recvmsg_args *p = params;
2639 iarg[0] = p->s; /* l_int */
2640 iarg[1] = p->msg; /* l_uintptr_t */
2641 iarg[2] = p->flags; /* l_int */
2645 /* linux_shutdown */
2647 struct linux_shutdown_args *p = params;
2648 iarg[0] = p->s; /* l_int */
2649 iarg[1] = p->how; /* l_int */
2653 /* linux_userfaultfd */
2655 struct linux_userfaultfd_args *p = params;
2656 iarg[0] = p->flags; /* l_int */
2660 /* linux_membarrier */
2662 struct linux_membarrier_args *p = params;
2663 iarg[0] = p->cmd; /* l_int */
2664 iarg[1] = p->flags; /* l_int */
2670 struct linux_mlock2_args *p = params;
2671 iarg[0] = p->start; /* l_ulong */
2672 iarg[1] = p->len; /* l_size_t */
2673 iarg[2] = p->flags; /* l_int */
2677 /* linux_copy_file_range */
2679 struct linux_copy_file_range_args *p = params;
2680 iarg[0] = p->fd_in; /* l_int */
2681 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2682 iarg[2] = p->fd_out; /* l_int */
2683 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2684 iarg[4] = p->len; /* l_size_t */
2685 iarg[5] = p->flags; /* l_uint */
2691 struct linux_preadv2_args *p = params;
2692 iarg[0] = p->fd; /* l_ulong */
2693 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2694 iarg[2] = p->vlen; /* l_ulong */
2695 iarg[3] = p->pos_l; /* l_ulong */
2696 iarg[4] = p->pos_h; /* l_ulong */
2697 iarg[5] = p->flags; /* l_int */
2701 /* linux_pwritev2 */
2703 struct linux_pwritev2_args *p = params;
2704 iarg[0] = p->fd; /* l_ulong */
2705 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2706 iarg[2] = p->vlen; /* l_ulong */
2707 iarg[3] = p->pos_l; /* l_ulong */
2708 iarg[4] = p->pos_h; /* l_ulong */
2709 iarg[5] = p->flags; /* l_int */
2713 /* linux_pkey_mprotect */
2715 struct linux_pkey_mprotect_args *p = params;
2716 iarg[0] = p->start; /* l_ulong */
2717 iarg[1] = p->len; /* l_size_t */
2718 iarg[2] = p->prot; /* l_ulong */
2719 iarg[3] = p->pkey; /* l_int */
2723 /* linux_pkey_alloc */
2725 struct linux_pkey_alloc_args *p = params;
2726 iarg[0] = p->flags; /* l_ulong */
2727 iarg[1] = p->init_val; /* l_ulong */
2731 /* linux_pkey_free */
2733 struct linux_pkey_free_args *p = params;
2734 iarg[0] = p->pkey; /* l_int */
2740 struct linux_statx_args *p = params;
2741 iarg[0] = p->dirfd; /* l_int */
2742 uarg[1] = (intptr_t) p->pathname; /* const char * */
2743 iarg[2] = p->flags; /* l_uint */
2744 iarg[3] = p->mask; /* l_uint */
2745 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2749 /* linux_arch_prctl */
2751 struct linux_arch_prctl_args *p = params;
2752 iarg[0] = p->option; /* l_int */
2753 iarg[1] = p->arg2; /* l_ulong */
2757 /* linux_io_pgetevents */
2769 struct linux_semget_args *p = params;
2770 iarg[0] = p->key; /* l_key_t */
2771 iarg[1] = p->nsems; /* l_int */
2772 iarg[2] = p->semflg; /* l_int */
2778 struct linux_semctl_args *p = params;
2779 iarg[0] = p->semid; /* l_int */
2780 iarg[1] = p->semnum; /* l_int */
2781 iarg[2] = p->cmd; /* l_int */
2782 uarg[3] = p->arg.buf; /* union l_semun */
2788 struct linux_shmget_args *p = params;
2789 iarg[0] = p->key; /* l_key_t */
2790 iarg[1] = p->size; /* l_size_t */
2791 iarg[2] = p->shmflg; /* l_int */
2797 struct linux_shmctl_args *p = params;
2798 iarg[0] = p->shmid; /* l_int */
2799 iarg[1] = p->cmd; /* l_int */
2800 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2806 struct linux_shmat_args *p = params;
2807 iarg[0] = p->shmid; /* l_int */
2808 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2809 iarg[2] = p->shmflg; /* l_int */
2815 struct linux_shmdt_args *p = params;
2816 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2822 struct linux_msgget_args *p = params;
2823 iarg[0] = p->key; /* l_key_t */
2824 iarg[1] = p->msgflg; /* l_int */
2830 struct linux_msgsnd_args *p = params;
2831 iarg[0] = p->msqid; /* l_int */
2832 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2833 iarg[2] = p->msgsz; /* l_size_t */
2834 iarg[3] = p->msgflg; /* l_int */
2840 struct linux_msgrcv_args *p = params;
2841 iarg[0] = p->msqid; /* l_int */
2842 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2843 iarg[2] = p->msgsz; /* l_size_t */
2844 iarg[3] = p->msgtyp; /* l_long */
2845 iarg[4] = p->msgflg; /* l_int */
2851 struct linux_msgctl_args *p = params;
2852 iarg[0] = p->msqid; /* l_int */
2853 iarg[1] = p->cmd; /* l_int */
2854 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2858 /* linux_clock_gettime64 */
2863 /* linux_clock_settime64 */
2868 /* linux_clock_adjtime64 */
2873 /* linux_clock_getres_time64 */
2878 /* linux_clock_nanosleep_time64 */
2883 /* linux_timer_gettime64 */
2888 /* linux_timer_settime64 */
2893 /* linux_timerfd_gettime64 */
2898 /* linux_timerfd_settime64 */
2903 /* linux_utimensat_time64 */
2908 /* linux_pselect6_time64 */
2913 /* linux_ppoll_time64 */
2918 /* linux_io_pgetevents_time64 */
2923 /* linux_recvmmsg_time64 */
2928 /* linux_mq_timedsend_time64 */
2933 /* linux_mq_timedreceive_time64 */
2938 /* linux_semtimedop_time64 */
2943 /* linux_rt_sigtimedwait_time64 */
2948 /* linux_futex_time64 */
2953 /* linux_sched_rr_get_interval_time64 */
2958 /* linux_pidfd_send_signal */
2960 struct linux_pidfd_send_signal_args *p = params;
2961 iarg[0] = p->pidfd; /* l_int */
2962 iarg[1] = p->sig; /* l_int */
2963 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2964 iarg[3] = p->flags; /* l_uint */
2968 /* linux_io_uring_setup */
2973 /* linux_io_uring_enter */
2978 /* linux_io_uring_register */
2989 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2991 const char *p = NULL;
2993 #define nosys linux_nosys
3014 p = "userland char *";
3030 p = "userland char *";
3043 p = "userland char *";
3072 p = "userland l_int *";
3085 p = "userland char *";
3098 p = "userland char *";
3101 p = "userland char *";
3111 p = "userland char *";
3121 p = "userland char *";
3124 p = "userland uint32_t *";
3127 p = "userland uint32_t *";
3137 p = "userland char *";
3147 p = "userland l_time_t *";
3157 p = "userland char *";
3173 p = "userland char *";
3182 /* linux_lchown16 */
3186 p = "userland char *";
3202 p = "userland char *";
3205 p = "userland struct linux_stat *";
3234 p = "userland char *";
3237 p = "userland char *";
3240 p = "userland char *";
3246 p = "userland void *";
3252 /* linux_oldumount */
3256 p = "userland char *";
3262 /* linux_setuid16 */
3272 /* linux_getuid16 */
3314 p = "userland char *";
3317 p = "userland struct l_utimbuf *";
3327 p = "userland char *";
3366 p = "userland char *";
3369 p = "userland char *";
3379 p = "userland char *";
3392 p = "userland char *";
3412 p = "userland l_int *";
3422 p = "userland struct l_times_argv *";
3438 /* linux_setgid16 */
3448 /* linux_getgid16 */
3464 /* linux_geteuid16 */
3467 /* linux_getegid16 */
3474 p = "userland char *";
3484 p = "userland char *";
3538 /* linux_olduname */
3555 p = "userland char *";
3568 p = "userland struct l_ustat *";
3596 /* linux_sigaction */
3603 p = "userland l_osigaction_t *";
3606 p = "userland l_osigaction_t *";
3612 /* linux_sgetmask */
3615 /* linux_ssetmask */
3625 /* linux_setreuid16 */
3638 /* linux_setregid16 */
3651 /* linux_sigsuspend */
3667 /* linux_sigpending */
3671 p = "userland l_osigset_t *";
3677 /* linux_sethostname */
3681 p = "userland char *";
3690 /* linux_setrlimit */
3697 p = "userland struct l_rlimit *";
3703 /* linux_old_getrlimit */
3710 p = "userland struct l_rlimit *";
3716 /* linux_getrusage */
3723 p = "userland struct l_rusage *";
3729 /* linux_gettimeofday */
3733 p = "userland struct l_timeval *";
3736 p = "userland struct timezone *";
3742 /* linux_settimeofday */
3746 p = "userland struct l_timeval *";
3749 p = "userland struct timezone *";
3755 /* linux_getgroups16 */
3762 p = "userland l_gid16_t *";
3768 /* linux_setgroups16 */
3775 p = "userland l_gid16_t *";
3781 /* linux_old_select */
3785 p = "userland struct l_old_select_argv *";
3795 p = "userland char *";
3798 p = "userland char *";
3808 p = "userland char *";
3811 p = "userland struct linux_lstat *";
3817 /* linux_readlink */
3821 p = "userland char *";
3824 p = "userland char *";
3837 p = "userland char *";
3856 p = "userland void *";
3869 p = "userland struct l_dirent *";
3882 p = "userland struct l_mmap_argv *";
3901 /* linux_truncate */
3905 p = "userland char *";
3914 /* linux_ftruncate */
3956 /* linux_getpriority */
3989 p = "userland char *";
3992 p = "userland struct l_statfs_buf *";
4005 p = "userland struct l_statfs_buf *";
4011 /* linux_socketcall */
4031 p = "userland char *";
4040 /* linux_setitimer */
4047 p = "userland struct l_itimerval *";
4050 p = "userland struct l_itimerval *";
4056 /* linux_getitimer */
4063 p = "userland struct l_itimerval *";
4073 p = "userland char *";
4076 p = "userland struct l_newstat *";
4082 /* linux_newlstat */
4086 p = "userland char *";
4089 p = "userland struct l_newstat *";
4095 /* linux_newfstat */
4102 p = "userland struct l_newstat *";
4131 p = "userland l_int *";
4137 p = "userland struct l_rusage *";
4150 p = "userland struct l_sysinfo *";
4191 /* linux_sigreturn */
4195 p = "userland struct l_sigframe *";
4208 p = "userland void *";
4211 p = "userland void *";
4214 p = "userland void *";
4217 p = "userland void *";
4223 /* linux_setdomainname */
4227 p = "userland char *";
4236 /* linux_newuname */
4240 p = "userland struct l_new_utsname *";
4246 /* linux_adjtimex */
4249 /* linux_mprotect */
4265 /* linux_sigprocmask */
4272 p = "userland l_osigset_t *";
4275 p = "userland l_osigset_t *";
4281 /* linux_init_module */
4284 /* linux_delete_module */
4287 /* linux_quotactl */
4329 /* linux_personality */
4339 /* linux_setfsuid16 */
4349 /* linux_setfsgid16 */
4372 p = "userland l_loff_t *";
4381 /* linux_getdents */
4388 p = "userland void *";
4404 p = "userland l_fd_set *";
4407 p = "userland l_fd_set *";
4410 p = "userland l_fd_set *";
4413 p = "userland struct l_timeval *";
4455 p = "userland struct l_iovec32 *";
4471 p = "userland struct l_iovec32 *";
4490 /* linux_fdatasync */
4504 p = "userland struct l___sysctl_args *";
4514 p = "userland const void *";
4527 p = "userland const void *";
4549 /* linux_sched_setparam */
4556 p = "userland struct sched_param *";
4562 /* linux_sched_getparam */
4569 p = "userland struct sched_param *";
4575 /* linux_sched_setscheduler */
4585 p = "userland struct sched_param *";
4591 /* linux_sched_getscheduler */
4604 /* linux_sched_get_priority_max */
4614 /* linux_sched_get_priority_min */
4624 /* linux_sched_rr_get_interval */
4631 p = "userland struct l_timespec *";
4637 /* linux_nanosleep */
4641 p = "userland const struct l_timespec *";
4644 p = "userland struct l_timespec *";
4672 /* linux_setresuid16 */
4688 /* linux_getresuid16 */
4692 p = "userland l_uid16_t *";
4695 p = "userland l_uid16_t *";
4698 p = "userland l_uid16_t *";
4708 p = "userland struct pollfd *";
4720 /* linux_setresgid16 */
4736 /* linux_getresgid16 */
4740 p = "userland l_gid16_t *";
4743 p = "userland l_gid16_t *";
4746 p = "userland l_gid16_t *";
4774 /* linux_rt_sigreturn */
4778 p = "userland struct l_ucontext *";
4784 /* linux_rt_sigaction */
4791 p = "userland l_sigaction_t *";
4794 p = "userland l_sigaction_t *";
4803 /* linux_rt_sigprocmask */
4810 p = "userland l_sigset_t *";
4813 p = "userland l_sigset_t *";
4822 /* linux_rt_sigpending */
4826 p = "userland l_sigset_t *";
4835 /* linux_rt_sigtimedwait */
4839 p = "userland l_sigset_t *";
4842 p = "userland l_siginfo_t *";
4845 p = "userland struct l_timeval *";
4854 /* linux_rt_sigqueueinfo */
4864 p = "userland l_siginfo_t *";
4870 /* linux_rt_sigsuspend */
4874 p = "userland l_sigset_t *";
4890 p = "userland char *";
4912 p = "userland char *";
4931 p = "userland char *";
4947 p = "userland char *";
4960 p = "userland struct l_user_cap_header *";
4963 p = "userland struct l_user_cap_data *";
4973 p = "userland struct l_user_cap_header *";
4976 p = "userland struct l_user_cap_data *";
4982 /* linux_sigaltstack */
4986 p = "userland l_stack_t *";
4989 p = "userland l_stack_t *";
4995 /* linux_sendfile */
5001 /* linux_getrlimit */
5008 p = "userland struct l_rlimit *";
5039 /* linux_truncate64 */
5043 p = "userland char *";
5055 /* linux_ftruncate64 */
5075 p = "userland const char *";
5078 p = "userland struct l_stat64 *";
5088 p = "userland const char *";
5091 p = "userland struct l_stat64 *";
5104 p = "userland struct l_stat64 *";
5114 p = "userland char *";
5164 /* linux_getgroups */
5171 p = "userland l_gid_t *";
5177 /* linux_setgroups */
5184 p = "userland l_gid_t *";
5213 p = "userland uid_t *";
5216 p = "userland uid_t *";
5219 p = "userland uid_t *";
5245 p = "userland gid_t *";
5248 p = "userland gid_t *";
5251 p = "userland gid_t *";
5261 p = "userland char *";
5293 /* linux_setfsuid */
5303 /* linux_setfsgid */
5313 /* linux_pivot_root */
5317 p = "userland char *";
5320 p = "userland char *";
5336 p = "userland u_char *";
5346 p = "userland void *";
5358 /* linux_getdents64 */
5365 p = "userland void *";
5393 /* linux_setxattr */
5396 /* linux_lsetxattr */
5399 /* linux_fsetxattr */
5402 /* linux_getxattr */
5405 /* linux_lgetxattr */
5408 /* linux_fgetxattr */
5411 /* linux_listxattr */
5414 /* linux_llistxattr */
5417 /* linux_flistxattr */
5420 /* linux_removexattr */
5423 /* linux_lremovexattr */
5426 /* linux_fremovexattr */
5442 /* linux_sys_futex */
5446 p = "userland void *";
5455 p = "userland struct l_timespec *";
5458 p = "userland uint32_t *";
5467 /* linux_sched_setaffinity */
5477 p = "userland l_ulong *";
5483 /* linux_sched_getaffinity */
5493 p = "userland l_ulong *";
5499 /* linux_set_thread_area */
5503 p = "userland struct l_user_desc *";
5509 /* linux_fadvise64 */
5531 /* linux_exit_group */
5541 /* linux_lookup_dcookie */
5544 /* linux_epoll_create */
5554 /* linux_epoll_ctl */
5567 p = "userland struct epoll_event *";
5573 /* linux_epoll_wait */
5580 p = "userland struct epoll_event *";
5592 /* linux_remap_file_pages */
5595 /* linux_set_tid_address */
5599 p = "userland int *";
5605 /* linux_timer_create */
5612 p = "userland struct sigevent *";
5615 p = "userland l_timer_t *";
5621 /* linux_timer_settime */
5631 p = "userland const struct itimerspec *";
5634 p = "userland struct itimerspec *";
5640 /* linux_timer_gettime */
5647 p = "userland struct itimerspec *";
5653 /* linux_timer_getoverrun */
5663 /* linux_timer_delete */
5673 /* linux_clock_settime */
5680 p = "userland struct l_timespec *";
5686 /* linux_clock_gettime */
5693 p = "userland struct l_timespec *";
5699 /* linux_clock_getres */
5706 p = "userland struct l_timespec *";
5712 /* linux_clock_nanosleep */
5722 p = "userland struct l_timespec *";
5725 p = "userland struct l_timespec *";
5731 /* linux_statfs64 */
5735 p = "userland char *";
5741 p = "userland struct l_statfs64_buf *";
5747 /* linux_fstatfs64 */
5757 p = "userland struct l_statfs64_buf *";
5783 p = "userland char *";
5786 p = "userland struct l_timeval *";
5792 /* linux_fadvise64_64 */
5820 /* linux_get_mempolicy */
5823 /* linux_set_mempolicy */
5829 /* linux_mq_unlink */
5832 /* linux_mq_timedsend */
5835 /* linux_mq_timedreceive */
5838 /* linux_mq_notify */
5841 /* linux_mq_getsetattr */
5844 /* linux_kexec_load */
5857 p = "userland l_siginfo_t *";
5863 p = "userland struct l_rusage *";
5872 /* linux_request_key */
5878 /* linux_ioprio_set */
5881 /* linux_ioprio_get */
5884 /* linux_inotify_init */
5887 /* linux_inotify_add_watch */
5890 /* linux_inotify_rm_watch */
5893 /* linux_migrate_pages */
5903 p = "userland const char *";
5922 p = "userland const char *";
5938 p = "userland const char *";
5950 /* linux_fchownat */
5957 p = "userland const char *";
5972 /* linux_futimesat */
5979 p = "userland char *";
5982 p = "userland struct l_timeval *";
5988 /* linux_fstatat64 */
5995 p = "userland char *";
5998 p = "userland struct l_stat64 *";
6007 /* linux_unlinkat */
6014 p = "userland const char *";
6023 /* linux_renameat */
6030 p = "userland const char *";
6036 p = "userland const char *";
6049 p = "userland const char *";
6055 p = "userland const char *";
6064 /* linux_symlinkat */
6068 p = "userland const char *";
6074 p = "userland const char *";
6080 /* linux_readlinkat */
6087 p = "userland const char *";
6090 p = "userland char *";
6099 /* linux_fchmodat */
6106 p = "userland const char *";
6115 /* linux_faccessat */
6122 p = "userland const char *";
6131 /* linux_pselect6 */
6138 p = "userland l_fd_set *";
6141 p = "userland l_fd_set *";
6144 p = "userland l_fd_set *";
6147 p = "userland struct l_timespec *";
6150 p = "userland l_uintptr_t *";
6160 p = "userland struct pollfd *";
6166 p = "userland struct l_timespec *";
6169 p = "userland l_sigset_t *";
6181 /* linux_set_robust_list */
6185 p = "userland struct linux_robust_list_head *";
6194 /* linux_get_robust_list */
6201 p = "userland struct linux_robust_list_head **";
6204 p = "userland l_size_t *";
6217 p = "userland l_loff_t *";
6223 p = "userland l_loff_t *";
6235 /* linux_sync_file_range */
6263 /* linux_vmsplice */
6266 /* linux_move_pages */
6273 p = "userland l_uint *";
6276 p = "userland l_uint *";
6279 p = "userland void *";
6285 /* linux_epoll_pwait */
6292 p = "userland struct epoll_event *";
6301 p = "userland l_sigset_t *";
6310 /* linux_utimensat */
6317 p = "userland const char *";
6320 p = "userland const struct l_timespec *";
6329 /* linux_signalfd */
6332 /* linux_timerfd_create */
6355 /* linux_fallocate */
6380 /* linux_timerfd_settime */
6390 p = "userland const struct l_itimerspec *";
6393 p = "userland struct l_itimerspec *";
6399 /* linux_timerfd_gettime */
6406 p = "userland struct l_itimerspec *";
6412 /* linux_signalfd4 */
6415 /* linux_eventfd2 */
6428 /* linux_epoll_create1 */
6458 p = "userland l_int *";
6467 /* linux_inotify_init1 */
6477 p = "userland struct iovec *";
6499 p = "userland struct iovec *";
6514 /* linux_rt_tgsigqueueinfo */
6527 p = "userland l_siginfo_t *";
6533 /* linux_perf_event_open */
6536 /* linux_recvmmsg */
6543 p = "userland struct l_mmsghdr *";
6552 p = "userland struct l_timespec *";
6558 /* linux_fanotify_init */
6561 /* linux_fanotify_mark */
6564 /* linux_prlimit64 */
6574 p = "userland struct rlimit *";
6577 p = "userland struct rlimit *";
6583 /* linux_name_to_handle_at */
6586 /* linux_open_by_handle_at */
6589 /* linux_clock_adjtime */
6602 /* linux_sendmmsg */
6609 p = "userland struct l_mmsghdr *";
6624 /* linux_process_vm_readv */
6631 p = "userland const struct iovec *";
6637 p = "userland const struct iovec *";
6649 /* linux_process_vm_writev */
6656 p = "userland const struct iovec *";
6662 p = "userland const struct iovec *";
6696 /* linux_finit_module */
6703 p = "userland const char *";
6712 /* linux_sched_setattr */
6719 p = "userland void *";
6728 /* linux_sched_getattr */
6735 p = "userland void *";
6747 /* linux_renameat2 */
6754 p = "userland const char *";
6760 p = "userland const char *";
6779 p = "userland const char *";
6785 /* linux_getrandom */
6789 p = "userland char *";
6801 /* linux_memfd_create */
6805 p = "userland const char *";
6821 p = "userland void *";
6830 /* linux_execveat */
6837 p = "userland const char *";
6840 p = "userland const char **";
6843 p = "userland const char **";
6868 /* linux_socketpair */
6951 /* linux_getsockopt */
6973 /* linux_setsockopt */
6995 /* linux_getsockname */
7011 /* linux_getpeername */
7068 /* linux_recvfrom */
7109 /* linux_shutdown */
7122 /* linux_userfaultfd */
7132 /* linux_membarrier */
7161 /* linux_copy_file_range */
7168 p = "userland l_loff_t *";
7174 p = "userland l_loff_t *";
7193 p = "userland const struct iovec *";
7211 /* linux_pwritev2 */
7218 p = "userland const struct iovec *";
7236 /* linux_pkey_mprotect */
7255 /* linux_pkey_alloc */
7268 /* linux_pkey_free */
7285 p = "userland const char *";
7294 p = "userland void *";
7300 /* linux_arch_prctl */
7313 /* linux_io_pgetevents */
7348 p = "union l_semun";
7380 p = "userland struct l_shmid_ds *";
7393 p = "userland char *";
7406 p = "userland char *";
7432 p = "userland struct l_msgbuf *";
7451 p = "userland struct l_msgbuf *";
7476 p = "userland struct l_msqid_ds *";
7482 /* linux_clock_gettime64 */
7485 /* linux_clock_settime64 */
7488 /* linux_clock_adjtime64 */
7491 /* linux_clock_getres_time64 */
7494 /* linux_clock_nanosleep_time64 */
7497 /* linux_timer_gettime64 */
7500 /* linux_timer_settime64 */
7503 /* linux_timerfd_gettime64 */
7506 /* linux_timerfd_settime64 */
7509 /* linux_utimensat_time64 */
7512 /* linux_pselect6_time64 */
7515 /* linux_ppoll_time64 */
7518 /* linux_io_pgetevents_time64 */
7521 /* linux_recvmmsg_time64 */
7524 /* linux_mq_timedsend_time64 */
7527 /* linux_mq_timedreceive_time64 */
7530 /* linux_semtimedop_time64 */
7533 /* linux_rt_sigtimedwait_time64 */
7536 /* linux_futex_time64 */
7539 /* linux_sched_rr_get_interval_time64 */
7542 /* linux_pidfd_send_signal */
7552 p = "userland l_siginfo_t *";
7561 /* linux_io_uring_setup */
7564 /* linux_io_uring_enter */
7567 /* linux_io_uring_register */
7574 strlcpy(desc, p, descsz);
7577 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7579 const char *p = NULL;
7581 #define nosys linux_nosys
7584 if (ndx == 0 || ndx == 1)
7591 if (ndx == 0 || ndx == 1)
7596 if (ndx == 0 || ndx == 1)
7601 if (ndx == 0 || ndx == 1)
7606 if (ndx == 0 || ndx == 1)
7611 if (ndx == 0 || ndx == 1)
7616 if (ndx == 0 || ndx == 1)
7621 if (ndx == 0 || ndx == 1)
7626 if (ndx == 0 || ndx == 1)
7631 if (ndx == 0 || ndx == 1)
7636 if (ndx == 0 || ndx == 1)
7641 if (ndx == 0 || ndx == 1)
7646 if (ndx == 0 || ndx == 1)
7651 if (ndx == 0 || ndx == 1)
7654 /* linux_lchown16 */
7656 if (ndx == 0 || ndx == 1)
7661 if (ndx == 0 || ndx == 1)
7666 if (ndx == 0 || ndx == 1)
7673 if (ndx == 0 || ndx == 1)
7676 /* linux_oldumount */
7678 if (ndx == 0 || ndx == 1)
7681 /* linux_setuid16 */
7683 if (ndx == 0 || ndx == 1)
7686 /* linux_getuid16 */
7692 if (ndx == 0 || ndx == 1)
7697 if (ndx == 0 || ndx == 1)
7704 if (ndx == 0 || ndx == 1)
7709 if (ndx == 0 || ndx == 1)
7714 if (ndx == 0 || ndx == 1)
7721 if (ndx == 0 || ndx == 1)
7726 if (ndx == 0 || ndx == 1)
7731 if (ndx == 0 || ndx == 1)
7736 if (ndx == 0 || ndx == 1)
7741 if (ndx == 0 || ndx == 1)
7746 if (ndx == 0 || ndx == 1)
7751 if (ndx == 0 || ndx == 1)
7756 if (ndx == 0 || ndx == 1)
7759 /* linux_setgid16 */
7761 if (ndx == 0 || ndx == 1)
7764 /* linux_getgid16 */
7768 if (ndx == 0 || ndx == 1)
7771 /* linux_geteuid16 */
7773 /* linux_getegid16 */
7777 if (ndx == 0 || ndx == 1)
7782 if (ndx == 0 || ndx == 1)
7787 if (ndx == 0 || ndx == 1)
7792 if (ndx == 0 || ndx == 1)
7797 if (ndx == 0 || ndx == 1)
7800 /* linux_olduname */
7804 if (ndx == 0 || ndx == 1)
7809 if (ndx == 0 || ndx == 1)
7814 if (ndx == 0 || ndx == 1)
7819 if (ndx == 0 || ndx == 1)
7828 /* linux_sigaction */
7830 if (ndx == 0 || ndx == 1)
7833 /* linux_sgetmask */
7835 /* linux_ssetmask */
7837 if (ndx == 0 || ndx == 1)
7840 /* linux_setreuid16 */
7842 if (ndx == 0 || ndx == 1)
7845 /* linux_setregid16 */
7847 if (ndx == 0 || ndx == 1)
7850 /* linux_sigsuspend */
7852 if (ndx == 0 || ndx == 1)
7855 /* linux_sigpending */
7857 if (ndx == 0 || ndx == 1)
7860 /* linux_sethostname */
7862 if (ndx == 0 || ndx == 1)
7865 /* linux_setrlimit */
7867 if (ndx == 0 || ndx == 1)
7870 /* linux_old_getrlimit */
7872 if (ndx == 0 || ndx == 1)
7875 /* linux_getrusage */
7877 if (ndx == 0 || ndx == 1)
7880 /* linux_gettimeofday */
7882 if (ndx == 0 || ndx == 1)
7885 /* linux_settimeofday */
7887 if (ndx == 0 || ndx == 1)
7890 /* linux_getgroups16 */
7892 if (ndx == 0 || ndx == 1)
7895 /* linux_setgroups16 */
7897 if (ndx == 0 || ndx == 1)
7900 /* linux_old_select */
7902 if (ndx == 0 || ndx == 1)
7907 if (ndx == 0 || ndx == 1)
7912 if (ndx == 0 || ndx == 1)
7915 /* linux_readlink */
7917 if (ndx == 0 || ndx == 1)
7922 if (ndx == 0 || ndx == 1)
7927 if (ndx == 0 || ndx == 1)
7932 if (ndx == 0 || ndx == 1)
7937 if (ndx == 0 || ndx == 1)
7942 if (ndx == 0 || ndx == 1)
7945 /* linux_truncate */
7947 if (ndx == 0 || ndx == 1)
7950 /* linux_ftruncate */
7952 if (ndx == 0 || ndx == 1)
7957 if (ndx == 0 || ndx == 1)
7962 if (ndx == 0 || ndx == 1)
7965 /* linux_getpriority */
7967 if (ndx == 0 || ndx == 1)
7972 if (ndx == 0 || ndx == 1)
7977 if (ndx == 0 || ndx == 1)
7982 if (ndx == 0 || ndx == 1)
7985 /* linux_socketcall */
7987 if (ndx == 0 || ndx == 1)
7992 if (ndx == 0 || ndx == 1)
7995 /* linux_setitimer */
7997 if (ndx == 0 || ndx == 1)
8000 /* linux_getitimer */
8002 if (ndx == 0 || ndx == 1)
8007 if (ndx == 0 || ndx == 1)
8010 /* linux_newlstat */
8012 if (ndx == 0 || ndx == 1)
8015 /* linux_newfstat */
8017 if (ndx == 0 || ndx == 1)
8024 if (ndx == 0 || ndx == 1)
8031 if (ndx == 0 || ndx == 1)
8038 if (ndx == 0 || ndx == 1)
8043 if (ndx == 0 || ndx == 1)
8048 if (ndx == 0 || ndx == 1)
8051 /* linux_sigreturn */
8053 if (ndx == 0 || ndx == 1)
8058 if (ndx == 0 || ndx == 1)
8061 /* linux_setdomainname */
8063 if (ndx == 0 || ndx == 1)
8066 /* linux_newuname */
8068 if (ndx == 0 || ndx == 1)
8071 /* linux_adjtimex */
8073 /* linux_mprotect */
8075 if (ndx == 0 || ndx == 1)
8078 /* linux_sigprocmask */
8080 if (ndx == 0 || ndx == 1)
8083 /* linux_init_module */
8085 /* linux_delete_module */
8087 /* linux_quotactl */
8091 if (ndx == 0 || ndx == 1)
8096 if (ndx == 0 || ndx == 1)
8103 if (ndx == 0 || ndx == 1)
8106 /* linux_personality */
8108 if (ndx == 0 || ndx == 1)
8111 /* linux_setfsuid16 */
8113 if (ndx == 0 || ndx == 1)
8116 /* linux_setfsgid16 */
8118 if (ndx == 0 || ndx == 1)
8123 if (ndx == 0 || ndx == 1)
8126 /* linux_getdents */
8128 if (ndx == 0 || ndx == 1)
8133 if (ndx == 0 || ndx == 1)
8138 if (ndx == 0 || ndx == 1)
8143 if (ndx == 0 || ndx == 1)
8148 if (ndx == 0 || ndx == 1)
8153 if (ndx == 0 || ndx == 1)
8158 if (ndx == 0 || ndx == 1)
8161 /* linux_fdatasync */
8163 if (ndx == 0 || ndx == 1)
8168 if (ndx == 0 || ndx == 1)
8173 if (ndx == 0 || ndx == 1)
8178 if (ndx == 0 || ndx == 1)
8183 if (ndx == 0 || ndx == 1)
8188 /* linux_sched_setparam */
8190 if (ndx == 0 || ndx == 1)
8193 /* linux_sched_getparam */
8195 if (ndx == 0 || ndx == 1)
8198 /* linux_sched_setscheduler */
8200 if (ndx == 0 || ndx == 1)
8203 /* linux_sched_getscheduler */
8205 if (ndx == 0 || ndx == 1)
8210 /* linux_sched_get_priority_max */
8212 if (ndx == 0 || ndx == 1)
8215 /* linux_sched_get_priority_min */
8217 if (ndx == 0 || ndx == 1)
8220 /* linux_sched_rr_get_interval */
8222 if (ndx == 0 || ndx == 1)
8225 /* linux_nanosleep */
8227 if (ndx == 0 || ndx == 1)
8232 if (ndx == 0 || ndx == 1)
8235 /* linux_setresuid16 */
8237 if (ndx == 0 || ndx == 1)
8240 /* linux_getresuid16 */
8242 if (ndx == 0 || ndx == 1)
8247 if (ndx == 0 || ndx == 1)
8250 /* linux_setresgid16 */
8252 if (ndx == 0 || ndx == 1)
8255 /* linux_getresgid16 */
8257 if (ndx == 0 || ndx == 1)
8262 if (ndx == 0 || ndx == 1)
8265 /* linux_rt_sigreturn */
8267 if (ndx == 0 || ndx == 1)
8270 /* linux_rt_sigaction */
8272 if (ndx == 0 || ndx == 1)
8275 /* linux_rt_sigprocmask */
8277 if (ndx == 0 || ndx == 1)
8280 /* linux_rt_sigpending */
8282 if (ndx == 0 || ndx == 1)
8285 /* linux_rt_sigtimedwait */
8287 if (ndx == 0 || ndx == 1)
8290 /* linux_rt_sigqueueinfo */
8292 if (ndx == 0 || ndx == 1)
8295 /* linux_rt_sigsuspend */
8297 if (ndx == 0 || ndx == 1)
8302 if (ndx == 0 || ndx == 1)
8307 if (ndx == 0 || ndx == 1)
8312 if (ndx == 0 || ndx == 1)
8317 if (ndx == 0 || ndx == 1)
8322 if (ndx == 0 || ndx == 1)
8327 if (ndx == 0 || ndx == 1)
8330 /* linux_sigaltstack */
8332 if (ndx == 0 || ndx == 1)
8335 /* linux_sendfile */
8339 /* linux_getrlimit */
8341 if (ndx == 0 || ndx == 1)
8346 if (ndx == 0 || ndx == 1)
8349 /* linux_truncate64 */
8351 if (ndx == 0 || ndx == 1)
8354 /* linux_ftruncate64 */
8356 if (ndx == 0 || ndx == 1)
8361 if (ndx == 0 || ndx == 1)
8366 if (ndx == 0 || ndx == 1)
8371 if (ndx == 0 || ndx == 1)
8376 if (ndx == 0 || ndx == 1)
8389 if (ndx == 0 || ndx == 1)
8394 if (ndx == 0 || ndx == 1)
8397 /* linux_getgroups */
8399 if (ndx == 0 || ndx == 1)
8402 /* linux_setgroups */
8404 if (ndx == 0 || ndx == 1)
8411 if (ndx == 0 || ndx == 1)
8416 if (ndx == 0 || ndx == 1)
8421 if (ndx == 0 || ndx == 1)
8426 if (ndx == 0 || ndx == 1)
8431 if (ndx == 0 || ndx == 1)
8436 if (ndx == 0 || ndx == 1)
8441 if (ndx == 0 || ndx == 1)
8444 /* linux_setfsuid */
8446 if (ndx == 0 || ndx == 1)
8449 /* linux_setfsgid */
8451 if (ndx == 0 || ndx == 1)
8454 /* linux_pivot_root */
8456 if (ndx == 0 || ndx == 1)
8461 if (ndx == 0 || ndx == 1)
8466 if (ndx == 0 || ndx == 1)
8469 /* linux_getdents64 */
8471 if (ndx == 0 || ndx == 1)
8476 if (ndx == 0 || ndx == 1)
8481 /* linux_setxattr */
8483 /* linux_lsetxattr */
8485 /* linux_fsetxattr */
8487 /* linux_getxattr */
8489 /* linux_lgetxattr */
8491 /* linux_fgetxattr */
8493 /* linux_listxattr */
8495 /* linux_llistxattr */
8497 /* linux_flistxattr */
8499 /* linux_removexattr */
8501 /* linux_lremovexattr */
8503 /* linux_fremovexattr */
8507 if (ndx == 0 || ndx == 1)
8510 /* linux_sys_futex */
8512 if (ndx == 0 || ndx == 1)
8515 /* linux_sched_setaffinity */
8517 if (ndx == 0 || ndx == 1)
8520 /* linux_sched_getaffinity */
8522 if (ndx == 0 || ndx == 1)
8525 /* linux_set_thread_area */
8527 if (ndx == 0 || ndx == 1)
8530 /* linux_fadvise64 */
8532 if (ndx == 0 || ndx == 1)
8535 /* linux_exit_group */
8537 if (ndx == 0 || ndx == 1)
8540 /* linux_lookup_dcookie */
8542 /* linux_epoll_create */
8544 if (ndx == 0 || ndx == 1)
8547 /* linux_epoll_ctl */
8549 if (ndx == 0 || ndx == 1)
8552 /* linux_epoll_wait */
8554 if (ndx == 0 || ndx == 1)
8557 /* linux_remap_file_pages */
8559 /* linux_set_tid_address */
8561 if (ndx == 0 || ndx == 1)
8564 /* linux_timer_create */
8566 if (ndx == 0 || ndx == 1)
8569 /* linux_timer_settime */
8571 if (ndx == 0 || ndx == 1)
8574 /* linux_timer_gettime */
8576 if (ndx == 0 || ndx == 1)
8579 /* linux_timer_getoverrun */
8581 if (ndx == 0 || ndx == 1)
8584 /* linux_timer_delete */
8586 if (ndx == 0 || ndx == 1)
8589 /* linux_clock_settime */
8591 if (ndx == 0 || ndx == 1)
8594 /* linux_clock_gettime */
8596 if (ndx == 0 || ndx == 1)
8599 /* linux_clock_getres */
8601 if (ndx == 0 || ndx == 1)
8604 /* linux_clock_nanosleep */
8606 if (ndx == 0 || ndx == 1)
8609 /* linux_statfs64 */
8611 if (ndx == 0 || ndx == 1)
8614 /* linux_fstatfs64 */
8616 if (ndx == 0 || ndx == 1)
8621 if (ndx == 0 || ndx == 1)
8626 if (ndx == 0 || ndx == 1)
8629 /* linux_fadvise64_64 */
8631 if (ndx == 0 || ndx == 1)
8636 /* linux_get_mempolicy */
8638 /* linux_set_mempolicy */
8642 /* linux_mq_unlink */
8644 /* linux_mq_timedsend */
8646 /* linux_mq_timedreceive */
8648 /* linux_mq_notify */
8650 /* linux_mq_getsetattr */
8652 /* linux_kexec_load */
8656 if (ndx == 0 || ndx == 1)
8661 /* linux_request_key */
8665 /* linux_ioprio_set */
8667 /* linux_ioprio_get */
8669 /* linux_inotify_init */
8671 /* linux_inotify_add_watch */
8673 /* linux_inotify_rm_watch */
8675 /* linux_migrate_pages */
8679 if (ndx == 0 || ndx == 1)
8684 if (ndx == 0 || ndx == 1)
8689 if (ndx == 0 || ndx == 1)
8692 /* linux_fchownat */
8694 if (ndx == 0 || ndx == 1)
8697 /* linux_futimesat */
8699 if (ndx == 0 || ndx == 1)
8702 /* linux_fstatat64 */
8704 if (ndx == 0 || ndx == 1)
8707 /* linux_unlinkat */
8709 if (ndx == 0 || ndx == 1)
8712 /* linux_renameat */
8714 if (ndx == 0 || ndx == 1)
8719 if (ndx == 0 || ndx == 1)
8722 /* linux_symlinkat */
8724 if (ndx == 0 || ndx == 1)
8727 /* linux_readlinkat */
8729 if (ndx == 0 || ndx == 1)
8732 /* linux_fchmodat */
8734 if (ndx == 0 || ndx == 1)
8737 /* linux_faccessat */
8739 if (ndx == 0 || ndx == 1)
8742 /* linux_pselect6 */
8744 if (ndx == 0 || ndx == 1)
8749 if (ndx == 0 || ndx == 1)
8754 /* linux_set_robust_list */
8756 if (ndx == 0 || ndx == 1)
8759 /* linux_get_robust_list */
8761 if (ndx == 0 || ndx == 1)
8766 if (ndx == 0 || ndx == 1)
8769 /* linux_sync_file_range */
8771 if (ndx == 0 || ndx == 1)
8776 /* linux_vmsplice */
8778 /* linux_move_pages */
8782 if (ndx == 0 || ndx == 1)
8785 /* linux_epoll_pwait */
8787 if (ndx == 0 || ndx == 1)
8790 /* linux_utimensat */
8792 if (ndx == 0 || ndx == 1)
8795 /* linux_signalfd */
8797 /* linux_timerfd_create */
8799 if (ndx == 0 || ndx == 1)
8804 if (ndx == 0 || ndx == 1)
8807 /* linux_fallocate */
8809 if (ndx == 0 || ndx == 1)
8812 /* linux_timerfd_settime */
8814 if (ndx == 0 || ndx == 1)
8817 /* linux_timerfd_gettime */
8819 if (ndx == 0 || ndx == 1)
8822 /* linux_signalfd4 */
8824 /* linux_eventfd2 */
8826 if (ndx == 0 || ndx == 1)
8829 /* linux_epoll_create1 */
8831 if (ndx == 0 || ndx == 1)
8836 if (ndx == 0 || ndx == 1)
8841 if (ndx == 0 || ndx == 1)
8844 /* linux_inotify_init1 */
8848 if (ndx == 0 || ndx == 1)
8853 if (ndx == 0 || ndx == 1)
8856 /* linux_rt_tgsigqueueinfo */
8858 if (ndx == 0 || ndx == 1)
8861 /* linux_perf_event_open */
8863 /* linux_recvmmsg */
8865 if (ndx == 0 || ndx == 1)
8868 /* linux_fanotify_init */
8870 /* linux_fanotify_mark */
8872 /* linux_prlimit64 */
8874 if (ndx == 0 || ndx == 1)
8877 /* linux_name_to_handle_at */
8879 /* linux_open_by_handle_at */
8881 /* linux_clock_adjtime */
8885 if (ndx == 0 || ndx == 1)
8888 /* linux_sendmmsg */
8890 if (ndx == 0 || ndx == 1)
8895 /* linux_process_vm_readv */
8897 if (ndx == 0 || ndx == 1)
8900 /* linux_process_vm_writev */
8902 if (ndx == 0 || ndx == 1)
8907 if (ndx == 0 || ndx == 1)
8910 /* linux_finit_module */
8912 if (ndx == 0 || ndx == 1)
8915 /* linux_sched_setattr */
8917 if (ndx == 0 || ndx == 1)
8920 /* linux_sched_getattr */
8922 if (ndx == 0 || ndx == 1)
8925 /* linux_renameat2 */
8927 if (ndx == 0 || ndx == 1)
8932 if (ndx == 0 || ndx == 1)
8935 /* linux_getrandom */
8937 if (ndx == 0 || ndx == 1)
8940 /* linux_memfd_create */
8942 if (ndx == 0 || ndx == 1)
8947 if (ndx == 0 || ndx == 1)
8950 /* linux_execveat */
8952 if (ndx == 0 || ndx == 1)
8957 if (ndx == 0 || ndx == 1)
8960 /* linux_socketpair */
8962 if (ndx == 0 || ndx == 1)
8967 if (ndx == 0 || ndx == 1)
8972 if (ndx == 0 || ndx == 1)
8977 if (ndx == 0 || ndx == 1)
8982 if (ndx == 0 || ndx == 1)
8985 /* linux_getsockopt */
8987 if (ndx == 0 || ndx == 1)
8990 /* linux_setsockopt */
8992 if (ndx == 0 || ndx == 1)
8995 /* linux_getsockname */
8997 if (ndx == 0 || ndx == 1)
9000 /* linux_getpeername */
9002 if (ndx == 0 || ndx == 1)
9007 if (ndx == 0 || ndx == 1)
9012 if (ndx == 0 || ndx == 1)
9015 /* linux_recvfrom */
9017 if (ndx == 0 || ndx == 1)
9022 if (ndx == 0 || ndx == 1)
9025 /* linux_shutdown */
9027 if (ndx == 0 || ndx == 1)
9030 /* linux_userfaultfd */
9032 if (ndx == 0 || ndx == 1)
9035 /* linux_membarrier */
9037 if (ndx == 0 || ndx == 1)
9042 if (ndx == 0 || ndx == 1)
9045 /* linux_copy_file_range */
9047 if (ndx == 0 || ndx == 1)
9052 if (ndx == 0 || ndx == 1)
9055 /* linux_pwritev2 */
9057 if (ndx == 0 || ndx == 1)
9060 /* linux_pkey_mprotect */
9062 if (ndx == 0 || ndx == 1)
9065 /* linux_pkey_alloc */
9067 if (ndx == 0 || ndx == 1)
9070 /* linux_pkey_free */
9072 if (ndx == 0 || ndx == 1)
9077 if (ndx == 0 || ndx == 1)
9080 /* linux_arch_prctl */
9082 if (ndx == 0 || ndx == 1)
9085 /* linux_io_pgetevents */
9091 if (ndx == 0 || ndx == 1)
9096 if (ndx == 0 || ndx == 1)
9101 if (ndx == 0 || ndx == 1)
9106 if (ndx == 0 || ndx == 1)
9111 if (ndx == 0 || ndx == 1)
9116 if (ndx == 0 || ndx == 1)
9121 if (ndx == 0 || ndx == 1)
9126 if (ndx == 0 || ndx == 1)
9131 if (ndx == 0 || ndx == 1)
9136 if (ndx == 0 || ndx == 1)
9139 /* linux_clock_gettime64 */
9141 /* linux_clock_settime64 */
9143 /* linux_clock_adjtime64 */
9145 /* linux_clock_getres_time64 */
9147 /* linux_clock_nanosleep_time64 */
9149 /* linux_timer_gettime64 */
9151 /* linux_timer_settime64 */
9153 /* linux_timerfd_gettime64 */
9155 /* linux_timerfd_settime64 */
9157 /* linux_utimensat_time64 */
9159 /* linux_pselect6_time64 */
9161 /* linux_ppoll_time64 */
9163 /* linux_io_pgetevents_time64 */
9165 /* linux_recvmmsg_time64 */
9167 /* linux_mq_timedsend_time64 */
9169 /* linux_mq_timedreceive_time64 */
9171 /* linux_semtimedop_time64 */
9173 /* linux_rt_sigtimedwait_time64 */
9175 /* linux_futex_time64 */
9177 /* linux_sched_rr_get_interval_time64 */
9179 /* linux_pidfd_send_signal */
9181 if (ndx == 0 || ndx == 1)
9184 /* linux_io_uring_setup */
9186 /* linux_io_uring_enter */
9188 /* linux_io_uring_register */
9194 strlcpy(desc, p, descsz);