2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t) p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t) p->fname; /* char * */
225 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t) p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t) p->from; /* char * */
261 uarg[1] = (intptr_t) p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t) p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t) p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t) p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t) p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t) p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t) p->path; /* char * */
557 uarg[1] = (intptr_t) p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t) p->name; /* char * */
573 uarg[1] = (intptr_t) p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t) p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t) p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t) p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t) p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t) p->path; /* char * */
673 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t) p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t) p->path; /* char * */
723 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t) p->path; /* char * */
731 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t) p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_uint */
789 iarg[4] = p->ptr; /* l_uintptr_t */
790 iarg[5] = p->arg5; /* l_uint */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t) p->stack; /* void * */
813 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t) p->tls; /* void * */
815 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t) p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t) p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
857 /* linux_init_module */
862 /* linux_delete_module */
874 struct getpgid_args *p = params;
875 iarg[0] = p->pid; /* int */
881 struct fchdir_args *p = params;
882 iarg[0] = p->fd; /* int */
893 struct linux_sysfs_args *p = params;
894 iarg[0] = p->option; /* l_int */
895 iarg[1] = p->arg1; /* l_ulong */
896 iarg[2] = p->arg2; /* l_ulong */
900 /* linux_personality */
902 struct linux_personality_args *p = params;
903 iarg[0] = p->per; /* l_uint */
907 /* linux_setfsuid16 */
909 struct linux_setfsuid16_args *p = params;
910 iarg[0] = p->uid; /* l_uid16_t */
914 /* linux_setfsgid16 */
916 struct linux_setfsgid16_args *p = params;
917 iarg[0] = p->gid; /* l_gid16_t */
923 struct linux_llseek_args *p = params;
924 iarg[0] = p->fd; /* l_int */
925 iarg[1] = p->ohigh; /* l_ulong */
926 iarg[2] = p->olow; /* l_ulong */
927 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
928 iarg[4] = p->whence; /* l_uint */
934 struct linux_getdents_args *p = params;
935 iarg[0] = p->fd; /* l_uint */
936 uarg[1] = (intptr_t) p->dent; /* void * */
937 iarg[2] = p->count; /* l_uint */
943 struct linux_select_args *p = params;
944 iarg[0] = p->nfds; /* l_int */
945 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
946 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
947 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
948 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
954 struct flock_args *p = params;
955 iarg[0] = p->fd; /* int */
956 iarg[1] = p->how; /* int */
962 struct linux_msync_args *p = params;
963 iarg[0] = p->addr; /* l_ulong */
964 iarg[1] = p->len; /* l_size_t */
965 iarg[2] = p->fl; /* l_int */
971 struct linux_readv_args *p = params;
972 iarg[0] = p->fd; /* l_ulong */
973 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
974 iarg[2] = p->iovcnt; /* l_ulong */
980 struct linux_writev_args *p = params;
981 iarg[0] = p->fd; /* l_ulong */
982 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
983 iarg[2] = p->iovcnt; /* l_ulong */
989 struct linux_getsid_args *p = params;
990 iarg[0] = p->pid; /* l_pid_t */
994 /* linux_fdatasync */
996 struct linux_fdatasync_args *p = params;
997 iarg[0] = p->fd; /* l_uint */
1003 struct linux_sysctl_args *p = params;
1004 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1010 struct mlock_args *p = params;
1011 uarg[0] = (intptr_t) p->addr; /* const void * */
1012 uarg[1] = p->len; /* size_t */
1018 struct munlock_args *p = params;
1019 uarg[0] = (intptr_t) p->addr; /* const void * */
1020 uarg[1] = p->len; /* size_t */
1026 struct mlockall_args *p = params;
1027 iarg[0] = p->how; /* int */
1036 /* linux_sched_setparam */
1038 struct linux_sched_setparam_args *p = params;
1039 iarg[0] = p->pid; /* l_pid_t */
1040 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1044 /* linux_sched_getparam */
1046 struct linux_sched_getparam_args *p = params;
1047 iarg[0] = p->pid; /* l_pid_t */
1048 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1052 /* linux_sched_setscheduler */
1054 struct linux_sched_setscheduler_args *p = params;
1055 iarg[0] = p->pid; /* l_pid_t */
1056 iarg[1] = p->policy; /* l_int */
1057 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1061 /* linux_sched_getscheduler */
1063 struct linux_sched_getscheduler_args *p = params;
1064 iarg[0] = p->pid; /* l_pid_t */
1073 /* linux_sched_get_priority_max */
1075 struct linux_sched_get_priority_max_args *p = params;
1076 iarg[0] = p->policy; /* l_int */
1080 /* linux_sched_get_priority_min */
1082 struct linux_sched_get_priority_min_args *p = params;
1083 iarg[0] = p->policy; /* l_int */
1087 /* linux_sched_rr_get_interval */
1089 struct linux_sched_rr_get_interval_args *p = params;
1090 iarg[0] = p->pid; /* l_pid_t */
1091 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1095 /* linux_nanosleep */
1097 struct linux_nanosleep_args *p = params;
1098 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1099 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1105 struct linux_mremap_args *p = params;
1106 iarg[0] = p->addr; /* l_ulong */
1107 iarg[1] = p->old_len; /* l_ulong */
1108 iarg[2] = p->new_len; /* l_ulong */
1109 iarg[3] = p->flags; /* l_ulong */
1110 iarg[4] = p->new_addr; /* l_ulong */
1114 /* linux_setresuid16 */
1116 struct linux_setresuid16_args *p = params;
1117 iarg[0] = p->ruid; /* l_uid16_t */
1118 iarg[1] = p->euid; /* l_uid16_t */
1119 iarg[2] = p->suid; /* l_uid16_t */
1123 /* linux_getresuid16 */
1125 struct linux_getresuid16_args *p = params;
1126 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1127 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1128 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1134 struct poll_args *p = params;
1135 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1136 uarg[1] = p->nfds; /* unsigned int */
1137 iarg[2] = p->timeout; /* int */
1141 /* linux_setresgid16 */
1143 struct linux_setresgid16_args *p = params;
1144 iarg[0] = p->rgid; /* l_gid16_t */
1145 iarg[1] = p->egid; /* l_gid16_t */
1146 iarg[2] = p->sgid; /* l_gid16_t */
1150 /* linux_getresgid16 */
1152 struct linux_getresgid16_args *p = params;
1153 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1154 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1155 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1161 struct linux_prctl_args *p = params;
1162 iarg[0] = p->option; /* l_int */
1163 iarg[1] = p->arg2; /* l_int */
1164 iarg[2] = p->arg3; /* l_int */
1165 iarg[3] = p->arg4; /* l_int */
1166 iarg[4] = p->arg5; /* l_int */
1170 /* linux_rt_sigreturn */
1172 struct linux_rt_sigreturn_args *p = params;
1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1177 /* linux_rt_sigaction */
1179 struct linux_rt_sigaction_args *p = params;
1180 iarg[0] = p->sig; /* l_int */
1181 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1182 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1183 iarg[3] = p->sigsetsize; /* l_size_t */
1187 /* linux_rt_sigprocmask */
1189 struct linux_rt_sigprocmask_args *p = params;
1190 iarg[0] = p->how; /* l_int */
1191 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1192 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1193 iarg[3] = p->sigsetsize; /* l_size_t */
1197 /* linux_rt_sigpending */
1199 struct linux_rt_sigpending_args *p = params;
1200 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1201 iarg[1] = p->sigsetsize; /* l_size_t */
1205 /* linux_rt_sigtimedwait */
1207 struct linux_rt_sigtimedwait_args *p = params;
1208 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1209 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1210 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1211 iarg[3] = p->sigsetsize; /* l_size_t */
1215 /* linux_rt_sigqueueinfo */
1217 struct linux_rt_sigqueueinfo_args *p = params;
1218 iarg[0] = p->pid; /* l_pid_t */
1219 iarg[1] = p->sig; /* l_int */
1220 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1224 /* linux_rt_sigsuspend */
1226 struct linux_rt_sigsuspend_args *p = params;
1227 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1228 iarg[1] = p->sigsetsize; /* l_size_t */
1234 struct linux_pread_args *p = params;
1235 iarg[0] = p->fd; /* l_uint */
1236 uarg[1] = (intptr_t) p->buf; /* char * */
1237 iarg[2] = p->nbyte; /* l_size_t */
1238 uarg[3] = p->offset1; /* uint32_t */
1239 uarg[4] = p->offset2; /* uint32_t */
1245 struct linux_pwrite_args *p = params;
1246 iarg[0] = p->fd; /* l_uint */
1247 uarg[1] = (intptr_t) p->buf; /* char * */
1248 iarg[2] = p->nbyte; /* l_size_t */
1249 uarg[3] = p->offset1; /* uint32_t */
1250 uarg[4] = p->offset2; /* uint32_t */
1256 struct linux_chown16_args *p = params;
1257 uarg[0] = (intptr_t) p->path; /* char * */
1258 iarg[1] = p->uid; /* l_uid16_t */
1259 iarg[2] = p->gid; /* l_gid16_t */
1265 struct linux_getcwd_args *p = params;
1266 uarg[0] = (intptr_t) p->buf; /* char * */
1267 iarg[1] = p->bufsize; /* l_ulong */
1273 struct linux_capget_args *p = params;
1274 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1275 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1281 struct linux_capset_args *p = params;
1282 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1283 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1287 /* linux_sigaltstack */
1289 struct linux_sigaltstack_args *p = params;
1290 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1291 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1295 /* linux_sendfile */
1297 struct linux_sendfile_args *p = params;
1298 iarg[0] = p->out; /* l_int */
1299 iarg[1] = p->in; /* l_int */
1300 uarg[2] = (intptr_t) p->offset; /* l_long * */
1301 iarg[3] = p->count; /* l_size_t */
1310 /* linux_getrlimit */
1312 struct linux_getrlimit_args *p = params;
1313 iarg[0] = p->resource; /* l_uint */
1314 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1320 struct linux_mmap2_args *p = params;
1321 iarg[0] = p->addr; /* l_ulong */
1322 iarg[1] = p->len; /* l_ulong */
1323 iarg[2] = p->prot; /* l_ulong */
1324 iarg[3] = p->flags; /* l_ulong */
1325 iarg[4] = p->fd; /* l_ulong */
1326 iarg[5] = p->pgoff; /* l_ulong */
1330 /* linux_truncate64 */
1332 struct linux_truncate64_args *p = params;
1333 uarg[0] = (intptr_t) p->path; /* char * */
1334 uarg[1] = p->length1; /* uint32_t */
1335 uarg[2] = p->length2; /* uint32_t */
1339 /* linux_ftruncate64 */
1341 struct linux_ftruncate64_args *p = params;
1342 iarg[0] = p->fd; /* l_uint */
1343 uarg[1] = p->length1; /* uint32_t */
1344 uarg[2] = p->length2; /* uint32_t */
1350 struct linux_stat64_args *p = params;
1351 uarg[0] = (intptr_t) p->filename; /* const char * */
1352 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1358 struct linux_lstat64_args *p = params;
1359 uarg[0] = (intptr_t) p->filename; /* const char * */
1360 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1366 struct linux_fstat64_args *p = params;
1367 iarg[0] = p->fd; /* l_int */
1368 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1374 struct linux_lchown_args *p = params;
1375 uarg[0] = (intptr_t) p->path; /* char * */
1376 iarg[1] = p->uid; /* l_uid_t */
1377 iarg[2] = p->gid; /* l_gid_t */
1403 struct setreuid_args *p = params;
1404 uarg[0] = p->ruid; /* uid_t */
1405 uarg[1] = p->euid; /* uid_t */
1411 struct setregid_args *p = params;
1412 iarg[0] = p->rgid; /* gid_t */
1413 iarg[1] = p->egid; /* gid_t */
1417 /* linux_getgroups */
1419 struct linux_getgroups_args *p = params;
1420 iarg[0] = p->gidsetsize; /* l_int */
1421 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1425 /* linux_setgroups */
1427 struct linux_setgroups_args *p = params;
1428 iarg[0] = p->gidsetsize; /* l_int */
1429 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1440 struct setresuid_args *p = params;
1441 uarg[0] = p->ruid; /* uid_t */
1442 uarg[1] = p->euid; /* uid_t */
1443 uarg[2] = p->suid; /* uid_t */
1449 struct getresuid_args *p = params;
1450 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1451 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1452 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1458 struct setresgid_args *p = params;
1459 iarg[0] = p->rgid; /* gid_t */
1460 iarg[1] = p->egid; /* gid_t */
1461 iarg[2] = p->sgid; /* gid_t */
1467 struct getresgid_args *p = params;
1468 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1469 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1470 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1476 struct linux_chown_args *p = params;
1477 uarg[0] = (intptr_t) p->path; /* char * */
1478 iarg[1] = p->uid; /* l_uid_t */
1479 iarg[2] = p->gid; /* l_gid_t */
1485 struct setuid_args *p = params;
1486 uarg[0] = p->uid; /* uid_t */
1492 struct setgid_args *p = params;
1493 iarg[0] = p->gid; /* gid_t */
1497 /* linux_setfsuid */
1499 struct linux_setfsuid_args *p = params;
1500 iarg[0] = p->uid; /* l_uid_t */
1504 /* linux_setfsgid */
1506 struct linux_setfsgid_args *p = params;
1507 iarg[0] = p->gid; /* l_gid_t */
1511 /* linux_pivot_root */
1513 struct linux_pivot_root_args *p = params;
1514 uarg[0] = (intptr_t) p->new_root; /* char * */
1515 uarg[1] = (intptr_t) p->put_old; /* char * */
1521 struct linux_mincore_args *p = params;
1522 iarg[0] = p->start; /* l_ulong */
1523 iarg[1] = p->len; /* l_size_t */
1524 uarg[2] = (intptr_t) p->vec; /* u_char * */
1530 struct 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 */
1565 /* linux_lsetxattr */
1570 /* linux_fsetxattr */
1575 /* linux_getxattr */
1580 /* linux_lgetxattr */
1585 /* linux_fgetxattr */
1590 /* linux_listxattr */
1595 /* linux_llistxattr */
1600 /* linux_flistxattr */
1605 /* linux_removexattr */
1610 /* linux_lremovexattr */
1615 /* linux_fremovexattr */
1622 struct linux_tkill_args *p = params;
1623 iarg[0] = p->tid; /* int */
1624 iarg[1] = p->sig; /* int */
1628 /* linux_sendfile64 */
1630 struct linux_sendfile64_args *p = params;
1631 iarg[0] = p->out; /* l_int */
1632 iarg[1] = p->in; /* l_int */
1633 uarg[2] = (intptr_t) p->offset; /* l_loff_t * */
1634 iarg[3] = p->count; /* l_size_t */
1638 /* linux_sys_futex */
1640 struct linux_sys_futex_args *p = params;
1641 uarg[0] = (intptr_t) p->uaddr; /* void * */
1642 iarg[1] = p->op; /* int */
1643 uarg[2] = p->val; /* uint32_t */
1644 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1645 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1646 uarg[5] = p->val3; /* uint32_t */
1650 /* linux_sched_setaffinity */
1652 struct linux_sched_setaffinity_args *p = params;
1653 iarg[0] = p->pid; /* l_pid_t */
1654 iarg[1] = p->len; /* l_uint */
1655 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1659 /* linux_sched_getaffinity */
1661 struct linux_sched_getaffinity_args *p = params;
1662 iarg[0] = p->pid; /* l_pid_t */
1663 iarg[1] = p->len; /* l_uint */
1664 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1668 /* linux_set_thread_area */
1670 struct linux_set_thread_area_args *p = params;
1671 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1675 /* linux_fadvise64 */
1677 struct linux_fadvise64_args *p = params;
1678 iarg[0] = p->fd; /* int */
1679 uarg[1] = p->offset1; /* uint32_t */
1680 uarg[2] = p->offset2; /* uint32_t */
1681 iarg[3] = p->len; /* l_size_t */
1682 iarg[4] = p->advice; /* int */
1686 /* linux_exit_group */
1688 struct linux_exit_group_args *p = params;
1689 iarg[0] = p->error_code; /* int */
1693 /* linux_lookup_dcookie */
1698 /* linux_epoll_create */
1700 struct linux_epoll_create_args *p = params;
1701 iarg[0] = p->size; /* l_int */
1705 /* linux_epoll_ctl */
1707 struct linux_epoll_ctl_args *p = params;
1708 iarg[0] = p->epfd; /* l_int */
1709 iarg[1] = p->op; /* l_int */
1710 iarg[2] = p->fd; /* l_int */
1711 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1715 /* linux_epoll_wait */
1717 struct linux_epoll_wait_args *p = params;
1718 iarg[0] = p->epfd; /* l_int */
1719 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1720 iarg[2] = p->maxevents; /* l_int */
1721 iarg[3] = p->timeout; /* l_int */
1725 /* linux_remap_file_pages */
1730 /* linux_set_tid_address */
1732 struct linux_set_tid_address_args *p = params;
1733 uarg[0] = (intptr_t) p->tidptr; /* int * */
1737 /* linux_timer_create */
1739 struct linux_timer_create_args *p = params;
1740 iarg[0] = p->clock_id; /* clockid_t */
1741 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1742 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1746 /* linux_timer_settime */
1748 struct linux_timer_settime_args *p = params;
1749 iarg[0] = p->timerid; /* l_timer_t */
1750 iarg[1] = p->flags; /* l_int */
1751 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1752 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1756 /* linux_timer_gettime */
1758 struct linux_timer_gettime_args *p = params;
1759 iarg[0] = p->timerid; /* l_timer_t */
1760 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1764 /* linux_timer_getoverrun */
1766 struct linux_timer_getoverrun_args *p = params;
1767 iarg[0] = p->timerid; /* l_timer_t */
1771 /* linux_timer_delete */
1773 struct linux_timer_delete_args *p = params;
1774 iarg[0] = p->timerid; /* l_timer_t */
1778 /* linux_clock_settime */
1780 struct linux_clock_settime_args *p = params;
1781 iarg[0] = p->which; /* clockid_t */
1782 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1786 /* linux_clock_gettime */
1788 struct linux_clock_gettime_args *p = params;
1789 iarg[0] = p->which; /* clockid_t */
1790 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1794 /* linux_clock_getres */
1796 struct linux_clock_getres_args *p = params;
1797 iarg[0] = p->which; /* clockid_t */
1798 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1802 /* linux_clock_nanosleep */
1804 struct linux_clock_nanosleep_args *p = params;
1805 iarg[0] = p->which; /* clockid_t */
1806 iarg[1] = p->flags; /* int */
1807 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1808 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1812 /* linux_statfs64 */
1814 struct linux_statfs64_args *p = params;
1815 uarg[0] = (intptr_t) p->path; /* char * */
1816 uarg[1] = p->bufsize; /* size_t */
1817 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1821 /* linux_fstatfs64 */
1823 struct linux_fstatfs64_args *p = params;
1824 iarg[0] = p->fd; /* l_uint */
1825 uarg[1] = p->bufsize; /* size_t */
1826 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1832 struct linux_tgkill_args *p = params;
1833 iarg[0] = p->tgid; /* int */
1834 iarg[1] = p->pid; /* int */
1835 iarg[2] = p->sig; /* int */
1841 struct linux_utimes_args *p = params;
1842 uarg[0] = (intptr_t) p->fname; /* char * */
1843 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1847 /* linux_fadvise64_64 */
1849 struct linux_fadvise64_64_args *p = params;
1850 iarg[0] = p->fd; /* int */
1851 uarg[1] = p->offset1; /* uint32_t */
1852 uarg[2] = p->offset2; /* uint32_t */
1853 uarg[3] = p->len1; /* uint32_t */
1854 uarg[4] = p->len2; /* uint32_t */
1855 iarg[5] = p->advice; /* int */
1864 /* linux_get_mempolicy */
1869 /* linux_set_mempolicy */
1879 /* linux_mq_unlink */
1884 /* linux_mq_timedsend */
1889 /* linux_mq_timedreceive */
1894 /* linux_mq_notify */
1899 /* linux_mq_getsetattr */
1904 /* linux_kexec_load */
1911 struct linux_waitid_args *p = params;
1912 iarg[0] = p->idtype; /* int */
1913 iarg[1] = p->id; /* l_pid_t */
1914 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1915 iarg[3] = p->options; /* int */
1916 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
1925 /* linux_request_key */
1935 /* linux_ioprio_set */
1940 /* linux_ioprio_get */
1945 /* linux_inotify_init */
1950 /* linux_inotify_add_watch */
1955 /* linux_inotify_rm_watch */
1960 /* linux_migrate_pages */
1967 struct linux_openat_args *p = params;
1968 iarg[0] = p->dfd; /* l_int */
1969 uarg[1] = (intptr_t) p->filename; /* const char * */
1970 iarg[2] = p->flags; /* l_int */
1971 iarg[3] = p->mode; /* l_int */
1977 struct linux_mkdirat_args *p = params;
1978 iarg[0] = p->dfd; /* l_int */
1979 uarg[1] = (intptr_t) p->pathname; /* const char * */
1980 iarg[2] = p->mode; /* l_int */
1986 struct linux_mknodat_args *p = params;
1987 iarg[0] = p->dfd; /* l_int */
1988 uarg[1] = (intptr_t) p->filename; /* const char * */
1989 iarg[2] = p->mode; /* l_int */
1990 iarg[3] = p->dev; /* l_uint */
1994 /* linux_fchownat */
1996 struct linux_fchownat_args *p = params;
1997 iarg[0] = p->dfd; /* l_int */
1998 uarg[1] = (intptr_t) p->filename; /* const char * */
1999 iarg[2] = p->uid; /* l_uid16_t */
2000 iarg[3] = p->gid; /* l_gid16_t */
2001 iarg[4] = p->flag; /* l_int */
2005 /* linux_futimesat */
2007 struct linux_futimesat_args *p = params;
2008 iarg[0] = p->dfd; /* l_int */
2009 uarg[1] = (intptr_t) p->filename; /* char * */
2010 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2014 /* linux_fstatat64 */
2016 struct linux_fstatat64_args *p = params;
2017 iarg[0] = p->dfd; /* l_int */
2018 uarg[1] = (intptr_t) p->pathname; /* char * */
2019 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2020 iarg[3] = p->flag; /* l_int */
2024 /* linux_unlinkat */
2026 struct linux_unlinkat_args *p = params;
2027 iarg[0] = p->dfd; /* l_int */
2028 uarg[1] = (intptr_t) p->pathname; /* const char * */
2029 iarg[2] = p->flag; /* l_int */
2033 /* linux_renameat */
2035 struct linux_renameat_args *p = params;
2036 iarg[0] = p->olddfd; /* l_int */
2037 uarg[1] = (intptr_t) p->oldname; /* const char * */
2038 iarg[2] = p->newdfd; /* l_int */
2039 uarg[3] = (intptr_t) p->newname; /* const char * */
2045 struct linux_linkat_args *p = params;
2046 iarg[0] = p->olddfd; /* l_int */
2047 uarg[1] = (intptr_t) p->oldname; /* const char * */
2048 iarg[2] = p->newdfd; /* l_int */
2049 uarg[3] = (intptr_t) p->newname; /* const char * */
2050 iarg[4] = p->flag; /* l_int */
2054 /* linux_symlinkat */
2056 struct linux_symlinkat_args *p = params;
2057 uarg[0] = (intptr_t) p->oldname; /* const char * */
2058 iarg[1] = p->newdfd; /* l_int */
2059 uarg[2] = (intptr_t) p->newname; /* const char * */
2063 /* linux_readlinkat */
2065 struct linux_readlinkat_args *p = params;
2066 iarg[0] = p->dfd; /* l_int */
2067 uarg[1] = (intptr_t) p->path; /* const char * */
2068 uarg[2] = (intptr_t) p->buf; /* char * */
2069 iarg[3] = p->bufsiz; /* l_int */
2073 /* linux_fchmodat */
2075 struct linux_fchmodat_args *p = params;
2076 iarg[0] = p->dfd; /* l_int */
2077 uarg[1] = (intptr_t) p->filename; /* const char * */
2078 iarg[2] = p->mode; /* l_mode_t */
2082 /* linux_faccessat */
2084 struct linux_faccessat_args *p = params;
2085 iarg[0] = p->dfd; /* l_int */
2086 uarg[1] = (intptr_t) p->filename; /* const char * */
2087 iarg[2] = p->amode; /* l_int */
2091 /* linux_pselect6 */
2093 struct linux_pselect6_args *p = params;
2094 iarg[0] = p->nfds; /* l_int */
2095 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2096 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2097 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2098 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2099 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2105 struct linux_ppoll_args *p = params;
2106 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2107 uarg[1] = p->nfds; /* uint32_t */
2108 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2109 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2110 iarg[4] = p->ssize; /* l_size_t */
2119 /* linux_set_robust_list */
2121 struct linux_set_robust_list_args *p = params;
2122 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2123 iarg[1] = p->len; /* l_size_t */
2127 /* linux_get_robust_list */
2129 struct linux_get_robust_list_args *p = params;
2130 iarg[0] = p->pid; /* l_int */
2131 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2132 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2141 /* linux_sync_file_range */
2143 struct linux_sync_file_range_args *p = params;
2144 iarg[0] = p->fd; /* l_int */
2145 uarg[1] = p->offset1; /* uint32_t */
2146 uarg[2] = p->offset2; /* uint32_t */
2147 uarg[3] = p->nbytes1; /* uint32_t */
2148 uarg[4] = p->nbytes2; /* uint32_t */
2149 uarg[5] = p->flags; /* unsigned int */
2158 /* linux_vmsplice */
2163 /* linux_move_pages */
2170 struct linux_getcpu_args *p = params;
2171 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2172 uarg[1] = (intptr_t) p->node; /* l_uint * */
2173 uarg[2] = (intptr_t) p->cache; /* void * */
2177 /* linux_epoll_pwait */
2179 struct linux_epoll_pwait_args *p = params;
2180 iarg[0] = p->epfd; /* l_int */
2181 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2182 iarg[2] = p->maxevents; /* l_int */
2183 iarg[3] = p->timeout; /* l_int */
2184 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2185 iarg[5] = p->sigsetsize; /* l_size_t */
2189 /* linux_utimensat */
2191 struct linux_utimensat_args *p = params;
2192 iarg[0] = p->dfd; /* l_int */
2193 uarg[1] = (intptr_t) p->pathname; /* const char * */
2194 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2195 iarg[3] = p->flags; /* l_int */
2199 /* linux_signalfd */
2204 /* linux_timerfd_create */
2206 struct linux_timerfd_create_args *p = params;
2207 iarg[0] = p->clockid; /* l_int */
2208 iarg[1] = p->flags; /* l_int */
2214 struct linux_eventfd_args *p = params;
2215 iarg[0] = p->initval; /* l_uint */
2219 /* linux_fallocate */
2221 struct linux_fallocate_args *p = params;
2222 iarg[0] = p->fd; /* l_int */
2223 iarg[1] = p->mode; /* l_int */
2224 uarg[2] = p->offset1; /* uint32_t */
2225 uarg[3] = p->offset2; /* uint32_t */
2226 uarg[4] = p->len1; /* uint32_t */
2227 uarg[5] = p->len2; /* uint32_t */
2231 /* linux_timerfd_settime */
2233 struct linux_timerfd_settime_args *p = params;
2234 iarg[0] = p->fd; /* l_int */
2235 iarg[1] = p->flags; /* l_int */
2236 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2237 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2241 /* linux_timerfd_gettime */
2243 struct linux_timerfd_gettime_args *p = params;
2244 iarg[0] = p->fd; /* l_int */
2245 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2249 /* linux_signalfd4 */
2254 /* linux_eventfd2 */
2256 struct linux_eventfd2_args *p = params;
2257 iarg[0] = p->initval; /* l_uint */
2258 iarg[1] = p->flags; /* l_int */
2262 /* linux_epoll_create1 */
2264 struct linux_epoll_create1_args *p = params;
2265 iarg[0] = p->flags; /* l_int */
2271 struct linux_dup3_args *p = params;
2272 iarg[0] = p->oldfd; /* l_int */
2273 iarg[1] = p->newfd; /* l_int */
2274 iarg[2] = p->flags; /* l_int */
2280 struct linux_pipe2_args *p = params;
2281 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2282 iarg[1] = p->flags; /* l_int */
2286 /* linux_inotify_init1 */
2293 struct linux_preadv_args *p = params;
2294 iarg[0] = p->fd; /* l_ulong */
2295 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2296 iarg[2] = p->vlen; /* l_ulong */
2297 iarg[3] = p->pos_l; /* l_ulong */
2298 iarg[4] = p->pos_h; /* l_ulong */
2304 struct linux_pwritev_args *p = params;
2305 iarg[0] = p->fd; /* l_ulong */
2306 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2307 iarg[2] = p->vlen; /* l_ulong */
2308 iarg[3] = p->pos_l; /* l_ulong */
2309 iarg[4] = p->pos_h; /* l_ulong */
2313 /* linux_rt_tgsigqueueinfo */
2315 struct linux_rt_tgsigqueueinfo_args *p = params;
2316 iarg[0] = p->tgid; /* l_pid_t */
2317 iarg[1] = p->tid; /* l_pid_t */
2318 iarg[2] = p->sig; /* l_int */
2319 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2323 /* linux_perf_event_open */
2328 /* linux_recvmmsg */
2330 struct linux_recvmmsg_args *p = params;
2331 iarg[0] = p->s; /* l_int */
2332 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2333 iarg[2] = p->vlen; /* l_uint */
2334 iarg[3] = p->flags; /* l_uint */
2335 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2339 /* linux_fanotify_init */
2344 /* linux_fanotify_mark */
2349 /* linux_prlimit64 */
2351 struct linux_prlimit64_args *p = params;
2352 iarg[0] = p->pid; /* l_pid_t */
2353 iarg[1] = p->resource; /* l_uint */
2354 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2355 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2359 /* linux_name_to_handle_at */
2364 /* linux_open_by_handle_at */
2369 /* linux_clock_adjtime */
2376 struct linux_syncfs_args *p = params;
2377 iarg[0] = p->fd; /* l_int */
2381 /* linux_sendmmsg */
2383 struct linux_sendmmsg_args *p = params;
2384 iarg[0] = p->s; /* l_int */
2385 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2386 iarg[2] = p->vlen; /* l_uint */
2387 iarg[3] = p->flags; /* l_uint */
2396 /* linux_process_vm_readv */
2398 struct linux_process_vm_readv_args *p = params;
2399 iarg[0] = p->pid; /* l_pid_t */
2400 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2401 iarg[2] = p->liovcnt; /* l_ulong */
2402 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2403 iarg[4] = p->riovcnt; /* l_ulong */
2404 iarg[5] = p->flags; /* l_ulong */
2408 /* linux_process_vm_writev */
2410 struct linux_process_vm_writev_args *p = params;
2411 iarg[0] = p->pid; /* l_pid_t */
2412 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2413 iarg[2] = p->liovcnt; /* l_ulong */
2414 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2415 iarg[4] = p->riovcnt; /* l_ulong */
2416 iarg[5] = p->flags; /* l_ulong */
2422 struct linux_kcmp_args *p = params;
2423 iarg[0] = p->pid1; /* l_pid_t */
2424 iarg[1] = p->pid2; /* l_pid_t */
2425 iarg[2] = p->type; /* l_int */
2426 iarg[3] = p->idx1; /* l_ulong */
2427 iarg[4] = p->idx; /* l_ulong */
2431 /* linux_finit_module */
2433 struct linux_finit_module_args *p = params;
2434 iarg[0] = p->fd; /* l_int */
2435 uarg[1] = (intptr_t) p->uargs; /* const char * */
2436 iarg[2] = p->flags; /* l_int */
2440 /* linux_sched_setattr */
2442 struct linux_sched_setattr_args *p = params;
2443 iarg[0] = p->pid; /* l_pid_t */
2444 uarg[1] = (intptr_t) p->attr; /* void * */
2445 iarg[2] = p->flags; /* l_uint */
2449 /* linux_sched_getattr */
2451 struct linux_sched_getattr_args *p = params;
2452 iarg[0] = p->pid; /* l_pid_t */
2453 uarg[1] = (intptr_t) p->attr; /* void * */
2454 iarg[2] = p->size; /* l_uint */
2455 iarg[3] = p->flags; /* l_uint */
2459 /* linux_renameat2 */
2461 struct linux_renameat2_args *p = params;
2462 iarg[0] = p->olddfd; /* l_int */
2463 uarg[1] = (intptr_t) p->oldname; /* const char * */
2464 iarg[2] = p->newdfd; /* l_int */
2465 uarg[3] = (intptr_t) p->newname; /* const char * */
2466 uarg[4] = p->flags; /* unsigned int */
2472 struct linux_seccomp_args *p = params;
2473 iarg[0] = p->op; /* l_uint */
2474 iarg[1] = p->flags; /* l_uint */
2475 uarg[2] = (intptr_t) p->uargs; /* const char * */
2479 /* linux_getrandom */
2481 struct linux_getrandom_args *p = params;
2482 uarg[0] = (intptr_t) p->buf; /* char * */
2483 iarg[1] = p->count; /* l_size_t */
2484 iarg[2] = p->flags; /* l_uint */
2488 /* linux_memfd_create */
2490 struct linux_memfd_create_args *p = params;
2491 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2492 iarg[1] = p->flags; /* l_uint */
2498 struct linux_bpf_args *p = params;
2499 iarg[0] = p->cmd; /* l_int */
2500 uarg[1] = (intptr_t) p->attr; /* void * */
2501 iarg[2] = p->size; /* l_uint */
2505 /* linux_execveat */
2507 struct linux_execveat_args *p = params;
2508 iarg[0] = p->dfd; /* l_int */
2509 uarg[1] = (intptr_t) p->filename; /* const char * */
2510 uarg[2] = (intptr_t) p->argv; /* const char ** */
2511 uarg[3] = (intptr_t) p->envp; /* const char ** */
2512 iarg[4] = p->flags; /* l_int */
2518 struct linux_socket_args *p = params;
2519 iarg[0] = p->domain; /* l_int */
2520 iarg[1] = p->type; /* l_int */
2521 iarg[2] = p->protocol; /* l_int */
2525 /* linux_socketpair */
2527 struct linux_socketpair_args *p = params;
2528 iarg[0] = p->domain; /* l_int */
2529 iarg[1] = p->type; /* l_int */
2530 iarg[2] = p->protocol; /* l_int */
2531 iarg[3] = p->rsv; /* l_uintptr_t */
2537 struct linux_bind_args *p = params;
2538 iarg[0] = p->s; /* l_int */
2539 iarg[1] = p->name; /* l_uintptr_t */
2540 iarg[2] = p->namelen; /* l_int */
2546 struct linux_connect_args *p = params;
2547 iarg[0] = p->s; /* l_int */
2548 iarg[1] = p->name; /* l_uintptr_t */
2549 iarg[2] = p->namelen; /* l_int */
2555 struct linux_listen_args *p = params;
2556 iarg[0] = p->s; /* l_int */
2557 iarg[1] = p->backlog; /* l_int */
2563 struct linux_accept4_args *p = params;
2564 iarg[0] = p->s; /* l_int */
2565 iarg[1] = p->addr; /* l_uintptr_t */
2566 iarg[2] = p->namelen; /* l_uintptr_t */
2567 iarg[3] = p->flags; /* l_int */
2571 /* linux_getsockopt */
2573 struct linux_getsockopt_args *p = params;
2574 iarg[0] = p->s; /* l_int */
2575 iarg[1] = p->level; /* l_int */
2576 iarg[2] = p->optname; /* l_int */
2577 iarg[3] = p->optval; /* l_uintptr_t */
2578 iarg[4] = p->optlen; /* l_uintptr_t */
2582 /* linux_setsockopt */
2584 struct linux_setsockopt_args *p = params;
2585 iarg[0] = p->s; /* l_int */
2586 iarg[1] = p->level; /* l_int */
2587 iarg[2] = p->optname; /* l_int */
2588 iarg[3] = p->optval; /* l_uintptr_t */
2589 iarg[4] = p->optlen; /* l_int */
2593 /* linux_getsockname */
2595 struct linux_getsockname_args *p = params;
2596 iarg[0] = p->s; /* l_int */
2597 iarg[1] = p->addr; /* l_uintptr_t */
2598 iarg[2] = p->namelen; /* l_uintptr_t */
2602 /* linux_getpeername */
2604 struct linux_getpeername_args *p = params;
2605 iarg[0] = p->s; /* l_int */
2606 iarg[1] = p->addr; /* l_uintptr_t */
2607 iarg[2] = p->namelen; /* l_uintptr_t */
2613 struct linux_sendto_args *p = params;
2614 iarg[0] = p->s; /* l_int */
2615 iarg[1] = p->msg; /* l_uintptr_t */
2616 iarg[2] = p->len; /* l_int */
2617 iarg[3] = p->flags; /* l_int */
2618 iarg[4] = p->to; /* l_uintptr_t */
2619 iarg[5] = p->tolen; /* l_int */
2625 struct linux_sendmsg_args *p = params;
2626 iarg[0] = p->s; /* l_int */
2627 iarg[1] = p->msg; /* l_uintptr_t */
2628 iarg[2] = p->flags; /* l_int */
2632 /* linux_recvfrom */
2634 struct linux_recvfrom_args *p = params;
2635 iarg[0] = p->s; /* l_int */
2636 iarg[1] = p->buf; /* l_uintptr_t */
2637 iarg[2] = p->len; /* l_size_t */
2638 iarg[3] = p->flags; /* l_int */
2639 iarg[4] = p->from; /* l_uintptr_t */
2640 iarg[5] = p->fromlen; /* l_uintptr_t */
2646 struct linux_recvmsg_args *p = params;
2647 iarg[0] = p->s; /* l_int */
2648 iarg[1] = p->msg; /* l_uintptr_t */
2649 iarg[2] = p->flags; /* l_int */
2653 /* linux_shutdown */
2655 struct linux_shutdown_args *p = params;
2656 iarg[0] = p->s; /* l_int */
2657 iarg[1] = p->how; /* l_int */
2661 /* linux_userfaultfd */
2663 struct linux_userfaultfd_args *p = params;
2664 iarg[0] = p->flags; /* l_int */
2668 /* linux_membarrier */
2670 struct linux_membarrier_args *p = params;
2671 iarg[0] = p->cmd; /* l_int */
2672 iarg[1] = p->flags; /* l_int */
2678 struct linux_mlock2_args *p = params;
2679 iarg[0] = p->start; /* l_ulong */
2680 iarg[1] = p->len; /* l_size_t */
2681 iarg[2] = p->flags; /* l_int */
2685 /* linux_copy_file_range */
2687 struct linux_copy_file_range_args *p = params;
2688 iarg[0] = p->fd_in; /* l_int */
2689 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2690 iarg[2] = p->fd_out; /* l_int */
2691 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2692 iarg[4] = p->len; /* l_size_t */
2693 iarg[5] = p->flags; /* l_uint */
2699 struct linux_preadv2_args *p = params;
2700 iarg[0] = p->fd; /* l_ulong */
2701 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2702 iarg[2] = p->vlen; /* l_ulong */
2703 iarg[3] = p->pos_l; /* l_ulong */
2704 iarg[4] = p->pos_h; /* l_ulong */
2705 iarg[5] = p->flags; /* l_int */
2709 /* linux_pwritev2 */
2711 struct linux_pwritev2_args *p = params;
2712 iarg[0] = p->fd; /* l_ulong */
2713 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2714 iarg[2] = p->vlen; /* l_ulong */
2715 iarg[3] = p->pos_l; /* l_ulong */
2716 iarg[4] = p->pos_h; /* l_ulong */
2717 iarg[5] = p->flags; /* l_int */
2721 /* linux_pkey_mprotect */
2723 struct linux_pkey_mprotect_args *p = params;
2724 iarg[0] = p->start; /* l_ulong */
2725 iarg[1] = p->len; /* l_size_t */
2726 iarg[2] = p->prot; /* l_ulong */
2727 iarg[3] = p->pkey; /* l_int */
2731 /* linux_pkey_alloc */
2733 struct linux_pkey_alloc_args *p = params;
2734 iarg[0] = p->flags; /* l_ulong */
2735 iarg[1] = p->init_val; /* l_ulong */
2739 /* linux_pkey_free */
2741 struct linux_pkey_free_args *p = params;
2742 iarg[0] = p->pkey; /* l_int */
2748 struct linux_statx_args *p = params;
2749 iarg[0] = p->dirfd; /* l_int */
2750 uarg[1] = (intptr_t) p->pathname; /* const char * */
2751 iarg[2] = p->flags; /* l_uint */
2752 iarg[3] = p->mask; /* l_uint */
2753 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2757 /* linux_arch_prctl */
2759 struct linux_arch_prctl_args *p = params;
2760 iarg[0] = p->option; /* l_int */
2761 iarg[1] = p->arg2; /* l_ulong */
2765 /* linux_io_pgetevents */
2777 struct linux_semget_args *p = params;
2778 iarg[0] = p->key; /* l_key_t */
2779 iarg[1] = p->nsems; /* l_int */
2780 iarg[2] = p->semflg; /* l_int */
2786 struct linux_semctl_args *p = params;
2787 iarg[0] = p->semid; /* l_int */
2788 iarg[1] = p->semnum; /* l_int */
2789 iarg[2] = p->cmd; /* l_int */
2790 uarg[3] = p->arg.buf; /* union l_semun */
2796 struct linux_shmget_args *p = params;
2797 iarg[0] = p->key; /* l_key_t */
2798 iarg[1] = p->size; /* l_size_t */
2799 iarg[2] = p->shmflg; /* l_int */
2805 struct linux_shmctl_args *p = params;
2806 iarg[0] = p->shmid; /* l_int */
2807 iarg[1] = p->cmd; /* l_int */
2808 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2814 struct linux_shmat_args *p = params;
2815 iarg[0] = p->shmid; /* l_int */
2816 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2817 iarg[2] = p->shmflg; /* l_int */
2823 struct linux_shmdt_args *p = params;
2824 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2830 struct linux_msgget_args *p = params;
2831 iarg[0] = p->key; /* l_key_t */
2832 iarg[1] = p->msgflg; /* l_int */
2838 struct linux_msgsnd_args *p = params;
2839 iarg[0] = p->msqid; /* l_int */
2840 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2841 iarg[2] = p->msgsz; /* l_size_t */
2842 iarg[3] = p->msgflg; /* l_int */
2848 struct linux_msgrcv_args *p = params;
2849 iarg[0] = p->msqid; /* l_int */
2850 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2851 iarg[2] = p->msgsz; /* l_size_t */
2852 iarg[3] = p->msgtyp; /* l_long */
2853 iarg[4] = p->msgflg; /* l_int */
2859 struct linux_msgctl_args *p = params;
2860 iarg[0] = p->msqid; /* l_int */
2861 iarg[1] = p->cmd; /* l_int */
2862 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2866 /* linux_clock_gettime64 */
2871 /* linux_clock_settime64 */
2876 /* linux_clock_adjtime64 */
2881 /* linux_clock_getres_time64 */
2886 /* linux_clock_nanosleep_time64 */
2891 /* linux_timer_gettime64 */
2896 /* linux_timer_settime64 */
2901 /* linux_timerfd_gettime64 */
2906 /* linux_timerfd_settime64 */
2911 /* linux_utimensat_time64 */
2916 /* linux_pselect6_time64 */
2921 /* linux_ppoll_time64 */
2926 /* linux_io_pgetevents_time64 */
2931 /* linux_recvmmsg_time64 */
2936 /* linux_mq_timedsend_time64 */
2941 /* linux_mq_timedreceive_time64 */
2946 /* linux_semtimedop_time64 */
2951 /* linux_rt_sigtimedwait_time64 */
2956 /* linux_futex_time64 */
2961 /* linux_sched_rr_get_interval_time64 */
2966 /* linux_pidfd_send_signal */
2968 struct linux_pidfd_send_signal_args *p = params;
2969 iarg[0] = p->pidfd; /* l_int */
2970 iarg[1] = p->sig; /* l_int */
2971 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2972 iarg[3] = p->flags; /* l_uint */
2976 /* linux_io_uring_setup */
2981 /* linux_io_uring_enter */
2986 /* linux_io_uring_register */
2997 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2999 const char *p = NULL;
3001 #define nosys linux_nosys
3022 p = "userland char *";
3038 p = "userland char *";
3051 p = "userland char *";
3080 p = "userland l_int *";
3093 p = "userland char *";
3106 p = "userland char *";
3109 p = "userland char *";
3119 p = "userland char *";
3129 p = "userland char *";
3132 p = "userland uint32_t *";
3135 p = "userland uint32_t *";
3145 p = "userland char *";
3155 p = "userland l_time_t *";
3165 p = "userland char *";
3181 p = "userland char *";
3190 /* linux_lchown16 */
3194 p = "userland char *";
3210 p = "userland char *";
3213 p = "userland struct linux_stat *";
3242 p = "userland char *";
3245 p = "userland char *";
3248 p = "userland char *";
3254 p = "userland void *";
3260 /* linux_oldumount */
3264 p = "userland char *";
3270 /* linux_setuid16 */
3280 /* linux_getuid16 */
3322 p = "userland char *";
3325 p = "userland struct l_utimbuf *";
3335 p = "userland char *";
3374 p = "userland char *";
3377 p = "userland char *";
3387 p = "userland char *";
3400 p = "userland char *";
3420 p = "userland l_int *";
3430 p = "userland struct l_times_argv *";
3446 /* linux_setgid16 */
3456 /* linux_getgid16 */
3472 /* linux_geteuid16 */
3475 /* linux_getegid16 */
3482 p = "userland char *";
3492 p = "userland char *";
3546 /* linux_olduname */
3563 p = "userland char *";
3576 p = "userland struct l_ustat *";
3604 /* linux_sigaction */
3611 p = "userland l_osigaction_t *";
3614 p = "userland l_osigaction_t *";
3620 /* linux_sgetmask */
3623 /* linux_ssetmask */
3633 /* linux_setreuid16 */
3646 /* linux_setregid16 */
3659 /* linux_sigsuspend */
3675 /* linux_sigpending */
3679 p = "userland l_osigset_t *";
3685 /* linux_sethostname */
3689 p = "userland char *";
3698 /* linux_setrlimit */
3705 p = "userland struct l_rlimit *";
3711 /* linux_old_getrlimit */
3718 p = "userland struct l_rlimit *";
3724 /* linux_getrusage */
3731 p = "userland struct l_rusage *";
3737 /* linux_gettimeofday */
3741 p = "userland struct l_timeval *";
3744 p = "userland struct timezone *";
3750 /* linux_settimeofday */
3754 p = "userland struct l_timeval *";
3757 p = "userland struct timezone *";
3763 /* linux_getgroups16 */
3770 p = "userland l_gid16_t *";
3776 /* linux_setgroups16 */
3783 p = "userland l_gid16_t *";
3789 /* linux_old_select */
3793 p = "userland struct l_old_select_argv *";
3803 p = "userland char *";
3806 p = "userland char *";
3816 p = "userland char *";
3819 p = "userland struct linux_lstat *";
3825 /* linux_readlink */
3829 p = "userland char *";
3832 p = "userland char *";
3845 p = "userland char *";
3864 p = "userland void *";
3877 p = "userland struct l_dirent *";
3890 p = "userland struct l_mmap_argv *";
3909 /* linux_truncate */
3913 p = "userland char *";
3922 /* linux_ftruncate */
3964 /* linux_getpriority */
3997 p = "userland char *";
4000 p = "userland struct l_statfs_buf *";
4013 p = "userland struct l_statfs_buf *";
4019 /* linux_socketcall */
4039 p = "userland char *";
4048 /* linux_setitimer */
4055 p = "userland struct l_itimerval *";
4058 p = "userland struct l_itimerval *";
4064 /* linux_getitimer */
4071 p = "userland struct l_itimerval *";
4081 p = "userland char *";
4084 p = "userland struct l_newstat *";
4090 /* linux_newlstat */
4094 p = "userland char *";
4097 p = "userland struct l_newstat *";
4103 /* linux_newfstat */
4110 p = "userland struct l_newstat *";
4139 p = "userland l_int *";
4145 p = "userland struct l_rusage *";
4158 p = "userland struct l_sysinfo *";
4199 /* linux_sigreturn */
4203 p = "userland struct l_sigframe *";
4216 p = "userland void *";
4219 p = "userland void *";
4222 p = "userland void *";
4225 p = "userland void *";
4231 /* linux_setdomainname */
4235 p = "userland char *";
4244 /* linux_newuname */
4248 p = "userland struct l_new_utsname *";
4254 /* linux_adjtimex */
4257 /* linux_mprotect */
4273 /* linux_sigprocmask */
4280 p = "userland l_osigset_t *";
4283 p = "userland l_osigset_t *";
4289 /* linux_init_module */
4292 /* linux_delete_module */
4295 /* linux_quotactl */
4337 /* linux_personality */
4347 /* linux_setfsuid16 */
4357 /* linux_setfsgid16 */
4380 p = "userland l_loff_t *";
4389 /* linux_getdents */
4396 p = "userland void *";
4412 p = "userland l_fd_set *";
4415 p = "userland l_fd_set *";
4418 p = "userland l_fd_set *";
4421 p = "userland struct l_timeval *";
4463 p = "userland struct l_iovec32 *";
4479 p = "userland struct l_iovec32 *";
4498 /* linux_fdatasync */
4512 p = "userland struct l___sysctl_args *";
4522 p = "userland const void *";
4535 p = "userland const void *";
4557 /* linux_sched_setparam */
4564 p = "userland struct sched_param *";
4570 /* linux_sched_getparam */
4577 p = "userland struct sched_param *";
4583 /* linux_sched_setscheduler */
4593 p = "userland struct sched_param *";
4599 /* linux_sched_getscheduler */
4612 /* linux_sched_get_priority_max */
4622 /* linux_sched_get_priority_min */
4632 /* linux_sched_rr_get_interval */
4639 p = "userland struct l_timespec *";
4645 /* linux_nanosleep */
4649 p = "userland const struct l_timespec *";
4652 p = "userland struct l_timespec *";
4680 /* linux_setresuid16 */
4696 /* linux_getresuid16 */
4700 p = "userland l_uid16_t *";
4703 p = "userland l_uid16_t *";
4706 p = "userland l_uid16_t *";
4716 p = "userland struct pollfd *";
4728 /* linux_setresgid16 */
4744 /* linux_getresgid16 */
4748 p = "userland l_gid16_t *";
4751 p = "userland l_gid16_t *";
4754 p = "userland l_gid16_t *";
4782 /* linux_rt_sigreturn */
4786 p = "userland struct l_ucontext *";
4792 /* linux_rt_sigaction */
4799 p = "userland l_sigaction_t *";
4802 p = "userland l_sigaction_t *";
4811 /* linux_rt_sigprocmask */
4818 p = "userland l_sigset_t *";
4821 p = "userland l_sigset_t *";
4830 /* linux_rt_sigpending */
4834 p = "userland l_sigset_t *";
4843 /* linux_rt_sigtimedwait */
4847 p = "userland l_sigset_t *";
4850 p = "userland l_siginfo_t *";
4853 p = "userland struct l_timeval *";
4862 /* linux_rt_sigqueueinfo */
4872 p = "userland l_siginfo_t *";
4878 /* linux_rt_sigsuspend */
4882 p = "userland l_sigset_t *";
4898 p = "userland char *";
4920 p = "userland char *";
4939 p = "userland char *";
4955 p = "userland char *";
4968 p = "userland struct l_user_cap_header *";
4971 p = "userland struct l_user_cap_data *";
4981 p = "userland struct l_user_cap_header *";
4984 p = "userland struct l_user_cap_data *";
4990 /* linux_sigaltstack */
4994 p = "userland l_stack_t *";
4997 p = "userland l_stack_t *";
5003 /* linux_sendfile */
5013 p = "userland l_long *";
5025 /* linux_getrlimit */
5032 p = "userland struct l_rlimit *";
5063 /* linux_truncate64 */
5067 p = "userland char *";
5079 /* linux_ftruncate64 */
5099 p = "userland const char *";
5102 p = "userland struct l_stat64 *";
5112 p = "userland const char *";
5115 p = "userland struct l_stat64 *";
5128 p = "userland struct l_stat64 *";
5138 p = "userland char *";
5188 /* linux_getgroups */
5195 p = "userland l_gid_t *";
5201 /* linux_setgroups */
5208 p = "userland l_gid_t *";
5237 p = "userland uid_t *";
5240 p = "userland uid_t *";
5243 p = "userland uid_t *";
5269 p = "userland gid_t *";
5272 p = "userland gid_t *";
5275 p = "userland gid_t *";
5285 p = "userland char *";
5317 /* linux_setfsuid */
5327 /* linux_setfsgid */
5337 /* linux_pivot_root */
5341 p = "userland char *";
5344 p = "userland char *";
5360 p = "userland u_char *";
5370 p = "userland void *";
5382 /* linux_getdents64 */
5389 p = "userland void *";
5417 /* linux_setxattr */
5420 /* linux_lsetxattr */
5423 /* linux_fsetxattr */
5426 /* linux_getxattr */
5429 /* linux_lgetxattr */
5432 /* linux_fgetxattr */
5435 /* linux_listxattr */
5438 /* linux_llistxattr */
5441 /* linux_flistxattr */
5444 /* linux_removexattr */
5447 /* linux_lremovexattr */
5450 /* linux_fremovexattr */
5466 /* linux_sendfile64 */
5476 p = "userland l_loff_t *";
5485 /* linux_sys_futex */
5489 p = "userland void *";
5498 p = "userland struct l_timespec *";
5501 p = "userland uint32_t *";
5510 /* linux_sched_setaffinity */
5520 p = "userland l_ulong *";
5526 /* linux_sched_getaffinity */
5536 p = "userland l_ulong *";
5542 /* linux_set_thread_area */
5546 p = "userland struct l_user_desc *";
5552 /* linux_fadvise64 */
5574 /* linux_exit_group */
5584 /* linux_lookup_dcookie */
5587 /* linux_epoll_create */
5597 /* linux_epoll_ctl */
5610 p = "userland struct epoll_event *";
5616 /* linux_epoll_wait */
5623 p = "userland struct epoll_event *";
5635 /* linux_remap_file_pages */
5638 /* linux_set_tid_address */
5642 p = "userland int *";
5648 /* linux_timer_create */
5655 p = "userland struct sigevent *";
5658 p = "userland l_timer_t *";
5664 /* linux_timer_settime */
5674 p = "userland const struct itimerspec *";
5677 p = "userland struct itimerspec *";
5683 /* linux_timer_gettime */
5690 p = "userland struct itimerspec *";
5696 /* linux_timer_getoverrun */
5706 /* linux_timer_delete */
5716 /* linux_clock_settime */
5723 p = "userland struct l_timespec *";
5729 /* linux_clock_gettime */
5736 p = "userland struct l_timespec *";
5742 /* linux_clock_getres */
5749 p = "userland struct l_timespec *";
5755 /* linux_clock_nanosleep */
5765 p = "userland struct l_timespec *";
5768 p = "userland struct l_timespec *";
5774 /* linux_statfs64 */
5778 p = "userland char *";
5784 p = "userland struct l_statfs64_buf *";
5790 /* linux_fstatfs64 */
5800 p = "userland struct l_statfs64_buf *";
5826 p = "userland char *";
5829 p = "userland struct l_timeval *";
5835 /* linux_fadvise64_64 */
5863 /* linux_get_mempolicy */
5866 /* linux_set_mempolicy */
5872 /* linux_mq_unlink */
5875 /* linux_mq_timedsend */
5878 /* linux_mq_timedreceive */
5881 /* linux_mq_notify */
5884 /* linux_mq_getsetattr */
5887 /* linux_kexec_load */
5900 p = "userland l_siginfo_t *";
5906 p = "userland struct l_rusage *";
5915 /* linux_request_key */
5921 /* linux_ioprio_set */
5924 /* linux_ioprio_get */
5927 /* linux_inotify_init */
5930 /* linux_inotify_add_watch */
5933 /* linux_inotify_rm_watch */
5936 /* linux_migrate_pages */
5946 p = "userland const char *";
5965 p = "userland const char *";
5981 p = "userland const char *";
5993 /* linux_fchownat */
6000 p = "userland const char *";
6015 /* linux_futimesat */
6022 p = "userland char *";
6025 p = "userland struct l_timeval *";
6031 /* linux_fstatat64 */
6038 p = "userland char *";
6041 p = "userland struct l_stat64 *";
6050 /* linux_unlinkat */
6057 p = "userland const char *";
6066 /* linux_renameat */
6073 p = "userland const char *";
6079 p = "userland const char *";
6092 p = "userland const char *";
6098 p = "userland const char *";
6107 /* linux_symlinkat */
6111 p = "userland const char *";
6117 p = "userland const char *";
6123 /* linux_readlinkat */
6130 p = "userland const char *";
6133 p = "userland char *";
6142 /* linux_fchmodat */
6149 p = "userland const char *";
6158 /* linux_faccessat */
6165 p = "userland const char *";
6174 /* linux_pselect6 */
6181 p = "userland l_fd_set *";
6184 p = "userland l_fd_set *";
6187 p = "userland l_fd_set *";
6190 p = "userland struct l_timespec *";
6193 p = "userland l_uintptr_t *";
6203 p = "userland struct pollfd *";
6209 p = "userland struct l_timespec *";
6212 p = "userland l_sigset_t *";
6224 /* linux_set_robust_list */
6228 p = "userland struct linux_robust_list_head *";
6237 /* linux_get_robust_list */
6244 p = "userland struct linux_robust_list_head **";
6247 p = "userland l_size_t *";
6256 /* linux_sync_file_range */
6284 /* linux_vmsplice */
6287 /* linux_move_pages */
6294 p = "userland l_uint *";
6297 p = "userland l_uint *";
6300 p = "userland void *";
6306 /* linux_epoll_pwait */
6313 p = "userland struct epoll_event *";
6322 p = "userland l_sigset_t *";
6331 /* linux_utimensat */
6338 p = "userland const char *";
6341 p = "userland const struct l_timespec *";
6350 /* linux_signalfd */
6353 /* linux_timerfd_create */
6376 /* linux_fallocate */
6401 /* linux_timerfd_settime */
6411 p = "userland const struct l_itimerspec *";
6414 p = "userland struct l_itimerspec *";
6420 /* linux_timerfd_gettime */
6427 p = "userland struct l_itimerspec *";
6433 /* linux_signalfd4 */
6436 /* linux_eventfd2 */
6449 /* linux_epoll_create1 */
6479 p = "userland l_int *";
6488 /* linux_inotify_init1 */
6498 p = "userland struct iovec *";
6520 p = "userland struct iovec *";
6535 /* linux_rt_tgsigqueueinfo */
6548 p = "userland l_siginfo_t *";
6554 /* linux_perf_event_open */
6557 /* linux_recvmmsg */
6564 p = "userland struct l_mmsghdr *";
6573 p = "userland struct l_timespec *";
6579 /* linux_fanotify_init */
6582 /* linux_fanotify_mark */
6585 /* linux_prlimit64 */
6595 p = "userland struct rlimit *";
6598 p = "userland struct rlimit *";
6604 /* linux_name_to_handle_at */
6607 /* linux_open_by_handle_at */
6610 /* linux_clock_adjtime */
6623 /* linux_sendmmsg */
6630 p = "userland struct l_mmsghdr *";
6645 /* linux_process_vm_readv */
6652 p = "userland const struct iovec *";
6658 p = "userland const struct iovec *";
6670 /* linux_process_vm_writev */
6677 p = "userland const struct iovec *";
6683 p = "userland const struct iovec *";
6717 /* linux_finit_module */
6724 p = "userland const char *";
6733 /* linux_sched_setattr */
6740 p = "userland void *";
6749 /* linux_sched_getattr */
6756 p = "userland void *";
6768 /* linux_renameat2 */
6775 p = "userland const char *";
6781 p = "userland const char *";
6800 p = "userland const char *";
6806 /* linux_getrandom */
6810 p = "userland char *";
6822 /* linux_memfd_create */
6826 p = "userland const char *";
6842 p = "userland void *";
6851 /* linux_execveat */
6858 p = "userland const char *";
6861 p = "userland const char **";
6864 p = "userland const char **";
6889 /* linux_socketpair */
6972 /* linux_getsockopt */
6994 /* linux_setsockopt */
7016 /* linux_getsockname */
7032 /* linux_getpeername */
7089 /* linux_recvfrom */
7130 /* linux_shutdown */
7143 /* linux_userfaultfd */
7153 /* linux_membarrier */
7182 /* linux_copy_file_range */
7189 p = "userland l_loff_t *";
7195 p = "userland l_loff_t *";
7214 p = "userland const struct iovec *";
7232 /* linux_pwritev2 */
7239 p = "userland const struct iovec *";
7257 /* linux_pkey_mprotect */
7276 /* linux_pkey_alloc */
7289 /* linux_pkey_free */
7306 p = "userland const char *";
7315 p = "userland void *";
7321 /* linux_arch_prctl */
7334 /* linux_io_pgetevents */
7369 p = "union l_semun";
7401 p = "userland struct l_shmid_ds *";
7414 p = "userland char *";
7427 p = "userland char *";
7453 p = "userland struct l_msgbuf *";
7472 p = "userland struct l_msgbuf *";
7497 p = "userland struct l_msqid_ds *";
7503 /* linux_clock_gettime64 */
7506 /* linux_clock_settime64 */
7509 /* linux_clock_adjtime64 */
7512 /* linux_clock_getres_time64 */
7515 /* linux_clock_nanosleep_time64 */
7518 /* linux_timer_gettime64 */
7521 /* linux_timer_settime64 */
7524 /* linux_timerfd_gettime64 */
7527 /* linux_timerfd_settime64 */
7530 /* linux_utimensat_time64 */
7533 /* linux_pselect6_time64 */
7536 /* linux_ppoll_time64 */
7539 /* linux_io_pgetevents_time64 */
7542 /* linux_recvmmsg_time64 */
7545 /* linux_mq_timedsend_time64 */
7548 /* linux_mq_timedreceive_time64 */
7551 /* linux_semtimedop_time64 */
7554 /* linux_rt_sigtimedwait_time64 */
7557 /* linux_futex_time64 */
7560 /* linux_sched_rr_get_interval_time64 */
7563 /* linux_pidfd_send_signal */
7573 p = "userland l_siginfo_t *";
7582 /* linux_io_uring_setup */
7585 /* linux_io_uring_enter */
7588 /* linux_io_uring_register */
7595 strlcpy(desc, p, descsz);
7598 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7600 const char *p = NULL;
7602 #define nosys linux_nosys
7605 if (ndx == 0 || ndx == 1)
7612 if (ndx == 0 || ndx == 1)
7617 if (ndx == 0 || ndx == 1)
7622 if (ndx == 0 || ndx == 1)
7627 if (ndx == 0 || ndx == 1)
7632 if (ndx == 0 || ndx == 1)
7637 if (ndx == 0 || ndx == 1)
7642 if (ndx == 0 || ndx == 1)
7647 if (ndx == 0 || ndx == 1)
7652 if (ndx == 0 || ndx == 1)
7657 if (ndx == 0 || ndx == 1)
7662 if (ndx == 0 || ndx == 1)
7667 if (ndx == 0 || ndx == 1)
7672 if (ndx == 0 || ndx == 1)
7675 /* linux_lchown16 */
7677 if (ndx == 0 || ndx == 1)
7682 if (ndx == 0 || ndx == 1)
7687 if (ndx == 0 || ndx == 1)
7694 if (ndx == 0 || ndx == 1)
7697 /* linux_oldumount */
7699 if (ndx == 0 || ndx == 1)
7702 /* linux_setuid16 */
7704 if (ndx == 0 || ndx == 1)
7707 /* linux_getuid16 */
7713 if (ndx == 0 || ndx == 1)
7718 if (ndx == 0 || ndx == 1)
7725 if (ndx == 0 || ndx == 1)
7730 if (ndx == 0 || ndx == 1)
7735 if (ndx == 0 || ndx == 1)
7742 if (ndx == 0 || ndx == 1)
7747 if (ndx == 0 || ndx == 1)
7752 if (ndx == 0 || ndx == 1)
7757 if (ndx == 0 || ndx == 1)
7762 if (ndx == 0 || ndx == 1)
7767 if (ndx == 0 || ndx == 1)
7772 if (ndx == 0 || ndx == 1)
7777 if (ndx == 0 || ndx == 1)
7780 /* linux_setgid16 */
7782 if (ndx == 0 || ndx == 1)
7785 /* linux_getgid16 */
7789 if (ndx == 0 || ndx == 1)
7792 /* linux_geteuid16 */
7794 /* linux_getegid16 */
7798 if (ndx == 0 || ndx == 1)
7803 if (ndx == 0 || ndx == 1)
7808 if (ndx == 0 || ndx == 1)
7813 if (ndx == 0 || ndx == 1)
7818 if (ndx == 0 || ndx == 1)
7821 /* linux_olduname */
7825 if (ndx == 0 || ndx == 1)
7830 if (ndx == 0 || ndx == 1)
7835 if (ndx == 0 || ndx == 1)
7840 if (ndx == 0 || ndx == 1)
7849 /* linux_sigaction */
7851 if (ndx == 0 || ndx == 1)
7854 /* linux_sgetmask */
7856 /* linux_ssetmask */
7858 if (ndx == 0 || ndx == 1)
7861 /* linux_setreuid16 */
7863 if (ndx == 0 || ndx == 1)
7866 /* linux_setregid16 */
7868 if (ndx == 0 || ndx == 1)
7871 /* linux_sigsuspend */
7873 if (ndx == 0 || ndx == 1)
7876 /* linux_sigpending */
7878 if (ndx == 0 || ndx == 1)
7881 /* linux_sethostname */
7883 if (ndx == 0 || ndx == 1)
7886 /* linux_setrlimit */
7888 if (ndx == 0 || ndx == 1)
7891 /* linux_old_getrlimit */
7893 if (ndx == 0 || ndx == 1)
7896 /* linux_getrusage */
7898 if (ndx == 0 || ndx == 1)
7901 /* linux_gettimeofday */
7903 if (ndx == 0 || ndx == 1)
7906 /* linux_settimeofday */
7908 if (ndx == 0 || ndx == 1)
7911 /* linux_getgroups16 */
7913 if (ndx == 0 || ndx == 1)
7916 /* linux_setgroups16 */
7918 if (ndx == 0 || ndx == 1)
7921 /* linux_old_select */
7923 if (ndx == 0 || ndx == 1)
7928 if (ndx == 0 || ndx == 1)
7933 if (ndx == 0 || ndx == 1)
7936 /* linux_readlink */
7938 if (ndx == 0 || ndx == 1)
7943 if (ndx == 0 || ndx == 1)
7948 if (ndx == 0 || ndx == 1)
7953 if (ndx == 0 || ndx == 1)
7958 if (ndx == 0 || ndx == 1)
7963 if (ndx == 0 || ndx == 1)
7966 /* linux_truncate */
7968 if (ndx == 0 || ndx == 1)
7971 /* linux_ftruncate */
7973 if (ndx == 0 || ndx == 1)
7978 if (ndx == 0 || ndx == 1)
7983 if (ndx == 0 || ndx == 1)
7986 /* linux_getpriority */
7988 if (ndx == 0 || ndx == 1)
7993 if (ndx == 0 || ndx == 1)
7998 if (ndx == 0 || ndx == 1)
8003 if (ndx == 0 || ndx == 1)
8006 /* linux_socketcall */
8008 if (ndx == 0 || ndx == 1)
8013 if (ndx == 0 || ndx == 1)
8016 /* linux_setitimer */
8018 if (ndx == 0 || ndx == 1)
8021 /* linux_getitimer */
8023 if (ndx == 0 || ndx == 1)
8028 if (ndx == 0 || ndx == 1)
8031 /* linux_newlstat */
8033 if (ndx == 0 || ndx == 1)
8036 /* linux_newfstat */
8038 if (ndx == 0 || ndx == 1)
8045 if (ndx == 0 || ndx == 1)
8052 if (ndx == 0 || ndx == 1)
8059 if (ndx == 0 || ndx == 1)
8064 if (ndx == 0 || ndx == 1)
8069 if (ndx == 0 || ndx == 1)
8072 /* linux_sigreturn */
8074 if (ndx == 0 || ndx == 1)
8079 if (ndx == 0 || ndx == 1)
8082 /* linux_setdomainname */
8084 if (ndx == 0 || ndx == 1)
8087 /* linux_newuname */
8089 if (ndx == 0 || ndx == 1)
8092 /* linux_adjtimex */
8094 /* linux_mprotect */
8096 if (ndx == 0 || ndx == 1)
8099 /* linux_sigprocmask */
8101 if (ndx == 0 || ndx == 1)
8104 /* linux_init_module */
8106 /* linux_delete_module */
8108 /* linux_quotactl */
8112 if (ndx == 0 || ndx == 1)
8117 if (ndx == 0 || ndx == 1)
8124 if (ndx == 0 || ndx == 1)
8127 /* linux_personality */
8129 if (ndx == 0 || ndx == 1)
8132 /* linux_setfsuid16 */
8134 if (ndx == 0 || ndx == 1)
8137 /* linux_setfsgid16 */
8139 if (ndx == 0 || ndx == 1)
8144 if (ndx == 0 || ndx == 1)
8147 /* linux_getdents */
8149 if (ndx == 0 || ndx == 1)
8154 if (ndx == 0 || ndx == 1)
8159 if (ndx == 0 || ndx == 1)
8164 if (ndx == 0 || ndx == 1)
8169 if (ndx == 0 || ndx == 1)
8174 if (ndx == 0 || ndx == 1)
8179 if (ndx == 0 || ndx == 1)
8182 /* linux_fdatasync */
8184 if (ndx == 0 || ndx == 1)
8189 if (ndx == 0 || ndx == 1)
8194 if (ndx == 0 || ndx == 1)
8199 if (ndx == 0 || ndx == 1)
8204 if (ndx == 0 || ndx == 1)
8209 /* linux_sched_setparam */
8211 if (ndx == 0 || ndx == 1)
8214 /* linux_sched_getparam */
8216 if (ndx == 0 || ndx == 1)
8219 /* linux_sched_setscheduler */
8221 if (ndx == 0 || ndx == 1)
8224 /* linux_sched_getscheduler */
8226 if (ndx == 0 || ndx == 1)
8231 /* linux_sched_get_priority_max */
8233 if (ndx == 0 || ndx == 1)
8236 /* linux_sched_get_priority_min */
8238 if (ndx == 0 || ndx == 1)
8241 /* linux_sched_rr_get_interval */
8243 if (ndx == 0 || ndx == 1)
8246 /* linux_nanosleep */
8248 if (ndx == 0 || ndx == 1)
8253 if (ndx == 0 || ndx == 1)
8256 /* linux_setresuid16 */
8258 if (ndx == 0 || ndx == 1)
8261 /* linux_getresuid16 */
8263 if (ndx == 0 || ndx == 1)
8268 if (ndx == 0 || ndx == 1)
8271 /* linux_setresgid16 */
8273 if (ndx == 0 || ndx == 1)
8276 /* linux_getresgid16 */
8278 if (ndx == 0 || ndx == 1)
8283 if (ndx == 0 || ndx == 1)
8286 /* linux_rt_sigreturn */
8288 if (ndx == 0 || ndx == 1)
8291 /* linux_rt_sigaction */
8293 if (ndx == 0 || ndx == 1)
8296 /* linux_rt_sigprocmask */
8298 if (ndx == 0 || ndx == 1)
8301 /* linux_rt_sigpending */
8303 if (ndx == 0 || ndx == 1)
8306 /* linux_rt_sigtimedwait */
8308 if (ndx == 0 || ndx == 1)
8311 /* linux_rt_sigqueueinfo */
8313 if (ndx == 0 || ndx == 1)
8316 /* linux_rt_sigsuspend */
8318 if (ndx == 0 || ndx == 1)
8323 if (ndx == 0 || ndx == 1)
8328 if (ndx == 0 || ndx == 1)
8333 if (ndx == 0 || ndx == 1)
8338 if (ndx == 0 || ndx == 1)
8343 if (ndx == 0 || ndx == 1)
8348 if (ndx == 0 || ndx == 1)
8351 /* linux_sigaltstack */
8353 if (ndx == 0 || ndx == 1)
8356 /* linux_sendfile */
8358 if (ndx == 0 || ndx == 1)
8363 /* linux_getrlimit */
8365 if (ndx == 0 || ndx == 1)
8370 if (ndx == 0 || ndx == 1)
8373 /* linux_truncate64 */
8375 if (ndx == 0 || ndx == 1)
8378 /* linux_ftruncate64 */
8380 if (ndx == 0 || ndx == 1)
8385 if (ndx == 0 || ndx == 1)
8390 if (ndx == 0 || ndx == 1)
8395 if (ndx == 0 || ndx == 1)
8400 if (ndx == 0 || ndx == 1)
8413 if (ndx == 0 || ndx == 1)
8418 if (ndx == 0 || ndx == 1)
8421 /* linux_getgroups */
8423 if (ndx == 0 || ndx == 1)
8426 /* linux_setgroups */
8428 if (ndx == 0 || ndx == 1)
8435 if (ndx == 0 || ndx == 1)
8440 if (ndx == 0 || ndx == 1)
8445 if (ndx == 0 || ndx == 1)
8450 if (ndx == 0 || ndx == 1)
8455 if (ndx == 0 || ndx == 1)
8460 if (ndx == 0 || ndx == 1)
8465 if (ndx == 0 || ndx == 1)
8468 /* linux_setfsuid */
8470 if (ndx == 0 || ndx == 1)
8473 /* linux_setfsgid */
8475 if (ndx == 0 || ndx == 1)
8478 /* linux_pivot_root */
8480 if (ndx == 0 || ndx == 1)
8485 if (ndx == 0 || ndx == 1)
8490 if (ndx == 0 || ndx == 1)
8493 /* linux_getdents64 */
8495 if (ndx == 0 || ndx == 1)
8500 if (ndx == 0 || ndx == 1)
8505 /* linux_setxattr */
8507 /* linux_lsetxattr */
8509 /* linux_fsetxattr */
8511 /* linux_getxattr */
8513 /* linux_lgetxattr */
8515 /* linux_fgetxattr */
8517 /* linux_listxattr */
8519 /* linux_llistxattr */
8521 /* linux_flistxattr */
8523 /* linux_removexattr */
8525 /* linux_lremovexattr */
8527 /* linux_fremovexattr */
8531 if (ndx == 0 || ndx == 1)
8534 /* linux_sendfile64 */
8536 if (ndx == 0 || ndx == 1)
8539 /* linux_sys_futex */
8541 if (ndx == 0 || ndx == 1)
8544 /* linux_sched_setaffinity */
8546 if (ndx == 0 || ndx == 1)
8549 /* linux_sched_getaffinity */
8551 if (ndx == 0 || ndx == 1)
8554 /* linux_set_thread_area */
8556 if (ndx == 0 || ndx == 1)
8559 /* linux_fadvise64 */
8561 if (ndx == 0 || ndx == 1)
8564 /* linux_exit_group */
8566 if (ndx == 0 || ndx == 1)
8569 /* linux_lookup_dcookie */
8571 /* linux_epoll_create */
8573 if (ndx == 0 || ndx == 1)
8576 /* linux_epoll_ctl */
8578 if (ndx == 0 || ndx == 1)
8581 /* linux_epoll_wait */
8583 if (ndx == 0 || ndx == 1)
8586 /* linux_remap_file_pages */
8588 /* linux_set_tid_address */
8590 if (ndx == 0 || ndx == 1)
8593 /* linux_timer_create */
8595 if (ndx == 0 || ndx == 1)
8598 /* linux_timer_settime */
8600 if (ndx == 0 || ndx == 1)
8603 /* linux_timer_gettime */
8605 if (ndx == 0 || ndx == 1)
8608 /* linux_timer_getoverrun */
8610 if (ndx == 0 || ndx == 1)
8613 /* linux_timer_delete */
8615 if (ndx == 0 || ndx == 1)
8618 /* linux_clock_settime */
8620 if (ndx == 0 || ndx == 1)
8623 /* linux_clock_gettime */
8625 if (ndx == 0 || ndx == 1)
8628 /* linux_clock_getres */
8630 if (ndx == 0 || ndx == 1)
8633 /* linux_clock_nanosleep */
8635 if (ndx == 0 || ndx == 1)
8638 /* linux_statfs64 */
8640 if (ndx == 0 || ndx == 1)
8643 /* linux_fstatfs64 */
8645 if (ndx == 0 || ndx == 1)
8650 if (ndx == 0 || ndx == 1)
8655 if (ndx == 0 || ndx == 1)
8658 /* linux_fadvise64_64 */
8660 if (ndx == 0 || ndx == 1)
8665 /* linux_get_mempolicy */
8667 /* linux_set_mempolicy */
8671 /* linux_mq_unlink */
8673 /* linux_mq_timedsend */
8675 /* linux_mq_timedreceive */
8677 /* linux_mq_notify */
8679 /* linux_mq_getsetattr */
8681 /* linux_kexec_load */
8685 if (ndx == 0 || ndx == 1)
8690 /* linux_request_key */
8694 /* linux_ioprio_set */
8696 /* linux_ioprio_get */
8698 /* linux_inotify_init */
8700 /* linux_inotify_add_watch */
8702 /* linux_inotify_rm_watch */
8704 /* linux_migrate_pages */
8708 if (ndx == 0 || ndx == 1)
8713 if (ndx == 0 || ndx == 1)
8718 if (ndx == 0 || ndx == 1)
8721 /* linux_fchownat */
8723 if (ndx == 0 || ndx == 1)
8726 /* linux_futimesat */
8728 if (ndx == 0 || ndx == 1)
8731 /* linux_fstatat64 */
8733 if (ndx == 0 || ndx == 1)
8736 /* linux_unlinkat */
8738 if (ndx == 0 || ndx == 1)
8741 /* linux_renameat */
8743 if (ndx == 0 || ndx == 1)
8748 if (ndx == 0 || ndx == 1)
8751 /* linux_symlinkat */
8753 if (ndx == 0 || ndx == 1)
8756 /* linux_readlinkat */
8758 if (ndx == 0 || ndx == 1)
8761 /* linux_fchmodat */
8763 if (ndx == 0 || ndx == 1)
8766 /* linux_faccessat */
8768 if (ndx == 0 || ndx == 1)
8771 /* linux_pselect6 */
8773 if (ndx == 0 || ndx == 1)
8778 if (ndx == 0 || ndx == 1)
8783 /* linux_set_robust_list */
8785 if (ndx == 0 || ndx == 1)
8788 /* linux_get_robust_list */
8790 if (ndx == 0 || ndx == 1)
8795 /* linux_sync_file_range */
8797 if (ndx == 0 || ndx == 1)
8802 /* linux_vmsplice */
8804 /* linux_move_pages */
8808 if (ndx == 0 || ndx == 1)
8811 /* linux_epoll_pwait */
8813 if (ndx == 0 || ndx == 1)
8816 /* linux_utimensat */
8818 if (ndx == 0 || ndx == 1)
8821 /* linux_signalfd */
8823 /* linux_timerfd_create */
8825 if (ndx == 0 || ndx == 1)
8830 if (ndx == 0 || ndx == 1)
8833 /* linux_fallocate */
8835 if (ndx == 0 || ndx == 1)
8838 /* linux_timerfd_settime */
8840 if (ndx == 0 || ndx == 1)
8843 /* linux_timerfd_gettime */
8845 if (ndx == 0 || ndx == 1)
8848 /* linux_signalfd4 */
8850 /* linux_eventfd2 */
8852 if (ndx == 0 || ndx == 1)
8855 /* linux_epoll_create1 */
8857 if (ndx == 0 || ndx == 1)
8862 if (ndx == 0 || ndx == 1)
8867 if (ndx == 0 || ndx == 1)
8870 /* linux_inotify_init1 */
8874 if (ndx == 0 || ndx == 1)
8879 if (ndx == 0 || ndx == 1)
8882 /* linux_rt_tgsigqueueinfo */
8884 if (ndx == 0 || ndx == 1)
8887 /* linux_perf_event_open */
8889 /* linux_recvmmsg */
8891 if (ndx == 0 || ndx == 1)
8894 /* linux_fanotify_init */
8896 /* linux_fanotify_mark */
8898 /* linux_prlimit64 */
8900 if (ndx == 0 || ndx == 1)
8903 /* linux_name_to_handle_at */
8905 /* linux_open_by_handle_at */
8907 /* linux_clock_adjtime */
8911 if (ndx == 0 || ndx == 1)
8914 /* linux_sendmmsg */
8916 if (ndx == 0 || ndx == 1)
8921 /* linux_process_vm_readv */
8923 if (ndx == 0 || ndx == 1)
8926 /* linux_process_vm_writev */
8928 if (ndx == 0 || ndx == 1)
8933 if (ndx == 0 || ndx == 1)
8936 /* linux_finit_module */
8938 if (ndx == 0 || ndx == 1)
8941 /* linux_sched_setattr */
8943 if (ndx == 0 || ndx == 1)
8946 /* linux_sched_getattr */
8948 if (ndx == 0 || ndx == 1)
8951 /* linux_renameat2 */
8953 if (ndx == 0 || ndx == 1)
8958 if (ndx == 0 || ndx == 1)
8961 /* linux_getrandom */
8963 if (ndx == 0 || ndx == 1)
8966 /* linux_memfd_create */
8968 if (ndx == 0 || ndx == 1)
8973 if (ndx == 0 || ndx == 1)
8976 /* linux_execveat */
8978 if (ndx == 0 || ndx == 1)
8983 if (ndx == 0 || ndx == 1)
8986 /* linux_socketpair */
8988 if (ndx == 0 || ndx == 1)
8993 if (ndx == 0 || ndx == 1)
8998 if (ndx == 0 || ndx == 1)
9003 if (ndx == 0 || ndx == 1)
9008 if (ndx == 0 || ndx == 1)
9011 /* linux_getsockopt */
9013 if (ndx == 0 || ndx == 1)
9016 /* linux_setsockopt */
9018 if (ndx == 0 || ndx == 1)
9021 /* linux_getsockname */
9023 if (ndx == 0 || ndx == 1)
9026 /* linux_getpeername */
9028 if (ndx == 0 || ndx == 1)
9033 if (ndx == 0 || ndx == 1)
9038 if (ndx == 0 || ndx == 1)
9041 /* linux_recvfrom */
9043 if (ndx == 0 || ndx == 1)
9048 if (ndx == 0 || ndx == 1)
9051 /* linux_shutdown */
9053 if (ndx == 0 || ndx == 1)
9056 /* linux_userfaultfd */
9058 if (ndx == 0 || ndx == 1)
9061 /* linux_membarrier */
9063 if (ndx == 0 || ndx == 1)
9068 if (ndx == 0 || ndx == 1)
9071 /* linux_copy_file_range */
9073 if (ndx == 0 || ndx == 1)
9078 if (ndx == 0 || ndx == 1)
9081 /* linux_pwritev2 */
9083 if (ndx == 0 || ndx == 1)
9086 /* linux_pkey_mprotect */
9088 if (ndx == 0 || ndx == 1)
9091 /* linux_pkey_alloc */
9093 if (ndx == 0 || ndx == 1)
9096 /* linux_pkey_free */
9098 if (ndx == 0 || ndx == 1)
9103 if (ndx == 0 || ndx == 1)
9106 /* linux_arch_prctl */
9108 if (ndx == 0 || ndx == 1)
9111 /* linux_io_pgetevents */
9117 if (ndx == 0 || ndx == 1)
9122 if (ndx == 0 || ndx == 1)
9127 if (ndx == 0 || ndx == 1)
9132 if (ndx == 0 || ndx == 1)
9137 if (ndx == 0 || ndx == 1)
9142 if (ndx == 0 || ndx == 1)
9147 if (ndx == 0 || ndx == 1)
9152 if (ndx == 0 || ndx == 1)
9157 if (ndx == 0 || ndx == 1)
9162 if (ndx == 0 || ndx == 1)
9165 /* linux_clock_gettime64 */
9167 /* linux_clock_settime64 */
9169 /* linux_clock_adjtime64 */
9171 /* linux_clock_getres_time64 */
9173 /* linux_clock_nanosleep_time64 */
9175 /* linux_timer_gettime64 */
9177 /* linux_timer_settime64 */
9179 /* linux_timerfd_gettime64 */
9181 /* linux_timerfd_settime64 */
9183 /* linux_utimensat_time64 */
9185 /* linux_pselect6_time64 */
9187 /* linux_ppoll_time64 */
9189 /* linux_io_pgetevents_time64 */
9191 /* linux_recvmmsg_time64 */
9193 /* linux_mq_timedsend_time64 */
9195 /* linux_mq_timedreceive_time64 */
9197 /* linux_semtimedop_time64 */
9199 /* linux_rt_sigtimedwait_time64 */
9201 /* linux_futex_time64 */
9203 /* linux_sched_rr_get_interval_time64 */
9205 /* linux_pidfd_send_signal */
9207 if (ndx == 0 || ndx == 1)
9210 /* linux_io_uring_setup */
9212 /* linux_io_uring_enter */
9214 /* linux_io_uring_register */
9220 strlcpy(desc, p, descsz);