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_uint */
818 iarg[4] = p->ptr; /* l_uintptr_t */
819 iarg[5] = p->arg5; /* l_uint */
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 */
2789 struct linux_statx_args *p = params;
2790 iarg[0] = p->dirfd; /* l_int */
2791 uarg[1] = (intptr_t) p->pathname; /* const char * */
2792 iarg[2] = p->flags; /* l_uint */
2793 iarg[3] = p->mask; /* l_uint */
2794 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2798 /* linux_arch_prctl */
2800 struct linux_arch_prctl_args *p = params;
2801 iarg[0] = p->option; /* l_int */
2802 iarg[1] = p->arg2; /* l_ulong */
2806 /* linux_io_pgetevents */
2818 struct linux_semget_args *p = params;
2819 iarg[0] = p->key; /* l_key_t */
2820 iarg[1] = p->nsems; /* l_int */
2821 iarg[2] = p->semflg; /* l_int */
2827 struct linux_semctl_args *p = params;
2828 iarg[0] = p->semid; /* l_int */
2829 iarg[1] = p->semnum; /* l_int */
2830 iarg[2] = p->cmd; /* l_int */
2831 uarg[3] = p->arg.buf; /* union l_semun */
2837 struct linux_shmget_args *p = params;
2838 iarg[0] = p->key; /* l_key_t */
2839 iarg[1] = p->size; /* l_size_t */
2840 iarg[2] = p->shmflg; /* l_int */
2846 struct linux_shmctl_args *p = params;
2847 iarg[0] = p->shmid; /* l_int */
2848 iarg[1] = p->cmd; /* l_int */
2849 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2855 struct linux_shmat_args *p = params;
2856 iarg[0] = p->shmid; /* l_int */
2857 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2858 iarg[2] = p->shmflg; /* l_int */
2864 struct linux_shmdt_args *p = params;
2865 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2871 struct linux_msgget_args *p = params;
2872 iarg[0] = p->key; /* l_key_t */
2873 iarg[1] = p->msgflg; /* l_int */
2879 struct linux_msgsnd_args *p = params;
2880 iarg[0] = p->msqid; /* l_int */
2881 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2882 iarg[2] = p->msgsz; /* l_size_t */
2883 iarg[3] = p->msgflg; /* l_int */
2889 struct linux_msgrcv_args *p = params;
2890 iarg[0] = p->msqid; /* l_int */
2891 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2892 iarg[2] = p->msgsz; /* l_size_t */
2893 iarg[3] = p->msgtyp; /* l_long */
2894 iarg[4] = p->msgflg; /* l_int */
2900 struct linux_msgctl_args *p = params;
2901 iarg[0] = p->msqid; /* l_int */
2902 iarg[1] = p->cmd; /* l_int */
2903 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2907 /* linux_clock_gettime64 */
2912 /* linux_clock_settime64 */
2917 /* linux_clock_adjtime64 */
2922 /* linux_clock_getres_time64 */
2927 /* linux_clock_nanosleep_time64 */
2932 /* linux_timer_gettime64 */
2937 /* linux_timer_settime64 */
2942 /* linux_timerfd_gettime64 */
2947 /* linux_timerfd_settime64 */
2952 /* linux_utimensat_time64 */
2957 /* linux_pselect6_time64 */
2962 /* linux_ppoll_time64 */
2967 /* linux_io_pgetevents_time64 */
2972 /* linux_recvmmsg_time64 */
2977 /* linux_mq_timedsend_time64 */
2982 /* linux_mq_timedreceive_time64 */
2987 /* linux_semtimedop_time64 */
2992 /* linux_rt_sigtimedwait_time64 */
2997 /* linux_futex_time64 */
3002 /* linux_sched_rr_get_interval_time64 */
3007 /* linux_pidfd_send_signal */
3009 struct linux_pidfd_send_signal_args *p = params;
3010 iarg[0] = p->pidfd; /* l_int */
3011 iarg[1] = p->sig; /* l_int */
3012 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
3013 iarg[3] = p->flags; /* l_uint */
3017 /* linux_io_uring_setup */
3022 /* linux_io_uring_enter */
3027 /* linux_io_uring_register */
3038 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3040 const char *p = NULL;
3042 #define nosys linux_nosys
3063 p = "userland char *";
3079 p = "userland char *";
3092 p = "userland char *";
3121 p = "userland l_int *";
3134 p = "userland char *";
3147 p = "userland char *";
3150 p = "userland char *";
3160 p = "userland char *";
3170 p = "userland char *";
3173 p = "userland char **";
3176 p = "userland char **";
3186 p = "userland char *";
3196 p = "userland l_time_t *";
3206 p = "userland char *";
3222 p = "userland char *";
3231 /* linux_lchown16 */
3235 p = "userland char *";
3251 p = "userland char *";
3254 p = "userland struct linux_stat *";
3283 p = "userland char *";
3286 p = "userland char *";
3289 p = "userland char *";
3295 p = "userland void *";
3301 /* linux_oldumount */
3305 p = "userland char *";
3311 /* linux_setuid16 */
3321 /* linux_getuid16 */
3363 p = "userland struct linux_stat *";
3376 p = "userland char *";
3379 p = "userland struct l_utimbuf *";
3389 p = "userland char *";
3428 p = "userland char *";
3431 p = "userland char *";
3441 p = "userland char *";
3454 p = "userland char *";
3474 p = "userland l_int *";
3484 p = "userland struct l_times_argv *";
3500 /* linux_setgid16 */
3510 /* linux_getgid16 */
3520 p = "userland void *";
3526 /* linux_geteuid16 */
3529 /* linux_getegid16 */
3536 p = "userland char *";
3546 p = "userland char *";
3600 /* linux_olduname */
3617 p = "userland char *";
3630 p = "userland struct l_ustat *";
3658 /* linux_sigaction */
3665 p = "userland l_osigaction_t *";
3668 p = "userland l_osigaction_t *";
3674 /* linux_sgetmask */
3677 /* linux_ssetmask */
3687 /* linux_setreuid16 */
3700 /* linux_setregid16 */
3713 /* linux_sigsuspend */
3729 /* linux_sigpending */
3733 p = "userland l_osigset_t *";
3739 /* linux_sethostname */
3743 p = "userland char *";
3752 /* linux_setrlimit */
3759 p = "userland struct l_rlimit *";
3765 /* linux_old_getrlimit */
3772 p = "userland struct l_rlimit *";
3785 p = "userland struct rusage *";
3795 p = "userland struct timeval *";
3798 p = "userland struct timezone *";
3808 p = "userland struct timeval *";
3811 p = "userland struct timezone *";
3817 /* linux_getgroups16 */
3824 p = "userland l_gid16_t *";
3830 /* linux_setgroups16 */
3837 p = "userland l_gid16_t *";
3843 /* linux_old_select */
3847 p = "userland struct l_old_select_argv *";
3857 p = "userland char *";
3860 p = "userland char *";
3870 p = "userland char *";
3873 p = "userland struct l_stat *";
3879 /* linux_readlink */
3883 p = "userland char *";
3886 p = "userland char *";
3899 p = "userland char *";
3909 p = "userland char *";
3928 p = "userland void *";
3941 p = "userland struct l_dirent *";
3954 p = "userland struct l_mmap_argv *";
3973 /* linux_truncate */
3977 p = "userland char *";
3986 /* linux_ftruncate */
4028 /* linux_getpriority */
4061 p = "userland char *";
4064 p = "userland struct l_statfs_buf *";
4077 p = "userland struct l_statfs_buf *";
4099 /* linux_socketcall */
4119 p = "userland char *";
4128 /* linux_setitimer */
4135 p = "userland struct l_itimerval *";
4138 p = "userland struct l_itimerval *";
4144 /* linux_getitimer */
4151 p = "userland struct l_itimerval *";
4161 p = "userland char *";
4164 p = "userland struct l_newstat *";
4170 /* linux_newlstat */
4174 p = "userland char *";
4177 p = "userland struct l_newstat *";
4183 /* linux_newfstat */
4190 p = "userland struct l_newstat *";
4222 p = "userland l_int *";
4228 p = "userland void *";
4241 p = "userland struct l_sysinfo *";
4282 /* linux_sigreturn */
4286 p = "userland struct l_sigframe *";
4299 p = "userland void *";
4302 p = "userland void *";
4305 p = "userland void *";
4308 p = "userland void *";
4314 /* linux_setdomainname */
4318 p = "userland char *";
4327 /* linux_newuname */
4331 p = "userland struct l_new_utsname *";
4337 /* linux_modify_ldt */
4344 p = "userland void *";
4353 /* linux_adjtimex */
4356 /* linux_mprotect */
4372 /* linux_sigprocmask */
4379 p = "userland l_osigset_t *";
4382 p = "userland l_osigset_t *";
4388 /* linux_init_module */
4391 /* linux_delete_module */
4394 /* linux_quotactl */
4436 /* linux_personality */
4446 /* linux_setfsuid16 */
4456 /* linux_setfsgid16 */
4479 p = "userland l_loff_t *";
4488 /* linux_getdents */
4495 p = "userland void *";
4511 p = "userland l_fd_set *";
4514 p = "userland l_fd_set *";
4517 p = "userland l_fd_set *";
4520 p = "userland struct l_timeval *";
4562 p = "userland struct iovec *";
4578 p = "userland struct iovec *";
4597 /* linux_fdatasync */
4611 p = "userland struct l___sysctl_args *";
4621 p = "userland const void *";
4634 p = "userland const void *";
4656 /* linux_sched_setparam */
4663 p = "userland struct sched_param *";
4669 /* linux_sched_getparam */
4676 p = "userland struct sched_param *";
4682 /* linux_sched_setscheduler */
4692 p = "userland struct sched_param *";
4698 /* linux_sched_getscheduler */
4711 /* linux_sched_get_priority_max */
4721 /* linux_sched_get_priority_min */
4731 /* linux_sched_rr_get_interval */
4738 p = "userland struct l_timespec *";
4744 /* linux_nanosleep */
4748 p = "userland const struct l_timespec *";
4751 p = "userland struct l_timespec *";
4779 /* linux_setresuid16 */
4795 /* linux_getresuid16 */
4799 p = "userland l_uid16_t *";
4802 p = "userland l_uid16_t *";
4805 p = "userland l_uid16_t *";
4818 p = "userland struct pollfd *";
4830 /* linux_setresgid16 */
4846 /* linux_getresgid16 */
4850 p = "userland l_gid16_t *";
4853 p = "userland l_gid16_t *";
4856 p = "userland l_gid16_t *";
4884 /* linux_rt_sigreturn */
4888 p = "userland struct l_ucontext *";
4894 /* linux_rt_sigaction */
4901 p = "userland l_sigaction_t *";
4904 p = "userland l_sigaction_t *";
4913 /* linux_rt_sigprocmask */
4920 p = "userland l_sigset_t *";
4923 p = "userland l_sigset_t *";
4932 /* linux_rt_sigpending */
4936 p = "userland l_sigset_t *";
4945 /* linux_rt_sigtimedwait */
4949 p = "userland l_sigset_t *";
4952 p = "userland l_siginfo_t *";
4955 p = "userland struct l_timeval *";
4964 /* linux_rt_sigqueueinfo */
4974 p = "userland l_siginfo_t *";
4980 /* linux_rt_sigsuspend */
4984 p = "userland l_sigset_t *";
5000 p = "userland char *";
5019 p = "userland char *";
5035 p = "userland char *";
5051 p = "userland char *";
5064 p = "userland struct l_user_cap_header *";
5067 p = "userland struct l_user_cap_data *";
5077 p = "userland struct l_user_cap_header *";
5080 p = "userland struct l_user_cap_data *";
5086 /* linux_sigaltstack */
5090 p = "userland l_stack_t *";
5093 p = "userland l_stack_t *";
5099 /* linux_sendfile */
5105 /* linux_getrlimit */
5112 p = "userland struct l_rlimit *";
5143 /* linux_truncate64 */
5147 p = "userland char *";
5156 /* linux_ftruncate64 */
5173 p = "userland const char *";
5176 p = "userland struct l_stat64 *";
5186 p = "userland const char *";
5189 p = "userland struct l_stat64 *";
5202 p = "userland struct l_stat64 *";
5212 p = "userland char *";
5262 /* linux_getgroups */
5269 p = "userland l_gid_t *";
5275 /* linux_setgroups */
5282 p = "userland l_gid_t *";
5311 p = "userland uid_t *";
5314 p = "userland uid_t *";
5317 p = "userland uid_t *";
5343 p = "userland gid_t *";
5346 p = "userland gid_t *";
5349 p = "userland gid_t *";
5359 p = "userland char *";
5391 /* linux_setfsuid */
5401 /* linux_setfsgid */
5411 /* linux_pivot_root */
5415 p = "userland char *";
5418 p = "userland char *";
5434 p = "userland u_char *";
5444 p = "userland void *";
5456 /* linux_getdents64 */
5463 p = "userland void *";
5491 /* linux_setxattr */
5494 /* linux_lsetxattr */
5497 /* linux_fsetxattr */
5500 /* linux_getxattr */
5503 /* linux_lgetxattr */
5506 /* linux_fgetxattr */
5509 /* linux_listxattr */
5512 /* linux_llistxattr */
5515 /* linux_flistxattr */
5518 /* linux_removexattr */
5521 /* linux_lremovexattr */
5524 /* linux_fremovexattr */
5540 /* linux_sys_futex */
5544 p = "userland void *";
5553 p = "userland struct l_timespec *";
5556 p = "userland uint32_t *";
5565 /* linux_sched_setaffinity */
5575 p = "userland l_ulong *";
5581 /* linux_sched_getaffinity */
5591 p = "userland l_ulong *";
5597 /* linux_set_thread_area */
5601 p = "userland struct l_user_desc *";
5607 /* linux_get_thread_area */
5611 p = "userland struct l_user_desc *";
5617 /* linux_fadvise64 */
5636 /* linux_exit_group */
5646 /* linux_lookup_dcookie */
5649 /* linux_epoll_create */
5659 /* linux_epoll_ctl */
5672 p = "userland struct epoll_event *";
5678 /* linux_epoll_wait */
5685 p = "userland struct epoll_event *";
5697 /* linux_remap_file_pages */
5700 /* linux_set_tid_address */
5704 p = "userland int *";
5710 /* linux_timer_create */
5717 p = "userland struct sigevent *";
5720 p = "userland l_timer_t *";
5726 /* linux_timer_settime */
5736 p = "userland const struct itimerspec *";
5739 p = "userland struct itimerspec *";
5745 /* linux_timer_gettime */
5752 p = "userland struct itimerspec *";
5758 /* linux_timer_getoverrun */
5768 /* linux_timer_delete */
5778 /* linux_clock_settime */
5785 p = "userland struct l_timespec *";
5791 /* linux_clock_gettime */
5798 p = "userland struct l_timespec *";
5804 /* linux_clock_getres */
5811 p = "userland struct l_timespec *";
5817 /* linux_clock_nanosleep */
5827 p = "userland struct l_timespec *";
5830 p = "userland struct l_timespec *";
5836 /* linux_statfs64 */
5840 p = "userland char *";
5846 p = "userland struct l_statfs64_buf *";
5852 /* linux_fstatfs64 */
5862 p = "userland struct l_statfs64_buf *";
5888 p = "userland char *";
5891 p = "userland struct l_timeval *";
5897 /* linux_fadvise64_64 */
5919 /* linux_get_mempolicy */
5922 /* linux_set_mempolicy */
5929 p = "userland const char *";
5938 p = "userland struct mq_attr *";
5944 /* linux_mq_unlink */
5948 p = "userland const char *";
5954 /* linux_mq_timedsend */
5961 p = "userland const char *";
5970 p = "userland const struct l_timespec *";
5976 /* linux_mq_timedreceive */
5983 p = "userland char *";
5992 p = "userland const struct l_timespec *";
5998 /* linux_mq_notify */
6005 p = "userland const struct l_timespec *";
6011 /* linux_mq_getsetattr */
6018 p = "userland const struct mq_attr *";
6021 p = "userland struct mq_attr *";
6027 /* linux_kexec_load */
6040 p = "userland l_siginfo_t *";
6046 p = "userland void *";
6055 /* linux_request_key */
6061 /* linux_ioprio_set */
6064 /* linux_ioprio_get */
6067 /* linux_inotify_init */
6070 /* linux_inotify_add_watch */
6073 /* linux_inotify_rm_watch */
6076 /* linux_migrate_pages */
6086 p = "userland const char *";
6105 p = "userland const char *";
6121 p = "userland const char *";
6133 /* linux_fchownat */
6140 p = "userland const char *";
6155 /* linux_futimesat */
6162 p = "userland char *";
6165 p = "userland struct l_timeval *";
6171 /* linux_fstatat64 */
6178 p = "userland char *";
6181 p = "userland struct l_stat64 *";
6190 /* linux_unlinkat */
6197 p = "userland const char *";
6206 /* linux_renameat */
6213 p = "userland const char *";
6219 p = "userland const char *";
6232 p = "userland const char *";
6238 p = "userland const char *";
6247 /* linux_symlinkat */
6251 p = "userland const char *";
6257 p = "userland const char *";
6263 /* linux_readlinkat */
6270 p = "userland const char *";
6273 p = "userland char *";
6282 /* linux_fchmodat */
6289 p = "userland const char *";
6298 /* linux_faccessat */
6305 p = "userland const char *";
6314 /* linux_pselect6 */
6321 p = "userland l_fd_set *";
6324 p = "userland l_fd_set *";
6327 p = "userland l_fd_set *";
6330 p = "userland struct l_timespec *";
6333 p = "userland l_uintptr_t *";
6343 p = "userland struct pollfd *";
6349 p = "userland struct l_timespec *";
6352 p = "userland l_sigset_t *";
6364 /* linux_set_robust_list */
6368 p = "userland struct linux_robust_list_head *";
6377 /* linux_get_robust_list */
6384 p = "userland struct linux_robust_list_head **";
6387 p = "userland l_size_t *";
6396 /* linux_sync_file_range */
6402 /* linux_vmsplice */
6405 /* linux_move_pages */
6411 /* linux_epoll_pwait */
6418 p = "userland struct epoll_event *";
6427 p = "userland l_sigset_t *";
6436 /* linux_utimensat */
6443 p = "userland const char *";
6446 p = "userland const struct l_timespec *";
6455 /* linux_signalfd */
6458 /* linux_timerfd_create */
6481 /* linux_fallocate */
6500 /* linux_timerfd_settime */
6510 p = "userland const struct l_itimerspec *";
6513 p = "userland struct l_itimerspec *";
6519 /* linux_timerfd_gettime */
6526 p = "userland struct l_itimerspec *";
6532 /* linux_signalfd4 */
6535 /* linux_eventfd2 */
6548 /* linux_epoll_create1 */
6578 p = "userland l_int *";
6587 /* linux_inotify_init1 */
6597 p = "userland struct iovec *";
6619 p = "userland struct iovec *";
6634 /* linux_rt_tgsigqueueinfo */
6647 p = "userland l_siginfo_t *";
6653 /* linux_perf_event_open */
6656 /* linux_recvmmsg */
6663 p = "userland struct l_mmsghdr *";
6672 p = "userland struct l_timespec *";
6678 /* linux_fanotify_init */
6681 /* linux_fanotify_mark */
6684 /* linux_prlimit64 */
6694 p = "userland struct rlimit *";
6697 p = "userland struct rlimit *";
6703 /* linux_name_to_handle_at */
6706 /* linux_open_by_handle_at */
6709 /* linux_clock_adjtime */
6722 /* linux_sendmmsg */
6729 p = "userland struct l_mmsghdr *";
6744 /* linux_process_vm_readv */
6751 p = "userland const struct iovec *";
6757 p = "userland const struct iovec *";
6769 /* linux_process_vm_writev */
6776 p = "userland const struct iovec *";
6782 p = "userland const struct iovec *";
6816 /* linux_finit_module */
6823 p = "userland const char *";
6832 /* linux_sched_setattr */
6839 p = "userland void *";
6848 /* linux_sched_getattr */
6855 p = "userland void *";
6867 /* linux_renameat2 */
6874 p = "userland const char *";
6880 p = "userland const char *";
6899 p = "userland const char *";
6905 /* linux_getrandom */
6909 p = "userland char *";
6921 /* linux_memfd_create */
6925 p = "userland const char *";
6941 p = "userland void *";
6950 /* linux_execveat */
6957 p = "userland const char *";
6960 p = "userland const char **";
6963 p = "userland const char **";
6988 /* linux_socketpair */
7071 /* linux_getsockopt */
7093 /* linux_setsockopt */
7115 /* linux_getsockname */
7131 /* linux_getpeername */
7188 /* linux_recvfrom */
7229 /* linux_shutdown */
7242 /* linux_userfaultfd */
7252 /* linux_membarrier */
7281 /* linux_copy_file_range */
7288 p = "userland l_loff_t *";
7294 p = "userland l_loff_t *";
7313 p = "userland const struct iovec *";
7331 /* linux_pwritev2 */
7338 p = "userland const struct iovec *";
7356 /* linux_pkey_mprotect */
7375 /* linux_pkey_alloc */
7388 /* linux_pkey_free */
7405 p = "userland const char *";
7414 p = "userland void *";
7420 /* linux_arch_prctl */
7433 /* linux_io_pgetevents */
7468 p = "union l_semun";
7500 p = "userland struct l_shmid_ds *";
7513 p = "userland char *";
7526 p = "userland char *";
7552 p = "userland struct l_msgbuf *";
7571 p = "userland struct l_msgbuf *";
7596 p = "userland struct l_msqid_ds *";
7602 /* linux_clock_gettime64 */
7605 /* linux_clock_settime64 */
7608 /* linux_clock_adjtime64 */
7611 /* linux_clock_getres_time64 */
7614 /* linux_clock_nanosleep_time64 */
7617 /* linux_timer_gettime64 */
7620 /* linux_timer_settime64 */
7623 /* linux_timerfd_gettime64 */
7626 /* linux_timerfd_settime64 */
7629 /* linux_utimensat_time64 */
7632 /* linux_pselect6_time64 */
7635 /* linux_ppoll_time64 */
7638 /* linux_io_pgetevents_time64 */
7641 /* linux_recvmmsg_time64 */
7644 /* linux_mq_timedsend_time64 */
7647 /* linux_mq_timedreceive_time64 */
7650 /* linux_semtimedop_time64 */
7653 /* linux_rt_sigtimedwait_time64 */
7656 /* linux_futex_time64 */
7659 /* linux_sched_rr_get_interval_time64 */
7662 /* linux_pidfd_send_signal */
7672 p = "userland l_siginfo_t *";
7681 /* linux_io_uring_setup */
7684 /* linux_io_uring_enter */
7687 /* linux_io_uring_register */
7694 strlcpy(desc, p, descsz);
7697 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7699 const char *p = NULL;
7701 #define nosys linux_nosys
7704 if (ndx == 0 || ndx == 1)
7711 if (ndx == 0 || ndx == 1)
7716 if (ndx == 0 || ndx == 1)
7721 if (ndx == 0 || ndx == 1)
7726 if (ndx == 0 || ndx == 1)
7731 if (ndx == 0 || ndx == 1)
7736 if (ndx == 0 || ndx == 1)
7741 if (ndx == 0 || ndx == 1)
7746 if (ndx == 0 || ndx == 1)
7751 if (ndx == 0 || ndx == 1)
7756 if (ndx == 0 || ndx == 1)
7761 if (ndx == 0 || ndx == 1)
7766 if (ndx == 0 || ndx == 1)
7771 if (ndx == 0 || ndx == 1)
7774 /* linux_lchown16 */
7776 if (ndx == 0 || ndx == 1)
7781 if (ndx == 0 || ndx == 1)
7786 if (ndx == 0 || ndx == 1)
7793 if (ndx == 0 || ndx == 1)
7796 /* linux_oldumount */
7798 if (ndx == 0 || ndx == 1)
7801 /* linux_setuid16 */
7803 if (ndx == 0 || ndx == 1)
7806 /* linux_getuid16 */
7812 if (ndx == 0 || ndx == 1)
7817 if (ndx == 0 || ndx == 1)
7822 if (ndx == 0 || ndx == 1)
7829 if (ndx == 0 || ndx == 1)
7834 if (ndx == 0 || ndx == 1)
7839 if (ndx == 0 || ndx == 1)
7846 if (ndx == 0 || ndx == 1)
7851 if (ndx == 0 || ndx == 1)
7856 if (ndx == 0 || ndx == 1)
7861 if (ndx == 0 || ndx == 1)
7866 if (ndx == 0 || ndx == 1)
7871 if (ndx == 0 || ndx == 1)
7876 if (ndx == 0 || ndx == 1)
7881 if (ndx == 0 || ndx == 1)
7884 /* linux_setgid16 */
7886 if (ndx == 0 || ndx == 1)
7889 /* linux_getgid16 */
7893 if (ndx == 0 || ndx == 1)
7896 /* linux_geteuid16 */
7898 /* linux_getegid16 */
7902 if (ndx == 0 || ndx == 1)
7907 if (ndx == 0 || ndx == 1)
7912 if (ndx == 0 || ndx == 1)
7917 if (ndx == 0 || ndx == 1)
7922 if (ndx == 0 || ndx == 1)
7925 /* linux_olduname */
7929 if (ndx == 0 || ndx == 1)
7934 if (ndx == 0 || ndx == 1)
7939 if (ndx == 0 || ndx == 1)
7944 if (ndx == 0 || ndx == 1)
7953 /* linux_sigaction */
7955 if (ndx == 0 || ndx == 1)
7958 /* linux_sgetmask */
7960 /* linux_ssetmask */
7962 if (ndx == 0 || ndx == 1)
7965 /* linux_setreuid16 */
7967 if (ndx == 0 || ndx == 1)
7970 /* linux_setregid16 */
7972 if (ndx == 0 || ndx == 1)
7975 /* linux_sigsuspend */
7977 if (ndx == 0 || ndx == 1)
7980 /* linux_sigpending */
7982 if (ndx == 0 || ndx == 1)
7985 /* linux_sethostname */
7987 if (ndx == 0 || ndx == 1)
7990 /* linux_setrlimit */
7992 if (ndx == 0 || ndx == 1)
7995 /* linux_old_getrlimit */
7997 if (ndx == 0 || ndx == 1)
8002 if (ndx == 0 || ndx == 1)
8007 if (ndx == 0 || ndx == 1)
8012 if (ndx == 0 || ndx == 1)
8015 /* linux_getgroups16 */
8017 if (ndx == 0 || ndx == 1)
8020 /* linux_setgroups16 */
8022 if (ndx == 0 || ndx == 1)
8025 /* linux_old_select */
8027 if (ndx == 0 || ndx == 1)
8032 if (ndx == 0 || ndx == 1)
8037 if (ndx == 0 || ndx == 1)
8040 /* linux_readlink */
8042 if (ndx == 0 || ndx == 1)
8047 if (ndx == 0 || ndx == 1)
8052 if (ndx == 0 || ndx == 1)
8057 if (ndx == 0 || ndx == 1)
8062 if (ndx == 0 || ndx == 1)
8067 if (ndx == 0 || ndx == 1)
8072 if (ndx == 0 || ndx == 1)
8075 /* linux_truncate */
8077 if (ndx == 0 || ndx == 1)
8080 /* linux_ftruncate */
8082 if (ndx == 0 || ndx == 1)
8087 if (ndx == 0 || ndx == 1)
8092 if (ndx == 0 || ndx == 1)
8095 /* linux_getpriority */
8097 if (ndx == 0 || ndx == 1)
8102 if (ndx == 0 || ndx == 1)
8107 if (ndx == 0 || ndx == 1)
8112 if (ndx == 0 || ndx == 1)
8117 if (ndx == 0 || ndx == 1)
8120 /* linux_socketcall */
8122 if (ndx == 0 || ndx == 1)
8127 if (ndx == 0 || ndx == 1)
8130 /* linux_setitimer */
8132 if (ndx == 0 || ndx == 1)
8135 /* linux_getitimer */
8137 if (ndx == 0 || ndx == 1)
8142 if (ndx == 0 || ndx == 1)
8145 /* linux_newlstat */
8147 if (ndx == 0 || ndx == 1)
8150 /* linux_newfstat */
8152 if (ndx == 0 || ndx == 1)
8159 if (ndx == 0 || ndx == 1)
8168 if (ndx == 0 || ndx == 1)
8175 if (ndx == 0 || ndx == 1)
8180 if (ndx == 0 || ndx == 1)
8185 if (ndx == 0 || ndx == 1)
8188 /* linux_sigreturn */
8190 if (ndx == 0 || ndx == 1)
8195 if (ndx == 0 || ndx == 1)
8198 /* linux_setdomainname */
8200 if (ndx == 0 || ndx == 1)
8203 /* linux_newuname */
8205 if (ndx == 0 || ndx == 1)
8208 /* linux_modify_ldt */
8210 if (ndx == 0 || ndx == 1)
8213 /* linux_adjtimex */
8215 /* linux_mprotect */
8217 if (ndx == 0 || ndx == 1)
8220 /* linux_sigprocmask */
8222 if (ndx == 0 || ndx == 1)
8225 /* linux_init_module */
8227 /* linux_delete_module */
8229 /* linux_quotactl */
8233 if (ndx == 0 || ndx == 1)
8238 if (ndx == 0 || ndx == 1)
8245 if (ndx == 0 || ndx == 1)
8248 /* linux_personality */
8250 if (ndx == 0 || ndx == 1)
8253 /* linux_setfsuid16 */
8255 if (ndx == 0 || ndx == 1)
8258 /* linux_setfsgid16 */
8260 if (ndx == 0 || ndx == 1)
8265 if (ndx == 0 || ndx == 1)
8268 /* linux_getdents */
8270 if (ndx == 0 || ndx == 1)
8275 if (ndx == 0 || ndx == 1)
8280 if (ndx == 0 || ndx == 1)
8285 if (ndx == 0 || ndx == 1)
8290 if (ndx == 0 || ndx == 1)
8295 if (ndx == 0 || ndx == 1)
8300 if (ndx == 0 || ndx == 1)
8303 /* linux_fdatasync */
8305 if (ndx == 0 || ndx == 1)
8310 if (ndx == 0 || ndx == 1)
8315 if (ndx == 0 || ndx == 1)
8320 if (ndx == 0 || ndx == 1)
8325 if (ndx == 0 || ndx == 1)
8330 /* linux_sched_setparam */
8332 if (ndx == 0 || ndx == 1)
8335 /* linux_sched_getparam */
8337 if (ndx == 0 || ndx == 1)
8340 /* linux_sched_setscheduler */
8342 if (ndx == 0 || ndx == 1)
8345 /* linux_sched_getscheduler */
8347 if (ndx == 0 || ndx == 1)
8352 /* linux_sched_get_priority_max */
8354 if (ndx == 0 || ndx == 1)
8357 /* linux_sched_get_priority_min */
8359 if (ndx == 0 || ndx == 1)
8362 /* linux_sched_rr_get_interval */
8364 if (ndx == 0 || ndx == 1)
8367 /* linux_nanosleep */
8369 if (ndx == 0 || ndx == 1)
8374 if (ndx == 0 || ndx == 1)
8377 /* linux_setresuid16 */
8379 if (ndx == 0 || ndx == 1)
8382 /* linux_getresuid16 */
8384 if (ndx == 0 || ndx == 1)
8391 if (ndx == 0 || ndx == 1)
8394 /* linux_setresgid16 */
8396 if (ndx == 0 || ndx == 1)
8399 /* linux_getresgid16 */
8401 if (ndx == 0 || ndx == 1)
8406 if (ndx == 0 || ndx == 1)
8409 /* linux_rt_sigreturn */
8411 if (ndx == 0 || ndx == 1)
8414 /* linux_rt_sigaction */
8416 if (ndx == 0 || ndx == 1)
8419 /* linux_rt_sigprocmask */
8421 if (ndx == 0 || ndx == 1)
8424 /* linux_rt_sigpending */
8426 if (ndx == 0 || ndx == 1)
8429 /* linux_rt_sigtimedwait */
8431 if (ndx == 0 || ndx == 1)
8434 /* linux_rt_sigqueueinfo */
8436 if (ndx == 0 || ndx == 1)
8439 /* linux_rt_sigsuspend */
8441 if (ndx == 0 || ndx == 1)
8446 if (ndx == 0 || ndx == 1)
8451 if (ndx == 0 || ndx == 1)
8456 if (ndx == 0 || ndx == 1)
8461 if (ndx == 0 || ndx == 1)
8466 if (ndx == 0 || ndx == 1)
8471 if (ndx == 0 || ndx == 1)
8474 /* linux_sigaltstack */
8476 if (ndx == 0 || ndx == 1)
8479 /* linux_sendfile */
8483 /* linux_getrlimit */
8485 if (ndx == 0 || ndx == 1)
8490 if (ndx == 0 || ndx == 1)
8493 /* linux_truncate64 */
8495 if (ndx == 0 || ndx == 1)
8498 /* linux_ftruncate64 */
8500 if (ndx == 0 || ndx == 1)
8505 if (ndx == 0 || ndx == 1)
8510 if (ndx == 0 || ndx == 1)
8515 if (ndx == 0 || ndx == 1)
8520 if (ndx == 0 || ndx == 1)
8533 if (ndx == 0 || ndx == 1)
8538 if (ndx == 0 || ndx == 1)
8541 /* linux_getgroups */
8543 if (ndx == 0 || ndx == 1)
8546 /* linux_setgroups */
8548 if (ndx == 0 || ndx == 1)
8555 if (ndx == 0 || ndx == 1)
8560 if (ndx == 0 || ndx == 1)
8565 if (ndx == 0 || ndx == 1)
8570 if (ndx == 0 || ndx == 1)
8575 if (ndx == 0 || ndx == 1)
8580 if (ndx == 0 || ndx == 1)
8585 if (ndx == 0 || ndx == 1)
8588 /* linux_setfsuid */
8590 if (ndx == 0 || ndx == 1)
8593 /* linux_setfsgid */
8595 if (ndx == 0 || ndx == 1)
8598 /* linux_pivot_root */
8600 if (ndx == 0 || ndx == 1)
8605 if (ndx == 0 || ndx == 1)
8610 if (ndx == 0 || ndx == 1)
8613 /* linux_getdents64 */
8615 if (ndx == 0 || ndx == 1)
8620 if (ndx == 0 || ndx == 1)
8625 /* linux_setxattr */
8627 /* linux_lsetxattr */
8629 /* linux_fsetxattr */
8631 /* linux_getxattr */
8633 /* linux_lgetxattr */
8635 /* linux_fgetxattr */
8637 /* linux_listxattr */
8639 /* linux_llistxattr */
8641 /* linux_flistxattr */
8643 /* linux_removexattr */
8645 /* linux_lremovexattr */
8647 /* linux_fremovexattr */
8651 if (ndx == 0 || ndx == 1)
8654 /* linux_sys_futex */
8656 if (ndx == 0 || ndx == 1)
8659 /* linux_sched_setaffinity */
8661 if (ndx == 0 || ndx == 1)
8664 /* linux_sched_getaffinity */
8666 if (ndx == 0 || ndx == 1)
8669 /* linux_set_thread_area */
8671 if (ndx == 0 || ndx == 1)
8674 /* linux_get_thread_area */
8676 if (ndx == 0 || ndx == 1)
8679 /* linux_fadvise64 */
8681 if (ndx == 0 || ndx == 1)
8684 /* linux_exit_group */
8686 if (ndx == 0 || ndx == 1)
8689 /* linux_lookup_dcookie */
8691 /* linux_epoll_create */
8693 if (ndx == 0 || ndx == 1)
8696 /* linux_epoll_ctl */
8698 if (ndx == 0 || ndx == 1)
8701 /* linux_epoll_wait */
8703 if (ndx == 0 || ndx == 1)
8706 /* linux_remap_file_pages */
8708 /* linux_set_tid_address */
8710 if (ndx == 0 || ndx == 1)
8713 /* linux_timer_create */
8715 if (ndx == 0 || ndx == 1)
8718 /* linux_timer_settime */
8720 if (ndx == 0 || ndx == 1)
8723 /* linux_timer_gettime */
8725 if (ndx == 0 || ndx == 1)
8728 /* linux_timer_getoverrun */
8730 if (ndx == 0 || ndx == 1)
8733 /* linux_timer_delete */
8735 if (ndx == 0 || ndx == 1)
8738 /* linux_clock_settime */
8740 if (ndx == 0 || ndx == 1)
8743 /* linux_clock_gettime */
8745 if (ndx == 0 || ndx == 1)
8748 /* linux_clock_getres */
8750 if (ndx == 0 || ndx == 1)
8753 /* linux_clock_nanosleep */
8755 if (ndx == 0 || ndx == 1)
8758 /* linux_statfs64 */
8760 if (ndx == 0 || ndx == 1)
8763 /* linux_fstatfs64 */
8765 if (ndx == 0 || ndx == 1)
8770 if (ndx == 0 || ndx == 1)
8775 if (ndx == 0 || ndx == 1)
8778 /* linux_fadvise64_64 */
8780 if (ndx == 0 || ndx == 1)
8785 /* linux_get_mempolicy */
8787 /* linux_set_mempolicy */
8791 if (ndx == 0 || ndx == 1)
8794 /* linux_mq_unlink */
8796 if (ndx == 0 || ndx == 1)
8799 /* linux_mq_timedsend */
8801 if (ndx == 0 || ndx == 1)
8804 /* linux_mq_timedreceive */
8806 if (ndx == 0 || ndx == 1)
8809 /* linux_mq_notify */
8811 if (ndx == 0 || ndx == 1)
8814 /* linux_mq_getsetattr */
8816 if (ndx == 0 || ndx == 1)
8819 /* linux_kexec_load */
8823 if (ndx == 0 || ndx == 1)
8828 /* linux_request_key */
8832 /* linux_ioprio_set */
8834 /* linux_ioprio_get */
8836 /* linux_inotify_init */
8838 /* linux_inotify_add_watch */
8840 /* linux_inotify_rm_watch */
8842 /* linux_migrate_pages */
8846 if (ndx == 0 || ndx == 1)
8851 if (ndx == 0 || ndx == 1)
8856 if (ndx == 0 || ndx == 1)
8859 /* linux_fchownat */
8861 if (ndx == 0 || ndx == 1)
8864 /* linux_futimesat */
8866 if (ndx == 0 || ndx == 1)
8869 /* linux_fstatat64 */
8871 if (ndx == 0 || ndx == 1)
8874 /* linux_unlinkat */
8876 if (ndx == 0 || ndx == 1)
8879 /* linux_renameat */
8881 if (ndx == 0 || ndx == 1)
8886 if (ndx == 0 || ndx == 1)
8889 /* linux_symlinkat */
8891 if (ndx == 0 || ndx == 1)
8894 /* linux_readlinkat */
8896 if (ndx == 0 || ndx == 1)
8899 /* linux_fchmodat */
8901 if (ndx == 0 || ndx == 1)
8904 /* linux_faccessat */
8906 if (ndx == 0 || ndx == 1)
8909 /* linux_pselect6 */
8911 if (ndx == 0 || ndx == 1)
8916 if (ndx == 0 || ndx == 1)
8921 /* linux_set_robust_list */
8923 if (ndx == 0 || ndx == 1)
8926 /* linux_get_robust_list */
8928 if (ndx == 0 || ndx == 1)
8933 /* linux_sync_file_range */
8937 /* linux_vmsplice */
8939 /* linux_move_pages */
8943 /* linux_epoll_pwait */
8945 if (ndx == 0 || ndx == 1)
8948 /* linux_utimensat */
8950 if (ndx == 0 || ndx == 1)
8953 /* linux_signalfd */
8955 /* linux_timerfd_create */
8957 if (ndx == 0 || ndx == 1)
8962 if (ndx == 0 || ndx == 1)
8965 /* linux_fallocate */
8967 if (ndx == 0 || ndx == 1)
8970 /* linux_timerfd_settime */
8972 if (ndx == 0 || ndx == 1)
8975 /* linux_timerfd_gettime */
8977 if (ndx == 0 || ndx == 1)
8980 /* linux_signalfd4 */
8982 /* linux_eventfd2 */
8984 if (ndx == 0 || ndx == 1)
8987 /* linux_epoll_create1 */
8989 if (ndx == 0 || ndx == 1)
8994 if (ndx == 0 || ndx == 1)
8999 if (ndx == 0 || ndx == 1)
9002 /* linux_inotify_init1 */
9006 if (ndx == 0 || ndx == 1)
9011 if (ndx == 0 || ndx == 1)
9014 /* linux_rt_tgsigqueueinfo */
9016 if (ndx == 0 || ndx == 1)
9019 /* linux_perf_event_open */
9021 /* linux_recvmmsg */
9023 if (ndx == 0 || ndx == 1)
9026 /* linux_fanotify_init */
9028 /* linux_fanotify_mark */
9030 /* linux_prlimit64 */
9032 if (ndx == 0 || ndx == 1)
9035 /* linux_name_to_handle_at */
9037 /* linux_open_by_handle_at */
9039 /* linux_clock_adjtime */
9043 if (ndx == 0 || ndx == 1)
9046 /* linux_sendmmsg */
9048 if (ndx == 0 || ndx == 1)
9053 /* linux_process_vm_readv */
9055 if (ndx == 0 || ndx == 1)
9058 /* linux_process_vm_writev */
9060 if (ndx == 0 || ndx == 1)
9065 if (ndx == 0 || ndx == 1)
9068 /* linux_finit_module */
9070 if (ndx == 0 || ndx == 1)
9073 /* linux_sched_setattr */
9075 if (ndx == 0 || ndx == 1)
9078 /* linux_sched_getattr */
9080 if (ndx == 0 || ndx == 1)
9083 /* linux_renameat2 */
9085 if (ndx == 0 || ndx == 1)
9090 if (ndx == 0 || ndx == 1)
9093 /* linux_getrandom */
9095 if (ndx == 0 || ndx == 1)
9098 /* linux_memfd_create */
9100 if (ndx == 0 || ndx == 1)
9105 if (ndx == 0 || ndx == 1)
9108 /* linux_execveat */
9110 if (ndx == 0 || ndx == 1)
9115 if (ndx == 0 || ndx == 1)
9118 /* linux_socketpair */
9120 if (ndx == 0 || ndx == 1)
9125 if (ndx == 0 || ndx == 1)
9130 if (ndx == 0 || ndx == 1)
9135 if (ndx == 0 || ndx == 1)
9140 if (ndx == 0 || ndx == 1)
9143 /* linux_getsockopt */
9145 if (ndx == 0 || ndx == 1)
9148 /* linux_setsockopt */
9150 if (ndx == 0 || ndx == 1)
9153 /* linux_getsockname */
9155 if (ndx == 0 || ndx == 1)
9158 /* linux_getpeername */
9160 if (ndx == 0 || ndx == 1)
9165 if (ndx == 0 || ndx == 1)
9170 if (ndx == 0 || ndx == 1)
9173 /* linux_recvfrom */
9175 if (ndx == 0 || ndx == 1)
9180 if (ndx == 0 || ndx == 1)
9183 /* linux_shutdown */
9185 if (ndx == 0 || ndx == 1)
9188 /* linux_userfaultfd */
9190 if (ndx == 0 || ndx == 1)
9193 /* linux_membarrier */
9195 if (ndx == 0 || ndx == 1)
9200 if (ndx == 0 || ndx == 1)
9203 /* linux_copy_file_range */
9205 if (ndx == 0 || ndx == 1)
9210 if (ndx == 0 || ndx == 1)
9213 /* linux_pwritev2 */
9215 if (ndx == 0 || ndx == 1)
9218 /* linux_pkey_mprotect */
9220 if (ndx == 0 || ndx == 1)
9223 /* linux_pkey_alloc */
9225 if (ndx == 0 || ndx == 1)
9228 /* linux_pkey_free */
9230 if (ndx == 0 || ndx == 1)
9235 if (ndx == 0 || ndx == 1)
9238 /* linux_arch_prctl */
9240 if (ndx == 0 || ndx == 1)
9243 /* linux_io_pgetevents */
9249 if (ndx == 0 || ndx == 1)
9254 if (ndx == 0 || ndx == 1)
9259 if (ndx == 0 || ndx == 1)
9264 if (ndx == 0 || ndx == 1)
9269 if (ndx == 0 || ndx == 1)
9274 if (ndx == 0 || ndx == 1)
9279 if (ndx == 0 || ndx == 1)
9284 if (ndx == 0 || ndx == 1)
9289 if (ndx == 0 || ndx == 1)
9294 if (ndx == 0 || ndx == 1)
9297 /* linux_clock_gettime64 */
9299 /* linux_clock_settime64 */
9301 /* linux_clock_adjtime64 */
9303 /* linux_clock_getres_time64 */
9305 /* linux_clock_nanosleep_time64 */
9307 /* linux_timer_gettime64 */
9309 /* linux_timer_settime64 */
9311 /* linux_timerfd_gettime64 */
9313 /* linux_timerfd_settime64 */
9315 /* linux_utimensat_time64 */
9317 /* linux_pselect6_time64 */
9319 /* linux_ppoll_time64 */
9321 /* linux_io_pgetevents_time64 */
9323 /* linux_recvmmsg_time64 */
9325 /* linux_mq_timedsend_time64 */
9327 /* linux_mq_timedreceive_time64 */
9329 /* linux_semtimedop_time64 */
9331 /* linux_rt_sigtimedwait_time64 */
9333 /* linux_futex_time64 */
9335 /* linux_sched_rr_get_interval_time64 */
9337 /* linux_pidfd_send_signal */
9339 if (ndx == 0 || ndx == 1)
9342 /* linux_io_uring_setup */
9344 /* linux_io_uring_enter */
9346 /* linux_io_uring_register */
9352 strlcpy(desc, p, descsz);