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
50 /* linux_llistxattr */
55 /* linux_flistxattr */
60 /* linux_removexattr */
65 /* linux_lremovexattr */
70 /* linux_fremovexattr */
77 struct linux_getcwd_args *p = params;
78 uarg[0] = (intptr_t) p->buf; /* char * */
79 iarg[1] = p->bufsize; /* l_ulong */
83 /* linux_lookup_dcookie */
90 struct linux_eventfd2_args *p = params;
91 iarg[0] = p->initval; /* l_uint */
92 iarg[1] = p->flags; /* l_int */
96 /* linux_epoll_create1 */
98 struct linux_epoll_create1_args *p = params;
99 iarg[0] = p->flags; /* l_int */
103 /* linux_epoll_ctl */
105 struct linux_epoll_ctl_args *p = params;
106 iarg[0] = p->epfd; /* l_int */
107 iarg[1] = p->op; /* l_int */
108 iarg[2] = p->fd; /* l_int */
109 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
113 /* linux_epoll_pwait */
115 struct linux_epoll_pwait_args *p = params;
116 iarg[0] = p->epfd; /* l_int */
117 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
118 iarg[2] = p->maxevents; /* l_int */
119 iarg[3] = p->timeout; /* l_int */
120 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
121 iarg[5] = p->sigsetsize; /* l_size_t */
127 struct dup_args *p = params;
128 uarg[0] = p->fd; /* u_int */
134 struct linux_dup3_args *p = params;
135 iarg[0] = p->oldfd; /* l_int */
136 iarg[1] = p->newfd; /* l_int */
137 iarg[2] = p->flags; /* l_int */
143 struct linux_fcntl_args *p = params;
144 iarg[0] = p->fd; /* l_uint */
145 iarg[1] = p->cmd; /* l_uint */
146 iarg[2] = p->arg; /* l_ulong */
150 /* linux_inotify_init1 */
152 struct linux_inotify_init1_args *p = params;
153 iarg[0] = p->flags; /* l_int */
157 /* linux_inotify_add_watch */
162 /* linux_inotify_rm_watch */
169 struct linux_ioctl_args *p = params;
170 iarg[0] = p->fd; /* l_uint */
171 iarg[1] = p->cmd; /* l_uint */
172 uarg[2] = p->arg; /* uintptr_t */
176 /* linux_ioprio_set */
181 /* linux_ioprio_get */
188 struct flock_args *p = params;
189 iarg[0] = p->fd; /* int */
190 iarg[1] = p->how; /* int */
196 struct linux_mknodat_args *p = params;
197 iarg[0] = p->dfd; /* l_int */
198 uarg[1] = (intptr_t) p->filename; /* const char * */
199 iarg[2] = p->mode; /* l_int */
200 iarg[3] = p->dev; /* l_uint */
206 struct linux_mkdirat_args *p = params;
207 iarg[0] = p->dfd; /* l_int */
208 uarg[1] = (intptr_t) p->pathname; /* const char * */
209 iarg[2] = p->mode; /* l_int */
215 struct linux_unlinkat_args *p = params;
216 iarg[0] = p->dfd; /* l_int */
217 uarg[1] = (intptr_t) p->pathname; /* const char * */
218 iarg[2] = p->flag; /* l_int */
222 /* linux_symlinkat */
224 struct linux_symlinkat_args *p = params;
225 uarg[0] = (intptr_t) p->oldname; /* const char * */
226 iarg[1] = p->newdfd; /* l_int */
227 uarg[2] = (intptr_t) p->newname; /* const char * */
233 struct linux_linkat_args *p = params;
234 iarg[0] = p->olddfd; /* l_int */
235 uarg[1] = (intptr_t) p->oldname; /* const char * */
236 iarg[2] = p->newdfd; /* l_int */
237 uarg[3] = (intptr_t) p->newname; /* const char * */
238 iarg[4] = p->flag; /* l_int */
244 struct linux_renameat_args *p = params;
245 iarg[0] = p->olddfd; /* l_int */
246 uarg[1] = (intptr_t) p->oldname; /* const char * */
247 iarg[2] = p->newdfd; /* l_int */
248 uarg[3] = (intptr_t) p->newname; /* const char * */
254 struct linux_mount_args *p = params;
255 uarg[0] = (intptr_t) p->specialfile; /* char * */
256 uarg[1] = (intptr_t) p->dir; /* char * */
257 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
258 iarg[3] = p->rwflag; /* l_ulong */
259 uarg[4] = (intptr_t) p->data; /* void * */
263 /* linux_pivot_root */
270 struct linux_statfs_args *p = params;
271 uarg[0] = (intptr_t) p->path; /* char * */
272 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
278 struct linux_fstatfs_args *p = params;
279 iarg[0] = p->fd; /* l_uint */
280 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
286 struct linux_truncate_args *p = params;
287 uarg[0] = (intptr_t) p->path; /* char * */
288 iarg[1] = p->length; /* l_ulong */
292 /* linux_ftruncate */
294 struct linux_ftruncate_args *p = params;
295 iarg[0] = p->fd; /* l_int */
296 iarg[1] = p->length; /* l_long */
300 /* linux_fallocate */
302 struct linux_fallocate_args *p = params;
303 iarg[0] = p->fd; /* l_int */
304 iarg[1] = p->mode; /* l_int */
305 iarg[2] = p->offset; /* l_loff_t */
306 iarg[3] = p->len; /* l_loff_t */
310 /* linux_faccessat */
312 struct linux_faccessat_args *p = params;
313 iarg[0] = p->dfd; /* l_int */
314 uarg[1] = (intptr_t) p->filename; /* const char * */
315 iarg[2] = p->amode; /* l_int */
321 struct linux_chdir_args *p = params;
322 uarg[0] = (intptr_t) p->path; /* char * */
328 struct fchdir_args *p = params;
329 iarg[0] = p->fd; /* int */
335 struct chroot_args *p = params;
336 uarg[0] = (intptr_t) p->path; /* char * */
342 struct fchmod_args *p = params;
343 iarg[0] = p->fd; /* int */
344 iarg[1] = p->mode; /* int */
350 struct linux_fchmodat_args *p = params;
351 iarg[0] = p->dfd; /* l_int */
352 uarg[1] = (intptr_t) p->filename; /* const char * */
353 iarg[2] = p->mode; /* l_mode_t */
359 struct linux_fchownat_args *p = params;
360 iarg[0] = p->dfd; /* l_int */
361 uarg[1] = (intptr_t) p->filename; /* const char * */
362 iarg[2] = p->uid; /* l_uid_t */
363 iarg[3] = p->gid; /* l_gid_t */
364 iarg[4] = p->flag; /* l_int */
370 struct fchown_args *p = params;
371 iarg[0] = p->fd; /* int */
372 iarg[1] = p->uid; /* int */
373 iarg[2] = p->gid; /* int */
379 struct linux_openat_args *p = params;
380 iarg[0] = p->dfd; /* l_int */
381 uarg[1] = (intptr_t) p->filename; /* const char * */
382 iarg[2] = p->flags; /* l_int */
383 iarg[3] = p->mode; /* l_int */
389 struct close_args *p = params;
390 iarg[0] = p->fd; /* int */
401 struct linux_pipe2_args *p = params;
402 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
403 iarg[1] = p->flags; /* l_int */
407 /* linux_getdents64 */
409 struct linux_getdents64_args *p = params;
410 iarg[0] = p->fd; /* l_uint */
411 uarg[1] = (intptr_t) p->dirent; /* void * */
412 iarg[2] = p->count; /* l_uint */
418 struct linux_lseek_args *p = params;
419 iarg[0] = p->fdes; /* l_uint */
420 iarg[1] = p->off; /* l_off_t */
421 iarg[2] = p->whence; /* l_int */
427 struct read_args *p = params;
428 iarg[0] = p->fd; /* int */
429 uarg[1] = (intptr_t) p->buf; /* char * */
430 uarg[2] = p->nbyte; /* u_int */
436 struct write_args *p = params;
437 iarg[0] = p->fd; /* int */
438 uarg[1] = (intptr_t) p->buf; /* char * */
439 uarg[2] = p->nbyte; /* u_int */
445 struct readv_args *p = params;
446 iarg[0] = p->fd; /* int */
447 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
448 uarg[2] = p->iovcnt; /* u_int */
454 struct writev_args *p = params;
455 iarg[0] = p->fd; /* int */
456 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
457 uarg[2] = p->iovcnt; /* u_int */
463 struct linux_pread_args *p = params;
464 iarg[0] = p->fd; /* l_uint */
465 uarg[1] = (intptr_t) p->buf; /* char * */
466 iarg[2] = p->nbyte; /* l_size_t */
467 iarg[3] = p->offset; /* l_loff_t */
473 struct linux_pwrite_args *p = params;
474 iarg[0] = p->fd; /* l_uint */
475 uarg[1] = (intptr_t) p->buf; /* char * */
476 iarg[2] = p->nbyte; /* l_size_t */
477 iarg[3] = p->offset; /* l_loff_t */
483 struct linux_preadv_args *p = params;
484 iarg[0] = p->fd; /* l_ulong */
485 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
486 iarg[2] = p->vlen; /* l_ulong */
487 iarg[3] = p->pos_l; /* l_ulong */
488 iarg[4] = p->pos_h; /* l_ulong */
494 struct linux_pwritev_args *p = params;
495 iarg[0] = p->fd; /* l_ulong */
496 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
497 iarg[2] = p->vlen; /* l_ulong */
498 iarg[3] = p->pos_l; /* l_ulong */
499 iarg[4] = p->pos_h; /* l_ulong */
505 struct linux_sendfile_args *p = params;
506 iarg[0] = p->out; /* l_int */
507 iarg[1] = p->in; /* l_int */
508 uarg[2] = (intptr_t) p->offset; /* l_long * */
509 iarg[3] = p->count; /* l_size_t */
515 struct linux_pselect6_args *p = params;
516 iarg[0] = p->nfds; /* l_int */
517 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
518 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
519 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
520 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
521 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
527 struct linux_ppoll_args *p = params;
528 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
529 uarg[1] = p->nfds; /* uint32_t */
530 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
531 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
532 iarg[4] = p->ssize; /* l_size_t */
536 /* linux_signalfd4 */
556 /* linux_readlinkat */
558 struct linux_readlinkat_args *p = params;
559 iarg[0] = p->dfd; /* l_int */
560 uarg[1] = (intptr_t) p->path; /* const char * */
561 uarg[2] = (intptr_t) p->buf; /* char * */
562 iarg[3] = p->bufsiz; /* l_int */
566 /* linux_newfstatat */
568 struct linux_newfstatat_args *p = params;
569 iarg[0] = p->dfd; /* l_int */
570 uarg[1] = (intptr_t) p->pathname; /* char * */
571 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
572 iarg[3] = p->flag; /* l_int */
578 struct linux_newfstat_args *p = params;
579 iarg[0] = p->fd; /* l_uint */
580 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
586 struct fsync_args *p = params;
587 iarg[0] = p->fd; /* int */
591 /* linux_fdatasync */
593 struct linux_fdatasync_args *p = params;
594 iarg[0] = p->fd; /* l_uint */
598 /* linux_sync_file_range */
600 struct linux_sync_file_range_args *p = params;
601 iarg[0] = p->fd; /* l_int */
602 iarg[1] = p->offset; /* l_loff_t */
603 iarg[2] = p->nbytes; /* l_loff_t */
604 uarg[3] = p->flags; /* unsigned int */
608 /* linux_timerfd_create */
610 struct linux_timerfd_create_args *p = params;
611 iarg[0] = p->clockid; /* l_int */
612 iarg[1] = p->flags; /* l_int */
616 /* linux_timerfd_settime */
618 struct linux_timerfd_settime_args *p = params;
619 iarg[0] = p->fd; /* l_int */
620 iarg[1] = p->flags; /* l_int */
621 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
622 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
626 /* linux_timerfd_gettime */
628 struct linux_timerfd_gettime_args *p = params;
629 iarg[0] = p->fd; /* l_int */
630 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
634 /* linux_utimensat */
636 struct linux_utimensat_args *p = params;
637 iarg[0] = p->dfd; /* l_int */
638 uarg[1] = (intptr_t) p->pathname; /* const char * */
639 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
640 iarg[3] = p->flags; /* l_int */
646 struct acct_args *p = params;
647 uarg[0] = (intptr_t) p->path; /* char * */
653 struct linux_capget_args *p = params;
654 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
655 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
661 struct linux_capset_args *p = params;
662 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
663 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
667 /* linux_personality */
669 struct linux_personality_args *p = params;
670 iarg[0] = p->per; /* l_uint */
676 struct linux_exit_args *p = params;
677 iarg[0] = p->rval; /* int */
681 /* linux_exit_group */
683 struct linux_exit_group_args *p = params;
684 iarg[0] = p->error_code; /* int */
690 struct linux_waitid_args *p = params;
691 iarg[0] = p->idtype; /* l_int */
692 iarg[1] = p->id; /* l_pid_t */
693 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
694 iarg[3] = p->options; /* l_int */
695 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
699 /* linux_set_tid_address */
701 struct linux_set_tid_address_args *p = params;
702 uarg[0] = (intptr_t) p->tidptr; /* int * */
711 /* linux_sys_futex */
713 struct linux_sys_futex_args *p = params;
714 uarg[0] = (intptr_t) p->uaddr; /* void * */
715 iarg[1] = p->op; /* int */
716 iarg[2] = p->val; /* int */
717 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
718 uarg[4] = (intptr_t) p->uaddr2; /* void * */
719 iarg[5] = p->val3; /* int */
723 /* linux_set_robust_list */
725 struct linux_set_robust_list_args *p = params;
726 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
727 iarg[1] = p->len; /* l_size_t */
731 /* linux_get_robust_list */
733 struct linux_get_robust_list_args *p = params;
734 iarg[0] = p->pid; /* l_int */
735 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
736 uarg[2] = (intptr_t) p->len; /* l_size_t * */
740 /* linux_nanosleep */
742 struct linux_nanosleep_args *p = params;
743 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
744 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
748 /* linux_getitimer */
750 struct linux_getitimer_args *p = params;
751 iarg[0] = p->which; /* l_int */
752 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
756 /* linux_setitimer */
758 struct linux_setitimer_args *p = params;
759 iarg[0] = p->which; /* l_int */
760 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
761 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
765 /* linux_kexec_load */
770 /* linux_init_module */
775 /* linux_delete_module */
780 /* linux_timer_create */
782 struct linux_timer_create_args *p = params;
783 iarg[0] = p->clock_id; /* clockid_t */
784 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
785 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
789 /* linux_timer_gettime */
791 struct linux_timer_gettime_args *p = params;
792 iarg[0] = p->timerid; /* l_timer_t */
793 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
797 /* linux_timer_getoverrun */
799 struct linux_timer_getoverrun_args *p = params;
800 iarg[0] = p->timerid; /* l_timer_t */
804 /* linux_timer_settime */
806 struct linux_timer_settime_args *p = params;
807 iarg[0] = p->timerid; /* l_timer_t */
808 iarg[1] = p->flags; /* l_int */
809 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
810 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
814 /* linux_timer_delete */
816 struct linux_timer_delete_args *p = params;
817 iarg[0] = p->timerid; /* l_timer_t */
821 /* linux_clock_settime */
823 struct linux_clock_settime_args *p = params;
824 iarg[0] = p->which; /* clockid_t */
825 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
829 /* linux_clock_gettime */
831 struct linux_clock_gettime_args *p = params;
832 iarg[0] = p->which; /* clockid_t */
833 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
837 /* linux_clock_getres */
839 struct linux_clock_getres_args *p = params;
840 iarg[0] = p->which; /* clockid_t */
841 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
845 /* linux_clock_nanosleep */
847 struct linux_clock_nanosleep_args *p = params;
848 iarg[0] = p->which; /* clockid_t */
849 iarg[1] = p->flags; /* int */
850 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
851 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
857 struct linux_syslog_args *p = params;
858 iarg[0] = p->type; /* l_int */
859 uarg[1] = (intptr_t) p->buf; /* char * */
860 iarg[2] = p->len; /* l_int */
866 struct linux_ptrace_args *p = params;
867 iarg[0] = p->req; /* l_long */
868 iarg[1] = p->pid; /* l_long */
869 iarg[2] = p->addr; /* l_ulong */
870 iarg[3] = p->data; /* l_ulong */
874 /* linux_sched_setparam */
876 struct linux_sched_setparam_args *p = params;
877 iarg[0] = p->pid; /* l_pid_t */
878 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
882 /* linux_sched_setscheduler */
884 struct linux_sched_setscheduler_args *p = params;
885 iarg[0] = p->pid; /* l_pid_t */
886 iarg[1] = p->policy; /* l_int */
887 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
891 /* linux_sched_getscheduler */
893 struct linux_sched_getscheduler_args *p = params;
894 iarg[0] = p->pid; /* l_pid_t */
898 /* linux_sched_getparam */
900 struct linux_sched_getparam_args *p = params;
901 iarg[0] = p->pid; /* l_pid_t */
902 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
906 /* linux_sched_setaffinity */
908 struct linux_sched_setaffinity_args *p = params;
909 iarg[0] = p->pid; /* l_pid_t */
910 iarg[1] = p->len; /* l_uint */
911 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
915 /* linux_sched_getaffinity */
917 struct linux_sched_getaffinity_args *p = params;
918 iarg[0] = p->pid; /* l_pid_t */
919 iarg[1] = p->len; /* l_uint */
920 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
929 /* linux_sched_get_priority_max */
931 struct linux_sched_get_priority_max_args *p = params;
932 iarg[0] = p->policy; /* l_int */
936 /* linux_sched_get_priority_min */
938 struct linux_sched_get_priority_min_args *p = params;
939 iarg[0] = p->policy; /* l_int */
943 /* linux_sched_rr_get_interval */
945 struct linux_sched_rr_get_interval_args *p = params;
946 iarg[0] = p->pid; /* l_pid_t */
947 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
953 struct linux_kill_args *p = params;
954 iarg[0] = p->pid; /* l_int */
955 iarg[1] = p->signum; /* l_int */
961 struct linux_tkill_args *p = params;
962 iarg[0] = p->tid; /* l_int */
963 iarg[1] = p->sig; /* l_int */
969 struct linux_tgkill_args *p = params;
970 iarg[0] = p->tgid; /* l_int */
971 iarg[1] = p->pid; /* l_int */
972 iarg[2] = p->sig; /* l_int */
976 /* linux_sigaltstack */
978 struct linux_sigaltstack_args *p = params;
979 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
980 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
984 /* linux_rt_sigsuspend */
986 struct linux_rt_sigsuspend_args *p = params;
987 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
988 iarg[1] = p->sigsetsize; /* l_size_t */
992 /* linux_rt_sigaction */
994 struct linux_rt_sigaction_args *p = params;
995 iarg[0] = p->sig; /* l_int */
996 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
997 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
998 iarg[3] = p->sigsetsize; /* l_size_t */
1002 /* linux_rt_sigprocmask */
1004 struct linux_rt_sigprocmask_args *p = params;
1005 iarg[0] = p->how; /* l_int */
1006 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1007 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1008 iarg[3] = p->sigsetsize; /* l_size_t */
1012 /* linux_rt_sigpending */
1014 struct linux_rt_sigpending_args *p = params;
1015 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1016 iarg[1] = p->sigsetsize; /* l_size_t */
1020 /* linux_rt_sigtimedwait */
1022 struct linux_rt_sigtimedwait_args *p = params;
1023 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1024 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1025 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1026 iarg[3] = p->sigsetsize; /* l_size_t */
1030 /* linux_rt_sigqueueinfo */
1032 struct linux_rt_sigqueueinfo_args *p = params;
1033 iarg[0] = p->pid; /* l_pid_t */
1034 iarg[1] = p->sig; /* l_int */
1035 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1039 /* linux_rt_sigreturn */
1041 struct linux_rt_sigreturn_args *p = params;
1042 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1048 struct setpriority_args *p = params;
1049 iarg[0] = p->which; /* int */
1050 iarg[1] = p->who; /* int */
1051 iarg[2] = p->prio; /* int */
1055 /* linux_getpriority */
1057 struct linux_getpriority_args *p = params;
1058 iarg[0] = p->which; /* l_int */
1059 iarg[1] = p->who; /* l_int */
1065 struct linux_reboot_args *p = params;
1066 iarg[0] = p->magic1; /* l_int */
1067 iarg[1] = p->magic2; /* l_int */
1068 iarg[2] = p->cmd; /* l_uint */
1069 uarg[3] = (intptr_t) p->arg; /* void * */
1075 struct setregid_args *p = params;
1076 iarg[0] = p->rgid; /* gid_t */
1077 iarg[1] = p->egid; /* gid_t */
1083 struct setgid_args *p = params;
1084 iarg[0] = p->gid; /* gid_t */
1090 struct setreuid_args *p = params;
1091 uarg[0] = p->ruid; /* uid_t */
1092 uarg[1] = p->euid; /* uid_t */
1098 struct setuid_args *p = params;
1099 uarg[0] = p->uid; /* uid_t */
1105 struct setresuid_args *p = params;
1106 uarg[0] = p->ruid; /* uid_t */
1107 uarg[1] = p->euid; /* uid_t */
1108 uarg[2] = p->suid; /* uid_t */
1114 struct getresuid_args *p = params;
1115 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1116 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1117 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1123 struct setresgid_args *p = params;
1124 iarg[0] = p->rgid; /* gid_t */
1125 iarg[1] = p->egid; /* gid_t */
1126 iarg[2] = p->sgid; /* gid_t */
1132 struct getresgid_args *p = params;
1133 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1134 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1135 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1139 /* linux_setfsuid */
1141 struct linux_setfsuid_args *p = params;
1142 iarg[0] = p->uid; /* l_uid_t */
1146 /* linux_setfsgid */
1148 struct linux_setfsgid_args *p = params;
1149 iarg[0] = p->gid; /* l_gid_t */
1155 struct linux_times_args *p = params;
1156 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
1162 struct setpgid_args *p = params;
1163 iarg[0] = p->pid; /* int */
1164 iarg[1] = p->pgid; /* int */
1170 struct getpgid_args *p = params;
1171 iarg[0] = p->pid; /* int */
1177 struct linux_getsid_args *p = params;
1178 iarg[0] = p->pid; /* l_pid_t */
1187 /* linux_getgroups */
1189 struct linux_getgroups_args *p = params;
1190 iarg[0] = p->gidsetsize; /* l_int */
1191 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1195 /* linux_setgroups */
1197 struct linux_setgroups_args *p = params;
1198 iarg[0] = p->gidsetsize; /* l_int */
1199 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1203 /* linux_newuname */
1205 struct linux_newuname_args *p = params;
1206 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
1210 /* linux_sethostname */
1212 struct linux_sethostname_args *p = params;
1213 uarg[0] = (intptr_t) p->hostname; /* char * */
1214 iarg[1] = p->len; /* l_uint */
1218 /* linux_setdomainname */
1220 struct linux_setdomainname_args *p = params;
1221 uarg[0] = (intptr_t) p->name; /* char * */
1222 iarg[1] = p->len; /* l_int */
1226 /* linux_getrlimit */
1228 struct linux_getrlimit_args *p = params;
1229 iarg[0] = p->resource; /* l_uint */
1230 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1234 /* linux_setrlimit */
1236 struct linux_setrlimit_args *p = params;
1237 iarg[0] = p->resource; /* l_uint */
1238 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1244 struct getrusage_args *p = params;
1245 iarg[0] = p->who; /* int */
1246 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
1252 struct umask_args *p = params;
1253 iarg[0] = p->newmask; /* int */
1259 struct linux_prctl_args *p = params;
1260 iarg[0] = p->option; /* l_int */
1261 iarg[1] = p->arg2; /* l_uintptr_t */
1262 iarg[2] = p->arg3; /* l_uintptr_t */
1263 iarg[3] = p->arg4; /* l_uintptr_t */
1264 iarg[4] = p->arg5; /* l_uintptr_t */
1270 struct linux_getcpu_args *p = params;
1271 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
1272 uarg[1] = (intptr_t) p->node; /* l_uint * */
1273 uarg[2] = (intptr_t) p->cache; /* void * */
1279 struct gettimeofday_args *p = params;
1280 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
1281 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1287 struct settimeofday_args *p = params;
1288 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */
1289 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1293 /* linux_adjtimex */
1335 struct linux_sysinfo_args *p = params;
1336 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
1345 /* linux_mq_unlink */
1350 /* linux_mq_timedsend */
1355 /* linux_mq_timedreceive */
1360 /* linux_mq_notify */
1365 /* linux_mq_getsetattr */
1372 struct linux_msgget_args *p = params;
1373 iarg[0] = p->key; /* l_key_t */
1374 iarg[1] = p->msgflg; /* l_int */
1380 struct linux_msgctl_args *p = params;
1381 iarg[0] = p->msqid; /* l_int */
1382 iarg[1] = p->cmd; /* l_int */
1383 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
1389 struct linux_msgrcv_args *p = params;
1390 iarg[0] = p->msqid; /* l_int */
1391 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1392 iarg[2] = p->msgsz; /* l_size_t */
1393 iarg[3] = p->msgtyp; /* l_long */
1394 iarg[4] = p->msgflg; /* l_int */
1400 struct linux_msgsnd_args *p = params;
1401 iarg[0] = p->msqid; /* l_int */
1402 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1403 iarg[2] = p->msgsz; /* l_size_t */
1404 iarg[3] = p->msgflg; /* l_int */
1410 struct linux_semget_args *p = params;
1411 iarg[0] = p->key; /* l_key_t */
1412 iarg[1] = p->nsems; /* l_int */
1413 iarg[2] = p->semflg; /* l_int */
1419 struct linux_semctl_args *p = params;
1420 iarg[0] = p->semid; /* l_int */
1421 iarg[1] = p->semnum; /* l_int */
1422 iarg[2] = p->cmd; /* l_int */
1423 uarg[3] = p->arg.buf; /* union l_semun */
1427 /* linux_semtimedop */
1434 struct linux_semop_args *p = params;
1435 iarg[0] = p->semid; /* l_int */
1436 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */
1437 iarg[2] = p->nsops; /* l_uint */
1443 struct linux_shmget_args *p = params;
1444 iarg[0] = p->key; /* l_key_t */
1445 iarg[1] = p->size; /* l_size_t */
1446 iarg[2] = p->shmflg; /* l_int */
1452 struct linux_shmctl_args *p = params;
1453 iarg[0] = p->shmid; /* l_int */
1454 iarg[1] = p->cmd; /* l_int */
1455 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
1461 struct linux_shmat_args *p = params;
1462 iarg[0] = p->shmid; /* l_int */
1463 uarg[1] = (intptr_t) p->shmaddr; /* char * */
1464 iarg[2] = p->shmflg; /* l_int */
1470 struct linux_shmdt_args *p = params;
1471 uarg[0] = (intptr_t) p->shmaddr; /* char * */
1477 struct linux_socket_args *p = params;
1478 iarg[0] = p->domain; /* l_int */
1479 iarg[1] = p->type; /* l_int */
1480 iarg[2] = p->protocol; /* l_int */
1484 /* linux_socketpair */
1486 struct linux_socketpair_args *p = params;
1487 iarg[0] = p->domain; /* l_int */
1488 iarg[1] = p->type; /* l_int */
1489 iarg[2] = p->protocol; /* l_int */
1490 iarg[3] = p->rsv; /* l_uintptr_t */
1496 struct linux_bind_args *p = params;
1497 iarg[0] = p->s; /* l_int */
1498 iarg[1] = p->name; /* l_uintptr_t */
1499 iarg[2] = p->namelen; /* l_int */
1505 struct linux_listen_args *p = params;
1506 iarg[0] = p->s; /* l_int */
1507 iarg[1] = p->backlog; /* l_int */
1513 struct linux_accept_args *p = params;
1514 iarg[0] = p->s; /* l_int */
1515 iarg[1] = p->addr; /* l_uintptr_t */
1516 iarg[2] = p->namelen; /* l_uintptr_t */
1522 struct linux_connect_args *p = params;
1523 iarg[0] = p->s; /* l_int */
1524 iarg[1] = p->name; /* l_uintptr_t */
1525 iarg[2] = p->namelen; /* l_int */
1529 /* linux_getsockname */
1531 struct linux_getsockname_args *p = params;
1532 iarg[0] = p->s; /* l_int */
1533 iarg[1] = p->addr; /* l_uintptr_t */
1534 iarg[2] = p->namelen; /* l_uintptr_t */
1538 /* linux_getpeername */
1540 struct linux_getpeername_args *p = params;
1541 iarg[0] = p->s; /* l_int */
1542 iarg[1] = p->addr; /* l_uintptr_t */
1543 iarg[2] = p->namelen; /* l_uintptr_t */
1549 struct linux_sendto_args *p = params;
1550 iarg[0] = p->s; /* l_int */
1551 iarg[1] = p->msg; /* l_uintptr_t */
1552 iarg[2] = p->len; /* l_int */
1553 iarg[3] = p->flags; /* l_int */
1554 iarg[4] = p->to; /* l_uintptr_t */
1555 iarg[5] = p->tolen; /* l_int */
1559 /* linux_recvfrom */
1561 struct linux_recvfrom_args *p = params;
1562 iarg[0] = p->s; /* l_int */
1563 iarg[1] = p->buf; /* l_uintptr_t */
1564 iarg[2] = p->len; /* l_size_t */
1565 iarg[3] = p->flags; /* l_int */
1566 iarg[4] = p->from; /* l_uintptr_t */
1567 iarg[5] = p->fromlen; /* l_uintptr_t */
1571 /* linux_setsockopt */
1573 struct linux_setsockopt_args *p = params;
1574 iarg[0] = p->s; /* l_int */
1575 iarg[1] = p->level; /* l_int */
1576 iarg[2] = p->optname; /* l_int */
1577 iarg[3] = p->optval; /* l_uintptr_t */
1578 iarg[4] = p->optlen; /* l_int */
1582 /* linux_getsockopt */
1584 struct linux_getsockopt_args *p = params;
1585 iarg[0] = p->s; /* l_int */
1586 iarg[1] = p->level; /* l_int */
1587 iarg[2] = p->optname; /* l_int */
1588 iarg[3] = p->optval; /* l_uintptr_t */
1589 iarg[4] = p->optlen; /* l_uintptr_t */
1593 /* linux_shutdown */
1595 struct linux_shutdown_args *p = params;
1596 iarg[0] = p->s; /* l_int */
1597 iarg[1] = p->how; /* l_int */
1603 struct linux_sendmsg_args *p = params;
1604 iarg[0] = p->s; /* l_int */
1605 iarg[1] = p->msg; /* l_uintptr_t */
1606 iarg[2] = p->flags; /* l_int */
1612 struct linux_recvmsg_args *p = params;
1613 iarg[0] = p->s; /* l_int */
1614 iarg[1] = p->msg; /* l_uintptr_t */
1615 iarg[2] = p->flags; /* l_int */
1621 struct linux_brk_args *p = params;
1622 iarg[0] = p->dsend; /* l_ulong */
1628 struct munmap_args *p = params;
1629 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1630 iarg[1] = p->len; /* int */
1636 struct linux_mremap_args *p = params;
1637 iarg[0] = p->addr; /* l_ulong */
1638 iarg[1] = p->old_len; /* l_ulong */
1639 iarg[2] = p->new_len; /* l_ulong */
1640 iarg[3] = p->flags; /* l_ulong */
1641 iarg[4] = p->new_addr; /* l_ulong */
1650 /* linux_request_key */
1662 struct linux_clone_args *p = params;
1663 iarg[0] = p->flags; /* l_int */
1664 uarg[1] = (intptr_t) p->stack; /* void * */
1665 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
1666 uarg[3] = (intptr_t) p->tls; /* void * */
1667 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
1673 struct linux_execve_args *p = params;
1674 uarg[0] = (intptr_t) p->path; /* char * */
1675 uarg[1] = (intptr_t) p->argp; /* char ** */
1676 uarg[2] = (intptr_t) p->envp; /* char ** */
1682 struct linux_mmap2_args *p = params;
1683 iarg[0] = p->addr; /* l_ulong */
1684 iarg[1] = p->len; /* l_ulong */
1685 iarg[2] = p->prot; /* l_ulong */
1686 iarg[3] = p->flags; /* l_ulong */
1687 iarg[4] = p->fd; /* l_ulong */
1688 iarg[5] = p->pgoff; /* l_ulong */
1692 /* linux_fadvise64 */
1694 struct linux_fadvise64_args *p = params;
1695 iarg[0] = p->fd; /* l_int */
1696 iarg[1] = p->offset; /* l_loff_t */
1697 iarg[2] = p->len; /* l_size_t */
1698 iarg[3] = p->advice; /* l_int */
1704 struct swapon_args *p = params;
1705 uarg[0] = (intptr_t) p->name; /* char * */
1714 /* linux_mprotect */
1716 struct linux_mprotect_args *p = params;
1717 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1718 iarg[1] = p->len; /* l_int */
1719 iarg[2] = p->prot; /* l_int */
1725 struct linux_msync_args *p = params;
1726 iarg[0] = p->addr; /* l_ulong */
1727 iarg[1] = p->len; /* l_size_t */
1728 iarg[2] = p->fl; /* l_int */
1734 struct mlock_args *p = params;
1735 uarg[0] = (intptr_t) p->addr; /* const void * */
1736 uarg[1] = p->len; /* size_t */
1742 struct munlock_args *p = params;
1743 uarg[0] = (intptr_t) p->addr; /* const void * */
1744 uarg[1] = p->len; /* size_t */
1750 struct mlockall_args *p = params;
1751 iarg[0] = p->how; /* int */
1762 struct linux_mincore_args *p = params;
1763 iarg[0] = p->start; /* l_ulong */
1764 iarg[1] = p->len; /* l_size_t */
1765 uarg[2] = (intptr_t) p->vec; /* u_char * */
1771 struct madvise_args *p = params;
1772 uarg[0] = (intptr_t) p->addr; /* void * */
1773 uarg[1] = p->len; /* size_t */
1774 iarg[2] = p->behav; /* int */
1778 /* linux_remap_file_pages */
1788 /* linux_get_mempolicy */
1793 /* linux_set_mempolicy */
1798 /* linux_migrate_pages */
1803 /* linux_move_pages */
1808 /* linux_rt_tgsigqueueinfo */
1810 struct linux_rt_tgsigqueueinfo_args *p = params;
1811 iarg[0] = p->tgid; /* l_pid_t */
1812 iarg[1] = p->tid; /* l_pid_t */
1813 iarg[2] = p->sig; /* l_int */
1814 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
1818 /* linux_perf_event_open */
1825 struct linux_accept4_args *p = params;
1826 iarg[0] = p->s; /* l_int */
1827 iarg[1] = p->addr; /* l_uintptr_t */
1828 iarg[2] = p->namelen; /* l_uintptr_t */
1829 iarg[3] = p->flags; /* int */
1833 /* linux_recvmmsg */
1835 struct linux_recvmmsg_args *p = params;
1836 iarg[0] = p->s; /* l_int */
1837 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
1838 iarg[2] = p->vlen; /* l_uint */
1839 iarg[3] = p->flags; /* l_uint */
1840 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
1846 struct linux_wait4_args *p = params;
1847 iarg[0] = p->pid; /* l_pid_t */
1848 uarg[1] = (intptr_t) p->status; /* l_int * */
1849 iarg[2] = p->options; /* l_int */
1850 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
1854 /* linux_prlimit64 */
1856 struct linux_prlimit64_args *p = params;
1857 iarg[0] = p->pid; /* l_pid_t */
1858 iarg[1] = p->resource; /* l_uint */
1859 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
1860 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
1864 /* linux_fanotify_init */
1869 /* linux_fanotify_mark */
1874 /* linux_name_to_handle_at */
1879 /* linux_open_by_handle_at */
1884 /* linux_clock_adjtime */
1891 struct linux_syncfs_args *p = params;
1892 iarg[0] = p->fd; /* l_int */
1898 struct linux_setns_args *p = params;
1899 iarg[0] = p->fd; /* l_int */
1900 iarg[1] = p->nstype; /* l_int */
1904 /* linux_sendmmsg */
1906 struct linux_sendmmsg_args *p = params;
1907 iarg[0] = p->s; /* l_int */
1908 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
1909 iarg[2] = p->vlen; /* l_uint */
1910 iarg[3] = p->flags; /* l_uint */
1914 /* linux_process_vm_readv */
1916 struct linux_process_vm_readv_args *p = params;
1917 iarg[0] = p->pid; /* l_pid_t */
1918 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
1919 iarg[2] = p->liovcnt; /* l_ulong */
1920 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
1921 iarg[4] = p->riovcnt; /* l_ulong */
1922 iarg[5] = p->flags; /* l_ulong */
1926 /* linux_process_vm_writev */
1928 struct linux_process_vm_writev_args *p = params;
1929 iarg[0] = p->pid; /* l_pid_t */
1930 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
1931 iarg[2] = p->liovcnt; /* l_ulong */
1932 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
1933 iarg[4] = p->riovcnt; /* l_ulong */
1934 iarg[5] = p->flags; /* l_ulong */
1940 struct linux_kcmp_args *p = params;
1941 iarg[0] = p->pid1; /* l_pid_t */
1942 iarg[1] = p->pid2; /* l_pid_t */
1943 iarg[2] = p->type; /* l_int */
1944 iarg[3] = p->idx1; /* l_ulong */
1945 iarg[4] = p->idx; /* l_ulong */
1949 /* linux_finit_module */
1951 struct linux_finit_module_args *p = params;
1952 iarg[0] = p->fd; /* l_int */
1953 uarg[1] = (intptr_t) p->uargs; /* const char * */
1954 iarg[2] = p->flags; /* l_int */
1958 /* linux_sched_setattr */
1960 struct linux_sched_setattr_args *p = params;
1961 iarg[0] = p->pid; /* l_pid_t */
1962 uarg[1] = (intptr_t) p->attr; /* void * */
1963 iarg[2] = p->flags; /* l_uint */
1967 /* linux_sched_getattr */
1969 struct linux_sched_getattr_args *p = params;
1970 iarg[0] = p->pid; /* l_pid_t */
1971 uarg[1] = (intptr_t) p->attr; /* void * */
1972 iarg[2] = p->size; /* l_uint */
1973 iarg[3] = p->flags; /* l_uint */
1977 /* linux_renameat2 */
1979 struct linux_renameat2_args *p = params;
1980 iarg[0] = p->olddfd; /* l_int */
1981 uarg[1] = (intptr_t) p->oldname; /* const char * */
1982 iarg[2] = p->newdfd; /* l_int */
1983 uarg[3] = (intptr_t) p->newname; /* const char * */
1984 uarg[4] = p->flags; /* unsigned int */
1990 struct linux_seccomp_args *p = params;
1991 iarg[0] = p->op; /* l_uint */
1992 iarg[1] = p->flags; /* l_uint */
1993 uarg[2] = (intptr_t) p->uargs; /* const char * */
1997 /* linux_getrandom */
1999 struct linux_getrandom_args *p = params;
2000 uarg[0] = (intptr_t) p->buf; /* char * */
2001 iarg[1] = p->count; /* l_size_t */
2002 iarg[2] = p->flags; /* l_uint */
2006 /* linux_memfd_create */
2008 struct linux_memfd_create_args *p = params;
2009 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2010 iarg[1] = p->flags; /* l_uint */
2016 struct linux_bpf_args *p = params;
2017 iarg[0] = p->cmd; /* l_int */
2018 uarg[1] = (intptr_t) p->attr; /* void * */
2019 iarg[2] = p->size; /* l_uint */
2023 /* linux_execveat */
2025 struct linux_execveat_args *p = params;
2026 iarg[0] = p->dfd; /* l_int */
2027 uarg[1] = (intptr_t) p->filename; /* const char * */
2028 uarg[2] = (intptr_t) p->argv; /* const char ** */
2029 uarg[3] = (intptr_t) p->envp; /* const char ** */
2030 iarg[4] = p->flags; /* l_int */
2034 /* linux_userfaultfd */
2036 struct linux_userfaultfd_args *p = params;
2037 iarg[0] = p->flags; /* l_int */
2041 /* linux_membarrier */
2043 struct linux_membarrier_args *p = params;
2044 iarg[0] = p->cmd; /* l_int */
2045 iarg[1] = p->flags; /* l_int */
2051 struct linux_mlock2_args *p = params;
2052 iarg[0] = p->start; /* l_ulong */
2053 iarg[1] = p->len; /* l_size_t */
2054 iarg[2] = p->flags; /* l_int */
2058 /* linux_copy_file_range */
2060 struct linux_copy_file_range_args *p = params;
2061 iarg[0] = p->fd_in; /* l_int */
2062 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2063 iarg[2] = p->fd_out; /* l_int */
2064 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2065 iarg[4] = p->len; /* l_size_t */
2066 iarg[5] = p->flags; /* l_uint */
2072 struct linux_preadv2_args *p = params;
2073 iarg[0] = p->fd; /* l_ulong */
2074 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2075 iarg[2] = p->vlen; /* l_ulong */
2076 iarg[3] = p->pos_l; /* l_ulong */
2077 iarg[4] = p->pos_h; /* l_ulong */
2078 iarg[5] = p->flags; /* l_int */
2082 /* linux_pwritev2 */
2084 struct linux_pwritev2_args *p = params;
2085 iarg[0] = p->fd; /* l_ulong */
2086 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2087 iarg[2] = p->vlen; /* l_ulong */
2088 iarg[3] = p->pos_l; /* l_ulong */
2089 iarg[4] = p->pos_h; /* l_ulong */
2090 iarg[5] = p->flags; /* l_int */
2094 /* linux_pkey_mprotect */
2096 struct linux_pkey_mprotect_args *p = params;
2097 iarg[0] = p->start; /* l_ulong */
2098 iarg[1] = p->len; /* l_size_t */
2099 iarg[2] = p->prot; /* l_ulong */
2100 iarg[3] = p->pkey; /* l_int */
2104 /* linux_pkey_alloc */
2106 struct linux_pkey_alloc_args *p = params;
2107 iarg[0] = p->flags; /* l_ulong */
2108 iarg[1] = p->init_val; /* l_ulong */
2112 /* linux_pkey_free */
2114 struct linux_pkey_free_args *p = params;
2115 iarg[0] = p->pkey; /* l_int */
2125 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2127 const char *p = NULL;
2129 #define nosys linux_nosys
2130 /* linux_setxattr */
2133 /* linux_lsetxattr */
2136 /* linux_fsetxattr */
2139 /* linux_getxattr */
2142 /* linux_lgetxattr */
2145 /* linux_fgetxattr */
2148 /* linux_listxattr */
2151 /* linux_llistxattr */
2154 /* linux_flistxattr */
2157 /* linux_removexattr */
2160 /* linux_lremovexattr */
2163 /* linux_fremovexattr */
2170 p = "userland char *";
2179 /* linux_lookup_dcookie */
2182 /* linux_eventfd2 */
2195 /* linux_epoll_create1 */
2205 /* linux_epoll_ctl */
2218 p = "userland struct epoll_event *";
2224 /* linux_epoll_pwait */
2231 p = "userland struct epoll_event *";
2240 p = "userland l_sigset_t *";
2291 /* linux_inotify_init1 */
2301 /* linux_inotify_add_watch */
2304 /* linux_inotify_rm_watch */
2323 /* linux_ioprio_set */
2326 /* linux_ioprio_get */
2349 p = "userland const char *";
2368 p = "userland const char *";
2377 /* linux_unlinkat */
2384 p = "userland const char *";
2393 /* linux_symlinkat */
2397 p = "userland const char *";
2403 p = "userland const char *";
2416 p = "userland const char *";
2422 p = "userland const char *";
2431 /* linux_renameat */
2438 p = "userland const char *";
2444 p = "userland const char *";
2454 p = "userland char *";
2457 p = "userland char *";
2460 p = "userland char *";
2466 p = "userland void *";
2472 /* linux_pivot_root */
2479 p = "userland char *";
2482 p = "userland struct l_statfs_buf *";
2495 p = "userland struct l_statfs_buf *";
2501 /* linux_truncate */
2505 p = "userland char *";
2514 /* linux_ftruncate */
2527 /* linux_fallocate */
2546 /* linux_faccessat */
2553 p = "userland const char *";
2566 p = "userland char *";
2586 p = "userland char *";
2605 /* linux_fchmodat */
2612 p = "userland const char *";
2621 /* linux_fchownat */
2628 p = "userland const char *";
2666 p = "userland const char *";
2695 p = "userland l_int *";
2704 /* linux_getdents64 */
2711 p = "userland void *";
2743 p = "userland char *";
2759 p = "userland char *";
2775 p = "userland struct iovec *";
2791 p = "userland struct iovec *";
2807 p = "userland char *";
2826 p = "userland char *";
2845 p = "userland struct iovec *";
2867 p = "userland struct iovec *";
2882 /* linux_sendfile */
2892 p = "userland l_long *";
2901 /* linux_pselect6 */
2908 p = "userland l_fd_set *";
2911 p = "userland l_fd_set *";
2914 p = "userland l_fd_set *";
2917 p = "userland struct l_timespec *";
2920 p = "userland l_uintptr_t *";
2930 p = "userland struct pollfd *";
2936 p = "userland struct l_timespec *";
2939 p = "userland l_sigset_t *";
2948 /* linux_signalfd4 */
2951 /* linux_vmsplice */
2960 /* linux_readlinkat */
2967 p = "userland const char *";
2970 p = "userland char *";
2979 /* linux_newfstatat */
2986 p = "userland char *";
2989 p = "userland struct l_stat64 *";
2998 /* linux_newfstat */
3005 p = "userland struct l_newstat *";
3021 /* linux_fdatasync */
3031 /* linux_sync_file_range */
3050 /* linux_timerfd_create */
3063 /* linux_timerfd_settime */
3073 p = "userland const struct l_itimerspec *";
3076 p = "userland struct l_itimerspec *";
3082 /* linux_timerfd_gettime */
3089 p = "userland struct l_itimerspec *";
3095 /* linux_utimensat */
3102 p = "userland const char *";
3105 p = "userland const struct l_timespec *";
3118 p = "userland char *";
3128 p = "userland struct l_user_cap_header *";
3131 p = "userland struct l_user_cap_data *";
3141 p = "userland struct l_user_cap_header *";
3144 p = "userland struct l_user_cap_data *";
3150 /* linux_personality */
3170 /* linux_exit_group */
3190 p = "userland l_siginfo_t *";
3196 p = "userland struct rusage *";
3202 /* linux_set_tid_address */
3206 p = "userland int *";
3215 /* linux_sys_futex */
3219 p = "userland void *";
3228 p = "userland struct l_timespec *";
3231 p = "userland void *";
3240 /* linux_set_robust_list */
3244 p = "userland struct linux_robust_list_head *";
3253 /* linux_get_robust_list */
3260 p = "userland struct linux_robust_list_head **";
3263 p = "userland l_size_t *";
3269 /* linux_nanosleep */
3273 p = "userland const struct l_timespec *";
3276 p = "userland struct l_timespec *";
3282 /* linux_getitimer */
3289 p = "userland struct l_itimerval *";
3295 /* linux_setitimer */
3302 p = "userland struct l_itimerval *";
3305 p = "userland struct l_itimerval *";
3311 /* linux_kexec_load */
3314 /* linux_init_module */
3317 /* linux_delete_module */
3320 /* linux_timer_create */
3327 p = "userland struct sigevent *";
3330 p = "userland l_timer_t *";
3336 /* linux_timer_gettime */
3343 p = "userland struct itimerspec *";
3349 /* linux_timer_getoverrun */
3359 /* linux_timer_settime */
3369 p = "userland const struct itimerspec *";
3372 p = "userland struct itimerspec *";
3378 /* linux_timer_delete */
3388 /* linux_clock_settime */
3395 p = "userland struct l_timespec *";
3401 /* linux_clock_gettime */
3408 p = "userland struct l_timespec *";
3414 /* linux_clock_getres */
3421 p = "userland struct l_timespec *";
3427 /* linux_clock_nanosleep */
3437 p = "userland struct l_timespec *";
3440 p = "userland struct l_timespec *";
3453 p = "userland char *";
3481 /* linux_sched_setparam */
3488 p = "userland struct sched_param *";
3494 /* linux_sched_setscheduler */
3504 p = "userland struct sched_param *";
3510 /* linux_sched_getscheduler */
3520 /* linux_sched_getparam */
3527 p = "userland struct sched_param *";
3533 /* linux_sched_setaffinity */
3543 p = "userland l_ulong *";
3549 /* linux_sched_getaffinity */
3559 p = "userland l_ulong *";
3568 /* linux_sched_get_priority_max */
3578 /* linux_sched_get_priority_min */
3588 /* linux_sched_rr_get_interval */
3595 p = "userland struct l_timespec *";
3643 /* linux_sigaltstack */
3647 p = "userland l_stack_t *";
3650 p = "userland l_stack_t *";
3656 /* linux_rt_sigsuspend */
3660 p = "userland l_sigset_t *";
3669 /* linux_rt_sigaction */
3676 p = "userland l_sigaction_t *";
3679 p = "userland l_sigaction_t *";
3688 /* linux_rt_sigprocmask */
3695 p = "userland l_sigset_t *";
3698 p = "userland l_sigset_t *";
3707 /* linux_rt_sigpending */
3711 p = "userland l_sigset_t *";
3720 /* linux_rt_sigtimedwait */
3724 p = "userland l_sigset_t *";
3727 p = "userland l_siginfo_t *";
3730 p = "userland struct l_timeval *";
3739 /* linux_rt_sigqueueinfo */
3749 p = "userland l_siginfo_t *";
3755 /* linux_rt_sigreturn */
3759 p = "userland struct l_ucontext *";
3781 /* linux_getpriority */
3807 p = "userland void *";
3879 p = "userland uid_t *";
3882 p = "userland uid_t *";
3885 p = "userland uid_t *";
3911 p = "userland gid_t *";
3914 p = "userland gid_t *";
3917 p = "userland gid_t *";
3923 /* linux_setfsuid */
3933 /* linux_setfsgid */
3947 p = "userland struct l_times_argv *";
3989 /* linux_getgroups */
3996 p = "userland l_gid_t *";
4002 /* linux_setgroups */
4009 p = "userland l_gid_t *";
4015 /* linux_newuname */
4019 p = "userland struct l_new_utsname *";
4025 /* linux_sethostname */
4029 p = "userland char *";
4038 /* linux_setdomainname */
4042 p = "userland char *";
4051 /* linux_getrlimit */
4058 p = "userland struct l_rlimit *";
4064 /* linux_setrlimit */
4071 p = "userland struct l_rlimit *";
4084 p = "userland struct rusage *";
4126 p = "userland l_uint *";
4129 p = "userland l_uint *";
4132 p = "userland void *";
4142 p = "userland struct l_timeval *";
4145 p = "userland struct timezone *";
4155 p = "userland struct l_timeval *";
4158 p = "userland struct timezone *";
4164 /* linux_adjtimex */
4192 p = "userland struct l_sysinfo *";
4201 /* linux_mq_unlink */
4204 /* linux_mq_timedsend */
4207 /* linux_mq_timedreceive */
4210 /* linux_mq_notify */
4213 /* linux_mq_getsetattr */
4239 p = "userland struct l_msqid_ds *";
4252 p = "userland struct l_msgbuf *";
4274 p = "userland struct l_msgbuf *";
4315 p = "union l_semun";
4321 /* linux_semtimedop */
4331 p = "userland struct l_sembuf *";
4366 p = "userland struct l_shmid_ds *";
4379 p = "userland char *";
4392 p = "userland char *";
4414 /* linux_socketpair */
4494 /* linux_getsockname */
4510 /* linux_getpeername */
4551 /* linux_recvfrom */
4576 /* linux_setsockopt */
4598 /* linux_getsockopt */
4620 /* linux_shutdown */
4713 /* linux_request_key */
4726 p = "userland void *";
4729 p = "userland void *";
4732 p = "userland void *";
4735 p = "userland void *";
4745 p = "userland char *";
4748 p = "userland char **";
4751 p = "userland char **";
4782 /* linux_fadvise64 */
4805 p = "userland char *";
4814 /* linux_mprotect */
4850 p = "userland const void *";
4863 p = "userland const void *";
4895 p = "userland u_char *";
4905 p = "userland void *";
4917 /* linux_remap_file_pages */
4923 /* linux_get_mempolicy */
4926 /* linux_set_mempolicy */
4929 /* linux_migrate_pages */
4932 /* linux_move_pages */
4935 /* linux_rt_tgsigqueueinfo */
4948 p = "userland l_siginfo_t *";
4954 /* linux_perf_event_open */
4976 /* linux_recvmmsg */
4983 p = "userland struct l_mmsghdr *";
4992 p = "userland struct l_timespec *";
5005 p = "userland l_int *";
5011 p = "userland struct rusage *";
5017 /* linux_prlimit64 */
5027 p = "userland struct rlimit *";
5030 p = "userland struct rlimit *";
5036 /* linux_fanotify_init */
5039 /* linux_fanotify_mark */
5042 /* linux_name_to_handle_at */
5045 /* linux_open_by_handle_at */
5048 /* linux_clock_adjtime */
5074 /* linux_sendmmsg */
5081 p = "userland struct l_mmsghdr *";
5093 /* linux_process_vm_readv */
5100 p = "userland const struct iovec *";
5106 p = "userland const struct iovec *";
5118 /* linux_process_vm_writev */
5125 p = "userland const struct iovec *";
5131 p = "userland const struct iovec *";
5165 /* linux_finit_module */
5172 p = "userland const char *";
5181 /* linux_sched_setattr */
5188 p = "userland void *";
5197 /* linux_sched_getattr */
5204 p = "userland void *";
5216 /* linux_renameat2 */
5223 p = "userland const char *";
5229 p = "userland const char *";
5248 p = "userland const char *";
5254 /* linux_getrandom */
5258 p = "userland char *";
5270 /* linux_memfd_create */
5274 p = "userland const char *";
5290 p = "userland void *";
5299 /* linux_execveat */
5306 p = "userland const char *";
5309 p = "userland const char **";
5312 p = "userland const char **";
5321 /* linux_userfaultfd */
5331 /* linux_membarrier */
5360 /* linux_copy_file_range */
5367 p = "userland l_loff_t *";
5373 p = "userland l_loff_t *";
5392 p = "userland const struct iovec *";
5410 /* linux_pwritev2 */
5417 p = "userland const struct iovec *";
5435 /* linux_pkey_mprotect */
5454 /* linux_pkey_alloc */
5467 /* linux_pkey_free */
5481 strlcpy(desc, p, descsz);
5484 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5486 const char *p = NULL;
5488 #define nosys linux_nosys
5489 /* linux_setxattr */
5491 /* linux_lsetxattr */
5493 /* linux_fsetxattr */
5495 /* linux_getxattr */
5497 /* linux_lgetxattr */
5499 /* linux_fgetxattr */
5501 /* linux_listxattr */
5503 /* linux_llistxattr */
5505 /* linux_flistxattr */
5507 /* linux_removexattr */
5509 /* linux_lremovexattr */
5511 /* linux_fremovexattr */
5515 if (ndx == 0 || ndx == 1)
5518 /* linux_lookup_dcookie */
5520 /* linux_eventfd2 */
5522 if (ndx == 0 || ndx == 1)
5525 /* linux_epoll_create1 */
5527 if (ndx == 0 || ndx == 1)
5530 /* linux_epoll_ctl */
5532 if (ndx == 0 || ndx == 1)
5535 /* linux_epoll_pwait */
5537 if (ndx == 0 || ndx == 1)
5542 if (ndx == 0 || ndx == 1)
5547 if (ndx == 0 || ndx == 1)
5552 if (ndx == 0 || ndx == 1)
5555 /* linux_inotify_init1 */
5557 if (ndx == 0 || ndx == 1)
5560 /* linux_inotify_add_watch */
5562 /* linux_inotify_rm_watch */
5566 if (ndx == 0 || ndx == 1)
5569 /* linux_ioprio_set */
5571 /* linux_ioprio_get */
5575 if (ndx == 0 || ndx == 1)
5580 if (ndx == 0 || ndx == 1)
5585 if (ndx == 0 || ndx == 1)
5588 /* linux_unlinkat */
5590 if (ndx == 0 || ndx == 1)
5593 /* linux_symlinkat */
5595 if (ndx == 0 || ndx == 1)
5600 if (ndx == 0 || ndx == 1)
5603 /* linux_renameat */
5605 if (ndx == 0 || ndx == 1)
5610 if (ndx == 0 || ndx == 1)
5613 /* linux_pivot_root */
5617 if (ndx == 0 || ndx == 1)
5622 if (ndx == 0 || ndx == 1)
5625 /* linux_truncate */
5627 if (ndx == 0 || ndx == 1)
5630 /* linux_ftruncate */
5632 if (ndx == 0 || ndx == 1)
5635 /* linux_fallocate */
5637 if (ndx == 0 || ndx == 1)
5640 /* linux_faccessat */
5642 if (ndx == 0 || ndx == 1)
5647 if (ndx == 0 || ndx == 1)
5652 if (ndx == 0 || ndx == 1)
5657 if (ndx == 0 || ndx == 1)
5662 if (ndx == 0 || ndx == 1)
5665 /* linux_fchmodat */
5667 if (ndx == 0 || ndx == 1)
5670 /* linux_fchownat */
5672 if (ndx == 0 || ndx == 1)
5677 if (ndx == 0 || ndx == 1)
5682 if (ndx == 0 || ndx == 1)
5687 if (ndx == 0 || ndx == 1)
5694 if (ndx == 0 || ndx == 1)
5697 /* linux_getdents64 */
5699 if (ndx == 0 || ndx == 1)
5704 if (ndx == 0 || ndx == 1)
5709 if (ndx == 0 || ndx == 1)
5714 if (ndx == 0 || ndx == 1)
5719 if (ndx == 0 || ndx == 1)
5724 if (ndx == 0 || ndx == 1)
5729 if (ndx == 0 || ndx == 1)
5734 if (ndx == 0 || ndx == 1)
5739 if (ndx == 0 || ndx == 1)
5744 if (ndx == 0 || ndx == 1)
5747 /* linux_sendfile */
5749 if (ndx == 0 || ndx == 1)
5752 /* linux_pselect6 */
5754 if (ndx == 0 || ndx == 1)
5759 if (ndx == 0 || ndx == 1)
5762 /* linux_signalfd4 */
5764 /* linux_vmsplice */
5770 /* linux_readlinkat */
5772 if (ndx == 0 || ndx == 1)
5775 /* linux_newfstatat */
5777 if (ndx == 0 || ndx == 1)
5780 /* linux_newfstat */
5782 if (ndx == 0 || ndx == 1)
5787 if (ndx == 0 || ndx == 1)
5790 /* linux_fdatasync */
5792 if (ndx == 0 || ndx == 1)
5795 /* linux_sync_file_range */
5797 if (ndx == 0 || ndx == 1)
5800 /* linux_timerfd_create */
5802 if (ndx == 0 || ndx == 1)
5805 /* linux_timerfd_settime */
5807 if (ndx == 0 || ndx == 1)
5810 /* linux_timerfd_gettime */
5812 if (ndx == 0 || ndx == 1)
5815 /* linux_utimensat */
5817 if (ndx == 0 || ndx == 1)
5822 if (ndx == 0 || ndx == 1)
5827 if (ndx == 0 || ndx == 1)
5832 if (ndx == 0 || ndx == 1)
5835 /* linux_personality */
5837 if (ndx == 0 || ndx == 1)
5842 if (ndx == 0 || ndx == 1)
5845 /* linux_exit_group */
5847 if (ndx == 0 || ndx == 1)
5852 if (ndx == 0 || ndx == 1)
5855 /* linux_set_tid_address */
5857 if (ndx == 0 || ndx == 1)
5862 /* linux_sys_futex */
5864 if (ndx == 0 || ndx == 1)
5867 /* linux_set_robust_list */
5869 if (ndx == 0 || ndx == 1)
5872 /* linux_get_robust_list */
5874 if (ndx == 0 || ndx == 1)
5877 /* linux_nanosleep */
5879 if (ndx == 0 || ndx == 1)
5882 /* linux_getitimer */
5884 if (ndx == 0 || ndx == 1)
5887 /* linux_setitimer */
5889 if (ndx == 0 || ndx == 1)
5892 /* linux_kexec_load */
5894 /* linux_init_module */
5896 /* linux_delete_module */
5898 /* linux_timer_create */
5900 if (ndx == 0 || ndx == 1)
5903 /* linux_timer_gettime */
5905 if (ndx == 0 || ndx == 1)
5908 /* linux_timer_getoverrun */
5910 if (ndx == 0 || ndx == 1)
5913 /* linux_timer_settime */
5915 if (ndx == 0 || ndx == 1)
5918 /* linux_timer_delete */
5920 if (ndx == 0 || ndx == 1)
5923 /* linux_clock_settime */
5925 if (ndx == 0 || ndx == 1)
5928 /* linux_clock_gettime */
5930 if (ndx == 0 || ndx == 1)
5933 /* linux_clock_getres */
5935 if (ndx == 0 || ndx == 1)
5938 /* linux_clock_nanosleep */
5940 if (ndx == 0 || ndx == 1)
5945 if (ndx == 0 || ndx == 1)
5950 if (ndx == 0 || ndx == 1)
5953 /* linux_sched_setparam */
5955 if (ndx == 0 || ndx == 1)
5958 /* linux_sched_setscheduler */
5960 if (ndx == 0 || ndx == 1)
5963 /* linux_sched_getscheduler */
5965 if (ndx == 0 || ndx == 1)
5968 /* linux_sched_getparam */
5970 if (ndx == 0 || ndx == 1)
5973 /* linux_sched_setaffinity */
5975 if (ndx == 0 || ndx == 1)
5978 /* linux_sched_getaffinity */
5980 if (ndx == 0 || ndx == 1)
5985 /* linux_sched_get_priority_max */
5987 if (ndx == 0 || ndx == 1)
5990 /* linux_sched_get_priority_min */
5992 if (ndx == 0 || ndx == 1)
5995 /* linux_sched_rr_get_interval */
5997 if (ndx == 0 || ndx == 1)
6002 if (ndx == 0 || ndx == 1)
6007 if (ndx == 0 || ndx == 1)
6012 if (ndx == 0 || ndx == 1)
6015 /* linux_sigaltstack */
6017 if (ndx == 0 || ndx == 1)
6020 /* linux_rt_sigsuspend */
6022 if (ndx == 0 || ndx == 1)
6025 /* linux_rt_sigaction */
6027 if (ndx == 0 || ndx == 1)
6030 /* linux_rt_sigprocmask */
6032 if (ndx == 0 || ndx == 1)
6035 /* linux_rt_sigpending */
6037 if (ndx == 0 || ndx == 1)
6040 /* linux_rt_sigtimedwait */
6042 if (ndx == 0 || ndx == 1)
6045 /* linux_rt_sigqueueinfo */
6047 if (ndx == 0 || ndx == 1)
6050 /* linux_rt_sigreturn */
6052 if (ndx == 0 || ndx == 1)
6057 if (ndx == 0 || ndx == 1)
6060 /* linux_getpriority */
6062 if (ndx == 0 || ndx == 1)
6067 if (ndx == 0 || ndx == 1)
6072 if (ndx == 0 || ndx == 1)
6077 if (ndx == 0 || ndx == 1)
6082 if (ndx == 0 || ndx == 1)
6087 if (ndx == 0 || ndx == 1)
6092 if (ndx == 0 || ndx == 1)
6097 if (ndx == 0 || ndx == 1)
6102 if (ndx == 0 || ndx == 1)
6107 if (ndx == 0 || ndx == 1)
6110 /* linux_setfsuid */
6112 if (ndx == 0 || ndx == 1)
6115 /* linux_setfsgid */
6117 if (ndx == 0 || ndx == 1)
6122 if (ndx == 0 || ndx == 1)
6127 if (ndx == 0 || ndx == 1)
6132 if (ndx == 0 || ndx == 1)
6137 if (ndx == 0 || ndx == 1)
6142 /* linux_getgroups */
6144 if (ndx == 0 || ndx == 1)
6147 /* linux_setgroups */
6149 if (ndx == 0 || ndx == 1)
6152 /* linux_newuname */
6154 if (ndx == 0 || ndx == 1)
6157 /* linux_sethostname */
6159 if (ndx == 0 || ndx == 1)
6162 /* linux_setdomainname */
6164 if (ndx == 0 || ndx == 1)
6167 /* linux_getrlimit */
6169 if (ndx == 0 || ndx == 1)
6172 /* linux_setrlimit */
6174 if (ndx == 0 || ndx == 1)
6179 if (ndx == 0 || ndx == 1)
6184 if (ndx == 0 || ndx == 1)
6189 if (ndx == 0 || ndx == 1)
6194 if (ndx == 0 || ndx == 1)
6199 if (ndx == 0 || ndx == 1)
6204 if (ndx == 0 || ndx == 1)
6207 /* linux_adjtimex */
6225 if (ndx == 0 || ndx == 1)
6230 /* linux_mq_unlink */
6232 /* linux_mq_timedsend */
6234 /* linux_mq_timedreceive */
6236 /* linux_mq_notify */
6238 /* linux_mq_getsetattr */
6242 if (ndx == 0 || ndx == 1)
6247 if (ndx == 0 || ndx == 1)
6252 if (ndx == 0 || ndx == 1)
6257 if (ndx == 0 || ndx == 1)
6262 if (ndx == 0 || ndx == 1)
6267 if (ndx == 0 || ndx == 1)
6270 /* linux_semtimedop */
6274 if (ndx == 0 || ndx == 1)
6279 if (ndx == 0 || ndx == 1)
6284 if (ndx == 0 || ndx == 1)
6289 if (ndx == 0 || ndx == 1)
6294 if (ndx == 0 || ndx == 1)
6299 if (ndx == 0 || ndx == 1)
6302 /* linux_socketpair */
6304 if (ndx == 0 || ndx == 1)
6309 if (ndx == 0 || ndx == 1)
6314 if (ndx == 0 || ndx == 1)
6319 if (ndx == 0 || ndx == 1)
6324 if (ndx == 0 || ndx == 1)
6327 /* linux_getsockname */
6329 if (ndx == 0 || ndx == 1)
6332 /* linux_getpeername */
6334 if (ndx == 0 || ndx == 1)
6339 if (ndx == 0 || ndx == 1)
6342 /* linux_recvfrom */
6344 if (ndx == 0 || ndx == 1)
6347 /* linux_setsockopt */
6349 if (ndx == 0 || ndx == 1)
6352 /* linux_getsockopt */
6354 if (ndx == 0 || ndx == 1)
6357 /* linux_shutdown */
6359 if (ndx == 0 || ndx == 1)
6364 if (ndx == 0 || ndx == 1)
6369 if (ndx == 0 || ndx == 1)
6374 if (ndx == 0 || ndx == 1)
6379 if (ndx == 0 || ndx == 1)
6384 if (ndx == 0 || ndx == 1)
6389 /* linux_request_key */
6395 if (ndx == 0 || ndx == 1)
6400 if (ndx == 0 || ndx == 1)
6405 if (ndx == 0 || ndx == 1)
6408 /* linux_fadvise64 */
6410 if (ndx == 0 || ndx == 1)
6415 if (ndx == 0 || ndx == 1)
6420 /* linux_mprotect */
6422 if (ndx == 0 || ndx == 1)
6427 if (ndx == 0 || ndx == 1)
6432 if (ndx == 0 || ndx == 1)
6437 if (ndx == 0 || ndx == 1)
6442 if (ndx == 0 || ndx == 1)
6449 if (ndx == 0 || ndx == 1)
6454 if (ndx == 0 || ndx == 1)
6457 /* linux_remap_file_pages */
6461 /* linux_get_mempolicy */
6463 /* linux_set_mempolicy */
6465 /* linux_migrate_pages */
6467 /* linux_move_pages */
6469 /* linux_rt_tgsigqueueinfo */
6471 if (ndx == 0 || ndx == 1)
6474 /* linux_perf_event_open */
6478 if (ndx == 0 || ndx == 1)
6481 /* linux_recvmmsg */
6483 if (ndx == 0 || ndx == 1)
6488 if (ndx == 0 || ndx == 1)
6491 /* linux_prlimit64 */
6493 if (ndx == 0 || ndx == 1)
6496 /* linux_fanotify_init */
6498 /* linux_fanotify_mark */
6500 /* linux_name_to_handle_at */
6502 /* linux_open_by_handle_at */
6504 /* linux_clock_adjtime */
6508 if (ndx == 0 || ndx == 1)
6513 if (ndx == 0 || ndx == 1)
6516 /* linux_sendmmsg */
6518 if (ndx == 0 || ndx == 1)
6521 /* linux_process_vm_readv */
6523 if (ndx == 0 || ndx == 1)
6526 /* linux_process_vm_writev */
6528 if (ndx == 0 || ndx == 1)
6533 if (ndx == 0 || ndx == 1)
6536 /* linux_finit_module */
6538 if (ndx == 0 || ndx == 1)
6541 /* linux_sched_setattr */
6543 if (ndx == 0 || ndx == 1)
6546 /* linux_sched_getattr */
6548 if (ndx == 0 || ndx == 1)
6551 /* linux_renameat2 */
6553 if (ndx == 0 || ndx == 1)
6558 if (ndx == 0 || ndx == 1)
6561 /* linux_getrandom */
6563 if (ndx == 0 || ndx == 1)
6566 /* linux_memfd_create */
6568 if (ndx == 0 || ndx == 1)
6573 if (ndx == 0 || ndx == 1)
6576 /* linux_execveat */
6578 if (ndx == 0 || ndx == 1)
6581 /* linux_userfaultfd */
6583 if (ndx == 0 || ndx == 1)
6586 /* linux_membarrier */
6588 if (ndx == 0 || ndx == 1)
6593 if (ndx == 0 || ndx == 1)
6596 /* linux_copy_file_range */
6598 if (ndx == 0 || ndx == 1)
6603 if (ndx == 0 || ndx == 1)
6606 /* linux_pwritev2 */
6608 if (ndx == 0 || ndx == 1)
6611 /* linux_pkey_mprotect */
6613 if (ndx == 0 || ndx == 1)
6616 /* linux_pkey_alloc */
6618 if (ndx == 0 || ndx == 1)
6621 /* linux_pkey_free */
6623 if (ndx == 0 || ndx == 1)
6630 strlcpy(desc, p, descsz);