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 */
1520 struct linux_semop_args *p = params;
1521 iarg[a++] = p->semid; /* l_int */
1522 uarg[a++] = (intptr_t)p->tsops; /* struct l_sembuf * */
1523 iarg[a++] = p->nsops; /* l_uint */
1529 struct linux_shmget_args *p = params;
1530 iarg[a++] = p->key; /* l_key_t */
1531 iarg[a++] = p->size; /* l_size_t */
1532 iarg[a++] = p->shmflg; /* l_int */
1538 struct linux_shmctl_args *p = params;
1539 iarg[a++] = p->shmid; /* l_int */
1540 iarg[a++] = p->cmd; /* l_int */
1541 uarg[a++] = (intptr_t)p->buf; /* struct l_shmid_ds * */
1547 struct linux_shmat_args *p = params;
1548 iarg[a++] = p->shmid; /* l_int */
1549 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
1550 iarg[a++] = p->shmflg; /* l_int */
1556 struct linux_shmdt_args *p = params;
1557 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
1563 struct linux_socket_args *p = params;
1564 iarg[a++] = p->domain; /* l_int */
1565 iarg[a++] = p->type; /* l_int */
1566 iarg[a++] = p->protocol; /* l_int */
1570 /* linux_socketpair */
1572 struct linux_socketpair_args *p = params;
1573 iarg[a++] = p->domain; /* l_int */
1574 iarg[a++] = p->type; /* l_int */
1575 iarg[a++] = p->protocol; /* l_int */
1576 uarg[a++] = (intptr_t)p->rsv; /* l_uintptr_t */
1582 struct linux_bind_args *p = params;
1583 iarg[a++] = p->s; /* l_int */
1584 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
1585 iarg[a++] = p->namelen; /* l_int */
1591 struct linux_listen_args *p = params;
1592 iarg[a++] = p->s; /* l_int */
1593 iarg[a++] = p->backlog; /* l_int */
1599 struct linux_accept_args *p = params;
1600 iarg[a++] = p->s; /* l_int */
1601 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1602 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1608 struct linux_connect_args *p = params;
1609 iarg[a++] = p->s; /* l_int */
1610 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
1611 iarg[a++] = p->namelen; /* l_int */
1615 /* linux_getsockname */
1617 struct linux_getsockname_args *p = params;
1618 iarg[a++] = p->s; /* l_int */
1619 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1620 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1624 /* linux_getpeername */
1626 struct linux_getpeername_args *p = params;
1627 iarg[a++] = p->s; /* l_int */
1628 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1629 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1635 struct linux_sendto_args *p = params;
1636 iarg[a++] = p->s; /* l_int */
1637 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1638 iarg[a++] = p->len; /* l_size_t */
1639 iarg[a++] = p->flags; /* l_uint */
1640 uarg[a++] = (intptr_t)p->to; /* l_uintptr_t */
1641 iarg[a++] = p->tolen; /* l_int */
1645 /* linux_recvfrom */
1647 struct linux_recvfrom_args *p = params;
1648 iarg[a++] = p->s; /* l_int */
1649 uarg[a++] = (intptr_t)p->buf; /* l_uintptr_t */
1650 iarg[a++] = p->len; /* l_size_t */
1651 iarg[a++] = p->flags; /* l_uint */
1652 uarg[a++] = (intptr_t)p->from; /* l_uintptr_t */
1653 uarg[a++] = (intptr_t)p->fromlen; /* l_uintptr_t */
1657 /* linux_setsockopt */
1659 struct linux_setsockopt_args *p = params;
1660 iarg[a++] = p->s; /* l_int */
1661 iarg[a++] = p->level; /* l_int */
1662 iarg[a++] = p->optname; /* l_int */
1663 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
1664 iarg[a++] = p->optlen; /* l_int */
1668 /* linux_getsockopt */
1670 struct linux_getsockopt_args *p = params;
1671 iarg[a++] = p->s; /* l_int */
1672 iarg[a++] = p->level; /* l_int */
1673 iarg[a++] = p->optname; /* l_int */
1674 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
1675 uarg[a++] = (intptr_t)p->optlen; /* l_uintptr_t */
1679 /* linux_shutdown */
1681 struct linux_shutdown_args *p = params;
1682 iarg[a++] = p->s; /* l_int */
1683 iarg[a++] = p->how; /* l_int */
1689 struct linux_sendmsg_args *p = params;
1690 iarg[a++] = p->s; /* l_int */
1691 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1692 iarg[a++] = p->flags; /* l_uint */
1698 struct linux_recvmsg_args *p = params;
1699 iarg[a++] = p->s; /* l_int */
1700 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1701 iarg[a++] = p->flags; /* l_uint */
1707 struct linux_brk_args *p = params;
1708 iarg[a++] = p->dsend; /* l_ulong */
1714 struct munmap_args *p = params;
1715 uarg[a++] = (intptr_t)p->addr; /* void * */
1716 iarg[a++] = p->len; /* l_size_t */
1722 struct linux_mremap_args *p = params;
1723 iarg[a++] = p->addr; /* l_ulong */
1724 iarg[a++] = p->old_len; /* l_ulong */
1725 iarg[a++] = p->new_len; /* l_ulong */
1726 iarg[a++] = p->flags; /* l_ulong */
1727 iarg[a++] = p->new_addr; /* l_ulong */
1736 /* linux_request_key */
1748 struct linux_clone_args *p = params;
1749 iarg[a++] = p->flags; /* l_ulong */
1750 iarg[a++] = p->stack; /* l_ulong */
1751 uarg[a++] = (intptr_t)p->parent_tidptr; /* l_int * */
1752 iarg[a++] = p->tls; /* l_ulong */
1753 uarg[a++] = (intptr_t)p->child_tidptr; /* l_int * */
1759 struct linux_execve_args *p = params;
1760 uarg[a++] = (intptr_t)p->path; /* char * */
1761 uarg[a++] = (intptr_t)p->argp; /* char ** */
1762 uarg[a++] = (intptr_t)p->envp; /* char ** */
1768 struct linux_mmap2_args *p = params;
1769 iarg[a++] = p->addr; /* l_ulong */
1770 iarg[a++] = p->len; /* l_ulong */
1771 iarg[a++] = p->prot; /* l_ulong */
1772 iarg[a++] = p->flags; /* l_ulong */
1773 iarg[a++] = p->fd; /* l_ulong */
1774 iarg[a++] = p->pgoff; /* l_ulong */
1778 /* linux_fadvise64 */
1780 struct linux_fadvise64_args *p = params;
1781 iarg[a++] = p->fd; /* l_int */
1782 iarg[a++] = p->offset; /* l_loff_t */
1783 iarg[a++] = p->len; /* l_size_t */
1784 iarg[a++] = p->advice; /* l_int */
1790 struct swapon_args *p = params;
1791 uarg[a++] = (intptr_t)p->name; /* char * */
1800 /* linux_mprotect */
1802 struct linux_mprotect_args *p = params;
1803 iarg[a++] = p->addr; /* l_ulong */
1804 iarg[a++] = p->len; /* l_size_t */
1805 iarg[a++] = p->prot; /* l_ulong */
1811 struct linux_msync_args *p = params;
1812 iarg[a++] = p->addr; /* l_ulong */
1813 iarg[a++] = p->len; /* l_size_t */
1814 iarg[a++] = p->fl; /* l_int */
1820 struct mlock_args *p = params;
1821 uarg[a++] = (intptr_t)p->addr; /* const void * */
1822 uarg[a++] = p->len; /* size_t */
1828 struct munlock_args *p = params;
1829 uarg[a++] = (intptr_t)p->addr; /* const void * */
1830 uarg[a++] = p->len; /* size_t */
1836 struct mlockall_args *p = params;
1837 iarg[a++] = p->how; /* int */
1848 struct linux_mincore_args *p = params;
1849 iarg[a++] = p->start; /* l_ulong */
1850 iarg[a++] = p->len; /* l_size_t */
1851 uarg[a++] = (intptr_t)p->vec; /* u_char * */
1857 struct linux_madvise_args *p = params;
1858 iarg[a++] = p->addr; /* l_ulong */
1859 iarg[a++] = p->len; /* l_size_t */
1860 iarg[a++] = p->behav; /* l_int */
1864 /* linux_remap_file_pages */
1874 /* linux_get_mempolicy */
1879 /* linux_set_mempolicy */
1884 /* linux_migrate_pages */
1889 /* linux_move_pages */
1894 /* linux_rt_tgsigqueueinfo */
1896 struct linux_rt_tgsigqueueinfo_args *p = params;
1897 iarg[a++] = p->tgid; /* l_pid_t */
1898 iarg[a++] = p->tid; /* l_pid_t */
1899 iarg[a++] = p->sig; /* l_int */
1900 uarg[a++] = (intptr_t)p->uinfo; /* l_siginfo_t * */
1904 /* linux_perf_event_open */
1911 struct linux_accept4_args *p = params;
1912 iarg[a++] = p->s; /* l_int */
1913 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1914 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1915 iarg[a++] = p->flags; /* l_int */
1919 /* linux_recvmmsg */
1921 struct linux_recvmmsg_args *p = params;
1922 iarg[a++] = p->s; /* l_int */
1923 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
1924 iarg[a++] = p->vlen; /* l_uint */
1925 iarg[a++] = p->flags; /* l_uint */
1926 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1932 struct linux_wait4_args *p = params;
1933 iarg[a++] = p->pid; /* l_pid_t */
1934 uarg[a++] = (intptr_t)p->status; /* l_int * */
1935 iarg[a++] = p->options; /* l_int */
1936 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
1940 /* linux_prlimit64 */
1942 struct linux_prlimit64_args *p = params;
1943 iarg[a++] = p->pid; /* l_pid_t */
1944 iarg[a++] = p->resource; /* l_uint */
1945 uarg[a++] = (intptr_t)p->new; /* struct rlimit * */
1946 uarg[a++] = (intptr_t)p->old; /* struct rlimit * */
1950 /* linux_fanotify_init */
1955 /* linux_fanotify_mark */
1960 /* linux_name_to_handle_at */
1962 struct linux_name_to_handle_at_args *p = params;
1963 iarg[a++] = p->dirfd; /* l_int */
1964 uarg[a++] = (intptr_t)p->name; /* const char * */
1965 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
1966 uarg[a++] = (intptr_t)p->mnt_id; /* l_int * */
1967 iarg[a++] = p->flags; /* l_int */
1971 /* linux_open_by_handle_at */
1973 struct linux_open_by_handle_at_args *p = params;
1974 iarg[a++] = p->mountdirfd; /* l_int */
1975 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
1976 iarg[a++] = p->flags; /* l_int */
1980 /* linux_clock_adjtime */
1987 struct linux_syncfs_args *p = params;
1988 iarg[a++] = p->fd; /* l_int */
1994 struct linux_setns_args *p = params;
1995 iarg[a++] = p->fd; /* l_int */
1996 iarg[a++] = p->nstype; /* l_int */
2000 /* linux_sendmmsg */
2002 struct linux_sendmmsg_args *p = params;
2003 iarg[a++] = p->s; /* l_int */
2004 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2005 iarg[a++] = p->vlen; /* l_uint */
2006 iarg[a++] = p->flags; /* l_uint */
2010 /* linux_process_vm_readv */
2012 struct linux_process_vm_readv_args *p = params;
2013 iarg[a++] = p->pid; /* l_pid_t */
2014 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2015 iarg[a++] = p->liovcnt; /* l_ulong */
2016 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2017 iarg[a++] = p->riovcnt; /* l_ulong */
2018 iarg[a++] = p->flags; /* l_ulong */
2022 /* linux_process_vm_writev */
2024 struct linux_process_vm_writev_args *p = params;
2025 iarg[a++] = p->pid; /* l_pid_t */
2026 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2027 iarg[a++] = p->liovcnt; /* l_ulong */
2028 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2029 iarg[a++] = p->riovcnt; /* l_ulong */
2030 iarg[a++] = p->flags; /* l_ulong */
2036 struct linux_kcmp_args *p = params;
2037 iarg[a++] = p->pid1; /* l_pid_t */
2038 iarg[a++] = p->pid2; /* l_pid_t */
2039 iarg[a++] = p->type; /* l_int */
2040 iarg[a++] = p->idx1; /* l_ulong */
2041 iarg[a++] = p->idx; /* l_ulong */
2045 /* linux_finit_module */
2047 struct linux_finit_module_args *p = params;
2048 iarg[a++] = p->fd; /* l_int */
2049 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2050 iarg[a++] = p->flags; /* l_int */
2054 /* linux_sched_setattr */
2056 struct linux_sched_setattr_args *p = params;
2057 iarg[a++] = p->pid; /* l_pid_t */
2058 uarg[a++] = (intptr_t)p->attr; /* void * */
2059 iarg[a++] = p->flags; /* l_uint */
2063 /* linux_sched_getattr */
2065 struct linux_sched_getattr_args *p = params;
2066 iarg[a++] = p->pid; /* l_pid_t */
2067 uarg[a++] = (intptr_t)p->attr; /* void * */
2068 iarg[a++] = p->size; /* l_uint */
2069 iarg[a++] = p->flags; /* l_uint */
2073 /* linux_renameat2 */
2075 struct linux_renameat2_args *p = params;
2076 iarg[a++] = p->olddfd; /* l_int */
2077 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2078 iarg[a++] = p->newdfd; /* l_int */
2079 uarg[a++] = (intptr_t)p->newname; /* const char * */
2080 iarg[a++] = p->flags; /* l_uint */
2086 struct linux_seccomp_args *p = params;
2087 iarg[a++] = p->op; /* l_uint */
2088 iarg[a++] = p->flags; /* l_uint */
2089 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2093 /* linux_getrandom */
2095 struct linux_getrandom_args *p = params;
2096 uarg[a++] = (intptr_t)p->buf; /* char * */
2097 iarg[a++] = p->count; /* l_size_t */
2098 iarg[a++] = p->flags; /* l_uint */
2102 /* linux_memfd_create */
2104 struct linux_memfd_create_args *p = params;
2105 uarg[a++] = (intptr_t)p->uname_ptr; /* const char * */
2106 iarg[a++] = p->flags; /* l_uint */
2112 struct linux_bpf_args *p = params;
2113 iarg[a++] = p->cmd; /* l_int */
2114 uarg[a++] = (intptr_t)p->attr; /* void * */
2115 iarg[a++] = p->size; /* l_uint */
2119 /* linux_execveat */
2121 struct linux_execveat_args *p = params;
2122 iarg[a++] = p->dfd; /* l_int */
2123 uarg[a++] = (intptr_t)p->filename; /* const char * */
2124 uarg[a++] = (intptr_t)p->argv; /* const char ** */
2125 uarg[a++] = (intptr_t)p->envp; /* const char ** */
2126 iarg[a++] = p->flags; /* l_int */
2130 /* linux_userfaultfd */
2132 struct linux_userfaultfd_args *p = params;
2133 iarg[a++] = p->flags; /* l_int */
2137 /* linux_membarrier */
2139 struct linux_membarrier_args *p = params;
2140 iarg[a++] = p->cmd; /* l_int */
2141 iarg[a++] = p->flags; /* l_int */
2147 struct linux_mlock2_args *p = params;
2148 iarg[a++] = p->start; /* l_ulong */
2149 iarg[a++] = p->len; /* l_size_t */
2150 iarg[a++] = p->flags; /* l_int */
2154 /* linux_copy_file_range */
2156 struct linux_copy_file_range_args *p = params;
2157 iarg[a++] = p->fd_in; /* l_int */
2158 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
2159 iarg[a++] = p->fd_out; /* l_int */
2160 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
2161 iarg[a++] = p->len; /* l_size_t */
2162 iarg[a++] = p->flags; /* l_uint */
2168 struct linux_preadv2_args *p = params;
2169 iarg[a++] = p->fd; /* l_ulong */
2170 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2171 iarg[a++] = p->vlen; /* l_ulong */
2172 iarg[a++] = p->pos_l; /* l_ulong */
2173 iarg[a++] = p->pos_h; /* l_ulong */
2174 iarg[a++] = p->flags; /* l_int */
2178 /* linux_pwritev2 */
2180 struct linux_pwritev2_args *p = params;
2181 iarg[a++] = p->fd; /* l_ulong */
2182 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2183 iarg[a++] = p->vlen; /* l_ulong */
2184 iarg[a++] = p->pos_l; /* l_ulong */
2185 iarg[a++] = p->pos_h; /* l_ulong */
2186 iarg[a++] = p->flags; /* l_int */
2190 /* linux_pkey_mprotect */
2192 struct linux_pkey_mprotect_args *p = params;
2193 iarg[a++] = p->start; /* l_ulong */
2194 iarg[a++] = p->len; /* l_size_t */
2195 iarg[a++] = p->prot; /* l_ulong */
2196 iarg[a++] = p->pkey; /* l_int */
2200 /* linux_pkey_alloc */
2202 struct linux_pkey_alloc_args *p = params;
2203 iarg[a++] = p->flags; /* l_ulong */
2204 iarg[a++] = p->init_val; /* l_ulong */
2208 /* linux_pkey_free */
2210 struct linux_pkey_free_args *p = params;
2211 iarg[a++] = p->pkey; /* l_int */
2217 struct linux_statx_args *p = params;
2218 iarg[a++] = p->dirfd; /* l_int */
2219 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2220 iarg[a++] = p->flags; /* l_uint */
2221 iarg[a++] = p->mask; /* l_uint */
2222 uarg[a++] = (intptr_t)p->statxbuf; /* void * */
2226 /* linux_io_pgetevents */
2236 /* linux_kexec_file_load */
2241 /* linux_pidfd_send_signal */
2243 struct linux_pidfd_send_signal_args *p = params;
2244 iarg[a++] = p->pidfd; /* l_int */
2245 iarg[a++] = p->sig; /* l_int */
2246 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
2247 iarg[a++] = p->flags; /* l_uint */
2251 /* linux_io_uring_setup */
2256 /* linux_io_uring_enter */
2261 /* linux_io_uring_register */
2266 /* linux_open_tree */
2271 /* linux_move_mount */
2281 /* linux_fsconfig */
2296 /* linux_pidfd_open */
2303 struct linux_clone3_args *p = params;
2304 uarg[a++] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
2305 iarg[a++] = p->usize; /* l_size_t */
2309 /* linux_close_range */
2319 /* linux_pidfd_getfd */
2324 /* linux_faccessat2 */
2326 struct linux_faccessat2_args *p = params;
2327 iarg[a++] = p->dfd; /* l_int */
2328 uarg[a++] = (intptr_t)p->filename; /* const char * */
2329 iarg[a++] = p->amode; /* l_int */
2330 iarg[a++] = p->flags; /* l_int */
2334 /* linux_process_madvise */
2339 /* linux_epoll_pwait2 */
2344 /* linux_mount_setattr */
2355 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2357 const char *p = NULL;
2359 #define nosys linux_nosys
2360 /* linux_setxattr */
2364 p = "userland const char *";
2367 p = "userland const char *";
2370 p = "userland const char *";
2382 /* linux_lsetxattr */
2386 p = "userland const char *";
2389 p = "userland const char *";
2392 p = "userland const char *";
2404 /* linux_fsetxattr */
2411 p = "userland const char *";
2414 p = "userland const char *";
2426 /* linux_getxattr */
2430 p = "userland const char *";
2433 p = "userland const char *";
2436 p = "userland char *";
2445 /* linux_lgetxattr */
2449 p = "userland const char *";
2452 p = "userland const char *";
2455 p = "userland char *";
2464 /* linux_fgetxattr */
2471 p = "userland const char *";
2474 p = "userland char *";
2483 /* linux_listxattr */
2487 p = "userland const char *";
2490 p = "userland const char *";
2499 /* linux_llistxattr */
2503 p = "userland const char *";
2506 p = "userland const char *";
2515 /* linux_flistxattr */
2522 p = "userland const char *";
2531 /* linux_removexattr */
2535 p = "userland const char *";
2538 p = "userland const char *";
2544 /* linux_lremovexattr */
2548 p = "userland const char *";
2551 p = "userland const char *";
2557 /* linux_fremovexattr */
2564 p = "userland const char *";
2574 p = "userland char *";
2583 /* linux_lookup_dcookie */
2586 /* linux_eventfd2 */
2599 /* linux_epoll_create1 */
2609 /* linux_epoll_ctl */
2622 p = "userland struct epoll_event *";
2628 /* linux_epoll_pwait */
2635 p = "userland struct epoll_event *";
2644 p = "userland l_sigset_t *";
2695 /* linux_inotify_init1 */
2705 /* linux_inotify_add_watch */
2708 /* linux_inotify_rm_watch */
2727 /* linux_ioprio_set */
2730 /* linux_ioprio_get */
2753 p = "userland const char *";
2772 p = "userland const char *";
2781 /* linux_unlinkat */
2788 p = "userland const char *";
2797 /* linux_symlinkat */
2801 p = "userland const char *";
2807 p = "userland const char *";
2820 p = "userland const char *";
2826 p = "userland const char *";
2835 /* linux_renameat */
2842 p = "userland const char *";
2848 p = "userland const char *";
2858 p = "userland char *";
2861 p = "userland char *";
2864 p = "userland char *";
2870 p = "userland void *";
2876 /* linux_pivot_root */
2883 p = "userland char *";
2886 p = "userland struct l_statfs_buf *";
2899 p = "userland struct l_statfs_buf *";
2905 /* linux_truncate */
2909 p = "userland char *";
2918 /* linux_ftruncate */
2931 /* linux_fallocate */
2950 /* linux_faccessat */
2957 p = "userland const char *";
2970 p = "userland char *";
2990 p = "userland char *";
3009 /* linux_fchmodat */
3016 p = "userland const char *";
3025 /* linux_fchownat */
3032 p = "userland const char *";
3070 p = "userland const char *";
3099 p = "userland l_int *";
3108 /* linux_getdents64 */
3115 p = "userland void *";
3147 p = "userland char *";
3163 p = "userland char *";
3179 p = "userland struct iovec *";
3195 p = "userland struct iovec *";
3211 p = "userland char *";
3230 p = "userland char *";
3249 p = "userland struct iovec *";
3271 p = "userland struct iovec *";
3286 /* linux_sendfile */
3296 p = "userland l_off_t *";
3305 /* linux_pselect6 */
3312 p = "userland l_fd_set *";
3315 p = "userland l_fd_set *";
3318 p = "userland l_fd_set *";
3321 p = "userland struct l_timespec *";
3324 p = "userland l_uintptr_t *";
3334 p = "userland struct pollfd *";
3340 p = "userland struct l_timespec *";
3343 p = "userland l_sigset_t *";
3352 /* linux_signalfd4 */
3355 /* linux_vmsplice */
3365 p = "userland l_loff_t *";
3371 p = "userland l_loff_t *";
3386 /* linux_readlinkat */
3393 p = "userland const char *";
3396 p = "userland char *";
3405 /* linux_newfstatat */
3412 p = "userland char *";
3415 p = "userland struct l_stat64 *";
3424 /* linux_newfstat */
3431 p = "userland struct l_newstat *";
3447 /* linux_fdatasync */
3457 /* linux_sync_file_range */
3476 /* linux_timerfd_create */
3489 /* linux_timerfd_settime */
3499 p = "userland const struct l_itimerspec *";
3502 p = "userland struct l_itimerspec *";
3508 /* linux_timerfd_gettime */
3515 p = "userland struct l_itimerspec *";
3521 /* linux_utimensat */
3528 p = "userland const char *";
3531 p = "userland const struct l_timespec *";
3544 p = "userland char *";
3554 p = "userland struct l_user_cap_header *";
3557 p = "userland struct l_user_cap_data *";
3567 p = "userland struct l_user_cap_header *";
3570 p = "userland struct l_user_cap_data *";
3576 /* linux_personality */
3596 /* linux_exit_group */
3616 p = "userland l_siginfo_t *";
3622 p = "userland struct rusage *";
3628 /* linux_set_tid_address */
3632 p = "userland l_int *";
3641 /* linux_sys_futex */
3645 p = "userland uint32_t *";
3654 p = "userland struct l_timespec *";
3657 p = "userland uint32_t *";
3666 /* linux_set_robust_list */
3670 p = "userland struct linux_robust_list_head *";
3679 /* linux_get_robust_list */
3686 p = "userland struct linux_robust_list_head **";
3689 p = "userland l_size_t *";
3695 /* linux_nanosleep */
3699 p = "userland const struct l_timespec *";
3702 p = "userland struct l_timespec *";
3708 /* linux_getitimer */
3715 p = "userland struct l_itimerval *";
3721 /* linux_setitimer */
3728 p = "userland struct l_itimerval *";
3731 p = "userland struct l_itimerval *";
3737 /* linux_kexec_load */
3740 /* linux_init_module */
3743 /* linux_delete_module */
3746 /* linux_timer_create */
3753 p = "userland struct sigevent *";
3756 p = "userland l_timer_t *";
3762 /* linux_timer_gettime */
3769 p = "userland struct itimerspec *";
3775 /* linux_timer_getoverrun */
3785 /* linux_timer_settime */
3795 p = "userland const struct itimerspec *";
3798 p = "userland struct itimerspec *";
3804 /* linux_timer_delete */
3814 /* linux_clock_settime */
3821 p = "userland struct l_timespec *";
3827 /* linux_clock_gettime */
3834 p = "userland struct l_timespec *";
3840 /* linux_clock_getres */
3847 p = "userland struct l_timespec *";
3853 /* linux_clock_nanosleep */
3863 p = "userland struct l_timespec *";
3866 p = "userland struct l_timespec *";
3879 p = "userland char *";
3907 /* linux_sched_setparam */
3914 p = "userland struct sched_param *";
3920 /* linux_sched_setscheduler */
3930 p = "userland struct sched_param *";
3936 /* linux_sched_getscheduler */
3946 /* linux_sched_getparam */
3953 p = "userland struct sched_param *";
3959 /* linux_sched_setaffinity */
3969 p = "userland l_ulong *";
3975 /* linux_sched_getaffinity */
3985 p = "userland l_ulong *";
3994 /* linux_sched_get_priority_max */
4004 /* linux_sched_get_priority_min */
4014 /* linux_sched_rr_get_interval */
4021 p = "userland struct l_timespec *";
4069 /* linux_sigaltstack */
4073 p = "userland l_stack_t *";
4076 p = "userland l_stack_t *";
4082 /* linux_rt_sigsuspend */
4086 p = "userland l_sigset_t *";
4095 /* linux_rt_sigaction */
4102 p = "userland l_sigaction_t *";
4105 p = "userland l_sigaction_t *";
4114 /* linux_rt_sigprocmask */
4121 p = "userland l_sigset_t *";
4124 p = "userland l_sigset_t *";
4133 /* linux_rt_sigpending */
4137 p = "userland l_sigset_t *";
4146 /* linux_rt_sigtimedwait */
4150 p = "userland l_sigset_t *";
4153 p = "userland l_siginfo_t *";
4156 p = "userland struct l_timespec *";
4165 /* linux_rt_sigqueueinfo */
4175 p = "userland l_siginfo_t *";
4181 /* linux_rt_sigreturn */
4200 /* linux_getpriority */
4226 p = "userland void *";
4298 p = "userland uid_t *";
4301 p = "userland uid_t *";
4304 p = "userland uid_t *";
4330 p = "userland gid_t *";
4333 p = "userland gid_t *";
4336 p = "userland gid_t *";
4342 /* linux_setfsuid */
4352 /* linux_setfsgid */
4366 p = "userland struct l_times_argv *";
4408 /* linux_getgroups */
4415 p = "userland l_gid_t *";
4421 /* linux_setgroups */
4428 p = "userland l_gid_t *";
4434 /* linux_newuname */
4438 p = "userland struct l_new_utsname *";
4444 /* linux_sethostname */
4448 p = "userland char *";
4457 /* linux_setdomainname */
4461 p = "userland char *";
4470 /* linux_getrlimit */
4477 p = "userland struct l_rlimit *";
4483 /* linux_setrlimit */
4490 p = "userland struct l_rlimit *";
4503 p = "userland struct rusage *";
4545 p = "userland l_uint *";
4548 p = "userland l_uint *";
4551 p = "userland void *";
4561 p = "userland struct l_timeval *";
4564 p = "userland struct timezone *";
4574 p = "userland struct l_timeval *";
4577 p = "userland struct timezone *";
4583 /* linux_adjtimex */
4611 p = "userland struct l_sysinfo *";
4621 p = "userland const char *";
4630 p = "userland struct mq_attr *";
4636 /* linux_mq_unlink */
4640 p = "userland const char *";
4646 /* linux_mq_timedsend */
4653 p = "userland const char *";
4662 p = "userland const struct l_timespec *";
4668 /* linux_mq_timedreceive */
4675 p = "userland char *";
4681 p = "userland l_uint *";
4684 p = "userland const struct l_timespec *";
4690 /* linux_mq_notify */
4697 p = "userland const struct l_timespec *";
4703 /* linux_mq_getsetattr */
4710 p = "userland const struct mq_attr *";
4713 p = "userland struct mq_attr *";
4742 p = "userland struct l_msqid_ds *";
4755 p = "userland struct l_msgbuf *";
4777 p = "userland struct l_msgbuf *";
4818 p = "union l_semun";
4824 /* linux_semtimedop */
4834 p = "userland struct l_sembuf *";
4869 p = "userland struct l_shmid_ds *";
4882 p = "userland char *";
4895 p = "userland char *";
4917 /* linux_socketpair */
4997 /* linux_getsockname */
5013 /* linux_getpeername */
5054 /* linux_recvfrom */
5079 /* linux_setsockopt */
5101 /* linux_getsockopt */
5123 /* linux_shutdown */
5182 p = "userland void *";
5216 /* linux_request_key */
5232 p = "userland l_int *";
5238 p = "userland l_int *";
5248 p = "userland char *";
5251 p = "userland char **";
5254 p = "userland char **";
5285 /* linux_fadvise64 */
5308 p = "userland char *";
5317 /* linux_mprotect */
5353 p = "userland const void *";
5366 p = "userland const void *";
5398 p = "userland u_char *";
5420 /* linux_remap_file_pages */
5426 /* linux_get_mempolicy */
5429 /* linux_set_mempolicy */
5432 /* linux_migrate_pages */
5435 /* linux_move_pages */
5438 /* linux_rt_tgsigqueueinfo */
5451 p = "userland l_siginfo_t *";
5457 /* linux_perf_event_open */
5479 /* linux_recvmmsg */
5486 p = "userland struct l_mmsghdr *";
5495 p = "userland struct l_timespec *";
5508 p = "userland l_int *";
5514 p = "userland struct rusage *";
5520 /* linux_prlimit64 */
5530 p = "userland struct rlimit *";
5533 p = "userland struct rlimit *";
5539 /* linux_fanotify_init */
5542 /* linux_fanotify_mark */
5545 /* linux_name_to_handle_at */
5552 p = "userland const char *";
5555 p = "userland struct l_file_handle *";
5558 p = "userland l_int *";
5567 /* linux_open_by_handle_at */
5574 p = "userland struct l_file_handle *";
5583 /* linux_clock_adjtime */
5609 /* linux_sendmmsg */
5616 p = "userland struct l_mmsghdr *";
5628 /* linux_process_vm_readv */
5635 p = "userland const struct iovec *";
5641 p = "userland const struct iovec *";
5653 /* linux_process_vm_writev */
5660 p = "userland const struct iovec *";
5666 p = "userland const struct iovec *";
5700 /* linux_finit_module */
5707 p = "userland const char *";
5716 /* linux_sched_setattr */
5723 p = "userland void *";
5732 /* linux_sched_getattr */
5739 p = "userland void *";
5751 /* linux_renameat2 */
5758 p = "userland const char *";
5764 p = "userland const char *";
5783 p = "userland const char *";
5789 /* linux_getrandom */
5793 p = "userland char *";
5805 /* linux_memfd_create */
5809 p = "userland const char *";
5825 p = "userland void *";
5834 /* linux_execveat */
5841 p = "userland const char *";
5844 p = "userland const char **";
5847 p = "userland const char **";
5856 /* linux_userfaultfd */
5866 /* linux_membarrier */
5895 /* linux_copy_file_range */
5902 p = "userland l_loff_t *";
5908 p = "userland l_loff_t *";
5927 p = "userland const struct iovec *";
5945 /* linux_pwritev2 */
5952 p = "userland const struct iovec *";
5970 /* linux_pkey_mprotect */
5989 /* linux_pkey_alloc */
6002 /* linux_pkey_free */
6019 p = "userland const char *";
6028 p = "userland void *";
6034 /* linux_io_pgetevents */
6040 /* linux_kexec_file_load */
6043 /* linux_pidfd_send_signal */
6053 p = "userland l_siginfo_t *";
6062 /* linux_io_uring_setup */
6065 /* linux_io_uring_enter */
6068 /* linux_io_uring_register */
6071 /* linux_open_tree */
6074 /* linux_move_mount */
6080 /* linux_fsconfig */
6089 /* linux_pidfd_open */
6096 p = "userland struct l_user_clone_args *";
6105 /* linux_close_range */
6111 /* linux_pidfd_getfd */
6114 /* linux_faccessat2 */
6121 p = "userland const char *";
6133 /* linux_process_madvise */
6136 /* linux_epoll_pwait2 */
6139 /* linux_mount_setattr */
6146 strlcpy(desc, p, descsz);
6149 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6151 const char *p = NULL;
6153 #define nosys linux_nosys
6154 /* linux_setxattr */
6156 if (ndx == 0 || ndx == 1)
6159 /* linux_lsetxattr */
6161 if (ndx == 0 || ndx == 1)
6164 /* linux_fsetxattr */
6166 if (ndx == 0 || ndx == 1)
6169 /* linux_getxattr */
6171 if (ndx == 0 || ndx == 1)
6174 /* linux_lgetxattr */
6176 if (ndx == 0 || ndx == 1)
6179 /* linux_fgetxattr */
6181 if (ndx == 0 || ndx == 1)
6184 /* linux_listxattr */
6186 if (ndx == 0 || ndx == 1)
6189 /* linux_llistxattr */
6191 if (ndx == 0 || ndx == 1)
6194 /* linux_flistxattr */
6196 if (ndx == 0 || ndx == 1)
6199 /* linux_removexattr */
6201 if (ndx == 0 || ndx == 1)
6204 /* linux_lremovexattr */
6206 if (ndx == 0 || ndx == 1)
6209 /* linux_fremovexattr */
6211 if (ndx == 0 || ndx == 1)
6216 if (ndx == 0 || ndx == 1)
6219 /* linux_lookup_dcookie */
6221 /* linux_eventfd2 */
6223 if (ndx == 0 || ndx == 1)
6226 /* linux_epoll_create1 */
6228 if (ndx == 0 || ndx == 1)
6231 /* linux_epoll_ctl */
6233 if (ndx == 0 || ndx == 1)
6236 /* linux_epoll_pwait */
6238 if (ndx == 0 || ndx == 1)
6243 if (ndx == 0 || ndx == 1)
6248 if (ndx == 0 || ndx == 1)
6253 if (ndx == 0 || ndx == 1)
6256 /* linux_inotify_init1 */
6258 if (ndx == 0 || ndx == 1)
6261 /* linux_inotify_add_watch */
6263 /* linux_inotify_rm_watch */
6267 if (ndx == 0 || ndx == 1)
6270 /* linux_ioprio_set */
6272 /* linux_ioprio_get */
6276 if (ndx == 0 || ndx == 1)
6281 if (ndx == 0 || ndx == 1)
6286 if (ndx == 0 || ndx == 1)
6289 /* linux_unlinkat */
6291 if (ndx == 0 || ndx == 1)
6294 /* linux_symlinkat */
6296 if (ndx == 0 || ndx == 1)
6301 if (ndx == 0 || ndx == 1)
6304 /* linux_renameat */
6306 if (ndx == 0 || ndx == 1)
6311 if (ndx == 0 || ndx == 1)
6314 /* linux_pivot_root */
6318 if (ndx == 0 || ndx == 1)
6323 if (ndx == 0 || ndx == 1)
6326 /* linux_truncate */
6328 if (ndx == 0 || ndx == 1)
6331 /* linux_ftruncate */
6333 if (ndx == 0 || ndx == 1)
6336 /* linux_fallocate */
6338 if (ndx == 0 || ndx == 1)
6341 /* linux_faccessat */
6343 if (ndx == 0 || ndx == 1)
6348 if (ndx == 0 || ndx == 1)
6353 if (ndx == 0 || ndx == 1)
6358 if (ndx == 0 || ndx == 1)
6363 if (ndx == 0 || ndx == 1)
6366 /* linux_fchmodat */
6368 if (ndx == 0 || ndx == 1)
6371 /* linux_fchownat */
6373 if (ndx == 0 || ndx == 1)
6378 if (ndx == 0 || ndx == 1)
6383 if (ndx == 0 || ndx == 1)
6388 if (ndx == 0 || ndx == 1)
6395 if (ndx == 0 || ndx == 1)
6398 /* linux_getdents64 */
6400 if (ndx == 0 || ndx == 1)
6405 if (ndx == 0 || ndx == 1)
6410 if (ndx == 0 || ndx == 1)
6415 if (ndx == 0 || ndx == 1)
6420 if (ndx == 0 || ndx == 1)
6425 if (ndx == 0 || ndx == 1)
6430 if (ndx == 0 || ndx == 1)
6435 if (ndx == 0 || ndx == 1)
6440 if (ndx == 0 || ndx == 1)
6445 if (ndx == 0 || ndx == 1)
6448 /* linux_sendfile */
6450 if (ndx == 0 || ndx == 1)
6453 /* linux_pselect6 */
6455 if (ndx == 0 || ndx == 1)
6460 if (ndx == 0 || ndx == 1)
6463 /* linux_signalfd4 */
6465 /* linux_vmsplice */
6469 if (ndx == 0 || ndx == 1)
6474 /* linux_readlinkat */
6476 if (ndx == 0 || ndx == 1)
6479 /* linux_newfstatat */
6481 if (ndx == 0 || ndx == 1)
6484 /* linux_newfstat */
6486 if (ndx == 0 || ndx == 1)
6491 if (ndx == 0 || ndx == 1)
6494 /* linux_fdatasync */
6496 if (ndx == 0 || ndx == 1)
6499 /* linux_sync_file_range */
6501 if (ndx == 0 || ndx == 1)
6504 /* linux_timerfd_create */
6506 if (ndx == 0 || ndx == 1)
6509 /* linux_timerfd_settime */
6511 if (ndx == 0 || ndx == 1)
6514 /* linux_timerfd_gettime */
6516 if (ndx == 0 || ndx == 1)
6519 /* linux_utimensat */
6521 if (ndx == 0 || ndx == 1)
6526 if (ndx == 0 || ndx == 1)
6531 if (ndx == 0 || ndx == 1)
6536 if (ndx == 0 || ndx == 1)
6539 /* linux_personality */
6541 if (ndx == 0 || ndx == 1)
6546 if (ndx == 0 || ndx == 1)
6549 /* linux_exit_group */
6551 if (ndx == 0 || ndx == 1)
6556 if (ndx == 0 || ndx == 1)
6559 /* linux_set_tid_address */
6561 if (ndx == 0 || ndx == 1)
6566 /* linux_sys_futex */
6568 if (ndx == 0 || ndx == 1)
6571 /* linux_set_robust_list */
6573 if (ndx == 0 || ndx == 1)
6576 /* linux_get_robust_list */
6578 if (ndx == 0 || ndx == 1)
6581 /* linux_nanosleep */
6583 if (ndx == 0 || ndx == 1)
6586 /* linux_getitimer */
6588 if (ndx == 0 || ndx == 1)
6591 /* linux_setitimer */
6593 if (ndx == 0 || ndx == 1)
6596 /* linux_kexec_load */
6598 /* linux_init_module */
6600 /* linux_delete_module */
6602 /* linux_timer_create */
6604 if (ndx == 0 || ndx == 1)
6607 /* linux_timer_gettime */
6609 if (ndx == 0 || ndx == 1)
6612 /* linux_timer_getoverrun */
6614 if (ndx == 0 || ndx == 1)
6617 /* linux_timer_settime */
6619 if (ndx == 0 || ndx == 1)
6622 /* linux_timer_delete */
6624 if (ndx == 0 || ndx == 1)
6627 /* linux_clock_settime */
6629 if (ndx == 0 || ndx == 1)
6632 /* linux_clock_gettime */
6634 if (ndx == 0 || ndx == 1)
6637 /* linux_clock_getres */
6639 if (ndx == 0 || ndx == 1)
6642 /* linux_clock_nanosleep */
6644 if (ndx == 0 || ndx == 1)
6649 if (ndx == 0 || ndx == 1)
6654 if (ndx == 0 || ndx == 1)
6657 /* linux_sched_setparam */
6659 if (ndx == 0 || ndx == 1)
6662 /* linux_sched_setscheduler */
6664 if (ndx == 0 || ndx == 1)
6667 /* linux_sched_getscheduler */
6669 if (ndx == 0 || ndx == 1)
6672 /* linux_sched_getparam */
6674 if (ndx == 0 || ndx == 1)
6677 /* linux_sched_setaffinity */
6679 if (ndx == 0 || ndx == 1)
6682 /* linux_sched_getaffinity */
6684 if (ndx == 0 || ndx == 1)
6689 /* linux_sched_get_priority_max */
6691 if (ndx == 0 || ndx == 1)
6694 /* linux_sched_get_priority_min */
6696 if (ndx == 0 || ndx == 1)
6699 /* linux_sched_rr_get_interval */
6701 if (ndx == 0 || ndx == 1)
6706 if (ndx == 0 || ndx == 1)
6711 if (ndx == 0 || ndx == 1)
6716 if (ndx == 0 || ndx == 1)
6719 /* linux_sigaltstack */
6721 if (ndx == 0 || ndx == 1)
6724 /* linux_rt_sigsuspend */
6726 if (ndx == 0 || ndx == 1)
6729 /* linux_rt_sigaction */
6731 if (ndx == 0 || ndx == 1)
6734 /* linux_rt_sigprocmask */
6736 if (ndx == 0 || ndx == 1)
6739 /* linux_rt_sigpending */
6741 if (ndx == 0 || ndx == 1)
6744 /* linux_rt_sigtimedwait */
6746 if (ndx == 0 || ndx == 1)
6749 /* linux_rt_sigqueueinfo */
6751 if (ndx == 0 || ndx == 1)
6754 /* linux_rt_sigreturn */
6758 if (ndx == 0 || ndx == 1)
6761 /* linux_getpriority */
6763 if (ndx == 0 || ndx == 1)
6768 if (ndx == 0 || ndx == 1)
6773 if (ndx == 0 || ndx == 1)
6778 if (ndx == 0 || ndx == 1)
6783 if (ndx == 0 || ndx == 1)
6788 if (ndx == 0 || ndx == 1)
6793 if (ndx == 0 || ndx == 1)
6798 if (ndx == 0 || ndx == 1)
6803 if (ndx == 0 || ndx == 1)
6808 if (ndx == 0 || ndx == 1)
6811 /* linux_setfsuid */
6813 if (ndx == 0 || ndx == 1)
6816 /* linux_setfsgid */
6818 if (ndx == 0 || ndx == 1)
6823 if (ndx == 0 || ndx == 1)
6828 if (ndx == 0 || ndx == 1)
6833 if (ndx == 0 || ndx == 1)
6838 if (ndx == 0 || ndx == 1)
6843 /* linux_getgroups */
6845 if (ndx == 0 || ndx == 1)
6848 /* linux_setgroups */
6850 if (ndx == 0 || ndx == 1)
6853 /* linux_newuname */
6855 if (ndx == 0 || ndx == 1)
6858 /* linux_sethostname */
6860 if (ndx == 0 || ndx == 1)
6863 /* linux_setdomainname */
6865 if (ndx == 0 || ndx == 1)
6868 /* linux_getrlimit */
6870 if (ndx == 0 || ndx == 1)
6873 /* linux_setrlimit */
6875 if (ndx == 0 || ndx == 1)
6880 if (ndx == 0 || ndx == 1)
6885 if (ndx == 0 || ndx == 1)
6890 if (ndx == 0 || ndx == 1)
6895 if (ndx == 0 || ndx == 1)
6900 if (ndx == 0 || ndx == 1)
6905 if (ndx == 0 || ndx == 1)
6908 /* linux_adjtimex */
6926 if (ndx == 0 || ndx == 1)
6931 if (ndx == 0 || ndx == 1)
6934 /* linux_mq_unlink */
6936 if (ndx == 0 || ndx == 1)
6939 /* linux_mq_timedsend */
6941 if (ndx == 0 || ndx == 1)
6944 /* linux_mq_timedreceive */
6946 if (ndx == 0 || ndx == 1)
6949 /* linux_mq_notify */
6951 if (ndx == 0 || ndx == 1)
6954 /* linux_mq_getsetattr */
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)
6981 if (ndx == 0 || ndx == 1)
6986 if (ndx == 0 || ndx == 1)
6989 /* linux_semtimedop */
6993 if (ndx == 0 || ndx == 1)
6998 if (ndx == 0 || ndx == 1)
7003 if (ndx == 0 || ndx == 1)
7008 if (ndx == 0 || ndx == 1)
7013 if (ndx == 0 || ndx == 1)
7018 if (ndx == 0 || ndx == 1)
7021 /* linux_socketpair */
7023 if (ndx == 0 || ndx == 1)
7028 if (ndx == 0 || ndx == 1)
7033 if (ndx == 0 || ndx == 1)
7038 if (ndx == 0 || ndx == 1)
7043 if (ndx == 0 || ndx == 1)
7046 /* linux_getsockname */
7048 if (ndx == 0 || ndx == 1)
7051 /* linux_getpeername */
7053 if (ndx == 0 || ndx == 1)
7058 if (ndx == 0 || ndx == 1)
7061 /* linux_recvfrom */
7063 if (ndx == 0 || ndx == 1)
7066 /* linux_setsockopt */
7068 if (ndx == 0 || ndx == 1)
7071 /* linux_getsockopt */
7073 if (ndx == 0 || ndx == 1)
7076 /* linux_shutdown */
7078 if (ndx == 0 || ndx == 1)
7083 if (ndx == 0 || ndx == 1)
7088 if (ndx == 0 || ndx == 1)
7093 if (ndx == 0 || ndx == 1)
7098 if (ndx == 0 || ndx == 1)
7103 if (ndx == 0 || ndx == 1)
7108 /* linux_request_key */
7114 if (ndx == 0 || ndx == 1)
7119 if (ndx == 0 || ndx == 1)
7124 if (ndx == 0 || ndx == 1)
7127 /* linux_fadvise64 */
7129 if (ndx == 0 || ndx == 1)
7134 if (ndx == 0 || ndx == 1)
7139 /* linux_mprotect */
7141 if (ndx == 0 || ndx == 1)
7146 if (ndx == 0 || ndx == 1)
7151 if (ndx == 0 || ndx == 1)
7156 if (ndx == 0 || ndx == 1)
7161 if (ndx == 0 || ndx == 1)
7168 if (ndx == 0 || ndx == 1)
7173 if (ndx == 0 || ndx == 1)
7176 /* linux_remap_file_pages */
7180 /* linux_get_mempolicy */
7182 /* linux_set_mempolicy */
7184 /* linux_migrate_pages */
7186 /* linux_move_pages */
7188 /* linux_rt_tgsigqueueinfo */
7190 if (ndx == 0 || ndx == 1)
7193 /* linux_perf_event_open */
7197 if (ndx == 0 || ndx == 1)
7200 /* linux_recvmmsg */
7202 if (ndx == 0 || ndx == 1)
7207 if (ndx == 0 || ndx == 1)
7210 /* linux_prlimit64 */
7212 if (ndx == 0 || ndx == 1)
7215 /* linux_fanotify_init */
7217 /* linux_fanotify_mark */
7219 /* linux_name_to_handle_at */
7221 if (ndx == 0 || ndx == 1)
7224 /* linux_open_by_handle_at */
7226 if (ndx == 0 || ndx == 1)
7229 /* linux_clock_adjtime */
7233 if (ndx == 0 || ndx == 1)
7238 if (ndx == 0 || ndx == 1)
7241 /* linux_sendmmsg */
7243 if (ndx == 0 || ndx == 1)
7246 /* linux_process_vm_readv */
7248 if (ndx == 0 || ndx == 1)
7251 /* linux_process_vm_writev */
7253 if (ndx == 0 || ndx == 1)
7258 if (ndx == 0 || ndx == 1)
7261 /* linux_finit_module */
7263 if (ndx == 0 || ndx == 1)
7266 /* linux_sched_setattr */
7268 if (ndx == 0 || ndx == 1)
7271 /* linux_sched_getattr */
7273 if (ndx == 0 || ndx == 1)
7276 /* linux_renameat2 */
7278 if (ndx == 0 || ndx == 1)
7283 if (ndx == 0 || ndx == 1)
7286 /* linux_getrandom */
7288 if (ndx == 0 || ndx == 1)
7291 /* linux_memfd_create */
7293 if (ndx == 0 || ndx == 1)
7298 if (ndx == 0 || ndx == 1)
7301 /* linux_execveat */
7303 if (ndx == 0 || ndx == 1)
7306 /* linux_userfaultfd */
7308 if (ndx == 0 || ndx == 1)
7311 /* linux_membarrier */
7313 if (ndx == 0 || ndx == 1)
7318 if (ndx == 0 || ndx == 1)
7321 /* linux_copy_file_range */
7323 if (ndx == 0 || ndx == 1)
7328 if (ndx == 0 || ndx == 1)
7331 /* linux_pwritev2 */
7333 if (ndx == 0 || ndx == 1)
7336 /* linux_pkey_mprotect */
7338 if (ndx == 0 || ndx == 1)
7341 /* linux_pkey_alloc */
7343 if (ndx == 0 || ndx == 1)
7346 /* linux_pkey_free */
7348 if (ndx == 0 || ndx == 1)
7353 if (ndx == 0 || ndx == 1)
7356 /* linux_io_pgetevents */
7360 /* linux_kexec_file_load */
7362 /* linux_pidfd_send_signal */
7364 if (ndx == 0 || ndx == 1)
7367 /* linux_io_uring_setup */
7369 /* linux_io_uring_enter */
7371 /* linux_io_uring_register */
7373 /* linux_open_tree */
7375 /* linux_move_mount */
7379 /* linux_fsconfig */
7385 /* linux_pidfd_open */
7389 if (ndx == 0 || ndx == 1)
7392 /* linux_close_range */
7396 /* linux_pidfd_getfd */
7398 /* linux_faccessat2 */
7400 if (ndx == 0 || ndx == 1)
7403 /* linux_process_madvise */
7405 /* linux_epoll_pwait2 */
7407 /* linux_mount_setattr */
7413 strlcpy(desc, p, descsz);