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 */
603 /* linux_timerfd_create */
605 struct linux_timerfd_create_args *p = params;
606 iarg[0] = p->clockid; /* l_int */
607 iarg[1] = p->flags; /* l_int */
611 /* linux_timerfd_settime */
613 struct linux_timerfd_settime_args *p = params;
614 iarg[0] = p->fd; /* l_int */
615 iarg[1] = p->flags; /* l_int */
616 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
617 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
621 /* linux_timerfd_gettime */
623 struct linux_timerfd_gettime_args *p = params;
624 iarg[0] = p->fd; /* l_int */
625 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
629 /* linux_utimensat */
631 struct linux_utimensat_args *p = params;
632 iarg[0] = p->dfd; /* l_int */
633 uarg[1] = (intptr_t) p->pathname; /* const char * */
634 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
635 iarg[3] = p->flags; /* l_int */
641 struct acct_args *p = params;
642 uarg[0] = (intptr_t) p->path; /* char * */
648 struct linux_capget_args *p = params;
649 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
650 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
656 struct linux_capset_args *p = params;
657 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
658 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
662 /* linux_personality */
664 struct linux_personality_args *p = params;
665 iarg[0] = p->per; /* l_uint */
671 struct linux_exit_args *p = params;
672 iarg[0] = p->rval; /* int */
676 /* linux_exit_group */
678 struct linux_exit_group_args *p = params;
679 iarg[0] = p->error_code; /* int */
685 struct linux_waitid_args *p = params;
686 iarg[0] = p->idtype; /* l_int */
687 iarg[1] = p->id; /* l_pid_t */
688 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
689 iarg[3] = p->options; /* l_int */
690 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
694 /* linux_set_tid_address */
696 struct linux_set_tid_address_args *p = params;
697 uarg[0] = (intptr_t) p->tidptr; /* int * */
706 /* linux_sys_futex */
708 struct linux_sys_futex_args *p = params;
709 uarg[0] = (intptr_t) p->uaddr; /* void * */
710 iarg[1] = p->op; /* int */
711 iarg[2] = p->val; /* int */
712 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
713 uarg[4] = (intptr_t) p->uaddr2; /* void * */
714 iarg[5] = p->val3; /* int */
718 /* linux_set_robust_list */
720 struct linux_set_robust_list_args *p = params;
721 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
722 iarg[1] = p->len; /* l_size_t */
726 /* linux_get_robust_list */
728 struct linux_get_robust_list_args *p = params;
729 iarg[0] = p->pid; /* l_int */
730 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
731 uarg[2] = (intptr_t) p->len; /* l_size_t * */
735 /* linux_nanosleep */
737 struct linux_nanosleep_args *p = params;
738 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
739 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
743 /* linux_getitimer */
745 struct linux_getitimer_args *p = params;
746 iarg[0] = p->which; /* l_int */
747 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
751 /* linux_setitimer */
753 struct linux_setitimer_args *p = params;
754 iarg[0] = p->which; /* l_int */
755 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
756 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
760 /* linux_kexec_load */
765 /* linux_init_module */
770 /* linux_delete_module */
775 /* linux_timer_create */
777 struct linux_timer_create_args *p = params;
778 iarg[0] = p->clock_id; /* clockid_t */
779 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
780 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
784 /* linux_timer_gettime */
786 struct linux_timer_gettime_args *p = params;
787 iarg[0] = p->timerid; /* l_timer_t */
788 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
792 /* linux_timer_getoverrun */
794 struct linux_timer_getoverrun_args *p = params;
795 iarg[0] = p->timerid; /* l_timer_t */
799 /* linux_timer_settime */
801 struct linux_timer_settime_args *p = params;
802 iarg[0] = p->timerid; /* l_timer_t */
803 iarg[1] = p->flags; /* l_int */
804 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
805 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
809 /* linux_timer_delete */
811 struct linux_timer_delete_args *p = params;
812 iarg[0] = p->timerid; /* l_timer_t */
816 /* linux_clock_settime */
818 struct linux_clock_settime_args *p = params;
819 iarg[0] = p->which; /* clockid_t */
820 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
824 /* linux_clock_gettime */
826 struct linux_clock_gettime_args *p = params;
827 iarg[0] = p->which; /* clockid_t */
828 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
832 /* linux_clock_getres */
834 struct linux_clock_getres_args *p = params;
835 iarg[0] = p->which; /* clockid_t */
836 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
840 /* linux_clock_nanosleep */
842 struct linux_clock_nanosleep_args *p = params;
843 iarg[0] = p->which; /* clockid_t */
844 iarg[1] = p->flags; /* int */
845 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
846 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
852 struct linux_syslog_args *p = params;
853 iarg[0] = p->type; /* l_int */
854 uarg[1] = (intptr_t) p->buf; /* char * */
855 iarg[2] = p->len; /* l_int */
861 struct linux_ptrace_args *p = params;
862 iarg[0] = p->req; /* l_long */
863 iarg[1] = p->pid; /* l_long */
864 iarg[2] = p->addr; /* l_ulong */
865 iarg[3] = p->data; /* l_ulong */
869 /* linux_sched_setparam */
871 struct linux_sched_setparam_args *p = params;
872 iarg[0] = p->pid; /* l_pid_t */
873 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
877 /* linux_sched_setscheduler */
879 struct linux_sched_setscheduler_args *p = params;
880 iarg[0] = p->pid; /* l_pid_t */
881 iarg[1] = p->policy; /* l_int */
882 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
886 /* linux_sched_getscheduler */
888 struct linux_sched_getscheduler_args *p = params;
889 iarg[0] = p->pid; /* l_pid_t */
893 /* linux_sched_getparam */
895 struct linux_sched_getparam_args *p = params;
896 iarg[0] = p->pid; /* l_pid_t */
897 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
901 /* linux_sched_setaffinity */
903 struct linux_sched_setaffinity_args *p = params;
904 iarg[0] = p->pid; /* l_pid_t */
905 iarg[1] = p->len; /* l_uint */
906 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
910 /* linux_sched_getaffinity */
912 struct linux_sched_getaffinity_args *p = params;
913 iarg[0] = p->pid; /* l_pid_t */
914 iarg[1] = p->len; /* l_uint */
915 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
924 /* linux_sched_get_priority_max */
926 struct linux_sched_get_priority_max_args *p = params;
927 iarg[0] = p->policy; /* l_int */
931 /* linux_sched_get_priority_min */
933 struct linux_sched_get_priority_min_args *p = params;
934 iarg[0] = p->policy; /* l_int */
938 /* linux_sched_rr_get_interval */
940 struct linux_sched_rr_get_interval_args *p = params;
941 iarg[0] = p->pid; /* l_pid_t */
942 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
948 struct linux_kill_args *p = params;
949 iarg[0] = p->pid; /* l_int */
950 iarg[1] = p->signum; /* l_int */
956 struct linux_tkill_args *p = params;
957 iarg[0] = p->tid; /* l_int */
958 iarg[1] = p->sig; /* l_int */
964 struct linux_tgkill_args *p = params;
965 iarg[0] = p->tgid; /* l_int */
966 iarg[1] = p->pid; /* l_int */
967 iarg[2] = p->sig; /* l_int */
971 /* linux_sigaltstack */
973 struct linux_sigaltstack_args *p = params;
974 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
975 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
979 /* linux_rt_sigsuspend */
981 struct linux_rt_sigsuspend_args *p = params;
982 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
983 iarg[1] = p->sigsetsize; /* l_size_t */
987 /* linux_rt_sigaction */
989 struct linux_rt_sigaction_args *p = params;
990 iarg[0] = p->sig; /* l_int */
991 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
992 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
993 iarg[3] = p->sigsetsize; /* l_size_t */
997 /* linux_rt_sigprocmask */
999 struct linux_rt_sigprocmask_args *p = params;
1000 iarg[0] = p->how; /* l_int */
1001 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1002 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1003 iarg[3] = p->sigsetsize; /* l_size_t */
1007 /* linux_rt_sigpending */
1009 struct linux_rt_sigpending_args *p = params;
1010 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1011 iarg[1] = p->sigsetsize; /* l_size_t */
1015 /* linux_rt_sigtimedwait */
1017 struct linux_rt_sigtimedwait_args *p = params;
1018 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1019 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1020 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1021 iarg[3] = p->sigsetsize; /* l_size_t */
1025 /* linux_rt_sigqueueinfo */
1027 struct linux_rt_sigqueueinfo_args *p = params;
1028 iarg[0] = p->pid; /* l_pid_t */
1029 iarg[1] = p->sig; /* l_int */
1030 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1034 /* linux_rt_sigreturn */
1036 struct linux_rt_sigreturn_args *p = params;
1037 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1043 struct setpriority_args *p = params;
1044 iarg[0] = p->which; /* int */
1045 iarg[1] = p->who; /* int */
1046 iarg[2] = p->prio; /* int */
1050 /* linux_getpriority */
1052 struct linux_getpriority_args *p = params;
1053 iarg[0] = p->which; /* l_int */
1054 iarg[1] = p->who; /* l_int */
1060 struct linux_reboot_args *p = params;
1061 iarg[0] = p->magic1; /* l_int */
1062 iarg[1] = p->magic2; /* l_int */
1063 iarg[2] = p->cmd; /* l_uint */
1064 uarg[3] = (intptr_t) p->arg; /* void * */
1070 struct setregid_args *p = params;
1071 iarg[0] = p->rgid; /* gid_t */
1072 iarg[1] = p->egid; /* gid_t */
1078 struct setgid_args *p = params;
1079 iarg[0] = p->gid; /* gid_t */
1085 struct setreuid_args *p = params;
1086 uarg[0] = p->ruid; /* uid_t */
1087 uarg[1] = p->euid; /* uid_t */
1093 struct setuid_args *p = params;
1094 uarg[0] = p->uid; /* uid_t */
1100 struct setresuid_args *p = params;
1101 uarg[0] = p->ruid; /* uid_t */
1102 uarg[1] = p->euid; /* uid_t */
1103 uarg[2] = p->suid; /* uid_t */
1109 struct getresuid_args *p = params;
1110 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1111 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1112 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1118 struct setresgid_args *p = params;
1119 iarg[0] = p->rgid; /* gid_t */
1120 iarg[1] = p->egid; /* gid_t */
1121 iarg[2] = p->sgid; /* gid_t */
1127 struct getresgid_args *p = params;
1128 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1129 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1130 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1134 /* linux_setfsuid */
1136 struct linux_setfsuid_args *p = params;
1137 iarg[0] = p->uid; /* l_uid_t */
1141 /* linux_setfsgid */
1143 struct linux_setfsgid_args *p = params;
1144 iarg[0] = p->gid; /* l_gid_t */
1150 struct linux_times_args *p = params;
1151 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
1157 struct setpgid_args *p = params;
1158 iarg[0] = p->pid; /* int */
1159 iarg[1] = p->pgid; /* int */
1165 struct getpgid_args *p = params;
1166 iarg[0] = p->pid; /* int */
1172 struct linux_getsid_args *p = params;
1173 iarg[0] = p->pid; /* l_pid_t */
1182 /* linux_getgroups */
1184 struct linux_getgroups_args *p = params;
1185 iarg[0] = p->gidsetsize; /* l_int */
1186 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1190 /* linux_setgroups */
1192 struct linux_setgroups_args *p = params;
1193 iarg[0] = p->gidsetsize; /* l_int */
1194 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1198 /* linux_newuname */
1200 struct linux_newuname_args *p = params;
1201 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
1205 /* linux_sethostname */
1207 struct linux_sethostname_args *p = params;
1208 uarg[0] = (intptr_t) p->hostname; /* char * */
1209 iarg[1] = p->len; /* l_uint */
1213 /* linux_setdomainname */
1215 struct linux_setdomainname_args *p = params;
1216 uarg[0] = (intptr_t) p->name; /* char * */
1217 iarg[1] = p->len; /* l_int */
1221 /* linux_getrlimit */
1223 struct linux_getrlimit_args *p = params;
1224 iarg[0] = p->resource; /* l_uint */
1225 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1229 /* linux_setrlimit */
1231 struct linux_setrlimit_args *p = params;
1232 iarg[0] = p->resource; /* l_uint */
1233 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1239 struct getrusage_args *p = params;
1240 iarg[0] = p->who; /* int */
1241 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
1247 struct umask_args *p = params;
1248 iarg[0] = p->newmask; /* int */
1254 struct linux_prctl_args *p = params;
1255 iarg[0] = p->option; /* l_int */
1256 iarg[1] = p->arg2; /* l_uintptr_t */
1257 iarg[2] = p->arg3; /* l_uintptr_t */
1258 iarg[3] = p->arg4; /* l_uintptr_t */
1259 iarg[4] = p->arg5; /* l_uintptr_t */
1265 struct linux_getcpu_args *p = params;
1266 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
1267 uarg[1] = (intptr_t) p->node; /* l_uint * */
1268 uarg[2] = (intptr_t) p->cache; /* void * */
1274 struct gettimeofday_args *p = params;
1275 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
1276 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1282 struct settimeofday_args *p = params;
1283 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */
1284 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1288 /* linux_adjtimex */
1330 struct linux_sysinfo_args *p = params;
1331 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
1340 /* linux_mq_unlink */
1345 /* linux_mq_timedsend */
1350 /* linux_mq_timedreceive */
1355 /* linux_mq_notify */
1360 /* linux_mq_getsetattr */
1367 struct linux_msgget_args *p = params;
1368 iarg[0] = p->key; /* l_key_t */
1369 iarg[1] = p->msgflg; /* l_int */
1375 struct linux_msgctl_args *p = params;
1376 iarg[0] = p->msqid; /* l_int */
1377 iarg[1] = p->cmd; /* l_int */
1378 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
1384 struct linux_msgrcv_args *p = params;
1385 iarg[0] = p->msqid; /* l_int */
1386 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1387 iarg[2] = p->msgsz; /* l_size_t */
1388 iarg[3] = p->msgtyp; /* l_long */
1389 iarg[4] = p->msgflg; /* l_int */
1395 struct linux_msgsnd_args *p = params;
1396 iarg[0] = p->msqid; /* l_int */
1397 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1398 iarg[2] = p->msgsz; /* l_size_t */
1399 iarg[3] = p->msgflg; /* l_int */
1405 struct linux_semget_args *p = params;
1406 iarg[0] = p->key; /* l_key_t */
1407 iarg[1] = p->nsems; /* l_int */
1408 iarg[2] = p->semflg; /* l_int */
1414 struct linux_semctl_args *p = params;
1415 iarg[0] = p->semid; /* l_int */
1416 iarg[1] = p->semnum; /* l_int */
1417 iarg[2] = p->cmd; /* l_int */
1418 uarg[3] = p->arg.buf; /* union l_semun */
1422 /* linux_semtimedop */
1429 struct linux_semop_args *p = params;
1430 iarg[0] = p->semid; /* l_int */
1431 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */
1432 iarg[2] = p->nsops; /* l_uint */
1438 struct linux_shmget_args *p = params;
1439 iarg[0] = p->key; /* l_key_t */
1440 iarg[1] = p->size; /* l_size_t */
1441 iarg[2] = p->shmflg; /* l_int */
1447 struct linux_shmctl_args *p = params;
1448 iarg[0] = p->shmid; /* l_int */
1449 iarg[1] = p->cmd; /* l_int */
1450 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
1456 struct linux_shmat_args *p = params;
1457 iarg[0] = p->shmid; /* l_int */
1458 uarg[1] = (intptr_t) p->shmaddr; /* char * */
1459 iarg[2] = p->shmflg; /* l_int */
1465 struct linux_shmdt_args *p = params;
1466 uarg[0] = (intptr_t) p->shmaddr; /* char * */
1472 struct linux_socket_args *p = params;
1473 iarg[0] = p->domain; /* l_int */
1474 iarg[1] = p->type; /* l_int */
1475 iarg[2] = p->protocol; /* l_int */
1479 /* linux_socketpair */
1481 struct linux_socketpair_args *p = params;
1482 iarg[0] = p->domain; /* l_int */
1483 iarg[1] = p->type; /* l_int */
1484 iarg[2] = p->protocol; /* l_int */
1485 iarg[3] = p->rsv; /* l_uintptr_t */
1491 struct linux_bind_args *p = params;
1492 iarg[0] = p->s; /* l_int */
1493 iarg[1] = p->name; /* l_uintptr_t */
1494 iarg[2] = p->namelen; /* l_int */
1500 struct linux_listen_args *p = params;
1501 iarg[0] = p->s; /* l_int */
1502 iarg[1] = p->backlog; /* l_int */
1508 struct linux_accept_args *p = params;
1509 iarg[0] = p->s; /* l_int */
1510 iarg[1] = p->addr; /* l_uintptr_t */
1511 iarg[2] = p->namelen; /* l_uintptr_t */
1517 struct linux_connect_args *p = params;
1518 iarg[0] = p->s; /* l_int */
1519 iarg[1] = p->name; /* l_uintptr_t */
1520 iarg[2] = p->namelen; /* l_int */
1524 /* linux_getsockname */
1526 struct linux_getsockname_args *p = params;
1527 iarg[0] = p->s; /* l_int */
1528 iarg[1] = p->addr; /* l_uintptr_t */
1529 iarg[2] = p->namelen; /* l_uintptr_t */
1533 /* linux_getpeername */
1535 struct linux_getpeername_args *p = params;
1536 iarg[0] = p->s; /* l_int */
1537 iarg[1] = p->addr; /* l_uintptr_t */
1538 iarg[2] = p->namelen; /* l_uintptr_t */
1544 struct linux_sendto_args *p = params;
1545 iarg[0] = p->s; /* l_int */
1546 iarg[1] = p->msg; /* l_uintptr_t */
1547 iarg[2] = p->len; /* l_int */
1548 iarg[3] = p->flags; /* l_int */
1549 iarg[4] = p->to; /* l_uintptr_t */
1550 iarg[5] = p->tolen; /* l_int */
1554 /* linux_recvfrom */
1556 struct linux_recvfrom_args *p = params;
1557 iarg[0] = p->s; /* l_int */
1558 iarg[1] = p->buf; /* l_uintptr_t */
1559 iarg[2] = p->len; /* l_size_t */
1560 iarg[3] = p->flags; /* l_int */
1561 iarg[4] = p->from; /* l_uintptr_t */
1562 iarg[5] = p->fromlen; /* l_uintptr_t */
1566 /* linux_setsockopt */
1568 struct linux_setsockopt_args *p = params;
1569 iarg[0] = p->s; /* l_int */
1570 iarg[1] = p->level; /* l_int */
1571 iarg[2] = p->optname; /* l_int */
1572 iarg[3] = p->optval; /* l_uintptr_t */
1573 iarg[4] = p->optlen; /* l_int */
1577 /* linux_getsockopt */
1579 struct linux_getsockopt_args *p = params;
1580 iarg[0] = p->s; /* l_int */
1581 iarg[1] = p->level; /* l_int */
1582 iarg[2] = p->optname; /* l_int */
1583 iarg[3] = p->optval; /* l_uintptr_t */
1584 iarg[4] = p->optlen; /* l_uintptr_t */
1588 /* linux_shutdown */
1590 struct linux_shutdown_args *p = params;
1591 iarg[0] = p->s; /* l_int */
1592 iarg[1] = p->how; /* l_int */
1598 struct linux_sendmsg_args *p = params;
1599 iarg[0] = p->s; /* l_int */
1600 iarg[1] = p->msg; /* l_uintptr_t */
1601 iarg[2] = p->flags; /* l_int */
1607 struct linux_recvmsg_args *p = params;
1608 iarg[0] = p->s; /* l_int */
1609 iarg[1] = p->msg; /* l_uintptr_t */
1610 iarg[2] = p->flags; /* l_int */
1616 struct linux_brk_args *p = params;
1617 iarg[0] = p->dsend; /* l_ulong */
1623 struct munmap_args *p = params;
1624 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1625 iarg[1] = p->len; /* int */
1631 struct linux_mremap_args *p = params;
1632 iarg[0] = p->addr; /* l_ulong */
1633 iarg[1] = p->old_len; /* l_ulong */
1634 iarg[2] = p->new_len; /* l_ulong */
1635 iarg[3] = p->flags; /* l_ulong */
1636 iarg[4] = p->new_addr; /* l_ulong */
1645 /* linux_request_key */
1657 struct linux_clone_args *p = params;
1658 iarg[0] = p->flags; /* l_int */
1659 uarg[1] = (intptr_t) p->stack; /* void * */
1660 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
1661 uarg[3] = (intptr_t) p->tls; /* void * */
1662 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
1668 struct linux_execve_args *p = params;
1669 uarg[0] = (intptr_t) p->path; /* char * */
1670 uarg[1] = (intptr_t) p->argp; /* char ** */
1671 uarg[2] = (intptr_t) p->envp; /* char ** */
1677 struct linux_mmap2_args *p = params;
1678 iarg[0] = p->addr; /* l_ulong */
1679 iarg[1] = p->len; /* l_ulong */
1680 iarg[2] = p->prot; /* l_ulong */
1681 iarg[3] = p->flags; /* l_ulong */
1682 iarg[4] = p->fd; /* l_ulong */
1683 iarg[5] = p->pgoff; /* l_ulong */
1687 /* linux_fadvise64 */
1689 struct linux_fadvise64_args *p = params;
1690 iarg[0] = p->fd; /* l_int */
1691 iarg[1] = p->offset; /* l_loff_t */
1692 iarg[2] = p->len; /* l_size_t */
1693 iarg[3] = p->advice; /* l_int */
1699 struct swapon_args *p = params;
1700 uarg[0] = (intptr_t) p->name; /* char * */
1709 /* linux_mprotect */
1711 struct linux_mprotect_args *p = params;
1712 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1713 iarg[1] = p->len; /* l_int */
1714 iarg[2] = p->prot; /* l_int */
1720 struct linux_msync_args *p = params;
1721 iarg[0] = p->addr; /* l_ulong */
1722 iarg[1] = p->len; /* l_size_t */
1723 iarg[2] = p->fl; /* l_int */
1729 struct mlock_args *p = params;
1730 uarg[0] = (intptr_t) p->addr; /* const void * */
1731 uarg[1] = p->len; /* size_t */
1737 struct munlock_args *p = params;
1738 uarg[0] = (intptr_t) p->addr; /* const void * */
1739 uarg[1] = p->len; /* size_t */
1745 struct mlockall_args *p = params;
1746 iarg[0] = p->how; /* int */
1757 struct linux_mincore_args *p = params;
1758 iarg[0] = p->start; /* l_ulong */
1759 iarg[1] = p->len; /* l_size_t */
1760 uarg[2] = (intptr_t) p->vec; /* u_char * */
1766 struct madvise_args *p = params;
1767 uarg[0] = (intptr_t) p->addr; /* void * */
1768 uarg[1] = p->len; /* size_t */
1769 iarg[2] = p->behav; /* int */
1773 /* linux_remap_file_pages */
1783 /* linux_get_mempolicy */
1788 /* linux_set_mempolicy */
1793 /* linux_migrate_pages */
1798 /* linux_move_pages */
1803 /* linux_rt_tgsigqueueinfo */
1805 struct linux_rt_tgsigqueueinfo_args *p = params;
1806 iarg[0] = p->tgid; /* l_pid_t */
1807 iarg[1] = p->tid; /* l_pid_t */
1808 iarg[2] = p->sig; /* l_int */
1809 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
1813 /* linux_perf_event_open */
1820 struct linux_accept4_args *p = params;
1821 iarg[0] = p->s; /* l_int */
1822 iarg[1] = p->addr; /* l_uintptr_t */
1823 iarg[2] = p->namelen; /* l_uintptr_t */
1824 iarg[3] = p->flags; /* int */
1828 /* linux_recvmmsg */
1830 struct linux_recvmmsg_args *p = params;
1831 iarg[0] = p->s; /* l_int */
1832 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
1833 iarg[2] = p->vlen; /* l_uint */
1834 iarg[3] = p->flags; /* l_uint */
1835 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
1841 struct linux_wait4_args *p = params;
1842 iarg[0] = p->pid; /* l_pid_t */
1843 uarg[1] = (intptr_t) p->status; /* l_int * */
1844 iarg[2] = p->options; /* l_int */
1845 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
1849 /* linux_prlimit64 */
1851 struct linux_prlimit64_args *p = params;
1852 iarg[0] = p->pid; /* l_pid_t */
1853 iarg[1] = p->resource; /* l_uint */
1854 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
1855 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
1859 /* linux_fanotify_init */
1864 /* linux_fanotify_mark */
1869 /* linux_name_to_handle_at */
1874 /* linux_open_by_handle_at */
1879 /* linux_clock_adjtime */
1886 struct linux_syncfs_args *p = params;
1887 iarg[0] = p->fd; /* l_int */
1893 struct linux_setns_args *p = params;
1894 iarg[0] = p->fd; /* l_int */
1895 iarg[1] = p->nstype; /* l_int */
1899 /* linux_sendmmsg */
1901 struct linux_sendmmsg_args *p = params;
1902 iarg[0] = p->s; /* l_int */
1903 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
1904 iarg[2] = p->vlen; /* l_uint */
1905 iarg[3] = p->flags; /* l_uint */
1909 /* linux_process_vm_readv */
1911 struct linux_process_vm_readv_args *p = params;
1912 iarg[0] = p->pid; /* l_pid_t */
1913 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
1914 iarg[2] = p->liovcnt; /* l_ulong */
1915 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
1916 iarg[4] = p->riovcnt; /* l_ulong */
1917 iarg[5] = p->flags; /* l_ulong */
1921 /* linux_process_vm_writev */
1923 struct linux_process_vm_writev_args *p = params;
1924 iarg[0] = p->pid; /* l_pid_t */
1925 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
1926 iarg[2] = p->liovcnt; /* l_ulong */
1927 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
1928 iarg[4] = p->riovcnt; /* l_ulong */
1929 iarg[5] = p->flags; /* l_ulong */
1935 struct linux_kcmp_args *p = params;
1936 iarg[0] = p->pid1; /* l_pid_t */
1937 iarg[1] = p->pid2; /* l_pid_t */
1938 iarg[2] = p->type; /* l_int */
1939 iarg[3] = p->idx1; /* l_ulong */
1940 iarg[4] = p->idx; /* l_ulong */
1944 /* linux_finit_module */
1946 struct linux_finit_module_args *p = params;
1947 iarg[0] = p->fd; /* l_int */
1948 uarg[1] = (intptr_t) p->uargs; /* const char * */
1949 iarg[2] = p->flags; /* l_int */
1953 /* linux_sched_setattr */
1955 struct linux_sched_setattr_args *p = params;
1956 iarg[0] = p->pid; /* l_pid_t */
1957 uarg[1] = (intptr_t) p->attr; /* void * */
1958 iarg[2] = p->flags; /* l_uint */
1962 /* linux_sched_getattr */
1964 struct linux_sched_getattr_args *p = params;
1965 iarg[0] = p->pid; /* l_pid_t */
1966 uarg[1] = (intptr_t) p->attr; /* void * */
1967 iarg[2] = p->size; /* l_uint */
1968 iarg[3] = p->flags; /* l_uint */
1972 /* linux_renameat2 */
1974 struct linux_renameat2_args *p = params;
1975 iarg[0] = p->oldfd; /* l_int */
1976 uarg[1] = (intptr_t) p->oldname; /* const char * */
1977 iarg[2] = p->newfd; /* l_int */
1978 uarg[3] = (intptr_t) p->newname; /* const char * */
1979 uarg[4] = p->flags; /* unsigned int */
1985 struct linux_seccomp_args *p = params;
1986 iarg[0] = p->op; /* l_uint */
1987 iarg[1] = p->flags; /* l_uint */
1988 uarg[2] = (intptr_t) p->uargs; /* const char * */
1992 /* linux_getrandom */
1994 struct linux_getrandom_args *p = params;
1995 uarg[0] = (intptr_t) p->buf; /* char * */
1996 iarg[1] = p->count; /* l_size_t */
1997 iarg[2] = p->flags; /* l_uint */
2001 /* linux_memfd_create */
2003 struct linux_memfd_create_args *p = params;
2004 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2005 iarg[1] = p->flags; /* l_uint */
2011 struct linux_bpf_args *p = params;
2012 iarg[0] = p->cmd; /* l_int */
2013 uarg[1] = (intptr_t) p->attr; /* void * */
2014 iarg[2] = p->size; /* l_uint */
2018 /* linux_execveat */
2020 struct linux_execveat_args *p = params;
2021 iarg[0] = p->dfd; /* l_int */
2022 uarg[1] = (intptr_t) p->filename; /* const char * */
2023 uarg[2] = (intptr_t) p->argv; /* const char ** */
2024 uarg[3] = (intptr_t) p->envp; /* const char ** */
2025 iarg[4] = p->flags; /* l_int */
2029 /* linux_userfaultfd */
2031 struct linux_userfaultfd_args *p = params;
2032 iarg[0] = p->flags; /* l_int */
2036 /* linux_membarrier */
2038 struct linux_membarrier_args *p = params;
2039 iarg[0] = p->cmd; /* l_int */
2040 iarg[1] = p->flags; /* l_int */
2046 struct linux_mlock2_args *p = params;
2047 iarg[0] = p->start; /* l_ulong */
2048 iarg[1] = p->len; /* l_size_t */
2049 iarg[2] = p->flags; /* l_int */
2053 /* linux_copy_file_range */
2055 struct linux_copy_file_range_args *p = params;
2056 iarg[0] = p->fd_in; /* l_int */
2057 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2058 iarg[2] = p->fd_out; /* l_int */
2059 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2060 iarg[4] = p->len; /* l_size_t */
2061 iarg[5] = p->flags; /* l_uint */
2067 struct linux_preadv2_args *p = params;
2068 iarg[0] = p->fd; /* l_ulong */
2069 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2070 iarg[2] = p->vlen; /* l_ulong */
2071 iarg[3] = p->pos_l; /* l_ulong */
2072 iarg[4] = p->pos_h; /* l_ulong */
2073 iarg[5] = p->flags; /* l_int */
2077 /* linux_pwritev2 */
2079 struct linux_pwritev2_args *p = params;
2080 iarg[0] = p->fd; /* l_ulong */
2081 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2082 iarg[2] = p->vlen; /* l_ulong */
2083 iarg[3] = p->pos_l; /* l_ulong */
2084 iarg[4] = p->pos_h; /* l_ulong */
2085 iarg[5] = p->flags; /* l_int */
2089 /* linux_pkey_mprotect */
2091 struct linux_pkey_mprotect_args *p = params;
2092 iarg[0] = p->start; /* l_ulong */
2093 iarg[1] = p->len; /* l_size_t */
2094 iarg[2] = p->prot; /* l_ulong */
2095 iarg[3] = p->pkey; /* l_int */
2099 /* linux_pkey_alloc */
2101 struct linux_pkey_alloc_args *p = params;
2102 iarg[0] = p->flags; /* l_ulong */
2103 iarg[1] = p->init_val; /* l_ulong */
2107 /* linux_pkey_free */
2109 struct linux_pkey_free_args *p = params;
2110 iarg[0] = p->pkey; /* l_int */
2120 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2122 const char *p = NULL;
2124 #define nosys linux_nosys
2125 /* linux_setxattr */
2128 /* linux_lsetxattr */
2131 /* linux_fsetxattr */
2134 /* linux_getxattr */
2137 /* linux_lgetxattr */
2140 /* linux_fgetxattr */
2143 /* linux_listxattr */
2146 /* linux_llistxattr */
2149 /* linux_flistxattr */
2152 /* linux_removexattr */
2155 /* linux_lremovexattr */
2158 /* linux_fremovexattr */
2165 p = "userland char *";
2174 /* linux_lookup_dcookie */
2177 /* linux_eventfd2 */
2190 /* linux_epoll_create1 */
2200 /* linux_epoll_ctl */
2213 p = "userland struct epoll_event *";
2219 /* linux_epoll_pwait */
2226 p = "userland struct epoll_event *";
2235 p = "userland l_sigset_t *";
2286 /* linux_inotify_init1 */
2296 /* linux_inotify_add_watch */
2299 /* linux_inotify_rm_watch */
2318 /* linux_ioprio_set */
2321 /* linux_ioprio_get */
2344 p = "userland const char *";
2363 p = "userland const char *";
2372 /* linux_unlinkat */
2379 p = "userland const char *";
2388 /* linux_symlinkat */
2392 p = "userland const char *";
2398 p = "userland const char *";
2411 p = "userland const char *";
2417 p = "userland const char *";
2426 /* linux_renameat */
2433 p = "userland const char *";
2439 p = "userland const char *";
2449 p = "userland char *";
2452 p = "userland char *";
2455 p = "userland char *";
2461 p = "userland void *";
2467 /* linux_pivot_root */
2474 p = "userland char *";
2477 p = "userland struct l_statfs_buf *";
2490 p = "userland struct l_statfs_buf *";
2496 /* linux_truncate */
2500 p = "userland char *";
2509 /* linux_ftruncate */
2522 /* linux_fallocate */
2541 /* linux_faccessat */
2548 p = "userland const char *";
2561 p = "userland char *";
2581 p = "userland char *";
2600 /* linux_fchmodat */
2607 p = "userland const char *";
2616 /* linux_fchownat */
2623 p = "userland const char *";
2661 p = "userland const char *";
2690 p = "userland l_int *";
2699 /* linux_getdents64 */
2706 p = "userland void *";
2738 p = "userland char *";
2754 p = "userland char *";
2770 p = "userland struct iovec *";
2786 p = "userland struct iovec *";
2802 p = "userland char *";
2821 p = "userland char *";
2840 p = "userland struct iovec *";
2862 p = "userland struct iovec *";
2877 /* linux_sendfile */
2887 p = "userland l_long *";
2896 /* linux_pselect6 */
2903 p = "userland l_fd_set *";
2906 p = "userland l_fd_set *";
2909 p = "userland l_fd_set *";
2912 p = "userland struct l_timespec *";
2915 p = "userland l_uintptr_t *";
2925 p = "userland struct pollfd *";
2931 p = "userland struct l_timespec *";
2934 p = "userland l_sigset_t *";
2943 /* linux_signalfd4 */
2946 /* linux_vmsplice */
2955 /* linux_readlinkat */
2962 p = "userland const char *";
2965 p = "userland char *";
2974 /* linux_newfstatat */
2981 p = "userland char *";
2984 p = "userland struct l_stat64 *";
2993 /* linux_newfstat */
3000 p = "userland struct l_newstat *";
3016 /* linux_fdatasync */
3026 /* linux_sync_file_range */
3029 /* linux_timerfd_create */
3042 /* linux_timerfd_settime */
3052 p = "userland const struct l_itimerspec *";
3055 p = "userland struct l_itimerspec *";
3061 /* linux_timerfd_gettime */
3068 p = "userland struct l_itimerspec *";
3074 /* linux_utimensat */
3081 p = "userland const char *";
3084 p = "userland const struct l_timespec *";
3097 p = "userland char *";
3107 p = "userland struct l_user_cap_header *";
3110 p = "userland struct l_user_cap_data *";
3120 p = "userland struct l_user_cap_header *";
3123 p = "userland struct l_user_cap_data *";
3129 /* linux_personality */
3149 /* linux_exit_group */
3169 p = "userland l_siginfo_t *";
3175 p = "userland struct rusage *";
3181 /* linux_set_tid_address */
3185 p = "userland int *";
3194 /* linux_sys_futex */
3198 p = "userland void *";
3207 p = "userland struct l_timespec *";
3210 p = "userland void *";
3219 /* linux_set_robust_list */
3223 p = "userland struct linux_robust_list_head *";
3232 /* linux_get_robust_list */
3239 p = "userland struct linux_robust_list_head **";
3242 p = "userland l_size_t *";
3248 /* linux_nanosleep */
3252 p = "userland const struct l_timespec *";
3255 p = "userland struct l_timespec *";
3261 /* linux_getitimer */
3268 p = "userland struct l_itimerval *";
3274 /* linux_setitimer */
3281 p = "userland struct l_itimerval *";
3284 p = "userland struct l_itimerval *";
3290 /* linux_kexec_load */
3293 /* linux_init_module */
3296 /* linux_delete_module */
3299 /* linux_timer_create */
3306 p = "userland struct sigevent *";
3309 p = "userland l_timer_t *";
3315 /* linux_timer_gettime */
3322 p = "userland struct itimerspec *";
3328 /* linux_timer_getoverrun */
3338 /* linux_timer_settime */
3348 p = "userland const struct itimerspec *";
3351 p = "userland struct itimerspec *";
3357 /* linux_timer_delete */
3367 /* linux_clock_settime */
3374 p = "userland struct l_timespec *";
3380 /* linux_clock_gettime */
3387 p = "userland struct l_timespec *";
3393 /* linux_clock_getres */
3400 p = "userland struct l_timespec *";
3406 /* linux_clock_nanosleep */
3416 p = "userland struct l_timespec *";
3419 p = "userland struct l_timespec *";
3432 p = "userland char *";
3460 /* linux_sched_setparam */
3467 p = "userland struct sched_param *";
3473 /* linux_sched_setscheduler */
3483 p = "userland struct sched_param *";
3489 /* linux_sched_getscheduler */
3499 /* linux_sched_getparam */
3506 p = "userland struct sched_param *";
3512 /* linux_sched_setaffinity */
3522 p = "userland l_ulong *";
3528 /* linux_sched_getaffinity */
3538 p = "userland l_ulong *";
3547 /* linux_sched_get_priority_max */
3557 /* linux_sched_get_priority_min */
3567 /* linux_sched_rr_get_interval */
3574 p = "userland struct l_timespec *";
3622 /* linux_sigaltstack */
3626 p = "userland l_stack_t *";
3629 p = "userland l_stack_t *";
3635 /* linux_rt_sigsuspend */
3639 p = "userland l_sigset_t *";
3648 /* linux_rt_sigaction */
3655 p = "userland l_sigaction_t *";
3658 p = "userland l_sigaction_t *";
3667 /* linux_rt_sigprocmask */
3674 p = "userland l_sigset_t *";
3677 p = "userland l_sigset_t *";
3686 /* linux_rt_sigpending */
3690 p = "userland l_sigset_t *";
3699 /* linux_rt_sigtimedwait */
3703 p = "userland l_sigset_t *";
3706 p = "userland l_siginfo_t *";
3709 p = "userland struct l_timeval *";
3718 /* linux_rt_sigqueueinfo */
3728 p = "userland l_siginfo_t *";
3734 /* linux_rt_sigreturn */
3738 p = "userland struct l_ucontext *";
3760 /* linux_getpriority */
3786 p = "userland void *";
3858 p = "userland uid_t *";
3861 p = "userland uid_t *";
3864 p = "userland uid_t *";
3890 p = "userland gid_t *";
3893 p = "userland gid_t *";
3896 p = "userland gid_t *";
3902 /* linux_setfsuid */
3912 /* linux_setfsgid */
3926 p = "userland struct l_times_argv *";
3968 /* linux_getgroups */
3975 p = "userland l_gid_t *";
3981 /* linux_setgroups */
3988 p = "userland l_gid_t *";
3994 /* linux_newuname */
3998 p = "userland struct l_new_utsname *";
4004 /* linux_sethostname */
4008 p = "userland char *";
4017 /* linux_setdomainname */
4021 p = "userland char *";
4030 /* linux_getrlimit */
4037 p = "userland struct l_rlimit *";
4043 /* linux_setrlimit */
4050 p = "userland struct l_rlimit *";
4063 p = "userland struct rusage *";
4105 p = "userland l_uint *";
4108 p = "userland l_uint *";
4111 p = "userland void *";
4121 p = "userland struct l_timeval *";
4124 p = "userland struct timezone *";
4134 p = "userland struct l_timeval *";
4137 p = "userland struct timezone *";
4143 /* linux_adjtimex */
4171 p = "userland struct l_sysinfo *";
4180 /* linux_mq_unlink */
4183 /* linux_mq_timedsend */
4186 /* linux_mq_timedreceive */
4189 /* linux_mq_notify */
4192 /* linux_mq_getsetattr */
4218 p = "userland struct l_msqid_ds *";
4231 p = "userland struct l_msgbuf *";
4253 p = "userland struct l_msgbuf *";
4294 p = "union l_semun";
4300 /* linux_semtimedop */
4310 p = "userland struct l_sembuf *";
4345 p = "userland struct l_shmid_ds *";
4358 p = "userland char *";
4371 p = "userland char *";
4393 /* linux_socketpair */
4473 /* linux_getsockname */
4489 /* linux_getpeername */
4530 /* linux_recvfrom */
4555 /* linux_setsockopt */
4577 /* linux_getsockopt */
4599 /* linux_shutdown */
4692 /* linux_request_key */
4705 p = "userland void *";
4708 p = "userland void *";
4711 p = "userland void *";
4714 p = "userland void *";
4724 p = "userland char *";
4727 p = "userland char **";
4730 p = "userland char **";
4761 /* linux_fadvise64 */
4784 p = "userland char *";
4793 /* linux_mprotect */
4829 p = "userland const void *";
4842 p = "userland const void *";
4874 p = "userland u_char *";
4884 p = "userland void *";
4896 /* linux_remap_file_pages */
4902 /* linux_get_mempolicy */
4905 /* linux_set_mempolicy */
4908 /* linux_migrate_pages */
4911 /* linux_move_pages */
4914 /* linux_rt_tgsigqueueinfo */
4927 p = "userland l_siginfo_t *";
4933 /* linux_perf_event_open */
4955 /* linux_recvmmsg */
4962 p = "userland struct l_mmsghdr *";
4971 p = "userland struct l_timespec *";
4984 p = "userland l_int *";
4990 p = "userland struct rusage *";
4996 /* linux_prlimit64 */
5006 p = "userland struct rlimit *";
5009 p = "userland struct rlimit *";
5015 /* linux_fanotify_init */
5018 /* linux_fanotify_mark */
5021 /* linux_name_to_handle_at */
5024 /* linux_open_by_handle_at */
5027 /* linux_clock_adjtime */
5053 /* linux_sendmmsg */
5060 p = "userland struct l_mmsghdr *";
5072 /* linux_process_vm_readv */
5079 p = "userland const struct iovec *";
5085 p = "userland const struct iovec *";
5097 /* linux_process_vm_writev */
5104 p = "userland const struct iovec *";
5110 p = "userland const struct iovec *";
5144 /* linux_finit_module */
5151 p = "userland const char *";
5160 /* linux_sched_setattr */
5167 p = "userland void *";
5176 /* linux_sched_getattr */
5183 p = "userland void *";
5195 /* linux_renameat2 */
5202 p = "userland const char *";
5208 p = "userland const char *";
5227 p = "userland const char *";
5233 /* linux_getrandom */
5237 p = "userland char *";
5249 /* linux_memfd_create */
5253 p = "userland const char *";
5269 p = "userland void *";
5278 /* linux_execveat */
5285 p = "userland const char *";
5288 p = "userland const char **";
5291 p = "userland const char **";
5300 /* linux_userfaultfd */
5310 /* linux_membarrier */
5339 /* linux_copy_file_range */
5346 p = "userland l_loff_t *";
5352 p = "userland l_loff_t *";
5371 p = "userland const struct iovec *";
5389 /* linux_pwritev2 */
5396 p = "userland const struct iovec *";
5414 /* linux_pkey_mprotect */
5433 /* linux_pkey_alloc */
5446 /* linux_pkey_free */
5460 strlcpy(desc, p, descsz);
5463 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5465 const char *p = NULL;
5467 #define nosys linux_nosys
5468 /* linux_setxattr */
5470 /* linux_lsetxattr */
5472 /* linux_fsetxattr */
5474 /* linux_getxattr */
5476 /* linux_lgetxattr */
5478 /* linux_fgetxattr */
5480 /* linux_listxattr */
5482 /* linux_llistxattr */
5484 /* linux_flistxattr */
5486 /* linux_removexattr */
5488 /* linux_lremovexattr */
5490 /* linux_fremovexattr */
5494 if (ndx == 0 || ndx == 1)
5497 /* linux_lookup_dcookie */
5499 /* linux_eventfd2 */
5501 if (ndx == 0 || ndx == 1)
5504 /* linux_epoll_create1 */
5506 if (ndx == 0 || ndx == 1)
5509 /* linux_epoll_ctl */
5511 if (ndx == 0 || ndx == 1)
5514 /* linux_epoll_pwait */
5516 if (ndx == 0 || ndx == 1)
5521 if (ndx == 0 || ndx == 1)
5526 if (ndx == 0 || ndx == 1)
5531 if (ndx == 0 || ndx == 1)
5534 /* linux_inotify_init1 */
5536 if (ndx == 0 || ndx == 1)
5539 /* linux_inotify_add_watch */
5541 /* linux_inotify_rm_watch */
5545 if (ndx == 0 || ndx == 1)
5548 /* linux_ioprio_set */
5550 /* linux_ioprio_get */
5554 if (ndx == 0 || ndx == 1)
5559 if (ndx == 0 || ndx == 1)
5564 if (ndx == 0 || ndx == 1)
5567 /* linux_unlinkat */
5569 if (ndx == 0 || ndx == 1)
5572 /* linux_symlinkat */
5574 if (ndx == 0 || ndx == 1)
5579 if (ndx == 0 || ndx == 1)
5582 /* linux_renameat */
5584 if (ndx == 0 || ndx == 1)
5589 if (ndx == 0 || ndx == 1)
5592 /* linux_pivot_root */
5596 if (ndx == 0 || ndx == 1)
5601 if (ndx == 0 || ndx == 1)
5604 /* linux_truncate */
5606 if (ndx == 0 || ndx == 1)
5609 /* linux_ftruncate */
5611 if (ndx == 0 || ndx == 1)
5614 /* linux_fallocate */
5616 if (ndx == 0 || ndx == 1)
5619 /* linux_faccessat */
5621 if (ndx == 0 || ndx == 1)
5626 if (ndx == 0 || ndx == 1)
5631 if (ndx == 0 || ndx == 1)
5636 if (ndx == 0 || ndx == 1)
5641 if (ndx == 0 || ndx == 1)
5644 /* linux_fchmodat */
5646 if (ndx == 0 || ndx == 1)
5649 /* linux_fchownat */
5651 if (ndx == 0 || ndx == 1)
5656 if (ndx == 0 || ndx == 1)
5661 if (ndx == 0 || ndx == 1)
5666 if (ndx == 0 || ndx == 1)
5673 if (ndx == 0 || ndx == 1)
5676 /* linux_getdents64 */
5678 if (ndx == 0 || ndx == 1)
5683 if (ndx == 0 || ndx == 1)
5688 if (ndx == 0 || ndx == 1)
5693 if (ndx == 0 || ndx == 1)
5698 if (ndx == 0 || ndx == 1)
5703 if (ndx == 0 || ndx == 1)
5708 if (ndx == 0 || ndx == 1)
5713 if (ndx == 0 || ndx == 1)
5718 if (ndx == 0 || ndx == 1)
5723 if (ndx == 0 || ndx == 1)
5726 /* linux_sendfile */
5728 if (ndx == 0 || ndx == 1)
5731 /* linux_pselect6 */
5733 if (ndx == 0 || ndx == 1)
5738 if (ndx == 0 || ndx == 1)
5741 /* linux_signalfd4 */
5743 /* linux_vmsplice */
5749 /* linux_readlinkat */
5751 if (ndx == 0 || ndx == 1)
5754 /* linux_newfstatat */
5756 if (ndx == 0 || ndx == 1)
5759 /* linux_newfstat */
5761 if (ndx == 0 || ndx == 1)
5766 if (ndx == 0 || ndx == 1)
5769 /* linux_fdatasync */
5771 if (ndx == 0 || ndx == 1)
5774 /* linux_sync_file_range */
5776 /* linux_timerfd_create */
5778 if (ndx == 0 || ndx == 1)
5781 /* linux_timerfd_settime */
5783 if (ndx == 0 || ndx == 1)
5786 /* linux_timerfd_gettime */
5788 if (ndx == 0 || ndx == 1)
5791 /* linux_utimensat */
5793 if (ndx == 0 || ndx == 1)
5798 if (ndx == 0 || ndx == 1)
5803 if (ndx == 0 || ndx == 1)
5808 if (ndx == 0 || ndx == 1)
5811 /* linux_personality */
5813 if (ndx == 0 || ndx == 1)
5818 if (ndx == 0 || ndx == 1)
5821 /* linux_exit_group */
5823 if (ndx == 0 || ndx == 1)
5828 if (ndx == 0 || ndx == 1)
5831 /* linux_set_tid_address */
5833 if (ndx == 0 || ndx == 1)
5838 /* linux_sys_futex */
5840 if (ndx == 0 || ndx == 1)
5843 /* linux_set_robust_list */
5845 if (ndx == 0 || ndx == 1)
5848 /* linux_get_robust_list */
5850 if (ndx == 0 || ndx == 1)
5853 /* linux_nanosleep */
5855 if (ndx == 0 || ndx == 1)
5858 /* linux_getitimer */
5860 if (ndx == 0 || ndx == 1)
5863 /* linux_setitimer */
5865 if (ndx == 0 || ndx == 1)
5868 /* linux_kexec_load */
5870 /* linux_init_module */
5872 /* linux_delete_module */
5874 /* linux_timer_create */
5876 if (ndx == 0 || ndx == 1)
5879 /* linux_timer_gettime */
5881 if (ndx == 0 || ndx == 1)
5884 /* linux_timer_getoverrun */
5886 if (ndx == 0 || ndx == 1)
5889 /* linux_timer_settime */
5891 if (ndx == 0 || ndx == 1)
5894 /* linux_timer_delete */
5896 if (ndx == 0 || ndx == 1)
5899 /* linux_clock_settime */
5901 if (ndx == 0 || ndx == 1)
5904 /* linux_clock_gettime */
5906 if (ndx == 0 || ndx == 1)
5909 /* linux_clock_getres */
5911 if (ndx == 0 || ndx == 1)
5914 /* linux_clock_nanosleep */
5916 if (ndx == 0 || ndx == 1)
5921 if (ndx == 0 || ndx == 1)
5926 if (ndx == 0 || ndx == 1)
5929 /* linux_sched_setparam */
5931 if (ndx == 0 || ndx == 1)
5934 /* linux_sched_setscheduler */
5936 if (ndx == 0 || ndx == 1)
5939 /* linux_sched_getscheduler */
5941 if (ndx == 0 || ndx == 1)
5944 /* linux_sched_getparam */
5946 if (ndx == 0 || ndx == 1)
5949 /* linux_sched_setaffinity */
5951 if (ndx == 0 || ndx == 1)
5954 /* linux_sched_getaffinity */
5956 if (ndx == 0 || ndx == 1)
5961 /* linux_sched_get_priority_max */
5963 if (ndx == 0 || ndx == 1)
5966 /* linux_sched_get_priority_min */
5968 if (ndx == 0 || ndx == 1)
5971 /* linux_sched_rr_get_interval */
5973 if (ndx == 0 || ndx == 1)
5978 if (ndx == 0 || ndx == 1)
5983 if (ndx == 0 || ndx == 1)
5988 if (ndx == 0 || ndx == 1)
5991 /* linux_sigaltstack */
5993 if (ndx == 0 || ndx == 1)
5996 /* linux_rt_sigsuspend */
5998 if (ndx == 0 || ndx == 1)
6001 /* linux_rt_sigaction */
6003 if (ndx == 0 || ndx == 1)
6006 /* linux_rt_sigprocmask */
6008 if (ndx == 0 || ndx == 1)
6011 /* linux_rt_sigpending */
6013 if (ndx == 0 || ndx == 1)
6016 /* linux_rt_sigtimedwait */
6018 if (ndx == 0 || ndx == 1)
6021 /* linux_rt_sigqueueinfo */
6023 if (ndx == 0 || ndx == 1)
6026 /* linux_rt_sigreturn */
6028 if (ndx == 0 || ndx == 1)
6033 if (ndx == 0 || ndx == 1)
6036 /* linux_getpriority */
6038 if (ndx == 0 || ndx == 1)
6043 if (ndx == 0 || ndx == 1)
6048 if (ndx == 0 || ndx == 1)
6053 if (ndx == 0 || ndx == 1)
6058 if (ndx == 0 || ndx == 1)
6063 if (ndx == 0 || ndx == 1)
6068 if (ndx == 0 || ndx == 1)
6073 if (ndx == 0 || ndx == 1)
6078 if (ndx == 0 || ndx == 1)
6083 if (ndx == 0 || ndx == 1)
6086 /* linux_setfsuid */
6088 if (ndx == 0 || ndx == 1)
6091 /* linux_setfsgid */
6093 if (ndx == 0 || ndx == 1)
6098 if (ndx == 0 || ndx == 1)
6103 if (ndx == 0 || ndx == 1)
6108 if (ndx == 0 || ndx == 1)
6113 if (ndx == 0 || ndx == 1)
6118 /* linux_getgroups */
6120 if (ndx == 0 || ndx == 1)
6123 /* linux_setgroups */
6125 if (ndx == 0 || ndx == 1)
6128 /* linux_newuname */
6130 if (ndx == 0 || ndx == 1)
6133 /* linux_sethostname */
6135 if (ndx == 0 || ndx == 1)
6138 /* linux_setdomainname */
6140 if (ndx == 0 || ndx == 1)
6143 /* linux_getrlimit */
6145 if (ndx == 0 || ndx == 1)
6148 /* linux_setrlimit */
6150 if (ndx == 0 || ndx == 1)
6155 if (ndx == 0 || ndx == 1)
6160 if (ndx == 0 || ndx == 1)
6165 if (ndx == 0 || ndx == 1)
6170 if (ndx == 0 || ndx == 1)
6175 if (ndx == 0 || ndx == 1)
6180 if (ndx == 0 || ndx == 1)
6183 /* linux_adjtimex */
6201 if (ndx == 0 || ndx == 1)
6206 /* linux_mq_unlink */
6208 /* linux_mq_timedsend */
6210 /* linux_mq_timedreceive */
6212 /* linux_mq_notify */
6214 /* linux_mq_getsetattr */
6218 if (ndx == 0 || ndx == 1)
6223 if (ndx == 0 || ndx == 1)
6228 if (ndx == 0 || ndx == 1)
6233 if (ndx == 0 || ndx == 1)
6238 if (ndx == 0 || ndx == 1)
6243 if (ndx == 0 || ndx == 1)
6246 /* linux_semtimedop */
6250 if (ndx == 0 || ndx == 1)
6255 if (ndx == 0 || ndx == 1)
6260 if (ndx == 0 || ndx == 1)
6265 if (ndx == 0 || ndx == 1)
6270 if (ndx == 0 || ndx == 1)
6275 if (ndx == 0 || ndx == 1)
6278 /* linux_socketpair */
6280 if (ndx == 0 || ndx == 1)
6285 if (ndx == 0 || ndx == 1)
6290 if (ndx == 0 || ndx == 1)
6295 if (ndx == 0 || ndx == 1)
6300 if (ndx == 0 || ndx == 1)
6303 /* linux_getsockname */
6305 if (ndx == 0 || ndx == 1)
6308 /* linux_getpeername */
6310 if (ndx == 0 || ndx == 1)
6315 if (ndx == 0 || ndx == 1)
6318 /* linux_recvfrom */
6320 if (ndx == 0 || ndx == 1)
6323 /* linux_setsockopt */
6325 if (ndx == 0 || ndx == 1)
6328 /* linux_getsockopt */
6330 if (ndx == 0 || ndx == 1)
6333 /* linux_shutdown */
6335 if (ndx == 0 || ndx == 1)
6340 if (ndx == 0 || ndx == 1)
6345 if (ndx == 0 || ndx == 1)
6350 if (ndx == 0 || ndx == 1)
6355 if (ndx == 0 || ndx == 1)
6360 if (ndx == 0 || ndx == 1)
6365 /* linux_request_key */
6371 if (ndx == 0 || ndx == 1)
6376 if (ndx == 0 || ndx == 1)
6381 if (ndx == 0 || ndx == 1)
6384 /* linux_fadvise64 */
6386 if (ndx == 0 || ndx == 1)
6391 if (ndx == 0 || ndx == 1)
6396 /* linux_mprotect */
6398 if (ndx == 0 || ndx == 1)
6403 if (ndx == 0 || ndx == 1)
6408 if (ndx == 0 || ndx == 1)
6413 if (ndx == 0 || ndx == 1)
6418 if (ndx == 0 || ndx == 1)
6425 if (ndx == 0 || ndx == 1)
6430 if (ndx == 0 || ndx == 1)
6433 /* linux_remap_file_pages */
6437 /* linux_get_mempolicy */
6439 /* linux_set_mempolicy */
6441 /* linux_migrate_pages */
6443 /* linux_move_pages */
6445 /* linux_rt_tgsigqueueinfo */
6447 if (ndx == 0 || ndx == 1)
6450 /* linux_perf_event_open */
6454 if (ndx == 0 || ndx == 1)
6457 /* linux_recvmmsg */
6459 if (ndx == 0 || ndx == 1)
6464 if (ndx == 0 || ndx == 1)
6467 /* linux_prlimit64 */
6469 if (ndx == 0 || ndx == 1)
6472 /* linux_fanotify_init */
6474 /* linux_fanotify_mark */
6476 /* linux_name_to_handle_at */
6478 /* linux_open_by_handle_at */
6480 /* linux_clock_adjtime */
6484 if (ndx == 0 || ndx == 1)
6489 if (ndx == 0 || ndx == 1)
6492 /* linux_sendmmsg */
6494 if (ndx == 0 || ndx == 1)
6497 /* linux_process_vm_readv */
6499 if (ndx == 0 || ndx == 1)
6502 /* linux_process_vm_writev */
6504 if (ndx == 0 || ndx == 1)
6509 if (ndx == 0 || ndx == 1)
6512 /* linux_finit_module */
6514 if (ndx == 0 || ndx == 1)
6517 /* linux_sched_setattr */
6519 if (ndx == 0 || ndx == 1)
6522 /* linux_sched_getattr */
6524 if (ndx == 0 || ndx == 1)
6527 /* linux_renameat2 */
6529 if (ndx == 0 || ndx == 1)
6534 if (ndx == 0 || ndx == 1)
6537 /* linux_getrandom */
6539 if (ndx == 0 || ndx == 1)
6542 /* linux_memfd_create */
6544 if (ndx == 0 || ndx == 1)
6549 if (ndx == 0 || ndx == 1)
6552 /* linux_execveat */
6554 if (ndx == 0 || ndx == 1)
6557 /* linux_userfaultfd */
6559 if (ndx == 0 || ndx == 1)
6562 /* linux_membarrier */
6564 if (ndx == 0 || ndx == 1)
6569 if (ndx == 0 || ndx == 1)
6572 /* linux_copy_file_range */
6574 if (ndx == 0 || ndx == 1)
6579 if (ndx == 0 || ndx == 1)
6582 /* linux_pwritev2 */
6584 if (ndx == 0 || ndx == 1)
6587 /* linux_pkey_mprotect */
6589 if (ndx == 0 || ndx == 1)
6592 /* linux_pkey_alloc */
6594 if (ndx == 0 || ndx == 1)
6597 /* linux_pkey_free */
6599 if (ndx == 0 || ndx == 1)
6606 strlcpy(desc, p, descsz);