2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
14 #define nosys linux_nosys
17 struct linux_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t) p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t) p->fname; /* char * */
225 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t) p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t) p->from; /* char * */
261 uarg[1] = (intptr_t) p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t) p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t) p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t) p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t) p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t) p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t) p->path; /* char * */
557 uarg[1] = (intptr_t) p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t) p->name; /* char * */
573 uarg[1] = (intptr_t) p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t) p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t) p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t) p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t) p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t) p->path; /* char * */
673 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t) p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t) p->path; /* char * */
723 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t) p->path; /* char * */
731 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t) p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_uint */
789 iarg[4] = p->ptr; /* l_uintptr_t */
790 iarg[5] = p->arg5; /* l_uint */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t) p->stack; /* void * */
813 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t) p->tls; /* void * */
815 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t) p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t) p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
857 /* linux_init_module */
862 /* linux_delete_module */
874 struct getpgid_args *p = params;
875 iarg[0] = p->pid; /* int */
881 struct fchdir_args *p = params;
882 iarg[0] = p->fd; /* int */
893 struct linux_sysfs_args *p = params;
894 iarg[0] = p->option; /* l_int */
895 iarg[1] = p->arg1; /* l_ulong */
896 iarg[2] = p->arg2; /* l_ulong */
900 /* linux_personality */
902 struct linux_personality_args *p = params;
903 iarg[0] = p->per; /* l_uint */
907 /* linux_setfsuid16 */
909 struct linux_setfsuid16_args *p = params;
910 iarg[0] = p->uid; /* l_uid16_t */
914 /* linux_setfsgid16 */
916 struct linux_setfsgid16_args *p = params;
917 iarg[0] = p->gid; /* l_gid16_t */
923 struct linux_llseek_args *p = params;
924 iarg[0] = p->fd; /* l_int */
925 iarg[1] = p->ohigh; /* l_ulong */
926 iarg[2] = p->olow; /* l_ulong */
927 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
928 iarg[4] = p->whence; /* l_uint */
934 struct linux_getdents_args *p = params;
935 iarg[0] = p->fd; /* l_uint */
936 uarg[1] = (intptr_t) p->dent; /* void * */
937 iarg[2] = p->count; /* l_uint */
943 struct linux_select_args *p = params;
944 iarg[0] = p->nfds; /* l_int */
945 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
946 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
947 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
948 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
954 struct flock_args *p = params;
955 iarg[0] = p->fd; /* int */
956 iarg[1] = p->how; /* int */
962 struct linux_msync_args *p = params;
963 iarg[0] = p->addr; /* l_ulong */
964 iarg[1] = p->len; /* l_size_t */
965 iarg[2] = p->fl; /* l_int */
971 struct linux_readv_args *p = params;
972 iarg[0] = p->fd; /* l_ulong */
973 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
974 iarg[2] = p->iovcnt; /* l_ulong */
980 struct linux_writev_args *p = params;
981 iarg[0] = p->fd; /* l_ulong */
982 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
983 iarg[2] = p->iovcnt; /* l_ulong */
989 struct linux_getsid_args *p = params;
990 iarg[0] = p->pid; /* l_pid_t */
994 /* linux_fdatasync */
996 struct linux_fdatasync_args *p = params;
997 iarg[0] = p->fd; /* l_uint */
1003 struct linux_sysctl_args *p = params;
1004 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1010 struct mlock_args *p = params;
1011 uarg[0] = (intptr_t) p->addr; /* const void * */
1012 uarg[1] = p->len; /* size_t */
1018 struct munlock_args *p = params;
1019 uarg[0] = (intptr_t) p->addr; /* const void * */
1020 uarg[1] = p->len; /* size_t */
1026 struct mlockall_args *p = params;
1027 iarg[0] = p->how; /* int */
1036 /* linux_sched_setparam */
1038 struct linux_sched_setparam_args *p = params;
1039 iarg[0] = p->pid; /* l_pid_t */
1040 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1044 /* linux_sched_getparam */
1046 struct linux_sched_getparam_args *p = params;
1047 iarg[0] = p->pid; /* l_pid_t */
1048 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1052 /* linux_sched_setscheduler */
1054 struct linux_sched_setscheduler_args *p = params;
1055 iarg[0] = p->pid; /* l_pid_t */
1056 iarg[1] = p->policy; /* l_int */
1057 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1061 /* linux_sched_getscheduler */
1063 struct linux_sched_getscheduler_args *p = params;
1064 iarg[0] = p->pid; /* l_pid_t */
1073 /* linux_sched_get_priority_max */
1075 struct linux_sched_get_priority_max_args *p = params;
1076 iarg[0] = p->policy; /* l_int */
1080 /* linux_sched_get_priority_min */
1082 struct linux_sched_get_priority_min_args *p = params;
1083 iarg[0] = p->policy; /* l_int */
1087 /* linux_sched_rr_get_interval */
1089 struct linux_sched_rr_get_interval_args *p = params;
1090 iarg[0] = p->pid; /* l_pid_t */
1091 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1095 /* linux_nanosleep */
1097 struct linux_nanosleep_args *p = params;
1098 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1099 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1105 struct linux_mremap_args *p = params;
1106 iarg[0] = p->addr; /* l_ulong */
1107 iarg[1] = p->old_len; /* l_ulong */
1108 iarg[2] = p->new_len; /* l_ulong */
1109 iarg[3] = p->flags; /* l_ulong */
1110 iarg[4] = p->new_addr; /* l_ulong */
1114 /* linux_setresuid16 */
1116 struct linux_setresuid16_args *p = params;
1117 iarg[0] = p->ruid; /* l_uid16_t */
1118 iarg[1] = p->euid; /* l_uid16_t */
1119 iarg[2] = p->suid; /* l_uid16_t */
1123 /* linux_getresuid16 */
1125 struct linux_getresuid16_args *p = params;
1126 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1127 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1128 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1134 struct poll_args *p = params;
1135 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1136 uarg[1] = p->nfds; /* unsigned int */
1137 iarg[2] = p->timeout; /* int */
1141 /* linux_setresgid16 */
1143 struct linux_setresgid16_args *p = params;
1144 iarg[0] = p->rgid; /* l_gid16_t */
1145 iarg[1] = p->egid; /* l_gid16_t */
1146 iarg[2] = p->sgid; /* l_gid16_t */
1150 /* linux_getresgid16 */
1152 struct linux_getresgid16_args *p = params;
1153 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1154 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1155 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1161 struct linux_prctl_args *p = params;
1162 iarg[0] = p->option; /* l_int */
1163 iarg[1] = p->arg2; /* l_int */
1164 iarg[2] = p->arg3; /* l_int */
1165 iarg[3] = p->arg4; /* l_int */
1166 iarg[4] = p->arg5; /* l_int */
1170 /* linux_rt_sigreturn */
1172 struct linux_rt_sigreturn_args *p = params;
1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1177 /* linux_rt_sigaction */
1179 struct linux_rt_sigaction_args *p = params;
1180 iarg[0] = p->sig; /* l_int */
1181 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1182 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1183 iarg[3] = p->sigsetsize; /* l_size_t */
1187 /* linux_rt_sigprocmask */
1189 struct linux_rt_sigprocmask_args *p = params;
1190 iarg[0] = p->how; /* l_int */
1191 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1192 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1193 iarg[3] = p->sigsetsize; /* l_size_t */
1197 /* linux_rt_sigpending */
1199 struct linux_rt_sigpending_args *p = params;
1200 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1201 iarg[1] = p->sigsetsize; /* l_size_t */
1205 /* linux_rt_sigtimedwait */
1207 struct linux_rt_sigtimedwait_args *p = params;
1208 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1209 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1210 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1211 iarg[3] = p->sigsetsize; /* l_size_t */
1215 /* linux_rt_sigqueueinfo */
1217 struct linux_rt_sigqueueinfo_args *p = params;
1218 iarg[0] = p->pid; /* l_pid_t */
1219 iarg[1] = p->sig; /* l_int */
1220 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1224 /* linux_rt_sigsuspend */
1226 struct linux_rt_sigsuspend_args *p = params;
1227 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1228 iarg[1] = p->sigsetsize; /* l_size_t */
1234 struct linux_pread_args *p = params;
1235 iarg[0] = p->fd; /* l_uint */
1236 uarg[1] = (intptr_t) p->buf; /* char * */
1237 iarg[2] = p->nbyte; /* l_size_t */
1238 iarg[3] = p->offset; /* l_loff_t */
1244 struct linux_pwrite_args *p = params;
1245 iarg[0] = p->fd; /* l_uint */
1246 uarg[1] = (intptr_t) p->buf; /* char * */
1247 iarg[2] = p->nbyte; /* l_size_t */
1248 iarg[3] = p->offset; /* l_loff_t */
1254 struct linux_chown16_args *p = params;
1255 uarg[0] = (intptr_t) p->path; /* char * */
1256 iarg[1] = p->uid; /* l_uid16_t */
1257 iarg[2] = p->gid; /* l_gid16_t */
1263 struct linux_getcwd_args *p = params;
1264 uarg[0] = (intptr_t) p->buf; /* char * */
1265 iarg[1] = p->bufsize; /* l_ulong */
1271 struct linux_capget_args *p = params;
1272 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1273 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1279 struct linux_capset_args *p = params;
1280 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1281 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1285 /* linux_sigaltstack */
1287 struct linux_sigaltstack_args *p = params;
1288 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1289 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1293 /* linux_sendfile */
1303 /* linux_getrlimit */
1305 struct linux_getrlimit_args *p = params;
1306 iarg[0] = p->resource; /* l_uint */
1307 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1313 struct linux_mmap2_args *p = params;
1314 iarg[0] = p->addr; /* l_ulong */
1315 iarg[1] = p->len; /* l_ulong */
1316 iarg[2] = p->prot; /* l_ulong */
1317 iarg[3] = p->flags; /* l_ulong */
1318 iarg[4] = p->fd; /* l_ulong */
1319 iarg[5] = p->pgoff; /* l_ulong */
1323 /* linux_truncate64 */
1325 struct linux_truncate64_args *p = params;
1326 uarg[0] = (intptr_t) p->path; /* char * */
1327 iarg[1] = p->length; /* l_loff_t */
1331 /* linux_ftruncate64 */
1333 struct linux_ftruncate64_args *p = params;
1334 iarg[0] = p->fd; /* l_uint */
1335 iarg[1] = p->length; /* l_loff_t */
1341 struct linux_stat64_args *p = params;
1342 uarg[0] = (intptr_t) p->filename; /* const char * */
1343 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1349 struct linux_lstat64_args *p = params;
1350 uarg[0] = (intptr_t) p->filename; /* const char * */
1351 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1357 struct linux_fstat64_args *p = params;
1358 iarg[0] = p->fd; /* l_int */
1359 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1365 struct linux_lchown_args *p = params;
1366 uarg[0] = (intptr_t) p->path; /* char * */
1367 iarg[1] = p->uid; /* l_uid_t */
1368 iarg[2] = p->gid; /* l_gid_t */
1394 struct setreuid_args *p = params;
1395 uarg[0] = p->ruid; /* uid_t */
1396 uarg[1] = p->euid; /* uid_t */
1402 struct setregid_args *p = params;
1403 iarg[0] = p->rgid; /* gid_t */
1404 iarg[1] = p->egid; /* gid_t */
1408 /* linux_getgroups */
1410 struct linux_getgroups_args *p = params;
1411 iarg[0] = p->gidsetsize; /* l_int */
1412 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1416 /* linux_setgroups */
1418 struct linux_setgroups_args *p = params;
1419 iarg[0] = p->gidsetsize; /* l_int */
1420 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1431 struct setresuid_args *p = params;
1432 uarg[0] = p->ruid; /* uid_t */
1433 uarg[1] = p->euid; /* uid_t */
1434 uarg[2] = p->suid; /* uid_t */
1440 struct getresuid_args *p = params;
1441 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1442 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1443 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1449 struct setresgid_args *p = params;
1450 iarg[0] = p->rgid; /* gid_t */
1451 iarg[1] = p->egid; /* gid_t */
1452 iarg[2] = p->sgid; /* gid_t */
1458 struct getresgid_args *p = params;
1459 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1460 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1461 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1467 struct linux_chown_args *p = params;
1468 uarg[0] = (intptr_t) p->path; /* char * */
1469 iarg[1] = p->uid; /* l_uid_t */
1470 iarg[2] = p->gid; /* l_gid_t */
1476 struct setuid_args *p = params;
1477 uarg[0] = p->uid; /* uid_t */
1483 struct setgid_args *p = params;
1484 iarg[0] = p->gid; /* gid_t */
1488 /* linux_setfsuid */
1490 struct linux_setfsuid_args *p = params;
1491 iarg[0] = p->uid; /* l_uid_t */
1495 /* linux_setfsgid */
1497 struct linux_setfsgid_args *p = params;
1498 iarg[0] = p->gid; /* l_gid_t */
1502 /* linux_pivot_root */
1504 struct linux_pivot_root_args *p = params;
1505 uarg[0] = (intptr_t) p->new_root; /* char * */
1506 uarg[1] = (intptr_t) p->put_old; /* char * */
1512 struct linux_mincore_args *p = params;
1513 iarg[0] = p->start; /* l_ulong */
1514 iarg[1] = p->len; /* l_size_t */
1515 uarg[2] = (intptr_t) p->vec; /* u_char * */
1521 struct madvise_args *p = params;
1522 uarg[0] = (intptr_t) p->addr; /* void * */
1523 uarg[1] = p->len; /* size_t */
1524 iarg[2] = p->behav; /* int */
1528 /* linux_getdents64 */
1530 struct linux_getdents64_args *p = params;
1531 iarg[0] = p->fd; /* l_uint */
1532 uarg[1] = (intptr_t) p->dirent; /* void * */
1533 iarg[2] = p->count; /* l_uint */
1539 struct linux_fcntl64_args *p = params;
1540 iarg[0] = p->fd; /* l_uint */
1541 iarg[1] = p->cmd; /* l_uint */
1542 uarg[2] = p->arg; /* uintptr_t */
1551 /* linux_setxattr */
1556 /* linux_lsetxattr */
1561 /* linux_fsetxattr */
1566 /* linux_getxattr */
1571 /* linux_lgetxattr */
1576 /* linux_fgetxattr */
1581 /* linux_listxattr */
1586 /* linux_llistxattr */
1591 /* linux_flistxattr */
1596 /* linux_removexattr */
1601 /* linux_lremovexattr */
1606 /* linux_fremovexattr */
1613 struct linux_tkill_args *p = params;
1614 iarg[0] = p->tid; /* int */
1615 iarg[1] = p->sig; /* int */
1619 /* linux_sys_futex */
1621 struct linux_sys_futex_args *p = params;
1622 uarg[0] = (intptr_t) p->uaddr; /* void * */
1623 iarg[1] = p->op; /* int */
1624 uarg[2] = p->val; /* uint32_t */
1625 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1626 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1627 uarg[5] = p->val3; /* uint32_t */
1631 /* linux_sched_setaffinity */
1633 struct linux_sched_setaffinity_args *p = params;
1634 iarg[0] = p->pid; /* l_pid_t */
1635 iarg[1] = p->len; /* l_uint */
1636 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1640 /* linux_sched_getaffinity */
1642 struct linux_sched_getaffinity_args *p = params;
1643 iarg[0] = p->pid; /* l_pid_t */
1644 iarg[1] = p->len; /* l_uint */
1645 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1649 /* linux_set_thread_area */
1651 struct linux_set_thread_area_args *p = params;
1652 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1656 /* linux_fadvise64 */
1658 struct linux_fadvise64_args *p = params;
1659 iarg[0] = p->fd; /* int */
1660 iarg[1] = p->offset; /* l_loff_t */
1661 iarg[2] = p->len; /* l_size_t */
1662 iarg[3] = p->advice; /* int */
1666 /* linux_exit_group */
1668 struct linux_exit_group_args *p = params;
1669 iarg[0] = p->error_code; /* int */
1673 /* linux_lookup_dcookie */
1678 /* linux_epoll_create */
1680 struct linux_epoll_create_args *p = params;
1681 iarg[0] = p->size; /* l_int */
1685 /* linux_epoll_ctl */
1687 struct linux_epoll_ctl_args *p = params;
1688 iarg[0] = p->epfd; /* l_int */
1689 iarg[1] = p->op; /* l_int */
1690 iarg[2] = p->fd; /* l_int */
1691 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1695 /* linux_epoll_wait */
1697 struct linux_epoll_wait_args *p = params;
1698 iarg[0] = p->epfd; /* l_int */
1699 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1700 iarg[2] = p->maxevents; /* l_int */
1701 iarg[3] = p->timeout; /* l_int */
1705 /* linux_remap_file_pages */
1710 /* linux_set_tid_address */
1712 struct linux_set_tid_address_args *p = params;
1713 uarg[0] = (intptr_t) p->tidptr; /* int * */
1717 /* linux_timer_create */
1719 struct linux_timer_create_args *p = params;
1720 iarg[0] = p->clock_id; /* clockid_t */
1721 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1722 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1726 /* linux_timer_settime */
1728 struct linux_timer_settime_args *p = params;
1729 iarg[0] = p->timerid; /* l_timer_t */
1730 iarg[1] = p->flags; /* l_int */
1731 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1732 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1736 /* linux_timer_gettime */
1738 struct linux_timer_gettime_args *p = params;
1739 iarg[0] = p->timerid; /* l_timer_t */
1740 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1744 /* linux_timer_getoverrun */
1746 struct linux_timer_getoverrun_args *p = params;
1747 iarg[0] = p->timerid; /* l_timer_t */
1751 /* linux_timer_delete */
1753 struct linux_timer_delete_args *p = params;
1754 iarg[0] = p->timerid; /* l_timer_t */
1758 /* linux_clock_settime */
1760 struct linux_clock_settime_args *p = params;
1761 iarg[0] = p->which; /* clockid_t */
1762 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1766 /* linux_clock_gettime */
1768 struct linux_clock_gettime_args *p = params;
1769 iarg[0] = p->which; /* clockid_t */
1770 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1774 /* linux_clock_getres */
1776 struct linux_clock_getres_args *p = params;
1777 iarg[0] = p->which; /* clockid_t */
1778 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1782 /* linux_clock_nanosleep */
1784 struct linux_clock_nanosleep_args *p = params;
1785 iarg[0] = p->which; /* clockid_t */
1786 iarg[1] = p->flags; /* int */
1787 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1788 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1792 /* linux_statfs64 */
1794 struct linux_statfs64_args *p = params;
1795 uarg[0] = (intptr_t) p->path; /* char * */
1796 uarg[1] = p->bufsize; /* size_t */
1797 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1801 /* linux_fstatfs64 */
1803 struct linux_fstatfs64_args *p = params;
1804 iarg[0] = p->fd; /* l_uint */
1805 uarg[1] = p->bufsize; /* size_t */
1806 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1812 struct linux_tgkill_args *p = params;
1813 iarg[0] = p->tgid; /* int */
1814 iarg[1] = p->pid; /* int */
1815 iarg[2] = p->sig; /* int */
1821 struct linux_utimes_args *p = params;
1822 uarg[0] = (intptr_t) p->fname; /* char * */
1823 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1827 /* linux_fadvise64_64 */
1829 struct linux_fadvise64_64_args *p = params;
1830 iarg[0] = p->fd; /* int */
1831 iarg[1] = p->offset; /* l_loff_t */
1832 iarg[2] = p->len; /* l_loff_t */
1833 iarg[3] = p->advice; /* int */
1842 /* linux_get_mempolicy */
1847 /* linux_set_mempolicy */
1857 /* linux_mq_unlink */
1862 /* linux_mq_timedsend */
1867 /* linux_mq_timedreceive */
1872 /* linux_mq_notify */
1877 /* linux_mq_getsetattr */
1882 /* linux_kexec_load */
1889 struct linux_waitid_args *p = params;
1890 iarg[0] = p->idtype; /* int */
1891 iarg[1] = p->id; /* l_pid_t */
1892 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1893 iarg[3] = p->options; /* int */
1894 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
1903 /* linux_request_key */
1913 /* linux_ioprio_set */
1918 /* linux_ioprio_get */
1923 /* linux_inotify_init */
1928 /* linux_inotify_add_watch */
1933 /* linux_inotify_rm_watch */
1938 /* linux_migrate_pages */
1945 struct linux_openat_args *p = params;
1946 iarg[0] = p->dfd; /* l_int */
1947 uarg[1] = (intptr_t) p->filename; /* const char * */
1948 iarg[2] = p->flags; /* l_int */
1949 iarg[3] = p->mode; /* l_int */
1955 struct linux_mkdirat_args *p = params;
1956 iarg[0] = p->dfd; /* l_int */
1957 uarg[1] = (intptr_t) p->pathname; /* const char * */
1958 iarg[2] = p->mode; /* l_int */
1964 struct linux_mknodat_args *p = params;
1965 iarg[0] = p->dfd; /* l_int */
1966 uarg[1] = (intptr_t) p->filename; /* const char * */
1967 iarg[2] = p->mode; /* l_int */
1968 iarg[3] = p->dev; /* l_uint */
1972 /* linux_fchownat */
1974 struct linux_fchownat_args *p = params;
1975 iarg[0] = p->dfd; /* l_int */
1976 uarg[1] = (intptr_t) p->filename; /* const char * */
1977 iarg[2] = p->uid; /* l_uid16_t */
1978 iarg[3] = p->gid; /* l_gid16_t */
1979 iarg[4] = p->flag; /* l_int */
1983 /* linux_futimesat */
1985 struct linux_futimesat_args *p = params;
1986 iarg[0] = p->dfd; /* l_int */
1987 uarg[1] = (intptr_t) p->filename; /* char * */
1988 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1992 /* linux_fstatat64 */
1994 struct linux_fstatat64_args *p = params;
1995 iarg[0] = p->dfd; /* l_int */
1996 uarg[1] = (intptr_t) p->pathname; /* char * */
1997 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1998 iarg[3] = p->flag; /* l_int */
2002 /* linux_unlinkat */
2004 struct linux_unlinkat_args *p = params;
2005 iarg[0] = p->dfd; /* l_int */
2006 uarg[1] = (intptr_t) p->pathname; /* const char * */
2007 iarg[2] = p->flag; /* l_int */
2011 /* linux_renameat */
2013 struct linux_renameat_args *p = params;
2014 iarg[0] = p->olddfd; /* l_int */
2015 uarg[1] = (intptr_t) p->oldname; /* const char * */
2016 iarg[2] = p->newdfd; /* l_int */
2017 uarg[3] = (intptr_t) p->newname; /* const char * */
2023 struct linux_linkat_args *p = params;
2024 iarg[0] = p->olddfd; /* l_int */
2025 uarg[1] = (intptr_t) p->oldname; /* const char * */
2026 iarg[2] = p->newdfd; /* l_int */
2027 uarg[3] = (intptr_t) p->newname; /* const char * */
2028 iarg[4] = p->flag; /* l_int */
2032 /* linux_symlinkat */
2034 struct linux_symlinkat_args *p = params;
2035 uarg[0] = (intptr_t) p->oldname; /* const char * */
2036 iarg[1] = p->newdfd; /* l_int */
2037 uarg[2] = (intptr_t) p->newname; /* const char * */
2041 /* linux_readlinkat */
2043 struct linux_readlinkat_args *p = params;
2044 iarg[0] = p->dfd; /* l_int */
2045 uarg[1] = (intptr_t) p->path; /* const char * */
2046 uarg[2] = (intptr_t) p->buf; /* char * */
2047 iarg[3] = p->bufsiz; /* l_int */
2051 /* linux_fchmodat */
2053 struct linux_fchmodat_args *p = params;
2054 iarg[0] = p->dfd; /* l_int */
2055 uarg[1] = (intptr_t) p->filename; /* const char * */
2056 iarg[2] = p->mode; /* l_mode_t */
2060 /* linux_faccessat */
2062 struct linux_faccessat_args *p = params;
2063 iarg[0] = p->dfd; /* l_int */
2064 uarg[1] = (intptr_t) p->filename; /* const char * */
2065 iarg[2] = p->amode; /* l_int */
2069 /* linux_pselect6 */
2071 struct linux_pselect6_args *p = params;
2072 iarg[0] = p->nfds; /* l_int */
2073 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2074 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2075 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2076 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2077 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2083 struct linux_ppoll_args *p = params;
2084 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2085 uarg[1] = p->nfds; /* uint32_t */
2086 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2087 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2088 iarg[4] = p->ssize; /* l_size_t */
2097 /* linux_set_robust_list */
2099 struct linux_set_robust_list_args *p = params;
2100 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2101 iarg[1] = p->len; /* l_size_t */
2105 /* linux_get_robust_list */
2107 struct linux_get_robust_list_args *p = params;
2108 iarg[0] = p->pid; /* l_int */
2109 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2110 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2119 /* linux_sync_file_range */
2121 struct linux_sync_file_range_args *p = params;
2122 iarg[0] = p->fd; /* l_int */
2123 iarg[1] = p->offset; /* l_loff_t */
2124 iarg[2] = p->nbytes; /* l_loff_t */
2125 uarg[3] = p->flags; /* unsigned int */
2134 /* linux_vmsplice */
2139 /* linux_move_pages */
2146 struct linux_getcpu_args *p = params;
2147 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2148 uarg[1] = (intptr_t) p->node; /* l_uint * */
2149 uarg[2] = (intptr_t) p->cache; /* void * */
2153 /* linux_epoll_pwait */
2155 struct linux_epoll_pwait_args *p = params;
2156 iarg[0] = p->epfd; /* l_int */
2157 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2158 iarg[2] = p->maxevents; /* l_int */
2159 iarg[3] = p->timeout; /* l_int */
2160 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2161 iarg[5] = p->sigsetsize; /* l_size_t */
2165 /* linux_utimensat */
2167 struct linux_utimensat_args *p = params;
2168 iarg[0] = p->dfd; /* l_int */
2169 uarg[1] = (intptr_t) p->pathname; /* const char * */
2170 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2171 iarg[3] = p->flags; /* l_int */
2175 /* linux_signalfd */
2180 /* linux_timerfd_create */
2182 struct linux_timerfd_create_args *p = params;
2183 iarg[0] = p->clockid; /* l_int */
2184 iarg[1] = p->flags; /* l_int */
2190 struct linux_eventfd_args *p = params;
2191 iarg[0] = p->initval; /* l_uint */
2195 /* linux_fallocate */
2197 struct linux_fallocate_args *p = params;
2198 iarg[0] = p->fd; /* l_int */
2199 iarg[1] = p->mode; /* l_int */
2200 iarg[2] = p->offset; /* l_loff_t */
2201 iarg[3] = p->len; /* l_loff_t */
2205 /* linux_timerfd_settime */
2207 struct linux_timerfd_settime_args *p = params;
2208 iarg[0] = p->fd; /* l_int */
2209 iarg[1] = p->flags; /* l_int */
2210 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2211 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2215 /* linux_timerfd_gettime */
2217 struct linux_timerfd_gettime_args *p = params;
2218 iarg[0] = p->fd; /* l_int */
2219 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2223 /* linux_signalfd4 */
2228 /* linux_eventfd2 */
2230 struct linux_eventfd2_args *p = params;
2231 iarg[0] = p->initval; /* l_uint */
2232 iarg[1] = p->flags; /* l_int */
2236 /* linux_epoll_create1 */
2238 struct linux_epoll_create1_args *p = params;
2239 iarg[0] = p->flags; /* l_int */
2245 struct linux_dup3_args *p = params;
2246 iarg[0] = p->oldfd; /* l_int */
2247 iarg[1] = p->newfd; /* l_int */
2248 iarg[2] = p->flags; /* l_int */
2254 struct linux_pipe2_args *p = params;
2255 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2256 iarg[1] = p->flags; /* l_int */
2260 /* linux_inotify_init1 */
2267 struct linux_preadv_args *p = params;
2268 iarg[0] = p->fd; /* l_ulong */
2269 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2270 iarg[2] = p->vlen; /* l_ulong */
2271 iarg[3] = p->pos_l; /* l_ulong */
2272 iarg[4] = p->pos_h; /* l_ulong */
2278 struct linux_pwritev_args *p = params;
2279 iarg[0] = p->fd; /* l_ulong */
2280 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2281 iarg[2] = p->vlen; /* l_ulong */
2282 iarg[3] = p->pos_l; /* l_ulong */
2283 iarg[4] = p->pos_h; /* l_ulong */
2287 /* linux_rt_tgsigqueueinfo */
2289 struct linux_rt_tgsigqueueinfo_args *p = params;
2290 iarg[0] = p->tgid; /* l_pid_t */
2291 iarg[1] = p->tid; /* l_pid_t */
2292 iarg[2] = p->sig; /* l_int */
2293 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2297 /* linux_perf_event_open */
2302 /* linux_recvmmsg */
2304 struct linux_recvmmsg_args *p = params;
2305 iarg[0] = p->s; /* l_int */
2306 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2307 iarg[2] = p->vlen; /* l_uint */
2308 iarg[3] = p->flags; /* l_uint */
2309 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2313 /* linux_fanotify_init */
2318 /* linux_fanotify_mark */
2323 /* linux_prlimit64 */
2325 struct linux_prlimit64_args *p = params;
2326 iarg[0] = p->pid; /* l_pid_t */
2327 iarg[1] = p->resource; /* l_uint */
2328 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2329 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2333 /* linux_name_to_handle_at */
2338 /* linux_open_by_handle_at */
2343 /* linux_clock_adjtime */
2350 struct linux_syncfs_args *p = params;
2351 iarg[0] = p->fd; /* l_int */
2355 /* linux_sendmmsg */
2357 struct linux_sendmmsg_args *p = params;
2358 iarg[0] = p->s; /* l_int */
2359 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2360 iarg[2] = p->vlen; /* l_uint */
2361 iarg[3] = p->flags; /* l_uint */
2370 /* linux_process_vm_readv */
2372 struct linux_process_vm_readv_args *p = params;
2373 iarg[0] = p->pid; /* l_pid_t */
2374 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2375 iarg[2] = p->liovcnt; /* l_ulong */
2376 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2377 iarg[4] = p->riovcnt; /* l_ulong */
2378 iarg[5] = p->flags; /* l_ulong */
2382 /* linux_process_vm_writev */
2384 struct linux_process_vm_writev_args *p = params;
2385 iarg[0] = p->pid; /* l_pid_t */
2386 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2387 iarg[2] = p->liovcnt; /* l_ulong */
2388 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2389 iarg[4] = p->riovcnt; /* l_ulong */
2390 iarg[5] = p->flags; /* l_ulong */
2396 struct linux_kcmp_args *p = params;
2397 iarg[0] = p->pid1; /* l_pid_t */
2398 iarg[1] = p->pid2; /* l_pid_t */
2399 iarg[2] = p->type; /* l_int */
2400 iarg[3] = p->idx1; /* l_ulong */
2401 iarg[4] = p->idx; /* l_ulong */
2405 /* linux_finit_module */
2407 struct linux_finit_module_args *p = params;
2408 iarg[0] = p->fd; /* l_int */
2409 uarg[1] = (intptr_t) p->uargs; /* const char * */
2410 iarg[2] = p->flags; /* l_int */
2414 /* linux_sched_setattr */
2416 struct linux_sched_setattr_args *p = params;
2417 iarg[0] = p->pid; /* l_pid_t */
2418 uarg[1] = (intptr_t) p->attr; /* void * */
2419 iarg[2] = p->flags; /* l_uint */
2423 /* linux_sched_getattr */
2425 struct linux_sched_getattr_args *p = params;
2426 iarg[0] = p->pid; /* l_pid_t */
2427 uarg[1] = (intptr_t) p->attr; /* void * */
2428 iarg[2] = p->size; /* l_uint */
2429 iarg[3] = p->flags; /* l_uint */
2433 /* linux_renameat2 */
2435 struct linux_renameat2_args *p = params;
2436 iarg[0] = p->olddfd; /* l_int */
2437 uarg[1] = (intptr_t) p->oldname; /* const char * */
2438 iarg[2] = p->newdfd; /* l_int */
2439 uarg[3] = (intptr_t) p->newname; /* const char * */
2440 uarg[4] = p->flags; /* unsigned int */
2446 struct linux_seccomp_args *p = params;
2447 iarg[0] = p->op; /* l_uint */
2448 iarg[1] = p->flags; /* l_uint */
2449 uarg[2] = (intptr_t) p->uargs; /* const char * */
2453 /* linux_getrandom */
2455 struct linux_getrandom_args *p = params;
2456 uarg[0] = (intptr_t) p->buf; /* char * */
2457 iarg[1] = p->count; /* l_size_t */
2458 iarg[2] = p->flags; /* l_uint */
2462 /* linux_memfd_create */
2464 struct linux_memfd_create_args *p = params;
2465 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2466 iarg[1] = p->flags; /* l_uint */
2472 struct linux_bpf_args *p = params;
2473 iarg[0] = p->cmd; /* l_int */
2474 uarg[1] = (intptr_t) p->attr; /* void * */
2475 iarg[2] = p->size; /* l_uint */
2479 /* linux_execveat */
2481 struct linux_execveat_args *p = params;
2482 iarg[0] = p->dfd; /* l_int */
2483 uarg[1] = (intptr_t) p->filename; /* const char * */
2484 uarg[2] = (intptr_t) p->argv; /* const char ** */
2485 uarg[3] = (intptr_t) p->envp; /* const char ** */
2486 iarg[4] = p->flags; /* l_int */
2492 struct linux_socket_args *p = params;
2493 iarg[0] = p->domain; /* l_int */
2494 iarg[1] = p->type; /* l_int */
2495 iarg[2] = p->protocol; /* l_int */
2499 /* linux_socketpair */
2501 struct linux_socketpair_args *p = params;
2502 iarg[0] = p->domain; /* l_int */
2503 iarg[1] = p->type; /* l_int */
2504 iarg[2] = p->protocol; /* l_int */
2505 iarg[3] = p->rsv; /* l_uintptr_t */
2511 struct linux_bind_args *p = params;
2512 iarg[0] = p->s; /* l_int */
2513 iarg[1] = p->name; /* l_uintptr_t */
2514 iarg[2] = p->namelen; /* l_int */
2520 struct linux_connect_args *p = params;
2521 iarg[0] = p->s; /* l_int */
2522 iarg[1] = p->name; /* l_uintptr_t */
2523 iarg[2] = p->namelen; /* l_int */
2529 struct linux_listen_args *p = params;
2530 iarg[0] = p->s; /* l_int */
2531 iarg[1] = p->backlog; /* l_int */
2537 struct linux_accept4_args *p = params;
2538 iarg[0] = p->s; /* l_int */
2539 iarg[1] = p->addr; /* l_uintptr_t */
2540 iarg[2] = p->namelen; /* l_uintptr_t */
2541 iarg[3] = p->flags; /* l_int */
2545 /* linux_getsockopt */
2547 struct linux_getsockopt_args *p = params;
2548 iarg[0] = p->s; /* l_int */
2549 iarg[1] = p->level; /* l_int */
2550 iarg[2] = p->optname; /* l_int */
2551 iarg[3] = p->optval; /* l_uintptr_t */
2552 iarg[4] = p->optlen; /* l_uintptr_t */
2556 /* linux_setsockopt */
2558 struct linux_setsockopt_args *p = params;
2559 iarg[0] = p->s; /* l_int */
2560 iarg[1] = p->level; /* l_int */
2561 iarg[2] = p->optname; /* l_int */
2562 iarg[3] = p->optval; /* l_uintptr_t */
2563 iarg[4] = p->optlen; /* l_int */
2567 /* linux_getsockname */
2569 struct linux_getsockname_args *p = params;
2570 iarg[0] = p->s; /* l_int */
2571 iarg[1] = p->addr; /* l_uintptr_t */
2572 iarg[2] = p->namelen; /* l_uintptr_t */
2576 /* linux_getpeername */
2578 struct linux_getpeername_args *p = params;
2579 iarg[0] = p->s; /* l_int */
2580 iarg[1] = p->addr; /* l_uintptr_t */
2581 iarg[2] = p->namelen; /* l_uintptr_t */
2587 struct linux_sendto_args *p = params;
2588 iarg[0] = p->s; /* l_int */
2589 iarg[1] = p->msg; /* l_uintptr_t */
2590 iarg[2] = p->len; /* l_int */
2591 iarg[3] = p->flags; /* l_int */
2592 iarg[4] = p->to; /* l_uintptr_t */
2593 iarg[5] = p->tolen; /* l_int */
2599 struct linux_sendmsg_args *p = params;
2600 iarg[0] = p->s; /* l_int */
2601 iarg[1] = p->msg; /* l_uintptr_t */
2602 iarg[2] = p->flags; /* l_int */
2606 /* linux_recvfrom */
2608 struct linux_recvfrom_args *p = params;
2609 iarg[0] = p->s; /* l_int */
2610 iarg[1] = p->buf; /* l_uintptr_t */
2611 iarg[2] = p->len; /* l_size_t */
2612 iarg[3] = p->flags; /* l_int */
2613 iarg[4] = p->from; /* l_uintptr_t */
2614 iarg[5] = p->fromlen; /* l_uintptr_t */
2620 struct linux_recvmsg_args *p = params;
2621 iarg[0] = p->s; /* l_int */
2622 iarg[1] = p->msg; /* l_uintptr_t */
2623 iarg[2] = p->flags; /* l_int */
2627 /* linux_shutdown */
2629 struct linux_shutdown_args *p = params;
2630 iarg[0] = p->s; /* l_int */
2631 iarg[1] = p->how; /* l_int */
2635 /* linux_userfaultfd */
2637 struct linux_userfaultfd_args *p = params;
2638 iarg[0] = p->flags; /* l_int */
2642 /* linux_membarrier */
2644 struct linux_membarrier_args *p = params;
2645 iarg[0] = p->cmd; /* l_int */
2646 iarg[1] = p->flags; /* l_int */
2652 struct linux_mlock2_args *p = params;
2653 iarg[0] = p->start; /* l_ulong */
2654 iarg[1] = p->len; /* l_size_t */
2655 iarg[2] = p->flags; /* l_int */
2659 /* linux_copy_file_range */
2661 struct linux_copy_file_range_args *p = params;
2662 iarg[0] = p->fd_in; /* l_int */
2663 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2664 iarg[2] = p->fd_out; /* l_int */
2665 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2666 iarg[4] = p->len; /* l_size_t */
2667 iarg[5] = p->flags; /* l_uint */
2673 struct linux_preadv2_args *p = params;
2674 iarg[0] = p->fd; /* l_ulong */
2675 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2676 iarg[2] = p->vlen; /* l_ulong */
2677 iarg[3] = p->pos_l; /* l_ulong */
2678 iarg[4] = p->pos_h; /* l_ulong */
2679 iarg[5] = p->flags; /* l_int */
2683 /* linux_pwritev2 */
2685 struct linux_pwritev2_args *p = params;
2686 iarg[0] = p->fd; /* l_ulong */
2687 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2688 iarg[2] = p->vlen; /* l_ulong */
2689 iarg[3] = p->pos_l; /* l_ulong */
2690 iarg[4] = p->pos_h; /* l_ulong */
2691 iarg[5] = p->flags; /* l_int */
2695 /* linux_pkey_mprotect */
2697 struct linux_pkey_mprotect_args *p = params;
2698 iarg[0] = p->start; /* l_ulong */
2699 iarg[1] = p->len; /* l_size_t */
2700 iarg[2] = p->prot; /* l_ulong */
2701 iarg[3] = p->pkey; /* l_int */
2705 /* linux_pkey_alloc */
2707 struct linux_pkey_alloc_args *p = params;
2708 iarg[0] = p->flags; /* l_ulong */
2709 iarg[1] = p->init_val; /* l_ulong */
2713 /* linux_pkey_free */
2715 struct linux_pkey_free_args *p = params;
2716 iarg[0] = p->pkey; /* l_int */
2722 struct linux_statx_args *p = params;
2723 iarg[0] = p->dirfd; /* l_int */
2724 uarg[1] = (intptr_t) p->pathname; /* const char * */
2725 iarg[2] = p->flags; /* l_uint */
2726 iarg[3] = p->mask; /* l_uint */
2727 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2731 /* linux_arch_prctl */
2733 struct linux_arch_prctl_args *p = params;
2734 iarg[0] = p->option; /* l_int */
2735 iarg[1] = p->arg2; /* l_ulong */
2739 /* linux_io_pgetevents */
2751 struct linux_semget_args *p = params;
2752 iarg[0] = p->key; /* l_key_t */
2753 iarg[1] = p->nsems; /* l_int */
2754 iarg[2] = p->semflg; /* l_int */
2760 struct linux_semctl_args *p = params;
2761 iarg[0] = p->semid; /* l_int */
2762 iarg[1] = p->semnum; /* l_int */
2763 iarg[2] = p->cmd; /* l_int */
2764 uarg[3] = p->arg.buf; /* union l_semun */
2770 struct linux_shmget_args *p = params;
2771 iarg[0] = p->key; /* l_key_t */
2772 iarg[1] = p->size; /* l_size_t */
2773 iarg[2] = p->shmflg; /* l_int */
2779 struct linux_shmctl_args *p = params;
2780 iarg[0] = p->shmid; /* l_int */
2781 iarg[1] = p->cmd; /* l_int */
2782 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2788 struct linux_shmat_args *p = params;
2789 iarg[0] = p->shmid; /* l_int */
2790 uarg[1] = (intptr_t) p->shmaddr; /* char * */
2791 iarg[2] = p->shmflg; /* l_int */
2797 struct linux_shmdt_args *p = params;
2798 uarg[0] = (intptr_t) p->shmaddr; /* char * */
2804 struct linux_msgget_args *p = params;
2805 iarg[0] = p->key; /* l_key_t */
2806 iarg[1] = p->msgflg; /* l_int */
2812 struct linux_msgsnd_args *p = params;
2813 iarg[0] = p->msqid; /* l_int */
2814 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2815 iarg[2] = p->msgsz; /* l_size_t */
2816 iarg[3] = p->msgflg; /* l_int */
2822 struct linux_msgrcv_args *p = params;
2823 iarg[0] = p->msqid; /* l_int */
2824 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
2825 iarg[2] = p->msgsz; /* l_size_t */
2826 iarg[3] = p->msgtyp; /* l_long */
2827 iarg[4] = p->msgflg; /* l_int */
2833 struct linux_msgctl_args *p = params;
2834 iarg[0] = p->msqid; /* l_int */
2835 iarg[1] = p->cmd; /* l_int */
2836 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
2840 /* linux_clock_gettime64 */
2845 /* linux_clock_settime64 */
2850 /* linux_clock_adjtime64 */
2855 /* linux_clock_getres_time64 */
2860 /* linux_clock_nanosleep_time64 */
2865 /* linux_timer_gettime64 */
2870 /* linux_timer_settime64 */
2875 /* linux_timerfd_gettime64 */
2880 /* linux_timerfd_settime64 */
2885 /* linux_utimensat_time64 */
2890 /* linux_pselect6_time64 */
2895 /* linux_ppoll_time64 */
2900 /* linux_io_pgetevents_time64 */
2905 /* linux_recvmmsg_time64 */
2910 /* linux_mq_timedsend_time64 */
2915 /* linux_mq_timedreceive_time64 */
2920 /* linux_semtimedop_time64 */
2925 /* linux_rt_sigtimedwait_time64 */
2930 /* linux_futex_time64 */
2935 /* linux_sched_rr_get_interval_time64 */
2940 /* linux_pidfd_send_signal */
2942 struct linux_pidfd_send_signal_args *p = params;
2943 iarg[0] = p->pidfd; /* l_int */
2944 iarg[1] = p->sig; /* l_int */
2945 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2946 iarg[3] = p->flags; /* l_uint */
2950 /* linux_io_uring_setup */
2955 /* linux_io_uring_enter */
2960 /* linux_io_uring_register */
2971 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2973 const char *p = NULL;
2975 #define nosys linux_nosys
2996 p = "userland char *";
3012 p = "userland char *";
3025 p = "userland char *";
3054 p = "userland l_int *";
3067 p = "userland char *";
3080 p = "userland char *";
3083 p = "userland char *";
3093 p = "userland char *";
3103 p = "userland char *";
3106 p = "userland uint32_t *";
3109 p = "userland uint32_t *";
3119 p = "userland char *";
3129 p = "userland l_time_t *";
3139 p = "userland char *";
3155 p = "userland char *";
3164 /* linux_lchown16 */
3168 p = "userland char *";
3184 p = "userland char *";
3187 p = "userland struct linux_stat *";
3216 p = "userland char *";
3219 p = "userland char *";
3222 p = "userland char *";
3228 p = "userland void *";
3234 /* linux_oldumount */
3238 p = "userland char *";
3244 /* linux_setuid16 */
3254 /* linux_getuid16 */
3296 p = "userland char *";
3299 p = "userland struct l_utimbuf *";
3309 p = "userland char *";
3348 p = "userland char *";
3351 p = "userland char *";
3361 p = "userland char *";
3374 p = "userland char *";
3394 p = "userland l_int *";
3404 p = "userland struct l_times_argv *";
3420 /* linux_setgid16 */
3430 /* linux_getgid16 */
3446 /* linux_geteuid16 */
3449 /* linux_getegid16 */
3456 p = "userland char *";
3466 p = "userland char *";
3520 /* linux_olduname */
3537 p = "userland char *";
3550 p = "userland struct l_ustat *";
3578 /* linux_sigaction */
3585 p = "userland l_osigaction_t *";
3588 p = "userland l_osigaction_t *";
3594 /* linux_sgetmask */
3597 /* linux_ssetmask */
3607 /* linux_setreuid16 */
3620 /* linux_setregid16 */
3633 /* linux_sigsuspend */
3649 /* linux_sigpending */
3653 p = "userland l_osigset_t *";
3659 /* linux_sethostname */
3663 p = "userland char *";
3672 /* linux_setrlimit */
3679 p = "userland struct l_rlimit *";
3685 /* linux_old_getrlimit */
3692 p = "userland struct l_rlimit *";
3698 /* linux_getrusage */
3705 p = "userland struct l_rusage *";
3711 /* linux_gettimeofday */
3715 p = "userland struct l_timeval *";
3718 p = "userland struct timezone *";
3724 /* linux_settimeofday */
3728 p = "userland struct l_timeval *";
3731 p = "userland struct timezone *";
3737 /* linux_getgroups16 */
3744 p = "userland l_gid16_t *";
3750 /* linux_setgroups16 */
3757 p = "userland l_gid16_t *";
3763 /* linux_old_select */
3767 p = "userland struct l_old_select_argv *";
3777 p = "userland char *";
3780 p = "userland char *";
3790 p = "userland char *";
3793 p = "userland struct linux_lstat *";
3799 /* linux_readlink */
3803 p = "userland char *";
3806 p = "userland char *";
3819 p = "userland char *";
3838 p = "userland void *";
3851 p = "userland struct l_dirent *";
3864 p = "userland struct l_mmap_argv *";
3883 /* linux_truncate */
3887 p = "userland char *";
3896 /* linux_ftruncate */
3938 /* linux_getpriority */
3971 p = "userland char *";
3974 p = "userland struct l_statfs_buf *";
3987 p = "userland struct l_statfs_buf *";
3993 /* linux_socketcall */
4013 p = "userland char *";
4022 /* linux_setitimer */
4029 p = "userland struct l_itimerval *";
4032 p = "userland struct l_itimerval *";
4038 /* linux_getitimer */
4045 p = "userland struct l_itimerval *";
4055 p = "userland char *";
4058 p = "userland struct l_newstat *";
4064 /* linux_newlstat */
4068 p = "userland char *";
4071 p = "userland struct l_newstat *";
4077 /* linux_newfstat */
4084 p = "userland struct l_newstat *";
4113 p = "userland l_int *";
4119 p = "userland struct l_rusage *";
4132 p = "userland struct l_sysinfo *";
4173 /* linux_sigreturn */
4177 p = "userland struct l_sigframe *";
4190 p = "userland void *";
4193 p = "userland void *";
4196 p = "userland void *";
4199 p = "userland void *";
4205 /* linux_setdomainname */
4209 p = "userland char *";
4218 /* linux_newuname */
4222 p = "userland struct l_new_utsname *";
4228 /* linux_adjtimex */
4231 /* linux_mprotect */
4247 /* linux_sigprocmask */
4254 p = "userland l_osigset_t *";
4257 p = "userland l_osigset_t *";
4263 /* linux_init_module */
4266 /* linux_delete_module */
4269 /* linux_quotactl */
4311 /* linux_personality */
4321 /* linux_setfsuid16 */
4331 /* linux_setfsgid16 */
4354 p = "userland l_loff_t *";
4363 /* linux_getdents */
4370 p = "userland void *";
4386 p = "userland l_fd_set *";
4389 p = "userland l_fd_set *";
4392 p = "userland l_fd_set *";
4395 p = "userland struct l_timeval *";
4437 p = "userland struct l_iovec32 *";
4453 p = "userland struct l_iovec32 *";
4472 /* linux_fdatasync */
4486 p = "userland struct l___sysctl_args *";
4496 p = "userland const void *";
4509 p = "userland const void *";
4531 /* linux_sched_setparam */
4538 p = "userland struct sched_param *";
4544 /* linux_sched_getparam */
4551 p = "userland struct sched_param *";
4557 /* linux_sched_setscheduler */
4567 p = "userland struct sched_param *";
4573 /* linux_sched_getscheduler */
4586 /* linux_sched_get_priority_max */
4596 /* linux_sched_get_priority_min */
4606 /* linux_sched_rr_get_interval */
4613 p = "userland struct l_timespec *";
4619 /* linux_nanosleep */
4623 p = "userland const struct l_timespec *";
4626 p = "userland struct l_timespec *";
4654 /* linux_setresuid16 */
4670 /* linux_getresuid16 */
4674 p = "userland l_uid16_t *";
4677 p = "userland l_uid16_t *";
4680 p = "userland l_uid16_t *";
4690 p = "userland struct pollfd *";
4702 /* linux_setresgid16 */
4718 /* linux_getresgid16 */
4722 p = "userland l_gid16_t *";
4725 p = "userland l_gid16_t *";
4728 p = "userland l_gid16_t *";
4756 /* linux_rt_sigreturn */
4760 p = "userland struct l_ucontext *";
4766 /* linux_rt_sigaction */
4773 p = "userland l_sigaction_t *";
4776 p = "userland l_sigaction_t *";
4785 /* linux_rt_sigprocmask */
4792 p = "userland l_sigset_t *";
4795 p = "userland l_sigset_t *";
4804 /* linux_rt_sigpending */
4808 p = "userland l_sigset_t *";
4817 /* linux_rt_sigtimedwait */
4821 p = "userland l_sigset_t *";
4824 p = "userland l_siginfo_t *";
4827 p = "userland struct l_timeval *";
4836 /* linux_rt_sigqueueinfo */
4846 p = "userland l_siginfo_t *";
4852 /* linux_rt_sigsuspend */
4856 p = "userland l_sigset_t *";
4872 p = "userland char *";
4891 p = "userland char *";
4907 p = "userland char *";
4923 p = "userland char *";
4936 p = "userland struct l_user_cap_header *";
4939 p = "userland struct l_user_cap_data *";
4949 p = "userland struct l_user_cap_header *";
4952 p = "userland struct l_user_cap_data *";
4958 /* linux_sigaltstack */
4962 p = "userland l_stack_t *";
4965 p = "userland l_stack_t *";
4971 /* linux_sendfile */
4977 /* linux_getrlimit */
4984 p = "userland struct l_rlimit *";
5015 /* linux_truncate64 */
5019 p = "userland char *";
5028 /* linux_ftruncate64 */
5045 p = "userland const char *";
5048 p = "userland struct l_stat64 *";
5058 p = "userland const char *";
5061 p = "userland struct l_stat64 *";
5074 p = "userland struct l_stat64 *";
5084 p = "userland char *";
5134 /* linux_getgroups */
5141 p = "userland l_gid_t *";
5147 /* linux_setgroups */
5154 p = "userland l_gid_t *";
5183 p = "userland uid_t *";
5186 p = "userland uid_t *";
5189 p = "userland uid_t *";
5215 p = "userland gid_t *";
5218 p = "userland gid_t *";
5221 p = "userland gid_t *";
5231 p = "userland char *";
5263 /* linux_setfsuid */
5273 /* linux_setfsgid */
5283 /* linux_pivot_root */
5287 p = "userland char *";
5290 p = "userland char *";
5306 p = "userland u_char *";
5316 p = "userland void *";
5328 /* linux_getdents64 */
5335 p = "userland void *";
5363 /* linux_setxattr */
5366 /* linux_lsetxattr */
5369 /* linux_fsetxattr */
5372 /* linux_getxattr */
5375 /* linux_lgetxattr */
5378 /* linux_fgetxattr */
5381 /* linux_listxattr */
5384 /* linux_llistxattr */
5387 /* linux_flistxattr */
5390 /* linux_removexattr */
5393 /* linux_lremovexattr */
5396 /* linux_fremovexattr */
5412 /* linux_sys_futex */
5416 p = "userland void *";
5425 p = "userland struct l_timespec *";
5428 p = "userland uint32_t *";
5437 /* linux_sched_setaffinity */
5447 p = "userland l_ulong *";
5453 /* linux_sched_getaffinity */
5463 p = "userland l_ulong *";
5469 /* linux_set_thread_area */
5473 p = "userland struct l_user_desc *";
5479 /* linux_fadvise64 */
5498 /* linux_exit_group */
5508 /* linux_lookup_dcookie */
5511 /* linux_epoll_create */
5521 /* linux_epoll_ctl */
5534 p = "userland struct epoll_event *";
5540 /* linux_epoll_wait */
5547 p = "userland struct epoll_event *";
5559 /* linux_remap_file_pages */
5562 /* linux_set_tid_address */
5566 p = "userland int *";
5572 /* linux_timer_create */
5579 p = "userland struct sigevent *";
5582 p = "userland l_timer_t *";
5588 /* linux_timer_settime */
5598 p = "userland const struct itimerspec *";
5601 p = "userland struct itimerspec *";
5607 /* linux_timer_gettime */
5614 p = "userland struct itimerspec *";
5620 /* linux_timer_getoverrun */
5630 /* linux_timer_delete */
5640 /* linux_clock_settime */
5647 p = "userland struct l_timespec *";
5653 /* linux_clock_gettime */
5660 p = "userland struct l_timespec *";
5666 /* linux_clock_getres */
5673 p = "userland struct l_timespec *";
5679 /* linux_clock_nanosleep */
5689 p = "userland struct l_timespec *";
5692 p = "userland struct l_timespec *";
5698 /* linux_statfs64 */
5702 p = "userland char *";
5708 p = "userland struct l_statfs64_buf *";
5714 /* linux_fstatfs64 */
5724 p = "userland struct l_statfs64_buf *";
5750 p = "userland char *";
5753 p = "userland struct l_timeval *";
5759 /* linux_fadvise64_64 */
5781 /* linux_get_mempolicy */
5784 /* linux_set_mempolicy */
5790 /* linux_mq_unlink */
5793 /* linux_mq_timedsend */
5796 /* linux_mq_timedreceive */
5799 /* linux_mq_notify */
5802 /* linux_mq_getsetattr */
5805 /* linux_kexec_load */
5818 p = "userland l_siginfo_t *";
5824 p = "userland struct l_rusage *";
5833 /* linux_request_key */
5839 /* linux_ioprio_set */
5842 /* linux_ioprio_get */
5845 /* linux_inotify_init */
5848 /* linux_inotify_add_watch */
5851 /* linux_inotify_rm_watch */
5854 /* linux_migrate_pages */
5864 p = "userland const char *";
5883 p = "userland const char *";
5899 p = "userland const char *";
5911 /* linux_fchownat */
5918 p = "userland const char *";
5933 /* linux_futimesat */
5940 p = "userland char *";
5943 p = "userland struct l_timeval *";
5949 /* linux_fstatat64 */
5956 p = "userland char *";
5959 p = "userland struct l_stat64 *";
5968 /* linux_unlinkat */
5975 p = "userland const char *";
5984 /* linux_renameat */
5991 p = "userland const char *";
5997 p = "userland const char *";
6010 p = "userland const char *";
6016 p = "userland const char *";
6025 /* linux_symlinkat */
6029 p = "userland const char *";
6035 p = "userland const char *";
6041 /* linux_readlinkat */
6048 p = "userland const char *";
6051 p = "userland char *";
6060 /* linux_fchmodat */
6067 p = "userland const char *";
6076 /* linux_faccessat */
6083 p = "userland const char *";
6092 /* linux_pselect6 */
6099 p = "userland l_fd_set *";
6102 p = "userland l_fd_set *";
6105 p = "userland l_fd_set *";
6108 p = "userland struct l_timespec *";
6111 p = "userland l_uintptr_t *";
6121 p = "userland struct pollfd *";
6127 p = "userland struct l_timespec *";
6130 p = "userland l_sigset_t *";
6142 /* linux_set_robust_list */
6146 p = "userland struct linux_robust_list_head *";
6155 /* linux_get_robust_list */
6162 p = "userland struct linux_robust_list_head **";
6165 p = "userland l_size_t *";
6174 /* linux_sync_file_range */
6196 /* linux_vmsplice */
6199 /* linux_move_pages */
6206 p = "userland l_uint *";
6209 p = "userland l_uint *";
6212 p = "userland void *";
6218 /* linux_epoll_pwait */
6225 p = "userland struct epoll_event *";
6234 p = "userland l_sigset_t *";
6243 /* linux_utimensat */
6250 p = "userland const char *";
6253 p = "userland const struct l_timespec *";
6262 /* linux_signalfd */
6265 /* linux_timerfd_create */
6288 /* linux_fallocate */
6307 /* linux_timerfd_settime */
6317 p = "userland const struct l_itimerspec *";
6320 p = "userland struct l_itimerspec *";
6326 /* linux_timerfd_gettime */
6333 p = "userland struct l_itimerspec *";
6339 /* linux_signalfd4 */
6342 /* linux_eventfd2 */
6355 /* linux_epoll_create1 */
6385 p = "userland l_int *";
6394 /* linux_inotify_init1 */
6404 p = "userland struct iovec *";
6426 p = "userland struct iovec *";
6441 /* linux_rt_tgsigqueueinfo */
6454 p = "userland l_siginfo_t *";
6460 /* linux_perf_event_open */
6463 /* linux_recvmmsg */
6470 p = "userland struct l_mmsghdr *";
6479 p = "userland struct l_timespec *";
6485 /* linux_fanotify_init */
6488 /* linux_fanotify_mark */
6491 /* linux_prlimit64 */
6501 p = "userland struct rlimit *";
6504 p = "userland struct rlimit *";
6510 /* linux_name_to_handle_at */
6513 /* linux_open_by_handle_at */
6516 /* linux_clock_adjtime */
6529 /* linux_sendmmsg */
6536 p = "userland struct l_mmsghdr *";
6551 /* linux_process_vm_readv */
6558 p = "userland const struct iovec *";
6564 p = "userland const struct iovec *";
6576 /* linux_process_vm_writev */
6583 p = "userland const struct iovec *";
6589 p = "userland const struct iovec *";
6623 /* linux_finit_module */
6630 p = "userland const char *";
6639 /* linux_sched_setattr */
6646 p = "userland void *";
6655 /* linux_sched_getattr */
6662 p = "userland void *";
6674 /* linux_renameat2 */
6681 p = "userland const char *";
6687 p = "userland const char *";
6706 p = "userland const char *";
6712 /* linux_getrandom */
6716 p = "userland char *";
6728 /* linux_memfd_create */
6732 p = "userland const char *";
6748 p = "userland void *";
6757 /* linux_execveat */
6764 p = "userland const char *";
6767 p = "userland const char **";
6770 p = "userland const char **";
6795 /* linux_socketpair */
6878 /* linux_getsockopt */
6900 /* linux_setsockopt */
6922 /* linux_getsockname */
6938 /* linux_getpeername */
6995 /* linux_recvfrom */
7036 /* linux_shutdown */
7049 /* linux_userfaultfd */
7059 /* linux_membarrier */
7088 /* linux_copy_file_range */
7095 p = "userland l_loff_t *";
7101 p = "userland l_loff_t *";
7120 p = "userland const struct iovec *";
7138 /* linux_pwritev2 */
7145 p = "userland const struct iovec *";
7163 /* linux_pkey_mprotect */
7182 /* linux_pkey_alloc */
7195 /* linux_pkey_free */
7212 p = "userland const char *";
7221 p = "userland void *";
7227 /* linux_arch_prctl */
7240 /* linux_io_pgetevents */
7275 p = "union l_semun";
7307 p = "userland struct l_shmid_ds *";
7320 p = "userland char *";
7333 p = "userland char *";
7359 p = "userland struct l_msgbuf *";
7378 p = "userland struct l_msgbuf *";
7403 p = "userland struct l_msqid_ds *";
7409 /* linux_clock_gettime64 */
7412 /* linux_clock_settime64 */
7415 /* linux_clock_adjtime64 */
7418 /* linux_clock_getres_time64 */
7421 /* linux_clock_nanosleep_time64 */
7424 /* linux_timer_gettime64 */
7427 /* linux_timer_settime64 */
7430 /* linux_timerfd_gettime64 */
7433 /* linux_timerfd_settime64 */
7436 /* linux_utimensat_time64 */
7439 /* linux_pselect6_time64 */
7442 /* linux_ppoll_time64 */
7445 /* linux_io_pgetevents_time64 */
7448 /* linux_recvmmsg_time64 */
7451 /* linux_mq_timedsend_time64 */
7454 /* linux_mq_timedreceive_time64 */
7457 /* linux_semtimedop_time64 */
7460 /* linux_rt_sigtimedwait_time64 */
7463 /* linux_futex_time64 */
7466 /* linux_sched_rr_get_interval_time64 */
7469 /* linux_pidfd_send_signal */
7479 p = "userland l_siginfo_t *";
7488 /* linux_io_uring_setup */
7491 /* linux_io_uring_enter */
7494 /* linux_io_uring_register */
7501 strlcpy(desc, p, descsz);
7504 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7506 const char *p = NULL;
7508 #define nosys linux_nosys
7511 if (ndx == 0 || ndx == 1)
7518 if (ndx == 0 || ndx == 1)
7523 if (ndx == 0 || ndx == 1)
7528 if (ndx == 0 || ndx == 1)
7533 if (ndx == 0 || ndx == 1)
7538 if (ndx == 0 || ndx == 1)
7543 if (ndx == 0 || ndx == 1)
7548 if (ndx == 0 || ndx == 1)
7553 if (ndx == 0 || ndx == 1)
7558 if (ndx == 0 || ndx == 1)
7563 if (ndx == 0 || ndx == 1)
7568 if (ndx == 0 || ndx == 1)
7573 if (ndx == 0 || ndx == 1)
7578 if (ndx == 0 || ndx == 1)
7581 /* linux_lchown16 */
7583 if (ndx == 0 || ndx == 1)
7588 if (ndx == 0 || ndx == 1)
7593 if (ndx == 0 || ndx == 1)
7600 if (ndx == 0 || ndx == 1)
7603 /* linux_oldumount */
7605 if (ndx == 0 || ndx == 1)
7608 /* linux_setuid16 */
7610 if (ndx == 0 || ndx == 1)
7613 /* linux_getuid16 */
7619 if (ndx == 0 || ndx == 1)
7624 if (ndx == 0 || ndx == 1)
7631 if (ndx == 0 || ndx == 1)
7636 if (ndx == 0 || ndx == 1)
7641 if (ndx == 0 || ndx == 1)
7648 if (ndx == 0 || ndx == 1)
7653 if (ndx == 0 || ndx == 1)
7658 if (ndx == 0 || ndx == 1)
7663 if (ndx == 0 || ndx == 1)
7668 if (ndx == 0 || ndx == 1)
7673 if (ndx == 0 || ndx == 1)
7678 if (ndx == 0 || ndx == 1)
7683 if (ndx == 0 || ndx == 1)
7686 /* linux_setgid16 */
7688 if (ndx == 0 || ndx == 1)
7691 /* linux_getgid16 */
7695 if (ndx == 0 || ndx == 1)
7698 /* linux_geteuid16 */
7700 /* linux_getegid16 */
7704 if (ndx == 0 || ndx == 1)
7709 if (ndx == 0 || ndx == 1)
7714 if (ndx == 0 || ndx == 1)
7719 if (ndx == 0 || ndx == 1)
7724 if (ndx == 0 || ndx == 1)
7727 /* linux_olduname */
7731 if (ndx == 0 || ndx == 1)
7736 if (ndx == 0 || ndx == 1)
7741 if (ndx == 0 || ndx == 1)
7746 if (ndx == 0 || ndx == 1)
7755 /* linux_sigaction */
7757 if (ndx == 0 || ndx == 1)
7760 /* linux_sgetmask */
7762 /* linux_ssetmask */
7764 if (ndx == 0 || ndx == 1)
7767 /* linux_setreuid16 */
7769 if (ndx == 0 || ndx == 1)
7772 /* linux_setregid16 */
7774 if (ndx == 0 || ndx == 1)
7777 /* linux_sigsuspend */
7779 if (ndx == 0 || ndx == 1)
7782 /* linux_sigpending */
7784 if (ndx == 0 || ndx == 1)
7787 /* linux_sethostname */
7789 if (ndx == 0 || ndx == 1)
7792 /* linux_setrlimit */
7794 if (ndx == 0 || ndx == 1)
7797 /* linux_old_getrlimit */
7799 if (ndx == 0 || ndx == 1)
7802 /* linux_getrusage */
7804 if (ndx == 0 || ndx == 1)
7807 /* linux_gettimeofday */
7809 if (ndx == 0 || ndx == 1)
7812 /* linux_settimeofday */
7814 if (ndx == 0 || ndx == 1)
7817 /* linux_getgroups16 */
7819 if (ndx == 0 || ndx == 1)
7822 /* linux_setgroups16 */
7824 if (ndx == 0 || ndx == 1)
7827 /* linux_old_select */
7829 if (ndx == 0 || ndx == 1)
7834 if (ndx == 0 || ndx == 1)
7839 if (ndx == 0 || ndx == 1)
7842 /* linux_readlink */
7844 if (ndx == 0 || ndx == 1)
7849 if (ndx == 0 || ndx == 1)
7854 if (ndx == 0 || ndx == 1)
7859 if (ndx == 0 || ndx == 1)
7864 if (ndx == 0 || ndx == 1)
7869 if (ndx == 0 || ndx == 1)
7872 /* linux_truncate */
7874 if (ndx == 0 || ndx == 1)
7877 /* linux_ftruncate */
7879 if (ndx == 0 || ndx == 1)
7884 if (ndx == 0 || ndx == 1)
7889 if (ndx == 0 || ndx == 1)
7892 /* linux_getpriority */
7894 if (ndx == 0 || ndx == 1)
7899 if (ndx == 0 || ndx == 1)
7904 if (ndx == 0 || ndx == 1)
7909 if (ndx == 0 || ndx == 1)
7912 /* linux_socketcall */
7914 if (ndx == 0 || ndx == 1)
7919 if (ndx == 0 || ndx == 1)
7922 /* linux_setitimer */
7924 if (ndx == 0 || ndx == 1)
7927 /* linux_getitimer */
7929 if (ndx == 0 || ndx == 1)
7934 if (ndx == 0 || ndx == 1)
7937 /* linux_newlstat */
7939 if (ndx == 0 || ndx == 1)
7942 /* linux_newfstat */
7944 if (ndx == 0 || ndx == 1)
7951 if (ndx == 0 || ndx == 1)
7958 if (ndx == 0 || ndx == 1)
7965 if (ndx == 0 || ndx == 1)
7970 if (ndx == 0 || ndx == 1)
7975 if (ndx == 0 || ndx == 1)
7978 /* linux_sigreturn */
7980 if (ndx == 0 || ndx == 1)
7985 if (ndx == 0 || ndx == 1)
7988 /* linux_setdomainname */
7990 if (ndx == 0 || ndx == 1)
7993 /* linux_newuname */
7995 if (ndx == 0 || ndx == 1)
7998 /* linux_adjtimex */
8000 /* linux_mprotect */
8002 if (ndx == 0 || ndx == 1)
8005 /* linux_sigprocmask */
8007 if (ndx == 0 || ndx == 1)
8010 /* linux_init_module */
8012 /* linux_delete_module */
8014 /* linux_quotactl */
8018 if (ndx == 0 || ndx == 1)
8023 if (ndx == 0 || ndx == 1)
8030 if (ndx == 0 || ndx == 1)
8033 /* linux_personality */
8035 if (ndx == 0 || ndx == 1)
8038 /* linux_setfsuid16 */
8040 if (ndx == 0 || ndx == 1)
8043 /* linux_setfsgid16 */
8045 if (ndx == 0 || ndx == 1)
8050 if (ndx == 0 || ndx == 1)
8053 /* linux_getdents */
8055 if (ndx == 0 || ndx == 1)
8060 if (ndx == 0 || ndx == 1)
8065 if (ndx == 0 || ndx == 1)
8070 if (ndx == 0 || ndx == 1)
8075 if (ndx == 0 || ndx == 1)
8080 if (ndx == 0 || ndx == 1)
8085 if (ndx == 0 || ndx == 1)
8088 /* linux_fdatasync */
8090 if (ndx == 0 || ndx == 1)
8095 if (ndx == 0 || ndx == 1)
8100 if (ndx == 0 || ndx == 1)
8105 if (ndx == 0 || ndx == 1)
8110 if (ndx == 0 || ndx == 1)
8115 /* linux_sched_setparam */
8117 if (ndx == 0 || ndx == 1)
8120 /* linux_sched_getparam */
8122 if (ndx == 0 || ndx == 1)
8125 /* linux_sched_setscheduler */
8127 if (ndx == 0 || ndx == 1)
8130 /* linux_sched_getscheduler */
8132 if (ndx == 0 || ndx == 1)
8137 /* linux_sched_get_priority_max */
8139 if (ndx == 0 || ndx == 1)
8142 /* linux_sched_get_priority_min */
8144 if (ndx == 0 || ndx == 1)
8147 /* linux_sched_rr_get_interval */
8149 if (ndx == 0 || ndx == 1)
8152 /* linux_nanosleep */
8154 if (ndx == 0 || ndx == 1)
8159 if (ndx == 0 || ndx == 1)
8162 /* linux_setresuid16 */
8164 if (ndx == 0 || ndx == 1)
8167 /* linux_getresuid16 */
8169 if (ndx == 0 || ndx == 1)
8174 if (ndx == 0 || ndx == 1)
8177 /* linux_setresgid16 */
8179 if (ndx == 0 || ndx == 1)
8182 /* linux_getresgid16 */
8184 if (ndx == 0 || ndx == 1)
8189 if (ndx == 0 || ndx == 1)
8192 /* linux_rt_sigreturn */
8194 if (ndx == 0 || ndx == 1)
8197 /* linux_rt_sigaction */
8199 if (ndx == 0 || ndx == 1)
8202 /* linux_rt_sigprocmask */
8204 if (ndx == 0 || ndx == 1)
8207 /* linux_rt_sigpending */
8209 if (ndx == 0 || ndx == 1)
8212 /* linux_rt_sigtimedwait */
8214 if (ndx == 0 || ndx == 1)
8217 /* linux_rt_sigqueueinfo */
8219 if (ndx == 0 || ndx == 1)
8222 /* linux_rt_sigsuspend */
8224 if (ndx == 0 || ndx == 1)
8229 if (ndx == 0 || ndx == 1)
8234 if (ndx == 0 || ndx == 1)
8239 if (ndx == 0 || ndx == 1)
8244 if (ndx == 0 || ndx == 1)
8249 if (ndx == 0 || ndx == 1)
8254 if (ndx == 0 || ndx == 1)
8257 /* linux_sigaltstack */
8259 if (ndx == 0 || ndx == 1)
8262 /* linux_sendfile */
8266 /* linux_getrlimit */
8268 if (ndx == 0 || ndx == 1)
8273 if (ndx == 0 || ndx == 1)
8276 /* linux_truncate64 */
8278 if (ndx == 0 || ndx == 1)
8281 /* linux_ftruncate64 */
8283 if (ndx == 0 || ndx == 1)
8288 if (ndx == 0 || ndx == 1)
8293 if (ndx == 0 || ndx == 1)
8298 if (ndx == 0 || ndx == 1)
8303 if (ndx == 0 || ndx == 1)
8316 if (ndx == 0 || ndx == 1)
8321 if (ndx == 0 || ndx == 1)
8324 /* linux_getgroups */
8326 if (ndx == 0 || ndx == 1)
8329 /* linux_setgroups */
8331 if (ndx == 0 || ndx == 1)
8338 if (ndx == 0 || ndx == 1)
8343 if (ndx == 0 || ndx == 1)
8348 if (ndx == 0 || ndx == 1)
8353 if (ndx == 0 || ndx == 1)
8358 if (ndx == 0 || ndx == 1)
8363 if (ndx == 0 || ndx == 1)
8368 if (ndx == 0 || ndx == 1)
8371 /* linux_setfsuid */
8373 if (ndx == 0 || ndx == 1)
8376 /* linux_setfsgid */
8378 if (ndx == 0 || ndx == 1)
8381 /* linux_pivot_root */
8383 if (ndx == 0 || ndx == 1)
8388 if (ndx == 0 || ndx == 1)
8393 if (ndx == 0 || ndx == 1)
8396 /* linux_getdents64 */
8398 if (ndx == 0 || ndx == 1)
8403 if (ndx == 0 || ndx == 1)
8408 /* linux_setxattr */
8410 /* linux_lsetxattr */
8412 /* linux_fsetxattr */
8414 /* linux_getxattr */
8416 /* linux_lgetxattr */
8418 /* linux_fgetxattr */
8420 /* linux_listxattr */
8422 /* linux_llistxattr */
8424 /* linux_flistxattr */
8426 /* linux_removexattr */
8428 /* linux_lremovexattr */
8430 /* linux_fremovexattr */
8434 if (ndx == 0 || ndx == 1)
8437 /* linux_sys_futex */
8439 if (ndx == 0 || ndx == 1)
8442 /* linux_sched_setaffinity */
8444 if (ndx == 0 || ndx == 1)
8447 /* linux_sched_getaffinity */
8449 if (ndx == 0 || ndx == 1)
8452 /* linux_set_thread_area */
8454 if (ndx == 0 || ndx == 1)
8457 /* linux_fadvise64 */
8459 if (ndx == 0 || ndx == 1)
8462 /* linux_exit_group */
8464 if (ndx == 0 || ndx == 1)
8467 /* linux_lookup_dcookie */
8469 /* linux_epoll_create */
8471 if (ndx == 0 || ndx == 1)
8474 /* linux_epoll_ctl */
8476 if (ndx == 0 || ndx == 1)
8479 /* linux_epoll_wait */
8481 if (ndx == 0 || ndx == 1)
8484 /* linux_remap_file_pages */
8486 /* linux_set_tid_address */
8488 if (ndx == 0 || ndx == 1)
8491 /* linux_timer_create */
8493 if (ndx == 0 || ndx == 1)
8496 /* linux_timer_settime */
8498 if (ndx == 0 || ndx == 1)
8501 /* linux_timer_gettime */
8503 if (ndx == 0 || ndx == 1)
8506 /* linux_timer_getoverrun */
8508 if (ndx == 0 || ndx == 1)
8511 /* linux_timer_delete */
8513 if (ndx == 0 || ndx == 1)
8516 /* linux_clock_settime */
8518 if (ndx == 0 || ndx == 1)
8521 /* linux_clock_gettime */
8523 if (ndx == 0 || ndx == 1)
8526 /* linux_clock_getres */
8528 if (ndx == 0 || ndx == 1)
8531 /* linux_clock_nanosleep */
8533 if (ndx == 0 || ndx == 1)
8536 /* linux_statfs64 */
8538 if (ndx == 0 || ndx == 1)
8541 /* linux_fstatfs64 */
8543 if (ndx == 0 || ndx == 1)
8548 if (ndx == 0 || ndx == 1)
8553 if (ndx == 0 || ndx == 1)
8556 /* linux_fadvise64_64 */
8558 if (ndx == 0 || ndx == 1)
8563 /* linux_get_mempolicy */
8565 /* linux_set_mempolicy */
8569 /* linux_mq_unlink */
8571 /* linux_mq_timedsend */
8573 /* linux_mq_timedreceive */
8575 /* linux_mq_notify */
8577 /* linux_mq_getsetattr */
8579 /* linux_kexec_load */
8583 if (ndx == 0 || ndx == 1)
8588 /* linux_request_key */
8592 /* linux_ioprio_set */
8594 /* linux_ioprio_get */
8596 /* linux_inotify_init */
8598 /* linux_inotify_add_watch */
8600 /* linux_inotify_rm_watch */
8602 /* linux_migrate_pages */
8606 if (ndx == 0 || ndx == 1)
8611 if (ndx == 0 || ndx == 1)
8616 if (ndx == 0 || ndx == 1)
8619 /* linux_fchownat */
8621 if (ndx == 0 || ndx == 1)
8624 /* linux_futimesat */
8626 if (ndx == 0 || ndx == 1)
8629 /* linux_fstatat64 */
8631 if (ndx == 0 || ndx == 1)
8634 /* linux_unlinkat */
8636 if (ndx == 0 || ndx == 1)
8639 /* linux_renameat */
8641 if (ndx == 0 || ndx == 1)
8646 if (ndx == 0 || ndx == 1)
8649 /* linux_symlinkat */
8651 if (ndx == 0 || ndx == 1)
8654 /* linux_readlinkat */
8656 if (ndx == 0 || ndx == 1)
8659 /* linux_fchmodat */
8661 if (ndx == 0 || ndx == 1)
8664 /* linux_faccessat */
8666 if (ndx == 0 || ndx == 1)
8669 /* linux_pselect6 */
8671 if (ndx == 0 || ndx == 1)
8676 if (ndx == 0 || ndx == 1)
8681 /* linux_set_robust_list */
8683 if (ndx == 0 || ndx == 1)
8686 /* linux_get_robust_list */
8688 if (ndx == 0 || ndx == 1)
8693 /* linux_sync_file_range */
8695 if (ndx == 0 || ndx == 1)
8700 /* linux_vmsplice */
8702 /* linux_move_pages */
8706 if (ndx == 0 || ndx == 1)
8709 /* linux_epoll_pwait */
8711 if (ndx == 0 || ndx == 1)
8714 /* linux_utimensat */
8716 if (ndx == 0 || ndx == 1)
8719 /* linux_signalfd */
8721 /* linux_timerfd_create */
8723 if (ndx == 0 || ndx == 1)
8728 if (ndx == 0 || ndx == 1)
8731 /* linux_fallocate */
8733 if (ndx == 0 || ndx == 1)
8736 /* linux_timerfd_settime */
8738 if (ndx == 0 || ndx == 1)
8741 /* linux_timerfd_gettime */
8743 if (ndx == 0 || ndx == 1)
8746 /* linux_signalfd4 */
8748 /* linux_eventfd2 */
8750 if (ndx == 0 || ndx == 1)
8753 /* linux_epoll_create1 */
8755 if (ndx == 0 || ndx == 1)
8760 if (ndx == 0 || ndx == 1)
8765 if (ndx == 0 || ndx == 1)
8768 /* linux_inotify_init1 */
8772 if (ndx == 0 || ndx == 1)
8777 if (ndx == 0 || ndx == 1)
8780 /* linux_rt_tgsigqueueinfo */
8782 if (ndx == 0 || ndx == 1)
8785 /* linux_perf_event_open */
8787 /* linux_recvmmsg */
8789 if (ndx == 0 || ndx == 1)
8792 /* linux_fanotify_init */
8794 /* linux_fanotify_mark */
8796 /* linux_prlimit64 */
8798 if (ndx == 0 || ndx == 1)
8801 /* linux_name_to_handle_at */
8803 /* linux_open_by_handle_at */
8805 /* linux_clock_adjtime */
8809 if (ndx == 0 || ndx == 1)
8812 /* linux_sendmmsg */
8814 if (ndx == 0 || ndx == 1)
8819 /* linux_process_vm_readv */
8821 if (ndx == 0 || ndx == 1)
8824 /* linux_process_vm_writev */
8826 if (ndx == 0 || ndx == 1)
8831 if (ndx == 0 || ndx == 1)
8834 /* linux_finit_module */
8836 if (ndx == 0 || ndx == 1)
8839 /* linux_sched_setattr */
8841 if (ndx == 0 || ndx == 1)
8844 /* linux_sched_getattr */
8846 if (ndx == 0 || ndx == 1)
8849 /* linux_renameat2 */
8851 if (ndx == 0 || ndx == 1)
8856 if (ndx == 0 || ndx == 1)
8859 /* linux_getrandom */
8861 if (ndx == 0 || ndx == 1)
8864 /* linux_memfd_create */
8866 if (ndx == 0 || ndx == 1)
8871 if (ndx == 0 || ndx == 1)
8874 /* linux_execveat */
8876 if (ndx == 0 || ndx == 1)
8881 if (ndx == 0 || ndx == 1)
8884 /* linux_socketpair */
8886 if (ndx == 0 || ndx == 1)
8891 if (ndx == 0 || ndx == 1)
8896 if (ndx == 0 || ndx == 1)
8901 if (ndx == 0 || ndx == 1)
8906 if (ndx == 0 || ndx == 1)
8909 /* linux_getsockopt */
8911 if (ndx == 0 || ndx == 1)
8914 /* linux_setsockopt */
8916 if (ndx == 0 || ndx == 1)
8919 /* linux_getsockname */
8921 if (ndx == 0 || ndx == 1)
8924 /* linux_getpeername */
8926 if (ndx == 0 || ndx == 1)
8931 if (ndx == 0 || ndx == 1)
8936 if (ndx == 0 || ndx == 1)
8939 /* linux_recvfrom */
8941 if (ndx == 0 || ndx == 1)
8946 if (ndx == 0 || ndx == 1)
8949 /* linux_shutdown */
8951 if (ndx == 0 || ndx == 1)
8954 /* linux_userfaultfd */
8956 if (ndx == 0 || ndx == 1)
8959 /* linux_membarrier */
8961 if (ndx == 0 || ndx == 1)
8966 if (ndx == 0 || ndx == 1)
8969 /* linux_copy_file_range */
8971 if (ndx == 0 || ndx == 1)
8976 if (ndx == 0 || ndx == 1)
8979 /* linux_pwritev2 */
8981 if (ndx == 0 || ndx == 1)
8984 /* linux_pkey_mprotect */
8986 if (ndx == 0 || ndx == 1)
8989 /* linux_pkey_alloc */
8991 if (ndx == 0 || ndx == 1)
8994 /* linux_pkey_free */
8996 if (ndx == 0 || ndx == 1)
9001 if (ndx == 0 || ndx == 1)
9004 /* linux_arch_prctl */
9006 if (ndx == 0 || ndx == 1)
9009 /* linux_io_pgetevents */
9015 if (ndx == 0 || ndx == 1)
9020 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9030 if (ndx == 0 || ndx == 1)
9035 if (ndx == 0 || ndx == 1)
9040 if (ndx == 0 || ndx == 1)
9045 if (ndx == 0 || ndx == 1)
9050 if (ndx == 0 || ndx == 1)
9055 if (ndx == 0 || ndx == 1)
9060 if (ndx == 0 || ndx == 1)
9063 /* linux_clock_gettime64 */
9065 /* linux_clock_settime64 */
9067 /* linux_clock_adjtime64 */
9069 /* linux_clock_getres_time64 */
9071 /* linux_clock_nanosleep_time64 */
9073 /* linux_timer_gettime64 */
9075 /* linux_timer_settime64 */
9077 /* linux_timerfd_gettime64 */
9079 /* linux_timerfd_settime64 */
9081 /* linux_utimensat_time64 */
9083 /* linux_pselect6_time64 */
9085 /* linux_ppoll_time64 */
9087 /* linux_io_pgetevents_time64 */
9089 /* linux_recvmmsg_time64 */
9091 /* linux_mq_timedsend_time64 */
9093 /* linux_mq_timedreceive_time64 */
9095 /* linux_semtimedop_time64 */
9097 /* linux_rt_sigtimedwait_time64 */
9099 /* linux_futex_time64 */
9101 /* linux_sched_rr_get_interval_time64 */
9103 /* linux_pidfd_send_signal */
9105 if (ndx == 0 || ndx == 1)
9108 /* linux_io_uring_setup */
9110 /* linux_io_uring_enter */
9112 /* linux_io_uring_register */
9118 strlcpy(desc, p, descsz);