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 */
2197 struct linux_sync_file_range_args *p = params;
2198 iarg[0] = p->fd; /* l_int */
2199 iarg[1] = p->offset; /* l_loff_t */
2200 iarg[2] = p->nbytes; /* l_loff_t */
2201 uarg[3] = p->flags; /* unsigned int */
2210 /* linux_vmsplice */
2215 /* linux_move_pages */
2225 /* linux_epoll_pwait */
2227 struct linux_epoll_pwait_args *p = params;
2228 iarg[0] = p->epfd; /* l_int */
2229 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2230 iarg[2] = p->maxevents; /* l_int */
2231 iarg[3] = p->timeout; /* l_int */
2232 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2233 iarg[5] = p->sigsetsize; /* l_size_t */
2237 /* linux_utimensat */
2239 struct linux_utimensat_args *p = params;
2240 iarg[0] = p->dfd; /* l_int */
2241 uarg[1] = (intptr_t) p->pathname; /* const char * */
2242 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2243 iarg[3] = p->flags; /* l_int */
2247 /* linux_signalfd */
2252 /* linux_timerfd_create */
2254 struct linux_timerfd_create_args *p = params;
2255 iarg[0] = p->clockid; /* l_int */
2256 iarg[1] = p->flags; /* l_int */
2262 struct linux_eventfd_args *p = params;
2263 iarg[0] = p->initval; /* l_uint */
2267 /* linux_fallocate */
2269 struct linux_fallocate_args *p = params;
2270 iarg[0] = p->fd; /* l_int */
2271 iarg[1] = p->mode; /* l_int */
2272 iarg[2] = p->offset; /* l_loff_t */
2273 iarg[3] = p->len; /* l_loff_t */
2277 /* linux_timerfd_settime */
2279 struct linux_timerfd_settime_args *p = params;
2280 iarg[0] = p->fd; /* l_int */
2281 iarg[1] = p->flags; /* l_int */
2282 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2283 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2287 /* linux_timerfd_gettime */
2289 struct linux_timerfd_gettime_args *p = params;
2290 iarg[0] = p->fd; /* l_int */
2291 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2295 /* linux_signalfd4 */
2300 /* linux_eventfd2 */
2302 struct linux_eventfd2_args *p = params;
2303 iarg[0] = p->initval; /* l_uint */
2304 iarg[1] = p->flags; /* l_int */
2308 /* linux_epoll_create1 */
2310 struct linux_epoll_create1_args *p = params;
2311 iarg[0] = p->flags; /* l_int */
2317 struct linux_dup3_args *p = params;
2318 iarg[0] = p->oldfd; /* l_int */
2319 iarg[1] = p->newfd; /* l_int */
2320 iarg[2] = p->flags; /* l_int */
2326 struct linux_pipe2_args *p = params;
2327 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2328 iarg[1] = p->flags; /* l_int */
2332 /* linux_inotify_init1 */
2339 struct linux_preadv_args *p = params;
2340 iarg[0] = p->fd; /* l_ulong */
2341 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2342 iarg[2] = p->vlen; /* l_ulong */
2343 iarg[3] = p->pos_l; /* l_ulong */
2344 iarg[4] = p->pos_h; /* l_ulong */
2350 struct linux_pwritev_args *p = params;
2351 iarg[0] = p->fd; /* l_ulong */
2352 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2353 iarg[2] = p->vlen; /* l_ulong */
2354 iarg[3] = p->pos_l; /* l_ulong */
2355 iarg[4] = p->pos_h; /* l_ulong */
2359 /* linux_rt_tgsigqueueinfo */
2361 struct linux_rt_tgsigqueueinfo_args *p = params;
2362 iarg[0] = p->tgid; /* l_pid_t */
2363 iarg[1] = p->tid; /* l_pid_t */
2364 iarg[2] = p->sig; /* l_int */
2365 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2369 /* linux_perf_event_open */
2374 /* linux_recvmmsg */
2376 struct linux_recvmmsg_args *p = params;
2377 iarg[0] = p->s; /* l_int */
2378 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2379 iarg[2] = p->vlen; /* l_uint */
2380 iarg[3] = p->flags; /* l_uint */
2381 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2385 /* linux_fanotify_init */
2390 /* linux_fanotify_mark */
2395 /* linux_prlimit64 */
2397 struct linux_prlimit64_args *p = params;
2398 iarg[0] = p->pid; /* l_pid_t */
2399 iarg[1] = p->resource; /* l_uint */
2400 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2401 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2405 /* linux_name_to_handle_at */
2410 /* linux_open_by_handle_at */
2415 /* linux_clock_adjtime */
2422 struct linux_syncfs_args *p = params;
2423 iarg[0] = p->fd; /* l_int */
2427 /* linux_sendmmsg */
2429 struct linux_sendmmsg_args *p = params;
2430 iarg[0] = p->s; /* l_int */
2431 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2432 iarg[2] = p->vlen; /* l_uint */
2433 iarg[3] = p->flags; /* l_uint */
2442 /* linux_process_vm_readv */
2444 struct linux_process_vm_readv_args *p = params;
2445 iarg[0] = p->pid; /* l_pid_t */
2446 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2447 iarg[2] = p->liovcnt; /* l_ulong */
2448 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2449 iarg[4] = p->riovcnt; /* l_ulong */
2450 iarg[5] = p->flags; /* l_ulong */
2454 /* linux_process_vm_writev */
2456 struct linux_process_vm_writev_args *p = params;
2457 iarg[0] = p->pid; /* l_pid_t */
2458 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2459 iarg[2] = p->liovcnt; /* l_ulong */
2460 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2461 iarg[4] = p->riovcnt; /* l_ulong */
2462 iarg[5] = p->flags; /* l_ulong */
2468 struct linux_kcmp_args *p = params;
2469 iarg[0] = p->pid1; /* l_pid_t */
2470 iarg[1] = p->pid2; /* l_pid_t */
2471 iarg[2] = p->type; /* l_int */
2472 iarg[3] = p->idx1; /* l_ulong */
2473 iarg[4] = p->idx; /* l_ulong */
2477 /* linux_finit_module */
2479 struct linux_finit_module_args *p = params;
2480 iarg[0] = p->fd; /* l_int */
2481 uarg[1] = (intptr_t) p->uargs; /* const char * */
2482 iarg[2] = p->flags; /* l_int */
2486 /* linux_sched_setattr */
2488 struct linux_sched_setattr_args *p = params;
2489 iarg[0] = p->pid; /* l_pid_t */
2490 uarg[1] = (intptr_t) p->attr; /* void * */
2491 iarg[2] = p->flags; /* l_uint */
2495 /* linux_sched_getattr */
2497 struct linux_sched_getattr_args *p = params;
2498 iarg[0] = p->pid; /* l_pid_t */
2499 uarg[1] = (intptr_t) p->attr; /* void * */
2500 iarg[2] = p->size; /* l_uint */
2501 iarg[3] = p->flags; /* l_uint */
2505 /* linux_renameat2 */
2507 struct linux_renameat2_args *p = params;
2508 iarg[0] = p->olddfd; /* l_int */
2509 uarg[1] = (intptr_t) p->oldname; /* const char * */
2510 iarg[2] = p->newdfd; /* l_int */
2511 uarg[3] = (intptr_t) p->newname; /* const char * */
2512 uarg[4] = p->flags; /* unsigned int */
2518 struct linux_seccomp_args *p = params;
2519 iarg[0] = p->op; /* l_uint */
2520 iarg[1] = p->flags; /* l_uint */
2521 uarg[2] = (intptr_t) p->uargs; /* const char * */
2525 /* linux_getrandom */
2527 struct linux_getrandom_args *p = params;
2528 uarg[0] = (intptr_t) p->buf; /* char * */
2529 iarg[1] = p->count; /* l_size_t */
2530 iarg[2] = p->flags; /* l_uint */
2534 /* linux_memfd_create */
2536 struct linux_memfd_create_args *p = params;
2537 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2538 iarg[1] = p->flags; /* l_uint */
2544 struct linux_bpf_args *p = params;
2545 iarg[0] = p->cmd; /* l_int */
2546 uarg[1] = (intptr_t) p->attr; /* void * */
2547 iarg[2] = p->size; /* l_uint */
2551 /* linux_execveat */
2553 struct linux_execveat_args *p = params;
2554 iarg[0] = p->dfd; /* l_int */
2555 uarg[1] = (intptr_t) p->filename; /* const char * */
2556 uarg[2] = (intptr_t) p->argv; /* const char ** */
2557 uarg[3] = (intptr_t) p->envp; /* const char ** */
2558 iarg[4] = p->flags; /* l_int */
2564 struct linux_socket_args *p = params;
2565 iarg[0] = p->domain; /* l_int */
2566 iarg[1] = p->type; /* l_int */
2567 iarg[2] = p->protocol; /* l_int */
2571 /* linux_socketpair */
2573 struct linux_socketpair_args *p = params;
2574 iarg[0] = p->domain; /* l_int */
2575 iarg[1] = p->type; /* l_int */
2576 iarg[2] = p->protocol; /* l_int */
2577 iarg[3] = p->rsv; /* l_uintptr_t */
2583 struct linux_bind_args *p = params;
2584 iarg[0] = p->s; /* l_int */
2585 iarg[1] = p->name; /* l_uintptr_t */
2586 iarg[2] = p->namelen; /* l_int */
2592 struct linux_connect_args *p = params;
2593 iarg[0] = p->s; /* l_int */
2594 iarg[1] = p->name; /* l_uintptr_t */
2595 iarg[2] = p->namelen; /* l_int */
2601 struct linux_listen_args *p = params;
2602 iarg[0] = p->s; /* l_int */
2603 iarg[1] = p->backlog; /* l_int */
2609 struct linux_accept4_args *p = params;
2610 iarg[0] = p->s; /* l_int */
2611 iarg[1] = p->addr; /* l_uintptr_t */
2612 iarg[2] = p->namelen; /* l_uintptr_t */
2613 iarg[3] = p->flags; /* l_int */
2617 /* linux_getsockopt */
2619 struct linux_getsockopt_args *p = params;
2620 iarg[0] = p->s; /* l_int */
2621 iarg[1] = p->level; /* l_int */
2622 iarg[2] = p->optname; /* l_int */
2623 iarg[3] = p->optval; /* l_uintptr_t */
2624 iarg[4] = p->optlen; /* l_uintptr_t */
2628 /* linux_setsockopt */
2630 struct linux_setsockopt_args *p = params;
2631 iarg[0] = p->s; /* l_int */
2632 iarg[1] = p->level; /* l_int */
2633 iarg[2] = p->optname; /* l_int */
2634 iarg[3] = p->optval; /* l_uintptr_t */
2635 iarg[4] = p->optlen; /* l_int */
2639 /* linux_getsockname */
2641 struct linux_getsockname_args *p = params;
2642 iarg[0] = p->s; /* l_int */
2643 iarg[1] = p->addr; /* l_uintptr_t */
2644 iarg[2] = p->namelen; /* l_uintptr_t */
2648 /* linux_getpeername */
2650 struct linux_getpeername_args *p = params;
2651 iarg[0] = p->s; /* l_int */
2652 iarg[1] = p->addr; /* l_uintptr_t */
2653 iarg[2] = p->namelen; /* l_uintptr_t */
2659 struct linux_sendto_args *p = params;
2660 iarg[0] = p->s; /* l_int */
2661 iarg[1] = p->msg; /* l_uintptr_t */
2662 iarg[2] = p->len; /* l_int */
2663 iarg[3] = p->flags; /* l_int */
2664 iarg[4] = p->to; /* l_uintptr_t */
2665 iarg[5] = p->tolen; /* l_int */
2671 struct linux_sendmsg_args *p = params;
2672 iarg[0] = p->s; /* l_int */
2673 iarg[1] = p->msg; /* l_uintptr_t */
2674 iarg[2] = p->flags; /* l_int */
2678 /* linux_recvfrom */
2680 struct linux_recvfrom_args *p = params;
2681 iarg[0] = p->s; /* l_int */
2682 iarg[1] = p->buf; /* l_uintptr_t */
2683 iarg[2] = p->len; /* l_size_t */
2684 iarg[3] = p->flags; /* l_int */
2685 iarg[4] = p->from; /* l_uintptr_t */
2686 iarg[5] = p->fromlen; /* l_uintptr_t */
2692 struct linux_recvmsg_args *p = params;
2693 iarg[0] = p->s; /* l_int */
2694 iarg[1] = p->msg; /* l_uintptr_t */
2695 iarg[2] = p->flags; /* l_int */
2699 /* linux_shutdown */
2701 struct linux_shutdown_args *p = params;
2702 iarg[0] = p->s; /* l_int */
2703 iarg[1] = p->how; /* l_int */
2707 /* linux_userfaultfd */
2709 struct linux_userfaultfd_args *p = params;
2710 iarg[0] = p->flags; /* l_int */
2714 /* linux_membarrier */
2716 struct linux_membarrier_args *p = params;
2717 iarg[0] = p->cmd; /* l_int */
2718 iarg[1] = p->flags; /* l_int */
2724 struct linux_mlock2_args *p = params;
2725 iarg[0] = p->start; /* l_ulong */
2726 iarg[1] = p->len; /* l_size_t */
2727 iarg[2] = p->flags; /* l_int */
2731 /* linux_copy_file_range */
2733 struct linux_copy_file_range_args *p = params;
2734 iarg[0] = p->fd_in; /* l_int */
2735 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2736 iarg[2] = p->fd_out; /* l_int */
2737 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2738 iarg[4] = p->len; /* l_size_t */
2739 iarg[5] = p->flags; /* l_uint */
2745 struct linux_preadv2_args *p = params;
2746 iarg[0] = p->fd; /* l_ulong */
2747 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2748 iarg[2] = p->vlen; /* l_ulong */
2749 iarg[3] = p->pos_l; /* l_ulong */
2750 iarg[4] = p->pos_h; /* l_ulong */
2751 iarg[5] = p->flags; /* l_int */
2755 /* linux_pwritev2 */
2757 struct linux_pwritev2_args *p = params;
2758 iarg[0] = p->fd; /* l_ulong */
2759 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2760 iarg[2] = p->vlen; /* l_ulong */
2761 iarg[3] = p->pos_l; /* l_ulong */
2762 iarg[4] = p->pos_h; /* l_ulong */
2763 iarg[5] = p->flags; /* l_int */
2767 /* linux_pkey_mprotect */
2769 struct linux_pkey_mprotect_args *p = params;
2770 iarg[0] = p->start; /* l_ulong */
2771 iarg[1] = p->len; /* l_size_t */
2772 iarg[2] = p->prot; /* l_ulong */
2773 iarg[3] = p->pkey; /* l_int */
2777 /* linux_pkey_alloc */
2779 struct linux_pkey_alloc_args *p = params;
2780 iarg[0] = p->flags; /* l_ulong */
2781 iarg[1] = p->init_val; /* l_ulong */
2785 /* linux_pkey_free */
2787 struct linux_pkey_free_args *p = params;
2788 iarg[0] = p->pkey; /* l_int */
2794 struct linux_statx_args *p = params;
2795 iarg[0] = p->dirfd; /* l_int */
2796 uarg[1] = (intptr_t) p->pathname; /* const char * */
2797 iarg[2] = p->flags; /* l_uint */
2798 iarg[3] = p->mask; /* l_uint */
2799 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2803 /* linux_arch_prctl */
2805 struct linux_arch_prctl_args *p = params;
2806 iarg[0] = p->option; /* l_int */
2807 iarg[1] = p->arg2; /* l_ulong */
2811 /* linux_io_pgetevents */
2823 struct linux_semget_args *p = params;
2824 iarg[0] = p->key; /* l_key_t */
2825 iarg[1] = p->nsems; /* l_int */
2826 iarg[2] = p->semflg; /* l_int */
2832 struct linux_semctl_args *p = params;
2833 iarg[0] = p->semid; /* l_int */
2834 iarg[1] = p->semnum; /* l_int */
2835 iarg[2] = p->cmd; /* l_int */
2836 uarg[3] = p->arg.buf; /* union l_semun */
2842 struct linux_shmget_args *p = params;
2843 iarg[0] = p->key; /* l_key_t */
2844 iarg[1] = p->size; /* l_size_t */
2845 iarg[2] = p->shmflg; /* l_int */
2851 struct linux_shmctl_args *p = params;
2852 iarg[0] = p->shmid; /* l_int */
2853 iarg[1] = p->cmd; /* l_int */
2854 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2860 struct linux_shmat_args *p = params;
2861 iarg[0] = p->shmid; /* l_int */
2862 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2863 iarg[2] = p->shmflg; /* l_int */
2869 struct linux_shmdt_args *p = params;
2870 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2876 struct linux_msgget_args *p = params;
2877 iarg[0] = p->key; /* l_key_t */
2878 iarg[1] = p->msgflg; /* l_int */
2884 struct linux_msgsnd_args *p = params;
2885 iarg[0] = p->msqid; /* l_int */
2886 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2887 iarg[2] = p->msgsz; /* l_size_t */
2888 iarg[3] = p->msgflg; /* l_int */
2894 struct linux_msgrcv_args *p = params;
2895 iarg[0] = p->msqid; /* l_int */
2896 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2897 iarg[2] = p->msgsz; /* l_size_t */
2898 iarg[3] = p->msgtyp; /* l_long */
2899 iarg[4] = p->msgflg; /* l_int */
2905 struct linux_msgctl_args *p = params;
2906 iarg[0] = p->msqid; /* l_int */
2907 iarg[1] = p->cmd; /* l_int */
2908 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2912 /* linux_clock_gettime64 */
2917 /* linux_clock_settime64 */
2922 /* linux_clock_adjtime64 */
2927 /* linux_clock_getres_time64 */
2932 /* linux_clock_nanosleep_time64 */
2937 /* linux_timer_gettime64 */
2942 /* linux_timer_settime64 */
2947 /* linux_timerfd_gettime64 */
2952 /* linux_timerfd_settime64 */
2957 /* linux_utimensat_time64 */
2962 /* linux_pselect6_time64 */
2967 /* linux_ppoll_time64 */
2972 /* linux_io_pgetevents_time64 */
2977 /* linux_recvmmsg_time64 */
2982 /* linux_mq_timedsend_time64 */
2987 /* linux_mq_timedreceive_time64 */
2992 /* linux_semtimedop_time64 */
2997 /* linux_rt_sigtimedwait_time64 */
3002 /* linux_futex_time64 */
3007 /* linux_sched_rr_get_interval_time64 */
3012 /* linux_pidfd_send_signal */
3014 struct linux_pidfd_send_signal_args *p = params;
3015 iarg[0] = p->pidfd; /* l_int */
3016 iarg[1] = p->sig; /* l_int */
3017 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
3018 iarg[3] = p->flags; /* l_uint */
3022 /* linux_io_uring_setup */
3027 /* linux_io_uring_enter */
3032 /* linux_io_uring_register */
3043 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3045 const char *p = NULL;
3047 #define nosys linux_nosys
3068 p = "userland char *";
3084 p = "userland char *";
3097 p = "userland char *";
3126 p = "userland l_int *";
3139 p = "userland char *";
3152 p = "userland char *";
3155 p = "userland char *";
3165 p = "userland char *";
3175 p = "userland char *";
3178 p = "userland char **";
3181 p = "userland char **";
3191 p = "userland char *";
3201 p = "userland l_time_t *";
3211 p = "userland char *";
3227 p = "userland char *";
3236 /* linux_lchown16 */
3240 p = "userland char *";
3256 p = "userland char *";
3259 p = "userland struct linux_stat *";
3288 p = "userland char *";
3291 p = "userland char *";
3294 p = "userland char *";
3300 p = "userland void *";
3306 /* linux_oldumount */
3310 p = "userland char *";
3316 /* linux_setuid16 */
3326 /* linux_getuid16 */
3368 p = "userland struct linux_stat *";
3381 p = "userland char *";
3384 p = "userland struct l_utimbuf *";
3394 p = "userland char *";
3433 p = "userland char *";
3436 p = "userland char *";
3446 p = "userland char *";
3459 p = "userland char *";
3479 p = "userland l_int *";
3489 p = "userland struct l_times_argv *";
3505 /* linux_setgid16 */
3515 /* linux_getgid16 */
3525 p = "userland void *";
3531 /* linux_geteuid16 */
3534 /* linux_getegid16 */
3541 p = "userland char *";
3551 p = "userland char *";
3605 /* linux_olduname */
3622 p = "userland char *";
3635 p = "userland struct l_ustat *";
3663 /* linux_sigaction */
3670 p = "userland l_osigaction_t *";
3673 p = "userland l_osigaction_t *";
3679 /* linux_sgetmask */
3682 /* linux_ssetmask */
3692 /* linux_setreuid16 */
3705 /* linux_setregid16 */
3718 /* linux_sigsuspend */
3734 /* linux_sigpending */
3738 p = "userland l_osigset_t *";
3744 /* linux_sethostname */
3748 p = "userland char *";
3757 /* linux_setrlimit */
3764 p = "userland struct l_rlimit *";
3770 /* linux_old_getrlimit */
3777 p = "userland struct l_rlimit *";
3790 p = "userland struct rusage *";
3800 p = "userland struct timeval *";
3803 p = "userland struct timezone *";
3813 p = "userland struct timeval *";
3816 p = "userland struct timezone *";
3822 /* linux_getgroups16 */
3829 p = "userland l_gid16_t *";
3835 /* linux_setgroups16 */
3842 p = "userland l_gid16_t *";
3848 /* linux_old_select */
3852 p = "userland struct l_old_select_argv *";
3862 p = "userland char *";
3865 p = "userland char *";
3875 p = "userland char *";
3878 p = "userland struct l_stat *";
3884 /* linux_readlink */
3888 p = "userland char *";
3891 p = "userland char *";
3904 p = "userland char *";
3914 p = "userland char *";
3933 p = "userland void *";
3946 p = "userland struct l_dirent *";
3959 p = "userland struct l_mmap_argv *";
3978 /* linux_truncate */
3982 p = "userland char *";
3991 /* linux_ftruncate */
4033 /* linux_getpriority */
4066 p = "userland char *";
4069 p = "userland struct l_statfs_buf *";
4082 p = "userland struct l_statfs_buf *";
4104 /* linux_socketcall */
4124 p = "userland char *";
4133 /* linux_setitimer */
4140 p = "userland struct l_itimerval *";
4143 p = "userland struct l_itimerval *";
4149 /* linux_getitimer */
4156 p = "userland struct l_itimerval *";
4166 p = "userland char *";
4169 p = "userland struct l_newstat *";
4175 /* linux_newlstat */
4179 p = "userland char *";
4182 p = "userland struct l_newstat *";
4188 /* linux_newfstat */
4195 p = "userland struct l_newstat *";
4227 p = "userland l_int *";
4233 p = "userland void *";
4246 p = "userland struct l_sysinfo *";
4287 /* linux_sigreturn */
4291 p = "userland struct l_sigframe *";
4304 p = "userland void *";
4307 p = "userland void *";
4310 p = "userland void *";
4313 p = "userland void *";
4319 /* linux_setdomainname */
4323 p = "userland char *";
4332 /* linux_newuname */
4336 p = "userland struct l_new_utsname *";
4342 /* linux_modify_ldt */
4349 p = "userland void *";
4358 /* linux_adjtimex */
4361 /* linux_mprotect */
4377 /* linux_sigprocmask */
4384 p = "userland l_osigset_t *";
4387 p = "userland l_osigset_t *";
4393 /* linux_init_module */
4396 /* linux_delete_module */
4399 /* linux_quotactl */
4441 /* linux_personality */
4451 /* linux_setfsuid16 */
4461 /* linux_setfsgid16 */
4484 p = "userland l_loff_t *";
4493 /* linux_getdents */
4500 p = "userland void *";
4516 p = "userland l_fd_set *";
4519 p = "userland l_fd_set *";
4522 p = "userland l_fd_set *";
4525 p = "userland struct l_timeval *";
4567 p = "userland struct iovec *";
4583 p = "userland struct iovec *";
4602 /* linux_fdatasync */
4616 p = "userland struct l___sysctl_args *";
4626 p = "userland const void *";
4639 p = "userland const void *";
4661 /* linux_sched_setparam */
4668 p = "userland struct sched_param *";
4674 /* linux_sched_getparam */
4681 p = "userland struct sched_param *";
4687 /* linux_sched_setscheduler */
4697 p = "userland struct sched_param *";
4703 /* linux_sched_getscheduler */
4716 /* linux_sched_get_priority_max */
4726 /* linux_sched_get_priority_min */
4736 /* linux_sched_rr_get_interval */
4743 p = "userland struct l_timespec *";
4749 /* linux_nanosleep */
4753 p = "userland const struct l_timespec *";
4756 p = "userland struct l_timespec *";
4784 /* linux_setresuid16 */
4800 /* linux_getresuid16 */
4804 p = "userland l_uid16_t *";
4807 p = "userland l_uid16_t *";
4810 p = "userland l_uid16_t *";
4823 p = "userland struct pollfd *";
4835 /* linux_setresgid16 */
4851 /* linux_getresgid16 */
4855 p = "userland l_gid16_t *";
4858 p = "userland l_gid16_t *";
4861 p = "userland l_gid16_t *";
4889 /* linux_rt_sigreturn */
4893 p = "userland struct l_ucontext *";
4899 /* linux_rt_sigaction */
4906 p = "userland l_sigaction_t *";
4909 p = "userland l_sigaction_t *";
4918 /* linux_rt_sigprocmask */
4925 p = "userland l_sigset_t *";
4928 p = "userland l_sigset_t *";
4937 /* linux_rt_sigpending */
4941 p = "userland l_sigset_t *";
4950 /* linux_rt_sigtimedwait */
4954 p = "userland l_sigset_t *";
4957 p = "userland l_siginfo_t *";
4960 p = "userland struct l_timeval *";
4969 /* linux_rt_sigqueueinfo */
4979 p = "userland l_siginfo_t *";
4985 /* linux_rt_sigsuspend */
4989 p = "userland l_sigset_t *";
5005 p = "userland char *";
5024 p = "userland char *";
5040 p = "userland char *";
5056 p = "userland char *";
5069 p = "userland struct l_user_cap_header *";
5072 p = "userland struct l_user_cap_data *";
5082 p = "userland struct l_user_cap_header *";
5085 p = "userland struct l_user_cap_data *";
5091 /* linux_sigaltstack */
5095 p = "userland l_stack_t *";
5098 p = "userland l_stack_t *";
5104 /* linux_sendfile */
5110 /* linux_getrlimit */
5117 p = "userland struct l_rlimit *";
5148 /* linux_truncate64 */
5152 p = "userland char *";
5161 /* linux_ftruncate64 */
5178 p = "userland const char *";
5181 p = "userland struct l_stat64 *";
5191 p = "userland const char *";
5194 p = "userland struct l_stat64 *";
5207 p = "userland struct l_stat64 *";
5217 p = "userland char *";
5267 /* linux_getgroups */
5274 p = "userland l_gid_t *";
5280 /* linux_setgroups */
5287 p = "userland l_gid_t *";
5316 p = "userland uid_t *";
5319 p = "userland uid_t *";
5322 p = "userland uid_t *";
5348 p = "userland gid_t *";
5351 p = "userland gid_t *";
5354 p = "userland gid_t *";
5364 p = "userland char *";
5396 /* linux_setfsuid */
5406 /* linux_setfsgid */
5416 /* linux_pivot_root */
5420 p = "userland char *";
5423 p = "userland char *";
5439 p = "userland u_char *";
5449 p = "userland void *";
5461 /* linux_getdents64 */
5468 p = "userland void *";
5496 /* linux_setxattr */
5499 /* linux_lsetxattr */
5502 /* linux_fsetxattr */
5505 /* linux_getxattr */
5508 /* linux_lgetxattr */
5511 /* linux_fgetxattr */
5514 /* linux_listxattr */
5517 /* linux_llistxattr */
5520 /* linux_flistxattr */
5523 /* linux_removexattr */
5526 /* linux_lremovexattr */
5529 /* linux_fremovexattr */
5545 /* linux_sys_futex */
5549 p = "userland void *";
5558 p = "userland struct l_timespec *";
5561 p = "userland uint32_t *";
5570 /* linux_sched_setaffinity */
5580 p = "userland l_ulong *";
5586 /* linux_sched_getaffinity */
5596 p = "userland l_ulong *";
5602 /* linux_set_thread_area */
5606 p = "userland struct l_user_desc *";
5612 /* linux_get_thread_area */
5616 p = "userland struct l_user_desc *";
5622 /* linux_fadvise64 */
5641 /* linux_exit_group */
5651 /* linux_lookup_dcookie */
5654 /* linux_epoll_create */
5664 /* linux_epoll_ctl */
5677 p = "userland struct epoll_event *";
5683 /* linux_epoll_wait */
5690 p = "userland struct epoll_event *";
5702 /* linux_remap_file_pages */
5705 /* linux_set_tid_address */
5709 p = "userland int *";
5715 /* linux_timer_create */
5722 p = "userland struct sigevent *";
5725 p = "userland l_timer_t *";
5731 /* linux_timer_settime */
5741 p = "userland const struct itimerspec *";
5744 p = "userland struct itimerspec *";
5750 /* linux_timer_gettime */
5757 p = "userland struct itimerspec *";
5763 /* linux_timer_getoverrun */
5773 /* linux_timer_delete */
5783 /* linux_clock_settime */
5790 p = "userland struct l_timespec *";
5796 /* linux_clock_gettime */
5803 p = "userland struct l_timespec *";
5809 /* linux_clock_getres */
5816 p = "userland struct l_timespec *";
5822 /* linux_clock_nanosleep */
5832 p = "userland struct l_timespec *";
5835 p = "userland struct l_timespec *";
5841 /* linux_statfs64 */
5845 p = "userland char *";
5851 p = "userland struct l_statfs64_buf *";
5857 /* linux_fstatfs64 */
5867 p = "userland struct l_statfs64_buf *";
5893 p = "userland char *";
5896 p = "userland struct l_timeval *";
5902 /* linux_fadvise64_64 */
5924 /* linux_get_mempolicy */
5927 /* linux_set_mempolicy */
5934 p = "userland const char *";
5943 p = "userland struct mq_attr *";
5949 /* linux_mq_unlink */
5953 p = "userland const char *";
5959 /* linux_mq_timedsend */
5966 p = "userland const char *";
5975 p = "userland const struct l_timespec *";
5981 /* linux_mq_timedreceive */
5988 p = "userland char *";
5997 p = "userland const struct l_timespec *";
6003 /* linux_mq_notify */
6010 p = "userland const struct l_timespec *";
6016 /* linux_mq_getsetattr */
6023 p = "userland const struct mq_attr *";
6026 p = "userland struct mq_attr *";
6032 /* linux_kexec_load */
6045 p = "userland l_siginfo_t *";
6051 p = "userland void *";
6060 /* linux_request_key */
6066 /* linux_ioprio_set */
6069 /* linux_ioprio_get */
6072 /* linux_inotify_init */
6075 /* linux_inotify_add_watch */
6078 /* linux_inotify_rm_watch */
6081 /* linux_migrate_pages */
6091 p = "userland const char *";
6110 p = "userland const char *";
6126 p = "userland const char *";
6138 /* linux_fchownat */
6145 p = "userland const char *";
6160 /* linux_futimesat */
6167 p = "userland char *";
6170 p = "userland struct l_timeval *";
6176 /* linux_fstatat64 */
6183 p = "userland char *";
6186 p = "userland struct l_stat64 *";
6195 /* linux_unlinkat */
6202 p = "userland const char *";
6211 /* linux_renameat */
6218 p = "userland const char *";
6224 p = "userland const char *";
6237 p = "userland const char *";
6243 p = "userland const char *";
6252 /* linux_symlinkat */
6256 p = "userland const char *";
6262 p = "userland const char *";
6268 /* linux_readlinkat */
6275 p = "userland const char *";
6278 p = "userland char *";
6287 /* linux_fchmodat */
6294 p = "userland const char *";
6303 /* linux_faccessat */
6310 p = "userland const char *";
6319 /* linux_pselect6 */
6326 p = "userland l_fd_set *";
6329 p = "userland l_fd_set *";
6332 p = "userland l_fd_set *";
6335 p = "userland struct l_timespec *";
6338 p = "userland l_uintptr_t *";
6348 p = "userland struct pollfd *";
6354 p = "userland struct l_timespec *";
6357 p = "userland l_sigset_t *";
6369 /* linux_set_robust_list */
6373 p = "userland struct linux_robust_list_head *";
6382 /* linux_get_robust_list */
6389 p = "userland struct linux_robust_list_head **";
6392 p = "userland l_size_t *";
6401 /* linux_sync_file_range */
6423 /* linux_vmsplice */
6426 /* linux_move_pages */
6432 /* linux_epoll_pwait */
6439 p = "userland struct epoll_event *";
6448 p = "userland l_sigset_t *";
6457 /* linux_utimensat */
6464 p = "userland const char *";
6467 p = "userland const struct l_timespec *";
6476 /* linux_signalfd */
6479 /* linux_timerfd_create */
6502 /* linux_fallocate */
6521 /* linux_timerfd_settime */
6531 p = "userland const struct l_itimerspec *";
6534 p = "userland struct l_itimerspec *";
6540 /* linux_timerfd_gettime */
6547 p = "userland struct l_itimerspec *";
6553 /* linux_signalfd4 */
6556 /* linux_eventfd2 */
6569 /* linux_epoll_create1 */
6599 p = "userland l_int *";
6608 /* linux_inotify_init1 */
6618 p = "userland struct iovec *";
6640 p = "userland struct iovec *";
6655 /* linux_rt_tgsigqueueinfo */
6668 p = "userland l_siginfo_t *";
6674 /* linux_perf_event_open */
6677 /* linux_recvmmsg */
6684 p = "userland struct l_mmsghdr *";
6693 p = "userland struct l_timespec *";
6699 /* linux_fanotify_init */
6702 /* linux_fanotify_mark */
6705 /* linux_prlimit64 */
6715 p = "userland struct rlimit *";
6718 p = "userland struct rlimit *";
6724 /* linux_name_to_handle_at */
6727 /* linux_open_by_handle_at */
6730 /* linux_clock_adjtime */
6743 /* linux_sendmmsg */
6750 p = "userland struct l_mmsghdr *";
6765 /* linux_process_vm_readv */
6772 p = "userland const struct iovec *";
6778 p = "userland const struct iovec *";
6790 /* linux_process_vm_writev */
6797 p = "userland const struct iovec *";
6803 p = "userland const struct iovec *";
6837 /* linux_finit_module */
6844 p = "userland const char *";
6853 /* linux_sched_setattr */
6860 p = "userland void *";
6869 /* linux_sched_getattr */
6876 p = "userland void *";
6888 /* linux_renameat2 */
6895 p = "userland const char *";
6901 p = "userland const char *";
6920 p = "userland const char *";
6926 /* linux_getrandom */
6930 p = "userland char *";
6942 /* linux_memfd_create */
6946 p = "userland const char *";
6962 p = "userland void *";
6971 /* linux_execveat */
6978 p = "userland const char *";
6981 p = "userland const char **";
6984 p = "userland const char **";
7009 /* linux_socketpair */
7092 /* linux_getsockopt */
7114 /* linux_setsockopt */
7136 /* linux_getsockname */
7152 /* linux_getpeername */
7209 /* linux_recvfrom */
7250 /* linux_shutdown */
7263 /* linux_userfaultfd */
7273 /* linux_membarrier */
7302 /* linux_copy_file_range */
7309 p = "userland l_loff_t *";
7315 p = "userland l_loff_t *";
7334 p = "userland const struct iovec *";
7352 /* linux_pwritev2 */
7359 p = "userland const struct iovec *";
7377 /* linux_pkey_mprotect */
7396 /* linux_pkey_alloc */
7409 /* linux_pkey_free */
7426 p = "userland const char *";
7435 p = "userland void *";
7441 /* linux_arch_prctl */
7454 /* linux_io_pgetevents */
7489 p = "union l_semun";
7521 p = "userland struct l_shmid_ds *";
7534 p = "userland char *";
7547 p = "userland char *";
7573 p = "userland struct l_msgbuf *";
7592 p = "userland struct l_msgbuf *";
7617 p = "userland struct l_msqid_ds *";
7623 /* linux_clock_gettime64 */
7626 /* linux_clock_settime64 */
7629 /* linux_clock_adjtime64 */
7632 /* linux_clock_getres_time64 */
7635 /* linux_clock_nanosleep_time64 */
7638 /* linux_timer_gettime64 */
7641 /* linux_timer_settime64 */
7644 /* linux_timerfd_gettime64 */
7647 /* linux_timerfd_settime64 */
7650 /* linux_utimensat_time64 */
7653 /* linux_pselect6_time64 */
7656 /* linux_ppoll_time64 */
7659 /* linux_io_pgetevents_time64 */
7662 /* linux_recvmmsg_time64 */
7665 /* linux_mq_timedsend_time64 */
7668 /* linux_mq_timedreceive_time64 */
7671 /* linux_semtimedop_time64 */
7674 /* linux_rt_sigtimedwait_time64 */
7677 /* linux_futex_time64 */
7680 /* linux_sched_rr_get_interval_time64 */
7683 /* linux_pidfd_send_signal */
7693 p = "userland l_siginfo_t *";
7702 /* linux_io_uring_setup */
7705 /* linux_io_uring_enter */
7708 /* linux_io_uring_register */
7715 strlcpy(desc, p, descsz);
7718 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7720 const char *p = NULL;
7722 #define nosys linux_nosys
7725 if (ndx == 0 || ndx == 1)
7732 if (ndx == 0 || ndx == 1)
7737 if (ndx == 0 || ndx == 1)
7742 if (ndx == 0 || ndx == 1)
7747 if (ndx == 0 || ndx == 1)
7752 if (ndx == 0 || ndx == 1)
7757 if (ndx == 0 || ndx == 1)
7762 if (ndx == 0 || ndx == 1)
7767 if (ndx == 0 || ndx == 1)
7772 if (ndx == 0 || ndx == 1)
7777 if (ndx == 0 || ndx == 1)
7782 if (ndx == 0 || ndx == 1)
7787 if (ndx == 0 || ndx == 1)
7792 if (ndx == 0 || ndx == 1)
7795 /* linux_lchown16 */
7797 if (ndx == 0 || ndx == 1)
7802 if (ndx == 0 || ndx == 1)
7807 if (ndx == 0 || ndx == 1)
7814 if (ndx == 0 || ndx == 1)
7817 /* linux_oldumount */
7819 if (ndx == 0 || ndx == 1)
7822 /* linux_setuid16 */
7824 if (ndx == 0 || ndx == 1)
7827 /* linux_getuid16 */
7833 if (ndx == 0 || ndx == 1)
7838 if (ndx == 0 || ndx == 1)
7843 if (ndx == 0 || ndx == 1)
7850 if (ndx == 0 || ndx == 1)
7855 if (ndx == 0 || ndx == 1)
7860 if (ndx == 0 || ndx == 1)
7867 if (ndx == 0 || ndx == 1)
7872 if (ndx == 0 || ndx == 1)
7877 if (ndx == 0 || ndx == 1)
7882 if (ndx == 0 || ndx == 1)
7887 if (ndx == 0 || ndx == 1)
7892 if (ndx == 0 || ndx == 1)
7897 if (ndx == 0 || ndx == 1)
7902 if (ndx == 0 || ndx == 1)
7905 /* linux_setgid16 */
7907 if (ndx == 0 || ndx == 1)
7910 /* linux_getgid16 */
7914 if (ndx == 0 || ndx == 1)
7917 /* linux_geteuid16 */
7919 /* linux_getegid16 */
7923 if (ndx == 0 || ndx == 1)
7928 if (ndx == 0 || ndx == 1)
7933 if (ndx == 0 || ndx == 1)
7938 if (ndx == 0 || ndx == 1)
7943 if (ndx == 0 || ndx == 1)
7946 /* linux_olduname */
7950 if (ndx == 0 || ndx == 1)
7955 if (ndx == 0 || ndx == 1)
7960 if (ndx == 0 || ndx == 1)
7965 if (ndx == 0 || ndx == 1)
7974 /* linux_sigaction */
7976 if (ndx == 0 || ndx == 1)
7979 /* linux_sgetmask */
7981 /* linux_ssetmask */
7983 if (ndx == 0 || ndx == 1)
7986 /* linux_setreuid16 */
7988 if (ndx == 0 || ndx == 1)
7991 /* linux_setregid16 */
7993 if (ndx == 0 || ndx == 1)
7996 /* linux_sigsuspend */
7998 if (ndx == 0 || ndx == 1)
8001 /* linux_sigpending */
8003 if (ndx == 0 || ndx == 1)
8006 /* linux_sethostname */
8008 if (ndx == 0 || ndx == 1)
8011 /* linux_setrlimit */
8013 if (ndx == 0 || ndx == 1)
8016 /* linux_old_getrlimit */
8018 if (ndx == 0 || ndx == 1)
8023 if (ndx == 0 || ndx == 1)
8028 if (ndx == 0 || ndx == 1)
8033 if (ndx == 0 || ndx == 1)
8036 /* linux_getgroups16 */
8038 if (ndx == 0 || ndx == 1)
8041 /* linux_setgroups16 */
8043 if (ndx == 0 || ndx == 1)
8046 /* linux_old_select */
8048 if (ndx == 0 || ndx == 1)
8053 if (ndx == 0 || ndx == 1)
8058 if (ndx == 0 || ndx == 1)
8061 /* linux_readlink */
8063 if (ndx == 0 || ndx == 1)
8068 if (ndx == 0 || ndx == 1)
8073 if (ndx == 0 || ndx == 1)
8078 if (ndx == 0 || ndx == 1)
8083 if (ndx == 0 || ndx == 1)
8088 if (ndx == 0 || ndx == 1)
8093 if (ndx == 0 || ndx == 1)
8096 /* linux_truncate */
8098 if (ndx == 0 || ndx == 1)
8101 /* linux_ftruncate */
8103 if (ndx == 0 || ndx == 1)
8108 if (ndx == 0 || ndx == 1)
8113 if (ndx == 0 || ndx == 1)
8116 /* linux_getpriority */
8118 if (ndx == 0 || ndx == 1)
8123 if (ndx == 0 || ndx == 1)
8128 if (ndx == 0 || ndx == 1)
8133 if (ndx == 0 || ndx == 1)
8138 if (ndx == 0 || ndx == 1)
8141 /* linux_socketcall */
8143 if (ndx == 0 || ndx == 1)
8148 if (ndx == 0 || ndx == 1)
8151 /* linux_setitimer */
8153 if (ndx == 0 || ndx == 1)
8156 /* linux_getitimer */
8158 if (ndx == 0 || ndx == 1)
8163 if (ndx == 0 || ndx == 1)
8166 /* linux_newlstat */
8168 if (ndx == 0 || ndx == 1)
8171 /* linux_newfstat */
8173 if (ndx == 0 || ndx == 1)
8180 if (ndx == 0 || ndx == 1)
8189 if (ndx == 0 || ndx == 1)
8196 if (ndx == 0 || ndx == 1)
8201 if (ndx == 0 || ndx == 1)
8206 if (ndx == 0 || ndx == 1)
8209 /* linux_sigreturn */
8211 if (ndx == 0 || ndx == 1)
8216 if (ndx == 0 || ndx == 1)
8219 /* linux_setdomainname */
8221 if (ndx == 0 || ndx == 1)
8224 /* linux_newuname */
8226 if (ndx == 0 || ndx == 1)
8229 /* linux_modify_ldt */
8231 if (ndx == 0 || ndx == 1)
8234 /* linux_adjtimex */
8236 /* linux_mprotect */
8238 if (ndx == 0 || ndx == 1)
8241 /* linux_sigprocmask */
8243 if (ndx == 0 || ndx == 1)
8246 /* linux_init_module */
8248 /* linux_delete_module */
8250 /* linux_quotactl */
8254 if (ndx == 0 || ndx == 1)
8259 if (ndx == 0 || ndx == 1)
8266 if (ndx == 0 || ndx == 1)
8269 /* linux_personality */
8271 if (ndx == 0 || ndx == 1)
8274 /* linux_setfsuid16 */
8276 if (ndx == 0 || ndx == 1)
8279 /* linux_setfsgid16 */
8281 if (ndx == 0 || ndx == 1)
8286 if (ndx == 0 || ndx == 1)
8289 /* linux_getdents */
8291 if (ndx == 0 || ndx == 1)
8296 if (ndx == 0 || ndx == 1)
8301 if (ndx == 0 || ndx == 1)
8306 if (ndx == 0 || ndx == 1)
8311 if (ndx == 0 || ndx == 1)
8316 if (ndx == 0 || ndx == 1)
8321 if (ndx == 0 || ndx == 1)
8324 /* linux_fdatasync */
8326 if (ndx == 0 || ndx == 1)
8331 if (ndx == 0 || ndx == 1)
8336 if (ndx == 0 || ndx == 1)
8341 if (ndx == 0 || ndx == 1)
8346 if (ndx == 0 || ndx == 1)
8351 /* linux_sched_setparam */
8353 if (ndx == 0 || ndx == 1)
8356 /* linux_sched_getparam */
8358 if (ndx == 0 || ndx == 1)
8361 /* linux_sched_setscheduler */
8363 if (ndx == 0 || ndx == 1)
8366 /* linux_sched_getscheduler */
8368 if (ndx == 0 || ndx == 1)
8373 /* linux_sched_get_priority_max */
8375 if (ndx == 0 || ndx == 1)
8378 /* linux_sched_get_priority_min */
8380 if (ndx == 0 || ndx == 1)
8383 /* linux_sched_rr_get_interval */
8385 if (ndx == 0 || ndx == 1)
8388 /* linux_nanosleep */
8390 if (ndx == 0 || ndx == 1)
8395 if (ndx == 0 || ndx == 1)
8398 /* linux_setresuid16 */
8400 if (ndx == 0 || ndx == 1)
8403 /* linux_getresuid16 */
8405 if (ndx == 0 || ndx == 1)
8412 if (ndx == 0 || ndx == 1)
8415 /* linux_setresgid16 */
8417 if (ndx == 0 || ndx == 1)
8420 /* linux_getresgid16 */
8422 if (ndx == 0 || ndx == 1)
8427 if (ndx == 0 || ndx == 1)
8430 /* linux_rt_sigreturn */
8432 if (ndx == 0 || ndx == 1)
8435 /* linux_rt_sigaction */
8437 if (ndx == 0 || ndx == 1)
8440 /* linux_rt_sigprocmask */
8442 if (ndx == 0 || ndx == 1)
8445 /* linux_rt_sigpending */
8447 if (ndx == 0 || ndx == 1)
8450 /* linux_rt_sigtimedwait */
8452 if (ndx == 0 || ndx == 1)
8455 /* linux_rt_sigqueueinfo */
8457 if (ndx == 0 || ndx == 1)
8460 /* linux_rt_sigsuspend */
8462 if (ndx == 0 || ndx == 1)
8467 if (ndx == 0 || ndx == 1)
8472 if (ndx == 0 || ndx == 1)
8477 if (ndx == 0 || ndx == 1)
8482 if (ndx == 0 || ndx == 1)
8487 if (ndx == 0 || ndx == 1)
8492 if (ndx == 0 || ndx == 1)
8495 /* linux_sigaltstack */
8497 if (ndx == 0 || ndx == 1)
8500 /* linux_sendfile */
8504 /* linux_getrlimit */
8506 if (ndx == 0 || ndx == 1)
8511 if (ndx == 0 || ndx == 1)
8514 /* linux_truncate64 */
8516 if (ndx == 0 || ndx == 1)
8519 /* linux_ftruncate64 */
8521 if (ndx == 0 || ndx == 1)
8526 if (ndx == 0 || ndx == 1)
8531 if (ndx == 0 || ndx == 1)
8536 if (ndx == 0 || ndx == 1)
8541 if (ndx == 0 || ndx == 1)
8554 if (ndx == 0 || ndx == 1)
8559 if (ndx == 0 || ndx == 1)
8562 /* linux_getgroups */
8564 if (ndx == 0 || ndx == 1)
8567 /* linux_setgroups */
8569 if (ndx == 0 || ndx == 1)
8576 if (ndx == 0 || ndx == 1)
8581 if (ndx == 0 || ndx == 1)
8586 if (ndx == 0 || ndx == 1)
8591 if (ndx == 0 || ndx == 1)
8596 if (ndx == 0 || ndx == 1)
8601 if (ndx == 0 || ndx == 1)
8606 if (ndx == 0 || ndx == 1)
8609 /* linux_setfsuid */
8611 if (ndx == 0 || ndx == 1)
8614 /* linux_setfsgid */
8616 if (ndx == 0 || ndx == 1)
8619 /* linux_pivot_root */
8621 if (ndx == 0 || ndx == 1)
8626 if (ndx == 0 || ndx == 1)
8631 if (ndx == 0 || ndx == 1)
8634 /* linux_getdents64 */
8636 if (ndx == 0 || ndx == 1)
8641 if (ndx == 0 || ndx == 1)
8646 /* linux_setxattr */
8648 /* linux_lsetxattr */
8650 /* linux_fsetxattr */
8652 /* linux_getxattr */
8654 /* linux_lgetxattr */
8656 /* linux_fgetxattr */
8658 /* linux_listxattr */
8660 /* linux_llistxattr */
8662 /* linux_flistxattr */
8664 /* linux_removexattr */
8666 /* linux_lremovexattr */
8668 /* linux_fremovexattr */
8672 if (ndx == 0 || ndx == 1)
8675 /* linux_sys_futex */
8677 if (ndx == 0 || ndx == 1)
8680 /* linux_sched_setaffinity */
8682 if (ndx == 0 || ndx == 1)
8685 /* linux_sched_getaffinity */
8687 if (ndx == 0 || ndx == 1)
8690 /* linux_set_thread_area */
8692 if (ndx == 0 || ndx == 1)
8695 /* linux_get_thread_area */
8697 if (ndx == 0 || ndx == 1)
8700 /* linux_fadvise64 */
8702 if (ndx == 0 || ndx == 1)
8705 /* linux_exit_group */
8707 if (ndx == 0 || ndx == 1)
8710 /* linux_lookup_dcookie */
8712 /* linux_epoll_create */
8714 if (ndx == 0 || ndx == 1)
8717 /* linux_epoll_ctl */
8719 if (ndx == 0 || ndx == 1)
8722 /* linux_epoll_wait */
8724 if (ndx == 0 || ndx == 1)
8727 /* linux_remap_file_pages */
8729 /* linux_set_tid_address */
8731 if (ndx == 0 || ndx == 1)
8734 /* linux_timer_create */
8736 if (ndx == 0 || ndx == 1)
8739 /* linux_timer_settime */
8741 if (ndx == 0 || ndx == 1)
8744 /* linux_timer_gettime */
8746 if (ndx == 0 || ndx == 1)
8749 /* linux_timer_getoverrun */
8751 if (ndx == 0 || ndx == 1)
8754 /* linux_timer_delete */
8756 if (ndx == 0 || ndx == 1)
8759 /* linux_clock_settime */
8761 if (ndx == 0 || ndx == 1)
8764 /* linux_clock_gettime */
8766 if (ndx == 0 || ndx == 1)
8769 /* linux_clock_getres */
8771 if (ndx == 0 || ndx == 1)
8774 /* linux_clock_nanosleep */
8776 if (ndx == 0 || ndx == 1)
8779 /* linux_statfs64 */
8781 if (ndx == 0 || ndx == 1)
8784 /* linux_fstatfs64 */
8786 if (ndx == 0 || ndx == 1)
8791 if (ndx == 0 || ndx == 1)
8796 if (ndx == 0 || ndx == 1)
8799 /* linux_fadvise64_64 */
8801 if (ndx == 0 || ndx == 1)
8806 /* linux_get_mempolicy */
8808 /* linux_set_mempolicy */
8812 if (ndx == 0 || ndx == 1)
8815 /* linux_mq_unlink */
8817 if (ndx == 0 || ndx == 1)
8820 /* linux_mq_timedsend */
8822 if (ndx == 0 || ndx == 1)
8825 /* linux_mq_timedreceive */
8827 if (ndx == 0 || ndx == 1)
8830 /* linux_mq_notify */
8832 if (ndx == 0 || ndx == 1)
8835 /* linux_mq_getsetattr */
8837 if (ndx == 0 || ndx == 1)
8840 /* linux_kexec_load */
8844 if (ndx == 0 || ndx == 1)
8849 /* linux_request_key */
8853 /* linux_ioprio_set */
8855 /* linux_ioprio_get */
8857 /* linux_inotify_init */
8859 /* linux_inotify_add_watch */
8861 /* linux_inotify_rm_watch */
8863 /* linux_migrate_pages */
8867 if (ndx == 0 || ndx == 1)
8872 if (ndx == 0 || ndx == 1)
8877 if (ndx == 0 || ndx == 1)
8880 /* linux_fchownat */
8882 if (ndx == 0 || ndx == 1)
8885 /* linux_futimesat */
8887 if (ndx == 0 || ndx == 1)
8890 /* linux_fstatat64 */
8892 if (ndx == 0 || ndx == 1)
8895 /* linux_unlinkat */
8897 if (ndx == 0 || ndx == 1)
8900 /* linux_renameat */
8902 if (ndx == 0 || ndx == 1)
8907 if (ndx == 0 || ndx == 1)
8910 /* linux_symlinkat */
8912 if (ndx == 0 || ndx == 1)
8915 /* linux_readlinkat */
8917 if (ndx == 0 || ndx == 1)
8920 /* linux_fchmodat */
8922 if (ndx == 0 || ndx == 1)
8925 /* linux_faccessat */
8927 if (ndx == 0 || ndx == 1)
8930 /* linux_pselect6 */
8932 if (ndx == 0 || ndx == 1)
8937 if (ndx == 0 || ndx == 1)
8942 /* linux_set_robust_list */
8944 if (ndx == 0 || ndx == 1)
8947 /* linux_get_robust_list */
8949 if (ndx == 0 || ndx == 1)
8954 /* linux_sync_file_range */
8956 if (ndx == 0 || ndx == 1)
8961 /* linux_vmsplice */
8963 /* linux_move_pages */
8967 /* linux_epoll_pwait */
8969 if (ndx == 0 || ndx == 1)
8972 /* linux_utimensat */
8974 if (ndx == 0 || ndx == 1)
8977 /* linux_signalfd */
8979 /* linux_timerfd_create */
8981 if (ndx == 0 || ndx == 1)
8986 if (ndx == 0 || ndx == 1)
8989 /* linux_fallocate */
8991 if (ndx == 0 || ndx == 1)
8994 /* linux_timerfd_settime */
8996 if (ndx == 0 || ndx == 1)
8999 /* linux_timerfd_gettime */
9001 if (ndx == 0 || ndx == 1)
9004 /* linux_signalfd4 */
9006 /* linux_eventfd2 */
9008 if (ndx == 0 || ndx == 1)
9011 /* linux_epoll_create1 */
9013 if (ndx == 0 || ndx == 1)
9018 if (ndx == 0 || ndx == 1)
9023 if (ndx == 0 || ndx == 1)
9026 /* linux_inotify_init1 */
9030 if (ndx == 0 || ndx == 1)
9035 if (ndx == 0 || ndx == 1)
9038 /* linux_rt_tgsigqueueinfo */
9040 if (ndx == 0 || ndx == 1)
9043 /* linux_perf_event_open */
9045 /* linux_recvmmsg */
9047 if (ndx == 0 || ndx == 1)
9050 /* linux_fanotify_init */
9052 /* linux_fanotify_mark */
9054 /* linux_prlimit64 */
9056 if (ndx == 0 || ndx == 1)
9059 /* linux_name_to_handle_at */
9061 /* linux_open_by_handle_at */
9063 /* linux_clock_adjtime */
9067 if (ndx == 0 || ndx == 1)
9070 /* linux_sendmmsg */
9072 if (ndx == 0 || ndx == 1)
9077 /* linux_process_vm_readv */
9079 if (ndx == 0 || ndx == 1)
9082 /* linux_process_vm_writev */
9084 if (ndx == 0 || ndx == 1)
9089 if (ndx == 0 || ndx == 1)
9092 /* linux_finit_module */
9094 if (ndx == 0 || ndx == 1)
9097 /* linux_sched_setattr */
9099 if (ndx == 0 || ndx == 1)
9102 /* linux_sched_getattr */
9104 if (ndx == 0 || ndx == 1)
9107 /* linux_renameat2 */
9109 if (ndx == 0 || ndx == 1)
9114 if (ndx == 0 || ndx == 1)
9117 /* linux_getrandom */
9119 if (ndx == 0 || ndx == 1)
9122 /* linux_memfd_create */
9124 if (ndx == 0 || ndx == 1)
9129 if (ndx == 0 || ndx == 1)
9132 /* linux_execveat */
9134 if (ndx == 0 || ndx == 1)
9139 if (ndx == 0 || ndx == 1)
9142 /* linux_socketpair */
9144 if (ndx == 0 || ndx == 1)
9149 if (ndx == 0 || ndx == 1)
9154 if (ndx == 0 || ndx == 1)
9159 if (ndx == 0 || ndx == 1)
9164 if (ndx == 0 || ndx == 1)
9167 /* linux_getsockopt */
9169 if (ndx == 0 || ndx == 1)
9172 /* linux_setsockopt */
9174 if (ndx == 0 || ndx == 1)
9177 /* linux_getsockname */
9179 if (ndx == 0 || ndx == 1)
9182 /* linux_getpeername */
9184 if (ndx == 0 || ndx == 1)
9189 if (ndx == 0 || ndx == 1)
9194 if (ndx == 0 || ndx == 1)
9197 /* linux_recvfrom */
9199 if (ndx == 0 || ndx == 1)
9204 if (ndx == 0 || ndx == 1)
9207 /* linux_shutdown */
9209 if (ndx == 0 || ndx == 1)
9212 /* linux_userfaultfd */
9214 if (ndx == 0 || ndx == 1)
9217 /* linux_membarrier */
9219 if (ndx == 0 || ndx == 1)
9224 if (ndx == 0 || ndx == 1)
9227 /* linux_copy_file_range */
9229 if (ndx == 0 || ndx == 1)
9234 if (ndx == 0 || ndx == 1)
9237 /* linux_pwritev2 */
9239 if (ndx == 0 || ndx == 1)
9242 /* linux_pkey_mprotect */
9244 if (ndx == 0 || ndx == 1)
9247 /* linux_pkey_alloc */
9249 if (ndx == 0 || ndx == 1)
9252 /* linux_pkey_free */
9254 if (ndx == 0 || ndx == 1)
9259 if (ndx == 0 || ndx == 1)
9262 /* linux_arch_prctl */
9264 if (ndx == 0 || ndx == 1)
9267 /* linux_io_pgetevents */
9273 if (ndx == 0 || ndx == 1)
9278 if (ndx == 0 || ndx == 1)
9283 if (ndx == 0 || ndx == 1)
9288 if (ndx == 0 || ndx == 1)
9293 if (ndx == 0 || ndx == 1)
9298 if (ndx == 0 || ndx == 1)
9303 if (ndx == 0 || ndx == 1)
9308 if (ndx == 0 || ndx == 1)
9313 if (ndx == 0 || ndx == 1)
9318 if (ndx == 0 || ndx == 1)
9321 /* linux_clock_gettime64 */
9323 /* linux_clock_settime64 */
9325 /* linux_clock_adjtime64 */
9327 /* linux_clock_getres_time64 */
9329 /* linux_clock_nanosleep_time64 */
9331 /* linux_timer_gettime64 */
9333 /* linux_timer_settime64 */
9335 /* linux_timerfd_gettime64 */
9337 /* linux_timerfd_settime64 */
9339 /* linux_utimensat_time64 */
9341 /* linux_pselect6_time64 */
9343 /* linux_ppoll_time64 */
9345 /* linux_io_pgetevents_time64 */
9347 /* linux_recvmmsg_time64 */
9349 /* linux_mq_timedsend_time64 */
9351 /* linux_mq_timedreceive_time64 */
9353 /* linux_semtimedop_time64 */
9355 /* linux_rt_sigtimedwait_time64 */
9357 /* linux_futex_time64 */
9359 /* linux_sched_rr_get_interval_time64 */
9361 /* linux_pidfd_send_signal */
9363 if (ndx == 0 || ndx == 1)
9366 /* linux_io_uring_setup */
9368 /* linux_io_uring_enter */
9370 /* linux_io_uring_register */
9376 strlcpy(desc, p, descsz);