2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *)uarg;
15 #define nosys linux_nosys
18 struct linux_setxattr_args *p = params;
19 uarg[a++] = (intptr_t)p->path; /* const char * */
20 uarg[a++] = (intptr_t)p->name; /* const char * */
21 uarg[a++] = (intptr_t)p->value; /* const char * */
22 iarg[a++] = p->size; /* l_size_t */
23 iarg[a++] = p->flags; /* l_int */
29 struct linux_lsetxattr_args *p = params;
30 uarg[a++] = (intptr_t)p->path; /* const char * */
31 uarg[a++] = (intptr_t)p->name; /* const char * */
32 uarg[a++] = (intptr_t)p->value; /* const char * */
33 iarg[a++] = p->size; /* l_size_t */
34 iarg[a++] = p->flags; /* l_int */
40 struct linux_fsetxattr_args *p = params;
41 iarg[a++] = p->fd; /* l_int */
42 uarg[a++] = (intptr_t)p->name; /* const char * */
43 uarg[a++] = (intptr_t)p->value; /* const char * */
44 iarg[a++] = p->size; /* l_size_t */
45 iarg[a++] = p->flags; /* l_int */
51 struct linux_getxattr_args *p = params;
52 uarg[a++] = (intptr_t)p->path; /* const char * */
53 uarg[a++] = (intptr_t)p->name; /* const char * */
54 uarg[a++] = (intptr_t)p->value; /* char * */
55 iarg[a++] = p->size; /* l_size_t */
61 struct linux_lgetxattr_args *p = params;
62 uarg[a++] = (intptr_t)p->path; /* const char * */
63 uarg[a++] = (intptr_t)p->name; /* const char * */
64 uarg[a++] = (intptr_t)p->value; /* char * */
65 iarg[a++] = p->size; /* l_size_t */
71 struct linux_fgetxattr_args *p = params;
72 iarg[a++] = p->fd; /* l_int */
73 uarg[a++] = (intptr_t)p->name; /* const char * */
74 uarg[a++] = (intptr_t)p->value; /* char * */
75 iarg[a++] = p->size; /* l_size_t */
81 struct linux_listxattr_args *p = params;
82 uarg[a++] = (intptr_t)p->path; /* const char * */
83 uarg[a++] = (intptr_t)p->list; /* const char * */
84 iarg[a++] = p->size; /* l_size_t */
88 /* linux_llistxattr */
90 struct linux_llistxattr_args *p = params;
91 uarg[a++] = (intptr_t)p->path; /* const char * */
92 uarg[a++] = (intptr_t)p->list; /* const char * */
93 iarg[a++] = p->size; /* l_size_t */
97 /* linux_flistxattr */
99 struct linux_flistxattr_args *p = params;
100 iarg[a++] = p->fd; /* l_int */
101 uarg[a++] = (intptr_t)p->list; /* const char * */
102 iarg[a++] = p->size; /* l_size_t */
106 /* linux_removexattr */
108 struct linux_removexattr_args *p = params;
109 uarg[a++] = (intptr_t)p->path; /* const char * */
110 uarg[a++] = (intptr_t)p->name; /* const char * */
114 /* linux_lremovexattr */
116 struct linux_lremovexattr_args *p = params;
117 uarg[a++] = (intptr_t)p->path; /* const char * */
118 uarg[a++] = (intptr_t)p->name; /* const char * */
122 /* linux_fremovexattr */
124 struct linux_fremovexattr_args *p = params;
125 iarg[a++] = p->fd; /* l_int */
126 uarg[a++] = (intptr_t)p->name; /* const char * */
132 struct linux_getcwd_args *p = params;
133 uarg[a++] = (intptr_t)p->buf; /* char * */
134 iarg[a++] = p->bufsize; /* l_ulong */
138 /* linux_lookup_dcookie */
145 struct linux_eventfd2_args *p = params;
146 iarg[a++] = p->initval; /* l_uint */
147 iarg[a++] = p->flags; /* l_int */
151 /* linux_epoll_create1 */
153 struct linux_epoll_create1_args *p = params;
154 iarg[a++] = p->flags; /* l_int */
158 /* linux_epoll_ctl */
160 struct linux_epoll_ctl_args *p = params;
161 iarg[a++] = p->epfd; /* l_int */
162 iarg[a++] = p->op; /* l_int */
163 iarg[a++] = p->fd; /* l_int */
164 uarg[a++] = (intptr_t)p->event; /* struct epoll_event * */
168 /* linux_epoll_pwait */
170 struct linux_epoll_pwait_args *p = params;
171 iarg[a++] = p->epfd; /* l_int */
172 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
173 iarg[a++] = p->maxevents; /* l_int */
174 iarg[a++] = p->timeout; /* l_int */
175 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
176 iarg[a++] = p->sigsetsize; /* l_size_t */
182 struct dup_args *p = params;
183 uarg[a++] = p->fd; /* u_int */
189 struct linux_dup3_args *p = params;
190 iarg[a++] = p->oldfd; /* l_int */
191 iarg[a++] = p->newfd; /* l_int */
192 iarg[a++] = p->flags; /* l_int */
198 struct linux_fcntl_args *p = params;
199 iarg[a++] = p->fd; /* l_uint */
200 iarg[a++] = p->cmd; /* l_uint */
201 iarg[a++] = p->arg; /* l_ulong */
205 /* linux_inotify_init1 */
207 struct linux_inotify_init1_args *p = params;
208 iarg[a++] = p->flags; /* l_int */
212 /* linux_inotify_add_watch */
217 /* linux_inotify_rm_watch */
224 struct linux_ioctl_args *p = params;
225 iarg[a++] = p->fd; /* l_uint */
226 iarg[a++] = p->cmd; /* l_uint */
227 iarg[a++] = p->arg; /* l_ulong */
231 /* linux_ioprio_set */
236 /* linux_ioprio_get */
243 struct flock_args *p = params;
244 iarg[a++] = p->fd; /* int */
245 iarg[a++] = p->how; /* int */
251 struct linux_mknodat_args *p = params;
252 iarg[a++] = p->dfd; /* l_int */
253 uarg[a++] = (intptr_t)p->filename; /* const char * */
254 iarg[a++] = p->mode; /* l_int */
255 iarg[a++] = p->dev; /* l_uint */
261 struct linux_mkdirat_args *p = params;
262 iarg[a++] = p->dfd; /* l_int */
263 uarg[a++] = (intptr_t)p->pathname; /* const char * */
264 iarg[a++] = p->mode; /* l_mode_t */
270 struct linux_unlinkat_args *p = params;
271 iarg[a++] = p->dfd; /* l_int */
272 uarg[a++] = (intptr_t)p->pathname; /* const char * */
273 iarg[a++] = p->flag; /* l_int */
277 /* linux_symlinkat */
279 struct linux_symlinkat_args *p = params;
280 uarg[a++] = (intptr_t)p->oldname; /* const char * */
281 iarg[a++] = p->newdfd; /* l_int */
282 uarg[a++] = (intptr_t)p->newname; /* const char * */
288 struct linux_linkat_args *p = params;
289 iarg[a++] = p->olddfd; /* l_int */
290 uarg[a++] = (intptr_t)p->oldname; /* const char * */
291 iarg[a++] = p->newdfd; /* l_int */
292 uarg[a++] = (intptr_t)p->newname; /* const char * */
293 iarg[a++] = p->flag; /* l_int */
299 struct linux_renameat_args *p = params;
300 iarg[a++] = p->olddfd; /* l_int */
301 uarg[a++] = (intptr_t)p->oldname; /* const char * */
302 iarg[a++] = p->newdfd; /* l_int */
303 uarg[a++] = (intptr_t)p->newname; /* const char * */
309 struct linux_mount_args *p = params;
310 uarg[a++] = (intptr_t)p->specialfile; /* char * */
311 uarg[a++] = (intptr_t)p->dir; /* char * */
312 uarg[a++] = (intptr_t)p->filesystemtype; /* char * */
313 iarg[a++] = p->rwflag; /* l_ulong */
314 uarg[a++] = (intptr_t)p->data; /* void * */
318 /* linux_pivot_root */
325 struct linux_statfs_args *p = params;
326 uarg[a++] = (intptr_t)p->path; /* char * */
327 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */
333 struct linux_fstatfs_args *p = params;
334 iarg[a++] = p->fd; /* l_uint */
335 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */
341 struct linux_truncate_args *p = params;
342 uarg[a++] = (intptr_t)p->path; /* char * */
343 iarg[a++] = p->length; /* l_ulong */
347 /* linux_ftruncate */
349 struct linux_ftruncate_args *p = params;
350 iarg[a++] = p->fd; /* l_int */
351 iarg[a++] = p->length; /* l_long */
355 /* linux_fallocate */
357 struct linux_fallocate_args *p = params;
358 iarg[a++] = p->fd; /* l_int */
359 iarg[a++] = p->mode; /* l_int */
360 iarg[a++] = p->offset; /* l_loff_t */
361 iarg[a++] = p->len; /* l_loff_t */
365 /* linux_faccessat */
367 struct linux_faccessat_args *p = params;
368 iarg[a++] = p->dfd; /* l_int */
369 uarg[a++] = (intptr_t)p->filename; /* const char * */
370 iarg[a++] = p->amode; /* l_int */
376 struct linux_chdir_args *p = params;
377 uarg[a++] = (intptr_t)p->path; /* char * */
383 struct fchdir_args *p = params;
384 iarg[a++] = p->fd; /* int */
390 struct chroot_args *p = params;
391 uarg[a++] = (intptr_t)p->path; /* char * */
397 struct fchmod_args *p = params;
398 iarg[a++] = p->fd; /* int */
399 iarg[a++] = p->mode; /* int */
405 struct linux_fchmodat_args *p = params;
406 iarg[a++] = p->dfd; /* l_int */
407 uarg[a++] = (intptr_t)p->filename; /* const char * */
408 iarg[a++] = p->mode; /* l_mode_t */
414 struct linux_fchownat_args *p = params;
415 iarg[a++] = p->dfd; /* l_int */
416 uarg[a++] = (intptr_t)p->filename; /* const char * */
417 iarg[a++] = p->uid; /* l_uid_t */
418 iarg[a++] = p->gid; /* l_gid_t */
419 iarg[a++] = p->flag; /* l_int */
425 struct fchown_args *p = params;
426 iarg[a++] = p->fd; /* int */
427 iarg[a++] = p->uid; /* int */
428 iarg[a++] = p->gid; /* int */
434 struct linux_openat_args *p = params;
435 iarg[a++] = p->dfd; /* l_int */
436 uarg[a++] = (intptr_t)p->filename; /* const char * */
437 iarg[a++] = p->flags; /* l_int */
438 iarg[a++] = p->mode; /* l_mode_t */
444 struct close_args *p = params;
445 iarg[a++] = p->fd; /* int */
456 struct linux_pipe2_args *p = params;
457 uarg[a++] = (intptr_t)p->pipefds; /* l_int * */
458 iarg[a++] = p->flags; /* l_int */
462 /* linux_getdents64 */
464 struct linux_getdents64_args *p = params;
465 iarg[a++] = p->fd; /* l_uint */
466 uarg[a++] = (intptr_t)p->dirent; /* void * */
467 iarg[a++] = p->count; /* l_uint */
473 struct linux_lseek_args *p = params;
474 iarg[a++] = p->fdes; /* l_uint */
475 iarg[a++] = p->off; /* l_off_t */
476 iarg[a++] = p->whence; /* l_int */
482 struct read_args *p = params;
483 iarg[a++] = p->fd; /* int */
484 uarg[a++] = (intptr_t)p->buf; /* char * */
485 iarg[a++] = p->nbyte; /* l_size_t */
491 struct write_args *p = params;
492 iarg[a++] = p->fd; /* int */
493 uarg[a++] = (intptr_t)p->buf; /* char * */
494 iarg[a++] = p->nbyte; /* l_size_t */
500 struct readv_args *p = params;
501 iarg[a++] = p->fd; /* int */
502 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
503 uarg[a++] = p->iovcnt; /* u_int */
509 struct writev_args *p = params;
510 iarg[a++] = p->fd; /* int */
511 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
512 uarg[a++] = p->iovcnt; /* u_int */
518 struct linux_pread_args *p = params;
519 iarg[a++] = p->fd; /* l_uint */
520 uarg[a++] = (intptr_t)p->buf; /* char * */
521 iarg[a++] = p->nbyte; /* l_size_t */
522 iarg[a++] = p->offset; /* l_loff_t */
528 struct linux_pwrite_args *p = params;
529 iarg[a++] = p->fd; /* l_uint */
530 uarg[a++] = (intptr_t)p->buf; /* char * */
531 iarg[a++] = p->nbyte; /* l_size_t */
532 iarg[a++] = p->offset; /* l_loff_t */
538 struct linux_preadv_args *p = params;
539 iarg[a++] = p->fd; /* l_ulong */
540 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */
541 iarg[a++] = p->vlen; /* l_ulong */
542 iarg[a++] = p->pos_l; /* l_ulong */
543 iarg[a++] = p->pos_h; /* l_ulong */
549 struct linux_pwritev_args *p = params;
550 iarg[a++] = p->fd; /* l_ulong */
551 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */
552 iarg[a++] = p->vlen; /* l_ulong */
553 iarg[a++] = p->pos_l; /* l_ulong */
554 iarg[a++] = p->pos_h; /* l_ulong */
560 struct linux_sendfile_args *p = params;
561 iarg[a++] = p->out; /* l_int */
562 iarg[a++] = p->in; /* l_int */
563 uarg[a++] = (intptr_t)p->offset; /* l_off_t * */
564 iarg[a++] = p->count; /* l_size_t */
570 struct linux_pselect6_args *p = params;
571 iarg[a++] = p->nfds; /* l_int */
572 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
573 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
574 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
575 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */
576 uarg[a++] = (intptr_t)p->sig; /* l_uintptr_t * */
582 struct linux_ppoll_args *p = params;
583 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
584 iarg[a++] = p->nfds; /* l_uint */
585 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */
586 uarg[a++] = (intptr_t)p->sset; /* l_sigset_t * */
587 iarg[a++] = p->ssize; /* l_size_t */
591 /* linux_signalfd4 */
603 struct linux_splice_args *p = params;
604 iarg[a++] = p->fd_in; /* int */
605 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
606 iarg[a++] = p->fd_out; /* int */
607 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
608 iarg[a++] = p->len; /* l_size_t */
609 iarg[a++] = p->flags; /* l_uint */
618 /* linux_readlinkat */
620 struct linux_readlinkat_args *p = params;
621 iarg[a++] = p->dfd; /* l_int */
622 uarg[a++] = (intptr_t)p->path; /* const char * */
623 uarg[a++] = (intptr_t)p->buf; /* char * */
624 iarg[a++] = p->bufsiz; /* l_int */
628 /* linux_newfstatat */
630 struct linux_newfstatat_args *p = params;
631 iarg[a++] = p->dfd; /* l_int */
632 uarg[a++] = (intptr_t)p->pathname; /* char * */
633 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */
634 iarg[a++] = p->flag; /* l_int */
640 struct linux_newfstat_args *p = params;
641 iarg[a++] = p->fd; /* l_uint */
642 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */
648 struct fsync_args *p = params;
649 iarg[a++] = p->fd; /* int */
653 /* linux_fdatasync */
655 struct linux_fdatasync_args *p = params;
656 iarg[a++] = p->fd; /* l_uint */
660 /* linux_sync_file_range */
662 struct linux_sync_file_range_args *p = params;
663 iarg[a++] = p->fd; /* l_int */
664 iarg[a++] = p->offset; /* l_loff_t */
665 iarg[a++] = p->nbytes; /* l_loff_t */
666 iarg[a++] = p->flags; /* l_uint */
670 /* linux_timerfd_create */
672 struct linux_timerfd_create_args *p = params;
673 iarg[a++] = p->clockid; /* l_int */
674 iarg[a++] = p->flags; /* l_int */
678 /* linux_timerfd_settime */
680 struct linux_timerfd_settime_args *p = params;
681 iarg[a++] = p->fd; /* l_int */
682 iarg[a++] = p->flags; /* l_int */
683 uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec * */
684 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */
688 /* linux_timerfd_gettime */
690 struct linux_timerfd_gettime_args *p = params;
691 iarg[a++] = p->fd; /* l_int */
692 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */
696 /* linux_utimensat */
698 struct linux_utimensat_args *p = params;
699 iarg[a++] = p->dfd; /* l_int */
700 uarg[a++] = (intptr_t)p->pathname; /* const char * */
701 uarg[a++] = (intptr_t)p->times; /* const struct l_timespec * */
702 iarg[a++] = p->flags; /* l_int */
708 struct acct_args *p = params;
709 uarg[a++] = (intptr_t)p->path; /* char * */
715 struct linux_capget_args *p = params;
716 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
717 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */
723 struct linux_capset_args *p = params;
724 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
725 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */
729 /* linux_personality */
731 struct linux_personality_args *p = params;
732 iarg[a++] = p->per; /* l_uint */
738 struct linux_exit_args *p = params;
739 uarg[a++] = p->rval; /* u_int */
743 /* linux_exit_group */
745 struct linux_exit_group_args *p = params;
746 iarg[a++] = p->error_code; /* l_int */
752 struct linux_waitid_args *p = params;
753 iarg[a++] = p->idtype; /* l_int */
754 iarg[a++] = p->id; /* l_pid_t */
755 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
756 iarg[a++] = p->options; /* l_int */
757 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
761 /* linux_set_tid_address */
763 struct linux_set_tid_address_args *p = params;
764 uarg[a++] = (intptr_t)p->tidptr; /* l_int * */
773 /* linux_sys_futex */
775 struct linux_sys_futex_args *p = params;
776 uarg[a++] = (intptr_t)p->uaddr; /* uint32_t * */
777 iarg[a++] = p->op; /* l_int */
778 uarg[a++] = p->val; /* uint32_t */
779 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
780 uarg[a++] = (intptr_t)p->uaddr2; /* uint32_t * */
781 uarg[a++] = p->val3; /* uint32_t */
785 /* linux_set_robust_list */
787 struct linux_set_robust_list_args *p = params;
788 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head * */
789 iarg[a++] = p->len; /* l_size_t */
793 /* linux_get_robust_list */
795 struct linux_get_robust_list_args *p = params;
796 iarg[a++] = p->pid; /* l_int */
797 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
798 uarg[a++] = (intptr_t)p->len; /* l_size_t * */
802 /* linux_nanosleep */
804 struct linux_nanosleep_args *p = params;
805 uarg[a++] = (intptr_t)p->rqtp; /* const struct l_timespec * */
806 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */
810 /* linux_getitimer */
812 struct linux_getitimer_args *p = params;
813 iarg[a++] = p->which; /* l_int */
814 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */
818 /* linux_setitimer */
820 struct linux_setitimer_args *p = params;
821 iarg[a++] = p->which; /* l_int */
822 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */
823 uarg[a++] = (intptr_t)p->oitv; /* struct l_itimerval * */
827 /* linux_kexec_load */
832 /* linux_init_module */
837 /* linux_delete_module */
842 /* linux_timer_create */
844 struct linux_timer_create_args *p = params;
845 iarg[a++] = p->clock_id; /* clockid_t */
846 uarg[a++] = (intptr_t)p->evp; /* struct sigevent * */
847 uarg[a++] = (intptr_t)p->timerid; /* l_timer_t * */
851 /* linux_timer_gettime */
853 struct linux_timer_gettime_args *p = params;
854 iarg[a++] = p->timerid; /* l_timer_t */
855 uarg[a++] = (intptr_t)p->setting; /* struct itimerspec * */
859 /* linux_timer_getoverrun */
861 struct linux_timer_getoverrun_args *p = params;
862 iarg[a++] = p->timerid; /* l_timer_t */
866 /* linux_timer_settime */
868 struct linux_timer_settime_args *p = params;
869 iarg[a++] = p->timerid; /* l_timer_t */
870 iarg[a++] = p->flags; /* l_int */
871 uarg[a++] = (intptr_t)p->new; /* const struct itimerspec * */
872 uarg[a++] = (intptr_t)p->old; /* struct itimerspec * */
876 /* linux_timer_delete */
878 struct linux_timer_delete_args *p = params;
879 iarg[a++] = p->timerid; /* l_timer_t */
883 /* linux_clock_settime */
885 struct linux_clock_settime_args *p = params;
886 iarg[a++] = p->which; /* clockid_t */
887 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
891 /* linux_clock_gettime */
893 struct linux_clock_gettime_args *p = params;
894 iarg[a++] = p->which; /* clockid_t */
895 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
899 /* linux_clock_getres */
901 struct linux_clock_getres_args *p = params;
902 iarg[a++] = p->which; /* clockid_t */
903 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
907 /* linux_clock_nanosleep */
909 struct linux_clock_nanosleep_args *p = params;
910 iarg[a++] = p->which; /* clockid_t */
911 iarg[a++] = p->flags; /* l_int */
912 uarg[a++] = (intptr_t)p->rqtp; /* struct l_timespec * */
913 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */
919 struct linux_syslog_args *p = params;
920 iarg[a++] = p->type; /* l_int */
921 uarg[a++] = (intptr_t)p->buf; /* char * */
922 iarg[a++] = p->len; /* l_int */
928 struct linux_ptrace_args *p = params;
929 iarg[a++] = p->req; /* l_long */
930 iarg[a++] = p->pid; /* l_long */
931 iarg[a++] = p->addr; /* l_ulong */
932 iarg[a++] = p->data; /* l_ulong */
936 /* linux_sched_setparam */
938 struct linux_sched_setparam_args *p = params;
939 iarg[a++] = p->pid; /* l_pid_t */
940 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
944 /* linux_sched_setscheduler */
946 struct linux_sched_setscheduler_args *p = params;
947 iarg[a++] = p->pid; /* l_pid_t */
948 iarg[a++] = p->policy; /* l_int */
949 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
953 /* linux_sched_getscheduler */
955 struct linux_sched_getscheduler_args *p = params;
956 iarg[a++] = p->pid; /* l_pid_t */
960 /* linux_sched_getparam */
962 struct linux_sched_getparam_args *p = params;
963 iarg[a++] = p->pid; /* l_pid_t */
964 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
968 /* linux_sched_setaffinity */
970 struct linux_sched_setaffinity_args *p = params;
971 iarg[a++] = p->pid; /* l_pid_t */
972 iarg[a++] = p->len; /* l_uint */
973 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
977 /* linux_sched_getaffinity */
979 struct linux_sched_getaffinity_args *p = params;
980 iarg[a++] = p->pid; /* l_pid_t */
981 iarg[a++] = p->len; /* l_uint */
982 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
991 /* linux_sched_get_priority_max */
993 struct linux_sched_get_priority_max_args *p = params;
994 iarg[a++] = p->policy; /* l_int */
998 /* linux_sched_get_priority_min */
1000 struct linux_sched_get_priority_min_args *p = params;
1001 iarg[a++] = p->policy; /* l_int */
1005 /* linux_sched_rr_get_interval */
1007 struct linux_sched_rr_get_interval_args *p = params;
1008 iarg[a++] = p->pid; /* l_pid_t */
1009 uarg[a++] = (intptr_t)p->interval; /* struct l_timespec * */
1015 struct linux_kill_args *p = params;
1016 iarg[a++] = p->pid; /* l_pid_t */
1017 iarg[a++] = p->signum; /* l_int */
1023 struct linux_tkill_args *p = params;
1024 iarg[a++] = p->tid; /* l_pid_t */
1025 iarg[a++] = p->sig; /* l_int */
1031 struct linux_tgkill_args *p = params;
1032 iarg[a++] = p->tgid; /* l_pid_t */
1033 iarg[a++] = p->pid; /* l_pid_t */
1034 iarg[a++] = p->sig; /* l_int */
1038 /* linux_sigaltstack */
1040 struct linux_sigaltstack_args *p = params;
1041 uarg[a++] = (intptr_t)p->uss; /* l_stack_t * */
1042 uarg[a++] = (intptr_t)p->uoss; /* l_stack_t * */
1046 /* linux_rt_sigsuspend */
1048 struct linux_rt_sigsuspend_args *p = params;
1049 uarg[a++] = (intptr_t)p->newset; /* l_sigset_t * */
1050 iarg[a++] = p->sigsetsize; /* l_size_t */
1054 /* linux_rt_sigaction */
1056 struct linux_rt_sigaction_args *p = params;
1057 iarg[a++] = p->sig; /* l_int */
1058 uarg[a++] = (intptr_t)p->act; /* l_sigaction_t * */
1059 uarg[a++] = (intptr_t)p->oact; /* l_sigaction_t * */
1060 iarg[a++] = p->sigsetsize; /* l_size_t */
1064 /* linux_rt_sigprocmask */
1066 struct linux_rt_sigprocmask_args *p = params;
1067 iarg[a++] = p->how; /* l_int */
1068 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
1069 uarg[a++] = (intptr_t)p->omask; /* l_sigset_t * */
1070 iarg[a++] = p->sigsetsize; /* l_size_t */
1074 /* linux_rt_sigpending */
1076 struct linux_rt_sigpending_args *p = params;
1077 uarg[a++] = (intptr_t)p->set; /* l_sigset_t * */
1078 iarg[a++] = p->sigsetsize; /* l_size_t */
1082 /* linux_rt_sigtimedwait */
1084 struct linux_rt_sigtimedwait_args *p = params;
1085 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
1086 uarg[a++] = (intptr_t)p->ptr; /* l_siginfo_t * */
1087 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1088 iarg[a++] = p->sigsetsize; /* l_size_t */
1092 /* linux_rt_sigqueueinfo */
1094 struct linux_rt_sigqueueinfo_args *p = params;
1095 iarg[a++] = p->pid; /* l_pid_t */
1096 iarg[a++] = p->sig; /* l_int */
1097 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
1101 /* linux_rt_sigreturn */
1108 struct setpriority_args *p = params;
1109 iarg[a++] = p->which; /* int */
1110 iarg[a++] = p->who; /* int */
1111 iarg[a++] = p->prio; /* int */
1115 /* linux_getpriority */
1117 struct linux_getpriority_args *p = params;
1118 iarg[a++] = p->which; /* l_int */
1119 iarg[a++] = p->who; /* l_int */
1125 struct linux_reboot_args *p = params;
1126 iarg[a++] = p->magic1; /* l_int */
1127 iarg[a++] = p->magic2; /* l_int */
1128 iarg[a++] = p->cmd; /* l_uint */
1129 uarg[a++] = (intptr_t)p->arg; /* void * */
1135 struct setregid_args *p = params;
1136 iarg[a++] = p->rgid; /* gid_t */
1137 iarg[a++] = p->egid; /* gid_t */
1143 struct setgid_args *p = params;
1144 iarg[a++] = p->gid; /* gid_t */
1150 struct setreuid_args *p = params;
1151 uarg[a++] = p->ruid; /* uid_t */
1152 uarg[a++] = p->euid; /* uid_t */
1158 struct setuid_args *p = params;
1159 uarg[a++] = p->uid; /* uid_t */
1165 struct setresuid_args *p = params;
1166 uarg[a++] = p->ruid; /* uid_t */
1167 uarg[a++] = p->euid; /* uid_t */
1168 uarg[a++] = p->suid; /* uid_t */
1174 struct getresuid_args *p = params;
1175 uarg[a++] = (intptr_t)p->ruid; /* uid_t * */
1176 uarg[a++] = (intptr_t)p->euid; /* uid_t * */
1177 uarg[a++] = (intptr_t)p->suid; /* uid_t * */
1183 struct setresgid_args *p = params;
1184 iarg[a++] = p->rgid; /* gid_t */
1185 iarg[a++] = p->egid; /* gid_t */
1186 iarg[a++] = p->sgid; /* gid_t */
1192 struct getresgid_args *p = params;
1193 uarg[a++] = (intptr_t)p->rgid; /* gid_t * */
1194 uarg[a++] = (intptr_t)p->egid; /* gid_t * */
1195 uarg[a++] = (intptr_t)p->sgid; /* gid_t * */
1199 /* linux_setfsuid */
1201 struct linux_setfsuid_args *p = params;
1202 iarg[a++] = p->uid; /* l_uid_t */
1206 /* linux_setfsgid */
1208 struct linux_setfsgid_args *p = params;
1209 iarg[a++] = p->gid; /* l_gid_t */
1215 struct linux_times_args *p = params;
1216 uarg[a++] = (intptr_t)p->buf; /* struct l_times_argv * */
1222 struct setpgid_args *p = params;
1223 iarg[a++] = p->pid; /* int */
1224 iarg[a++] = p->pgid; /* int */
1230 struct getpgid_args *p = params;
1231 iarg[a++] = p->pid; /* int */
1237 struct linux_getsid_args *p = params;
1238 iarg[a++] = p->pid; /* l_pid_t */
1247 /* linux_getgroups */
1249 struct linux_getgroups_args *p = params;
1250 iarg[a++] = p->gidsetsize; /* l_int */
1251 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */
1255 /* linux_setgroups */
1257 struct linux_setgroups_args *p = params;
1258 iarg[a++] = p->gidsetsize; /* l_int */
1259 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */
1263 /* linux_newuname */
1265 struct linux_newuname_args *p = params;
1266 uarg[a++] = (intptr_t)p->buf; /* struct l_new_utsname * */
1270 /* linux_sethostname */
1272 struct linux_sethostname_args *p = params;
1273 uarg[a++] = (intptr_t)p->hostname; /* char * */
1274 iarg[a++] = p->len; /* l_uint */
1278 /* linux_setdomainname */
1280 struct linux_setdomainname_args *p = params;
1281 uarg[a++] = (intptr_t)p->name; /* char * */
1282 iarg[a++] = p->len; /* l_int */
1286 /* linux_getrlimit */
1288 struct linux_getrlimit_args *p = params;
1289 iarg[a++] = p->resource; /* l_uint */
1290 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
1294 /* linux_setrlimit */
1296 struct linux_setrlimit_args *p = params;
1297 iarg[a++] = p->resource; /* l_uint */
1298 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
1304 struct getrusage_args *p = params;
1305 iarg[a++] = p->who; /* int */
1306 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
1312 struct umask_args *p = params;
1313 iarg[a++] = p->newmask; /* int */
1319 struct linux_prctl_args *p = params;
1320 iarg[a++] = p->option; /* l_int */
1321 uarg[a++] = (intptr_t)p->arg2; /* l_uintptr_t */
1322 uarg[a++] = (intptr_t)p->arg3; /* l_uintptr_t */
1323 uarg[a++] = (intptr_t)p->arg4; /* l_uintptr_t */
1324 uarg[a++] = (intptr_t)p->arg5; /* l_uintptr_t */
1330 struct linux_getcpu_args *p = params;
1331 uarg[a++] = (intptr_t)p->cpu; /* l_uint * */
1332 uarg[a++] = (intptr_t)p->node; /* l_uint * */
1333 uarg[a++] = (intptr_t)p->cache; /* void * */
1339 struct gettimeofday_args *p = params;
1340 uarg[a++] = (intptr_t)p->tp; /* struct l_timeval * */
1341 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
1347 struct settimeofday_args *p = params;
1348 uarg[a++] = (intptr_t)p->tv; /* struct l_timeval * */
1349 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
1353 /* linux_adjtimex */
1395 struct linux_sysinfo_args *p = params;
1396 uarg[a++] = (intptr_t)p->info; /* struct l_sysinfo * */
1402 struct linux_mq_open_args *p = params;
1403 uarg[a++] = (intptr_t)p->name; /* const char * */
1404 iarg[a++] = p->oflag; /* l_int */
1405 iarg[a++] = p->mode; /* l_mode_t */
1406 uarg[a++] = (intptr_t)p->attr; /* struct mq_attr * */
1410 /* linux_mq_unlink */
1412 struct linux_mq_unlink_args *p = params;
1413 uarg[a++] = (intptr_t)p->name; /* const char * */
1417 /* linux_mq_timedsend */
1419 struct linux_mq_timedsend_args *p = params;
1420 iarg[a++] = p->mqd; /* l_mqd_t */
1421 uarg[a++] = (intptr_t)p->msg_ptr; /* const char * */
1422 iarg[a++] = p->msg_len; /* l_size_t */
1423 iarg[a++] = p->msg_prio; /* l_uint */
1424 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1428 /* linux_mq_timedreceive */
1430 struct linux_mq_timedreceive_args *p = params;
1431 iarg[a++] = p->mqd; /* l_mqd_t */
1432 uarg[a++] = (intptr_t)p->msg_ptr; /* char * */
1433 iarg[a++] = p->msg_len; /* l_size_t */
1434 uarg[a++] = (intptr_t)p->msg_prio; /* l_uint * */
1435 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1439 /* linux_mq_notify */
1441 struct linux_mq_notify_args *p = params;
1442 iarg[a++] = p->mqd; /* l_mqd_t */
1443 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1447 /* linux_mq_getsetattr */
1449 struct linux_mq_getsetattr_args *p = params;
1450 iarg[a++] = p->mqd; /* l_mqd_t */
1451 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr * */
1452 uarg[a++] = (intptr_t)p->oattr; /* struct mq_attr * */
1458 struct linux_msgget_args *p = params;
1459 iarg[a++] = p->key; /* l_key_t */
1460 iarg[a++] = p->msgflg; /* l_int */
1466 struct linux_msgctl_args *p = params;
1467 iarg[a++] = p->msqid; /* l_int */
1468 iarg[a++] = p->cmd; /* l_int */
1469 uarg[a++] = (intptr_t)p->buf; /* struct l_msqid_ds * */
1475 struct linux_msgrcv_args *p = params;
1476 iarg[a++] = p->msqid; /* l_int */
1477 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1478 iarg[a++] = p->msgsz; /* l_size_t */
1479 iarg[a++] = p->msgtyp; /* l_long */
1480 iarg[a++] = p->msgflg; /* l_int */
1486 struct linux_msgsnd_args *p = params;
1487 iarg[a++] = p->msqid; /* l_int */
1488 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1489 iarg[a++] = p->msgsz; /* l_size_t */
1490 iarg[a++] = p->msgflg; /* l_int */
1496 struct linux_semget_args *p = params;
1497 iarg[a++] = p->key; /* l_key_t */
1498 iarg[a++] = p->nsems; /* l_int */
1499 iarg[a++] = p->semflg; /* l_int */
1505 struct linux_semctl_args *p = params;
1506 iarg[a++] = p->semid; /* l_int */
1507 iarg[a++] = p->semnum; /* l_int */
1508 iarg[a++] = p->cmd; /* l_int */
1509 uarg[a++] = p->arg.buf; /* union l_semun */
1513 /* linux_semtimedop */
1515 struct linux_semtimedop_args *p = params;
1516 iarg[a++] = p->semid; /* l_int */
1517 uarg[a++] = (intptr_t)p->tsops; /* struct sembuf * */
1518 iarg[a++] = p->nsops; /* l_size_t */
1519 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1525 struct semop_args *p = params;
1526 iarg[a++] = p->semid; /* l_int */
1527 uarg[a++] = (intptr_t)p->sops; /* struct sembuf * */
1528 iarg[a++] = p->nsops; /* l_size_t */
1534 struct linux_shmget_args *p = params;
1535 iarg[a++] = p->key; /* l_key_t */
1536 iarg[a++] = p->size; /* l_size_t */
1537 iarg[a++] = p->shmflg; /* l_int */
1543 struct linux_shmctl_args *p = params;
1544 iarg[a++] = p->shmid; /* l_int */
1545 iarg[a++] = p->cmd; /* l_int */
1546 uarg[a++] = (intptr_t)p->buf; /* struct l_shmid_ds * */
1552 struct linux_shmat_args *p = params;
1553 iarg[a++] = p->shmid; /* l_int */
1554 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
1555 iarg[a++] = p->shmflg; /* l_int */
1561 struct linux_shmdt_args *p = params;
1562 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
1568 struct linux_socket_args *p = params;
1569 iarg[a++] = p->domain; /* l_int */
1570 iarg[a++] = p->type; /* l_int */
1571 iarg[a++] = p->protocol; /* l_int */
1575 /* linux_socketpair */
1577 struct linux_socketpair_args *p = params;
1578 iarg[a++] = p->domain; /* l_int */
1579 iarg[a++] = p->type; /* l_int */
1580 iarg[a++] = p->protocol; /* l_int */
1581 uarg[a++] = (intptr_t)p->rsv; /* l_uintptr_t */
1587 struct linux_bind_args *p = params;
1588 iarg[a++] = p->s; /* l_int */
1589 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
1590 iarg[a++] = p->namelen; /* l_int */
1596 struct linux_listen_args *p = params;
1597 iarg[a++] = p->s; /* l_int */
1598 iarg[a++] = p->backlog; /* l_int */
1604 struct linux_accept_args *p = params;
1605 iarg[a++] = p->s; /* l_int */
1606 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1607 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1613 struct linux_connect_args *p = params;
1614 iarg[a++] = p->s; /* l_int */
1615 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
1616 iarg[a++] = p->namelen; /* l_int */
1620 /* linux_getsockname */
1622 struct linux_getsockname_args *p = params;
1623 iarg[a++] = p->s; /* l_int */
1624 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1625 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1629 /* linux_getpeername */
1631 struct linux_getpeername_args *p = params;
1632 iarg[a++] = p->s; /* l_int */
1633 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1634 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1640 struct linux_sendto_args *p = params;
1641 iarg[a++] = p->s; /* l_int */
1642 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1643 iarg[a++] = p->len; /* l_size_t */
1644 iarg[a++] = p->flags; /* l_uint */
1645 uarg[a++] = (intptr_t)p->to; /* l_uintptr_t */
1646 iarg[a++] = p->tolen; /* l_int */
1650 /* linux_recvfrom */
1652 struct linux_recvfrom_args *p = params;
1653 iarg[a++] = p->s; /* l_int */
1654 uarg[a++] = (intptr_t)p->buf; /* l_uintptr_t */
1655 iarg[a++] = p->len; /* l_size_t */
1656 iarg[a++] = p->flags; /* l_uint */
1657 uarg[a++] = (intptr_t)p->from; /* l_uintptr_t */
1658 uarg[a++] = (intptr_t)p->fromlen; /* l_uintptr_t */
1662 /* linux_setsockopt */
1664 struct linux_setsockopt_args *p = params;
1665 iarg[a++] = p->s; /* l_int */
1666 iarg[a++] = p->level; /* l_int */
1667 iarg[a++] = p->optname; /* l_int */
1668 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
1669 iarg[a++] = p->optlen; /* l_int */
1673 /* linux_getsockopt */
1675 struct linux_getsockopt_args *p = params;
1676 iarg[a++] = p->s; /* l_int */
1677 iarg[a++] = p->level; /* l_int */
1678 iarg[a++] = p->optname; /* l_int */
1679 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
1680 uarg[a++] = (intptr_t)p->optlen; /* l_uintptr_t */
1684 /* linux_shutdown */
1686 struct linux_shutdown_args *p = params;
1687 iarg[a++] = p->s; /* l_int */
1688 iarg[a++] = p->how; /* l_int */
1694 struct linux_sendmsg_args *p = params;
1695 iarg[a++] = p->s; /* l_int */
1696 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1697 iarg[a++] = p->flags; /* l_uint */
1703 struct linux_recvmsg_args *p = params;
1704 iarg[a++] = p->s; /* l_int */
1705 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1706 iarg[a++] = p->flags; /* l_uint */
1712 struct linux_brk_args *p = params;
1713 iarg[a++] = p->dsend; /* l_ulong */
1719 struct munmap_args *p = params;
1720 uarg[a++] = (intptr_t)p->addr; /* void * */
1721 iarg[a++] = p->len; /* l_size_t */
1727 struct linux_mremap_args *p = params;
1728 iarg[a++] = p->addr; /* l_ulong */
1729 iarg[a++] = p->old_len; /* l_ulong */
1730 iarg[a++] = p->new_len; /* l_ulong */
1731 iarg[a++] = p->flags; /* l_ulong */
1732 iarg[a++] = p->new_addr; /* l_ulong */
1741 /* linux_request_key */
1753 struct linux_clone_args *p = params;
1754 iarg[a++] = p->flags; /* l_ulong */
1755 iarg[a++] = p->stack; /* l_ulong */
1756 uarg[a++] = (intptr_t)p->parent_tidptr; /* l_int * */
1757 iarg[a++] = p->tls; /* l_ulong */
1758 uarg[a++] = (intptr_t)p->child_tidptr; /* l_int * */
1764 struct linux_execve_args *p = params;
1765 uarg[a++] = (intptr_t)p->path; /* char * */
1766 uarg[a++] = (intptr_t)p->argp; /* char ** */
1767 uarg[a++] = (intptr_t)p->envp; /* char ** */
1773 struct linux_mmap2_args *p = params;
1774 iarg[a++] = p->addr; /* l_ulong */
1775 iarg[a++] = p->len; /* l_ulong */
1776 iarg[a++] = p->prot; /* l_ulong */
1777 iarg[a++] = p->flags; /* l_ulong */
1778 iarg[a++] = p->fd; /* l_ulong */
1779 iarg[a++] = p->pgoff; /* l_ulong */
1783 /* linux_fadvise64 */
1785 struct linux_fadvise64_args *p = params;
1786 iarg[a++] = p->fd; /* l_int */
1787 iarg[a++] = p->offset; /* l_loff_t */
1788 iarg[a++] = p->len; /* l_size_t */
1789 iarg[a++] = p->advice; /* l_int */
1795 struct swapon_args *p = params;
1796 uarg[a++] = (intptr_t)p->name; /* char * */
1805 /* linux_mprotect */
1807 struct linux_mprotect_args *p = params;
1808 iarg[a++] = p->addr; /* l_ulong */
1809 iarg[a++] = p->len; /* l_size_t */
1810 iarg[a++] = p->prot; /* l_ulong */
1816 struct linux_msync_args *p = params;
1817 iarg[a++] = p->addr; /* l_ulong */
1818 iarg[a++] = p->len; /* l_size_t */
1819 iarg[a++] = p->fl; /* l_int */
1825 struct mlock_args *p = params;
1826 uarg[a++] = (intptr_t)p->addr; /* const void * */
1827 uarg[a++] = p->len; /* size_t */
1833 struct munlock_args *p = params;
1834 uarg[a++] = (intptr_t)p->addr; /* const void * */
1835 uarg[a++] = p->len; /* size_t */
1841 struct mlockall_args *p = params;
1842 iarg[a++] = p->how; /* int */
1853 struct linux_mincore_args *p = params;
1854 iarg[a++] = p->start; /* l_ulong */
1855 iarg[a++] = p->len; /* l_size_t */
1856 uarg[a++] = (intptr_t)p->vec; /* u_char * */
1862 struct linux_madvise_args *p = params;
1863 iarg[a++] = p->addr; /* l_ulong */
1864 iarg[a++] = p->len; /* l_size_t */
1865 iarg[a++] = p->behav; /* l_int */
1869 /* linux_remap_file_pages */
1879 /* linux_get_mempolicy */
1884 /* linux_set_mempolicy */
1889 /* linux_migrate_pages */
1894 /* linux_move_pages */
1899 /* linux_rt_tgsigqueueinfo */
1901 struct linux_rt_tgsigqueueinfo_args *p = params;
1902 iarg[a++] = p->tgid; /* l_pid_t */
1903 iarg[a++] = p->tid; /* l_pid_t */
1904 iarg[a++] = p->sig; /* l_int */
1905 uarg[a++] = (intptr_t)p->uinfo; /* l_siginfo_t * */
1909 /* linux_perf_event_open */
1916 struct linux_accept4_args *p = params;
1917 iarg[a++] = p->s; /* l_int */
1918 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1919 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1920 iarg[a++] = p->flags; /* l_int */
1924 /* linux_recvmmsg */
1926 struct linux_recvmmsg_args *p = params;
1927 iarg[a++] = p->s; /* l_int */
1928 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
1929 iarg[a++] = p->vlen; /* l_uint */
1930 iarg[a++] = p->flags; /* l_uint */
1931 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1937 struct linux_wait4_args *p = params;
1938 iarg[a++] = p->pid; /* l_pid_t */
1939 uarg[a++] = (intptr_t)p->status; /* l_int * */
1940 iarg[a++] = p->options; /* l_int */
1941 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
1945 /* linux_prlimit64 */
1947 struct linux_prlimit64_args *p = params;
1948 iarg[a++] = p->pid; /* l_pid_t */
1949 iarg[a++] = p->resource; /* l_uint */
1950 uarg[a++] = (intptr_t)p->new; /* struct rlimit * */
1951 uarg[a++] = (intptr_t)p->old; /* struct rlimit * */
1955 /* linux_fanotify_init */
1960 /* linux_fanotify_mark */
1965 /* linux_name_to_handle_at */
1967 struct linux_name_to_handle_at_args *p = params;
1968 iarg[a++] = p->dirfd; /* l_int */
1969 uarg[a++] = (intptr_t)p->name; /* const char * */
1970 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
1971 uarg[a++] = (intptr_t)p->mnt_id; /* l_int * */
1972 iarg[a++] = p->flags; /* l_int */
1976 /* linux_open_by_handle_at */
1978 struct linux_open_by_handle_at_args *p = params;
1979 iarg[a++] = p->mountdirfd; /* l_int */
1980 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
1981 iarg[a++] = p->flags; /* l_int */
1985 /* linux_clock_adjtime */
1992 struct linux_syncfs_args *p = params;
1993 iarg[a++] = p->fd; /* l_int */
1999 struct linux_setns_args *p = params;
2000 iarg[a++] = p->fd; /* l_int */
2001 iarg[a++] = p->nstype; /* l_int */
2005 /* linux_sendmmsg */
2007 struct linux_sendmmsg_args *p = params;
2008 iarg[a++] = p->s; /* l_int */
2009 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2010 iarg[a++] = p->vlen; /* l_uint */
2011 iarg[a++] = p->flags; /* l_uint */
2015 /* linux_process_vm_readv */
2017 struct linux_process_vm_readv_args *p = params;
2018 iarg[a++] = p->pid; /* l_pid_t */
2019 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2020 iarg[a++] = p->liovcnt; /* l_ulong */
2021 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2022 iarg[a++] = p->riovcnt; /* l_ulong */
2023 iarg[a++] = p->flags; /* l_ulong */
2027 /* linux_process_vm_writev */
2029 struct linux_process_vm_writev_args *p = params;
2030 iarg[a++] = p->pid; /* l_pid_t */
2031 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2032 iarg[a++] = p->liovcnt; /* l_ulong */
2033 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2034 iarg[a++] = p->riovcnt; /* l_ulong */
2035 iarg[a++] = p->flags; /* l_ulong */
2041 struct linux_kcmp_args *p = params;
2042 iarg[a++] = p->pid1; /* l_pid_t */
2043 iarg[a++] = p->pid2; /* l_pid_t */
2044 iarg[a++] = p->type; /* l_int */
2045 iarg[a++] = p->idx1; /* l_ulong */
2046 iarg[a++] = p->idx; /* l_ulong */
2050 /* linux_finit_module */
2052 struct linux_finit_module_args *p = params;
2053 iarg[a++] = p->fd; /* l_int */
2054 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2055 iarg[a++] = p->flags; /* l_int */
2059 /* linux_sched_setattr */
2061 struct linux_sched_setattr_args *p = params;
2062 iarg[a++] = p->pid; /* l_pid_t */
2063 uarg[a++] = (intptr_t)p->attr; /* void * */
2064 iarg[a++] = p->flags; /* l_uint */
2068 /* linux_sched_getattr */
2070 struct linux_sched_getattr_args *p = params;
2071 iarg[a++] = p->pid; /* l_pid_t */
2072 uarg[a++] = (intptr_t)p->attr; /* void * */
2073 iarg[a++] = p->size; /* l_uint */
2074 iarg[a++] = p->flags; /* l_uint */
2078 /* linux_renameat2 */
2080 struct linux_renameat2_args *p = params;
2081 iarg[a++] = p->olddfd; /* l_int */
2082 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2083 iarg[a++] = p->newdfd; /* l_int */
2084 uarg[a++] = (intptr_t)p->newname; /* const char * */
2085 iarg[a++] = p->flags; /* l_uint */
2091 struct linux_seccomp_args *p = params;
2092 iarg[a++] = p->op; /* l_uint */
2093 iarg[a++] = p->flags; /* l_uint */
2094 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2098 /* linux_getrandom */
2100 struct linux_getrandom_args *p = params;
2101 uarg[a++] = (intptr_t)p->buf; /* char * */
2102 iarg[a++] = p->count; /* l_size_t */
2103 iarg[a++] = p->flags; /* l_uint */
2107 /* linux_memfd_create */
2109 struct linux_memfd_create_args *p = params;
2110 uarg[a++] = (intptr_t)p->uname_ptr; /* const char * */
2111 iarg[a++] = p->flags; /* l_uint */
2117 struct linux_bpf_args *p = params;
2118 iarg[a++] = p->cmd; /* l_int */
2119 uarg[a++] = (intptr_t)p->attr; /* void * */
2120 iarg[a++] = p->size; /* l_uint */
2124 /* linux_execveat */
2126 struct linux_execveat_args *p = params;
2127 iarg[a++] = p->dfd; /* l_int */
2128 uarg[a++] = (intptr_t)p->filename; /* const char * */
2129 uarg[a++] = (intptr_t)p->argv; /* const char ** */
2130 uarg[a++] = (intptr_t)p->envp; /* const char ** */
2131 iarg[a++] = p->flags; /* l_int */
2135 /* linux_userfaultfd */
2137 struct linux_userfaultfd_args *p = params;
2138 iarg[a++] = p->flags; /* l_int */
2142 /* linux_membarrier */
2144 struct linux_membarrier_args *p = params;
2145 iarg[a++] = p->cmd; /* l_int */
2146 iarg[a++] = p->flags; /* l_int */
2152 struct linux_mlock2_args *p = params;
2153 iarg[a++] = p->start; /* l_ulong */
2154 iarg[a++] = p->len; /* l_size_t */
2155 iarg[a++] = p->flags; /* l_int */
2159 /* linux_copy_file_range */
2161 struct linux_copy_file_range_args *p = params;
2162 iarg[a++] = p->fd_in; /* l_int */
2163 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
2164 iarg[a++] = p->fd_out; /* l_int */
2165 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
2166 iarg[a++] = p->len; /* l_size_t */
2167 iarg[a++] = p->flags; /* l_uint */
2173 struct linux_preadv2_args *p = params;
2174 iarg[a++] = p->fd; /* l_ulong */
2175 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2176 iarg[a++] = p->vlen; /* l_ulong */
2177 iarg[a++] = p->pos_l; /* l_ulong */
2178 iarg[a++] = p->pos_h; /* l_ulong */
2179 iarg[a++] = p->flags; /* l_int */
2183 /* linux_pwritev2 */
2185 struct linux_pwritev2_args *p = params;
2186 iarg[a++] = p->fd; /* l_ulong */
2187 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2188 iarg[a++] = p->vlen; /* l_ulong */
2189 iarg[a++] = p->pos_l; /* l_ulong */
2190 iarg[a++] = p->pos_h; /* l_ulong */
2191 iarg[a++] = p->flags; /* l_int */
2195 /* linux_pkey_mprotect */
2197 struct linux_pkey_mprotect_args *p = params;
2198 iarg[a++] = p->start; /* l_ulong */
2199 iarg[a++] = p->len; /* l_size_t */
2200 iarg[a++] = p->prot; /* l_ulong */
2201 iarg[a++] = p->pkey; /* l_int */
2205 /* linux_pkey_alloc */
2207 struct linux_pkey_alloc_args *p = params;
2208 iarg[a++] = p->flags; /* l_ulong */
2209 iarg[a++] = p->init_val; /* l_ulong */
2213 /* linux_pkey_free */
2215 struct linux_pkey_free_args *p = params;
2216 iarg[a++] = p->pkey; /* l_int */
2222 struct linux_statx_args *p = params;
2223 iarg[a++] = p->dirfd; /* l_int */
2224 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2225 iarg[a++] = p->flags; /* l_uint */
2226 iarg[a++] = p->mask; /* l_uint */
2227 uarg[a++] = (intptr_t)p->statxbuf; /* void * */
2231 /* linux_io_pgetevents */
2238 struct linux_rseq_args *p = params;
2239 uarg[a++] = (intptr_t)p->rseq; /* struct linux_rseq * */
2240 uarg[a++] = p->rseq_len; /* uint32_t */
2241 iarg[a++] = p->flags; /* l_int */
2242 uarg[a++] = p->sig; /* uint32_t */
2246 /* linux_kexec_file_load */
2251 /* linux_pidfd_send_signal */
2253 struct linux_pidfd_send_signal_args *p = params;
2254 iarg[a++] = p->pidfd; /* l_int */
2255 iarg[a++] = p->sig; /* l_int */
2256 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
2257 iarg[a++] = p->flags; /* l_uint */
2261 /* linux_io_uring_setup */
2266 /* linux_io_uring_enter */
2271 /* linux_io_uring_register */
2276 /* linux_open_tree */
2281 /* linux_move_mount */
2291 /* linux_fsconfig */
2306 /* linux_pidfd_open */
2313 struct linux_clone3_args *p = params;
2314 uarg[a++] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
2315 iarg[a++] = p->usize; /* l_size_t */
2319 /* linux_close_range */
2329 /* linux_pidfd_getfd */
2334 /* linux_faccessat2 */
2336 struct linux_faccessat2_args *p = params;
2337 iarg[a++] = p->dfd; /* l_int */
2338 uarg[a++] = (intptr_t)p->filename; /* const char * */
2339 iarg[a++] = p->amode; /* l_int */
2340 iarg[a++] = p->flags; /* l_int */
2344 /* linux_process_madvise */
2349 /* linux_epoll_pwait2 */
2351 struct linux_epoll_pwait2_args *p = params;
2352 iarg[a++] = p->epfd; /* l_int */
2353 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
2354 iarg[a++] = p->maxevents; /* l_int */
2355 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
2356 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
2357 iarg[a++] = p->sigsetsize; /* l_size_t */
2361 /* linux_mount_setattr */
2372 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2374 const char *p = NULL;
2376 #define nosys linux_nosys
2377 /* linux_setxattr */
2381 p = "userland const char *";
2384 p = "userland const char *";
2387 p = "userland const char *";
2399 /* linux_lsetxattr */
2403 p = "userland const char *";
2406 p = "userland const char *";
2409 p = "userland const char *";
2421 /* linux_fsetxattr */
2428 p = "userland const char *";
2431 p = "userland const char *";
2443 /* linux_getxattr */
2447 p = "userland const char *";
2450 p = "userland const char *";
2453 p = "userland char *";
2462 /* linux_lgetxattr */
2466 p = "userland const char *";
2469 p = "userland const char *";
2472 p = "userland char *";
2481 /* linux_fgetxattr */
2488 p = "userland const char *";
2491 p = "userland char *";
2500 /* linux_listxattr */
2504 p = "userland const char *";
2507 p = "userland const char *";
2516 /* linux_llistxattr */
2520 p = "userland const char *";
2523 p = "userland const char *";
2532 /* linux_flistxattr */
2539 p = "userland const char *";
2548 /* linux_removexattr */
2552 p = "userland const char *";
2555 p = "userland const char *";
2561 /* linux_lremovexattr */
2565 p = "userland const char *";
2568 p = "userland const char *";
2574 /* linux_fremovexattr */
2581 p = "userland const char *";
2591 p = "userland char *";
2600 /* linux_lookup_dcookie */
2603 /* linux_eventfd2 */
2616 /* linux_epoll_create1 */
2626 /* linux_epoll_ctl */
2639 p = "userland struct epoll_event *";
2645 /* linux_epoll_pwait */
2652 p = "userland struct epoll_event *";
2661 p = "userland l_sigset_t *";
2712 /* linux_inotify_init1 */
2722 /* linux_inotify_add_watch */
2725 /* linux_inotify_rm_watch */
2744 /* linux_ioprio_set */
2747 /* linux_ioprio_get */
2770 p = "userland const char *";
2789 p = "userland const char *";
2798 /* linux_unlinkat */
2805 p = "userland const char *";
2814 /* linux_symlinkat */
2818 p = "userland const char *";
2824 p = "userland const char *";
2837 p = "userland const char *";
2843 p = "userland const char *";
2852 /* linux_renameat */
2859 p = "userland const char *";
2865 p = "userland const char *";
2875 p = "userland char *";
2878 p = "userland char *";
2881 p = "userland char *";
2887 p = "userland void *";
2893 /* linux_pivot_root */
2900 p = "userland char *";
2903 p = "userland struct l_statfs_buf *";
2916 p = "userland struct l_statfs_buf *";
2922 /* linux_truncate */
2926 p = "userland char *";
2935 /* linux_ftruncate */
2948 /* linux_fallocate */
2967 /* linux_faccessat */
2974 p = "userland const char *";
2987 p = "userland char *";
3007 p = "userland char *";
3026 /* linux_fchmodat */
3033 p = "userland const char *";
3042 /* linux_fchownat */
3049 p = "userland const char *";
3087 p = "userland const char *";
3116 p = "userland l_int *";
3125 /* linux_getdents64 */
3132 p = "userland void *";
3164 p = "userland char *";
3180 p = "userland char *";
3196 p = "userland struct iovec *";
3212 p = "userland struct iovec *";
3228 p = "userland char *";
3247 p = "userland char *";
3266 p = "userland struct iovec *";
3288 p = "userland struct iovec *";
3303 /* linux_sendfile */
3313 p = "userland l_off_t *";
3322 /* linux_pselect6 */
3329 p = "userland l_fd_set *";
3332 p = "userland l_fd_set *";
3335 p = "userland l_fd_set *";
3338 p = "userland struct l_timespec *";
3341 p = "userland l_uintptr_t *";
3351 p = "userland struct pollfd *";
3357 p = "userland struct l_timespec *";
3360 p = "userland l_sigset_t *";
3369 /* linux_signalfd4 */
3372 /* linux_vmsplice */
3382 p = "userland l_loff_t *";
3388 p = "userland l_loff_t *";
3403 /* linux_readlinkat */
3410 p = "userland const char *";
3413 p = "userland char *";
3422 /* linux_newfstatat */
3429 p = "userland char *";
3432 p = "userland struct l_stat64 *";
3441 /* linux_newfstat */
3448 p = "userland struct l_newstat *";
3464 /* linux_fdatasync */
3474 /* linux_sync_file_range */
3493 /* linux_timerfd_create */
3506 /* linux_timerfd_settime */
3516 p = "userland const struct l_itimerspec *";
3519 p = "userland struct l_itimerspec *";
3525 /* linux_timerfd_gettime */
3532 p = "userland struct l_itimerspec *";
3538 /* linux_utimensat */
3545 p = "userland const char *";
3548 p = "userland const struct l_timespec *";
3561 p = "userland char *";
3571 p = "userland struct l_user_cap_header *";
3574 p = "userland struct l_user_cap_data *";
3584 p = "userland struct l_user_cap_header *";
3587 p = "userland struct l_user_cap_data *";
3593 /* linux_personality */
3613 /* linux_exit_group */
3633 p = "userland l_siginfo_t *";
3639 p = "userland struct rusage *";
3645 /* linux_set_tid_address */
3649 p = "userland l_int *";
3658 /* linux_sys_futex */
3662 p = "userland uint32_t *";
3671 p = "userland struct l_timespec *";
3674 p = "userland uint32_t *";
3683 /* linux_set_robust_list */
3687 p = "userland struct linux_robust_list_head *";
3696 /* linux_get_robust_list */
3703 p = "userland struct linux_robust_list_head **";
3706 p = "userland l_size_t *";
3712 /* linux_nanosleep */
3716 p = "userland const struct l_timespec *";
3719 p = "userland struct l_timespec *";
3725 /* linux_getitimer */
3732 p = "userland struct l_itimerval *";
3738 /* linux_setitimer */
3745 p = "userland struct l_itimerval *";
3748 p = "userland struct l_itimerval *";
3754 /* linux_kexec_load */
3757 /* linux_init_module */
3760 /* linux_delete_module */
3763 /* linux_timer_create */
3770 p = "userland struct sigevent *";
3773 p = "userland l_timer_t *";
3779 /* linux_timer_gettime */
3786 p = "userland struct itimerspec *";
3792 /* linux_timer_getoverrun */
3802 /* linux_timer_settime */
3812 p = "userland const struct itimerspec *";
3815 p = "userland struct itimerspec *";
3821 /* linux_timer_delete */
3831 /* linux_clock_settime */
3838 p = "userland struct l_timespec *";
3844 /* linux_clock_gettime */
3851 p = "userland struct l_timespec *";
3857 /* linux_clock_getres */
3864 p = "userland struct l_timespec *";
3870 /* linux_clock_nanosleep */
3880 p = "userland struct l_timespec *";
3883 p = "userland struct l_timespec *";
3896 p = "userland char *";
3924 /* linux_sched_setparam */
3931 p = "userland struct sched_param *";
3937 /* linux_sched_setscheduler */
3947 p = "userland struct sched_param *";
3953 /* linux_sched_getscheduler */
3963 /* linux_sched_getparam */
3970 p = "userland struct sched_param *";
3976 /* linux_sched_setaffinity */
3986 p = "userland l_ulong *";
3992 /* linux_sched_getaffinity */
4002 p = "userland l_ulong *";
4011 /* linux_sched_get_priority_max */
4021 /* linux_sched_get_priority_min */
4031 /* linux_sched_rr_get_interval */
4038 p = "userland struct l_timespec *";
4086 /* linux_sigaltstack */
4090 p = "userland l_stack_t *";
4093 p = "userland l_stack_t *";
4099 /* linux_rt_sigsuspend */
4103 p = "userland l_sigset_t *";
4112 /* linux_rt_sigaction */
4119 p = "userland l_sigaction_t *";
4122 p = "userland l_sigaction_t *";
4131 /* linux_rt_sigprocmask */
4138 p = "userland l_sigset_t *";
4141 p = "userland l_sigset_t *";
4150 /* linux_rt_sigpending */
4154 p = "userland l_sigset_t *";
4163 /* linux_rt_sigtimedwait */
4167 p = "userland l_sigset_t *";
4170 p = "userland l_siginfo_t *";
4173 p = "userland struct l_timespec *";
4182 /* linux_rt_sigqueueinfo */
4192 p = "userland l_siginfo_t *";
4198 /* linux_rt_sigreturn */
4217 /* linux_getpriority */
4243 p = "userland void *";
4315 p = "userland uid_t *";
4318 p = "userland uid_t *";
4321 p = "userland uid_t *";
4347 p = "userland gid_t *";
4350 p = "userland gid_t *";
4353 p = "userland gid_t *";
4359 /* linux_setfsuid */
4369 /* linux_setfsgid */
4383 p = "userland struct l_times_argv *";
4425 /* linux_getgroups */
4432 p = "userland l_gid_t *";
4438 /* linux_setgroups */
4445 p = "userland l_gid_t *";
4451 /* linux_newuname */
4455 p = "userland struct l_new_utsname *";
4461 /* linux_sethostname */
4465 p = "userland char *";
4474 /* linux_setdomainname */
4478 p = "userland char *";
4487 /* linux_getrlimit */
4494 p = "userland struct l_rlimit *";
4500 /* linux_setrlimit */
4507 p = "userland struct l_rlimit *";
4520 p = "userland struct rusage *";
4562 p = "userland l_uint *";
4565 p = "userland l_uint *";
4568 p = "userland void *";
4578 p = "userland struct l_timeval *";
4581 p = "userland struct timezone *";
4591 p = "userland struct l_timeval *";
4594 p = "userland struct timezone *";
4600 /* linux_adjtimex */
4628 p = "userland struct l_sysinfo *";
4638 p = "userland const char *";
4647 p = "userland struct mq_attr *";
4653 /* linux_mq_unlink */
4657 p = "userland const char *";
4663 /* linux_mq_timedsend */
4670 p = "userland const char *";
4679 p = "userland const struct l_timespec *";
4685 /* linux_mq_timedreceive */
4692 p = "userland char *";
4698 p = "userland l_uint *";
4701 p = "userland const struct l_timespec *";
4707 /* linux_mq_notify */
4714 p = "userland const struct l_timespec *";
4720 /* linux_mq_getsetattr */
4727 p = "userland const struct mq_attr *";
4730 p = "userland struct mq_attr *";
4759 p = "userland struct l_msqid_ds *";
4772 p = "userland struct l_msgbuf *";
4794 p = "userland struct l_msgbuf *";
4835 p = "union l_semun";
4841 /* linux_semtimedop */
4848 p = "userland struct sembuf *";
4854 p = "userland struct l_timespec *";
4867 p = "userland struct sembuf *";
4902 p = "userland struct l_shmid_ds *";
4915 p = "userland char *";
4928 p = "userland char *";
4950 /* linux_socketpair */
5030 /* linux_getsockname */
5046 /* linux_getpeername */
5087 /* linux_recvfrom */
5112 /* linux_setsockopt */
5134 /* linux_getsockopt */
5156 /* linux_shutdown */
5215 p = "userland void *";
5249 /* linux_request_key */
5265 p = "userland l_int *";
5271 p = "userland l_int *";
5281 p = "userland char *";
5284 p = "userland char **";
5287 p = "userland char **";
5318 /* linux_fadvise64 */
5341 p = "userland char *";
5350 /* linux_mprotect */
5386 p = "userland const void *";
5399 p = "userland const void *";
5431 p = "userland u_char *";
5453 /* linux_remap_file_pages */
5459 /* linux_get_mempolicy */
5462 /* linux_set_mempolicy */
5465 /* linux_migrate_pages */
5468 /* linux_move_pages */
5471 /* linux_rt_tgsigqueueinfo */
5484 p = "userland l_siginfo_t *";
5490 /* linux_perf_event_open */
5512 /* linux_recvmmsg */
5519 p = "userland struct l_mmsghdr *";
5528 p = "userland struct l_timespec *";
5541 p = "userland l_int *";
5547 p = "userland struct rusage *";
5553 /* linux_prlimit64 */
5563 p = "userland struct rlimit *";
5566 p = "userland struct rlimit *";
5572 /* linux_fanotify_init */
5575 /* linux_fanotify_mark */
5578 /* linux_name_to_handle_at */
5585 p = "userland const char *";
5588 p = "userland struct l_file_handle *";
5591 p = "userland l_int *";
5600 /* linux_open_by_handle_at */
5607 p = "userland struct l_file_handle *";
5616 /* linux_clock_adjtime */
5642 /* linux_sendmmsg */
5649 p = "userland struct l_mmsghdr *";
5661 /* linux_process_vm_readv */
5668 p = "userland const struct iovec *";
5674 p = "userland const struct iovec *";
5686 /* linux_process_vm_writev */
5693 p = "userland const struct iovec *";
5699 p = "userland const struct iovec *";
5733 /* linux_finit_module */
5740 p = "userland const char *";
5749 /* linux_sched_setattr */
5756 p = "userland void *";
5765 /* linux_sched_getattr */
5772 p = "userland void *";
5784 /* linux_renameat2 */
5791 p = "userland const char *";
5797 p = "userland const char *";
5816 p = "userland const char *";
5822 /* linux_getrandom */
5826 p = "userland char *";
5838 /* linux_memfd_create */
5842 p = "userland const char *";
5858 p = "userland void *";
5867 /* linux_execveat */
5874 p = "userland const char *";
5877 p = "userland const char **";
5880 p = "userland const char **";
5889 /* linux_userfaultfd */
5899 /* linux_membarrier */
5928 /* linux_copy_file_range */
5935 p = "userland l_loff_t *";
5941 p = "userland l_loff_t *";
5960 p = "userland const struct iovec *";
5978 /* linux_pwritev2 */
5985 p = "userland const struct iovec *";
6003 /* linux_pkey_mprotect */
6022 /* linux_pkey_alloc */
6035 /* linux_pkey_free */
6052 p = "userland const char *";
6061 p = "userland void *";
6067 /* linux_io_pgetevents */
6074 p = "userland struct linux_rseq *";
6089 /* linux_kexec_file_load */
6092 /* linux_pidfd_send_signal */
6102 p = "userland l_siginfo_t *";
6111 /* linux_io_uring_setup */
6114 /* linux_io_uring_enter */
6117 /* linux_io_uring_register */
6120 /* linux_open_tree */
6123 /* linux_move_mount */
6129 /* linux_fsconfig */
6138 /* linux_pidfd_open */
6145 p = "userland struct l_user_clone_args *";
6154 /* linux_close_range */
6160 /* linux_pidfd_getfd */
6163 /* linux_faccessat2 */
6170 p = "userland const char *";
6182 /* linux_process_madvise */
6185 /* linux_epoll_pwait2 */
6192 p = "userland struct epoll_event *";
6198 p = "userland struct l_timespec *";
6201 p = "userland l_sigset_t *";
6210 /* linux_mount_setattr */
6217 strlcpy(desc, p, descsz);
6220 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6222 const char *p = NULL;
6224 #define nosys linux_nosys
6225 /* linux_setxattr */
6227 if (ndx == 0 || ndx == 1)
6230 /* linux_lsetxattr */
6232 if (ndx == 0 || ndx == 1)
6235 /* linux_fsetxattr */
6237 if (ndx == 0 || ndx == 1)
6240 /* linux_getxattr */
6242 if (ndx == 0 || ndx == 1)
6245 /* linux_lgetxattr */
6247 if (ndx == 0 || ndx == 1)
6250 /* linux_fgetxattr */
6252 if (ndx == 0 || ndx == 1)
6255 /* linux_listxattr */
6257 if (ndx == 0 || ndx == 1)
6260 /* linux_llistxattr */
6262 if (ndx == 0 || ndx == 1)
6265 /* linux_flistxattr */
6267 if (ndx == 0 || ndx == 1)
6270 /* linux_removexattr */
6272 if (ndx == 0 || ndx == 1)
6275 /* linux_lremovexattr */
6277 if (ndx == 0 || ndx == 1)
6280 /* linux_fremovexattr */
6282 if (ndx == 0 || ndx == 1)
6287 if (ndx == 0 || ndx == 1)
6290 /* linux_lookup_dcookie */
6292 /* linux_eventfd2 */
6294 if (ndx == 0 || ndx == 1)
6297 /* linux_epoll_create1 */
6299 if (ndx == 0 || ndx == 1)
6302 /* linux_epoll_ctl */
6304 if (ndx == 0 || ndx == 1)
6307 /* linux_epoll_pwait */
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_inotify_init1 */
6329 if (ndx == 0 || ndx == 1)
6332 /* linux_inotify_add_watch */
6334 /* linux_inotify_rm_watch */
6338 if (ndx == 0 || ndx == 1)
6341 /* linux_ioprio_set */
6343 /* linux_ioprio_get */
6347 if (ndx == 0 || ndx == 1)
6352 if (ndx == 0 || ndx == 1)
6357 if (ndx == 0 || ndx == 1)
6360 /* linux_unlinkat */
6362 if (ndx == 0 || ndx == 1)
6365 /* linux_symlinkat */
6367 if (ndx == 0 || ndx == 1)
6372 if (ndx == 0 || ndx == 1)
6375 /* linux_renameat */
6377 if (ndx == 0 || ndx == 1)
6382 if (ndx == 0 || ndx == 1)
6385 /* linux_pivot_root */
6389 if (ndx == 0 || ndx == 1)
6394 if (ndx == 0 || ndx == 1)
6397 /* linux_truncate */
6399 if (ndx == 0 || ndx == 1)
6402 /* linux_ftruncate */
6404 if (ndx == 0 || ndx == 1)
6407 /* linux_fallocate */
6409 if (ndx == 0 || ndx == 1)
6412 /* linux_faccessat */
6414 if (ndx == 0 || ndx == 1)
6419 if (ndx == 0 || ndx == 1)
6424 if (ndx == 0 || ndx == 1)
6429 if (ndx == 0 || ndx == 1)
6434 if (ndx == 0 || ndx == 1)
6437 /* linux_fchmodat */
6439 if (ndx == 0 || ndx == 1)
6442 /* linux_fchownat */
6444 if (ndx == 0 || ndx == 1)
6449 if (ndx == 0 || ndx == 1)
6454 if (ndx == 0 || ndx == 1)
6459 if (ndx == 0 || ndx == 1)
6466 if (ndx == 0 || ndx == 1)
6469 /* linux_getdents64 */
6471 if (ndx == 0 || ndx == 1)
6476 if (ndx == 0 || ndx == 1)
6481 if (ndx == 0 || ndx == 1)
6486 if (ndx == 0 || ndx == 1)
6491 if (ndx == 0 || ndx == 1)
6496 if (ndx == 0 || ndx == 1)
6501 if (ndx == 0 || ndx == 1)
6506 if (ndx == 0 || ndx == 1)
6511 if (ndx == 0 || ndx == 1)
6516 if (ndx == 0 || ndx == 1)
6519 /* linux_sendfile */
6521 if (ndx == 0 || ndx == 1)
6524 /* linux_pselect6 */
6526 if (ndx == 0 || ndx == 1)
6531 if (ndx == 0 || ndx == 1)
6534 /* linux_signalfd4 */
6536 /* linux_vmsplice */
6540 if (ndx == 0 || ndx == 1)
6545 /* linux_readlinkat */
6547 if (ndx == 0 || ndx == 1)
6550 /* linux_newfstatat */
6552 if (ndx == 0 || ndx == 1)
6555 /* linux_newfstat */
6557 if (ndx == 0 || ndx == 1)
6562 if (ndx == 0 || ndx == 1)
6565 /* linux_fdatasync */
6567 if (ndx == 0 || ndx == 1)
6570 /* linux_sync_file_range */
6572 if (ndx == 0 || ndx == 1)
6575 /* linux_timerfd_create */
6577 if (ndx == 0 || ndx == 1)
6580 /* linux_timerfd_settime */
6582 if (ndx == 0 || ndx == 1)
6585 /* linux_timerfd_gettime */
6587 if (ndx == 0 || ndx == 1)
6590 /* linux_utimensat */
6592 if (ndx == 0 || ndx == 1)
6597 if (ndx == 0 || ndx == 1)
6602 if (ndx == 0 || ndx == 1)
6607 if (ndx == 0 || ndx == 1)
6610 /* linux_personality */
6612 if (ndx == 0 || ndx == 1)
6617 if (ndx == 0 || ndx == 1)
6620 /* linux_exit_group */
6622 if (ndx == 0 || ndx == 1)
6627 if (ndx == 0 || ndx == 1)
6630 /* linux_set_tid_address */
6632 if (ndx == 0 || ndx == 1)
6637 /* linux_sys_futex */
6639 if (ndx == 0 || ndx == 1)
6642 /* linux_set_robust_list */
6644 if (ndx == 0 || ndx == 1)
6647 /* linux_get_robust_list */
6649 if (ndx == 0 || ndx == 1)
6652 /* linux_nanosleep */
6654 if (ndx == 0 || ndx == 1)
6657 /* linux_getitimer */
6659 if (ndx == 0 || ndx == 1)
6662 /* linux_setitimer */
6664 if (ndx == 0 || ndx == 1)
6667 /* linux_kexec_load */
6669 /* linux_init_module */
6671 /* linux_delete_module */
6673 /* linux_timer_create */
6675 if (ndx == 0 || ndx == 1)
6678 /* linux_timer_gettime */
6680 if (ndx == 0 || ndx == 1)
6683 /* linux_timer_getoverrun */
6685 if (ndx == 0 || ndx == 1)
6688 /* linux_timer_settime */
6690 if (ndx == 0 || ndx == 1)
6693 /* linux_timer_delete */
6695 if (ndx == 0 || ndx == 1)
6698 /* linux_clock_settime */
6700 if (ndx == 0 || ndx == 1)
6703 /* linux_clock_gettime */
6705 if (ndx == 0 || ndx == 1)
6708 /* linux_clock_getres */
6710 if (ndx == 0 || ndx == 1)
6713 /* linux_clock_nanosleep */
6715 if (ndx == 0 || ndx == 1)
6720 if (ndx == 0 || ndx == 1)
6725 if (ndx == 0 || ndx == 1)
6728 /* linux_sched_setparam */
6730 if (ndx == 0 || ndx == 1)
6733 /* linux_sched_setscheduler */
6735 if (ndx == 0 || ndx == 1)
6738 /* linux_sched_getscheduler */
6740 if (ndx == 0 || ndx == 1)
6743 /* linux_sched_getparam */
6745 if (ndx == 0 || ndx == 1)
6748 /* linux_sched_setaffinity */
6750 if (ndx == 0 || ndx == 1)
6753 /* linux_sched_getaffinity */
6755 if (ndx == 0 || ndx == 1)
6760 /* linux_sched_get_priority_max */
6762 if (ndx == 0 || ndx == 1)
6765 /* linux_sched_get_priority_min */
6767 if (ndx == 0 || ndx == 1)
6770 /* linux_sched_rr_get_interval */
6772 if (ndx == 0 || ndx == 1)
6777 if (ndx == 0 || ndx == 1)
6782 if (ndx == 0 || ndx == 1)
6787 if (ndx == 0 || ndx == 1)
6790 /* linux_sigaltstack */
6792 if (ndx == 0 || ndx == 1)
6795 /* linux_rt_sigsuspend */
6797 if (ndx == 0 || ndx == 1)
6800 /* linux_rt_sigaction */
6802 if (ndx == 0 || ndx == 1)
6805 /* linux_rt_sigprocmask */
6807 if (ndx == 0 || ndx == 1)
6810 /* linux_rt_sigpending */
6812 if (ndx == 0 || ndx == 1)
6815 /* linux_rt_sigtimedwait */
6817 if (ndx == 0 || ndx == 1)
6820 /* linux_rt_sigqueueinfo */
6822 if (ndx == 0 || ndx == 1)
6825 /* linux_rt_sigreturn */
6829 if (ndx == 0 || ndx == 1)
6832 /* linux_getpriority */
6834 if (ndx == 0 || ndx == 1)
6839 if (ndx == 0 || ndx == 1)
6844 if (ndx == 0 || ndx == 1)
6849 if (ndx == 0 || ndx == 1)
6854 if (ndx == 0 || ndx == 1)
6859 if (ndx == 0 || ndx == 1)
6864 if (ndx == 0 || ndx == 1)
6869 if (ndx == 0 || ndx == 1)
6874 if (ndx == 0 || ndx == 1)
6879 if (ndx == 0 || ndx == 1)
6882 /* linux_setfsuid */
6884 if (ndx == 0 || ndx == 1)
6887 /* linux_setfsgid */
6889 if (ndx == 0 || ndx == 1)
6894 if (ndx == 0 || ndx == 1)
6899 if (ndx == 0 || ndx == 1)
6904 if (ndx == 0 || ndx == 1)
6909 if (ndx == 0 || ndx == 1)
6914 /* linux_getgroups */
6916 if (ndx == 0 || ndx == 1)
6919 /* linux_setgroups */
6921 if (ndx == 0 || ndx == 1)
6924 /* linux_newuname */
6926 if (ndx == 0 || ndx == 1)
6929 /* linux_sethostname */
6931 if (ndx == 0 || ndx == 1)
6934 /* linux_setdomainname */
6936 if (ndx == 0 || ndx == 1)
6939 /* linux_getrlimit */
6941 if (ndx == 0 || ndx == 1)
6944 /* linux_setrlimit */
6946 if (ndx == 0 || ndx == 1)
6951 if (ndx == 0 || ndx == 1)
6956 if (ndx == 0 || ndx == 1)
6961 if (ndx == 0 || ndx == 1)
6966 if (ndx == 0 || ndx == 1)
6971 if (ndx == 0 || ndx == 1)
6976 if (ndx == 0 || ndx == 1)
6979 /* linux_adjtimex */
6997 if (ndx == 0 || ndx == 1)
7002 if (ndx == 0 || ndx == 1)
7005 /* linux_mq_unlink */
7007 if (ndx == 0 || ndx == 1)
7010 /* linux_mq_timedsend */
7012 if (ndx == 0 || ndx == 1)
7015 /* linux_mq_timedreceive */
7017 if (ndx == 0 || ndx == 1)
7020 /* linux_mq_notify */
7022 if (ndx == 0 || ndx == 1)
7025 /* linux_mq_getsetattr */
7027 if (ndx == 0 || ndx == 1)
7032 if (ndx == 0 || ndx == 1)
7037 if (ndx == 0 || ndx == 1)
7042 if (ndx == 0 || ndx == 1)
7047 if (ndx == 0 || ndx == 1)
7052 if (ndx == 0 || ndx == 1)
7057 if (ndx == 0 || ndx == 1)
7060 /* linux_semtimedop */
7062 if (ndx == 0 || ndx == 1)
7067 if (ndx == 0 || ndx == 1)
7072 if (ndx == 0 || ndx == 1)
7077 if (ndx == 0 || ndx == 1)
7082 if (ndx == 0 || ndx == 1)
7087 if (ndx == 0 || ndx == 1)
7092 if (ndx == 0 || ndx == 1)
7095 /* linux_socketpair */
7097 if (ndx == 0 || ndx == 1)
7102 if (ndx == 0 || ndx == 1)
7107 if (ndx == 0 || ndx == 1)
7112 if (ndx == 0 || ndx == 1)
7117 if (ndx == 0 || ndx == 1)
7120 /* linux_getsockname */
7122 if (ndx == 0 || ndx == 1)
7125 /* linux_getpeername */
7127 if (ndx == 0 || ndx == 1)
7132 if (ndx == 0 || ndx == 1)
7135 /* linux_recvfrom */
7137 if (ndx == 0 || ndx == 1)
7140 /* linux_setsockopt */
7142 if (ndx == 0 || ndx == 1)
7145 /* linux_getsockopt */
7147 if (ndx == 0 || ndx == 1)
7150 /* linux_shutdown */
7152 if (ndx == 0 || ndx == 1)
7157 if (ndx == 0 || ndx == 1)
7162 if (ndx == 0 || ndx == 1)
7167 if (ndx == 0 || ndx == 1)
7172 if (ndx == 0 || ndx == 1)
7177 if (ndx == 0 || ndx == 1)
7182 /* linux_request_key */
7188 if (ndx == 0 || ndx == 1)
7193 if (ndx == 0 || ndx == 1)
7198 if (ndx == 0 || ndx == 1)
7201 /* linux_fadvise64 */
7203 if (ndx == 0 || ndx == 1)
7208 if (ndx == 0 || ndx == 1)
7213 /* linux_mprotect */
7215 if (ndx == 0 || ndx == 1)
7220 if (ndx == 0 || ndx == 1)
7225 if (ndx == 0 || ndx == 1)
7230 if (ndx == 0 || ndx == 1)
7235 if (ndx == 0 || ndx == 1)
7242 if (ndx == 0 || ndx == 1)
7247 if (ndx == 0 || ndx == 1)
7250 /* linux_remap_file_pages */
7254 /* linux_get_mempolicy */
7256 /* linux_set_mempolicy */
7258 /* linux_migrate_pages */
7260 /* linux_move_pages */
7262 /* linux_rt_tgsigqueueinfo */
7264 if (ndx == 0 || ndx == 1)
7267 /* linux_perf_event_open */
7271 if (ndx == 0 || ndx == 1)
7274 /* linux_recvmmsg */
7276 if (ndx == 0 || ndx == 1)
7281 if (ndx == 0 || ndx == 1)
7284 /* linux_prlimit64 */
7286 if (ndx == 0 || ndx == 1)
7289 /* linux_fanotify_init */
7291 /* linux_fanotify_mark */
7293 /* linux_name_to_handle_at */
7295 if (ndx == 0 || ndx == 1)
7298 /* linux_open_by_handle_at */
7300 if (ndx == 0 || ndx == 1)
7303 /* linux_clock_adjtime */
7307 if (ndx == 0 || ndx == 1)
7312 if (ndx == 0 || ndx == 1)
7315 /* linux_sendmmsg */
7317 if (ndx == 0 || ndx == 1)
7320 /* linux_process_vm_readv */
7322 if (ndx == 0 || ndx == 1)
7325 /* linux_process_vm_writev */
7327 if (ndx == 0 || ndx == 1)
7332 if (ndx == 0 || ndx == 1)
7335 /* linux_finit_module */
7337 if (ndx == 0 || ndx == 1)
7340 /* linux_sched_setattr */
7342 if (ndx == 0 || ndx == 1)
7345 /* linux_sched_getattr */
7347 if (ndx == 0 || ndx == 1)
7350 /* linux_renameat2 */
7352 if (ndx == 0 || ndx == 1)
7357 if (ndx == 0 || ndx == 1)
7360 /* linux_getrandom */
7362 if (ndx == 0 || ndx == 1)
7365 /* linux_memfd_create */
7367 if (ndx == 0 || ndx == 1)
7372 if (ndx == 0 || ndx == 1)
7375 /* linux_execveat */
7377 if (ndx == 0 || ndx == 1)
7380 /* linux_userfaultfd */
7382 if (ndx == 0 || ndx == 1)
7385 /* linux_membarrier */
7387 if (ndx == 0 || ndx == 1)
7392 if (ndx == 0 || ndx == 1)
7395 /* linux_copy_file_range */
7397 if (ndx == 0 || ndx == 1)
7402 if (ndx == 0 || ndx == 1)
7405 /* linux_pwritev2 */
7407 if (ndx == 0 || ndx == 1)
7410 /* linux_pkey_mprotect */
7412 if (ndx == 0 || ndx == 1)
7415 /* linux_pkey_alloc */
7417 if (ndx == 0 || ndx == 1)
7420 /* linux_pkey_free */
7422 if (ndx == 0 || ndx == 1)
7427 if (ndx == 0 || ndx == 1)
7430 /* linux_io_pgetevents */
7434 if (ndx == 0 || ndx == 1)
7437 /* linux_kexec_file_load */
7439 /* linux_pidfd_send_signal */
7441 if (ndx == 0 || ndx == 1)
7444 /* linux_io_uring_setup */
7446 /* linux_io_uring_enter */
7448 /* linux_io_uring_register */
7450 /* linux_open_tree */
7452 /* linux_move_mount */
7456 /* linux_fsconfig */
7462 /* linux_pidfd_open */
7466 if (ndx == 0 || ndx == 1)
7469 /* linux_close_range */
7473 /* linux_pidfd_getfd */
7475 /* linux_faccessat2 */
7477 if (ndx == 0 || ndx == 1)
7480 /* linux_process_madvise */
7482 /* linux_epoll_pwait2 */
7484 if (ndx == 0 || ndx == 1)
7487 /* linux_mount_setattr */
7493 strlcpy(desc, p, descsz);