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 */
1338 struct linux_sendfile_args *p = params;
1339 iarg[0] = p->out; /* l_int */
1340 iarg[1] = p->in; /* l_int */
1341 uarg[2] = (intptr_t) p->offset; /* l_long * */
1342 iarg[3] = p->count; /* l_size_t */
1351 /* linux_getrlimit */
1353 struct linux_getrlimit_args *p = params;
1354 iarg[0] = p->resource; /* l_uint */
1355 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1361 struct linux_mmap2_args *p = params;
1362 iarg[0] = p->addr; /* l_ulong */
1363 iarg[1] = p->len; /* l_ulong */
1364 iarg[2] = p->prot; /* l_ulong */
1365 iarg[3] = p->flags; /* l_ulong */
1366 iarg[4] = p->fd; /* l_ulong */
1367 iarg[5] = p->pgoff; /* l_ulong */
1371 /* linux_truncate64 */
1373 struct linux_truncate64_args *p = params;
1374 uarg[0] = (intptr_t) p->path; /* char * */
1375 iarg[1] = p->length; /* l_loff_t */
1379 /* linux_ftruncate64 */
1381 struct linux_ftruncate64_args *p = params;
1382 iarg[0] = p->fd; /* l_uint */
1383 iarg[1] = p->length; /* l_loff_t */
1389 struct linux_stat64_args *p = params;
1390 uarg[0] = (intptr_t) p->filename; /* const char * */
1391 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1397 struct linux_lstat64_args *p = params;
1398 uarg[0] = (intptr_t) p->filename; /* const char * */
1399 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1405 struct linux_fstat64_args *p = params;
1406 iarg[0] = p->fd; /* l_int */
1407 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1413 struct linux_lchown_args *p = params;
1414 uarg[0] = (intptr_t) p->path; /* char * */
1415 iarg[1] = p->uid; /* l_uid_t */
1416 iarg[2] = p->gid; /* l_gid_t */
1442 struct setreuid_args *p = params;
1443 uarg[0] = p->ruid; /* uid_t */
1444 uarg[1] = p->euid; /* uid_t */
1450 struct setregid_args *p = params;
1451 iarg[0] = p->rgid; /* gid_t */
1452 iarg[1] = p->egid; /* gid_t */
1456 /* linux_getgroups */
1458 struct linux_getgroups_args *p = params;
1459 iarg[0] = p->gidsetsize; /* l_int */
1460 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1464 /* linux_setgroups */
1466 struct linux_setgroups_args *p = params;
1467 iarg[0] = p->gidsetsize; /* l_int */
1468 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1479 struct setresuid_args *p = params;
1480 uarg[0] = p->ruid; /* uid_t */
1481 uarg[1] = p->euid; /* uid_t */
1482 uarg[2] = p->suid; /* uid_t */
1488 struct getresuid_args *p = params;
1489 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1490 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1491 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1497 struct setresgid_args *p = params;
1498 iarg[0] = p->rgid; /* gid_t */
1499 iarg[1] = p->egid; /* gid_t */
1500 iarg[2] = p->sgid; /* gid_t */
1506 struct getresgid_args *p = params;
1507 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1508 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1509 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1515 struct linux_chown_args *p = params;
1516 uarg[0] = (intptr_t) p->path; /* char * */
1517 iarg[1] = p->uid; /* l_uid_t */
1518 iarg[2] = p->gid; /* l_gid_t */
1524 struct setuid_args *p = params;
1525 uarg[0] = p->uid; /* uid_t */
1531 struct setgid_args *p = params;
1532 iarg[0] = p->gid; /* gid_t */
1536 /* linux_setfsuid */
1538 struct linux_setfsuid_args *p = params;
1539 iarg[0] = p->uid; /* l_uid_t */
1543 /* linux_setfsgid */
1545 struct linux_setfsgid_args *p = params;
1546 iarg[0] = p->gid; /* l_gid_t */
1550 /* linux_pivot_root */
1552 struct linux_pivot_root_args *p = params;
1553 uarg[0] = (intptr_t) p->new_root; /* char * */
1554 uarg[1] = (intptr_t) p->put_old; /* char * */
1560 struct linux_mincore_args *p = params;
1561 iarg[0] = p->start; /* l_ulong */
1562 iarg[1] = p->len; /* l_size_t */
1563 uarg[2] = (intptr_t) p->vec; /* u_char * */
1569 struct madvise_args *p = params;
1570 uarg[0] = (intptr_t) p->addr; /* void * */
1571 uarg[1] = p->len; /* size_t */
1572 iarg[2] = p->behav; /* int */
1576 /* linux_getdents64 */
1578 struct linux_getdents64_args *p = params;
1579 iarg[0] = p->fd; /* l_uint */
1580 uarg[1] = (intptr_t) p->dirent; /* void * */
1581 iarg[2] = p->count; /* l_uint */
1587 struct linux_fcntl64_args *p = params;
1588 iarg[0] = p->fd; /* l_uint */
1589 iarg[1] = p->cmd; /* l_uint */
1590 iarg[2] = p->arg; /* l_ulong */
1599 /* linux_setxattr */
1604 /* linux_lsetxattr */
1609 /* linux_fsetxattr */
1614 /* linux_getxattr */
1619 /* linux_lgetxattr */
1624 /* linux_fgetxattr */
1629 /* linux_listxattr */
1634 /* linux_llistxattr */
1639 /* linux_flistxattr */
1644 /* linux_removexattr */
1649 /* linux_lremovexattr */
1654 /* linux_fremovexattr */
1661 struct linux_tkill_args *p = params;
1662 iarg[0] = p->tid; /* int */
1663 iarg[1] = p->sig; /* int */
1667 /* linux_sendfile64 */
1669 struct linux_sendfile64_args *p = params;
1670 iarg[0] = p->out; /* l_int */
1671 iarg[1] = p->in; /* l_int */
1672 uarg[2] = (intptr_t) p->offset; /* l_loff_t * */
1673 iarg[3] = p->count; /* l_size_t */
1677 /* linux_sys_futex */
1679 struct linux_sys_futex_args *p = params;
1680 uarg[0] = (intptr_t) p->uaddr; /* void * */
1681 iarg[1] = p->op; /* int */
1682 uarg[2] = p->val; /* uint32_t */
1683 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1684 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1685 uarg[5] = p->val3; /* uint32_t */
1689 /* linux_sched_setaffinity */
1691 struct linux_sched_setaffinity_args *p = params;
1692 iarg[0] = p->pid; /* l_pid_t */
1693 iarg[1] = p->len; /* l_uint */
1694 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1698 /* linux_sched_getaffinity */
1700 struct linux_sched_getaffinity_args *p = params;
1701 iarg[0] = p->pid; /* l_pid_t */
1702 iarg[1] = p->len; /* l_uint */
1703 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1707 /* linux_set_thread_area */
1709 struct linux_set_thread_area_args *p = params;
1710 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1714 /* linux_get_thread_area */
1716 struct linux_get_thread_area_args *p = params;
1717 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1721 /* linux_fadvise64 */
1723 struct linux_fadvise64_args *p = params;
1724 iarg[0] = p->fd; /* int */
1725 iarg[1] = p->offset; /* l_loff_t */
1726 iarg[2] = p->len; /* l_size_t */
1727 iarg[3] = p->advice; /* int */
1731 /* linux_exit_group */
1733 struct linux_exit_group_args *p = params;
1734 iarg[0] = p->error_code; /* int */
1738 /* linux_lookup_dcookie */
1743 /* linux_epoll_create */
1745 struct linux_epoll_create_args *p = params;
1746 iarg[0] = p->size; /* l_int */
1750 /* linux_epoll_ctl */
1752 struct linux_epoll_ctl_args *p = params;
1753 iarg[0] = p->epfd; /* l_int */
1754 iarg[1] = p->op; /* l_int */
1755 iarg[2] = p->fd; /* l_int */
1756 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1760 /* linux_epoll_wait */
1762 struct linux_epoll_wait_args *p = params;
1763 iarg[0] = p->epfd; /* l_int */
1764 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1765 iarg[2] = p->maxevents; /* l_int */
1766 iarg[3] = p->timeout; /* l_int */
1770 /* linux_remap_file_pages */
1775 /* linux_set_tid_address */
1777 struct linux_set_tid_address_args *p = params;
1778 uarg[0] = (intptr_t) p->tidptr; /* int * */
1782 /* linux_timer_create */
1784 struct linux_timer_create_args *p = params;
1785 iarg[0] = p->clock_id; /* clockid_t */
1786 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1787 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1791 /* linux_timer_settime */
1793 struct linux_timer_settime_args *p = params;
1794 iarg[0] = p->timerid; /* l_timer_t */
1795 iarg[1] = p->flags; /* l_int */
1796 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1797 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1801 /* linux_timer_gettime */
1803 struct linux_timer_gettime_args *p = params;
1804 iarg[0] = p->timerid; /* l_timer_t */
1805 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1809 /* linux_timer_getoverrun */
1811 struct linux_timer_getoverrun_args *p = params;
1812 iarg[0] = p->timerid; /* l_timer_t */
1816 /* linux_timer_delete */
1818 struct linux_timer_delete_args *p = params;
1819 iarg[0] = p->timerid; /* l_timer_t */
1823 /* linux_clock_settime */
1825 struct linux_clock_settime_args *p = params;
1826 iarg[0] = p->which; /* clockid_t */
1827 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1831 /* linux_clock_gettime */
1833 struct linux_clock_gettime_args *p = params;
1834 iarg[0] = p->which; /* clockid_t */
1835 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1839 /* linux_clock_getres */
1841 struct linux_clock_getres_args *p = params;
1842 iarg[0] = p->which; /* clockid_t */
1843 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1847 /* linux_clock_nanosleep */
1849 struct linux_clock_nanosleep_args *p = params;
1850 iarg[0] = p->which; /* clockid_t */
1851 iarg[1] = p->flags; /* int */
1852 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1853 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1857 /* linux_statfs64 */
1859 struct linux_statfs64_args *p = params;
1860 uarg[0] = (intptr_t) p->path; /* char * */
1861 uarg[1] = p->bufsize; /* size_t */
1862 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1866 /* linux_fstatfs64 */
1868 struct linux_fstatfs64_args *p = params;
1869 iarg[0] = p->fd; /* l_uint */
1870 uarg[1] = p->bufsize; /* size_t */
1871 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1877 struct linux_tgkill_args *p = params;
1878 iarg[0] = p->tgid; /* int */
1879 iarg[1] = p->pid; /* int */
1880 iarg[2] = p->sig; /* int */
1886 struct linux_utimes_args *p = params;
1887 uarg[0] = (intptr_t) p->fname; /* char * */
1888 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1892 /* linux_fadvise64_64 */
1894 struct linux_fadvise64_64_args *p = params;
1895 iarg[0] = p->fd; /* int */
1896 iarg[1] = p->offset; /* l_loff_t */
1897 iarg[2] = p->len; /* l_loff_t */
1898 iarg[3] = p->advice; /* int */
1907 /* linux_get_mempolicy */
1912 /* linux_set_mempolicy */
1919 struct linux_mq_open_args *p = params;
1920 uarg[0] = (intptr_t) p->name; /* const char * */
1921 iarg[1] = p->oflag; /* int */
1922 iarg[2] = p->mode; /* mode_t */
1923 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1927 /* linux_mq_unlink */
1929 struct linux_mq_unlink_args *p = params;
1930 uarg[0] = (intptr_t) p->name; /* const char * */
1934 /* linux_mq_timedsend */
1936 struct linux_mq_timedsend_args *p = params;
1937 iarg[0] = p->mqd; /* l_mqd_t */
1938 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1939 uarg[2] = p->msg_len; /* size_t */
1940 uarg[3] = p->msg_prio; /* unsigned int */
1941 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1945 /* linux_mq_timedreceive */
1947 struct linux_mq_timedreceive_args *p = params;
1948 iarg[0] = p->mqd; /* l_mqd_t */
1949 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1950 uarg[2] = p->msg_len; /* size_t */
1951 uarg[3] = p->msg_prio; /* unsigned int */
1952 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1956 /* linux_mq_notify */
1958 struct linux_mq_notify_args *p = params;
1959 iarg[0] = p->mqd; /* l_mqd_t */
1960 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1964 /* linux_mq_getsetattr */
1966 struct linux_mq_getsetattr_args *p = params;
1967 iarg[0] = p->mqd; /* l_mqd_t */
1968 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1969 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1973 /* linux_kexec_load */
1980 struct linux_waitid_args *p = params;
1981 iarg[0] = p->idtype; /* int */
1982 iarg[1] = p->id; /* l_pid_t */
1983 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1984 iarg[3] = p->options; /* int */
1985 uarg[4] = (intptr_t) p->rusage; /* void * */
1994 /* linux_request_key */
2004 /* linux_ioprio_set */
2009 /* linux_ioprio_get */
2014 /* linux_inotify_init */
2019 /* linux_inotify_add_watch */
2024 /* linux_inotify_rm_watch */
2029 /* linux_migrate_pages */
2036 struct linux_openat_args *p = params;
2037 iarg[0] = p->dfd; /* l_int */
2038 uarg[1] = (intptr_t) p->filename; /* const char * */
2039 iarg[2] = p->flags; /* l_int */
2040 iarg[3] = p->mode; /* l_int */
2046 struct linux_mkdirat_args *p = params;
2047 iarg[0] = p->dfd; /* l_int */
2048 uarg[1] = (intptr_t) p->pathname; /* const char * */
2049 iarg[2] = p->mode; /* l_int */
2055 struct linux_mknodat_args *p = params;
2056 iarg[0] = p->dfd; /* l_int */
2057 uarg[1] = (intptr_t) p->filename; /* const char * */
2058 iarg[2] = p->mode; /* l_int */
2059 iarg[3] = p->dev; /* l_uint */
2063 /* linux_fchownat */
2065 struct linux_fchownat_args *p = params;
2066 iarg[0] = p->dfd; /* l_int */
2067 uarg[1] = (intptr_t) p->filename; /* const char * */
2068 iarg[2] = p->uid; /* l_uid16_t */
2069 iarg[3] = p->gid; /* l_gid16_t */
2070 iarg[4] = p->flag; /* l_int */
2074 /* linux_futimesat */
2076 struct linux_futimesat_args *p = params;
2077 iarg[0] = p->dfd; /* l_int */
2078 uarg[1] = (intptr_t) p->filename; /* char * */
2079 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2083 /* linux_fstatat64 */
2085 struct linux_fstatat64_args *p = params;
2086 iarg[0] = p->dfd; /* l_int */
2087 uarg[1] = (intptr_t) p->pathname; /* char * */
2088 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2089 iarg[3] = p->flag; /* l_int */
2093 /* linux_unlinkat */
2095 struct linux_unlinkat_args *p = params;
2096 iarg[0] = p->dfd; /* l_int */
2097 uarg[1] = (intptr_t) p->pathname; /* const char * */
2098 iarg[2] = p->flag; /* l_int */
2102 /* linux_renameat */
2104 struct linux_renameat_args *p = params;
2105 iarg[0] = p->olddfd; /* l_int */
2106 uarg[1] = (intptr_t) p->oldname; /* const char * */
2107 iarg[2] = p->newdfd; /* l_int */
2108 uarg[3] = (intptr_t) p->newname; /* const char * */
2114 struct linux_linkat_args *p = params;
2115 iarg[0] = p->olddfd; /* l_int */
2116 uarg[1] = (intptr_t) p->oldname; /* const char * */
2117 iarg[2] = p->newdfd; /* l_int */
2118 uarg[3] = (intptr_t) p->newname; /* const char * */
2119 iarg[4] = p->flag; /* l_int */
2123 /* linux_symlinkat */
2125 struct linux_symlinkat_args *p = params;
2126 uarg[0] = (intptr_t) p->oldname; /* const char * */
2127 iarg[1] = p->newdfd; /* l_int */
2128 uarg[2] = (intptr_t) p->newname; /* const char * */
2132 /* linux_readlinkat */
2134 struct linux_readlinkat_args *p = params;
2135 iarg[0] = p->dfd; /* l_int */
2136 uarg[1] = (intptr_t) p->path; /* const char * */
2137 uarg[2] = (intptr_t) p->buf; /* char * */
2138 iarg[3] = p->bufsiz; /* l_int */
2142 /* linux_fchmodat */
2144 struct linux_fchmodat_args *p = params;
2145 iarg[0] = p->dfd; /* l_int */
2146 uarg[1] = (intptr_t) p->filename; /* const char * */
2147 iarg[2] = p->mode; /* l_mode_t */
2151 /* linux_faccessat */
2153 struct linux_faccessat_args *p = params;
2154 iarg[0] = p->dfd; /* l_int */
2155 uarg[1] = (intptr_t) p->filename; /* const char * */
2156 iarg[2] = p->amode; /* l_int */
2160 /* linux_pselect6 */
2162 struct linux_pselect6_args *p = params;
2163 iarg[0] = p->nfds; /* l_int */
2164 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2165 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2166 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2167 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2168 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2174 struct linux_ppoll_args *p = params;
2175 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2176 uarg[1] = p->nfds; /* uint32_t */
2177 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2178 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2179 iarg[4] = p->ssize; /* l_size_t */
2188 /* linux_set_robust_list */
2190 struct linux_set_robust_list_args *p = params;
2191 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2192 iarg[1] = p->len; /* l_size_t */
2196 /* linux_get_robust_list */
2198 struct linux_get_robust_list_args *p = params;
2199 iarg[0] = p->pid; /* l_int */
2200 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2201 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2210 /* linux_sync_file_range */
2212 struct linux_sync_file_range_args *p = params;
2213 iarg[0] = p->fd; /* l_int */
2214 iarg[1] = p->offset; /* l_loff_t */
2215 iarg[2] = p->nbytes; /* l_loff_t */
2216 uarg[3] = p->flags; /* unsigned int */
2225 /* linux_vmsplice */
2230 /* linux_move_pages */
2237 struct linux_getcpu_args *p = params;
2238 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2239 uarg[1] = (intptr_t) p->node; /* l_uint * */
2240 uarg[2] = (intptr_t) p->cache; /* void * */
2244 /* linux_epoll_pwait */
2246 struct linux_epoll_pwait_args *p = params;
2247 iarg[0] = p->epfd; /* l_int */
2248 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2249 iarg[2] = p->maxevents; /* l_int */
2250 iarg[3] = p->timeout; /* l_int */
2251 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2252 iarg[5] = p->sigsetsize; /* l_size_t */
2256 /* linux_utimensat */
2258 struct linux_utimensat_args *p = params;
2259 iarg[0] = p->dfd; /* l_int */
2260 uarg[1] = (intptr_t) p->pathname; /* const char * */
2261 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2262 iarg[3] = p->flags; /* l_int */
2266 /* linux_signalfd */
2271 /* linux_timerfd_create */
2273 struct linux_timerfd_create_args *p = params;
2274 iarg[0] = p->clockid; /* l_int */
2275 iarg[1] = p->flags; /* l_int */
2281 struct linux_eventfd_args *p = params;
2282 iarg[0] = p->initval; /* l_uint */
2286 /* linux_fallocate */
2288 struct linux_fallocate_args *p = params;
2289 iarg[0] = p->fd; /* l_int */
2290 iarg[1] = p->mode; /* l_int */
2291 iarg[2] = p->offset; /* l_loff_t */
2292 iarg[3] = p->len; /* l_loff_t */
2296 /* linux_timerfd_settime */
2298 struct linux_timerfd_settime_args *p = params;
2299 iarg[0] = p->fd; /* l_int */
2300 iarg[1] = p->flags; /* l_int */
2301 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2302 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2306 /* linux_timerfd_gettime */
2308 struct linux_timerfd_gettime_args *p = params;
2309 iarg[0] = p->fd; /* l_int */
2310 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2314 /* linux_signalfd4 */
2319 /* linux_eventfd2 */
2321 struct linux_eventfd2_args *p = params;
2322 iarg[0] = p->initval; /* l_uint */
2323 iarg[1] = p->flags; /* l_int */
2327 /* linux_epoll_create1 */
2329 struct linux_epoll_create1_args *p = params;
2330 iarg[0] = p->flags; /* l_int */
2336 struct linux_dup3_args *p = params;
2337 iarg[0] = p->oldfd; /* l_int */
2338 iarg[1] = p->newfd; /* l_int */
2339 iarg[2] = p->flags; /* l_int */
2345 struct linux_pipe2_args *p = params;
2346 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2347 iarg[1] = p->flags; /* l_int */
2351 /* linux_inotify_init1 */
2358 struct linux_preadv_args *p = params;
2359 iarg[0] = p->fd; /* l_ulong */
2360 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2361 iarg[2] = p->vlen; /* l_ulong */
2362 iarg[3] = p->pos_l; /* l_ulong */
2363 iarg[4] = p->pos_h; /* l_ulong */
2369 struct linux_pwritev_args *p = params;
2370 iarg[0] = p->fd; /* l_ulong */
2371 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2372 iarg[2] = p->vlen; /* l_ulong */
2373 iarg[3] = p->pos_l; /* l_ulong */
2374 iarg[4] = p->pos_h; /* l_ulong */
2378 /* linux_rt_tgsigqueueinfo */
2380 struct linux_rt_tgsigqueueinfo_args *p = params;
2381 iarg[0] = p->tgid; /* l_pid_t */
2382 iarg[1] = p->tid; /* l_pid_t */
2383 iarg[2] = p->sig; /* l_int */
2384 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2388 /* linux_perf_event_open */
2393 /* linux_recvmmsg */
2395 struct linux_recvmmsg_args *p = params;
2396 iarg[0] = p->s; /* l_int */
2397 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2398 iarg[2] = p->vlen; /* l_uint */
2399 iarg[3] = p->flags; /* l_uint */
2400 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2404 /* linux_fanotify_init */
2409 /* linux_fanotify_mark */
2414 /* linux_prlimit64 */
2416 struct linux_prlimit64_args *p = params;
2417 iarg[0] = p->pid; /* l_pid_t */
2418 iarg[1] = p->resource; /* l_uint */
2419 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2420 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2424 /* linux_name_to_handle_at */
2429 /* linux_open_by_handle_at */
2434 /* linux_clock_adjtime */
2441 struct linux_syncfs_args *p = params;
2442 iarg[0] = p->fd; /* l_int */
2446 /* linux_sendmmsg */
2448 struct linux_sendmmsg_args *p = params;
2449 iarg[0] = p->s; /* l_int */
2450 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2451 iarg[2] = p->vlen; /* l_uint */
2452 iarg[3] = p->flags; /* l_uint */
2461 /* linux_process_vm_readv */
2463 struct linux_process_vm_readv_args *p = params;
2464 iarg[0] = p->pid; /* l_pid_t */
2465 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2466 iarg[2] = p->liovcnt; /* l_ulong */
2467 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2468 iarg[4] = p->riovcnt; /* l_ulong */
2469 iarg[5] = p->flags; /* l_ulong */
2473 /* linux_process_vm_writev */
2475 struct linux_process_vm_writev_args *p = params;
2476 iarg[0] = p->pid; /* l_pid_t */
2477 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2478 iarg[2] = p->liovcnt; /* l_ulong */
2479 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2480 iarg[4] = p->riovcnt; /* l_ulong */
2481 iarg[5] = p->flags; /* l_ulong */
2487 struct linux_kcmp_args *p = params;
2488 iarg[0] = p->pid1; /* l_pid_t */
2489 iarg[1] = p->pid2; /* l_pid_t */
2490 iarg[2] = p->type; /* l_int */
2491 iarg[3] = p->idx1; /* l_ulong */
2492 iarg[4] = p->idx; /* l_ulong */
2496 /* linux_finit_module */
2498 struct linux_finit_module_args *p = params;
2499 iarg[0] = p->fd; /* l_int */
2500 uarg[1] = (intptr_t) p->uargs; /* const char * */
2501 iarg[2] = p->flags; /* l_int */
2505 /* linux_sched_setattr */
2507 struct linux_sched_setattr_args *p = params;
2508 iarg[0] = p->pid; /* l_pid_t */
2509 uarg[1] = (intptr_t) p->attr; /* void * */
2510 iarg[2] = p->flags; /* l_uint */
2514 /* linux_sched_getattr */
2516 struct linux_sched_getattr_args *p = params;
2517 iarg[0] = p->pid; /* l_pid_t */
2518 uarg[1] = (intptr_t) p->attr; /* void * */
2519 iarg[2] = p->size; /* l_uint */
2520 iarg[3] = p->flags; /* l_uint */
2524 /* linux_renameat2 */
2526 struct linux_renameat2_args *p = params;
2527 iarg[0] = p->olddfd; /* l_int */
2528 uarg[1] = (intptr_t) p->oldname; /* const char * */
2529 iarg[2] = p->newdfd; /* l_int */
2530 uarg[3] = (intptr_t) p->newname; /* const char * */
2531 uarg[4] = p->flags; /* unsigned int */
2537 struct linux_seccomp_args *p = params;
2538 iarg[0] = p->op; /* l_uint */
2539 iarg[1] = p->flags; /* l_uint */
2540 uarg[2] = (intptr_t) p->uargs; /* const char * */
2544 /* linux_getrandom */
2546 struct linux_getrandom_args *p = params;
2547 uarg[0] = (intptr_t) p->buf; /* char * */
2548 iarg[1] = p->count; /* l_size_t */
2549 iarg[2] = p->flags; /* l_uint */
2553 /* linux_memfd_create */
2555 struct linux_memfd_create_args *p = params;
2556 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2557 iarg[1] = p->flags; /* l_uint */
2563 struct linux_bpf_args *p = params;
2564 iarg[0] = p->cmd; /* l_int */
2565 uarg[1] = (intptr_t) p->attr; /* void * */
2566 iarg[2] = p->size; /* l_uint */
2570 /* linux_execveat */
2572 struct linux_execveat_args *p = params;
2573 iarg[0] = p->dfd; /* l_int */
2574 uarg[1] = (intptr_t) p->filename; /* const char * */
2575 uarg[2] = (intptr_t) p->argv; /* const char ** */
2576 uarg[3] = (intptr_t) p->envp; /* const char ** */
2577 iarg[4] = p->flags; /* l_int */
2583 struct linux_socket_args *p = params;
2584 iarg[0] = p->domain; /* l_int */
2585 iarg[1] = p->type; /* l_int */
2586 iarg[2] = p->protocol; /* l_int */
2590 /* linux_socketpair */
2592 struct linux_socketpair_args *p = params;
2593 iarg[0] = p->domain; /* l_int */
2594 iarg[1] = p->type; /* l_int */
2595 iarg[2] = p->protocol; /* l_int */
2596 iarg[3] = p->rsv; /* l_uintptr_t */
2602 struct linux_bind_args *p = params;
2603 iarg[0] = p->s; /* l_int */
2604 iarg[1] = p->name; /* l_uintptr_t */
2605 iarg[2] = p->namelen; /* l_int */
2611 struct linux_connect_args *p = params;
2612 iarg[0] = p->s; /* l_int */
2613 iarg[1] = p->name; /* l_uintptr_t */
2614 iarg[2] = p->namelen; /* l_int */
2620 struct linux_listen_args *p = params;
2621 iarg[0] = p->s; /* l_int */
2622 iarg[1] = p->backlog; /* l_int */
2628 struct linux_accept4_args *p = params;
2629 iarg[0] = p->s; /* l_int */
2630 iarg[1] = p->addr; /* l_uintptr_t */
2631 iarg[2] = p->namelen; /* l_uintptr_t */
2632 iarg[3] = p->flags; /* l_int */
2636 /* linux_getsockopt */
2638 struct linux_getsockopt_args *p = params;
2639 iarg[0] = p->s; /* l_int */
2640 iarg[1] = p->level; /* l_int */
2641 iarg[2] = p->optname; /* l_int */
2642 iarg[3] = p->optval; /* l_uintptr_t */
2643 iarg[4] = p->optlen; /* l_uintptr_t */
2647 /* linux_setsockopt */
2649 struct linux_setsockopt_args *p = params;
2650 iarg[0] = p->s; /* l_int */
2651 iarg[1] = p->level; /* l_int */
2652 iarg[2] = p->optname; /* l_int */
2653 iarg[3] = p->optval; /* l_uintptr_t */
2654 iarg[4] = p->optlen; /* l_int */
2658 /* linux_getsockname */
2660 struct linux_getsockname_args *p = params;
2661 iarg[0] = p->s; /* l_int */
2662 iarg[1] = p->addr; /* l_uintptr_t */
2663 iarg[2] = p->namelen; /* l_uintptr_t */
2667 /* linux_getpeername */
2669 struct linux_getpeername_args *p = params;
2670 iarg[0] = p->s; /* l_int */
2671 iarg[1] = p->addr; /* l_uintptr_t */
2672 iarg[2] = p->namelen; /* l_uintptr_t */
2678 struct linux_sendto_args *p = params;
2679 iarg[0] = p->s; /* l_int */
2680 iarg[1] = p->msg; /* l_uintptr_t */
2681 iarg[2] = p->len; /* l_int */
2682 iarg[3] = p->flags; /* l_int */
2683 iarg[4] = p->to; /* l_uintptr_t */
2684 iarg[5] = p->tolen; /* l_int */
2690 struct linux_sendmsg_args *p = params;
2691 iarg[0] = p->s; /* l_int */
2692 iarg[1] = p->msg; /* l_uintptr_t */
2693 iarg[2] = p->flags; /* l_int */
2697 /* linux_recvfrom */
2699 struct linux_recvfrom_args *p = params;
2700 iarg[0] = p->s; /* l_int */
2701 iarg[1] = p->buf; /* l_uintptr_t */
2702 iarg[2] = p->len; /* l_size_t */
2703 iarg[3] = p->flags; /* l_int */
2704 iarg[4] = p->from; /* l_uintptr_t */
2705 iarg[5] = p->fromlen; /* l_uintptr_t */
2711 struct linux_recvmsg_args *p = params;
2712 iarg[0] = p->s; /* l_int */
2713 iarg[1] = p->msg; /* l_uintptr_t */
2714 iarg[2] = p->flags; /* l_int */
2718 /* linux_shutdown */
2720 struct linux_shutdown_args *p = params;
2721 iarg[0] = p->s; /* l_int */
2722 iarg[1] = p->how; /* l_int */
2726 /* linux_userfaultfd */
2728 struct linux_userfaultfd_args *p = params;
2729 iarg[0] = p->flags; /* l_int */
2733 /* linux_membarrier */
2735 struct linux_membarrier_args *p = params;
2736 iarg[0] = p->cmd; /* l_int */
2737 iarg[1] = p->flags; /* l_int */
2743 struct linux_mlock2_args *p = params;
2744 iarg[0] = p->start; /* l_ulong */
2745 iarg[1] = p->len; /* l_size_t */
2746 iarg[2] = p->flags; /* l_int */
2750 /* linux_copy_file_range */
2752 struct linux_copy_file_range_args *p = params;
2753 iarg[0] = p->fd_in; /* l_int */
2754 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2755 iarg[2] = p->fd_out; /* l_int */
2756 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2757 iarg[4] = p->len; /* l_size_t */
2758 iarg[5] = p->flags; /* l_uint */
2764 struct linux_preadv2_args *p = params;
2765 iarg[0] = p->fd; /* l_ulong */
2766 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2767 iarg[2] = p->vlen; /* l_ulong */
2768 iarg[3] = p->pos_l; /* l_ulong */
2769 iarg[4] = p->pos_h; /* l_ulong */
2770 iarg[5] = p->flags; /* l_int */
2774 /* linux_pwritev2 */
2776 struct linux_pwritev2_args *p = params;
2777 iarg[0] = p->fd; /* l_ulong */
2778 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2779 iarg[2] = p->vlen; /* l_ulong */
2780 iarg[3] = p->pos_l; /* l_ulong */
2781 iarg[4] = p->pos_h; /* l_ulong */
2782 iarg[5] = p->flags; /* l_int */
2786 /* linux_pkey_mprotect */
2788 struct linux_pkey_mprotect_args *p = params;
2789 iarg[0] = p->start; /* l_ulong */
2790 iarg[1] = p->len; /* l_size_t */
2791 iarg[2] = p->prot; /* l_ulong */
2792 iarg[3] = p->pkey; /* l_int */
2796 /* linux_pkey_alloc */
2798 struct linux_pkey_alloc_args *p = params;
2799 iarg[0] = p->flags; /* l_ulong */
2800 iarg[1] = p->init_val; /* l_ulong */
2804 /* linux_pkey_free */
2806 struct linux_pkey_free_args *p = params;
2807 iarg[0] = p->pkey; /* l_int */
2813 struct linux_statx_args *p = params;
2814 iarg[0] = p->dirfd; /* l_int */
2815 uarg[1] = (intptr_t) p->pathname; /* const char * */
2816 iarg[2] = p->flags; /* l_uint */
2817 iarg[3] = p->mask; /* l_uint */
2818 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2822 /* linux_arch_prctl */
2824 struct linux_arch_prctl_args *p = params;
2825 iarg[0] = p->option; /* l_int */
2826 iarg[1] = p->arg2; /* l_ulong */
2830 /* linux_io_pgetevents */
2842 struct linux_semget_args *p = params;
2843 iarg[0] = p->key; /* l_key_t */
2844 iarg[1] = p->nsems; /* l_int */
2845 iarg[2] = p->semflg; /* l_int */
2851 struct linux_semctl_args *p = params;
2852 iarg[0] = p->semid; /* l_int */
2853 iarg[1] = p->semnum; /* l_int */
2854 iarg[2] = p->cmd; /* l_int */
2855 uarg[3] = p->arg.buf; /* union l_semun */
2861 struct linux_shmget_args *p = params;
2862 iarg[0] = p->key; /* l_key_t */
2863 iarg[1] = p->size; /* l_size_t */
2864 iarg[2] = p->shmflg; /* l_int */
2870 struct linux_shmctl_args *p = params;
2871 iarg[0] = p->shmid; /* l_int */
2872 iarg[1] = p->cmd; /* l_int */
2873 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2879 struct linux_shmat_args *p = params;
2880 iarg[0] = p->shmid; /* l_int */
2881 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2882 iarg[2] = p->shmflg; /* l_int */
2888 struct linux_shmdt_args *p = params;
2889 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2895 struct linux_msgget_args *p = params;
2896 iarg[0] = p->key; /* l_key_t */
2897 iarg[1] = p->msgflg; /* l_int */
2903 struct linux_msgsnd_args *p = params;
2904 iarg[0] = p->msqid; /* l_int */
2905 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2906 iarg[2] = p->msgsz; /* l_size_t */
2907 iarg[3] = p->msgflg; /* l_int */
2913 struct linux_msgrcv_args *p = params;
2914 iarg[0] = p->msqid; /* l_int */
2915 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2916 iarg[2] = p->msgsz; /* l_size_t */
2917 iarg[3] = p->msgtyp; /* l_long */
2918 iarg[4] = p->msgflg; /* l_int */
2924 struct linux_msgctl_args *p = params;
2925 iarg[0] = p->msqid; /* l_int */
2926 iarg[1] = p->cmd; /* l_int */
2927 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2931 /* linux_clock_gettime64 */
2936 /* linux_clock_settime64 */
2941 /* linux_clock_adjtime64 */
2946 /* linux_clock_getres_time64 */
2951 /* linux_clock_nanosleep_time64 */
2956 /* linux_timer_gettime64 */
2961 /* linux_timer_settime64 */
2966 /* linux_timerfd_gettime64 */
2971 /* linux_timerfd_settime64 */
2976 /* linux_utimensat_time64 */
2981 /* linux_pselect6_time64 */
2986 /* linux_ppoll_time64 */
2991 /* linux_io_pgetevents_time64 */
2996 /* linux_recvmmsg_time64 */
3001 /* linux_mq_timedsend_time64 */
3006 /* linux_mq_timedreceive_time64 */
3011 /* linux_semtimedop_time64 */
3016 /* linux_rt_sigtimedwait_time64 */
3021 /* linux_futex_time64 */
3026 /* linux_sched_rr_get_interval_time64 */
3031 /* linux_pidfd_send_signal */
3033 struct linux_pidfd_send_signal_args *p = params;
3034 iarg[0] = p->pidfd; /* l_int */
3035 iarg[1] = p->sig; /* l_int */
3036 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
3037 iarg[3] = p->flags; /* l_uint */
3041 /* linux_io_uring_setup */
3046 /* linux_io_uring_enter */
3051 /* linux_io_uring_register */
3062 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3064 const char *p = NULL;
3066 #define nosys linux_nosys
3087 p = "userland char *";
3103 p = "userland char *";
3116 p = "userland char *";
3145 p = "userland l_int *";
3158 p = "userland char *";
3171 p = "userland char *";
3174 p = "userland char *";
3184 p = "userland char *";
3194 p = "userland char *";
3197 p = "userland char **";
3200 p = "userland char **";
3210 p = "userland char *";
3220 p = "userland l_time_t *";
3230 p = "userland char *";
3246 p = "userland char *";
3255 /* linux_lchown16 */
3259 p = "userland char *";
3275 p = "userland char *";
3278 p = "userland struct linux_stat *";
3307 p = "userland char *";
3310 p = "userland char *";
3313 p = "userland char *";
3319 p = "userland void *";
3325 /* linux_oldumount */
3329 p = "userland char *";
3335 /* linux_setuid16 */
3345 /* linux_getuid16 */
3387 p = "userland struct linux_stat *";
3400 p = "userland char *";
3403 p = "userland struct l_utimbuf *";
3413 p = "userland char *";
3452 p = "userland char *";
3455 p = "userland char *";
3465 p = "userland char *";
3478 p = "userland char *";
3498 p = "userland l_int *";
3508 p = "userland struct l_times_argv *";
3524 /* linux_setgid16 */
3534 /* linux_getgid16 */
3544 p = "userland void *";
3550 /* linux_geteuid16 */
3553 /* linux_getegid16 */
3560 p = "userland char *";
3570 p = "userland char *";
3624 /* linux_olduname */
3641 p = "userland char *";
3654 p = "userland struct l_ustat *";
3682 /* linux_sigaction */
3689 p = "userland l_osigaction_t *";
3692 p = "userland l_osigaction_t *";
3698 /* linux_sgetmask */
3701 /* linux_ssetmask */
3711 /* linux_setreuid16 */
3724 /* linux_setregid16 */
3737 /* linux_sigsuspend */
3753 /* linux_sigpending */
3757 p = "userland l_osigset_t *";
3763 /* linux_sethostname */
3767 p = "userland char *";
3776 /* linux_setrlimit */
3783 p = "userland struct l_rlimit *";
3789 /* linux_old_getrlimit */
3796 p = "userland struct l_rlimit *";
3809 p = "userland struct rusage *";
3819 p = "userland struct timeval *";
3822 p = "userland struct timezone *";
3832 p = "userland struct timeval *";
3835 p = "userland struct timezone *";
3841 /* linux_getgroups16 */
3848 p = "userland l_gid16_t *";
3854 /* linux_setgroups16 */
3861 p = "userland l_gid16_t *";
3867 /* linux_old_select */
3871 p = "userland struct l_old_select_argv *";
3881 p = "userland char *";
3884 p = "userland char *";
3894 p = "userland char *";
3897 p = "userland struct l_stat *";
3903 /* linux_readlink */
3907 p = "userland char *";
3910 p = "userland char *";
3923 p = "userland char *";
3933 p = "userland char *";
3952 p = "userland void *";
3965 p = "userland struct l_dirent *";
3978 p = "userland struct l_mmap_argv *";
3997 /* linux_truncate */
4001 p = "userland char *";
4010 /* linux_ftruncate */
4052 /* linux_getpriority */
4085 p = "userland char *";
4088 p = "userland struct l_statfs_buf *";
4101 p = "userland struct l_statfs_buf *";
4123 /* linux_socketcall */
4143 p = "userland char *";
4152 /* linux_setitimer */
4159 p = "userland struct l_itimerval *";
4162 p = "userland struct l_itimerval *";
4168 /* linux_getitimer */
4175 p = "userland struct l_itimerval *";
4185 p = "userland char *";
4188 p = "userland struct l_newstat *";
4194 /* linux_newlstat */
4198 p = "userland char *";
4201 p = "userland struct l_newstat *";
4207 /* linux_newfstat */
4214 p = "userland struct l_newstat *";
4246 p = "userland l_int *";
4252 p = "userland void *";
4265 p = "userland struct l_sysinfo *";
4306 /* linux_sigreturn */
4310 p = "userland struct l_sigframe *";
4323 p = "userland void *";
4326 p = "userland void *";
4329 p = "userland void *";
4332 p = "userland void *";
4338 /* linux_setdomainname */
4342 p = "userland char *";
4351 /* linux_newuname */
4355 p = "userland struct l_new_utsname *";
4361 /* linux_modify_ldt */
4368 p = "userland void *";
4377 /* linux_adjtimex */
4380 /* linux_mprotect */
4396 /* linux_sigprocmask */
4403 p = "userland l_osigset_t *";
4406 p = "userland l_osigset_t *";
4412 /* linux_init_module */
4415 /* linux_delete_module */
4418 /* linux_quotactl */
4460 /* linux_personality */
4470 /* linux_setfsuid16 */
4480 /* linux_setfsgid16 */
4503 p = "userland l_loff_t *";
4512 /* linux_getdents */
4519 p = "userland void *";
4535 p = "userland l_fd_set *";
4538 p = "userland l_fd_set *";
4541 p = "userland l_fd_set *";
4544 p = "userland struct l_timeval *";
4586 p = "userland struct iovec *";
4602 p = "userland struct iovec *";
4621 /* linux_fdatasync */
4635 p = "userland struct l___sysctl_args *";
4645 p = "userland const void *";
4658 p = "userland const void *";
4680 /* linux_sched_setparam */
4687 p = "userland struct sched_param *";
4693 /* linux_sched_getparam */
4700 p = "userland struct sched_param *";
4706 /* linux_sched_setscheduler */
4716 p = "userland struct sched_param *";
4722 /* linux_sched_getscheduler */
4735 /* linux_sched_get_priority_max */
4745 /* linux_sched_get_priority_min */
4755 /* linux_sched_rr_get_interval */
4762 p = "userland struct l_timespec *";
4768 /* linux_nanosleep */
4772 p = "userland const struct l_timespec *";
4775 p = "userland struct l_timespec *";
4803 /* linux_setresuid16 */
4819 /* linux_getresuid16 */
4823 p = "userland l_uid16_t *";
4826 p = "userland l_uid16_t *";
4829 p = "userland l_uid16_t *";
4842 p = "userland struct pollfd *";
4854 /* linux_setresgid16 */
4870 /* linux_getresgid16 */
4874 p = "userland l_gid16_t *";
4877 p = "userland l_gid16_t *";
4880 p = "userland l_gid16_t *";
4908 /* linux_rt_sigreturn */
4912 p = "userland struct l_ucontext *";
4918 /* linux_rt_sigaction */
4925 p = "userland l_sigaction_t *";
4928 p = "userland l_sigaction_t *";
4937 /* linux_rt_sigprocmask */
4944 p = "userland l_sigset_t *";
4947 p = "userland l_sigset_t *";
4956 /* linux_rt_sigpending */
4960 p = "userland l_sigset_t *";
4969 /* linux_rt_sigtimedwait */
4973 p = "userland l_sigset_t *";
4976 p = "userland l_siginfo_t *";
4979 p = "userland struct l_timeval *";
4988 /* linux_rt_sigqueueinfo */
4998 p = "userland l_siginfo_t *";
5004 /* linux_rt_sigsuspend */
5008 p = "userland l_sigset_t *";
5024 p = "userland char *";
5043 p = "userland char *";
5059 p = "userland char *";
5075 p = "userland char *";
5088 p = "userland struct l_user_cap_header *";
5091 p = "userland struct l_user_cap_data *";
5101 p = "userland struct l_user_cap_header *";
5104 p = "userland struct l_user_cap_data *";
5110 /* linux_sigaltstack */
5114 p = "userland l_stack_t *";
5117 p = "userland l_stack_t *";
5123 /* linux_sendfile */
5133 p = "userland l_long *";
5145 /* linux_getrlimit */
5152 p = "userland struct l_rlimit *";
5183 /* linux_truncate64 */
5187 p = "userland char *";
5196 /* linux_ftruncate64 */
5213 p = "userland const char *";
5216 p = "userland struct l_stat64 *";
5226 p = "userland const char *";
5229 p = "userland struct l_stat64 *";
5242 p = "userland struct l_stat64 *";
5252 p = "userland char *";
5302 /* linux_getgroups */
5309 p = "userland l_gid_t *";
5315 /* linux_setgroups */
5322 p = "userland l_gid_t *";
5351 p = "userland uid_t *";
5354 p = "userland uid_t *";
5357 p = "userland uid_t *";
5383 p = "userland gid_t *";
5386 p = "userland gid_t *";
5389 p = "userland gid_t *";
5399 p = "userland char *";
5431 /* linux_setfsuid */
5441 /* linux_setfsgid */
5451 /* linux_pivot_root */
5455 p = "userland char *";
5458 p = "userland char *";
5474 p = "userland u_char *";
5484 p = "userland void *";
5496 /* linux_getdents64 */
5503 p = "userland void *";
5531 /* linux_setxattr */
5534 /* linux_lsetxattr */
5537 /* linux_fsetxattr */
5540 /* linux_getxattr */
5543 /* linux_lgetxattr */
5546 /* linux_fgetxattr */
5549 /* linux_listxattr */
5552 /* linux_llistxattr */
5555 /* linux_flistxattr */
5558 /* linux_removexattr */
5561 /* linux_lremovexattr */
5564 /* linux_fremovexattr */
5580 /* linux_sendfile64 */
5590 p = "userland l_loff_t *";
5599 /* linux_sys_futex */
5603 p = "userland void *";
5612 p = "userland struct l_timespec *";
5615 p = "userland uint32_t *";
5624 /* linux_sched_setaffinity */
5634 p = "userland l_ulong *";
5640 /* linux_sched_getaffinity */
5650 p = "userland l_ulong *";
5656 /* linux_set_thread_area */
5660 p = "userland struct l_user_desc *";
5666 /* linux_get_thread_area */
5670 p = "userland struct l_user_desc *";
5676 /* linux_fadvise64 */
5695 /* linux_exit_group */
5705 /* linux_lookup_dcookie */
5708 /* linux_epoll_create */
5718 /* linux_epoll_ctl */
5731 p = "userland struct epoll_event *";
5737 /* linux_epoll_wait */
5744 p = "userland struct epoll_event *";
5756 /* linux_remap_file_pages */
5759 /* linux_set_tid_address */
5763 p = "userland int *";
5769 /* linux_timer_create */
5776 p = "userland struct sigevent *";
5779 p = "userland l_timer_t *";
5785 /* linux_timer_settime */
5795 p = "userland const struct itimerspec *";
5798 p = "userland struct itimerspec *";
5804 /* linux_timer_gettime */
5811 p = "userland struct itimerspec *";
5817 /* linux_timer_getoverrun */
5827 /* linux_timer_delete */
5837 /* linux_clock_settime */
5844 p = "userland struct l_timespec *";
5850 /* linux_clock_gettime */
5857 p = "userland struct l_timespec *";
5863 /* linux_clock_getres */
5870 p = "userland struct l_timespec *";
5876 /* linux_clock_nanosleep */
5886 p = "userland struct l_timespec *";
5889 p = "userland struct l_timespec *";
5895 /* linux_statfs64 */
5899 p = "userland char *";
5905 p = "userland struct l_statfs64_buf *";
5911 /* linux_fstatfs64 */
5921 p = "userland struct l_statfs64_buf *";
5947 p = "userland char *";
5950 p = "userland struct l_timeval *";
5956 /* linux_fadvise64_64 */
5978 /* linux_get_mempolicy */
5981 /* linux_set_mempolicy */
5988 p = "userland const char *";
5997 p = "userland struct mq_attr *";
6003 /* linux_mq_unlink */
6007 p = "userland const char *";
6013 /* linux_mq_timedsend */
6020 p = "userland const char *";
6029 p = "userland const struct l_timespec *";
6035 /* linux_mq_timedreceive */
6042 p = "userland char *";
6051 p = "userland const struct l_timespec *";
6057 /* linux_mq_notify */
6064 p = "userland const struct l_timespec *";
6070 /* linux_mq_getsetattr */
6077 p = "userland const struct mq_attr *";
6080 p = "userland struct mq_attr *";
6086 /* linux_kexec_load */
6099 p = "userland l_siginfo_t *";
6105 p = "userland void *";
6114 /* linux_request_key */
6120 /* linux_ioprio_set */
6123 /* linux_ioprio_get */
6126 /* linux_inotify_init */
6129 /* linux_inotify_add_watch */
6132 /* linux_inotify_rm_watch */
6135 /* linux_migrate_pages */
6145 p = "userland const char *";
6164 p = "userland const char *";
6180 p = "userland const char *";
6192 /* linux_fchownat */
6199 p = "userland const char *";
6214 /* linux_futimesat */
6221 p = "userland char *";
6224 p = "userland struct l_timeval *";
6230 /* linux_fstatat64 */
6237 p = "userland char *";
6240 p = "userland struct l_stat64 *";
6249 /* linux_unlinkat */
6256 p = "userland const char *";
6265 /* linux_renameat */
6272 p = "userland const char *";
6278 p = "userland const char *";
6291 p = "userland const char *";
6297 p = "userland const char *";
6306 /* linux_symlinkat */
6310 p = "userland const char *";
6316 p = "userland const char *";
6322 /* linux_readlinkat */
6329 p = "userland const char *";
6332 p = "userland char *";
6341 /* linux_fchmodat */
6348 p = "userland const char *";
6357 /* linux_faccessat */
6364 p = "userland const char *";
6373 /* linux_pselect6 */
6380 p = "userland l_fd_set *";
6383 p = "userland l_fd_set *";
6386 p = "userland l_fd_set *";
6389 p = "userland struct l_timespec *";
6392 p = "userland l_uintptr_t *";
6402 p = "userland struct pollfd *";
6408 p = "userland struct l_timespec *";
6411 p = "userland l_sigset_t *";
6423 /* linux_set_robust_list */
6427 p = "userland struct linux_robust_list_head *";
6436 /* linux_get_robust_list */
6443 p = "userland struct linux_robust_list_head **";
6446 p = "userland l_size_t *";
6455 /* linux_sync_file_range */
6477 /* linux_vmsplice */
6480 /* linux_move_pages */
6487 p = "userland l_uint *";
6490 p = "userland l_uint *";
6493 p = "userland void *";
6499 /* linux_epoll_pwait */
6506 p = "userland struct epoll_event *";
6515 p = "userland l_sigset_t *";
6524 /* linux_utimensat */
6531 p = "userland const char *";
6534 p = "userland const struct l_timespec *";
6543 /* linux_signalfd */
6546 /* linux_timerfd_create */
6569 /* linux_fallocate */
6588 /* linux_timerfd_settime */
6598 p = "userland const struct l_itimerspec *";
6601 p = "userland struct l_itimerspec *";
6607 /* linux_timerfd_gettime */
6614 p = "userland struct l_itimerspec *";
6620 /* linux_signalfd4 */
6623 /* linux_eventfd2 */
6636 /* linux_epoll_create1 */
6666 p = "userland l_int *";
6675 /* linux_inotify_init1 */
6685 p = "userland struct iovec *";
6707 p = "userland struct iovec *";
6722 /* linux_rt_tgsigqueueinfo */
6735 p = "userland l_siginfo_t *";
6741 /* linux_perf_event_open */
6744 /* linux_recvmmsg */
6751 p = "userland struct l_mmsghdr *";
6760 p = "userland struct l_timespec *";
6766 /* linux_fanotify_init */
6769 /* linux_fanotify_mark */
6772 /* linux_prlimit64 */
6782 p = "userland struct rlimit *";
6785 p = "userland struct rlimit *";
6791 /* linux_name_to_handle_at */
6794 /* linux_open_by_handle_at */
6797 /* linux_clock_adjtime */
6810 /* linux_sendmmsg */
6817 p = "userland struct l_mmsghdr *";
6832 /* linux_process_vm_readv */
6839 p = "userland const struct iovec *";
6845 p = "userland const struct iovec *";
6857 /* linux_process_vm_writev */
6864 p = "userland const struct iovec *";
6870 p = "userland const struct iovec *";
6904 /* linux_finit_module */
6911 p = "userland const char *";
6920 /* linux_sched_setattr */
6927 p = "userland void *";
6936 /* linux_sched_getattr */
6943 p = "userland void *";
6955 /* linux_renameat2 */
6962 p = "userland const char *";
6968 p = "userland const char *";
6987 p = "userland const char *";
6993 /* linux_getrandom */
6997 p = "userland char *";
7009 /* linux_memfd_create */
7013 p = "userland const char *";
7029 p = "userland void *";
7038 /* linux_execveat */
7045 p = "userland const char *";
7048 p = "userland const char **";
7051 p = "userland const char **";
7076 /* linux_socketpair */
7159 /* linux_getsockopt */
7181 /* linux_setsockopt */
7203 /* linux_getsockname */
7219 /* linux_getpeername */
7276 /* linux_recvfrom */
7317 /* linux_shutdown */
7330 /* linux_userfaultfd */
7340 /* linux_membarrier */
7369 /* linux_copy_file_range */
7376 p = "userland l_loff_t *";
7382 p = "userland l_loff_t *";
7401 p = "userland const struct iovec *";
7419 /* linux_pwritev2 */
7426 p = "userland const struct iovec *";
7444 /* linux_pkey_mprotect */
7463 /* linux_pkey_alloc */
7476 /* linux_pkey_free */
7493 p = "userland const char *";
7502 p = "userland void *";
7508 /* linux_arch_prctl */
7521 /* linux_io_pgetevents */
7556 p = "union l_semun";
7588 p = "userland struct l_shmid_ds *";
7601 p = "userland char *";
7614 p = "userland char *";
7640 p = "userland struct l_msgbuf *";
7659 p = "userland struct l_msgbuf *";
7684 p = "userland struct l_msqid_ds *";
7690 /* linux_clock_gettime64 */
7693 /* linux_clock_settime64 */
7696 /* linux_clock_adjtime64 */
7699 /* linux_clock_getres_time64 */
7702 /* linux_clock_nanosleep_time64 */
7705 /* linux_timer_gettime64 */
7708 /* linux_timer_settime64 */
7711 /* linux_timerfd_gettime64 */
7714 /* linux_timerfd_settime64 */
7717 /* linux_utimensat_time64 */
7720 /* linux_pselect6_time64 */
7723 /* linux_ppoll_time64 */
7726 /* linux_io_pgetevents_time64 */
7729 /* linux_recvmmsg_time64 */
7732 /* linux_mq_timedsend_time64 */
7735 /* linux_mq_timedreceive_time64 */
7738 /* linux_semtimedop_time64 */
7741 /* linux_rt_sigtimedwait_time64 */
7744 /* linux_futex_time64 */
7747 /* linux_sched_rr_get_interval_time64 */
7750 /* linux_pidfd_send_signal */
7760 p = "userland l_siginfo_t *";
7769 /* linux_io_uring_setup */
7772 /* linux_io_uring_enter */
7775 /* linux_io_uring_register */
7782 strlcpy(desc, p, descsz);
7785 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7787 const char *p = NULL;
7789 #define nosys linux_nosys
7792 if (ndx == 0 || ndx == 1)
7799 if (ndx == 0 || ndx == 1)
7804 if (ndx == 0 || ndx == 1)
7809 if (ndx == 0 || ndx == 1)
7814 if (ndx == 0 || ndx == 1)
7819 if (ndx == 0 || ndx == 1)
7824 if (ndx == 0 || ndx == 1)
7829 if (ndx == 0 || ndx == 1)
7834 if (ndx == 0 || ndx == 1)
7839 if (ndx == 0 || ndx == 1)
7844 if (ndx == 0 || ndx == 1)
7849 if (ndx == 0 || ndx == 1)
7854 if (ndx == 0 || ndx == 1)
7859 if (ndx == 0 || ndx == 1)
7862 /* linux_lchown16 */
7864 if (ndx == 0 || ndx == 1)
7869 if (ndx == 0 || ndx == 1)
7874 if (ndx == 0 || ndx == 1)
7881 if (ndx == 0 || ndx == 1)
7884 /* linux_oldumount */
7886 if (ndx == 0 || ndx == 1)
7889 /* linux_setuid16 */
7891 if (ndx == 0 || ndx == 1)
7894 /* linux_getuid16 */
7900 if (ndx == 0 || ndx == 1)
7905 if (ndx == 0 || ndx == 1)
7910 if (ndx == 0 || ndx == 1)
7917 if (ndx == 0 || ndx == 1)
7922 if (ndx == 0 || ndx == 1)
7927 if (ndx == 0 || ndx == 1)
7934 if (ndx == 0 || ndx == 1)
7939 if (ndx == 0 || ndx == 1)
7944 if (ndx == 0 || ndx == 1)
7949 if (ndx == 0 || ndx == 1)
7954 if (ndx == 0 || ndx == 1)
7959 if (ndx == 0 || ndx == 1)
7964 if (ndx == 0 || ndx == 1)
7969 if (ndx == 0 || ndx == 1)
7972 /* linux_setgid16 */
7974 if (ndx == 0 || ndx == 1)
7977 /* linux_getgid16 */
7981 if (ndx == 0 || ndx == 1)
7984 /* linux_geteuid16 */
7986 /* linux_getegid16 */
7990 if (ndx == 0 || ndx == 1)
7995 if (ndx == 0 || ndx == 1)
8000 if (ndx == 0 || ndx == 1)
8005 if (ndx == 0 || ndx == 1)
8010 if (ndx == 0 || ndx == 1)
8013 /* linux_olduname */
8017 if (ndx == 0 || ndx == 1)
8022 if (ndx == 0 || ndx == 1)
8027 if (ndx == 0 || ndx == 1)
8032 if (ndx == 0 || ndx == 1)
8041 /* linux_sigaction */
8043 if (ndx == 0 || ndx == 1)
8046 /* linux_sgetmask */
8048 /* linux_ssetmask */
8050 if (ndx == 0 || ndx == 1)
8053 /* linux_setreuid16 */
8055 if (ndx == 0 || ndx == 1)
8058 /* linux_setregid16 */
8060 if (ndx == 0 || ndx == 1)
8063 /* linux_sigsuspend */
8065 if (ndx == 0 || ndx == 1)
8068 /* linux_sigpending */
8070 if (ndx == 0 || ndx == 1)
8073 /* linux_sethostname */
8075 if (ndx == 0 || ndx == 1)
8078 /* linux_setrlimit */
8080 if (ndx == 0 || ndx == 1)
8083 /* linux_old_getrlimit */
8085 if (ndx == 0 || ndx == 1)
8090 if (ndx == 0 || ndx == 1)
8095 if (ndx == 0 || ndx == 1)
8100 if (ndx == 0 || ndx == 1)
8103 /* linux_getgroups16 */
8105 if (ndx == 0 || ndx == 1)
8108 /* linux_setgroups16 */
8110 if (ndx == 0 || ndx == 1)
8113 /* linux_old_select */
8115 if (ndx == 0 || ndx == 1)
8120 if (ndx == 0 || ndx == 1)
8125 if (ndx == 0 || ndx == 1)
8128 /* linux_readlink */
8130 if (ndx == 0 || ndx == 1)
8135 if (ndx == 0 || ndx == 1)
8140 if (ndx == 0 || ndx == 1)
8145 if (ndx == 0 || ndx == 1)
8150 if (ndx == 0 || ndx == 1)
8155 if (ndx == 0 || ndx == 1)
8160 if (ndx == 0 || ndx == 1)
8163 /* linux_truncate */
8165 if (ndx == 0 || ndx == 1)
8168 /* linux_ftruncate */
8170 if (ndx == 0 || ndx == 1)
8175 if (ndx == 0 || ndx == 1)
8180 if (ndx == 0 || ndx == 1)
8183 /* linux_getpriority */
8185 if (ndx == 0 || ndx == 1)
8190 if (ndx == 0 || ndx == 1)
8195 if (ndx == 0 || ndx == 1)
8200 if (ndx == 0 || ndx == 1)
8205 if (ndx == 0 || ndx == 1)
8208 /* linux_socketcall */
8210 if (ndx == 0 || ndx == 1)
8215 if (ndx == 0 || ndx == 1)
8218 /* linux_setitimer */
8220 if (ndx == 0 || ndx == 1)
8223 /* linux_getitimer */
8225 if (ndx == 0 || ndx == 1)
8230 if (ndx == 0 || ndx == 1)
8233 /* linux_newlstat */
8235 if (ndx == 0 || ndx == 1)
8238 /* linux_newfstat */
8240 if (ndx == 0 || ndx == 1)
8247 if (ndx == 0 || ndx == 1)
8256 if (ndx == 0 || ndx == 1)
8263 if (ndx == 0 || ndx == 1)
8268 if (ndx == 0 || ndx == 1)
8273 if (ndx == 0 || ndx == 1)
8276 /* linux_sigreturn */
8278 if (ndx == 0 || ndx == 1)
8283 if (ndx == 0 || ndx == 1)
8286 /* linux_setdomainname */
8288 if (ndx == 0 || ndx == 1)
8291 /* linux_newuname */
8293 if (ndx == 0 || ndx == 1)
8296 /* linux_modify_ldt */
8298 if (ndx == 0 || ndx == 1)
8301 /* linux_adjtimex */
8303 /* linux_mprotect */
8305 if (ndx == 0 || ndx == 1)
8308 /* linux_sigprocmask */
8310 if (ndx == 0 || ndx == 1)
8313 /* linux_init_module */
8315 /* linux_delete_module */
8317 /* linux_quotactl */
8321 if (ndx == 0 || ndx == 1)
8326 if (ndx == 0 || ndx == 1)
8333 if (ndx == 0 || ndx == 1)
8336 /* linux_personality */
8338 if (ndx == 0 || ndx == 1)
8341 /* linux_setfsuid16 */
8343 if (ndx == 0 || ndx == 1)
8346 /* linux_setfsgid16 */
8348 if (ndx == 0 || ndx == 1)
8353 if (ndx == 0 || ndx == 1)
8356 /* linux_getdents */
8358 if (ndx == 0 || ndx == 1)
8363 if (ndx == 0 || ndx == 1)
8368 if (ndx == 0 || ndx == 1)
8373 if (ndx == 0 || ndx == 1)
8378 if (ndx == 0 || ndx == 1)
8383 if (ndx == 0 || ndx == 1)
8388 if (ndx == 0 || ndx == 1)
8391 /* linux_fdatasync */
8393 if (ndx == 0 || ndx == 1)
8398 if (ndx == 0 || ndx == 1)
8403 if (ndx == 0 || ndx == 1)
8408 if (ndx == 0 || ndx == 1)
8413 if (ndx == 0 || ndx == 1)
8418 /* linux_sched_setparam */
8420 if (ndx == 0 || ndx == 1)
8423 /* linux_sched_getparam */
8425 if (ndx == 0 || ndx == 1)
8428 /* linux_sched_setscheduler */
8430 if (ndx == 0 || ndx == 1)
8433 /* linux_sched_getscheduler */
8435 if (ndx == 0 || ndx == 1)
8440 /* linux_sched_get_priority_max */
8442 if (ndx == 0 || ndx == 1)
8445 /* linux_sched_get_priority_min */
8447 if (ndx == 0 || ndx == 1)
8450 /* linux_sched_rr_get_interval */
8452 if (ndx == 0 || ndx == 1)
8455 /* linux_nanosleep */
8457 if (ndx == 0 || ndx == 1)
8462 if (ndx == 0 || ndx == 1)
8465 /* linux_setresuid16 */
8467 if (ndx == 0 || ndx == 1)
8470 /* linux_getresuid16 */
8472 if (ndx == 0 || ndx == 1)
8479 if (ndx == 0 || ndx == 1)
8482 /* linux_setresgid16 */
8484 if (ndx == 0 || ndx == 1)
8487 /* linux_getresgid16 */
8489 if (ndx == 0 || ndx == 1)
8494 if (ndx == 0 || ndx == 1)
8497 /* linux_rt_sigreturn */
8499 if (ndx == 0 || ndx == 1)
8502 /* linux_rt_sigaction */
8504 if (ndx == 0 || ndx == 1)
8507 /* linux_rt_sigprocmask */
8509 if (ndx == 0 || ndx == 1)
8512 /* linux_rt_sigpending */
8514 if (ndx == 0 || ndx == 1)
8517 /* linux_rt_sigtimedwait */
8519 if (ndx == 0 || ndx == 1)
8522 /* linux_rt_sigqueueinfo */
8524 if (ndx == 0 || ndx == 1)
8527 /* linux_rt_sigsuspend */
8529 if (ndx == 0 || ndx == 1)
8534 if (ndx == 0 || ndx == 1)
8539 if (ndx == 0 || ndx == 1)
8544 if (ndx == 0 || ndx == 1)
8549 if (ndx == 0 || ndx == 1)
8554 if (ndx == 0 || ndx == 1)
8559 if (ndx == 0 || ndx == 1)
8562 /* linux_sigaltstack */
8564 if (ndx == 0 || ndx == 1)
8567 /* linux_sendfile */
8569 if (ndx == 0 || ndx == 1)
8574 /* linux_getrlimit */
8576 if (ndx == 0 || ndx == 1)
8581 if (ndx == 0 || ndx == 1)
8584 /* linux_truncate64 */
8586 if (ndx == 0 || ndx == 1)
8589 /* linux_ftruncate64 */
8591 if (ndx == 0 || ndx == 1)
8596 if (ndx == 0 || ndx == 1)
8601 if (ndx == 0 || ndx == 1)
8606 if (ndx == 0 || ndx == 1)
8611 if (ndx == 0 || ndx == 1)
8624 if (ndx == 0 || ndx == 1)
8629 if (ndx == 0 || ndx == 1)
8632 /* linux_getgroups */
8634 if (ndx == 0 || ndx == 1)
8637 /* linux_setgroups */
8639 if (ndx == 0 || ndx == 1)
8646 if (ndx == 0 || ndx == 1)
8651 if (ndx == 0 || ndx == 1)
8656 if (ndx == 0 || ndx == 1)
8661 if (ndx == 0 || ndx == 1)
8666 if (ndx == 0 || ndx == 1)
8671 if (ndx == 0 || ndx == 1)
8676 if (ndx == 0 || ndx == 1)
8679 /* linux_setfsuid */
8681 if (ndx == 0 || ndx == 1)
8684 /* linux_setfsgid */
8686 if (ndx == 0 || ndx == 1)
8689 /* linux_pivot_root */
8691 if (ndx == 0 || ndx == 1)
8696 if (ndx == 0 || ndx == 1)
8701 if (ndx == 0 || ndx == 1)
8704 /* linux_getdents64 */
8706 if (ndx == 0 || ndx == 1)
8711 if (ndx == 0 || ndx == 1)
8716 /* linux_setxattr */
8718 /* linux_lsetxattr */
8720 /* linux_fsetxattr */
8722 /* linux_getxattr */
8724 /* linux_lgetxattr */
8726 /* linux_fgetxattr */
8728 /* linux_listxattr */
8730 /* linux_llistxattr */
8732 /* linux_flistxattr */
8734 /* linux_removexattr */
8736 /* linux_lremovexattr */
8738 /* linux_fremovexattr */
8742 if (ndx == 0 || ndx == 1)
8745 /* linux_sendfile64 */
8747 if (ndx == 0 || ndx == 1)
8750 /* linux_sys_futex */
8752 if (ndx == 0 || ndx == 1)
8755 /* linux_sched_setaffinity */
8757 if (ndx == 0 || ndx == 1)
8760 /* linux_sched_getaffinity */
8762 if (ndx == 0 || ndx == 1)
8765 /* linux_set_thread_area */
8767 if (ndx == 0 || ndx == 1)
8770 /* linux_get_thread_area */
8772 if (ndx == 0 || ndx == 1)
8775 /* linux_fadvise64 */
8777 if (ndx == 0 || ndx == 1)
8780 /* linux_exit_group */
8782 if (ndx == 0 || ndx == 1)
8785 /* linux_lookup_dcookie */
8787 /* linux_epoll_create */
8789 if (ndx == 0 || ndx == 1)
8792 /* linux_epoll_ctl */
8794 if (ndx == 0 || ndx == 1)
8797 /* linux_epoll_wait */
8799 if (ndx == 0 || ndx == 1)
8802 /* linux_remap_file_pages */
8804 /* linux_set_tid_address */
8806 if (ndx == 0 || ndx == 1)
8809 /* linux_timer_create */
8811 if (ndx == 0 || ndx == 1)
8814 /* linux_timer_settime */
8816 if (ndx == 0 || ndx == 1)
8819 /* linux_timer_gettime */
8821 if (ndx == 0 || ndx == 1)
8824 /* linux_timer_getoverrun */
8826 if (ndx == 0 || ndx == 1)
8829 /* linux_timer_delete */
8831 if (ndx == 0 || ndx == 1)
8834 /* linux_clock_settime */
8836 if (ndx == 0 || ndx == 1)
8839 /* linux_clock_gettime */
8841 if (ndx == 0 || ndx == 1)
8844 /* linux_clock_getres */
8846 if (ndx == 0 || ndx == 1)
8849 /* linux_clock_nanosleep */
8851 if (ndx == 0 || ndx == 1)
8854 /* linux_statfs64 */
8856 if (ndx == 0 || ndx == 1)
8859 /* linux_fstatfs64 */
8861 if (ndx == 0 || ndx == 1)
8866 if (ndx == 0 || ndx == 1)
8871 if (ndx == 0 || ndx == 1)
8874 /* linux_fadvise64_64 */
8876 if (ndx == 0 || ndx == 1)
8881 /* linux_get_mempolicy */
8883 /* linux_set_mempolicy */
8887 if (ndx == 0 || ndx == 1)
8890 /* linux_mq_unlink */
8892 if (ndx == 0 || ndx == 1)
8895 /* linux_mq_timedsend */
8897 if (ndx == 0 || ndx == 1)
8900 /* linux_mq_timedreceive */
8902 if (ndx == 0 || ndx == 1)
8905 /* linux_mq_notify */
8907 if (ndx == 0 || ndx == 1)
8910 /* linux_mq_getsetattr */
8912 if (ndx == 0 || ndx == 1)
8915 /* linux_kexec_load */
8919 if (ndx == 0 || ndx == 1)
8924 /* linux_request_key */
8928 /* linux_ioprio_set */
8930 /* linux_ioprio_get */
8932 /* linux_inotify_init */
8934 /* linux_inotify_add_watch */
8936 /* linux_inotify_rm_watch */
8938 /* linux_migrate_pages */
8942 if (ndx == 0 || ndx == 1)
8947 if (ndx == 0 || ndx == 1)
8952 if (ndx == 0 || ndx == 1)
8955 /* linux_fchownat */
8957 if (ndx == 0 || ndx == 1)
8960 /* linux_futimesat */
8962 if (ndx == 0 || ndx == 1)
8965 /* linux_fstatat64 */
8967 if (ndx == 0 || ndx == 1)
8970 /* linux_unlinkat */
8972 if (ndx == 0 || ndx == 1)
8975 /* linux_renameat */
8977 if (ndx == 0 || ndx == 1)
8982 if (ndx == 0 || ndx == 1)
8985 /* linux_symlinkat */
8987 if (ndx == 0 || ndx == 1)
8990 /* linux_readlinkat */
8992 if (ndx == 0 || ndx == 1)
8995 /* linux_fchmodat */
8997 if (ndx == 0 || ndx == 1)
9000 /* linux_faccessat */
9002 if (ndx == 0 || ndx == 1)
9005 /* linux_pselect6 */
9007 if (ndx == 0 || ndx == 1)
9012 if (ndx == 0 || ndx == 1)
9017 /* linux_set_robust_list */
9019 if (ndx == 0 || ndx == 1)
9022 /* linux_get_robust_list */
9024 if (ndx == 0 || ndx == 1)
9029 /* linux_sync_file_range */
9031 if (ndx == 0 || ndx == 1)
9036 /* linux_vmsplice */
9038 /* linux_move_pages */
9042 if (ndx == 0 || ndx == 1)
9045 /* linux_epoll_pwait */
9047 if (ndx == 0 || ndx == 1)
9050 /* linux_utimensat */
9052 if (ndx == 0 || ndx == 1)
9055 /* linux_signalfd */
9057 /* linux_timerfd_create */
9059 if (ndx == 0 || ndx == 1)
9064 if (ndx == 0 || ndx == 1)
9067 /* linux_fallocate */
9069 if (ndx == 0 || ndx == 1)
9072 /* linux_timerfd_settime */
9074 if (ndx == 0 || ndx == 1)
9077 /* linux_timerfd_gettime */
9079 if (ndx == 0 || ndx == 1)
9082 /* linux_signalfd4 */
9084 /* linux_eventfd2 */
9086 if (ndx == 0 || ndx == 1)
9089 /* linux_epoll_create1 */
9091 if (ndx == 0 || ndx == 1)
9096 if (ndx == 0 || ndx == 1)
9101 if (ndx == 0 || ndx == 1)
9104 /* linux_inotify_init1 */
9108 if (ndx == 0 || ndx == 1)
9113 if (ndx == 0 || ndx == 1)
9116 /* linux_rt_tgsigqueueinfo */
9118 if (ndx == 0 || ndx == 1)
9121 /* linux_perf_event_open */
9123 /* linux_recvmmsg */
9125 if (ndx == 0 || ndx == 1)
9128 /* linux_fanotify_init */
9130 /* linux_fanotify_mark */
9132 /* linux_prlimit64 */
9134 if (ndx == 0 || ndx == 1)
9137 /* linux_name_to_handle_at */
9139 /* linux_open_by_handle_at */
9141 /* linux_clock_adjtime */
9145 if (ndx == 0 || ndx == 1)
9148 /* linux_sendmmsg */
9150 if (ndx == 0 || ndx == 1)
9155 /* linux_process_vm_readv */
9157 if (ndx == 0 || ndx == 1)
9160 /* linux_process_vm_writev */
9162 if (ndx == 0 || ndx == 1)
9167 if (ndx == 0 || ndx == 1)
9170 /* linux_finit_module */
9172 if (ndx == 0 || ndx == 1)
9175 /* linux_sched_setattr */
9177 if (ndx == 0 || ndx == 1)
9180 /* linux_sched_getattr */
9182 if (ndx == 0 || ndx == 1)
9185 /* linux_renameat2 */
9187 if (ndx == 0 || ndx == 1)
9192 if (ndx == 0 || ndx == 1)
9195 /* linux_getrandom */
9197 if (ndx == 0 || ndx == 1)
9200 /* linux_memfd_create */
9202 if (ndx == 0 || ndx == 1)
9207 if (ndx == 0 || ndx == 1)
9210 /* linux_execveat */
9212 if (ndx == 0 || ndx == 1)
9217 if (ndx == 0 || ndx == 1)
9220 /* linux_socketpair */
9222 if (ndx == 0 || ndx == 1)
9227 if (ndx == 0 || ndx == 1)
9232 if (ndx == 0 || ndx == 1)
9237 if (ndx == 0 || ndx == 1)
9242 if (ndx == 0 || ndx == 1)
9245 /* linux_getsockopt */
9247 if (ndx == 0 || ndx == 1)
9250 /* linux_setsockopt */
9252 if (ndx == 0 || ndx == 1)
9255 /* linux_getsockname */
9257 if (ndx == 0 || ndx == 1)
9260 /* linux_getpeername */
9262 if (ndx == 0 || ndx == 1)
9267 if (ndx == 0 || ndx == 1)
9272 if (ndx == 0 || ndx == 1)
9275 /* linux_recvfrom */
9277 if (ndx == 0 || ndx == 1)
9282 if (ndx == 0 || ndx == 1)
9285 /* linux_shutdown */
9287 if (ndx == 0 || ndx == 1)
9290 /* linux_userfaultfd */
9292 if (ndx == 0 || ndx == 1)
9295 /* linux_membarrier */
9297 if (ndx == 0 || ndx == 1)
9302 if (ndx == 0 || ndx == 1)
9305 /* linux_copy_file_range */
9307 if (ndx == 0 || ndx == 1)
9312 if (ndx == 0 || ndx == 1)
9315 /* linux_pwritev2 */
9317 if (ndx == 0 || ndx == 1)
9320 /* linux_pkey_mprotect */
9322 if (ndx == 0 || ndx == 1)
9325 /* linux_pkey_alloc */
9327 if (ndx == 0 || ndx == 1)
9330 /* linux_pkey_free */
9332 if (ndx == 0 || ndx == 1)
9337 if (ndx == 0 || ndx == 1)
9340 /* linux_arch_prctl */
9342 if (ndx == 0 || ndx == 1)
9345 /* linux_io_pgetevents */
9351 if (ndx == 0 || ndx == 1)
9356 if (ndx == 0 || ndx == 1)
9361 if (ndx == 0 || ndx == 1)
9366 if (ndx == 0 || ndx == 1)
9371 if (ndx == 0 || ndx == 1)
9376 if (ndx == 0 || ndx == 1)
9381 if (ndx == 0 || ndx == 1)
9386 if (ndx == 0 || ndx == 1)
9391 if (ndx == 0 || ndx == 1)
9396 if (ndx == 0 || ndx == 1)
9399 /* linux_clock_gettime64 */
9401 /* linux_clock_settime64 */
9403 /* linux_clock_adjtime64 */
9405 /* linux_clock_getres_time64 */
9407 /* linux_clock_nanosleep_time64 */
9409 /* linux_timer_gettime64 */
9411 /* linux_timer_settime64 */
9413 /* linux_timerfd_gettime64 */
9415 /* linux_timerfd_settime64 */
9417 /* linux_utimensat_time64 */
9419 /* linux_pselect6_time64 */
9421 /* linux_ppoll_time64 */
9423 /* linux_io_pgetevents_time64 */
9425 /* linux_recvmmsg_time64 */
9427 /* linux_mq_timedsend_time64 */
9429 /* linux_mq_timedreceive_time64 */
9431 /* linux_semtimedop_time64 */
9433 /* linux_rt_sigtimedwait_time64 */
9435 /* linux_futex_time64 */
9437 /* linux_sched_rr_get_interval_time64 */
9439 /* linux_pidfd_send_signal */
9441 if (ndx == 0 || ndx == 1)
9444 /* linux_io_uring_setup */
9446 /* linux_io_uring_enter */
9448 /* linux_io_uring_register */
9454 strlcpy(desc, p, descsz);