2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* char ** */
98 uarg[2] = (intptr_t) p->envp; /* char ** */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
218 struct linux_fstat_args *p = params;
219 iarg[0] = p->fd; /* l_uint */
220 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
231 struct linux_utime_args *p = params;
232 uarg[0] = (intptr_t) p->fname; /* char * */
233 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
239 struct linux_access_args *p = params;
240 uarg[0] = (intptr_t) p->path; /* char * */
241 iarg[1] = p->amode; /* l_int */
247 struct linux_nice_args *p = params;
248 iarg[0] = p->inc; /* l_int */
259 struct linux_kill_args *p = params;
260 iarg[0] = p->pid; /* l_int */
261 iarg[1] = p->signum; /* l_int */
267 struct linux_rename_args *p = params;
268 uarg[0] = (intptr_t) p->from; /* char * */
269 uarg[1] = (intptr_t) p->to; /* char * */
275 struct linux_mkdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
277 iarg[1] = p->mode; /* l_int */
283 struct linux_rmdir_args *p = params;
284 uarg[0] = (intptr_t) p->path; /* char * */
290 struct dup_args *p = params;
291 uarg[0] = p->fd; /* u_int */
297 struct linux_pipe_args *p = params;
298 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
304 struct linux_times_args *p = params;
305 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
311 struct linux_brk_args *p = params;
312 iarg[0] = p->dsend; /* l_ulong */
318 struct linux_setgid16_args *p = params;
319 iarg[0] = p->gid; /* l_gid16_t */
330 struct linux_signal_args *p = params;
331 iarg[0] = p->sig; /* l_int */
332 uarg[1] = (intptr_t) p->handler; /* void * */
336 /* linux_geteuid16 */
341 /* linux_getegid16 */
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t) p->path; /* char * */
355 struct linux_umount_args *p = params;
356 uarg[0] = (intptr_t) p->path; /* char * */
357 iarg[1] = p->flags; /* l_int */
363 struct linux_ioctl_args *p = params;
364 iarg[0] = p->fd; /* l_uint */
365 iarg[1] = p->cmd; /* l_uint */
366 iarg[2] = p->arg; /* l_ulong */
372 struct linux_fcntl_args *p = params;
373 iarg[0] = p->fd; /* l_uint */
374 iarg[1] = p->cmd; /* l_uint */
375 iarg[2] = p->arg; /* l_ulong */
381 struct setpgid_args *p = params;
382 iarg[0] = p->pid; /* int */
383 iarg[1] = p->pgid; /* int */
394 struct umask_args *p = params;
395 iarg[0] = p->newmask; /* int */
401 struct chroot_args *p = params;
402 uarg[0] = (intptr_t) p->path; /* char * */
408 struct linux_ustat_args *p = params;
409 iarg[0] = p->dev; /* l_dev_t */
410 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
416 struct dup2_args *p = params;
417 uarg[0] = p->from; /* u_int */
418 uarg[1] = p->to; /* u_int */
437 /* linux_sigaction */
439 struct linux_sigaction_args *p = params;
440 iarg[0] = p->sig; /* l_int */
441 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
442 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
453 struct linux_ssetmask_args *p = params;
454 iarg[0] = p->mask; /* l_osigset_t */
458 /* linux_setreuid16 */
460 struct linux_setreuid16_args *p = params;
461 iarg[0] = p->ruid; /* l_uid16_t */
462 iarg[1] = p->euid; /* l_uid16_t */
466 /* linux_setregid16 */
468 struct linux_setregid16_args *p = params;
469 iarg[0] = p->rgid; /* l_gid16_t */
470 iarg[1] = p->egid; /* l_gid16_t */
474 /* linux_sigsuspend */
476 struct linux_sigsuspend_args *p = params;
477 iarg[0] = p->hist0; /* l_int */
478 iarg[1] = p->hist1; /* l_int */
479 iarg[2] = p->mask; /* l_osigset_t */
483 /* linux_sigpending */
485 struct linux_sigpending_args *p = params;
486 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
490 /* linux_sethostname */
492 struct linux_sethostname_args *p = params;
493 uarg[0] = (intptr_t) p->hostname; /* char * */
494 uarg[1] = p->len; /* u_int */
498 /* linux_setrlimit */
500 struct linux_setrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_old_getrlimit */
508 struct linux_old_getrlimit_args *p = params;
509 iarg[0] = p->resource; /* l_uint */
510 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
516 struct getrusage_args *p = params;
517 iarg[0] = p->who; /* int */
518 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
524 struct gettimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
532 struct settimeofday_args *p = params;
533 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
534 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
538 /* linux_getgroups16 */
540 struct linux_getgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_setgroups16 */
548 struct linux_setgroups16_args *p = params;
549 iarg[0] = p->gidsetsize; /* l_uint */
550 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
554 /* linux_old_select */
556 struct linux_old_select_args *p = params;
557 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
563 struct linux_symlink_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->to; /* char * */
571 struct linux_lstat_args *p = params;
572 uarg[0] = (intptr_t) p->path; /* char * */
573 uarg[1] = (intptr_t) p->up; /* struct l_stat * */
579 struct linux_readlink_args *p = params;
580 uarg[0] = (intptr_t) p->name; /* char * */
581 uarg[1] = (intptr_t) p->buf; /* char * */
582 iarg[2] = p->count; /* l_int */
588 struct linux_uselib_args *p = params;
589 uarg[0] = (intptr_t) p->library; /* char * */
595 struct swapon_args *p = params;
596 uarg[0] = (intptr_t) p->name; /* char * */
602 struct linux_reboot_args *p = params;
603 iarg[0] = p->magic1; /* l_int */
604 iarg[1] = p->magic2; /* l_int */
605 iarg[2] = p->cmd; /* l_uint */
606 uarg[3] = (intptr_t) p->arg; /* void * */
612 struct linux_readdir_args *p = params;
613 iarg[0] = p->fd; /* l_uint */
614 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
615 iarg[2] = p->count; /* l_uint */
621 struct linux_mmap_args *p = params;
622 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
628 struct munmap_args *p = params;
629 uarg[0] = (intptr_t) p->addr; /* caddr_t */
630 iarg[1] = p->len; /* int */
636 struct linux_truncate_args *p = params;
637 uarg[0] = (intptr_t) p->path; /* char * */
638 iarg[1] = p->length; /* l_ulong */
642 /* linux_ftruncate */
644 struct linux_ftruncate_args *p = params;
645 iarg[0] = p->fd; /* int */
646 iarg[1] = p->length; /* long */
652 struct fchmod_args *p = params;
653 iarg[0] = p->fd; /* int */
654 iarg[1] = p->mode; /* int */
660 struct fchown_args *p = params;
661 iarg[0] = p->fd; /* int */
662 iarg[1] = p->uid; /* int */
663 iarg[2] = p->gid; /* int */
667 /* linux_getpriority */
669 struct linux_getpriority_args *p = params;
670 iarg[0] = p->which; /* int */
671 iarg[1] = p->who; /* int */
677 struct setpriority_args *p = params;
678 iarg[0] = p->which; /* int */
679 iarg[1] = p->who; /* int */
680 iarg[2] = p->prio; /* int */
686 struct linux_statfs_args *p = params;
687 uarg[0] = (intptr_t) p->path; /* char * */
688 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
694 struct linux_fstatfs_args *p = params;
695 iarg[0] = p->fd; /* l_uint */
696 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
702 struct linux_ioperm_args *p = params;
703 iarg[0] = p->start; /* l_ulong */
704 iarg[1] = p->length; /* l_ulong */
705 iarg[2] = p->enable; /* l_int */
709 /* linux_socketcall */
711 struct linux_socketcall_args *p = params;
712 iarg[0] = p->what; /* l_int */
713 iarg[1] = p->args; /* l_ulong */
719 struct linux_syslog_args *p = params;
720 iarg[0] = p->type; /* l_int */
721 uarg[1] = (intptr_t) p->buf; /* char * */
722 iarg[2] = p->len; /* l_int */
726 /* linux_setitimer */
728 struct linux_setitimer_args *p = params;
729 iarg[0] = p->which; /* l_int */
730 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
731 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
735 /* linux_getitimer */
737 struct linux_getitimer_args *p = params;
738 iarg[0] = p->which; /* l_int */
739 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
745 struct linux_newstat_args *p = params;
746 uarg[0] = (intptr_t) p->path; /* char * */
747 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
753 struct linux_newlstat_args *p = params;
754 uarg[0] = (intptr_t) p->path; /* char * */
755 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
761 struct linux_newfstat_args *p = params;
762 iarg[0] = p->fd; /* l_uint */
763 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
774 struct linux_iopl_args *p = params;
775 iarg[0] = p->level; /* l_int */
791 struct linux_wait4_args *p = params;
792 iarg[0] = p->pid; /* l_pid_t */
793 uarg[1] = (intptr_t) p->status; /* l_int * */
794 iarg[2] = p->options; /* l_int */
795 uarg[3] = (intptr_t) p->rusage; /* void * */
806 struct linux_sysinfo_args *p = params;
807 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
813 struct linux_ipc_args *p = params;
814 iarg[0] = p->what; /* l_uint */
815 iarg[1] = p->arg1; /* l_int */
816 iarg[2] = p->arg2; /* l_int */
817 iarg[3] = p->arg3; /* l_int */
818 uarg[4] = (intptr_t) p->ptr; /* void * */
819 iarg[5] = p->arg5; /* l_long */
825 struct fsync_args *p = params;
826 iarg[0] = p->fd; /* int */
830 /* linux_sigreturn */
832 struct linux_sigreturn_args *p = params;
833 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
839 struct linux_clone_args *p = params;
840 iarg[0] = p->flags; /* l_int */
841 uarg[1] = (intptr_t) p->stack; /* void * */
842 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
843 uarg[3] = (intptr_t) p->tls; /* void * */
844 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
848 /* linux_setdomainname */
850 struct linux_setdomainname_args *p = params;
851 uarg[0] = (intptr_t) p->name; /* char * */
852 iarg[1] = p->len; /* int */
858 struct linux_newuname_args *p = params;
859 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
863 /* linux_modify_ldt */
865 struct linux_modify_ldt_args *p = params;
866 iarg[0] = p->func; /* l_int */
867 uarg[1] = (intptr_t) p->ptr; /* void * */
868 iarg[2] = p->bytecount; /* l_ulong */
879 struct linux_mprotect_args *p = params;
880 uarg[0] = (intptr_t) p->addr; /* caddr_t */
881 iarg[1] = p->len; /* int */
882 iarg[2] = p->prot; /* int */
886 /* linux_sigprocmask */
888 struct linux_sigprocmask_args *p = params;
889 iarg[0] = p->how; /* l_int */
890 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
891 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
895 /* linux_init_module */
900 /* linux_delete_module */
912 struct getpgid_args *p = params;
913 iarg[0] = p->pid; /* int */
919 struct fchdir_args *p = params;
920 iarg[0] = p->fd; /* int */
931 struct linux_sysfs_args *p = params;
932 iarg[0] = p->option; /* l_int */
933 iarg[1] = p->arg1; /* l_ulong */
934 iarg[2] = p->arg2; /* l_ulong */
938 /* linux_personality */
940 struct linux_personality_args *p = params;
941 iarg[0] = p->per; /* l_uint */
945 /* linux_setfsuid16 */
947 struct linux_setfsuid16_args *p = params;
948 iarg[0] = p->uid; /* l_uid16_t */
952 /* linux_setfsgid16 */
954 struct linux_setfsgid16_args *p = params;
955 iarg[0] = p->gid; /* l_gid16_t */
961 struct linux_llseek_args *p = params;
962 iarg[0] = p->fd; /* l_int */
963 iarg[1] = p->ohigh; /* l_ulong */
964 iarg[2] = p->olow; /* l_ulong */
965 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
966 iarg[4] = p->whence; /* l_uint */
972 struct linux_getdents_args *p = params;
973 iarg[0] = p->fd; /* l_uint */
974 uarg[1] = (intptr_t) p->dent; /* void * */
975 iarg[2] = p->count; /* l_uint */
981 struct linux_select_args *p = params;
982 iarg[0] = p->nfds; /* l_int */
983 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
984 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
985 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
986 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
992 struct flock_args *p = params;
993 iarg[0] = p->fd; /* int */
994 iarg[1] = p->how; /* int */
1000 struct linux_msync_args *p = params;
1001 iarg[0] = p->addr; /* l_ulong */
1002 iarg[1] = p->len; /* l_size_t */
1003 iarg[2] = p->fl; /* l_int */
1009 struct readv_args *p = params;
1010 iarg[0] = p->fd; /* int */
1011 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1012 uarg[2] = p->iovcnt; /* u_int */
1018 struct writev_args *p = params;
1019 iarg[0] = p->fd; /* int */
1020 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1021 uarg[2] = p->iovcnt; /* u_int */
1027 struct linux_getsid_args *p = params;
1028 iarg[0] = p->pid; /* l_pid_t */
1032 /* linux_fdatasync */
1034 struct linux_fdatasync_args *p = params;
1035 iarg[0] = p->fd; /* l_uint */
1041 struct linux_sysctl_args *p = params;
1042 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1048 struct mlock_args *p = params;
1049 uarg[0] = (intptr_t) p->addr; /* const void * */
1050 uarg[1] = p->len; /* size_t */
1056 struct munlock_args *p = params;
1057 uarg[0] = (intptr_t) p->addr; /* const void * */
1058 uarg[1] = p->len; /* size_t */
1064 struct mlockall_args *p = params;
1065 iarg[0] = p->how; /* int */
1074 /* linux_sched_setparam */
1076 struct linux_sched_setparam_args *p = params;
1077 iarg[0] = p->pid; /* l_pid_t */
1078 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1082 /* linux_sched_getparam */
1084 struct linux_sched_getparam_args *p = params;
1085 iarg[0] = p->pid; /* l_pid_t */
1086 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1090 /* linux_sched_setscheduler */
1092 struct linux_sched_setscheduler_args *p = params;
1093 iarg[0] = p->pid; /* l_pid_t */
1094 iarg[1] = p->policy; /* l_int */
1095 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1099 /* linux_sched_getscheduler */
1101 struct linux_sched_getscheduler_args *p = params;
1102 iarg[0] = p->pid; /* l_pid_t */
1111 /* linux_sched_get_priority_max */
1113 struct linux_sched_get_priority_max_args *p = params;
1114 iarg[0] = p->policy; /* l_int */
1118 /* linux_sched_get_priority_min */
1120 struct linux_sched_get_priority_min_args *p = params;
1121 iarg[0] = p->policy; /* l_int */
1125 /* linux_sched_rr_get_interval */
1127 struct linux_sched_rr_get_interval_args *p = params;
1128 iarg[0] = p->pid; /* l_pid_t */
1129 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1133 /* linux_nanosleep */
1135 struct linux_nanosleep_args *p = params;
1136 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1137 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1143 struct linux_mremap_args *p = params;
1144 iarg[0] = p->addr; /* l_ulong */
1145 iarg[1] = p->old_len; /* l_ulong */
1146 iarg[2] = p->new_len; /* l_ulong */
1147 iarg[3] = p->flags; /* l_ulong */
1148 iarg[4] = p->new_addr; /* l_ulong */
1152 /* linux_setresuid16 */
1154 struct linux_setresuid16_args *p = params;
1155 iarg[0] = p->ruid; /* l_uid16_t */
1156 iarg[1] = p->euid; /* l_uid16_t */
1157 iarg[2] = p->suid; /* l_uid16_t */
1161 /* linux_getresuid16 */
1163 struct linux_getresuid16_args *p = params;
1164 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1165 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1166 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1177 struct poll_args *p = params;
1178 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1179 uarg[1] = p->nfds; /* unsigned int */
1180 iarg[2] = p->timeout; /* long */
1184 /* linux_setresgid16 */
1186 struct linux_setresgid16_args *p = params;
1187 iarg[0] = p->rgid; /* l_gid16_t */
1188 iarg[1] = p->egid; /* l_gid16_t */
1189 iarg[2] = p->sgid; /* l_gid16_t */
1193 /* linux_getresgid16 */
1195 struct linux_getresgid16_args *p = params;
1196 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1197 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1198 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1204 struct linux_prctl_args *p = params;
1205 iarg[0] = p->option; /* l_int */
1206 iarg[1] = p->arg2; /* l_int */
1207 iarg[2] = p->arg3; /* l_int */
1208 iarg[3] = p->arg4; /* l_int */
1209 iarg[4] = p->arg5; /* l_int */
1213 /* linux_rt_sigreturn */
1215 struct linux_rt_sigreturn_args *p = params;
1216 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1220 /* linux_rt_sigaction */
1222 struct linux_rt_sigaction_args *p = params;
1223 iarg[0] = p->sig; /* l_int */
1224 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1225 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1226 iarg[3] = p->sigsetsize; /* l_size_t */
1230 /* linux_rt_sigprocmask */
1232 struct linux_rt_sigprocmask_args *p = params;
1233 iarg[0] = p->how; /* l_int */
1234 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1235 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1236 iarg[3] = p->sigsetsize; /* l_size_t */
1240 /* linux_rt_sigpending */
1242 struct linux_rt_sigpending_args *p = params;
1243 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1244 iarg[1] = p->sigsetsize; /* l_size_t */
1248 /* linux_rt_sigtimedwait */
1250 struct linux_rt_sigtimedwait_args *p = params;
1251 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1252 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1253 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1254 iarg[3] = p->sigsetsize; /* l_size_t */
1258 /* linux_rt_sigqueueinfo */
1260 struct linux_rt_sigqueueinfo_args *p = params;
1261 iarg[0] = p->pid; /* l_pid_t */
1262 iarg[1] = p->sig; /* l_int */
1263 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1267 /* linux_rt_sigsuspend */
1269 struct linux_rt_sigsuspend_args *p = params;
1270 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1271 iarg[1] = p->sigsetsize; /* l_size_t */
1277 struct linux_pread_args *p = params;
1278 iarg[0] = p->fd; /* l_uint */
1279 uarg[1] = (intptr_t) p->buf; /* char * */
1280 iarg[2] = p->nbyte; /* l_size_t */
1281 iarg[3] = p->offset; /* l_loff_t */
1287 struct linux_pwrite_args *p = params;
1288 iarg[0] = p->fd; /* l_uint */
1289 uarg[1] = (intptr_t) p->buf; /* char * */
1290 iarg[2] = p->nbyte; /* l_size_t */
1291 iarg[3] = p->offset; /* l_loff_t */
1297 struct linux_chown16_args *p = params;
1298 uarg[0] = (intptr_t) p->path; /* char * */
1299 iarg[1] = p->uid; /* l_uid16_t */
1300 iarg[2] = p->gid; /* l_gid16_t */
1306 struct linux_getcwd_args *p = params;
1307 uarg[0] = (intptr_t) p->buf; /* char * */
1308 iarg[1] = p->bufsize; /* l_ulong */
1314 struct linux_capget_args *p = params;
1315 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1316 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1322 struct linux_capset_args *p = params;
1323 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1324 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1328 /* linux_sigaltstack */
1330 struct linux_sigaltstack_args *p = params;
1331 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1332 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1336 /* linux_sendfile */
1346 /* linux_getrlimit */
1348 struct linux_getrlimit_args *p = params;
1349 iarg[0] = p->resource; /* l_uint */
1350 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1356 struct linux_mmap2_args *p = params;
1357 iarg[0] = p->addr; /* l_ulong */
1358 iarg[1] = p->len; /* l_ulong */
1359 iarg[2] = p->prot; /* l_ulong */
1360 iarg[3] = p->flags; /* l_ulong */
1361 iarg[4] = p->fd; /* l_ulong */
1362 iarg[5] = p->pgoff; /* l_ulong */
1366 /* linux_truncate64 */
1368 struct linux_truncate64_args *p = params;
1369 uarg[0] = (intptr_t) p->path; /* char * */
1370 iarg[1] = p->length; /* l_loff_t */
1374 /* linux_ftruncate64 */
1376 struct linux_ftruncate64_args *p = params;
1377 iarg[0] = p->fd; /* l_uint */
1378 iarg[1] = p->length; /* l_loff_t */
1384 struct linux_stat64_args *p = params;
1385 uarg[0] = (intptr_t) p->filename; /* const char * */
1386 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1392 struct linux_lstat64_args *p = params;
1393 uarg[0] = (intptr_t) p->filename; /* const char * */
1394 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1400 struct linux_fstat64_args *p = params;
1401 iarg[0] = p->fd; /* l_int */
1402 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1408 struct linux_lchown_args *p = params;
1409 uarg[0] = (intptr_t) p->path; /* char * */
1410 iarg[1] = p->uid; /* l_uid_t */
1411 iarg[2] = p->gid; /* l_gid_t */
1437 struct setreuid_args *p = params;
1438 uarg[0] = p->ruid; /* uid_t */
1439 uarg[1] = p->euid; /* uid_t */
1445 struct setregid_args *p = params;
1446 iarg[0] = p->rgid; /* gid_t */
1447 iarg[1] = p->egid; /* gid_t */
1451 /* linux_getgroups */
1453 struct linux_getgroups_args *p = params;
1454 iarg[0] = p->gidsetsize; /* l_int */
1455 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1459 /* linux_setgroups */
1461 struct linux_setgroups_args *p = params;
1462 iarg[0] = p->gidsetsize; /* l_int */
1463 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1474 struct setresuid_args *p = params;
1475 uarg[0] = p->ruid; /* uid_t */
1476 uarg[1] = p->euid; /* uid_t */
1477 uarg[2] = p->suid; /* uid_t */
1483 struct getresuid_args *p = params;
1484 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1485 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1486 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1492 struct setresgid_args *p = params;
1493 iarg[0] = p->rgid; /* gid_t */
1494 iarg[1] = p->egid; /* gid_t */
1495 iarg[2] = p->sgid; /* gid_t */
1501 struct getresgid_args *p = params;
1502 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1503 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1504 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1510 struct linux_chown_args *p = params;
1511 uarg[0] = (intptr_t) p->path; /* char * */
1512 iarg[1] = p->uid; /* l_uid_t */
1513 iarg[2] = p->gid; /* l_gid_t */
1519 struct setuid_args *p = params;
1520 uarg[0] = p->uid; /* uid_t */
1526 struct setgid_args *p = params;
1527 iarg[0] = p->gid; /* gid_t */
1531 /* linux_setfsuid */
1533 struct linux_setfsuid_args *p = params;
1534 iarg[0] = p->uid; /* l_uid_t */
1538 /* linux_setfsgid */
1540 struct linux_setfsgid_args *p = params;
1541 iarg[0] = p->gid; /* l_gid_t */
1545 /* linux_pivot_root */
1547 struct linux_pivot_root_args *p = params;
1548 uarg[0] = (intptr_t) p->new_root; /* char * */
1549 uarg[1] = (intptr_t) p->put_old; /* char * */
1555 struct linux_mincore_args *p = params;
1556 iarg[0] = p->start; /* l_ulong */
1557 iarg[1] = p->len; /* l_size_t */
1558 uarg[2] = (intptr_t) p->vec; /* u_char * */
1564 struct madvise_args *p = params;
1565 uarg[0] = (intptr_t) p->addr; /* void * */
1566 uarg[1] = p->len; /* size_t */
1567 iarg[2] = p->behav; /* int */
1571 /* linux_getdents64 */
1573 struct linux_getdents64_args *p = params;
1574 iarg[0] = p->fd; /* l_uint */
1575 uarg[1] = (intptr_t) p->dirent; /* void * */
1576 iarg[2] = p->count; /* l_uint */
1582 struct linux_fcntl64_args *p = params;
1583 iarg[0] = p->fd; /* l_uint */
1584 iarg[1] = p->cmd; /* l_uint */
1585 iarg[2] = p->arg; /* l_ulong */
1594 /* linux_setxattr */
1599 /* linux_lsetxattr */
1604 /* linux_fsetxattr */
1609 /* linux_getxattr */
1614 /* linux_lgetxattr */
1619 /* linux_fgetxattr */
1624 /* linux_listxattr */
1629 /* linux_llistxattr */
1634 /* linux_flistxattr */
1639 /* linux_removexattr */
1644 /* linux_lremovexattr */
1649 /* linux_fremovexattr */
1656 struct linux_tkill_args *p = params;
1657 iarg[0] = p->tid; /* int */
1658 iarg[1] = p->sig; /* int */
1662 /* linux_sys_futex */
1664 struct linux_sys_futex_args *p = params;
1665 uarg[0] = (intptr_t) p->uaddr; /* void * */
1666 iarg[1] = p->op; /* int */
1667 uarg[2] = p->val; /* uint32_t */
1668 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1669 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1670 uarg[5] = p->val3; /* uint32_t */
1674 /* linux_sched_setaffinity */
1676 struct linux_sched_setaffinity_args *p = params;
1677 iarg[0] = p->pid; /* l_pid_t */
1678 iarg[1] = p->len; /* l_uint */
1679 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1683 /* linux_sched_getaffinity */
1685 struct linux_sched_getaffinity_args *p = params;
1686 iarg[0] = p->pid; /* l_pid_t */
1687 iarg[1] = p->len; /* l_uint */
1688 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1692 /* linux_set_thread_area */
1694 struct linux_set_thread_area_args *p = params;
1695 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1699 /* linux_get_thread_area */
1701 struct linux_get_thread_area_args *p = params;
1702 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1706 /* linux_fadvise64 */
1708 struct linux_fadvise64_args *p = params;
1709 iarg[0] = p->fd; /* int */
1710 iarg[1] = p->offset; /* l_loff_t */
1711 iarg[2] = p->len; /* l_size_t */
1712 iarg[3] = p->advice; /* int */
1716 /* linux_exit_group */
1718 struct linux_exit_group_args *p = params;
1719 iarg[0] = p->error_code; /* int */
1723 /* linux_lookup_dcookie */
1728 /* linux_epoll_create */
1730 struct linux_epoll_create_args *p = params;
1731 iarg[0] = p->size; /* l_int */
1735 /* linux_epoll_ctl */
1737 struct linux_epoll_ctl_args *p = params;
1738 iarg[0] = p->epfd; /* l_int */
1739 iarg[1] = p->op; /* l_int */
1740 iarg[2] = p->fd; /* l_int */
1741 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1745 /* linux_epoll_wait */
1747 struct linux_epoll_wait_args *p = params;
1748 iarg[0] = p->epfd; /* l_int */
1749 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1750 iarg[2] = p->maxevents; /* l_int */
1751 iarg[3] = p->timeout; /* l_int */
1755 /* linux_remap_file_pages */
1760 /* linux_set_tid_address */
1762 struct linux_set_tid_address_args *p = params;
1763 uarg[0] = (intptr_t) p->tidptr; /* int * */
1767 /* linux_timer_create */
1769 struct linux_timer_create_args *p = params;
1770 iarg[0] = p->clock_id; /* clockid_t */
1771 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1772 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1776 /* linux_timer_settime */
1778 struct linux_timer_settime_args *p = params;
1779 iarg[0] = p->timerid; /* l_timer_t */
1780 iarg[1] = p->flags; /* l_int */
1781 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1782 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1786 /* linux_timer_gettime */
1788 struct linux_timer_gettime_args *p = params;
1789 iarg[0] = p->timerid; /* l_timer_t */
1790 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1794 /* linux_timer_getoverrun */
1796 struct linux_timer_getoverrun_args *p = params;
1797 iarg[0] = p->timerid; /* l_timer_t */
1801 /* linux_timer_delete */
1803 struct linux_timer_delete_args *p = params;
1804 iarg[0] = p->timerid; /* l_timer_t */
1808 /* linux_clock_settime */
1810 struct linux_clock_settime_args *p = params;
1811 iarg[0] = p->which; /* clockid_t */
1812 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1816 /* linux_clock_gettime */
1818 struct linux_clock_gettime_args *p = params;
1819 iarg[0] = p->which; /* clockid_t */
1820 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1824 /* linux_clock_getres */
1826 struct linux_clock_getres_args *p = params;
1827 iarg[0] = p->which; /* clockid_t */
1828 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1832 /* linux_clock_nanosleep */
1834 struct linux_clock_nanosleep_args *p = params;
1835 iarg[0] = p->which; /* clockid_t */
1836 iarg[1] = p->flags; /* int */
1837 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1838 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1842 /* linux_statfs64 */
1844 struct linux_statfs64_args *p = params;
1845 uarg[0] = (intptr_t) p->path; /* char * */
1846 uarg[1] = p->bufsize; /* size_t */
1847 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1851 /* linux_fstatfs64 */
1853 struct linux_fstatfs64_args *p = params;
1854 iarg[0] = p->fd; /* l_uint */
1855 uarg[1] = p->bufsize; /* size_t */
1856 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1862 struct linux_tgkill_args *p = params;
1863 iarg[0] = p->tgid; /* int */
1864 iarg[1] = p->pid; /* int */
1865 iarg[2] = p->sig; /* int */
1871 struct linux_utimes_args *p = params;
1872 uarg[0] = (intptr_t) p->fname; /* char * */
1873 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1877 /* linux_fadvise64_64 */
1879 struct linux_fadvise64_64_args *p = params;
1880 iarg[0] = p->fd; /* int */
1881 iarg[1] = p->offset; /* l_loff_t */
1882 iarg[2] = p->len; /* l_loff_t */
1883 iarg[3] = p->advice; /* int */
1892 /* linux_get_mempolicy */
1897 /* linux_set_mempolicy */
1904 struct linux_mq_open_args *p = params;
1905 uarg[0] = (intptr_t) p->name; /* const char * */
1906 iarg[1] = p->oflag; /* int */
1907 iarg[2] = p->mode; /* mode_t */
1908 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1912 /* linux_mq_unlink */
1914 struct linux_mq_unlink_args *p = params;
1915 uarg[0] = (intptr_t) p->name; /* const char * */
1919 /* linux_mq_timedsend */
1921 struct linux_mq_timedsend_args *p = params;
1922 iarg[0] = p->mqd; /* l_mqd_t */
1923 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1924 uarg[2] = p->msg_len; /* size_t */
1925 uarg[3] = p->msg_prio; /* unsigned int */
1926 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1930 /* linux_mq_timedreceive */
1932 struct linux_mq_timedreceive_args *p = params;
1933 iarg[0] = p->mqd; /* l_mqd_t */
1934 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1935 uarg[2] = p->msg_len; /* size_t */
1936 uarg[3] = p->msg_prio; /* unsigned int */
1937 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1941 /* linux_mq_notify */
1943 struct linux_mq_notify_args *p = params;
1944 iarg[0] = p->mqd; /* l_mqd_t */
1945 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1949 /* linux_mq_getsetattr */
1951 struct linux_mq_getsetattr_args *p = params;
1952 iarg[0] = p->mqd; /* l_mqd_t */
1953 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1954 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1958 /* linux_kexec_load */
1965 struct linux_waitid_args *p = params;
1966 iarg[0] = p->idtype; /* int */
1967 iarg[1] = p->id; /* l_pid_t */
1968 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1969 iarg[3] = p->options; /* int */
1970 uarg[4] = (intptr_t) p->rusage; /* void * */
1979 /* linux_request_key */
1989 /* linux_ioprio_set */
1994 /* linux_ioprio_get */
1999 /* linux_inotify_init */
2004 /* linux_inotify_add_watch */
2009 /* linux_inotify_rm_watch */
2014 /* linux_migrate_pages */
2021 struct linux_openat_args *p = params;
2022 iarg[0] = p->dfd; /* l_int */
2023 uarg[1] = (intptr_t) p->filename; /* const char * */
2024 iarg[2] = p->flags; /* l_int */
2025 iarg[3] = p->mode; /* l_int */
2031 struct linux_mkdirat_args *p = params;
2032 iarg[0] = p->dfd; /* l_int */
2033 uarg[1] = (intptr_t) p->pathname; /* const char * */
2034 iarg[2] = p->mode; /* l_int */
2040 struct linux_mknodat_args *p = params;
2041 iarg[0] = p->dfd; /* l_int */
2042 uarg[1] = (intptr_t) p->filename; /* const char * */
2043 iarg[2] = p->mode; /* l_int */
2044 iarg[3] = p->dev; /* l_uint */
2048 /* linux_fchownat */
2050 struct linux_fchownat_args *p = params;
2051 iarg[0] = p->dfd; /* l_int */
2052 uarg[1] = (intptr_t) p->filename; /* const char * */
2053 iarg[2] = p->uid; /* l_uid16_t */
2054 iarg[3] = p->gid; /* l_gid16_t */
2055 iarg[4] = p->flag; /* l_int */
2059 /* linux_futimesat */
2061 struct linux_futimesat_args *p = params;
2062 iarg[0] = p->dfd; /* l_int */
2063 uarg[1] = (intptr_t) p->filename; /* char * */
2064 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2068 /* linux_fstatat64 */
2070 struct linux_fstatat64_args *p = params;
2071 iarg[0] = p->dfd; /* l_int */
2072 uarg[1] = (intptr_t) p->pathname; /* char * */
2073 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2074 iarg[3] = p->flag; /* l_int */
2078 /* linux_unlinkat */
2080 struct linux_unlinkat_args *p = params;
2081 iarg[0] = p->dfd; /* l_int */
2082 uarg[1] = (intptr_t) p->pathname; /* const char * */
2083 iarg[2] = p->flag; /* l_int */
2087 /* linux_renameat */
2089 struct linux_renameat_args *p = params;
2090 iarg[0] = p->olddfd; /* l_int */
2091 uarg[1] = (intptr_t) p->oldname; /* const char * */
2092 iarg[2] = p->newdfd; /* l_int */
2093 uarg[3] = (intptr_t) p->newname; /* const char * */
2099 struct linux_linkat_args *p = params;
2100 iarg[0] = p->olddfd; /* l_int */
2101 uarg[1] = (intptr_t) p->oldname; /* const char * */
2102 iarg[2] = p->newdfd; /* l_int */
2103 uarg[3] = (intptr_t) p->newname; /* const char * */
2104 iarg[4] = p->flag; /* l_int */
2108 /* linux_symlinkat */
2110 struct linux_symlinkat_args *p = params;
2111 uarg[0] = (intptr_t) p->oldname; /* const char * */
2112 iarg[1] = p->newdfd; /* l_int */
2113 uarg[2] = (intptr_t) p->newname; /* const char * */
2117 /* linux_readlinkat */
2119 struct linux_readlinkat_args *p = params;
2120 iarg[0] = p->dfd; /* l_int */
2121 uarg[1] = (intptr_t) p->path; /* const char * */
2122 uarg[2] = (intptr_t) p->buf; /* char * */
2123 iarg[3] = p->bufsiz; /* l_int */
2127 /* linux_fchmodat */
2129 struct linux_fchmodat_args *p = params;
2130 iarg[0] = p->dfd; /* l_int */
2131 uarg[1] = (intptr_t) p->filename; /* const char * */
2132 iarg[2] = p->mode; /* l_mode_t */
2136 /* linux_faccessat */
2138 struct linux_faccessat_args *p = params;
2139 iarg[0] = p->dfd; /* l_int */
2140 uarg[1] = (intptr_t) p->filename; /* const char * */
2141 iarg[2] = p->amode; /* l_int */
2145 /* linux_pselect6 */
2147 struct linux_pselect6_args *p = params;
2148 iarg[0] = p->nfds; /* l_int */
2149 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2150 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2151 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2152 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2153 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2159 struct linux_ppoll_args *p = params;
2160 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2161 uarg[1] = p->nfds; /* uint32_t */
2162 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2163 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2164 iarg[4] = p->ssize; /* l_size_t */
2173 /* linux_set_robust_list */
2175 struct linux_set_robust_list_args *p = params;
2176 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2177 iarg[1] = p->len; /* l_size_t */
2181 /* linux_get_robust_list */
2183 struct linux_get_robust_list_args *p = params;
2184 iarg[0] = p->pid; /* l_int */
2185 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2186 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2195 /* linux_sync_file_range */
2205 /* linux_vmsplice */
2210 /* linux_move_pages */
2220 /* linux_epoll_pwait */
2222 struct linux_epoll_pwait_args *p = params;
2223 iarg[0] = p->epfd; /* l_int */
2224 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2225 iarg[2] = p->maxevents; /* l_int */
2226 iarg[3] = p->timeout; /* l_int */
2227 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2228 iarg[5] = p->sigsetsize; /* l_size_t */
2232 /* linux_utimensat */
2234 struct linux_utimensat_args *p = params;
2235 iarg[0] = p->dfd; /* l_int */
2236 uarg[1] = (intptr_t) p->pathname; /* const char * */
2237 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2238 iarg[3] = p->flags; /* l_int */
2242 /* linux_signalfd */
2247 /* linux_timerfd_create */
2249 struct linux_timerfd_create_args *p = params;
2250 iarg[0] = p->clockid; /* l_int */
2251 iarg[1] = p->flags; /* l_int */
2257 struct linux_eventfd_args *p = params;
2258 iarg[0] = p->initval; /* l_uint */
2262 /* linux_fallocate */
2264 struct linux_fallocate_args *p = params;
2265 iarg[0] = p->fd; /* l_int */
2266 iarg[1] = p->mode; /* l_int */
2267 iarg[2] = p->offset; /* l_loff_t */
2268 iarg[3] = p->len; /* l_loff_t */
2272 /* linux_timerfd_settime */
2274 struct linux_timerfd_settime_args *p = params;
2275 iarg[0] = p->fd; /* l_int */
2276 iarg[1] = p->flags; /* l_int */
2277 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2278 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2282 /* linux_timerfd_gettime */
2284 struct linux_timerfd_gettime_args *p = params;
2285 iarg[0] = p->fd; /* l_int */
2286 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2290 /* linux_signalfd4 */
2295 /* linux_eventfd2 */
2297 struct linux_eventfd2_args *p = params;
2298 iarg[0] = p->initval; /* l_uint */
2299 iarg[1] = p->flags; /* l_int */
2303 /* linux_epoll_create1 */
2305 struct linux_epoll_create1_args *p = params;
2306 iarg[0] = p->flags; /* l_int */
2312 struct linux_dup3_args *p = params;
2313 iarg[0] = p->oldfd; /* l_int */
2314 iarg[1] = p->newfd; /* l_int */
2315 iarg[2] = p->flags; /* l_int */
2321 struct linux_pipe2_args *p = params;
2322 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2323 iarg[1] = p->flags; /* l_int */
2327 /* linux_inotify_init1 */
2334 struct linux_preadv_args *p = params;
2335 iarg[0] = p->fd; /* l_ulong */
2336 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2337 iarg[2] = p->vlen; /* l_ulong */
2338 iarg[3] = p->pos_l; /* l_ulong */
2339 iarg[4] = p->pos_h; /* l_ulong */
2345 struct linux_pwritev_args *p = params;
2346 iarg[0] = p->fd; /* l_ulong */
2347 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2348 iarg[2] = p->vlen; /* l_ulong */
2349 iarg[3] = p->pos_l; /* l_ulong */
2350 iarg[4] = p->pos_h; /* l_ulong */
2354 /* linux_rt_tgsigqueueinfo */
2356 struct linux_rt_tgsigqueueinfo_args *p = params;
2357 iarg[0] = p->tgid; /* l_pid_t */
2358 iarg[1] = p->tid; /* l_pid_t */
2359 iarg[2] = p->sig; /* l_int */
2360 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2364 /* linux_perf_event_open */
2369 /* linux_recvmmsg */
2371 struct linux_recvmmsg_args *p = params;
2372 iarg[0] = p->s; /* l_int */
2373 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2374 iarg[2] = p->vlen; /* l_uint */
2375 iarg[3] = p->flags; /* l_uint */
2376 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2380 /* linux_fanotify_init */
2385 /* linux_fanotify_mark */
2390 /* linux_prlimit64 */
2392 struct linux_prlimit64_args *p = params;
2393 iarg[0] = p->pid; /* l_pid_t */
2394 iarg[1] = p->resource; /* l_uint */
2395 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2396 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2400 /* linux_name_to_handle_at */
2405 /* linux_open_by_handle_at */
2410 /* linux_clock_adjtime */
2417 struct linux_syncfs_args *p = params;
2418 iarg[0] = p->fd; /* l_int */
2422 /* linux_sendmmsg */
2424 struct linux_sendmmsg_args *p = params;
2425 iarg[0] = p->s; /* l_int */
2426 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2427 iarg[2] = p->vlen; /* l_uint */
2428 iarg[3] = p->flags; /* l_uint */
2437 /* linux_process_vm_readv */
2439 struct linux_process_vm_readv_args *p = params;
2440 iarg[0] = p->pid; /* l_pid_t */
2441 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2442 iarg[2] = p->liovcnt; /* l_ulong */
2443 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2444 iarg[4] = p->riovcnt; /* l_ulong */
2445 iarg[5] = p->flags; /* l_ulong */
2449 /* linux_process_vm_writev */
2451 struct linux_process_vm_writev_args *p = params;
2452 iarg[0] = p->pid; /* l_pid_t */
2453 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2454 iarg[2] = p->liovcnt; /* l_ulong */
2455 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2456 iarg[4] = p->riovcnt; /* l_ulong */
2457 iarg[5] = p->flags; /* l_ulong */
2463 struct linux_kcmp_args *p = params;
2464 iarg[0] = p->pid1; /* l_pid_t */
2465 iarg[1] = p->pid2; /* l_pid_t */
2466 iarg[2] = p->type; /* l_int */
2467 iarg[3] = p->idx1; /* l_ulong */
2468 iarg[4] = p->idx; /* l_ulong */
2472 /* linux_finit_module */
2474 struct linux_finit_module_args *p = params;
2475 iarg[0] = p->fd; /* l_int */
2476 uarg[1] = (intptr_t) p->uargs; /* const char * */
2477 iarg[2] = p->flags; /* l_int */
2481 /* linux_sched_setattr */
2483 struct linux_sched_setattr_args *p = params;
2484 iarg[0] = p->pid; /* l_pid_t */
2485 uarg[1] = (intptr_t) p->attr; /* void * */
2486 iarg[2] = p->flags; /* l_uint */
2490 /* linux_sched_getattr */
2492 struct linux_sched_getattr_args *p = params;
2493 iarg[0] = p->pid; /* l_pid_t */
2494 uarg[1] = (intptr_t) p->attr; /* void * */
2495 iarg[2] = p->size; /* l_uint */
2496 iarg[3] = p->flags; /* l_uint */
2500 /* linux_renameat2 */
2502 struct linux_renameat2_args *p = params;
2503 iarg[0] = p->oldfd; /* l_int */
2504 uarg[1] = (intptr_t) p->oldname; /* const char * */
2505 iarg[2] = p->newfd; /* l_int */
2506 uarg[3] = (intptr_t) p->newname; /* const char * */
2507 uarg[4] = p->flags; /* unsigned int */
2513 struct linux_seccomp_args *p = params;
2514 iarg[0] = p->op; /* l_uint */
2515 iarg[1] = p->flags; /* l_uint */
2516 uarg[2] = (intptr_t) p->uargs; /* const char * */
2520 /* linux_getrandom */
2522 struct linux_getrandom_args *p = params;
2523 uarg[0] = (intptr_t) p->buf; /* char * */
2524 iarg[1] = p->count; /* l_size_t */
2525 iarg[2] = p->flags; /* l_uint */
2529 /* linux_memfd_create */
2531 struct linux_memfd_create_args *p = params;
2532 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2533 iarg[1] = p->flags; /* l_uint */
2539 struct linux_bpf_args *p = params;
2540 iarg[0] = p->cmd; /* l_int */
2541 uarg[1] = (intptr_t) p->attr; /* void * */
2542 iarg[2] = p->size; /* l_uint */
2546 /* linux_execveat */
2548 struct linux_execveat_args *p = params;
2549 iarg[0] = p->dfd; /* l_int */
2550 uarg[1] = (intptr_t) p->filename; /* const char * */
2551 uarg[2] = (intptr_t) p->argv; /* const char ** */
2552 uarg[3] = (intptr_t) p->envp; /* const char ** */
2553 iarg[4] = p->flags; /* l_int */
2559 struct linux_socket_args *p = params;
2560 iarg[0] = p->domain; /* l_int */
2561 iarg[1] = p->type; /* l_int */
2562 iarg[2] = p->protocol; /* l_int */
2566 /* linux_socketpair */
2568 struct linux_socketpair_args *p = params;
2569 iarg[0] = p->domain; /* l_int */
2570 iarg[1] = p->type; /* l_int */
2571 iarg[2] = p->protocol; /* l_int */
2572 iarg[3] = p->rsv; /* l_uintptr_t */
2578 struct linux_bind_args *p = params;
2579 iarg[0] = p->s; /* l_int */
2580 iarg[1] = p->name; /* l_uintptr_t */
2581 iarg[2] = p->namelen; /* l_int */
2587 struct linux_connect_args *p = params;
2588 iarg[0] = p->s; /* l_int */
2589 iarg[1] = p->name; /* l_uintptr_t */
2590 iarg[2] = p->namelen; /* l_int */
2596 struct linux_listen_args *p = params;
2597 iarg[0] = p->s; /* l_int */
2598 iarg[1] = p->backlog; /* l_int */
2604 struct linux_accept4_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 */
2608 iarg[3] = p->flags; /* l_int */
2612 /* linux_getsockopt */
2614 struct linux_getsockopt_args *p = params;
2615 iarg[0] = p->s; /* l_int */
2616 iarg[1] = p->level; /* l_int */
2617 iarg[2] = p->optname; /* l_int */
2618 iarg[3] = p->optval; /* l_uintptr_t */
2619 iarg[4] = p->optlen; /* l_uintptr_t */
2623 /* linux_setsockopt */
2625 struct linux_setsockopt_args *p = params;
2626 iarg[0] = p->s; /* l_int */
2627 iarg[1] = p->level; /* l_int */
2628 iarg[2] = p->optname; /* l_int */
2629 iarg[3] = p->optval; /* l_uintptr_t */
2630 iarg[4] = p->optlen; /* l_int */
2634 /* linux_getsockname */
2636 struct linux_getsockname_args *p = params;
2637 iarg[0] = p->s; /* l_int */
2638 iarg[1] = p->addr; /* l_uintptr_t */
2639 iarg[2] = p->namelen; /* l_uintptr_t */
2643 /* linux_getpeername */
2645 struct linux_getpeername_args *p = params;
2646 iarg[0] = p->s; /* l_int */
2647 iarg[1] = p->addr; /* l_uintptr_t */
2648 iarg[2] = p->namelen; /* l_uintptr_t */
2654 struct linux_sendto_args *p = params;
2655 iarg[0] = p->s; /* l_int */
2656 iarg[1] = p->msg; /* l_uintptr_t */
2657 iarg[2] = p->len; /* l_int */
2658 iarg[3] = p->flags; /* l_int */
2659 iarg[4] = p->to; /* l_uintptr_t */
2660 iarg[5] = p->tolen; /* l_int */
2666 struct linux_sendmsg_args *p = params;
2667 iarg[0] = p->s; /* l_int */
2668 iarg[1] = p->msg; /* l_uintptr_t */
2669 iarg[2] = p->flags; /* l_int */
2673 /* linux_recvfrom */
2675 struct linux_recvfrom_args *p = params;
2676 iarg[0] = p->s; /* l_int */
2677 iarg[1] = p->buf; /* l_uintptr_t */
2678 iarg[2] = p->len; /* l_size_t */
2679 iarg[3] = p->flags; /* l_int */
2680 iarg[4] = p->from; /* l_uintptr_t */
2681 iarg[5] = p->fromlen; /* l_uintptr_t */
2687 struct linux_recvmsg_args *p = params;
2688 iarg[0] = p->s; /* l_int */
2689 iarg[1] = p->msg; /* l_uintptr_t */
2690 iarg[2] = p->flags; /* l_int */
2694 /* linux_shutdown */
2696 struct linux_shutdown_args *p = params;
2697 iarg[0] = p->s; /* l_int */
2698 iarg[1] = p->how; /* l_int */
2702 /* linux_userfaultfd */
2704 struct linux_userfaultfd_args *p = params;
2705 iarg[0] = p->flags; /* l_int */
2709 /* linux_membarrier */
2711 struct linux_membarrier_args *p = params;
2712 iarg[0] = p->cmd; /* l_int */
2713 iarg[1] = p->flags; /* l_int */
2719 struct linux_mlock2_args *p = params;
2720 iarg[0] = p->start; /* l_ulong */
2721 iarg[1] = p->len; /* l_size_t */
2722 iarg[2] = p->flags; /* l_int */
2726 /* linux_copy_file_range */
2728 struct linux_copy_file_range_args *p = params;
2729 iarg[0] = p->fd_in; /* l_int */
2730 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2731 iarg[2] = p->fd_out; /* l_int */
2732 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2733 iarg[4] = p->len; /* l_size_t */
2734 iarg[5] = p->flags; /* l_uint */
2740 struct linux_preadv2_args *p = params;
2741 iarg[0] = p->fd; /* l_ulong */
2742 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2743 iarg[2] = p->vlen; /* l_ulong */
2744 iarg[3] = p->pos_l; /* l_ulong */
2745 iarg[4] = p->pos_h; /* l_ulong */
2746 iarg[5] = p->flags; /* l_int */
2750 /* linux_pwritev2 */
2752 struct linux_pwritev2_args *p = params;
2753 iarg[0] = p->fd; /* l_ulong */
2754 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2755 iarg[2] = p->vlen; /* l_ulong */
2756 iarg[3] = p->pos_l; /* l_ulong */
2757 iarg[4] = p->pos_h; /* l_ulong */
2758 iarg[5] = p->flags; /* l_int */
2762 /* linux_pkey_mprotect */
2764 struct linux_pkey_mprotect_args *p = params;
2765 iarg[0] = p->start; /* l_ulong */
2766 iarg[1] = p->len; /* l_size_t */
2767 iarg[2] = p->prot; /* l_ulong */
2768 iarg[3] = p->pkey; /* l_int */
2772 /* linux_pkey_alloc */
2774 struct linux_pkey_alloc_args *p = params;
2775 iarg[0] = p->flags; /* l_ulong */
2776 iarg[1] = p->init_val; /* l_ulong */
2780 /* linux_pkey_free */
2782 struct linux_pkey_free_args *p = params;
2783 iarg[0] = p->pkey; /* l_int */
2793 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2795 const char *p = NULL;
2797 #define nosys linux_nosys
2818 p = "userland char *";
2834 p = "userland char *";
2847 p = "userland char *";
2876 p = "userland l_int *";
2889 p = "userland char *";
2902 p = "userland char *";
2905 p = "userland char *";
2915 p = "userland char *";
2925 p = "userland char *";
2928 p = "userland char **";
2931 p = "userland char **";
2941 p = "userland char *";
2951 p = "userland l_time_t *";
2961 p = "userland char *";
2977 p = "userland char *";
2986 /* linux_lchown16 */
2990 p = "userland char *";
3006 p = "userland char *";
3009 p = "userland struct linux_stat *";
3038 p = "userland char *";
3041 p = "userland char *";
3044 p = "userland char *";
3050 p = "userland void *";
3056 /* linux_oldumount */
3060 p = "userland char *";
3066 /* linux_setuid16 */
3076 /* linux_getuid16 */
3118 p = "userland struct linux_stat *";
3131 p = "userland char *";
3134 p = "userland struct l_utimbuf *";
3144 p = "userland char *";
3183 p = "userland char *";
3186 p = "userland char *";
3196 p = "userland char *";
3209 p = "userland char *";
3229 p = "userland l_int *";
3239 p = "userland struct l_times_argv *";
3255 /* linux_setgid16 */
3265 /* linux_getgid16 */
3275 p = "userland void *";
3281 /* linux_geteuid16 */
3284 /* linux_getegid16 */
3291 p = "userland char *";
3301 p = "userland char *";
3355 /* linux_olduname */
3372 p = "userland char *";
3385 p = "userland struct l_ustat *";
3413 /* linux_sigaction */
3420 p = "userland l_osigaction_t *";
3423 p = "userland l_osigaction_t *";
3429 /* linux_sgetmask */
3432 /* linux_ssetmask */
3442 /* linux_setreuid16 */
3455 /* linux_setregid16 */
3468 /* linux_sigsuspend */
3484 /* linux_sigpending */
3488 p = "userland l_osigset_t *";
3494 /* linux_sethostname */
3498 p = "userland char *";
3507 /* linux_setrlimit */
3514 p = "userland struct l_rlimit *";
3520 /* linux_old_getrlimit */
3527 p = "userland struct l_rlimit *";
3540 p = "userland struct rusage *";
3550 p = "userland struct timeval *";
3553 p = "userland struct timezone *";
3563 p = "userland struct timeval *";
3566 p = "userland struct timezone *";
3572 /* linux_getgroups16 */
3579 p = "userland l_gid16_t *";
3585 /* linux_setgroups16 */
3592 p = "userland l_gid16_t *";
3598 /* linux_old_select */
3602 p = "userland struct l_old_select_argv *";
3612 p = "userland char *";
3615 p = "userland char *";
3625 p = "userland char *";
3628 p = "userland struct l_stat *";
3634 /* linux_readlink */
3638 p = "userland char *";
3641 p = "userland char *";
3654 p = "userland char *";
3664 p = "userland char *";
3683 p = "userland void *";
3696 p = "userland struct l_dirent *";
3709 p = "userland struct l_mmap_argv *";
3728 /* linux_truncate */
3732 p = "userland char *";
3741 /* linux_ftruncate */
3783 /* linux_getpriority */
3816 p = "userland char *";
3819 p = "userland struct l_statfs_buf *";
3832 p = "userland struct l_statfs_buf *";
3854 /* linux_socketcall */
3874 p = "userland char *";
3883 /* linux_setitimer */
3890 p = "userland struct l_itimerval *";
3893 p = "userland struct l_itimerval *";
3899 /* linux_getitimer */
3906 p = "userland struct l_itimerval *";
3916 p = "userland char *";
3919 p = "userland struct l_newstat *";
3925 /* linux_newlstat */
3929 p = "userland char *";
3932 p = "userland struct l_newstat *";
3938 /* linux_newfstat */
3945 p = "userland struct l_newstat *";
3977 p = "userland l_int *";
3983 p = "userland void *";
3996 p = "userland struct l_sysinfo *";
4018 p = "userland void *";
4037 /* linux_sigreturn */
4041 p = "userland struct l_sigframe *";
4054 p = "userland void *";
4057 p = "userland void *";
4060 p = "userland void *";
4063 p = "userland void *";
4069 /* linux_setdomainname */
4073 p = "userland char *";
4082 /* linux_newuname */
4086 p = "userland struct l_new_utsname *";
4092 /* linux_modify_ldt */
4099 p = "userland void *";
4108 /* linux_adjtimex */
4111 /* linux_mprotect */
4127 /* linux_sigprocmask */
4134 p = "userland l_osigset_t *";
4137 p = "userland l_osigset_t *";
4143 /* linux_init_module */
4146 /* linux_delete_module */
4149 /* linux_quotactl */
4191 /* linux_personality */
4201 /* linux_setfsuid16 */
4211 /* linux_setfsgid16 */
4234 p = "userland l_loff_t *";
4243 /* linux_getdents */
4250 p = "userland void *";
4266 p = "userland l_fd_set *";
4269 p = "userland l_fd_set *";
4272 p = "userland l_fd_set *";
4275 p = "userland struct l_timeval *";
4317 p = "userland struct iovec *";
4333 p = "userland struct iovec *";
4352 /* linux_fdatasync */
4366 p = "userland struct l___sysctl_args *";
4376 p = "userland const void *";
4389 p = "userland const void *";
4411 /* linux_sched_setparam */
4418 p = "userland struct sched_param *";
4424 /* linux_sched_getparam */
4431 p = "userland struct sched_param *";
4437 /* linux_sched_setscheduler */
4447 p = "userland struct sched_param *";
4453 /* linux_sched_getscheduler */
4466 /* linux_sched_get_priority_max */
4476 /* linux_sched_get_priority_min */
4486 /* linux_sched_rr_get_interval */
4493 p = "userland struct l_timespec *";
4499 /* linux_nanosleep */
4503 p = "userland const struct l_timespec *";
4506 p = "userland struct l_timespec *";
4534 /* linux_setresuid16 */
4550 /* linux_getresuid16 */
4554 p = "userland l_uid16_t *";
4557 p = "userland l_uid16_t *";
4560 p = "userland l_uid16_t *";
4573 p = "userland struct pollfd *";
4585 /* linux_setresgid16 */
4601 /* linux_getresgid16 */
4605 p = "userland l_gid16_t *";
4608 p = "userland l_gid16_t *";
4611 p = "userland l_gid16_t *";
4639 /* linux_rt_sigreturn */
4643 p = "userland struct l_ucontext *";
4649 /* linux_rt_sigaction */
4656 p = "userland l_sigaction_t *";
4659 p = "userland l_sigaction_t *";
4668 /* linux_rt_sigprocmask */
4675 p = "userland l_sigset_t *";
4678 p = "userland l_sigset_t *";
4687 /* linux_rt_sigpending */
4691 p = "userland l_sigset_t *";
4700 /* linux_rt_sigtimedwait */
4704 p = "userland l_sigset_t *";
4707 p = "userland l_siginfo_t *";
4710 p = "userland struct l_timeval *";
4719 /* linux_rt_sigqueueinfo */
4729 p = "userland l_siginfo_t *";
4735 /* linux_rt_sigsuspend */
4739 p = "userland l_sigset_t *";
4755 p = "userland char *";
4774 p = "userland char *";
4790 p = "userland char *";
4806 p = "userland char *";
4819 p = "userland struct l_user_cap_header *";
4822 p = "userland struct l_user_cap_data *";
4832 p = "userland struct l_user_cap_header *";
4835 p = "userland struct l_user_cap_data *";
4841 /* linux_sigaltstack */
4845 p = "userland l_stack_t *";
4848 p = "userland l_stack_t *";
4854 /* linux_sendfile */
4860 /* linux_getrlimit */
4867 p = "userland struct l_rlimit *";
4898 /* linux_truncate64 */
4902 p = "userland char *";
4911 /* linux_ftruncate64 */
4928 p = "userland const char *";
4931 p = "userland struct l_stat64 *";
4941 p = "userland const char *";
4944 p = "userland struct l_stat64 *";
4957 p = "userland struct l_stat64 *";
4967 p = "userland char *";
5017 /* linux_getgroups */
5024 p = "userland l_gid_t *";
5030 /* linux_setgroups */
5037 p = "userland l_gid_t *";
5066 p = "userland uid_t *";
5069 p = "userland uid_t *";
5072 p = "userland uid_t *";
5098 p = "userland gid_t *";
5101 p = "userland gid_t *";
5104 p = "userland gid_t *";
5114 p = "userland char *";
5146 /* linux_setfsuid */
5156 /* linux_setfsgid */
5166 /* linux_pivot_root */
5170 p = "userland char *";
5173 p = "userland char *";
5189 p = "userland u_char *";
5199 p = "userland void *";
5211 /* linux_getdents64 */
5218 p = "userland void *";
5246 /* linux_setxattr */
5249 /* linux_lsetxattr */
5252 /* linux_fsetxattr */
5255 /* linux_getxattr */
5258 /* linux_lgetxattr */
5261 /* linux_fgetxattr */
5264 /* linux_listxattr */
5267 /* linux_llistxattr */
5270 /* linux_flistxattr */
5273 /* linux_removexattr */
5276 /* linux_lremovexattr */
5279 /* linux_fremovexattr */
5295 /* linux_sys_futex */
5299 p = "userland void *";
5308 p = "userland struct l_timespec *";
5311 p = "userland uint32_t *";
5320 /* linux_sched_setaffinity */
5330 p = "userland l_ulong *";
5336 /* linux_sched_getaffinity */
5346 p = "userland l_ulong *";
5352 /* linux_set_thread_area */
5356 p = "userland struct l_user_desc *";
5362 /* linux_get_thread_area */
5366 p = "userland struct l_user_desc *";
5372 /* linux_fadvise64 */
5391 /* linux_exit_group */
5401 /* linux_lookup_dcookie */
5404 /* linux_epoll_create */
5414 /* linux_epoll_ctl */
5427 p = "userland struct epoll_event *";
5433 /* linux_epoll_wait */
5440 p = "userland struct epoll_event *";
5452 /* linux_remap_file_pages */
5455 /* linux_set_tid_address */
5459 p = "userland int *";
5465 /* linux_timer_create */
5472 p = "userland struct sigevent *";
5475 p = "userland l_timer_t *";
5481 /* linux_timer_settime */
5491 p = "userland const struct itimerspec *";
5494 p = "userland struct itimerspec *";
5500 /* linux_timer_gettime */
5507 p = "userland struct itimerspec *";
5513 /* linux_timer_getoverrun */
5523 /* linux_timer_delete */
5533 /* linux_clock_settime */
5540 p = "userland struct l_timespec *";
5546 /* linux_clock_gettime */
5553 p = "userland struct l_timespec *";
5559 /* linux_clock_getres */
5566 p = "userland struct l_timespec *";
5572 /* linux_clock_nanosleep */
5582 p = "userland struct l_timespec *";
5585 p = "userland struct l_timespec *";
5591 /* linux_statfs64 */
5595 p = "userland char *";
5601 p = "userland struct l_statfs64_buf *";
5607 /* linux_fstatfs64 */
5617 p = "userland struct l_statfs64_buf *";
5643 p = "userland char *";
5646 p = "userland struct l_timeval *";
5652 /* linux_fadvise64_64 */
5674 /* linux_get_mempolicy */
5677 /* linux_set_mempolicy */
5684 p = "userland const char *";
5693 p = "userland struct mq_attr *";
5699 /* linux_mq_unlink */
5703 p = "userland const char *";
5709 /* linux_mq_timedsend */
5716 p = "userland const char *";
5725 p = "userland const struct l_timespec *";
5731 /* linux_mq_timedreceive */
5738 p = "userland char *";
5747 p = "userland const struct l_timespec *";
5753 /* linux_mq_notify */
5760 p = "userland const struct l_timespec *";
5766 /* linux_mq_getsetattr */
5773 p = "userland const struct mq_attr *";
5776 p = "userland struct mq_attr *";
5782 /* linux_kexec_load */
5795 p = "userland l_siginfo_t *";
5801 p = "userland void *";
5810 /* linux_request_key */
5816 /* linux_ioprio_set */
5819 /* linux_ioprio_get */
5822 /* linux_inotify_init */
5825 /* linux_inotify_add_watch */
5828 /* linux_inotify_rm_watch */
5831 /* linux_migrate_pages */
5841 p = "userland const char *";
5860 p = "userland const char *";
5876 p = "userland const char *";
5888 /* linux_fchownat */
5895 p = "userland const char *";
5910 /* linux_futimesat */
5917 p = "userland char *";
5920 p = "userland struct l_timeval *";
5926 /* linux_fstatat64 */
5933 p = "userland char *";
5936 p = "userland struct l_stat64 *";
5945 /* linux_unlinkat */
5952 p = "userland const char *";
5961 /* linux_renameat */
5968 p = "userland const char *";
5974 p = "userland const char *";
5987 p = "userland const char *";
5993 p = "userland const char *";
6002 /* linux_symlinkat */
6006 p = "userland const char *";
6012 p = "userland const char *";
6018 /* linux_readlinkat */
6025 p = "userland const char *";
6028 p = "userland char *";
6037 /* linux_fchmodat */
6044 p = "userland const char *";
6053 /* linux_faccessat */
6060 p = "userland const char *";
6069 /* linux_pselect6 */
6076 p = "userland l_fd_set *";
6079 p = "userland l_fd_set *";
6082 p = "userland l_fd_set *";
6085 p = "userland struct l_timespec *";
6088 p = "userland l_uintptr_t *";
6098 p = "userland struct pollfd *";
6104 p = "userland struct l_timespec *";
6107 p = "userland l_sigset_t *";
6119 /* linux_set_robust_list */
6123 p = "userland struct linux_robust_list_head *";
6132 /* linux_get_robust_list */
6139 p = "userland struct linux_robust_list_head **";
6142 p = "userland l_size_t *";
6151 /* linux_sync_file_range */
6157 /* linux_vmsplice */
6160 /* linux_move_pages */
6166 /* linux_epoll_pwait */
6173 p = "userland struct epoll_event *";
6182 p = "userland l_sigset_t *";
6191 /* linux_utimensat */
6198 p = "userland const char *";
6201 p = "userland const struct l_timespec *";
6210 /* linux_signalfd */
6213 /* linux_timerfd_create */
6236 /* linux_fallocate */
6255 /* linux_timerfd_settime */
6265 p = "userland const struct l_itimerspec *";
6268 p = "userland struct l_itimerspec *";
6274 /* linux_timerfd_gettime */
6281 p = "userland struct l_itimerspec *";
6287 /* linux_signalfd4 */
6290 /* linux_eventfd2 */
6303 /* linux_epoll_create1 */
6333 p = "userland l_int *";
6342 /* linux_inotify_init1 */
6352 p = "userland struct iovec *";
6374 p = "userland struct iovec *";
6389 /* linux_rt_tgsigqueueinfo */
6402 p = "userland l_siginfo_t *";
6408 /* linux_perf_event_open */
6411 /* linux_recvmmsg */
6418 p = "userland struct l_mmsghdr *";
6427 p = "userland struct l_timespec *";
6433 /* linux_fanotify_init */
6436 /* linux_fanotify_mark */
6439 /* linux_prlimit64 */
6449 p = "userland struct rlimit *";
6452 p = "userland struct rlimit *";
6458 /* linux_name_to_handle_at */
6461 /* linux_open_by_handle_at */
6464 /* linux_clock_adjtime */
6477 /* linux_sendmmsg */
6484 p = "userland struct l_mmsghdr *";
6499 /* linux_process_vm_readv */
6506 p = "userland const struct iovec *";
6512 p = "userland const struct iovec *";
6524 /* linux_process_vm_writev */
6531 p = "userland const struct iovec *";
6537 p = "userland const struct iovec *";
6571 /* linux_finit_module */
6578 p = "userland const char *";
6587 /* linux_sched_setattr */
6594 p = "userland void *";
6603 /* linux_sched_getattr */
6610 p = "userland void *";
6622 /* linux_renameat2 */
6629 p = "userland const char *";
6635 p = "userland const char *";
6654 p = "userland const char *";
6660 /* linux_getrandom */
6664 p = "userland char *";
6676 /* linux_memfd_create */
6680 p = "userland const char *";
6696 p = "userland void *";
6705 /* linux_execveat */
6712 p = "userland const char *";
6715 p = "userland const char **";
6718 p = "userland const char **";
6743 /* linux_socketpair */
6826 /* linux_getsockopt */
6848 /* linux_setsockopt */
6870 /* linux_getsockname */
6886 /* linux_getpeername */
6943 /* linux_recvfrom */
6984 /* linux_shutdown */
6997 /* linux_userfaultfd */
7007 /* linux_membarrier */
7036 /* linux_copy_file_range */
7043 p = "userland l_loff_t *";
7049 p = "userland l_loff_t *";
7068 p = "userland const struct iovec *";
7086 /* linux_pwritev2 */
7093 p = "userland const struct iovec *";
7111 /* linux_pkey_mprotect */
7130 /* linux_pkey_alloc */
7143 /* linux_pkey_free */
7157 strlcpy(desc, p, descsz);
7160 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7162 const char *p = NULL;
7164 #define nosys linux_nosys
7167 if (ndx == 0 || ndx == 1)
7174 if (ndx == 0 || ndx == 1)
7179 if (ndx == 0 || ndx == 1)
7184 if (ndx == 0 || ndx == 1)
7189 if (ndx == 0 || ndx == 1)
7194 if (ndx == 0 || ndx == 1)
7199 if (ndx == 0 || ndx == 1)
7204 if (ndx == 0 || ndx == 1)
7209 if (ndx == 0 || ndx == 1)
7214 if (ndx == 0 || ndx == 1)
7219 if (ndx == 0 || ndx == 1)
7224 if (ndx == 0 || ndx == 1)
7229 if (ndx == 0 || ndx == 1)
7234 if (ndx == 0 || ndx == 1)
7237 /* linux_lchown16 */
7239 if (ndx == 0 || ndx == 1)
7244 if (ndx == 0 || ndx == 1)
7249 if (ndx == 0 || ndx == 1)
7256 if (ndx == 0 || ndx == 1)
7259 /* linux_oldumount */
7261 if (ndx == 0 || ndx == 1)
7264 /* linux_setuid16 */
7266 if (ndx == 0 || ndx == 1)
7269 /* linux_getuid16 */
7275 if (ndx == 0 || ndx == 1)
7280 if (ndx == 0 || ndx == 1)
7285 if (ndx == 0 || ndx == 1)
7292 if (ndx == 0 || ndx == 1)
7297 if (ndx == 0 || ndx == 1)
7302 if (ndx == 0 || ndx == 1)
7309 if (ndx == 0 || ndx == 1)
7314 if (ndx == 0 || ndx == 1)
7319 if (ndx == 0 || ndx == 1)
7324 if (ndx == 0 || ndx == 1)
7329 if (ndx == 0 || ndx == 1)
7334 if (ndx == 0 || ndx == 1)
7339 if (ndx == 0 || ndx == 1)
7344 if (ndx == 0 || ndx == 1)
7347 /* linux_setgid16 */
7349 if (ndx == 0 || ndx == 1)
7352 /* linux_getgid16 */
7356 if (ndx == 0 || ndx == 1)
7359 /* linux_geteuid16 */
7361 /* linux_getegid16 */
7365 if (ndx == 0 || ndx == 1)
7370 if (ndx == 0 || ndx == 1)
7375 if (ndx == 0 || ndx == 1)
7380 if (ndx == 0 || ndx == 1)
7385 if (ndx == 0 || ndx == 1)
7388 /* linux_olduname */
7392 if (ndx == 0 || ndx == 1)
7397 if (ndx == 0 || ndx == 1)
7402 if (ndx == 0 || ndx == 1)
7407 if (ndx == 0 || ndx == 1)
7416 /* linux_sigaction */
7418 if (ndx == 0 || ndx == 1)
7421 /* linux_sgetmask */
7423 /* linux_ssetmask */
7425 if (ndx == 0 || ndx == 1)
7428 /* linux_setreuid16 */
7430 if (ndx == 0 || ndx == 1)
7433 /* linux_setregid16 */
7435 if (ndx == 0 || ndx == 1)
7438 /* linux_sigsuspend */
7440 if (ndx == 0 || ndx == 1)
7443 /* linux_sigpending */
7445 if (ndx == 0 || ndx == 1)
7448 /* linux_sethostname */
7450 if (ndx == 0 || ndx == 1)
7453 /* linux_setrlimit */
7455 if (ndx == 0 || ndx == 1)
7458 /* linux_old_getrlimit */
7460 if (ndx == 0 || ndx == 1)
7465 if (ndx == 0 || ndx == 1)
7470 if (ndx == 0 || ndx == 1)
7475 if (ndx == 0 || ndx == 1)
7478 /* linux_getgroups16 */
7480 if (ndx == 0 || ndx == 1)
7483 /* linux_setgroups16 */
7485 if (ndx == 0 || ndx == 1)
7488 /* linux_old_select */
7490 if (ndx == 0 || ndx == 1)
7495 if (ndx == 0 || ndx == 1)
7500 if (ndx == 0 || ndx == 1)
7503 /* linux_readlink */
7505 if (ndx == 0 || ndx == 1)
7510 if (ndx == 0 || ndx == 1)
7515 if (ndx == 0 || ndx == 1)
7520 if (ndx == 0 || ndx == 1)
7525 if (ndx == 0 || ndx == 1)
7530 if (ndx == 0 || ndx == 1)
7535 if (ndx == 0 || ndx == 1)
7538 /* linux_truncate */
7540 if (ndx == 0 || ndx == 1)
7543 /* linux_ftruncate */
7545 if (ndx == 0 || ndx == 1)
7550 if (ndx == 0 || ndx == 1)
7555 if (ndx == 0 || ndx == 1)
7558 /* linux_getpriority */
7560 if (ndx == 0 || ndx == 1)
7565 if (ndx == 0 || ndx == 1)
7570 if (ndx == 0 || ndx == 1)
7575 if (ndx == 0 || ndx == 1)
7580 if (ndx == 0 || ndx == 1)
7583 /* linux_socketcall */
7585 if (ndx == 0 || ndx == 1)
7590 if (ndx == 0 || ndx == 1)
7593 /* linux_setitimer */
7595 if (ndx == 0 || ndx == 1)
7598 /* linux_getitimer */
7600 if (ndx == 0 || ndx == 1)
7605 if (ndx == 0 || ndx == 1)
7608 /* linux_newlstat */
7610 if (ndx == 0 || ndx == 1)
7613 /* linux_newfstat */
7615 if (ndx == 0 || ndx == 1)
7622 if (ndx == 0 || ndx == 1)
7631 if (ndx == 0 || ndx == 1)
7638 if (ndx == 0 || ndx == 1)
7643 if (ndx == 0 || ndx == 1)
7648 if (ndx == 0 || ndx == 1)
7651 /* linux_sigreturn */
7653 if (ndx == 0 || ndx == 1)
7658 if (ndx == 0 || ndx == 1)
7661 /* linux_setdomainname */
7663 if (ndx == 0 || ndx == 1)
7666 /* linux_newuname */
7668 if (ndx == 0 || ndx == 1)
7671 /* linux_modify_ldt */
7673 if (ndx == 0 || ndx == 1)
7676 /* linux_adjtimex */
7678 /* linux_mprotect */
7680 if (ndx == 0 || ndx == 1)
7683 /* linux_sigprocmask */
7685 if (ndx == 0 || ndx == 1)
7688 /* linux_init_module */
7690 /* linux_delete_module */
7692 /* linux_quotactl */
7696 if (ndx == 0 || ndx == 1)
7701 if (ndx == 0 || ndx == 1)
7708 if (ndx == 0 || ndx == 1)
7711 /* linux_personality */
7713 if (ndx == 0 || ndx == 1)
7716 /* linux_setfsuid16 */
7718 if (ndx == 0 || ndx == 1)
7721 /* linux_setfsgid16 */
7723 if (ndx == 0 || ndx == 1)
7728 if (ndx == 0 || ndx == 1)
7731 /* linux_getdents */
7733 if (ndx == 0 || ndx == 1)
7738 if (ndx == 0 || ndx == 1)
7743 if (ndx == 0 || ndx == 1)
7748 if (ndx == 0 || ndx == 1)
7753 if (ndx == 0 || ndx == 1)
7758 if (ndx == 0 || ndx == 1)
7763 if (ndx == 0 || ndx == 1)
7766 /* linux_fdatasync */
7768 if (ndx == 0 || ndx == 1)
7773 if (ndx == 0 || ndx == 1)
7778 if (ndx == 0 || ndx == 1)
7783 if (ndx == 0 || ndx == 1)
7788 if (ndx == 0 || ndx == 1)
7793 /* linux_sched_setparam */
7795 if (ndx == 0 || ndx == 1)
7798 /* linux_sched_getparam */
7800 if (ndx == 0 || ndx == 1)
7803 /* linux_sched_setscheduler */
7805 if (ndx == 0 || ndx == 1)
7808 /* linux_sched_getscheduler */
7810 if (ndx == 0 || ndx == 1)
7815 /* linux_sched_get_priority_max */
7817 if (ndx == 0 || ndx == 1)
7820 /* linux_sched_get_priority_min */
7822 if (ndx == 0 || ndx == 1)
7825 /* linux_sched_rr_get_interval */
7827 if (ndx == 0 || ndx == 1)
7830 /* linux_nanosleep */
7832 if (ndx == 0 || ndx == 1)
7837 if (ndx == 0 || ndx == 1)
7840 /* linux_setresuid16 */
7842 if (ndx == 0 || ndx == 1)
7845 /* linux_getresuid16 */
7847 if (ndx == 0 || ndx == 1)
7854 if (ndx == 0 || ndx == 1)
7857 /* linux_setresgid16 */
7859 if (ndx == 0 || ndx == 1)
7862 /* linux_getresgid16 */
7864 if (ndx == 0 || ndx == 1)
7869 if (ndx == 0 || ndx == 1)
7872 /* linux_rt_sigreturn */
7874 if (ndx == 0 || ndx == 1)
7877 /* linux_rt_sigaction */
7879 if (ndx == 0 || ndx == 1)
7882 /* linux_rt_sigprocmask */
7884 if (ndx == 0 || ndx == 1)
7887 /* linux_rt_sigpending */
7889 if (ndx == 0 || ndx == 1)
7892 /* linux_rt_sigtimedwait */
7894 if (ndx == 0 || ndx == 1)
7897 /* linux_rt_sigqueueinfo */
7899 if (ndx == 0 || ndx == 1)
7902 /* linux_rt_sigsuspend */
7904 if (ndx == 0 || ndx == 1)
7909 if (ndx == 0 || ndx == 1)
7914 if (ndx == 0 || ndx == 1)
7919 if (ndx == 0 || ndx == 1)
7924 if (ndx == 0 || ndx == 1)
7929 if (ndx == 0 || ndx == 1)
7934 if (ndx == 0 || ndx == 1)
7937 /* linux_sigaltstack */
7939 if (ndx == 0 || ndx == 1)
7942 /* linux_sendfile */
7946 /* linux_getrlimit */
7948 if (ndx == 0 || ndx == 1)
7953 if (ndx == 0 || ndx == 1)
7956 /* linux_truncate64 */
7958 if (ndx == 0 || ndx == 1)
7961 /* linux_ftruncate64 */
7963 if (ndx == 0 || ndx == 1)
7968 if (ndx == 0 || ndx == 1)
7973 if (ndx == 0 || ndx == 1)
7978 if (ndx == 0 || ndx == 1)
7983 if (ndx == 0 || ndx == 1)
7996 if (ndx == 0 || ndx == 1)
8001 if (ndx == 0 || ndx == 1)
8004 /* linux_getgroups */
8006 if (ndx == 0 || ndx == 1)
8009 /* linux_setgroups */
8011 if (ndx == 0 || ndx == 1)
8018 if (ndx == 0 || ndx == 1)
8023 if (ndx == 0 || ndx == 1)
8028 if (ndx == 0 || ndx == 1)
8033 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_setfsuid */
8053 if (ndx == 0 || ndx == 1)
8056 /* linux_setfsgid */
8058 if (ndx == 0 || ndx == 1)
8061 /* linux_pivot_root */
8063 if (ndx == 0 || ndx == 1)
8068 if (ndx == 0 || ndx == 1)
8073 if (ndx == 0 || ndx == 1)
8076 /* linux_getdents64 */
8078 if (ndx == 0 || ndx == 1)
8083 if (ndx == 0 || ndx == 1)
8088 /* linux_setxattr */
8090 /* linux_lsetxattr */
8092 /* linux_fsetxattr */
8094 /* linux_getxattr */
8096 /* linux_lgetxattr */
8098 /* linux_fgetxattr */
8100 /* linux_listxattr */
8102 /* linux_llistxattr */
8104 /* linux_flistxattr */
8106 /* linux_removexattr */
8108 /* linux_lremovexattr */
8110 /* linux_fremovexattr */
8114 if (ndx == 0 || ndx == 1)
8117 /* linux_sys_futex */
8119 if (ndx == 0 || ndx == 1)
8122 /* linux_sched_setaffinity */
8124 if (ndx == 0 || ndx == 1)
8127 /* linux_sched_getaffinity */
8129 if (ndx == 0 || ndx == 1)
8132 /* linux_set_thread_area */
8134 if (ndx == 0 || ndx == 1)
8137 /* linux_get_thread_area */
8139 if (ndx == 0 || ndx == 1)
8142 /* linux_fadvise64 */
8144 if (ndx == 0 || ndx == 1)
8147 /* linux_exit_group */
8149 if (ndx == 0 || ndx == 1)
8152 /* linux_lookup_dcookie */
8154 /* linux_epoll_create */
8156 if (ndx == 0 || ndx == 1)
8159 /* linux_epoll_ctl */
8161 if (ndx == 0 || ndx == 1)
8164 /* linux_epoll_wait */
8166 if (ndx == 0 || ndx == 1)
8169 /* linux_remap_file_pages */
8171 /* linux_set_tid_address */
8173 if (ndx == 0 || ndx == 1)
8176 /* linux_timer_create */
8178 if (ndx == 0 || ndx == 1)
8181 /* linux_timer_settime */
8183 if (ndx == 0 || ndx == 1)
8186 /* linux_timer_gettime */
8188 if (ndx == 0 || ndx == 1)
8191 /* linux_timer_getoverrun */
8193 if (ndx == 0 || ndx == 1)
8196 /* linux_timer_delete */
8198 if (ndx == 0 || ndx == 1)
8201 /* linux_clock_settime */
8203 if (ndx == 0 || ndx == 1)
8206 /* linux_clock_gettime */
8208 if (ndx == 0 || ndx == 1)
8211 /* linux_clock_getres */
8213 if (ndx == 0 || ndx == 1)
8216 /* linux_clock_nanosleep */
8218 if (ndx == 0 || ndx == 1)
8221 /* linux_statfs64 */
8223 if (ndx == 0 || ndx == 1)
8226 /* linux_fstatfs64 */
8228 if (ndx == 0 || ndx == 1)
8233 if (ndx == 0 || ndx == 1)
8238 if (ndx == 0 || ndx == 1)
8241 /* linux_fadvise64_64 */
8243 if (ndx == 0 || ndx == 1)
8248 /* linux_get_mempolicy */
8250 /* linux_set_mempolicy */
8254 if (ndx == 0 || ndx == 1)
8257 /* linux_mq_unlink */
8259 if (ndx == 0 || ndx == 1)
8262 /* linux_mq_timedsend */
8264 if (ndx == 0 || ndx == 1)
8267 /* linux_mq_timedreceive */
8269 if (ndx == 0 || ndx == 1)
8272 /* linux_mq_notify */
8274 if (ndx == 0 || ndx == 1)
8277 /* linux_mq_getsetattr */
8279 if (ndx == 0 || ndx == 1)
8282 /* linux_kexec_load */
8286 if (ndx == 0 || ndx == 1)
8291 /* linux_request_key */
8295 /* linux_ioprio_set */
8297 /* linux_ioprio_get */
8299 /* linux_inotify_init */
8301 /* linux_inotify_add_watch */
8303 /* linux_inotify_rm_watch */
8305 /* linux_migrate_pages */
8309 if (ndx == 0 || ndx == 1)
8314 if (ndx == 0 || ndx == 1)
8319 if (ndx == 0 || ndx == 1)
8322 /* linux_fchownat */
8324 if (ndx == 0 || ndx == 1)
8327 /* linux_futimesat */
8329 if (ndx == 0 || ndx == 1)
8332 /* linux_fstatat64 */
8334 if (ndx == 0 || ndx == 1)
8337 /* linux_unlinkat */
8339 if (ndx == 0 || ndx == 1)
8342 /* linux_renameat */
8344 if (ndx == 0 || ndx == 1)
8349 if (ndx == 0 || ndx == 1)
8352 /* linux_symlinkat */
8354 if (ndx == 0 || ndx == 1)
8357 /* linux_readlinkat */
8359 if (ndx == 0 || ndx == 1)
8362 /* linux_fchmodat */
8364 if (ndx == 0 || ndx == 1)
8367 /* linux_faccessat */
8369 if (ndx == 0 || ndx == 1)
8372 /* linux_pselect6 */
8374 if (ndx == 0 || ndx == 1)
8379 if (ndx == 0 || ndx == 1)
8384 /* linux_set_robust_list */
8386 if (ndx == 0 || ndx == 1)
8389 /* linux_get_robust_list */
8391 if (ndx == 0 || ndx == 1)
8396 /* linux_sync_file_range */
8400 /* linux_vmsplice */
8402 /* linux_move_pages */
8406 /* linux_epoll_pwait */
8408 if (ndx == 0 || ndx == 1)
8411 /* linux_utimensat */
8413 if (ndx == 0 || ndx == 1)
8416 /* linux_signalfd */
8418 /* linux_timerfd_create */
8420 if (ndx == 0 || ndx == 1)
8425 if (ndx == 0 || ndx == 1)
8428 /* linux_fallocate */
8430 if (ndx == 0 || ndx == 1)
8433 /* linux_timerfd_settime */
8435 if (ndx == 0 || ndx == 1)
8438 /* linux_timerfd_gettime */
8440 if (ndx == 0 || ndx == 1)
8443 /* linux_signalfd4 */
8445 /* linux_eventfd2 */
8447 if (ndx == 0 || ndx == 1)
8450 /* linux_epoll_create1 */
8452 if (ndx == 0 || ndx == 1)
8457 if (ndx == 0 || ndx == 1)
8462 if (ndx == 0 || ndx == 1)
8465 /* linux_inotify_init1 */
8469 if (ndx == 0 || ndx == 1)
8474 if (ndx == 0 || ndx == 1)
8477 /* linux_rt_tgsigqueueinfo */
8479 if (ndx == 0 || ndx == 1)
8482 /* linux_perf_event_open */
8484 /* linux_recvmmsg */
8486 if (ndx == 0 || ndx == 1)
8489 /* linux_fanotify_init */
8491 /* linux_fanotify_mark */
8493 /* linux_prlimit64 */
8495 if (ndx == 0 || ndx == 1)
8498 /* linux_name_to_handle_at */
8500 /* linux_open_by_handle_at */
8502 /* linux_clock_adjtime */
8506 if (ndx == 0 || ndx == 1)
8509 /* linux_sendmmsg */
8511 if (ndx == 0 || ndx == 1)
8516 /* linux_process_vm_readv */
8518 if (ndx == 0 || ndx == 1)
8521 /* linux_process_vm_writev */
8523 if (ndx == 0 || ndx == 1)
8528 if (ndx == 0 || ndx == 1)
8531 /* linux_finit_module */
8533 if (ndx == 0 || ndx == 1)
8536 /* linux_sched_setattr */
8538 if (ndx == 0 || ndx == 1)
8541 /* linux_sched_getattr */
8543 if (ndx == 0 || ndx == 1)
8546 /* linux_renameat2 */
8548 if (ndx == 0 || ndx == 1)
8553 if (ndx == 0 || ndx == 1)
8556 /* linux_getrandom */
8558 if (ndx == 0 || ndx == 1)
8561 /* linux_memfd_create */
8563 if (ndx == 0 || ndx == 1)
8568 if (ndx == 0 || ndx == 1)
8571 /* linux_execveat */
8573 if (ndx == 0 || ndx == 1)
8578 if (ndx == 0 || ndx == 1)
8581 /* linux_socketpair */
8583 if (ndx == 0 || ndx == 1)
8588 if (ndx == 0 || ndx == 1)
8593 if (ndx == 0 || ndx == 1)
8598 if (ndx == 0 || ndx == 1)
8603 if (ndx == 0 || ndx == 1)
8606 /* linux_getsockopt */
8608 if (ndx == 0 || ndx == 1)
8611 /* linux_setsockopt */
8613 if (ndx == 0 || ndx == 1)
8616 /* linux_getsockname */
8618 if (ndx == 0 || ndx == 1)
8621 /* linux_getpeername */
8623 if (ndx == 0 || ndx == 1)
8628 if (ndx == 0 || ndx == 1)
8633 if (ndx == 0 || ndx == 1)
8636 /* linux_recvfrom */
8638 if (ndx == 0 || ndx == 1)
8643 if (ndx == 0 || ndx == 1)
8646 /* linux_shutdown */
8648 if (ndx == 0 || ndx == 1)
8651 /* linux_userfaultfd */
8653 if (ndx == 0 || ndx == 1)
8656 /* linux_membarrier */
8658 if (ndx == 0 || ndx == 1)
8663 if (ndx == 0 || ndx == 1)
8666 /* linux_copy_file_range */
8668 if (ndx == 0 || ndx == 1)
8673 if (ndx == 0 || ndx == 1)
8676 /* linux_pwritev2 */
8678 if (ndx == 0 || ndx == 1)
8681 /* linux_pkey_mprotect */
8683 if (ndx == 0 || ndx == 1)
8686 /* linux_pkey_alloc */
8688 if (ndx == 0 || ndx == 1)
8691 /* linux_pkey_free */
8693 if (ndx == 0 || ndx == 1)
8700 strlcpy(desc, p, descsz);