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;
15 #define nosys linux_nosys
18 struct linux_exit_args *p = params;
19 iarg[a++] = p->rval; /* int */
30 struct read_args *p = params;
31 iarg[a++] = p->fd; /* int */
32 uarg[a++] = (intptr_t)p->buf; /* char * */
33 uarg[a++] = p->nbyte; /* u_int */
39 struct write_args *p = params;
40 iarg[a++] = p->fd; /* int */
41 uarg[a++] = (intptr_t)p->buf; /* char * */
42 uarg[a++] = p->nbyte; /* u_int */
48 struct linux_open_args *p = params;
49 uarg[a++] = (intptr_t)p->path; /* char * */
50 iarg[a++] = p->flags; /* l_int */
51 iarg[a++] = p->mode; /* l_int */
57 struct close_args *p = params;
58 iarg[a++] = p->fd; /* int */
64 struct linux_waitpid_args *p = params;
65 iarg[a++] = p->pid; /* l_pid_t */
66 uarg[a++] = (intptr_t)p->status; /* l_int * */
67 iarg[a++] = p->options; /* l_int */
73 struct linux_creat_args *p = params;
74 uarg[a++] = (intptr_t)p->path; /* char * */
75 iarg[a++] = p->mode; /* l_int */
81 struct linux_link_args *p = params;
82 uarg[a++] = (intptr_t)p->path; /* char * */
83 uarg[a++] = (intptr_t)p->to; /* char * */
89 struct linux_unlink_args *p = params;
90 uarg[a++] = (intptr_t)p->path; /* char * */
96 struct linux_execve_args *p = params;
97 uarg[a++] = (intptr_t)p->path; /* char * */
98 uarg[a++] = (intptr_t)p->argp; /* char ** */
99 uarg[a++] = (intptr_t)p->envp; /* char ** */
105 struct linux_chdir_args *p = params;
106 uarg[a++] = (intptr_t)p->path; /* char * */
112 struct linux_time_args *p = params;
113 uarg[a++] = (intptr_t)p->tm; /* l_time_t * */
119 struct linux_mknod_args *p = params;
120 uarg[a++] = (intptr_t)p->path; /* char * */
121 iarg[a++] = p->mode; /* l_int */
122 iarg[a++] = p->dev; /* l_dev_t */
128 struct linux_chmod_args *p = params;
129 uarg[a++] = (intptr_t)p->path; /* char * */
130 iarg[a++] = p->mode; /* l_mode_t */
136 struct linux_lchown16_args *p = params;
137 uarg[a++] = (intptr_t)p->path; /* char * */
138 iarg[a++] = p->uid; /* l_uid16_t */
139 iarg[a++] = p->gid; /* l_gid16_t */
145 struct linux_stat_args *p = params;
146 uarg[a++] = (intptr_t)p->path; /* char * */
147 uarg[a++] = (intptr_t)p->up; /* struct l_old_stat * */
153 struct linux_lseek_args *p = params;
154 iarg[a++] = p->fdes; /* l_uint */
155 iarg[a++] = p->off; /* l_off_t */
156 iarg[a++] = p->whence; /* l_int */
167 struct linux_mount_args *p = params;
168 uarg[a++] = (intptr_t)p->specialfile; /* char * */
169 uarg[a++] = (intptr_t)p->dir; /* char * */
170 uarg[a++] = (intptr_t)p->filesystemtype; /* char * */
171 iarg[a++] = p->rwflag; /* l_ulong */
172 uarg[a++] = (intptr_t)p->data; /* void * */
176 /* linux_oldumount */
178 struct linux_oldumount_args *p = params;
179 uarg[a++] = (intptr_t)p->path; /* char * */
185 struct linux_setuid16_args *p = params;
186 iarg[a++] = p->uid; /* l_uid16_t */
202 struct linux_ptrace_args *p = params;
203 iarg[a++] = p->req; /* l_long */
204 iarg[a++] = p->pid; /* l_long */
205 iarg[a++] = p->addr; /* l_long */
206 iarg[a++] = p->data; /* l_long */
212 struct linux_alarm_args *p = params;
213 iarg[a++] = p->secs; /* l_uint */
224 struct linux_utime_args *p = params;
225 uarg[a++] = (intptr_t)p->fname; /* char * */
226 uarg[a++] = (intptr_t)p->times; /* struct l_utimbuf * */
232 struct linux_access_args *p = params;
233 uarg[a++] = (intptr_t)p->path; /* char * */
234 iarg[a++] = p->amode; /* l_int */
240 struct linux_nice_args *p = params;
241 iarg[a++] = p->inc; /* l_int */
252 struct linux_kill_args *p = params;
253 iarg[a++] = p->pid; /* l_int */
254 iarg[a++] = p->signum; /* l_int */
260 struct linux_rename_args *p = params;
261 uarg[a++] = (intptr_t)p->from; /* char * */
262 uarg[a++] = (intptr_t)p->to; /* char * */
268 struct linux_mkdir_args *p = params;
269 uarg[a++] = (intptr_t)p->path; /* char * */
270 iarg[a++] = p->mode; /* l_int */
276 struct linux_rmdir_args *p = params;
277 uarg[a++] = (intptr_t)p->path; /* char * */
283 struct dup_args *p = params;
284 uarg[a++] = p->fd; /* u_int */
290 struct linux_pipe_args *p = params;
291 uarg[a++] = (intptr_t)p->pipefds; /* l_int * */
297 struct linux_times_args *p = params;
298 uarg[a++] = (intptr_t)p->buf; /* struct l_times_argv * */
304 struct linux_brk_args *p = params;
305 iarg[a++] = p->dsend; /* l_ulong */
311 struct linux_setgid16_args *p = params;
312 iarg[a++] = p->gid; /* l_gid16_t */
323 struct linux_signal_args *p = params;
324 iarg[a++] = p->sig; /* l_int */
325 uarg[a++] = (intptr_t)p->handler; /* void * */
329 /* linux_geteuid16 */
334 /* linux_getegid16 */
341 struct acct_args *p = params;
342 uarg[a++] = (intptr_t)p->path; /* char * */
348 struct linux_umount_args *p = params;
349 uarg[a++] = (intptr_t)p->path; /* char * */
350 iarg[a++] = p->flags; /* l_int */
356 struct linux_ioctl_args *p = params;
357 iarg[a++] = p->fd; /* l_uint */
358 iarg[a++] = p->cmd; /* l_uint */
359 iarg[a++] = p->arg; /* l_ulong */
365 struct linux_fcntl_args *p = params;
366 iarg[a++] = p->fd; /* l_uint */
367 iarg[a++] = p->cmd; /* l_uint */
368 iarg[a++] = p->arg; /* l_ulong */
374 struct setpgid_args *p = params;
375 iarg[a++] = p->pid; /* int */
376 iarg[a++] = p->pgid; /* int */
387 struct umask_args *p = params;
388 iarg[a++] = p->newmask; /* int */
394 struct chroot_args *p = params;
395 uarg[a++] = (intptr_t)p->path; /* char * */
401 struct linux_ustat_args *p = params;
402 iarg[a++] = p->dev; /* l_dev_t */
403 uarg[a++] = (intptr_t)p->ubuf; /* struct l_ustat * */
409 struct dup2_args *p = params;
410 uarg[a++] = p->from; /* u_int */
411 uarg[a++] = p->to; /* u_int */
430 /* linux_sigaction */
432 struct linux_sigaction_args *p = params;
433 iarg[a++] = p->sig; /* l_int */
434 uarg[a++] = (intptr_t)p->nsa; /* l_osigaction_t * */
435 uarg[a++] = (intptr_t)p->osa; /* l_osigaction_t * */
446 struct linux_ssetmask_args *p = params;
447 iarg[a++] = p->mask; /* l_osigset_t */
451 /* linux_setreuid16 */
453 struct linux_setreuid16_args *p = params;
454 iarg[a++] = p->ruid; /* l_uid16_t */
455 iarg[a++] = p->euid; /* l_uid16_t */
459 /* linux_setregid16 */
461 struct linux_setregid16_args *p = params;
462 iarg[a++] = p->rgid; /* l_gid16_t */
463 iarg[a++] = p->egid; /* l_gid16_t */
467 /* linux_sigsuspend */
469 struct linux_sigsuspend_args *p = params;
470 iarg[a++] = p->hist0; /* l_int */
471 iarg[a++] = p->hist1; /* l_int */
472 iarg[a++] = p->mask; /* l_osigset_t */
476 /* linux_sigpending */
478 struct linux_sigpending_args *p = params;
479 uarg[a++] = (intptr_t)p->mask; /* l_osigset_t * */
483 /* linux_sethostname */
485 struct linux_sethostname_args *p = params;
486 uarg[a++] = (intptr_t)p->hostname; /* char * */
487 uarg[a++] = p->len; /* u_int */
491 /* linux_setrlimit */
493 struct linux_setrlimit_args *p = params;
494 iarg[a++] = p->resource; /* l_uint */
495 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
499 /* linux_old_getrlimit */
501 struct linux_old_getrlimit_args *p = params;
502 iarg[a++] = p->resource; /* l_uint */
503 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
509 struct getrusage_args *p = params;
510 iarg[a++] = p->who; /* int */
511 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
517 struct gettimeofday_args *p = params;
518 uarg[a++] = (intptr_t)p->tp; /* struct timeval * */
519 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
525 struct settimeofday_args *p = params;
526 uarg[a++] = (intptr_t)p->tv; /* struct timeval * */
527 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
531 /* linux_getgroups16 */
533 struct linux_getgroups16_args *p = params;
534 iarg[a++] = p->gidsetsize; /* l_uint */
535 uarg[a++] = (intptr_t)p->gidset; /* l_gid16_t * */
539 /* linux_setgroups16 */
541 struct linux_setgroups16_args *p = params;
542 iarg[a++] = p->gidsetsize; /* l_uint */
543 uarg[a++] = (intptr_t)p->gidset; /* l_gid16_t * */
547 /* linux_old_select */
549 struct linux_old_select_args *p = params;
550 uarg[a++] = (intptr_t)p->ptr; /* struct l_old_select_argv * */
556 struct linux_symlink_args *p = params;
557 uarg[a++] = (intptr_t)p->path; /* char * */
558 uarg[a++] = (intptr_t)p->to; /* char * */
564 struct linux_lstat_args *p = params;
565 uarg[a++] = (intptr_t)p->path; /* char * */
566 uarg[a++] = (intptr_t)p->up; /* struct l_old_stat * */
572 struct linux_readlink_args *p = params;
573 uarg[a++] = (intptr_t)p->name; /* char * */
574 uarg[a++] = (intptr_t)p->buf; /* char * */
575 iarg[a++] = p->count; /* l_int */
581 struct linux_uselib_args *p = params;
582 uarg[a++] = (intptr_t)p->library; /* char * */
588 struct swapon_args *p = params;
589 uarg[a++] = (intptr_t)p->name; /* char * */
595 struct linux_reboot_args *p = params;
596 iarg[a++] = p->magic1; /* l_int */
597 iarg[a++] = p->magic2; /* l_int */
598 iarg[a++] = p->cmd; /* l_uint */
599 uarg[a++] = (intptr_t)p->arg; /* void * */
605 struct linux_readdir_args *p = params;
606 iarg[a++] = p->fd; /* l_uint */
607 uarg[a++] = (intptr_t)p->dent; /* struct l_dirent * */
608 iarg[a++] = p->count; /* l_uint */
614 struct linux_mmap_args *p = params;
615 uarg[a++] = (intptr_t)p->ptr; /* struct l_mmap_argv * */
621 struct munmap_args *p = params;
622 uarg[a++] = (intptr_t)p->addr; /* caddr_t */
623 iarg[a++] = p->len; /* int */
629 struct linux_truncate_args *p = params;
630 uarg[a++] = (intptr_t)p->path; /* char * */
631 iarg[a++] = p->length; /* l_ulong */
635 /* linux_ftruncate */
637 struct linux_ftruncate_args *p = params;
638 iarg[a++] = p->fd; /* int */
639 iarg[a++] = p->length; /* long */
645 struct fchmod_args *p = params;
646 iarg[a++] = p->fd; /* int */
647 iarg[a++] = p->mode; /* int */
653 struct fchown_args *p = params;
654 iarg[a++] = p->fd; /* int */
655 iarg[a++] = p->uid; /* int */
656 iarg[a++] = p->gid; /* int */
660 /* linux_getpriority */
662 struct linux_getpriority_args *p = params;
663 iarg[a++] = p->which; /* int */
664 iarg[a++] = p->who; /* int */
670 struct setpriority_args *p = params;
671 iarg[a++] = p->which; /* int */
672 iarg[a++] = p->who; /* int */
673 iarg[a++] = p->prio; /* int */
679 struct linux_statfs_args *p = params;
680 uarg[a++] = (intptr_t)p->path; /* char * */
681 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */
687 struct linux_fstatfs_args *p = params;
688 iarg[a++] = p->fd; /* l_uint */
689 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */
695 struct linux_ioperm_args *p = params;
696 iarg[a++] = p->start; /* l_ulong */
697 iarg[a++] = p->length; /* l_ulong */
698 iarg[a++] = p->enable; /* l_int */
702 /* linux_socketcall */
704 struct linux_socketcall_args *p = params;
705 iarg[a++] = p->what; /* l_int */
706 iarg[a++] = p->args; /* l_ulong */
712 struct linux_syslog_args *p = params;
713 iarg[a++] = p->type; /* l_int */
714 uarg[a++] = (intptr_t)p->buf; /* char * */
715 iarg[a++] = p->len; /* l_int */
719 /* linux_setitimer */
721 struct linux_setitimer_args *p = params;
722 iarg[a++] = p->which; /* l_int */
723 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */
724 uarg[a++] = (intptr_t)p->oitv; /* struct l_itimerval * */
728 /* linux_getitimer */
730 struct linux_getitimer_args *p = params;
731 iarg[a++] = p->which; /* l_int */
732 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */
738 struct linux_newstat_args *p = params;
739 uarg[a++] = (intptr_t)p->path; /* char * */
740 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */
746 struct linux_newlstat_args *p = params;
747 uarg[a++] = (intptr_t)p->path; /* char * */
748 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */
754 struct linux_newfstat_args *p = params;
755 iarg[a++] = p->fd; /* l_uint */
756 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */
767 struct linux_iopl_args *p = params;
768 iarg[a++] = p->level; /* l_int */
784 struct linux_wait4_args *p = params;
785 iarg[a++] = p->pid; /* l_pid_t */
786 uarg[a++] = (intptr_t)p->status; /* l_int * */
787 iarg[a++] = p->options; /* l_int */
788 uarg[a++] = (intptr_t)p->rusage; /* void * */
799 struct linux_sysinfo_args *p = params;
800 uarg[a++] = (intptr_t)p->info; /* struct l_sysinfo * */
806 struct linux_ipc_args *p = params;
807 iarg[a++] = p->what; /* l_uint */
808 iarg[a++] = p->arg1; /* l_int */
809 iarg[a++] = p->arg2; /* l_int */
810 iarg[a++] = p->arg3; /* l_uint */
811 uarg[a++] = (intptr_t)p->ptr; /* l_uintptr_t */
812 iarg[a++] = p->arg5; /* l_uint */
818 struct fsync_args *p = params;
819 iarg[a++] = p->fd; /* int */
823 /* linux_sigreturn */
825 struct linux_sigreturn_args *p = params;
826 uarg[a++] = (intptr_t)p->sfp; /* struct l_sigframe * */
832 struct linux_clone_args *p = params;
833 iarg[a++] = p->flags; /* l_ulong */
834 iarg[a++] = p->stack; /* l_ulong */
835 uarg[a++] = (intptr_t)p->parent_tidptr; /* l_int * */
836 iarg[a++] = p->tls; /* l_ulong */
837 uarg[a++] = (intptr_t)p->child_tidptr; /* l_int * */
841 /* linux_setdomainname */
843 struct linux_setdomainname_args *p = params;
844 uarg[a++] = (intptr_t)p->name; /* char * */
845 iarg[a++] = p->len; /* int */
851 struct linux_newuname_args *p = params;
852 uarg[a++] = (intptr_t)p->buf; /* struct l_new_utsname * */
856 /* linux_modify_ldt */
858 struct linux_modify_ldt_args *p = params;
859 iarg[a++] = p->func; /* l_int */
860 uarg[a++] = (intptr_t)p->ptr; /* void * */
861 iarg[a++] = p->bytecount; /* l_ulong */
872 struct linux_mprotect_args *p = params;
873 uarg[a++] = (intptr_t)p->addr; /* caddr_t */
874 iarg[a++] = p->len; /* int */
875 iarg[a++] = p->prot; /* int */
879 /* linux_sigprocmask */
881 struct linux_sigprocmask_args *p = params;
882 iarg[a++] = p->how; /* l_int */
883 uarg[a++] = (intptr_t)p->mask; /* l_osigset_t * */
884 uarg[a++] = (intptr_t)p->omask; /* l_osigset_t * */
888 /* linux_init_module */
893 /* linux_delete_module */
905 struct getpgid_args *p = params;
906 iarg[a++] = p->pid; /* int */
912 struct fchdir_args *p = params;
913 iarg[a++] = p->fd; /* int */
924 struct linux_sysfs_args *p = params;
925 iarg[a++] = p->option; /* l_int */
926 iarg[a++] = p->arg1; /* l_ulong */
927 iarg[a++] = p->arg2; /* l_ulong */
931 /* linux_personality */
933 struct linux_personality_args *p = params;
934 iarg[a++] = p->per; /* l_uint */
938 /* linux_setfsuid16 */
940 struct linux_setfsuid16_args *p = params;
941 iarg[a++] = p->uid; /* l_uid16_t */
945 /* linux_setfsgid16 */
947 struct linux_setfsgid16_args *p = params;
948 iarg[a++] = p->gid; /* l_gid16_t */
954 struct linux_llseek_args *p = params;
955 iarg[a++] = p->fd; /* l_int */
956 iarg[a++] = p->ohigh; /* l_ulong */
957 iarg[a++] = p->olow; /* l_ulong */
958 uarg[a++] = (intptr_t)p->res; /* l_loff_t * */
959 iarg[a++] = p->whence; /* l_uint */
965 struct linux_getdents_args *p = params;
966 iarg[a++] = p->fd; /* l_uint */
967 uarg[a++] = (intptr_t)p->dent; /* void * */
968 iarg[a++] = p->count; /* l_uint */
974 struct linux_select_args *p = params;
975 iarg[a++] = p->nfds; /* l_int */
976 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
977 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
978 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
979 uarg[a++] = (intptr_t)p->timeout; /* struct l_timeval * */
985 struct flock_args *p = params;
986 iarg[a++] = p->fd; /* int */
987 iarg[a++] = p->how; /* int */
993 struct linux_msync_args *p = params;
994 iarg[a++] = p->addr; /* l_ulong */
995 iarg[a++] = p->len; /* l_size_t */
996 iarg[a++] = p->fl; /* l_int */
1002 struct readv_args *p = params;
1003 iarg[a++] = p->fd; /* int */
1004 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
1005 uarg[a++] = p->iovcnt; /* u_int */
1011 struct writev_args *p = params;
1012 iarg[a++] = p->fd; /* int */
1013 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
1014 uarg[a++] = p->iovcnt; /* u_int */
1020 struct linux_getsid_args *p = params;
1021 iarg[a++] = p->pid; /* l_pid_t */
1025 /* linux_fdatasync */
1027 struct linux_fdatasync_args *p = params;
1028 iarg[a++] = p->fd; /* l_uint */
1034 struct linux_sysctl_args *p = params;
1035 uarg[a++] = (intptr_t)p->args; /* struct l___sysctl_args * */
1041 struct mlock_args *p = params;
1042 uarg[a++] = (intptr_t)p->addr; /* const void * */
1043 uarg[a++] = p->len; /* size_t */
1049 struct munlock_args *p = params;
1050 uarg[a++] = (intptr_t)p->addr; /* const void * */
1051 uarg[a++] = p->len; /* size_t */
1057 struct mlockall_args *p = params;
1058 iarg[a++] = p->how; /* int */
1067 /* linux_sched_setparam */
1069 struct linux_sched_setparam_args *p = params;
1070 iarg[a++] = p->pid; /* l_pid_t */
1071 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
1075 /* linux_sched_getparam */
1077 struct linux_sched_getparam_args *p = params;
1078 iarg[a++] = p->pid; /* l_pid_t */
1079 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
1083 /* linux_sched_setscheduler */
1085 struct linux_sched_setscheduler_args *p = params;
1086 iarg[a++] = p->pid; /* l_pid_t */
1087 iarg[a++] = p->policy; /* l_int */
1088 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
1092 /* linux_sched_getscheduler */
1094 struct linux_sched_getscheduler_args *p = params;
1095 iarg[a++] = p->pid; /* l_pid_t */
1104 /* linux_sched_get_priority_max */
1106 struct linux_sched_get_priority_max_args *p = params;
1107 iarg[a++] = p->policy; /* l_int */
1111 /* linux_sched_get_priority_min */
1113 struct linux_sched_get_priority_min_args *p = params;
1114 iarg[a++] = p->policy; /* l_int */
1118 /* linux_sched_rr_get_interval */
1120 struct linux_sched_rr_get_interval_args *p = params;
1121 iarg[a++] = p->pid; /* l_pid_t */
1122 uarg[a++] = (intptr_t)p->interval; /* struct l_timespec * */
1126 /* linux_nanosleep */
1128 struct linux_nanosleep_args *p = params;
1129 uarg[a++] = (intptr_t)p->rqtp; /* const struct l_timespec * */
1130 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */
1136 struct linux_mremap_args *p = params;
1137 iarg[a++] = p->addr; /* l_ulong */
1138 iarg[a++] = p->old_len; /* l_ulong */
1139 iarg[a++] = p->new_len; /* l_ulong */
1140 iarg[a++] = p->flags; /* l_ulong */
1141 iarg[a++] = p->new_addr; /* l_ulong */
1145 /* linux_setresuid16 */
1147 struct linux_setresuid16_args *p = params;
1148 iarg[a++] = p->ruid; /* l_uid16_t */
1149 iarg[a++] = p->euid; /* l_uid16_t */
1150 iarg[a++] = p->suid; /* l_uid16_t */
1154 /* linux_getresuid16 */
1156 struct linux_getresuid16_args *p = params;
1157 uarg[a++] = (intptr_t)p->ruid; /* l_uid16_t * */
1158 uarg[a++] = (intptr_t)p->euid; /* l_uid16_t * */
1159 uarg[a++] = (intptr_t)p->suid; /* l_uid16_t * */
1170 struct linux_poll_args *p = params;
1171 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
1172 uarg[a++] = p->nfds; /* unsigned int */
1173 iarg[a++] = p->timeout; /* long */
1177 /* linux_setresgid16 */
1179 struct linux_setresgid16_args *p = params;
1180 iarg[a++] = p->rgid; /* l_gid16_t */
1181 iarg[a++] = p->egid; /* l_gid16_t */
1182 iarg[a++] = p->sgid; /* l_gid16_t */
1186 /* linux_getresgid16 */
1188 struct linux_getresgid16_args *p = params;
1189 uarg[a++] = (intptr_t)p->rgid; /* l_gid16_t * */
1190 uarg[a++] = (intptr_t)p->egid; /* l_gid16_t * */
1191 uarg[a++] = (intptr_t)p->sgid; /* l_gid16_t * */
1197 struct linux_prctl_args *p = params;
1198 iarg[a++] = p->option; /* l_int */
1199 uarg[a++] = (intptr_t)p->arg2; /* l_uintptr_t */
1200 uarg[a++] = (intptr_t)p->arg3; /* l_uintptr_t */
1201 uarg[a++] = (intptr_t)p->arg4; /* l_uintptr_t */
1202 uarg[a++] = (intptr_t)p->arg5; /* l_uintptr_t */
1206 /* linux_rt_sigreturn */
1208 struct linux_rt_sigreturn_args *p = params;
1209 uarg[a++] = (intptr_t)p->ucp; /* struct l_ucontext * */
1213 /* linux_rt_sigaction */
1215 struct linux_rt_sigaction_args *p = params;
1216 iarg[a++] = p->sig; /* l_int */
1217 uarg[a++] = (intptr_t)p->act; /* l_sigaction_t * */
1218 uarg[a++] = (intptr_t)p->oact; /* l_sigaction_t * */
1219 iarg[a++] = p->sigsetsize; /* l_size_t */
1223 /* linux_rt_sigprocmask */
1225 struct linux_rt_sigprocmask_args *p = params;
1226 iarg[a++] = p->how; /* l_int */
1227 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
1228 uarg[a++] = (intptr_t)p->omask; /* l_sigset_t * */
1229 iarg[a++] = p->sigsetsize; /* l_size_t */
1233 /* linux_rt_sigpending */
1235 struct linux_rt_sigpending_args *p = params;
1236 uarg[a++] = (intptr_t)p->set; /* l_sigset_t * */
1237 iarg[a++] = p->sigsetsize; /* l_size_t */
1241 /* linux_rt_sigtimedwait */
1243 struct linux_rt_sigtimedwait_args *p = params;
1244 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
1245 uarg[a++] = (intptr_t)p->ptr; /* l_siginfo_t * */
1246 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1247 iarg[a++] = p->sigsetsize; /* l_size_t */
1251 /* linux_rt_sigqueueinfo */
1253 struct linux_rt_sigqueueinfo_args *p = params;
1254 iarg[a++] = p->pid; /* l_pid_t */
1255 iarg[a++] = p->sig; /* l_int */
1256 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
1260 /* linux_rt_sigsuspend */
1262 struct linux_rt_sigsuspend_args *p = params;
1263 uarg[a++] = (intptr_t)p->newset; /* l_sigset_t * */
1264 iarg[a++] = p->sigsetsize; /* l_size_t */
1270 struct linux_pread_args *p = params;
1271 iarg[a++] = p->fd; /* l_uint */
1272 uarg[a++] = (intptr_t)p->buf; /* char * */
1273 iarg[a++] = p->nbyte; /* l_size_t */
1274 iarg[a++] = p->offset; /* l_loff_t */
1280 struct linux_pwrite_args *p = params;
1281 iarg[a++] = p->fd; /* l_uint */
1282 uarg[a++] = (intptr_t)p->buf; /* char * */
1283 iarg[a++] = p->nbyte; /* l_size_t */
1284 iarg[a++] = p->offset; /* l_loff_t */
1290 struct linux_chown16_args *p = params;
1291 uarg[a++] = (intptr_t)p->path; /* char * */
1292 iarg[a++] = p->uid; /* l_uid16_t */
1293 iarg[a++] = p->gid; /* l_gid16_t */
1299 struct linux_getcwd_args *p = params;
1300 uarg[a++] = (intptr_t)p->buf; /* char * */
1301 iarg[a++] = p->bufsize; /* l_ulong */
1307 struct linux_capget_args *p = params;
1308 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1309 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */
1315 struct linux_capset_args *p = params;
1316 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1317 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */
1321 /* linux_sigaltstack */
1323 struct linux_sigaltstack_args *p = params;
1324 uarg[a++] = (intptr_t)p->uss; /* l_stack_t * */
1325 uarg[a++] = (intptr_t)p->uoss; /* l_stack_t * */
1329 /* linux_sendfile */
1331 struct linux_sendfile_args *p = params;
1332 iarg[a++] = p->out; /* l_int */
1333 iarg[a++] = p->in; /* l_int */
1334 uarg[a++] = (intptr_t)p->offset; /* l_long * */
1335 iarg[a++] = p->count; /* l_size_t */
1344 /* linux_getrlimit */
1346 struct linux_getrlimit_args *p = params;
1347 iarg[a++] = p->resource; /* l_uint */
1348 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
1354 struct linux_mmap2_args *p = params;
1355 iarg[a++] = p->addr; /* l_ulong */
1356 iarg[a++] = p->len; /* l_ulong */
1357 iarg[a++] = p->prot; /* l_ulong */
1358 iarg[a++] = p->flags; /* l_ulong */
1359 iarg[a++] = p->fd; /* l_ulong */
1360 iarg[a++] = p->pgoff; /* l_ulong */
1364 /* linux_truncate64 */
1366 struct linux_truncate64_args *p = params;
1367 uarg[a++] = (intptr_t)p->path; /* char * */
1368 iarg[a++] = p->length; /* l_loff_t */
1372 /* linux_ftruncate64 */
1374 struct linux_ftruncate64_args *p = params;
1375 iarg[a++] = p->fd; /* l_uint */
1376 iarg[a++] = p->length; /* l_loff_t */
1382 struct linux_stat64_args *p = params;
1383 uarg[a++] = (intptr_t)p->filename; /* const char * */
1384 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1390 struct linux_lstat64_args *p = params;
1391 uarg[a++] = (intptr_t)p->filename; /* const char * */
1392 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1398 struct linux_fstat64_args *p = params;
1399 iarg[a++] = p->fd; /* l_int */
1400 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1406 struct linux_lchown_args *p = params;
1407 uarg[a++] = (intptr_t)p->path; /* char * */
1408 iarg[a++] = p->uid; /* l_uid_t */
1409 iarg[a++] = p->gid; /* l_gid_t */
1435 struct setreuid_args *p = params;
1436 uarg[a++] = p->ruid; /* uid_t */
1437 uarg[a++] = p->euid; /* uid_t */
1443 struct setregid_args *p = params;
1444 iarg[a++] = p->rgid; /* gid_t */
1445 iarg[a++] = p->egid; /* gid_t */
1449 /* linux_getgroups */
1451 struct linux_getgroups_args *p = params;
1452 iarg[a++] = p->gidsetsize; /* l_int */
1453 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */
1457 /* linux_setgroups */
1459 struct linux_setgroups_args *p = params;
1460 iarg[a++] = p->gidsetsize; /* l_int */
1461 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */
1472 struct setresuid_args *p = params;
1473 uarg[a++] = p->ruid; /* uid_t */
1474 uarg[a++] = p->euid; /* uid_t */
1475 uarg[a++] = p->suid; /* uid_t */
1481 struct getresuid_args *p = params;
1482 uarg[a++] = (intptr_t)p->ruid; /* uid_t * */
1483 uarg[a++] = (intptr_t)p->euid; /* uid_t * */
1484 uarg[a++] = (intptr_t)p->suid; /* uid_t * */
1490 struct setresgid_args *p = params;
1491 iarg[a++] = p->rgid; /* gid_t */
1492 iarg[a++] = p->egid; /* gid_t */
1493 iarg[a++] = p->sgid; /* gid_t */
1499 struct getresgid_args *p = params;
1500 uarg[a++] = (intptr_t)p->rgid; /* gid_t * */
1501 uarg[a++] = (intptr_t)p->egid; /* gid_t * */
1502 uarg[a++] = (intptr_t)p->sgid; /* gid_t * */
1508 struct linux_chown_args *p = params;
1509 uarg[a++] = (intptr_t)p->path; /* char * */
1510 iarg[a++] = p->uid; /* l_uid_t */
1511 iarg[a++] = p->gid; /* l_gid_t */
1517 struct setuid_args *p = params;
1518 uarg[a++] = p->uid; /* uid_t */
1524 struct setgid_args *p = params;
1525 iarg[a++] = p->gid; /* gid_t */
1529 /* linux_setfsuid */
1531 struct linux_setfsuid_args *p = params;
1532 iarg[a++] = p->uid; /* l_uid_t */
1536 /* linux_setfsgid */
1538 struct linux_setfsgid_args *p = params;
1539 iarg[a++] = p->gid; /* l_gid_t */
1543 /* linux_pivot_root */
1545 struct linux_pivot_root_args *p = params;
1546 uarg[a++] = (intptr_t)p->new_root; /* char * */
1547 uarg[a++] = (intptr_t)p->put_old; /* char * */
1553 struct linux_mincore_args *p = params;
1554 iarg[a++] = p->start; /* l_ulong */
1555 iarg[a++] = p->len; /* l_size_t */
1556 uarg[a++] = (intptr_t)p->vec; /* u_char * */
1562 struct linux_madvise_args *p = params;
1563 uarg[a++] = (intptr_t)p->addr; /* void * */
1564 uarg[a++] = p->len; /* size_t */
1565 iarg[a++] = p->behav; /* int */
1569 /* linux_getdents64 */
1571 struct linux_getdents64_args *p = params;
1572 iarg[a++] = p->fd; /* l_uint */
1573 uarg[a++] = (intptr_t)p->dirent; /* void * */
1574 iarg[a++] = p->count; /* l_uint */
1580 struct linux_fcntl64_args *p = params;
1581 iarg[a++] = p->fd; /* l_uint */
1582 iarg[a++] = p->cmd; /* l_uint */
1583 iarg[a++] = p->arg; /* l_ulong */
1592 /* linux_setxattr */
1594 struct linux_setxattr_args *p = params;
1595 uarg[a++] = (intptr_t)p->path; /* const char * */
1596 uarg[a++] = (intptr_t)p->name; /* const char * */
1597 uarg[a++] = (intptr_t)p->value; /* const char * */
1598 iarg[a++] = p->size; /* l_size_t */
1599 iarg[a++] = p->flags; /* l_int */
1603 /* linux_lsetxattr */
1605 struct linux_lsetxattr_args *p = params;
1606 uarg[a++] = (intptr_t)p->path; /* const char * */
1607 uarg[a++] = (intptr_t)p->name; /* const char * */
1608 uarg[a++] = (intptr_t)p->value; /* const char * */
1609 iarg[a++] = p->size; /* l_size_t */
1610 iarg[a++] = p->flags; /* l_int */
1614 /* linux_fsetxattr */
1616 struct linux_fsetxattr_args *p = params;
1617 iarg[a++] = p->fd; /* l_int */
1618 uarg[a++] = (intptr_t)p->name; /* const char * */
1619 uarg[a++] = (intptr_t)p->value; /* const char * */
1620 iarg[a++] = p->size; /* l_size_t */
1621 iarg[a++] = p->flags; /* l_int */
1625 /* linux_getxattr */
1627 struct linux_getxattr_args *p = params;
1628 uarg[a++] = (intptr_t)p->path; /* const char * */
1629 uarg[a++] = (intptr_t)p->name; /* const char * */
1630 uarg[a++] = (intptr_t)p->value; /* char * */
1631 iarg[a++] = p->size; /* l_size_t */
1635 /* linux_lgetxattr */
1637 struct linux_lgetxattr_args *p = params;
1638 uarg[a++] = (intptr_t)p->path; /* const char * */
1639 uarg[a++] = (intptr_t)p->name; /* const char * */
1640 uarg[a++] = (intptr_t)p->value; /* char * */
1641 iarg[a++] = p->size; /* l_size_t */
1645 /* linux_fgetxattr */
1647 struct linux_fgetxattr_args *p = params;
1648 iarg[a++] = p->fd; /* l_int */
1649 uarg[a++] = (intptr_t)p->name; /* const char * */
1650 uarg[a++] = (intptr_t)p->value; /* char * */
1651 iarg[a++] = p->size; /* l_size_t */
1655 /* linux_listxattr */
1657 struct linux_listxattr_args *p = params;
1658 uarg[a++] = (intptr_t)p->path; /* const char * */
1659 uarg[a++] = (intptr_t)p->list; /* const char * */
1660 iarg[a++] = p->size; /* l_size_t */
1664 /* linux_llistxattr */
1666 struct linux_llistxattr_args *p = params;
1667 uarg[a++] = (intptr_t)p->path; /* const char * */
1668 uarg[a++] = (intptr_t)p->list; /* const char * */
1669 iarg[a++] = p->size; /* l_size_t */
1673 /* linux_flistxattr */
1675 struct linux_flistxattr_args *p = params;
1676 iarg[a++] = p->fd; /* l_int */
1677 uarg[a++] = (intptr_t)p->list; /* const char * */
1678 iarg[a++] = p->size; /* l_size_t */
1682 /* linux_removexattr */
1684 struct linux_removexattr_args *p = params;
1685 uarg[a++] = (intptr_t)p->path; /* const char * */
1686 uarg[a++] = (intptr_t)p->name; /* const char * */
1690 /* linux_lremovexattr */
1692 struct linux_lremovexattr_args *p = params;
1693 uarg[a++] = (intptr_t)p->path; /* const char * */
1694 uarg[a++] = (intptr_t)p->name; /* const char * */
1698 /* linux_fremovexattr */
1700 struct linux_fremovexattr_args *p = params;
1701 iarg[a++] = p->fd; /* l_int */
1702 uarg[a++] = (intptr_t)p->name; /* const char * */
1708 struct linux_tkill_args *p = params;
1709 iarg[a++] = p->tid; /* int */
1710 iarg[a++] = p->sig; /* int */
1714 /* linux_sendfile64 */
1716 struct linux_sendfile64_args *p = params;
1717 iarg[a++] = p->out; /* l_int */
1718 iarg[a++] = p->in; /* l_int */
1719 uarg[a++] = (intptr_t)p->offset; /* l_loff_t * */
1720 iarg[a++] = p->count; /* l_size_t */
1724 /* linux_sys_futex */
1726 struct linux_sys_futex_args *p = params;
1727 uarg[a++] = (intptr_t)p->uaddr; /* uint32_t * */
1728 iarg[a++] = p->op; /* l_int */
1729 uarg[a++] = p->val; /* uint32_t */
1730 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1731 uarg[a++] = (intptr_t)p->uaddr2; /* uint32_t * */
1732 uarg[a++] = p->val3; /* uint32_t */
1736 /* linux_sched_setaffinity */
1738 struct linux_sched_setaffinity_args *p = params;
1739 iarg[a++] = p->pid; /* l_pid_t */
1740 iarg[a++] = p->len; /* l_uint */
1741 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1745 /* linux_sched_getaffinity */
1747 struct linux_sched_getaffinity_args *p = params;
1748 iarg[a++] = p->pid; /* l_pid_t */
1749 iarg[a++] = p->len; /* l_uint */
1750 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1754 /* linux_set_thread_area */
1756 struct linux_set_thread_area_args *p = params;
1757 uarg[a++] = (intptr_t)p->desc; /* struct l_user_desc * */
1761 /* linux_get_thread_area */
1763 struct linux_get_thread_area_args *p = params;
1764 uarg[a++] = (intptr_t)p->desc; /* struct l_user_desc * */
1768 /* linux_fadvise64 */
1770 struct linux_fadvise64_args *p = params;
1771 iarg[a++] = p->fd; /* int */
1772 iarg[a++] = p->offset; /* l_loff_t */
1773 iarg[a++] = p->len; /* l_size_t */
1774 iarg[a++] = p->advice; /* int */
1778 /* linux_exit_group */
1780 struct linux_exit_group_args *p = params;
1781 iarg[a++] = p->error_code; /* int */
1785 /* linux_lookup_dcookie */
1790 /* linux_epoll_create */
1792 struct linux_epoll_create_args *p = params;
1793 iarg[a++] = p->size; /* l_int */
1797 /* linux_epoll_ctl */
1799 struct linux_epoll_ctl_args *p = params;
1800 iarg[a++] = p->epfd; /* l_int */
1801 iarg[a++] = p->op; /* l_int */
1802 iarg[a++] = p->fd; /* l_int */
1803 uarg[a++] = (intptr_t)p->event; /* struct epoll_event * */
1807 /* linux_epoll_wait */
1809 struct linux_epoll_wait_args *p = params;
1810 iarg[a++] = p->epfd; /* l_int */
1811 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
1812 iarg[a++] = p->maxevents; /* l_int */
1813 iarg[a++] = p->timeout; /* l_int */
1817 /* linux_remap_file_pages */
1822 /* linux_set_tid_address */
1824 struct linux_set_tid_address_args *p = params;
1825 uarg[a++] = (intptr_t)p->tidptr; /* int * */
1829 /* linux_timer_create */
1831 struct linux_timer_create_args *p = params;
1832 iarg[a++] = p->clock_id; /* clockid_t */
1833 uarg[a++] = (intptr_t)p->evp; /* struct sigevent * */
1834 uarg[a++] = (intptr_t)p->timerid; /* l_timer_t * */
1838 /* linux_timer_settime */
1840 struct linux_timer_settime_args *p = params;
1841 iarg[a++] = p->timerid; /* l_timer_t */
1842 iarg[a++] = p->flags; /* l_int */
1843 uarg[a++] = (intptr_t)p->new; /* const struct itimerspec * */
1844 uarg[a++] = (intptr_t)p->old; /* struct itimerspec * */
1848 /* linux_timer_gettime */
1850 struct linux_timer_gettime_args *p = params;
1851 iarg[a++] = p->timerid; /* l_timer_t */
1852 uarg[a++] = (intptr_t)p->setting; /* struct itimerspec * */
1856 /* linux_timer_getoverrun */
1858 struct linux_timer_getoverrun_args *p = params;
1859 iarg[a++] = p->timerid; /* l_timer_t */
1863 /* linux_timer_delete */
1865 struct linux_timer_delete_args *p = params;
1866 iarg[a++] = p->timerid; /* l_timer_t */
1870 /* linux_clock_settime */
1872 struct linux_clock_settime_args *p = params;
1873 iarg[a++] = p->which; /* clockid_t */
1874 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
1878 /* linux_clock_gettime */
1880 struct linux_clock_gettime_args *p = params;
1881 iarg[a++] = p->which; /* clockid_t */
1882 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
1886 /* linux_clock_getres */
1888 struct linux_clock_getres_args *p = params;
1889 iarg[a++] = p->which; /* clockid_t */
1890 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
1894 /* linux_clock_nanosleep */
1896 struct linux_clock_nanosleep_args *p = params;
1897 iarg[a++] = p->which; /* clockid_t */
1898 iarg[a++] = p->flags; /* int */
1899 uarg[a++] = (intptr_t)p->rqtp; /* struct l_timespec * */
1900 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */
1904 /* linux_statfs64 */
1906 struct linux_statfs64_args *p = params;
1907 uarg[a++] = (intptr_t)p->path; /* char * */
1908 uarg[a++] = p->bufsize; /* size_t */
1909 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1913 /* linux_fstatfs64 */
1915 struct linux_fstatfs64_args *p = params;
1916 iarg[a++] = p->fd; /* l_uint */
1917 uarg[a++] = p->bufsize; /* size_t */
1918 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1924 struct linux_tgkill_args *p = params;
1925 iarg[a++] = p->tgid; /* int */
1926 iarg[a++] = p->pid; /* int */
1927 iarg[a++] = p->sig; /* int */
1933 struct linux_utimes_args *p = params;
1934 uarg[a++] = (intptr_t)p->fname; /* char * */
1935 uarg[a++] = (intptr_t)p->tptr; /* struct l_timeval * */
1939 /* linux_fadvise64_64 */
1941 struct linux_fadvise64_64_args *p = params;
1942 iarg[a++] = p->fd; /* int */
1943 iarg[a++] = p->offset; /* l_loff_t */
1944 iarg[a++] = p->len; /* l_loff_t */
1945 iarg[a++] = p->advice; /* int */
1954 /* linux_get_mempolicy */
1959 /* linux_set_mempolicy */
1966 struct linux_mq_open_args *p = params;
1967 uarg[a++] = (intptr_t)p->name; /* const char * */
1968 iarg[a++] = p->oflag; /* l_int */
1969 iarg[a++] = p->mode; /* l_mode_t */
1970 uarg[a++] = (intptr_t)p->attr; /* struct mq_attr * */
1974 /* linux_mq_unlink */
1976 struct linux_mq_unlink_args *p = params;
1977 uarg[a++] = (intptr_t)p->name; /* const char * */
1981 /* linux_mq_timedsend */
1983 struct linux_mq_timedsend_args *p = params;
1984 iarg[a++] = p->mqd; /* l_mqd_t */
1985 uarg[a++] = (intptr_t)p->msg_ptr; /* const char * */
1986 iarg[a++] = p->msg_len; /* l_size_t */
1987 iarg[a++] = p->msg_prio; /* l_uint */
1988 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1992 /* linux_mq_timedreceive */
1994 struct linux_mq_timedreceive_args *p = params;
1995 iarg[a++] = p->mqd; /* l_mqd_t */
1996 uarg[a++] = (intptr_t)p->msg_ptr; /* char * */
1997 iarg[a++] = p->msg_len; /* l_size_t */
1998 uarg[a++] = (intptr_t)p->msg_prio; /* l_uint * */
1999 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
2003 /* linux_mq_notify */
2005 struct linux_mq_notify_args *p = params;
2006 iarg[a++] = p->mqd; /* l_mqd_t */
2007 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
2011 /* linux_mq_getsetattr */
2013 struct linux_mq_getsetattr_args *p = params;
2014 iarg[a++] = p->mqd; /* l_mqd_t */
2015 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr * */
2016 uarg[a++] = (intptr_t)p->oattr; /* struct mq_attr * */
2020 /* linux_kexec_load */
2027 struct linux_waitid_args *p = params;
2028 iarg[a++] = p->idtype; /* int */
2029 iarg[a++] = p->id; /* l_pid_t */
2030 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
2031 iarg[a++] = p->options; /* int */
2032 uarg[a++] = (intptr_t)p->rusage; /* void * */
2041 /* linux_request_key */
2051 /* linux_ioprio_set */
2056 /* linux_ioprio_get */
2061 /* linux_inotify_init */
2066 /* linux_inotify_add_watch */
2071 /* linux_inotify_rm_watch */
2076 /* linux_migrate_pages */
2083 struct linux_openat_args *p = params;
2084 iarg[a++] = p->dfd; /* l_int */
2085 uarg[a++] = (intptr_t)p->filename; /* const char * */
2086 iarg[a++] = p->flags; /* l_int */
2087 iarg[a++] = p->mode; /* l_int */
2093 struct linux_mkdirat_args *p = params;
2094 iarg[a++] = p->dfd; /* l_int */
2095 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2096 iarg[a++] = p->mode; /* l_int */
2102 struct linux_mknodat_args *p = params;
2103 iarg[a++] = p->dfd; /* l_int */
2104 uarg[a++] = (intptr_t)p->filename; /* const char * */
2105 iarg[a++] = p->mode; /* l_int */
2106 iarg[a++] = p->dev; /* l_dev_t */
2110 /* linux_fchownat */
2112 struct linux_fchownat_args *p = params;
2113 iarg[a++] = p->dfd; /* l_int */
2114 uarg[a++] = (intptr_t)p->filename; /* const char * */
2115 iarg[a++] = p->uid; /* l_uid16_t */
2116 iarg[a++] = p->gid; /* l_gid16_t */
2117 iarg[a++] = p->flag; /* l_int */
2121 /* linux_futimesat */
2123 struct linux_futimesat_args *p = params;
2124 iarg[a++] = p->dfd; /* l_int */
2125 uarg[a++] = (intptr_t)p->filename; /* char * */
2126 uarg[a++] = (intptr_t)p->utimes; /* struct l_timeval * */
2130 /* linux_fstatat64 */
2132 struct linux_fstatat64_args *p = params;
2133 iarg[a++] = p->dfd; /* l_int */
2134 uarg[a++] = (intptr_t)p->pathname; /* char * */
2135 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */
2136 iarg[a++] = p->flag; /* l_int */
2140 /* linux_unlinkat */
2142 struct linux_unlinkat_args *p = params;
2143 iarg[a++] = p->dfd; /* l_int */
2144 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2145 iarg[a++] = p->flag; /* l_int */
2149 /* linux_renameat */
2151 struct linux_renameat_args *p = params;
2152 iarg[a++] = p->olddfd; /* l_int */
2153 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2154 iarg[a++] = p->newdfd; /* l_int */
2155 uarg[a++] = (intptr_t)p->newname; /* const char * */
2161 struct linux_linkat_args *p = params;
2162 iarg[a++] = p->olddfd; /* l_int */
2163 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2164 iarg[a++] = p->newdfd; /* l_int */
2165 uarg[a++] = (intptr_t)p->newname; /* const char * */
2166 iarg[a++] = p->flag; /* l_int */
2170 /* linux_symlinkat */
2172 struct linux_symlinkat_args *p = params;
2173 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2174 iarg[a++] = p->newdfd; /* l_int */
2175 uarg[a++] = (intptr_t)p->newname; /* const char * */
2179 /* linux_readlinkat */
2181 struct linux_readlinkat_args *p = params;
2182 iarg[a++] = p->dfd; /* l_int */
2183 uarg[a++] = (intptr_t)p->path; /* const char * */
2184 uarg[a++] = (intptr_t)p->buf; /* char * */
2185 iarg[a++] = p->bufsiz; /* l_int */
2189 /* linux_fchmodat */
2191 struct linux_fchmodat_args *p = params;
2192 iarg[a++] = p->dfd; /* l_int */
2193 uarg[a++] = (intptr_t)p->filename; /* const char * */
2194 iarg[a++] = p->mode; /* l_mode_t */
2198 /* linux_faccessat */
2200 struct linux_faccessat_args *p = params;
2201 iarg[a++] = p->dfd; /* l_int */
2202 uarg[a++] = (intptr_t)p->filename; /* const char * */
2203 iarg[a++] = p->amode; /* l_int */
2207 /* linux_pselect6 */
2209 struct linux_pselect6_args *p = params;
2210 iarg[a++] = p->nfds; /* l_int */
2211 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
2212 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
2213 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
2214 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */
2215 uarg[a++] = (intptr_t)p->sig; /* l_uintptr_t * */
2221 struct linux_ppoll_args *p = params;
2222 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
2223 uarg[a++] = p->nfds; /* uint32_t */
2224 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */
2225 uarg[a++] = (intptr_t)p->sset; /* l_sigset_t * */
2226 iarg[a++] = p->ssize; /* l_size_t */
2235 /* linux_set_robust_list */
2237 struct linux_set_robust_list_args *p = params;
2238 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head * */
2239 iarg[a++] = p->len; /* l_size_t */
2243 /* linux_get_robust_list */
2245 struct linux_get_robust_list_args *p = params;
2246 iarg[a++] = p->pid; /* l_int */
2247 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
2248 uarg[a++] = (intptr_t)p->len; /* l_size_t * */
2254 struct linux_splice_args *p = params;
2255 iarg[a++] = p->fd_in; /* int */
2256 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
2257 iarg[a++] = p->fd_out; /* int */
2258 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
2259 iarg[a++] = p->len; /* l_size_t */
2260 iarg[a++] = p->flags; /* l_uint */
2264 /* linux_sync_file_range */
2266 struct linux_sync_file_range_args *p = params;
2267 iarg[a++] = p->fd; /* l_int */
2268 iarg[a++] = p->offset; /* l_loff_t */
2269 iarg[a++] = p->nbytes; /* l_loff_t */
2270 uarg[a++] = p->flags; /* unsigned int */
2279 /* linux_vmsplice */
2284 /* linux_move_pages */
2291 struct linux_getcpu_args *p = params;
2292 uarg[a++] = (intptr_t)p->cpu; /* l_uint * */
2293 uarg[a++] = (intptr_t)p->node; /* l_uint * */
2294 uarg[a++] = (intptr_t)p->cache; /* void * */
2298 /* linux_epoll_pwait */
2300 struct linux_epoll_pwait_args *p = params;
2301 iarg[a++] = p->epfd; /* l_int */
2302 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
2303 iarg[a++] = p->maxevents; /* l_int */
2304 iarg[a++] = p->timeout; /* l_int */
2305 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
2306 iarg[a++] = p->sigsetsize; /* l_size_t */
2310 /* linux_utimensat */
2312 struct linux_utimensat_args *p = params;
2313 iarg[a++] = p->dfd; /* l_int */
2314 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2315 uarg[a++] = (intptr_t)p->times; /* const struct l_timespec * */
2316 iarg[a++] = p->flags; /* l_int */
2320 /* linux_signalfd */
2325 /* linux_timerfd_create */
2327 struct linux_timerfd_create_args *p = params;
2328 iarg[a++] = p->clockid; /* l_int */
2329 iarg[a++] = p->flags; /* l_int */
2335 struct linux_eventfd_args *p = params;
2336 iarg[a++] = p->initval; /* l_uint */
2340 /* linux_fallocate */
2342 struct linux_fallocate_args *p = params;
2343 iarg[a++] = p->fd; /* l_int */
2344 iarg[a++] = p->mode; /* l_int */
2345 iarg[a++] = p->offset; /* l_loff_t */
2346 iarg[a++] = p->len; /* l_loff_t */
2350 /* linux_timerfd_settime */
2352 struct linux_timerfd_settime_args *p = params;
2353 iarg[a++] = p->fd; /* l_int */
2354 iarg[a++] = p->flags; /* l_int */
2355 uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec * */
2356 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */
2360 /* linux_timerfd_gettime */
2362 struct linux_timerfd_gettime_args *p = params;
2363 iarg[a++] = p->fd; /* l_int */
2364 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */
2368 /* linux_signalfd4 */
2373 /* linux_eventfd2 */
2375 struct linux_eventfd2_args *p = params;
2376 iarg[a++] = p->initval; /* l_uint */
2377 iarg[a++] = p->flags; /* l_int */
2381 /* linux_epoll_create1 */
2383 struct linux_epoll_create1_args *p = params;
2384 iarg[a++] = p->flags; /* l_int */
2390 struct linux_dup3_args *p = params;
2391 iarg[a++] = p->oldfd; /* l_int */
2392 iarg[a++] = p->newfd; /* l_int */
2393 iarg[a++] = p->flags; /* l_int */
2399 struct linux_pipe2_args *p = params;
2400 uarg[a++] = (intptr_t)p->pipefds; /* l_int * */
2401 iarg[a++] = p->flags; /* l_int */
2405 /* linux_inotify_init1 */
2412 struct linux_preadv_args *p = params;
2413 iarg[a++] = p->fd; /* l_ulong */
2414 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */
2415 iarg[a++] = p->vlen; /* l_ulong */
2416 iarg[a++] = p->pos_l; /* l_ulong */
2417 iarg[a++] = p->pos_h; /* l_ulong */
2423 struct linux_pwritev_args *p = params;
2424 iarg[a++] = p->fd; /* l_ulong */
2425 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */
2426 iarg[a++] = p->vlen; /* l_ulong */
2427 iarg[a++] = p->pos_l; /* l_ulong */
2428 iarg[a++] = p->pos_h; /* l_ulong */
2432 /* linux_rt_tgsigqueueinfo */
2434 struct linux_rt_tgsigqueueinfo_args *p = params;
2435 iarg[a++] = p->tgid; /* l_pid_t */
2436 iarg[a++] = p->tid; /* l_pid_t */
2437 iarg[a++] = p->sig; /* l_int */
2438 uarg[a++] = (intptr_t)p->uinfo; /* l_siginfo_t * */
2442 /* linux_perf_event_open */
2447 /* linux_recvmmsg */
2449 struct linux_recvmmsg_args *p = params;
2450 iarg[a++] = p->s; /* l_int */
2451 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2452 iarg[a++] = p->vlen; /* l_uint */
2453 iarg[a++] = p->flags; /* l_uint */
2454 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
2458 /* linux_fanotify_init */
2463 /* linux_fanotify_mark */
2468 /* linux_prlimit64 */
2470 struct linux_prlimit64_args *p = params;
2471 iarg[a++] = p->pid; /* l_pid_t */
2472 iarg[a++] = p->resource; /* l_uint */
2473 uarg[a++] = (intptr_t)p->new; /* struct rlimit * */
2474 uarg[a++] = (intptr_t)p->old; /* struct rlimit * */
2478 /* linux_name_to_handle_at */
2480 struct linux_name_to_handle_at_args *p = params;
2481 iarg[a++] = p->dirfd; /* l_int */
2482 uarg[a++] = (intptr_t)p->name; /* const char * */
2483 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
2484 uarg[a++] = (intptr_t)p->mnt_id; /* l_int * */
2485 iarg[a++] = p->flags; /* l_int */
2489 /* linux_open_by_handle_at */
2491 struct linux_open_by_handle_at_args *p = params;
2492 iarg[a++] = p->mountdirfd; /* l_int */
2493 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
2494 iarg[a++] = p->flags; /* l_int */
2498 /* linux_clock_adjtime */
2505 struct linux_syncfs_args *p = params;
2506 iarg[a++] = p->fd; /* l_int */
2510 /* linux_sendmmsg */
2512 struct linux_sendmmsg_args *p = params;
2513 iarg[a++] = p->s; /* l_int */
2514 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2515 iarg[a++] = p->vlen; /* l_uint */
2516 iarg[a++] = p->flags; /* l_uint */
2525 /* linux_process_vm_readv */
2527 struct linux_process_vm_readv_args *p = params;
2528 iarg[a++] = p->pid; /* l_pid_t */
2529 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2530 iarg[a++] = p->liovcnt; /* l_ulong */
2531 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2532 iarg[a++] = p->riovcnt; /* l_ulong */
2533 iarg[a++] = p->flags; /* l_ulong */
2537 /* linux_process_vm_writev */
2539 struct linux_process_vm_writev_args *p = params;
2540 iarg[a++] = p->pid; /* l_pid_t */
2541 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2542 iarg[a++] = p->liovcnt; /* l_ulong */
2543 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2544 iarg[a++] = p->riovcnt; /* l_ulong */
2545 iarg[a++] = p->flags; /* l_ulong */
2551 struct linux_kcmp_args *p = params;
2552 iarg[a++] = p->pid1; /* l_pid_t */
2553 iarg[a++] = p->pid2; /* l_pid_t */
2554 iarg[a++] = p->type; /* l_int */
2555 iarg[a++] = p->idx1; /* l_ulong */
2556 iarg[a++] = p->idx; /* l_ulong */
2560 /* linux_finit_module */
2562 struct linux_finit_module_args *p = params;
2563 iarg[a++] = p->fd; /* l_int */
2564 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2565 iarg[a++] = p->flags; /* l_int */
2569 /* linux_sched_setattr */
2571 struct linux_sched_setattr_args *p = params;
2572 iarg[a++] = p->pid; /* l_pid_t */
2573 uarg[a++] = (intptr_t)p->attr; /* void * */
2574 iarg[a++] = p->flags; /* l_uint */
2578 /* linux_sched_getattr */
2580 struct linux_sched_getattr_args *p = params;
2581 iarg[a++] = p->pid; /* l_pid_t */
2582 uarg[a++] = (intptr_t)p->attr; /* void * */
2583 iarg[a++] = p->size; /* l_uint */
2584 iarg[a++] = p->flags; /* l_uint */
2588 /* linux_renameat2 */
2590 struct linux_renameat2_args *p = params;
2591 iarg[a++] = p->olddfd; /* l_int */
2592 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2593 iarg[a++] = p->newdfd; /* l_int */
2594 uarg[a++] = (intptr_t)p->newname; /* const char * */
2595 uarg[a++] = p->flags; /* unsigned int */
2601 struct linux_seccomp_args *p = params;
2602 iarg[a++] = p->op; /* l_uint */
2603 iarg[a++] = p->flags; /* l_uint */
2604 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2608 /* linux_getrandom */
2610 struct linux_getrandom_args *p = params;
2611 uarg[a++] = (intptr_t)p->buf; /* char * */
2612 iarg[a++] = p->count; /* l_size_t */
2613 iarg[a++] = p->flags; /* l_uint */
2617 /* linux_memfd_create */
2619 struct linux_memfd_create_args *p = params;
2620 uarg[a++] = (intptr_t)p->uname_ptr; /* const char * */
2621 iarg[a++] = p->flags; /* l_uint */
2627 struct linux_bpf_args *p = params;
2628 iarg[a++] = p->cmd; /* l_int */
2629 uarg[a++] = (intptr_t)p->attr; /* void * */
2630 iarg[a++] = p->size; /* l_uint */
2634 /* linux_execveat */
2636 struct linux_execveat_args *p = params;
2637 iarg[a++] = p->dfd; /* l_int */
2638 uarg[a++] = (intptr_t)p->filename; /* const char * */
2639 uarg[a++] = (intptr_t)p->argv; /* const char ** */
2640 uarg[a++] = (intptr_t)p->envp; /* const char ** */
2641 iarg[a++] = p->flags; /* l_int */
2647 struct linux_socket_args *p = params;
2648 iarg[a++] = p->domain; /* l_int */
2649 iarg[a++] = p->type; /* l_int */
2650 iarg[a++] = p->protocol; /* l_int */
2654 /* linux_socketpair */
2656 struct linux_socketpair_args *p = params;
2657 iarg[a++] = p->domain; /* l_int */
2658 iarg[a++] = p->type; /* l_int */
2659 iarg[a++] = p->protocol; /* l_int */
2660 uarg[a++] = (intptr_t)p->rsv; /* l_uintptr_t */
2666 struct linux_bind_args *p = params;
2667 iarg[a++] = p->s; /* l_int */
2668 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
2669 iarg[a++] = p->namelen; /* l_int */
2675 struct linux_connect_args *p = params;
2676 iarg[a++] = p->s; /* l_int */
2677 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
2678 iarg[a++] = p->namelen; /* l_int */
2684 struct linux_listen_args *p = params;
2685 iarg[a++] = p->s; /* l_int */
2686 iarg[a++] = p->backlog; /* l_int */
2692 struct linux_accept4_args *p = params;
2693 iarg[a++] = p->s; /* l_int */
2694 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
2695 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
2696 iarg[a++] = p->flags; /* l_int */
2700 /* linux_getsockopt */
2702 struct linux_getsockopt_args *p = params;
2703 iarg[a++] = p->s; /* l_int */
2704 iarg[a++] = p->level; /* l_int */
2705 iarg[a++] = p->optname; /* l_int */
2706 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
2707 uarg[a++] = (intptr_t)p->optlen; /* l_uintptr_t */
2711 /* linux_setsockopt */
2713 struct linux_setsockopt_args *p = params;
2714 iarg[a++] = p->s; /* l_int */
2715 iarg[a++] = p->level; /* l_int */
2716 iarg[a++] = p->optname; /* l_int */
2717 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
2718 iarg[a++] = p->optlen; /* l_int */
2722 /* linux_getsockname */
2724 struct linux_getsockname_args *p = params;
2725 iarg[a++] = p->s; /* l_int */
2726 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
2727 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
2731 /* linux_getpeername */
2733 struct linux_getpeername_args *p = params;
2734 iarg[a++] = p->s; /* l_int */
2735 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
2736 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
2742 struct linux_sendto_args *p = params;
2743 iarg[a++] = p->s; /* l_int */
2744 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
2745 iarg[a++] = p->len; /* l_int */
2746 iarg[a++] = p->flags; /* l_int */
2747 uarg[a++] = (intptr_t)p->to; /* l_uintptr_t */
2748 iarg[a++] = p->tolen; /* l_int */
2754 struct linux_sendmsg_args *p = params;
2755 iarg[a++] = p->s; /* l_int */
2756 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
2757 iarg[a++] = p->flags; /* l_int */
2761 /* linux_recvfrom */
2763 struct linux_recvfrom_args *p = params;
2764 iarg[a++] = p->s; /* l_int */
2765 uarg[a++] = (intptr_t)p->buf; /* l_uintptr_t */
2766 iarg[a++] = p->len; /* l_size_t */
2767 iarg[a++] = p->flags; /* l_int */
2768 uarg[a++] = (intptr_t)p->from; /* l_uintptr_t */
2769 uarg[a++] = (intptr_t)p->fromlen; /* l_uintptr_t */
2775 struct linux_recvmsg_args *p = params;
2776 iarg[a++] = p->s; /* l_int */
2777 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
2778 iarg[a++] = p->flags; /* l_int */
2782 /* linux_shutdown */
2784 struct linux_shutdown_args *p = params;
2785 iarg[a++] = p->s; /* l_int */
2786 iarg[a++] = p->how; /* l_int */
2790 /* linux_userfaultfd */
2792 struct linux_userfaultfd_args *p = params;
2793 iarg[a++] = p->flags; /* l_int */
2797 /* linux_membarrier */
2799 struct linux_membarrier_args *p = params;
2800 iarg[a++] = p->cmd; /* l_int */
2801 iarg[a++] = p->flags; /* l_int */
2807 struct linux_mlock2_args *p = params;
2808 iarg[a++] = p->start; /* l_ulong */
2809 iarg[a++] = p->len; /* l_size_t */
2810 iarg[a++] = p->flags; /* l_int */
2814 /* linux_copy_file_range */
2816 struct linux_copy_file_range_args *p = params;
2817 iarg[a++] = p->fd_in; /* l_int */
2818 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
2819 iarg[a++] = p->fd_out; /* l_int */
2820 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
2821 iarg[a++] = p->len; /* l_size_t */
2822 iarg[a++] = p->flags; /* l_uint */
2828 struct linux_preadv2_args *p = params;
2829 iarg[a++] = p->fd; /* l_ulong */
2830 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2831 iarg[a++] = p->vlen; /* l_ulong */
2832 iarg[a++] = p->pos_l; /* l_ulong */
2833 iarg[a++] = p->pos_h; /* l_ulong */
2834 iarg[a++] = p->flags; /* l_int */
2838 /* linux_pwritev2 */
2840 struct linux_pwritev2_args *p = params;
2841 iarg[a++] = p->fd; /* l_ulong */
2842 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2843 iarg[a++] = p->vlen; /* l_ulong */
2844 iarg[a++] = p->pos_l; /* l_ulong */
2845 iarg[a++] = p->pos_h; /* l_ulong */
2846 iarg[a++] = p->flags; /* l_int */
2850 /* linux_pkey_mprotect */
2852 struct linux_pkey_mprotect_args *p = params;
2853 iarg[a++] = p->start; /* l_ulong */
2854 iarg[a++] = p->len; /* l_size_t */
2855 iarg[a++] = p->prot; /* l_ulong */
2856 iarg[a++] = p->pkey; /* l_int */
2860 /* linux_pkey_alloc */
2862 struct linux_pkey_alloc_args *p = params;
2863 iarg[a++] = p->flags; /* l_ulong */
2864 iarg[a++] = p->init_val; /* l_ulong */
2868 /* linux_pkey_free */
2870 struct linux_pkey_free_args *p = params;
2871 iarg[a++] = p->pkey; /* l_int */
2877 struct linux_statx_args *p = params;
2878 iarg[a++] = p->dirfd; /* l_int */
2879 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2880 iarg[a++] = p->flags; /* l_uint */
2881 iarg[a++] = p->mask; /* l_uint */
2882 uarg[a++] = (intptr_t)p->statxbuf; /* void * */
2886 /* linux_arch_prctl */
2888 struct linux_arch_prctl_args *p = params;
2889 iarg[a++] = p->option; /* l_int */
2890 iarg[a++] = p->arg2; /* l_ulong */
2894 /* linux_io_pgetevents */
2901 struct linux_rseq_args *p = params;
2902 uarg[a++] = (intptr_t)p->rseq; /* struct linux_rseq * */
2903 uarg[a++] = p->rseq_len; /* uint32_t */
2904 iarg[a++] = p->flags; /* l_int */
2905 uarg[a++] = p->sig; /* uint32_t */
2911 struct linux_semget_args *p = params;
2912 iarg[a++] = p->key; /* l_key_t */
2913 iarg[a++] = p->nsems; /* l_int */
2914 iarg[a++] = p->semflg; /* l_int */
2920 struct linux_semctl_args *p = params;
2921 iarg[a++] = p->semid; /* l_int */
2922 iarg[a++] = p->semnum; /* l_int */
2923 iarg[a++] = p->cmd; /* l_int */
2924 uarg[a++] = p->arg.buf; /* union l_semun */
2930 struct linux_shmget_args *p = params;
2931 iarg[a++] = p->key; /* l_key_t */
2932 iarg[a++] = p->size; /* l_size_t */
2933 iarg[a++] = p->shmflg; /* l_int */
2939 struct linux_shmctl_args *p = params;
2940 iarg[a++] = p->shmid; /* l_int */
2941 iarg[a++] = p->cmd; /* l_int */
2942 uarg[a++] = (intptr_t)p->buf; /* struct l_shmid_ds * */
2948 struct linux_shmat_args *p = params;
2949 iarg[a++] = p->shmid; /* l_int */
2950 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
2951 iarg[a++] = p->shmflg; /* l_int */
2957 struct linux_shmdt_args *p = params;
2958 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
2964 struct linux_msgget_args *p = params;
2965 iarg[a++] = p->key; /* l_key_t */
2966 iarg[a++] = p->msgflg; /* l_int */
2972 struct linux_msgsnd_args *p = params;
2973 iarg[a++] = p->msqid; /* l_int */
2974 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2975 iarg[a++] = p->msgsz; /* l_size_t */
2976 iarg[a++] = p->msgflg; /* l_int */
2982 struct linux_msgrcv_args *p = params;
2983 iarg[a++] = p->msqid; /* l_int */
2984 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */
2985 iarg[a++] = p->msgsz; /* l_size_t */
2986 iarg[a++] = p->msgtyp; /* l_long */
2987 iarg[a++] = p->msgflg; /* l_int */
2993 struct linux_msgctl_args *p = params;
2994 iarg[a++] = p->msqid; /* l_int */
2995 iarg[a++] = p->cmd; /* l_int */
2996 uarg[a++] = (intptr_t)p->buf; /* struct l_msqid_ds * */
3000 /* linux_clock_gettime64 */
3002 struct linux_clock_gettime64_args *p = params;
3003 iarg[a++] = p->which; /* clockid_t */
3004 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec64 * */
3008 /* linux_clock_settime64 */
3010 struct linux_clock_settime64_args *p = params;
3011 iarg[a++] = p->which; /* clockid_t */
3012 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec64 * */
3016 /* linux_clock_adjtime64 */
3021 /* linux_clock_getres_time64 */
3023 struct linux_clock_getres_time64_args *p = params;
3024 iarg[a++] = p->which; /* clockid_t */
3025 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec64 * */
3029 /* linux_clock_nanosleep_time64 */
3031 struct linux_clock_nanosleep_time64_args *p = params;
3032 iarg[a++] = p->which; /* clockid_t */
3033 iarg[a++] = p->flags; /* l_int */
3034 uarg[a++] = (intptr_t)p->rqtp; /* struct l_timespec64 * */
3035 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec64 * */
3039 /* linux_timer_gettime64 */
3041 struct linux_timer_gettime64_args *p = params;
3042 iarg[a++] = p->timerid; /* l_timer_t */
3043 uarg[a++] = (intptr_t)p->setting; /* struct l_itimerspec64 * */
3047 /* linux_timer_settime64 */
3049 struct linux_timer_settime64_args *p = params;
3050 iarg[a++] = p->timerid; /* l_timer_t */
3051 iarg[a++] = p->flags; /* l_int */
3052 uarg[a++] = (intptr_t)p->new; /* const struct l_itimerspec64 * */
3053 uarg[a++] = (intptr_t)p->old; /* struct l_itimerspec64 * */
3057 /* linux_timerfd_gettime64 */
3059 struct linux_timerfd_gettime64_args *p = params;
3060 iarg[a++] = p->fd; /* l_int */
3061 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
3065 /* linux_timerfd_settime64 */
3067 struct linux_timerfd_settime64_args *p = params;
3068 iarg[a++] = p->fd; /* l_int */
3069 iarg[a++] = p->flags; /* l_int */
3070 uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec64 * */
3071 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec64 * */
3075 /* linux_utimensat_time64 */
3077 struct linux_utimensat_time64_args *p = params;
3078 iarg[a++] = p->dfd; /* l_int */
3079 uarg[a++] = (intptr_t)p->pathname; /* const char * */
3080 uarg[a++] = (intptr_t)p->times64; /* const struct l_timespec64 * */
3081 iarg[a++] = p->flags; /* l_int */
3085 /* linux_pselect6_time64 */
3087 struct linux_pselect6_time64_args *p = params;
3088 iarg[a++] = p->nfds; /* l_int */
3089 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
3090 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
3091 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
3092 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec64 * */
3093 uarg[a++] = (intptr_t)p->sig; /* l_uintptr_t * */
3097 /* linux_ppoll_time64 */
3099 struct linux_ppoll_time64_args *p = params;
3100 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
3101 uarg[a++] = p->nfds; /* uint32_t */
3102 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec64 * */
3103 uarg[a++] = (intptr_t)p->sset; /* l_sigset_t * */
3104 iarg[a++] = p->ssize; /* l_size_t */
3108 /* linux_io_pgetevents_time64 */
3113 /* linux_recvmmsg_time64 */
3115 struct linux_recvmmsg_time64_args *p = params;
3116 iarg[a++] = p->s; /* l_int */
3117 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
3118 iarg[a++] = p->vlen; /* l_uint */
3119 iarg[a++] = p->flags; /* l_uint */
3120 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3124 /* linux_mq_timedsend_time64 */
3129 /* linux_mq_timedreceive_time64 */
3134 /* linux_semtimedop_time64 */
3136 struct linux_semtimedop_time64_args *p = params;
3137 iarg[a++] = p->semid; /* l_int */
3138 uarg[a++] = (intptr_t)p->tsops; /* struct sembuf * */
3139 iarg[a++] = p->nsops; /* l_size_t */
3140 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3144 /* linux_rt_sigtimedwait_time64 */
3146 struct linux_rt_sigtimedwait_time64_args *p = params;
3147 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
3148 uarg[a++] = (intptr_t)p->ptr; /* l_siginfo_t * */
3149 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3150 iarg[a++] = p->sigsetsize; /* l_size_t */
3154 /* linux_sys_futex_time64 */
3156 struct linux_sys_futex_time64_args *p = params;
3157 uarg[a++] = (intptr_t)p->uaddr; /* uint32_t * */
3158 iarg[a++] = p->op; /* l_int */
3159 uarg[a++] = p->val; /* uint32_t */
3160 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3161 uarg[a++] = (intptr_t)p->uaddr2; /* uint32_t * */
3162 uarg[a++] = p->val3; /* uint32_t */
3166 /* linux_sched_rr_get_interval_time64 */
3168 struct linux_sched_rr_get_interval_time64_args *p = params;
3169 iarg[a++] = p->pid; /* l_pid_t */
3170 uarg[a++] = (intptr_t)p->interval; /* struct l_timespec64 * */
3174 /* linux_pidfd_send_signal */
3176 struct linux_pidfd_send_signal_args *p = params;
3177 iarg[a++] = p->pidfd; /* l_int */
3178 iarg[a++] = p->sig; /* l_int */
3179 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
3180 iarg[a++] = p->flags; /* l_uint */
3184 /* linux_io_uring_setup */
3189 /* linux_io_uring_enter */
3194 /* linux_io_uring_register */
3199 /* linux_open_tree */
3204 /* linux_move_mount */
3214 /* linux_fsconfig */
3229 /* linux_pidfd_open */
3236 struct linux_clone3_args *p = params;
3237 uarg[a++] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
3238 iarg[a++] = p->usize; /* l_size_t */
3242 /* linux_close_range */
3244 struct linux_close_range_args *p = params;
3245 iarg[a++] = p->first; /* l_uint */
3246 iarg[a++] = p->last; /* l_uint */
3247 iarg[a++] = p->flags; /* l_uint */
3256 /* linux_pidfd_getfd */
3261 /* linux_faccessat2 */
3263 struct linux_faccessat2_args *p = params;
3264 iarg[a++] = p->dfd; /* l_int */
3265 uarg[a++] = (intptr_t)p->filename; /* const char * */
3266 iarg[a++] = p->amode; /* l_int */
3267 iarg[a++] = p->flags; /* l_int */
3271 /* linux_process_madvise */
3276 /* linux_epoll_pwait2_64 */
3278 struct linux_epoll_pwait2_64_args *p = params;
3279 iarg[a++] = p->epfd; /* l_int */
3280 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
3281 iarg[a++] = p->maxevents; /* l_int */
3282 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec64 * */
3283 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
3284 iarg[a++] = p->sigsetsize; /* l_size_t */
3288 /* linux_mount_setattr */
3299 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3301 const char *p = NULL;
3303 #define nosys linux_nosys
3324 p = "userland char *";
3340 p = "userland char *";
3353 p = "userland char *";
3382 p = "userland l_int *";
3395 p = "userland char *";
3408 p = "userland char *";
3411 p = "userland char *";
3421 p = "userland char *";
3431 p = "userland char *";
3434 p = "userland char **";
3437 p = "userland char **";
3447 p = "userland char *";
3457 p = "userland l_time_t *";
3467 p = "userland char *";
3483 p = "userland char *";
3492 /* linux_lchown16 */
3496 p = "userland char *";
3512 p = "userland char *";
3515 p = "userland struct l_old_stat *";
3544 p = "userland char *";
3547 p = "userland char *";
3550 p = "userland char *";
3556 p = "userland void *";
3562 /* linux_oldumount */
3566 p = "userland char *";
3572 /* linux_setuid16 */
3582 /* linux_getuid16 */
3624 p = "userland char *";
3627 p = "userland struct l_utimbuf *";
3637 p = "userland char *";
3676 p = "userland char *";
3679 p = "userland char *";
3689 p = "userland char *";
3702 p = "userland char *";
3722 p = "userland l_int *";
3732 p = "userland struct l_times_argv *";
3748 /* linux_setgid16 */
3758 /* linux_getgid16 */
3768 p = "userland void *";
3774 /* linux_geteuid16 */
3777 /* linux_getegid16 */
3784 p = "userland char *";
3794 p = "userland char *";
3848 /* linux_olduname */
3865 p = "userland char *";
3878 p = "userland struct l_ustat *";
3906 /* linux_sigaction */
3913 p = "userland l_osigaction_t *";
3916 p = "userland l_osigaction_t *";
3922 /* linux_sgetmask */
3925 /* linux_ssetmask */
3935 /* linux_setreuid16 */
3948 /* linux_setregid16 */
3961 /* linux_sigsuspend */
3977 /* linux_sigpending */
3981 p = "userland l_osigset_t *";
3987 /* linux_sethostname */
3991 p = "userland char *";
4000 /* linux_setrlimit */
4007 p = "userland struct l_rlimit *";
4013 /* linux_old_getrlimit */
4020 p = "userland struct l_rlimit *";
4033 p = "userland struct rusage *";
4043 p = "userland struct timeval *";
4046 p = "userland struct timezone *";
4056 p = "userland struct timeval *";
4059 p = "userland struct timezone *";
4065 /* linux_getgroups16 */
4072 p = "userland l_gid16_t *";
4078 /* linux_setgroups16 */
4085 p = "userland l_gid16_t *";
4091 /* linux_old_select */
4095 p = "userland struct l_old_select_argv *";
4105 p = "userland char *";
4108 p = "userland char *";
4118 p = "userland char *";
4121 p = "userland struct l_old_stat *";
4127 /* linux_readlink */
4131 p = "userland char *";
4134 p = "userland char *";
4147 p = "userland char *";
4157 p = "userland char *";
4176 p = "userland void *";
4189 p = "userland struct l_dirent *";
4202 p = "userland struct l_mmap_argv *";
4221 /* linux_truncate */
4225 p = "userland char *";
4234 /* linux_ftruncate */
4276 /* linux_getpriority */
4309 p = "userland char *";
4312 p = "userland struct l_statfs_buf *";
4325 p = "userland struct l_statfs_buf *";
4347 /* linux_socketcall */
4367 p = "userland char *";
4376 /* linux_setitimer */
4383 p = "userland struct l_itimerval *";
4386 p = "userland struct l_itimerval *";
4392 /* linux_getitimer */
4399 p = "userland struct l_itimerval *";
4409 p = "userland char *";
4412 p = "userland struct l_newstat *";
4418 /* linux_newlstat */
4422 p = "userland char *";
4425 p = "userland struct l_newstat *";
4431 /* linux_newfstat */
4438 p = "userland struct l_newstat *";
4470 p = "userland l_int *";
4476 p = "userland void *";
4489 p = "userland struct l_sysinfo *";
4530 /* linux_sigreturn */
4534 p = "userland struct l_sigframe *";
4550 p = "userland l_int *";
4556 p = "userland l_int *";
4562 /* linux_setdomainname */
4566 p = "userland char *";
4575 /* linux_newuname */
4579 p = "userland struct l_new_utsname *";
4585 /* linux_modify_ldt */
4592 p = "userland void *";
4601 /* linux_adjtimex */
4604 /* linux_mprotect */
4620 /* linux_sigprocmask */
4627 p = "userland l_osigset_t *";
4630 p = "userland l_osigset_t *";
4636 /* linux_init_module */
4639 /* linux_delete_module */
4642 /* linux_quotactl */
4684 /* linux_personality */
4694 /* linux_setfsuid16 */
4704 /* linux_setfsgid16 */
4727 p = "userland l_loff_t *";
4736 /* linux_getdents */
4743 p = "userland void *";
4759 p = "userland l_fd_set *";
4762 p = "userland l_fd_set *";
4765 p = "userland l_fd_set *";
4768 p = "userland struct l_timeval *";
4810 p = "userland struct iovec *";
4826 p = "userland struct iovec *";
4845 /* linux_fdatasync */
4859 p = "userland struct l___sysctl_args *";
4869 p = "userland const void *";
4882 p = "userland const void *";
4904 /* linux_sched_setparam */
4911 p = "userland struct sched_param *";
4917 /* linux_sched_getparam */
4924 p = "userland struct sched_param *";
4930 /* linux_sched_setscheduler */
4940 p = "userland struct sched_param *";
4946 /* linux_sched_getscheduler */
4959 /* linux_sched_get_priority_max */
4969 /* linux_sched_get_priority_min */
4979 /* linux_sched_rr_get_interval */
4986 p = "userland struct l_timespec *";
4992 /* linux_nanosleep */
4996 p = "userland const struct l_timespec *";
4999 p = "userland struct l_timespec *";
5027 /* linux_setresuid16 */
5043 /* linux_getresuid16 */
5047 p = "userland l_uid16_t *";
5050 p = "userland l_uid16_t *";
5053 p = "userland l_uid16_t *";
5066 p = "userland struct pollfd *";
5078 /* linux_setresgid16 */
5094 /* linux_getresgid16 */
5098 p = "userland l_gid16_t *";
5101 p = "userland l_gid16_t *";
5104 p = "userland l_gid16_t *";
5132 /* linux_rt_sigreturn */
5136 p = "userland struct l_ucontext *";
5142 /* linux_rt_sigaction */
5149 p = "userland l_sigaction_t *";
5152 p = "userland l_sigaction_t *";
5161 /* linux_rt_sigprocmask */
5168 p = "userland l_sigset_t *";
5171 p = "userland l_sigset_t *";
5180 /* linux_rt_sigpending */
5184 p = "userland l_sigset_t *";
5193 /* linux_rt_sigtimedwait */
5197 p = "userland l_sigset_t *";
5200 p = "userland l_siginfo_t *";
5203 p = "userland struct l_timespec *";
5212 /* linux_rt_sigqueueinfo */
5222 p = "userland l_siginfo_t *";
5228 /* linux_rt_sigsuspend */
5232 p = "userland l_sigset_t *";
5248 p = "userland char *";
5267 p = "userland char *";
5283 p = "userland char *";
5299 p = "userland char *";
5312 p = "userland struct l_user_cap_header *";
5315 p = "userland struct l_user_cap_data *";
5325 p = "userland struct l_user_cap_header *";
5328 p = "userland struct l_user_cap_data *";
5334 /* linux_sigaltstack */
5338 p = "userland l_stack_t *";
5341 p = "userland l_stack_t *";
5347 /* linux_sendfile */
5357 p = "userland l_long *";
5369 /* linux_getrlimit */
5376 p = "userland struct l_rlimit *";
5407 /* linux_truncate64 */
5411 p = "userland char *";
5420 /* linux_ftruncate64 */
5437 p = "userland const char *";
5440 p = "userland struct l_stat64 *";
5450 p = "userland const char *";
5453 p = "userland struct l_stat64 *";
5466 p = "userland struct l_stat64 *";
5476 p = "userland char *";
5526 /* linux_getgroups */
5533 p = "userland l_gid_t *";
5539 /* linux_setgroups */
5546 p = "userland l_gid_t *";
5575 p = "userland uid_t *";
5578 p = "userland uid_t *";
5581 p = "userland uid_t *";
5607 p = "userland gid_t *";
5610 p = "userland gid_t *";
5613 p = "userland gid_t *";
5623 p = "userland char *";
5655 /* linux_setfsuid */
5665 /* linux_setfsgid */
5675 /* linux_pivot_root */
5679 p = "userland char *";
5682 p = "userland char *";
5698 p = "userland u_char *";
5708 p = "userland void *";
5720 /* linux_getdents64 */
5727 p = "userland void *";
5755 /* linux_setxattr */
5759 p = "userland const char *";
5762 p = "userland const char *";
5765 p = "userland const char *";
5777 /* linux_lsetxattr */
5781 p = "userland const char *";
5784 p = "userland const char *";
5787 p = "userland const char *";
5799 /* linux_fsetxattr */
5806 p = "userland const char *";
5809 p = "userland const char *";
5821 /* linux_getxattr */
5825 p = "userland const char *";
5828 p = "userland const char *";
5831 p = "userland char *";
5840 /* linux_lgetxattr */
5844 p = "userland const char *";
5847 p = "userland const char *";
5850 p = "userland char *";
5859 /* linux_fgetxattr */
5866 p = "userland const char *";
5869 p = "userland char *";
5878 /* linux_listxattr */
5882 p = "userland const char *";
5885 p = "userland const char *";
5894 /* linux_llistxattr */
5898 p = "userland const char *";
5901 p = "userland const char *";
5910 /* linux_flistxattr */
5917 p = "userland const char *";
5926 /* linux_removexattr */
5930 p = "userland const char *";
5933 p = "userland const char *";
5939 /* linux_lremovexattr */
5943 p = "userland const char *";
5946 p = "userland const char *";
5952 /* linux_fremovexattr */
5959 p = "userland const char *";
5978 /* linux_sendfile64 */
5988 p = "userland l_loff_t *";
5997 /* linux_sys_futex */
6001 p = "userland uint32_t *";
6010 p = "userland struct l_timespec *";
6013 p = "userland uint32_t *";
6022 /* linux_sched_setaffinity */
6032 p = "userland l_ulong *";
6038 /* linux_sched_getaffinity */
6048 p = "userland l_ulong *";
6054 /* linux_set_thread_area */
6058 p = "userland struct l_user_desc *";
6064 /* linux_get_thread_area */
6068 p = "userland struct l_user_desc *";
6074 /* linux_fadvise64 */
6093 /* linux_exit_group */
6103 /* linux_lookup_dcookie */
6106 /* linux_epoll_create */
6116 /* linux_epoll_ctl */
6129 p = "userland struct epoll_event *";
6135 /* linux_epoll_wait */
6142 p = "userland struct epoll_event *";
6154 /* linux_remap_file_pages */
6157 /* linux_set_tid_address */
6161 p = "userland int *";
6167 /* linux_timer_create */
6174 p = "userland struct sigevent *";
6177 p = "userland l_timer_t *";
6183 /* linux_timer_settime */
6193 p = "userland const struct itimerspec *";
6196 p = "userland struct itimerspec *";
6202 /* linux_timer_gettime */
6209 p = "userland struct itimerspec *";
6215 /* linux_timer_getoverrun */
6225 /* linux_timer_delete */
6235 /* linux_clock_settime */
6242 p = "userland struct l_timespec *";
6248 /* linux_clock_gettime */
6255 p = "userland struct l_timespec *";
6261 /* linux_clock_getres */
6268 p = "userland struct l_timespec *";
6274 /* linux_clock_nanosleep */
6284 p = "userland struct l_timespec *";
6287 p = "userland struct l_timespec *";
6293 /* linux_statfs64 */
6297 p = "userland char *";
6303 p = "userland struct l_statfs64_buf *";
6309 /* linux_fstatfs64 */
6319 p = "userland struct l_statfs64_buf *";
6345 p = "userland char *";
6348 p = "userland struct l_timeval *";
6354 /* linux_fadvise64_64 */
6376 /* linux_get_mempolicy */
6379 /* linux_set_mempolicy */
6386 p = "userland const char *";
6395 p = "userland struct mq_attr *";
6401 /* linux_mq_unlink */
6405 p = "userland const char *";
6411 /* linux_mq_timedsend */
6418 p = "userland const char *";
6427 p = "userland const struct l_timespec *";
6433 /* linux_mq_timedreceive */
6440 p = "userland char *";
6446 p = "userland l_uint *";
6449 p = "userland const struct l_timespec *";
6455 /* linux_mq_notify */
6462 p = "userland const struct l_timespec *";
6468 /* linux_mq_getsetattr */
6475 p = "userland const struct mq_attr *";
6478 p = "userland struct mq_attr *";
6484 /* linux_kexec_load */
6497 p = "userland l_siginfo_t *";
6503 p = "userland void *";
6512 /* linux_request_key */
6518 /* linux_ioprio_set */
6521 /* linux_ioprio_get */
6524 /* linux_inotify_init */
6527 /* linux_inotify_add_watch */
6530 /* linux_inotify_rm_watch */
6533 /* linux_migrate_pages */
6543 p = "userland const char *";
6562 p = "userland const char *";
6578 p = "userland const char *";
6590 /* linux_fchownat */
6597 p = "userland const char *";
6612 /* linux_futimesat */
6619 p = "userland char *";
6622 p = "userland struct l_timeval *";
6628 /* linux_fstatat64 */
6635 p = "userland char *";
6638 p = "userland struct l_stat64 *";
6647 /* linux_unlinkat */
6654 p = "userland const char *";
6663 /* linux_renameat */
6670 p = "userland const char *";
6676 p = "userland const char *";
6689 p = "userland const char *";
6695 p = "userland const char *";
6704 /* linux_symlinkat */
6708 p = "userland const char *";
6714 p = "userland const char *";
6720 /* linux_readlinkat */
6727 p = "userland const char *";
6730 p = "userland char *";
6739 /* linux_fchmodat */
6746 p = "userland const char *";
6755 /* linux_faccessat */
6762 p = "userland const char *";
6771 /* linux_pselect6 */
6778 p = "userland l_fd_set *";
6781 p = "userland l_fd_set *";
6784 p = "userland l_fd_set *";
6787 p = "userland struct l_timespec *";
6790 p = "userland l_uintptr_t *";
6800 p = "userland struct pollfd *";
6806 p = "userland struct l_timespec *";
6809 p = "userland l_sigset_t *";
6821 /* linux_set_robust_list */
6825 p = "userland struct linux_robust_list_head *";
6834 /* linux_get_robust_list */
6841 p = "userland struct linux_robust_list_head **";
6844 p = "userland l_size_t *";
6857 p = "userland l_loff_t *";
6863 p = "userland l_loff_t *";
6875 /* linux_sync_file_range */
6897 /* linux_vmsplice */
6900 /* linux_move_pages */
6907 p = "userland l_uint *";
6910 p = "userland l_uint *";
6913 p = "userland void *";
6919 /* linux_epoll_pwait */
6926 p = "userland struct epoll_event *";
6935 p = "userland l_sigset_t *";
6944 /* linux_utimensat */
6951 p = "userland const char *";
6954 p = "userland const struct l_timespec *";
6963 /* linux_signalfd */
6966 /* linux_timerfd_create */
6989 /* linux_fallocate */
7008 /* linux_timerfd_settime */
7018 p = "userland const struct l_itimerspec *";
7021 p = "userland struct l_itimerspec *";
7027 /* linux_timerfd_gettime */
7034 p = "userland struct l_itimerspec *";
7040 /* linux_signalfd4 */
7043 /* linux_eventfd2 */
7056 /* linux_epoll_create1 */
7086 p = "userland l_int *";
7095 /* linux_inotify_init1 */
7105 p = "userland struct iovec *";
7127 p = "userland struct iovec *";
7142 /* linux_rt_tgsigqueueinfo */
7155 p = "userland l_siginfo_t *";
7161 /* linux_perf_event_open */
7164 /* linux_recvmmsg */
7171 p = "userland struct l_mmsghdr *";
7180 p = "userland struct l_timespec *";
7186 /* linux_fanotify_init */
7189 /* linux_fanotify_mark */
7192 /* linux_prlimit64 */
7202 p = "userland struct rlimit *";
7205 p = "userland struct rlimit *";
7211 /* linux_name_to_handle_at */
7218 p = "userland const char *";
7221 p = "userland struct l_file_handle *";
7224 p = "userland l_int *";
7233 /* linux_open_by_handle_at */
7240 p = "userland struct l_file_handle *";
7249 /* linux_clock_adjtime */
7262 /* linux_sendmmsg */
7269 p = "userland struct l_mmsghdr *";
7284 /* linux_process_vm_readv */
7291 p = "userland const struct iovec *";
7297 p = "userland const struct iovec *";
7309 /* linux_process_vm_writev */
7316 p = "userland const struct iovec *";
7322 p = "userland const struct iovec *";
7356 /* linux_finit_module */
7363 p = "userland const char *";
7372 /* linux_sched_setattr */
7379 p = "userland void *";
7388 /* linux_sched_getattr */
7395 p = "userland void *";
7407 /* linux_renameat2 */
7414 p = "userland const char *";
7420 p = "userland const char *";
7439 p = "userland const char *";
7445 /* linux_getrandom */
7449 p = "userland char *";
7461 /* linux_memfd_create */
7465 p = "userland const char *";
7481 p = "userland void *";
7490 /* linux_execveat */
7497 p = "userland const char *";
7500 p = "userland const char **";
7503 p = "userland const char **";
7528 /* linux_socketpair */
7611 /* linux_getsockopt */
7633 /* linux_setsockopt */
7655 /* linux_getsockname */
7671 /* linux_getpeername */
7728 /* linux_recvfrom */
7769 /* linux_shutdown */
7782 /* linux_userfaultfd */
7792 /* linux_membarrier */
7821 /* linux_copy_file_range */
7828 p = "userland l_loff_t *";
7834 p = "userland l_loff_t *";
7853 p = "userland const struct iovec *";
7871 /* linux_pwritev2 */
7878 p = "userland const struct iovec *";
7896 /* linux_pkey_mprotect */
7915 /* linux_pkey_alloc */
7928 /* linux_pkey_free */
7945 p = "userland const char *";
7954 p = "userland void *";
7960 /* linux_arch_prctl */
7973 /* linux_io_pgetevents */
7980 p = "userland struct linux_rseq *";
8024 p = "union l_semun";
8056 p = "userland struct l_shmid_ds *";
8069 p = "userland char *";
8082 p = "userland char *";
8108 p = "userland struct l_msgbuf *";
8127 p = "userland struct l_msgbuf *";
8152 p = "userland struct l_msqid_ds *";
8158 /* linux_clock_gettime64 */
8165 p = "userland struct l_timespec64 *";
8171 /* linux_clock_settime64 */
8178 p = "userland struct l_timespec64 *";
8184 /* linux_clock_adjtime64 */
8187 /* linux_clock_getres_time64 */
8194 p = "userland struct l_timespec64 *";
8200 /* linux_clock_nanosleep_time64 */
8210 p = "userland struct l_timespec64 *";
8213 p = "userland struct l_timespec64 *";
8219 /* linux_timer_gettime64 */
8226 p = "userland struct l_itimerspec64 *";
8232 /* linux_timer_settime64 */
8242 p = "userland const struct l_itimerspec64 *";
8245 p = "userland struct l_itimerspec64 *";
8251 /* linux_timerfd_gettime64 */
8258 p = "userland struct l_itimerspec64 *";
8264 /* linux_timerfd_settime64 */
8274 p = "userland const struct l_itimerspec64 *";
8277 p = "userland struct l_itimerspec64 *";
8283 /* linux_utimensat_time64 */
8290 p = "userland const char *";
8293 p = "userland const struct l_timespec64 *";
8302 /* linux_pselect6_time64 */
8309 p = "userland l_fd_set *";
8312 p = "userland l_fd_set *";
8315 p = "userland l_fd_set *";
8318 p = "userland struct l_timespec64 *";
8321 p = "userland l_uintptr_t *";
8327 /* linux_ppoll_time64 */
8331 p = "userland struct pollfd *";
8337 p = "userland struct l_timespec64 *";
8340 p = "userland l_sigset_t *";
8349 /* linux_io_pgetevents_time64 */
8352 /* linux_recvmmsg_time64 */
8359 p = "userland struct l_mmsghdr *";
8368 p = "userland struct l_timespec64 *";
8374 /* linux_mq_timedsend_time64 */
8377 /* linux_mq_timedreceive_time64 */
8380 /* linux_semtimedop_time64 */
8387 p = "userland struct sembuf *";
8393 p = "userland struct l_timespec64 *";
8399 /* linux_rt_sigtimedwait_time64 */
8403 p = "userland l_sigset_t *";
8406 p = "userland l_siginfo_t *";
8409 p = "userland struct l_timespec64 *";
8418 /* linux_sys_futex_time64 */
8422 p = "userland uint32_t *";
8431 p = "userland struct l_timespec64 *";
8434 p = "userland uint32_t *";
8443 /* linux_sched_rr_get_interval_time64 */
8450 p = "userland struct l_timespec64 *";
8456 /* linux_pidfd_send_signal */
8466 p = "userland l_siginfo_t *";
8475 /* linux_io_uring_setup */
8478 /* linux_io_uring_enter */
8481 /* linux_io_uring_register */
8484 /* linux_open_tree */
8487 /* linux_move_mount */
8493 /* linux_fsconfig */
8502 /* linux_pidfd_open */
8509 p = "userland struct l_user_clone_args *";
8518 /* linux_close_range */
8537 /* linux_pidfd_getfd */
8540 /* linux_faccessat2 */
8547 p = "userland const char *";
8559 /* linux_process_madvise */
8562 /* linux_epoll_pwait2_64 */
8569 p = "userland struct epoll_event *";
8575 p = "userland struct l_timespec64 *";
8578 p = "userland l_sigset_t *";
8587 /* linux_mount_setattr */
8594 strlcpy(desc, p, descsz);
8597 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8599 const char *p = NULL;
8601 #define nosys linux_nosys
8604 if (ndx == 0 || ndx == 1)
8611 if (ndx == 0 || ndx == 1)
8616 if (ndx == 0 || ndx == 1)
8621 if (ndx == 0 || ndx == 1)
8626 if (ndx == 0 || ndx == 1)
8631 if (ndx == 0 || ndx == 1)
8636 if (ndx == 0 || ndx == 1)
8641 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)
8674 /* linux_lchown16 */
8676 if (ndx == 0 || ndx == 1)
8681 if (ndx == 0 || ndx == 1)
8686 if (ndx == 0 || ndx == 1)
8693 if (ndx == 0 || ndx == 1)
8696 /* linux_oldumount */
8698 if (ndx == 0 || ndx == 1)
8701 /* linux_setuid16 */
8703 if (ndx == 0 || ndx == 1)
8706 /* linux_getuid16 */
8712 if (ndx == 0 || ndx == 1)
8717 if (ndx == 0 || ndx == 1)
8724 if (ndx == 0 || ndx == 1)
8729 if (ndx == 0 || ndx == 1)
8734 if (ndx == 0 || ndx == 1)
8741 if (ndx == 0 || ndx == 1)
8746 if (ndx == 0 || ndx == 1)
8751 if (ndx == 0 || ndx == 1)
8756 if (ndx == 0 || ndx == 1)
8761 if (ndx == 0 || ndx == 1)
8766 if (ndx == 0 || ndx == 1)
8771 if (ndx == 0 || ndx == 1)
8776 if (ndx == 0 || ndx == 1)
8779 /* linux_setgid16 */
8781 if (ndx == 0 || ndx == 1)
8784 /* linux_getgid16 */
8788 if (ndx == 0 || ndx == 1)
8791 /* linux_geteuid16 */
8793 /* linux_getegid16 */
8797 if (ndx == 0 || ndx == 1)
8802 if (ndx == 0 || ndx == 1)
8807 if (ndx == 0 || ndx == 1)
8812 if (ndx == 0 || ndx == 1)
8817 if (ndx == 0 || ndx == 1)
8820 /* linux_olduname */
8824 if (ndx == 0 || ndx == 1)
8829 if (ndx == 0 || ndx == 1)
8834 if (ndx == 0 || ndx == 1)
8839 if (ndx == 0 || ndx == 1)
8848 /* linux_sigaction */
8850 if (ndx == 0 || ndx == 1)
8853 /* linux_sgetmask */
8855 /* linux_ssetmask */
8857 if (ndx == 0 || ndx == 1)
8860 /* linux_setreuid16 */
8862 if (ndx == 0 || ndx == 1)
8865 /* linux_setregid16 */
8867 if (ndx == 0 || ndx == 1)
8870 /* linux_sigsuspend */
8872 if (ndx == 0 || ndx == 1)
8875 /* linux_sigpending */
8877 if (ndx == 0 || ndx == 1)
8880 /* linux_sethostname */
8882 if (ndx == 0 || ndx == 1)
8885 /* linux_setrlimit */
8887 if (ndx == 0 || ndx == 1)
8890 /* linux_old_getrlimit */
8892 if (ndx == 0 || ndx == 1)
8897 if (ndx == 0 || ndx == 1)
8902 if (ndx == 0 || ndx == 1)
8907 if (ndx == 0 || ndx == 1)
8910 /* linux_getgroups16 */
8912 if (ndx == 0 || ndx == 1)
8915 /* linux_setgroups16 */
8917 if (ndx == 0 || ndx == 1)
8920 /* linux_old_select */
8922 if (ndx == 0 || ndx == 1)
8927 if (ndx == 0 || ndx == 1)
8932 if (ndx == 0 || ndx == 1)
8935 /* linux_readlink */
8937 if (ndx == 0 || ndx == 1)
8942 if (ndx == 0 || ndx == 1)
8947 if (ndx == 0 || ndx == 1)
8952 if (ndx == 0 || ndx == 1)
8957 if (ndx == 0 || ndx == 1)
8962 if (ndx == 0 || ndx == 1)
8967 if (ndx == 0 || ndx == 1)
8970 /* linux_truncate */
8972 if (ndx == 0 || ndx == 1)
8975 /* linux_ftruncate */
8977 if (ndx == 0 || ndx == 1)
8982 if (ndx == 0 || ndx == 1)
8987 if (ndx == 0 || ndx == 1)
8990 /* linux_getpriority */
8992 if (ndx == 0 || ndx == 1)
8997 if (ndx == 0 || ndx == 1)
9002 if (ndx == 0 || ndx == 1)
9007 if (ndx == 0 || ndx == 1)
9012 if (ndx == 0 || ndx == 1)
9015 /* linux_socketcall */
9017 if (ndx == 0 || ndx == 1)
9022 if (ndx == 0 || ndx == 1)
9025 /* linux_setitimer */
9027 if (ndx == 0 || ndx == 1)
9030 /* linux_getitimer */
9032 if (ndx == 0 || ndx == 1)
9037 if (ndx == 0 || ndx == 1)
9040 /* linux_newlstat */
9042 if (ndx == 0 || ndx == 1)
9045 /* linux_newfstat */
9047 if (ndx == 0 || ndx == 1)
9054 if (ndx == 0 || ndx == 1)
9063 if (ndx == 0 || ndx == 1)
9070 if (ndx == 0 || ndx == 1)
9075 if (ndx == 0 || ndx == 1)
9080 if (ndx == 0 || ndx == 1)
9083 /* linux_sigreturn */
9085 if (ndx == 0 || ndx == 1)
9090 if (ndx == 0 || ndx == 1)
9093 /* linux_setdomainname */
9095 if (ndx == 0 || ndx == 1)
9098 /* linux_newuname */
9100 if (ndx == 0 || ndx == 1)
9103 /* linux_modify_ldt */
9105 if (ndx == 0 || ndx == 1)
9108 /* linux_adjtimex */
9110 /* linux_mprotect */
9112 if (ndx == 0 || ndx == 1)
9115 /* linux_sigprocmask */
9117 if (ndx == 0 || ndx == 1)
9120 /* linux_init_module */
9122 /* linux_delete_module */
9124 /* linux_quotactl */
9128 if (ndx == 0 || ndx == 1)
9133 if (ndx == 0 || ndx == 1)
9140 if (ndx == 0 || ndx == 1)
9143 /* linux_personality */
9145 if (ndx == 0 || ndx == 1)
9148 /* linux_setfsuid16 */
9150 if (ndx == 0 || ndx == 1)
9153 /* linux_setfsgid16 */
9155 if (ndx == 0 || ndx == 1)
9160 if (ndx == 0 || ndx == 1)
9163 /* linux_getdents */
9165 if (ndx == 0 || ndx == 1)
9170 if (ndx == 0 || ndx == 1)
9175 if (ndx == 0 || ndx == 1)
9180 if (ndx == 0 || ndx == 1)
9185 if (ndx == 0 || ndx == 1)
9190 if (ndx == 0 || ndx == 1)
9195 if (ndx == 0 || ndx == 1)
9198 /* linux_fdatasync */
9200 if (ndx == 0 || ndx == 1)
9205 if (ndx == 0 || ndx == 1)
9210 if (ndx == 0 || ndx == 1)
9215 if (ndx == 0 || ndx == 1)
9220 if (ndx == 0 || ndx == 1)
9225 /* linux_sched_setparam */
9227 if (ndx == 0 || ndx == 1)
9230 /* linux_sched_getparam */
9232 if (ndx == 0 || ndx == 1)
9235 /* linux_sched_setscheduler */
9237 if (ndx == 0 || ndx == 1)
9240 /* linux_sched_getscheduler */
9242 if (ndx == 0 || ndx == 1)
9247 /* linux_sched_get_priority_max */
9249 if (ndx == 0 || ndx == 1)
9252 /* linux_sched_get_priority_min */
9254 if (ndx == 0 || ndx == 1)
9257 /* linux_sched_rr_get_interval */
9259 if (ndx == 0 || ndx == 1)
9262 /* linux_nanosleep */
9264 if (ndx == 0 || ndx == 1)
9269 if (ndx == 0 || ndx == 1)
9272 /* linux_setresuid16 */
9274 if (ndx == 0 || ndx == 1)
9277 /* linux_getresuid16 */
9279 if (ndx == 0 || ndx == 1)
9286 if (ndx == 0 || ndx == 1)
9289 /* linux_setresgid16 */
9291 if (ndx == 0 || ndx == 1)
9294 /* linux_getresgid16 */
9296 if (ndx == 0 || ndx == 1)
9301 if (ndx == 0 || ndx == 1)
9304 /* linux_rt_sigreturn */
9306 if (ndx == 0 || ndx == 1)
9309 /* linux_rt_sigaction */
9311 if (ndx == 0 || ndx == 1)
9314 /* linux_rt_sigprocmask */
9316 if (ndx == 0 || ndx == 1)
9319 /* linux_rt_sigpending */
9321 if (ndx == 0 || ndx == 1)
9324 /* linux_rt_sigtimedwait */
9326 if (ndx == 0 || ndx == 1)
9329 /* linux_rt_sigqueueinfo */
9331 if (ndx == 0 || ndx == 1)
9334 /* linux_rt_sigsuspend */
9336 if (ndx == 0 || ndx == 1)
9341 if (ndx == 0 || ndx == 1)
9346 if (ndx == 0 || ndx == 1)
9351 if (ndx == 0 || ndx == 1)
9356 if (ndx == 0 || ndx == 1)
9361 if (ndx == 0 || ndx == 1)
9366 if (ndx == 0 || ndx == 1)
9369 /* linux_sigaltstack */
9371 if (ndx == 0 || ndx == 1)
9374 /* linux_sendfile */
9376 if (ndx == 0 || ndx == 1)
9381 /* linux_getrlimit */
9383 if (ndx == 0 || ndx == 1)
9388 if (ndx == 0 || ndx == 1)
9391 /* linux_truncate64 */
9393 if (ndx == 0 || ndx == 1)
9396 /* linux_ftruncate64 */
9398 if (ndx == 0 || ndx == 1)
9403 if (ndx == 0 || ndx == 1)
9408 if (ndx == 0 || ndx == 1)
9413 if (ndx == 0 || ndx == 1)
9418 if (ndx == 0 || ndx == 1)
9431 if (ndx == 0 || ndx == 1)
9436 if (ndx == 0 || ndx == 1)
9439 /* linux_getgroups */
9441 if (ndx == 0 || ndx == 1)
9444 /* linux_setgroups */
9446 if (ndx == 0 || ndx == 1)
9453 if (ndx == 0 || ndx == 1)
9458 if (ndx == 0 || ndx == 1)
9463 if (ndx == 0 || ndx == 1)
9468 if (ndx == 0 || ndx == 1)
9473 if (ndx == 0 || ndx == 1)
9478 if (ndx == 0 || ndx == 1)
9483 if (ndx == 0 || ndx == 1)
9486 /* linux_setfsuid */
9488 if (ndx == 0 || ndx == 1)
9491 /* linux_setfsgid */
9493 if (ndx == 0 || ndx == 1)
9496 /* linux_pivot_root */
9498 if (ndx == 0 || ndx == 1)
9503 if (ndx == 0 || ndx == 1)
9508 if (ndx == 0 || ndx == 1)
9511 /* linux_getdents64 */
9513 if (ndx == 0 || ndx == 1)
9518 if (ndx == 0 || ndx == 1)
9523 /* linux_setxattr */
9525 if (ndx == 0 || ndx == 1)
9528 /* linux_lsetxattr */
9530 if (ndx == 0 || ndx == 1)
9533 /* linux_fsetxattr */
9535 if (ndx == 0 || ndx == 1)
9538 /* linux_getxattr */
9540 if (ndx == 0 || ndx == 1)
9543 /* linux_lgetxattr */
9545 if (ndx == 0 || ndx == 1)
9548 /* linux_fgetxattr */
9550 if (ndx == 0 || ndx == 1)
9553 /* linux_listxattr */
9555 if (ndx == 0 || ndx == 1)
9558 /* linux_llistxattr */
9560 if (ndx == 0 || ndx == 1)
9563 /* linux_flistxattr */
9565 if (ndx == 0 || ndx == 1)
9568 /* linux_removexattr */
9570 if (ndx == 0 || ndx == 1)
9573 /* linux_lremovexattr */
9575 if (ndx == 0 || ndx == 1)
9578 /* linux_fremovexattr */
9580 if (ndx == 0 || ndx == 1)
9585 if (ndx == 0 || ndx == 1)
9588 /* linux_sendfile64 */
9590 if (ndx == 0 || ndx == 1)
9593 /* linux_sys_futex */
9595 if (ndx == 0 || ndx == 1)
9598 /* linux_sched_setaffinity */
9600 if (ndx == 0 || ndx == 1)
9603 /* linux_sched_getaffinity */
9605 if (ndx == 0 || ndx == 1)
9608 /* linux_set_thread_area */
9610 if (ndx == 0 || ndx == 1)
9613 /* linux_get_thread_area */
9615 if (ndx == 0 || ndx == 1)
9618 /* linux_fadvise64 */
9620 if (ndx == 0 || ndx == 1)
9623 /* linux_exit_group */
9625 if (ndx == 0 || ndx == 1)
9628 /* linux_lookup_dcookie */
9630 /* linux_epoll_create */
9632 if (ndx == 0 || ndx == 1)
9635 /* linux_epoll_ctl */
9637 if (ndx == 0 || ndx == 1)
9640 /* linux_epoll_wait */
9642 if (ndx == 0 || ndx == 1)
9645 /* linux_remap_file_pages */
9647 /* linux_set_tid_address */
9649 if (ndx == 0 || ndx == 1)
9652 /* linux_timer_create */
9654 if (ndx == 0 || ndx == 1)
9657 /* linux_timer_settime */
9659 if (ndx == 0 || ndx == 1)
9662 /* linux_timer_gettime */
9664 if (ndx == 0 || ndx == 1)
9667 /* linux_timer_getoverrun */
9669 if (ndx == 0 || ndx == 1)
9672 /* linux_timer_delete */
9674 if (ndx == 0 || ndx == 1)
9677 /* linux_clock_settime */
9679 if (ndx == 0 || ndx == 1)
9682 /* linux_clock_gettime */
9684 if (ndx == 0 || ndx == 1)
9687 /* linux_clock_getres */
9689 if (ndx == 0 || ndx == 1)
9692 /* linux_clock_nanosleep */
9694 if (ndx == 0 || ndx == 1)
9697 /* linux_statfs64 */
9699 if (ndx == 0 || ndx == 1)
9702 /* linux_fstatfs64 */
9704 if (ndx == 0 || ndx == 1)
9709 if (ndx == 0 || ndx == 1)
9714 if (ndx == 0 || ndx == 1)
9717 /* linux_fadvise64_64 */
9719 if (ndx == 0 || ndx == 1)
9724 /* linux_get_mempolicy */
9726 /* linux_set_mempolicy */
9730 if (ndx == 0 || ndx == 1)
9733 /* linux_mq_unlink */
9735 if (ndx == 0 || ndx == 1)
9738 /* linux_mq_timedsend */
9740 if (ndx == 0 || ndx == 1)
9743 /* linux_mq_timedreceive */
9745 if (ndx == 0 || ndx == 1)
9748 /* linux_mq_notify */
9750 if (ndx == 0 || ndx == 1)
9753 /* linux_mq_getsetattr */
9755 if (ndx == 0 || ndx == 1)
9758 /* linux_kexec_load */
9762 if (ndx == 0 || ndx == 1)
9767 /* linux_request_key */
9771 /* linux_ioprio_set */
9773 /* linux_ioprio_get */
9775 /* linux_inotify_init */
9777 /* linux_inotify_add_watch */
9779 /* linux_inotify_rm_watch */
9781 /* linux_migrate_pages */
9785 if (ndx == 0 || ndx == 1)
9790 if (ndx == 0 || ndx == 1)
9795 if (ndx == 0 || ndx == 1)
9798 /* linux_fchownat */
9800 if (ndx == 0 || ndx == 1)
9803 /* linux_futimesat */
9805 if (ndx == 0 || ndx == 1)
9808 /* linux_fstatat64 */
9810 if (ndx == 0 || ndx == 1)
9813 /* linux_unlinkat */
9815 if (ndx == 0 || ndx == 1)
9818 /* linux_renameat */
9820 if (ndx == 0 || ndx == 1)
9825 if (ndx == 0 || ndx == 1)
9828 /* linux_symlinkat */
9830 if (ndx == 0 || ndx == 1)
9833 /* linux_readlinkat */
9835 if (ndx == 0 || ndx == 1)
9838 /* linux_fchmodat */
9840 if (ndx == 0 || ndx == 1)
9843 /* linux_faccessat */
9845 if (ndx == 0 || ndx == 1)
9848 /* linux_pselect6 */
9850 if (ndx == 0 || ndx == 1)
9855 if (ndx == 0 || ndx == 1)
9860 /* linux_set_robust_list */
9862 if (ndx == 0 || ndx == 1)
9865 /* linux_get_robust_list */
9867 if (ndx == 0 || ndx == 1)
9872 if (ndx == 0 || ndx == 1)
9875 /* linux_sync_file_range */
9877 if (ndx == 0 || ndx == 1)
9882 /* linux_vmsplice */
9884 /* linux_move_pages */
9888 if (ndx == 0 || ndx == 1)
9891 /* linux_epoll_pwait */
9893 if (ndx == 0 || ndx == 1)
9896 /* linux_utimensat */
9898 if (ndx == 0 || ndx == 1)
9901 /* linux_signalfd */
9903 /* linux_timerfd_create */
9905 if (ndx == 0 || ndx == 1)
9910 if (ndx == 0 || ndx == 1)
9913 /* linux_fallocate */
9915 if (ndx == 0 || ndx == 1)
9918 /* linux_timerfd_settime */
9920 if (ndx == 0 || ndx == 1)
9923 /* linux_timerfd_gettime */
9925 if (ndx == 0 || ndx == 1)
9928 /* linux_signalfd4 */
9930 /* linux_eventfd2 */
9932 if (ndx == 0 || ndx == 1)
9935 /* linux_epoll_create1 */
9937 if (ndx == 0 || ndx == 1)
9942 if (ndx == 0 || ndx == 1)
9947 if (ndx == 0 || ndx == 1)
9950 /* linux_inotify_init1 */
9954 if (ndx == 0 || ndx == 1)
9959 if (ndx == 0 || ndx == 1)
9962 /* linux_rt_tgsigqueueinfo */
9964 if (ndx == 0 || ndx == 1)
9967 /* linux_perf_event_open */
9969 /* linux_recvmmsg */
9971 if (ndx == 0 || ndx == 1)
9974 /* linux_fanotify_init */
9976 /* linux_fanotify_mark */
9978 /* linux_prlimit64 */
9980 if (ndx == 0 || ndx == 1)
9983 /* linux_name_to_handle_at */
9985 if (ndx == 0 || ndx == 1)
9988 /* linux_open_by_handle_at */
9990 if (ndx == 0 || ndx == 1)
9993 /* linux_clock_adjtime */
9997 if (ndx == 0 || ndx == 1)
10000 /* linux_sendmmsg */
10002 if (ndx == 0 || ndx == 1)
10007 /* linux_process_vm_readv */
10009 if (ndx == 0 || ndx == 1)
10012 /* linux_process_vm_writev */
10014 if (ndx == 0 || ndx == 1)
10019 if (ndx == 0 || ndx == 1)
10022 /* linux_finit_module */
10024 if (ndx == 0 || ndx == 1)
10027 /* linux_sched_setattr */
10029 if (ndx == 0 || ndx == 1)
10032 /* linux_sched_getattr */
10034 if (ndx == 0 || ndx == 1)
10037 /* linux_renameat2 */
10039 if (ndx == 0 || ndx == 1)
10042 /* linux_seccomp */
10044 if (ndx == 0 || ndx == 1)
10047 /* linux_getrandom */
10049 if (ndx == 0 || ndx == 1)
10052 /* linux_memfd_create */
10054 if (ndx == 0 || ndx == 1)
10059 if (ndx == 0 || ndx == 1)
10062 /* linux_execveat */
10064 if (ndx == 0 || ndx == 1)
10069 if (ndx == 0 || ndx == 1)
10072 /* linux_socketpair */
10074 if (ndx == 0 || ndx == 1)
10079 if (ndx == 0 || ndx == 1)
10082 /* linux_connect */
10084 if (ndx == 0 || ndx == 1)
10089 if (ndx == 0 || ndx == 1)
10092 /* linux_accept4 */
10094 if (ndx == 0 || ndx == 1)
10097 /* linux_getsockopt */
10099 if (ndx == 0 || ndx == 1)
10102 /* linux_setsockopt */
10104 if (ndx == 0 || ndx == 1)
10107 /* linux_getsockname */
10109 if (ndx == 0 || ndx == 1)
10112 /* linux_getpeername */
10114 if (ndx == 0 || ndx == 1)
10119 if (ndx == 0 || ndx == 1)
10122 /* linux_sendmsg */
10124 if (ndx == 0 || ndx == 1)
10127 /* linux_recvfrom */
10129 if (ndx == 0 || ndx == 1)
10132 /* linux_recvmsg */
10134 if (ndx == 0 || ndx == 1)
10137 /* linux_shutdown */
10139 if (ndx == 0 || ndx == 1)
10142 /* linux_userfaultfd */
10144 if (ndx == 0 || ndx == 1)
10147 /* linux_membarrier */
10149 if (ndx == 0 || ndx == 1)
10154 if (ndx == 0 || ndx == 1)
10157 /* linux_copy_file_range */
10159 if (ndx == 0 || ndx == 1)
10162 /* linux_preadv2 */
10164 if (ndx == 0 || ndx == 1)
10167 /* linux_pwritev2 */
10169 if (ndx == 0 || ndx == 1)
10172 /* linux_pkey_mprotect */
10174 if (ndx == 0 || ndx == 1)
10177 /* linux_pkey_alloc */
10179 if (ndx == 0 || ndx == 1)
10182 /* linux_pkey_free */
10184 if (ndx == 0 || ndx == 1)
10189 if (ndx == 0 || ndx == 1)
10192 /* linux_arch_prctl */
10194 if (ndx == 0 || ndx == 1)
10197 /* linux_io_pgetevents */
10201 if (ndx == 0 || ndx == 1)
10206 if (ndx == 0 || ndx == 1)
10211 if (ndx == 0 || ndx == 1)
10216 if (ndx == 0 || ndx == 1)
10221 if (ndx == 0 || ndx == 1)
10226 if (ndx == 0 || ndx == 1)
10231 if (ndx == 0 || ndx == 1)
10236 if (ndx == 0 || ndx == 1)
10241 if (ndx == 0 || ndx == 1)
10246 if (ndx == 0 || ndx == 1)
10251 if (ndx == 0 || ndx == 1)
10254 /* linux_clock_gettime64 */
10256 if (ndx == 0 || ndx == 1)
10259 /* linux_clock_settime64 */
10261 if (ndx == 0 || ndx == 1)
10264 /* linux_clock_adjtime64 */
10266 /* linux_clock_getres_time64 */
10268 if (ndx == 0 || ndx == 1)
10271 /* linux_clock_nanosleep_time64 */
10273 if (ndx == 0 || ndx == 1)
10276 /* linux_timer_gettime64 */
10278 if (ndx == 0 || ndx == 1)
10281 /* linux_timer_settime64 */
10283 if (ndx == 0 || ndx == 1)
10286 /* linux_timerfd_gettime64 */
10288 if (ndx == 0 || ndx == 1)
10291 /* linux_timerfd_settime64 */
10293 if (ndx == 0 || ndx == 1)
10296 /* linux_utimensat_time64 */
10298 if (ndx == 0 || ndx == 1)
10301 /* linux_pselect6_time64 */
10303 if (ndx == 0 || ndx == 1)
10306 /* linux_ppoll_time64 */
10308 if (ndx == 0 || ndx == 1)
10311 /* linux_io_pgetevents_time64 */
10313 /* linux_recvmmsg_time64 */
10315 if (ndx == 0 || ndx == 1)
10318 /* linux_mq_timedsend_time64 */
10320 /* linux_mq_timedreceive_time64 */
10322 /* linux_semtimedop_time64 */
10324 if (ndx == 0 || ndx == 1)
10327 /* linux_rt_sigtimedwait_time64 */
10329 if (ndx == 0 || ndx == 1)
10332 /* linux_sys_futex_time64 */
10334 if (ndx == 0 || ndx == 1)
10337 /* linux_sched_rr_get_interval_time64 */
10339 if (ndx == 0 || ndx == 1)
10342 /* linux_pidfd_send_signal */
10344 if (ndx == 0 || ndx == 1)
10347 /* linux_io_uring_setup */
10349 /* linux_io_uring_enter */
10351 /* linux_io_uring_register */
10353 /* linux_open_tree */
10355 /* linux_move_mount */
10359 /* linux_fsconfig */
10361 /* linux_fsmount */
10365 /* linux_pidfd_open */
10369 if (ndx == 0 || ndx == 1)
10372 /* linux_close_range */
10374 if (ndx == 0 || ndx == 1)
10377 /* linux_openat2 */
10379 /* linux_pidfd_getfd */
10381 /* linux_faccessat2 */
10383 if (ndx == 0 || ndx == 1)
10386 /* linux_process_madvise */
10388 /* linux_epoll_pwait2_64 */
10390 if (ndx == 0 || ndx == 1)
10393 /* linux_mount_setattr */
10399 strlcpy(desc, p, descsz);