2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
5 * This file is part of the DTrace syscall provider.
9 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
11 int64_t *iarg = (int64_t *)uarg;
14 #define nosys linux_nosys
17 struct linux_setxattr_args *p = params;
18 uarg[a++] = (intptr_t)p->path; /* const char * */
19 uarg[a++] = (intptr_t)p->name; /* const char * */
20 uarg[a++] = (intptr_t)p->value; /* const char * */
21 iarg[a++] = p->size; /* l_size_t */
22 iarg[a++] = p->flags; /* l_int */
28 struct linux_lsetxattr_args *p = params;
29 uarg[a++] = (intptr_t)p->path; /* const char * */
30 uarg[a++] = (intptr_t)p->name; /* const char * */
31 uarg[a++] = (intptr_t)p->value; /* const char * */
32 iarg[a++] = p->size; /* l_size_t */
33 iarg[a++] = p->flags; /* l_int */
39 struct linux_fsetxattr_args *p = params;
40 iarg[a++] = p->fd; /* l_int */
41 uarg[a++] = (intptr_t)p->name; /* const char * */
42 uarg[a++] = (intptr_t)p->value; /* const char * */
43 iarg[a++] = p->size; /* l_size_t */
44 iarg[a++] = p->flags; /* l_int */
50 struct linux_getxattr_args *p = params;
51 uarg[a++] = (intptr_t)p->path; /* const char * */
52 uarg[a++] = (intptr_t)p->name; /* const char * */
53 uarg[a++] = (intptr_t)p->value; /* char * */
54 iarg[a++] = p->size; /* l_size_t */
60 struct linux_lgetxattr_args *p = params;
61 uarg[a++] = (intptr_t)p->path; /* const char * */
62 uarg[a++] = (intptr_t)p->name; /* const char * */
63 uarg[a++] = (intptr_t)p->value; /* char * */
64 iarg[a++] = p->size; /* l_size_t */
70 struct linux_fgetxattr_args *p = params;
71 iarg[a++] = p->fd; /* l_int */
72 uarg[a++] = (intptr_t)p->name; /* const char * */
73 uarg[a++] = (intptr_t)p->value; /* char * */
74 iarg[a++] = p->size; /* l_size_t */
80 struct linux_listxattr_args *p = params;
81 uarg[a++] = (intptr_t)p->path; /* const char * */
82 uarg[a++] = (intptr_t)p->list; /* const char * */
83 iarg[a++] = p->size; /* l_size_t */
87 /* linux_llistxattr */
89 struct linux_llistxattr_args *p = params;
90 uarg[a++] = (intptr_t)p->path; /* const char * */
91 uarg[a++] = (intptr_t)p->list; /* const char * */
92 iarg[a++] = p->size; /* l_size_t */
96 /* linux_flistxattr */
98 struct linux_flistxattr_args *p = params;
99 iarg[a++] = p->fd; /* l_int */
100 uarg[a++] = (intptr_t)p->list; /* const char * */
101 iarg[a++] = p->size; /* l_size_t */
105 /* linux_removexattr */
107 struct linux_removexattr_args *p = params;
108 uarg[a++] = (intptr_t)p->path; /* const char * */
109 uarg[a++] = (intptr_t)p->name; /* const char * */
113 /* linux_lremovexattr */
115 struct linux_lremovexattr_args *p = params;
116 uarg[a++] = (intptr_t)p->path; /* const char * */
117 uarg[a++] = (intptr_t)p->name; /* const char * */
121 /* linux_fremovexattr */
123 struct linux_fremovexattr_args *p = params;
124 iarg[a++] = p->fd; /* l_int */
125 uarg[a++] = (intptr_t)p->name; /* const char * */
131 struct linux_getcwd_args *p = params;
132 uarg[a++] = (intptr_t)p->buf; /* char * */
133 iarg[a++] = p->bufsize; /* l_ulong */
137 /* linux_lookup_dcookie */
144 struct linux_eventfd2_args *p = params;
145 iarg[a++] = p->initval; /* l_uint */
146 iarg[a++] = p->flags; /* l_int */
150 /* linux_epoll_create1 */
152 struct linux_epoll_create1_args *p = params;
153 iarg[a++] = p->flags; /* l_int */
157 /* linux_epoll_ctl */
159 struct linux_epoll_ctl_args *p = params;
160 iarg[a++] = p->epfd; /* l_int */
161 iarg[a++] = p->op; /* l_int */
162 iarg[a++] = p->fd; /* l_int */
163 uarg[a++] = (intptr_t)p->event; /* struct epoll_event * */
167 /* linux_epoll_pwait */
169 struct linux_epoll_pwait_args *p = params;
170 iarg[a++] = p->epfd; /* l_int */
171 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
172 iarg[a++] = p->maxevents; /* l_int */
173 iarg[a++] = p->timeout; /* l_int */
174 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
175 iarg[a++] = p->sigsetsize; /* l_size_t */
181 struct dup_args *p = params;
182 uarg[a++] = p->fd; /* u_int */
188 struct linux_dup3_args *p = params;
189 iarg[a++] = p->oldfd; /* l_int */
190 iarg[a++] = p->newfd; /* l_int */
191 iarg[a++] = p->flags; /* l_int */
197 struct linux_fcntl_args *p = params;
198 iarg[a++] = p->fd; /* l_uint */
199 iarg[a++] = p->cmd; /* l_uint */
200 iarg[a++] = p->arg; /* l_ulong */
204 /* linux_inotify_init1 */
206 struct linux_inotify_init1_args *p = params;
207 iarg[a++] = p->flags; /* l_int */
211 /* linux_inotify_add_watch */
216 /* linux_inotify_rm_watch */
223 struct linux_ioctl_args *p = params;
224 iarg[a++] = p->fd; /* l_uint */
225 iarg[a++] = p->cmd; /* l_uint */
226 iarg[a++] = p->arg; /* l_ulong */
230 /* linux_ioprio_set */
235 /* linux_ioprio_get */
242 struct flock_args *p = params;
243 iarg[a++] = p->fd; /* int */
244 iarg[a++] = p->how; /* int */
250 struct linux_mknodat_args *p = params;
251 iarg[a++] = p->dfd; /* l_int */
252 uarg[a++] = (intptr_t)p->filename; /* const char * */
253 iarg[a++] = p->mode; /* l_int */
254 iarg[a++] = p->dev; /* l_dev_t */
260 struct linux_mkdirat_args *p = params;
261 iarg[a++] = p->dfd; /* l_int */
262 uarg[a++] = (intptr_t)p->pathname; /* const char * */
263 iarg[a++] = p->mode; /* l_mode_t */
269 struct linux_unlinkat_args *p = params;
270 iarg[a++] = p->dfd; /* l_int */
271 uarg[a++] = (intptr_t)p->pathname; /* const char * */
272 iarg[a++] = p->flag; /* l_int */
276 /* linux_symlinkat */
278 struct linux_symlinkat_args *p = params;
279 uarg[a++] = (intptr_t)p->oldname; /* const char * */
280 iarg[a++] = p->newdfd; /* l_int */
281 uarg[a++] = (intptr_t)p->newname; /* const char * */
287 struct linux_linkat_args *p = params;
288 iarg[a++] = p->olddfd; /* l_int */
289 uarg[a++] = (intptr_t)p->oldname; /* const char * */
290 iarg[a++] = p->newdfd; /* l_int */
291 uarg[a++] = (intptr_t)p->newname; /* const char * */
292 iarg[a++] = p->flag; /* l_int */
298 struct linux_renameat_args *p = params;
299 iarg[a++] = p->olddfd; /* l_int */
300 uarg[a++] = (intptr_t)p->oldname; /* const char * */
301 iarg[a++] = p->newdfd; /* l_int */
302 uarg[a++] = (intptr_t)p->newname; /* const char * */
308 struct linux_mount_args *p = params;
309 uarg[a++] = (intptr_t)p->specialfile; /* char * */
310 uarg[a++] = (intptr_t)p->dir; /* char * */
311 uarg[a++] = (intptr_t)p->filesystemtype; /* char * */
312 iarg[a++] = p->rwflag; /* l_ulong */
313 uarg[a++] = (intptr_t)p->data; /* void * */
317 /* linux_pivot_root */
324 struct linux_statfs_args *p = params;
325 uarg[a++] = (intptr_t)p->path; /* char * */
326 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */
332 struct linux_fstatfs_args *p = params;
333 iarg[a++] = p->fd; /* l_uint */
334 uarg[a++] = (intptr_t)p->buf; /* struct l_statfs_buf * */
340 struct linux_truncate_args *p = params;
341 uarg[a++] = (intptr_t)p->path; /* char * */
342 iarg[a++] = p->length; /* l_ulong */
346 /* linux_ftruncate */
348 struct linux_ftruncate_args *p = params;
349 iarg[a++] = p->fd; /* l_int */
350 iarg[a++] = p->length; /* l_long */
354 /* linux_fallocate */
356 struct linux_fallocate_args *p = params;
357 iarg[a++] = p->fd; /* l_int */
358 iarg[a++] = p->mode; /* l_int */
359 iarg[a++] = p->offset; /* l_loff_t */
360 iarg[a++] = p->len; /* l_loff_t */
364 /* linux_faccessat */
366 struct linux_faccessat_args *p = params;
367 iarg[a++] = p->dfd; /* l_int */
368 uarg[a++] = (intptr_t)p->filename; /* const char * */
369 iarg[a++] = p->amode; /* l_int */
375 struct linux_chdir_args *p = params;
376 uarg[a++] = (intptr_t)p->path; /* char * */
382 struct fchdir_args *p = params;
383 iarg[a++] = p->fd; /* int */
389 struct chroot_args *p = params;
390 uarg[a++] = (intptr_t)p->path; /* char * */
396 struct fchmod_args *p = params;
397 iarg[a++] = p->fd; /* int */
398 iarg[a++] = p->mode; /* int */
404 struct linux_fchmodat_args *p = params;
405 iarg[a++] = p->dfd; /* l_int */
406 uarg[a++] = (intptr_t)p->filename; /* const char * */
407 iarg[a++] = p->mode; /* l_mode_t */
413 struct linux_fchownat_args *p = params;
414 iarg[a++] = p->dfd; /* l_int */
415 uarg[a++] = (intptr_t)p->filename; /* const char * */
416 iarg[a++] = p->uid; /* l_uid_t */
417 iarg[a++] = p->gid; /* l_gid_t */
418 iarg[a++] = p->flag; /* l_int */
424 struct fchown_args *p = params;
425 iarg[a++] = p->fd; /* int */
426 iarg[a++] = p->uid; /* int */
427 iarg[a++] = p->gid; /* int */
433 struct linux_openat_args *p = params;
434 iarg[a++] = p->dfd; /* l_int */
435 uarg[a++] = (intptr_t)p->filename; /* const char * */
436 iarg[a++] = p->flags; /* l_int */
437 iarg[a++] = p->mode; /* l_mode_t */
443 struct close_args *p = params;
444 iarg[a++] = p->fd; /* int */
455 struct linux_pipe2_args *p = params;
456 uarg[a++] = (intptr_t)p->pipefds; /* l_int * */
457 iarg[a++] = p->flags; /* l_int */
461 /* linux_getdents64 */
463 struct linux_getdents64_args *p = params;
464 iarg[a++] = p->fd; /* l_uint */
465 uarg[a++] = (intptr_t)p->dirent; /* void * */
466 iarg[a++] = p->count; /* l_uint */
472 struct linux_lseek_args *p = params;
473 iarg[a++] = p->fdes; /* l_uint */
474 iarg[a++] = p->off; /* l_off_t */
475 iarg[a++] = p->whence; /* l_int */
481 struct read_args *p = params;
482 iarg[a++] = p->fd; /* int */
483 uarg[a++] = (intptr_t)p->buf; /* char * */
484 iarg[a++] = p->nbyte; /* l_size_t */
490 struct write_args *p = params;
491 iarg[a++] = p->fd; /* int */
492 uarg[a++] = (intptr_t)p->buf; /* char * */
493 iarg[a++] = p->nbyte; /* l_size_t */
499 struct readv_args *p = params;
500 iarg[a++] = p->fd; /* int */
501 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
502 uarg[a++] = p->iovcnt; /* u_int */
508 struct writev_args *p = params;
509 iarg[a++] = p->fd; /* int */
510 uarg[a++] = (intptr_t)p->iovp; /* struct iovec * */
511 uarg[a++] = p->iovcnt; /* u_int */
517 struct linux_pread_args *p = params;
518 iarg[a++] = p->fd; /* l_uint */
519 uarg[a++] = (intptr_t)p->buf; /* char * */
520 iarg[a++] = p->nbyte; /* l_size_t */
521 iarg[a++] = p->offset; /* l_loff_t */
527 struct linux_pwrite_args *p = params;
528 iarg[a++] = p->fd; /* l_uint */
529 uarg[a++] = (intptr_t)p->buf; /* char * */
530 iarg[a++] = p->nbyte; /* l_size_t */
531 iarg[a++] = p->offset; /* l_loff_t */
537 struct linux_preadv_args *p = params;
538 iarg[a++] = p->fd; /* l_ulong */
539 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */
540 iarg[a++] = p->vlen; /* l_ulong */
541 iarg[a++] = p->pos_l; /* l_ulong */
542 iarg[a++] = p->pos_h; /* l_ulong */
548 struct linux_pwritev_args *p = params;
549 iarg[a++] = p->fd; /* l_ulong */
550 uarg[a++] = (intptr_t)p->vec; /* struct iovec * */
551 iarg[a++] = p->vlen; /* l_ulong */
552 iarg[a++] = p->pos_l; /* l_ulong */
553 iarg[a++] = p->pos_h; /* l_ulong */
559 struct linux_sendfile_args *p = params;
560 iarg[a++] = p->out; /* l_int */
561 iarg[a++] = p->in; /* l_int */
562 uarg[a++] = (intptr_t)p->offset; /* l_off_t * */
563 iarg[a++] = p->count; /* l_size_t */
569 struct linux_pselect6_args *p = params;
570 iarg[a++] = p->nfds; /* l_int */
571 uarg[a++] = (intptr_t)p->readfds; /* l_fd_set * */
572 uarg[a++] = (intptr_t)p->writefds; /* l_fd_set * */
573 uarg[a++] = (intptr_t)p->exceptfds; /* l_fd_set * */
574 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */
575 uarg[a++] = (intptr_t)p->sig; /* l_uintptr_t * */
581 struct linux_ppoll_args *p = params;
582 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
583 iarg[a++] = p->nfds; /* l_uint */
584 uarg[a++] = (intptr_t)p->tsp; /* struct l_timespec * */
585 uarg[a++] = (intptr_t)p->sset; /* l_sigset_t * */
586 iarg[a++] = p->ssize; /* l_size_t */
590 /* linux_signalfd4 */
602 struct linux_splice_args *p = params;
603 iarg[a++] = p->fd_in; /* int */
604 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
605 iarg[a++] = p->fd_out; /* int */
606 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
607 iarg[a++] = p->len; /* l_size_t */
608 iarg[a++] = p->flags; /* l_uint */
617 /* linux_readlinkat */
619 struct linux_readlinkat_args *p = params;
620 iarg[a++] = p->dfd; /* l_int */
621 uarg[a++] = (intptr_t)p->path; /* const char * */
622 uarg[a++] = (intptr_t)p->buf; /* char * */
623 iarg[a++] = p->bufsiz; /* l_int */
627 /* linux_newfstatat */
629 struct linux_newfstatat_args *p = params;
630 iarg[a++] = p->dfd; /* l_int */
631 uarg[a++] = (intptr_t)p->pathname; /* char * */
632 uarg[a++] = (intptr_t)p->statbuf; /* struct l_stat64 * */
633 iarg[a++] = p->flag; /* l_int */
639 struct linux_newfstat_args *p = params;
640 iarg[a++] = p->fd; /* l_uint */
641 uarg[a++] = (intptr_t)p->buf; /* struct l_newstat * */
647 struct fsync_args *p = params;
648 iarg[a++] = p->fd; /* int */
652 /* linux_fdatasync */
654 struct linux_fdatasync_args *p = params;
655 iarg[a++] = p->fd; /* l_uint */
659 /* linux_sync_file_range */
661 struct linux_sync_file_range_args *p = params;
662 iarg[a++] = p->fd; /* l_int */
663 iarg[a++] = p->offset; /* l_loff_t */
664 iarg[a++] = p->nbytes; /* l_loff_t */
665 iarg[a++] = p->flags; /* l_uint */
669 /* linux_timerfd_create */
671 struct linux_timerfd_create_args *p = params;
672 iarg[a++] = p->clockid; /* l_int */
673 iarg[a++] = p->flags; /* l_int */
677 /* linux_timerfd_settime */
679 struct linux_timerfd_settime_args *p = params;
680 iarg[a++] = p->fd; /* l_int */
681 iarg[a++] = p->flags; /* l_int */
682 uarg[a++] = (intptr_t)p->new_value; /* const struct l_itimerspec * */
683 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */
687 /* linux_timerfd_gettime */
689 struct linux_timerfd_gettime_args *p = params;
690 iarg[a++] = p->fd; /* l_int */
691 uarg[a++] = (intptr_t)p->old_value; /* struct l_itimerspec * */
695 /* linux_utimensat */
697 struct linux_utimensat_args *p = params;
698 iarg[a++] = p->dfd; /* l_int */
699 uarg[a++] = (intptr_t)p->pathname; /* const char * */
700 uarg[a++] = (intptr_t)p->times; /* const struct l_timespec * */
701 iarg[a++] = p->flags; /* l_int */
707 struct acct_args *p = params;
708 uarg[a++] = (intptr_t)p->path; /* char * */
714 struct linux_capget_args *p = params;
715 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
716 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */
722 struct linux_capset_args *p = params;
723 uarg[a++] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
724 uarg[a++] = (intptr_t)p->datap; /* struct l_user_cap_data * */
728 /* linux_personality */
730 struct linux_personality_args *p = params;
731 iarg[a++] = p->per; /* l_uint */
737 struct linux_exit_args *p = params;
738 uarg[a++] = p->rval; /* u_int */
742 /* linux_exit_group */
744 struct linux_exit_group_args *p = params;
745 iarg[a++] = p->error_code; /* l_int */
751 struct linux_waitid_args *p = params;
752 iarg[a++] = p->idtype; /* l_int */
753 iarg[a++] = p->id; /* l_pid_t */
754 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
755 iarg[a++] = p->options; /* l_int */
756 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
760 /* linux_set_tid_address */
762 struct linux_set_tid_address_args *p = params;
763 uarg[a++] = (intptr_t)p->tidptr; /* l_int * */
772 /* linux_sys_futex */
774 struct linux_sys_futex_args *p = params;
775 uarg[a++] = (intptr_t)p->uaddr; /* uint32_t * */
776 iarg[a++] = p->op; /* l_int */
777 uarg[a++] = p->val; /* uint32_t */
778 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
779 uarg[a++] = (intptr_t)p->uaddr2; /* uint32_t * */
780 uarg[a++] = p->val3; /* uint32_t */
784 /* linux_set_robust_list */
786 struct linux_set_robust_list_args *p = params;
787 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head * */
788 iarg[a++] = p->len; /* l_size_t */
792 /* linux_get_robust_list */
794 struct linux_get_robust_list_args *p = params;
795 iarg[a++] = p->pid; /* l_int */
796 uarg[a++] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
797 uarg[a++] = (intptr_t)p->len; /* l_size_t * */
801 /* linux_nanosleep */
803 struct linux_nanosleep_args *p = params;
804 uarg[a++] = (intptr_t)p->rqtp; /* const struct l_timespec * */
805 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */
809 /* linux_getitimer */
811 struct linux_getitimer_args *p = params;
812 iarg[a++] = p->which; /* l_int */
813 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */
817 /* linux_setitimer */
819 struct linux_setitimer_args *p = params;
820 iarg[a++] = p->which; /* l_int */
821 uarg[a++] = (intptr_t)p->itv; /* struct l_itimerval * */
822 uarg[a++] = (intptr_t)p->oitv; /* struct l_itimerval * */
826 /* linux_kexec_load */
831 /* linux_init_module */
836 /* linux_delete_module */
841 /* linux_timer_create */
843 struct linux_timer_create_args *p = params;
844 iarg[a++] = p->clock_id; /* clockid_t */
845 uarg[a++] = (intptr_t)p->evp; /* struct sigevent * */
846 uarg[a++] = (intptr_t)p->timerid; /* l_timer_t * */
850 /* linux_timer_gettime */
852 struct linux_timer_gettime_args *p = params;
853 iarg[a++] = p->timerid; /* l_timer_t */
854 uarg[a++] = (intptr_t)p->setting; /* struct itimerspec * */
858 /* linux_timer_getoverrun */
860 struct linux_timer_getoverrun_args *p = params;
861 iarg[a++] = p->timerid; /* l_timer_t */
865 /* linux_timer_settime */
867 struct linux_timer_settime_args *p = params;
868 iarg[a++] = p->timerid; /* l_timer_t */
869 iarg[a++] = p->flags; /* l_int */
870 uarg[a++] = (intptr_t)p->new; /* const struct itimerspec * */
871 uarg[a++] = (intptr_t)p->old; /* struct itimerspec * */
875 /* linux_timer_delete */
877 struct linux_timer_delete_args *p = params;
878 iarg[a++] = p->timerid; /* l_timer_t */
882 /* linux_clock_settime */
884 struct linux_clock_settime_args *p = params;
885 iarg[a++] = p->which; /* clockid_t */
886 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
890 /* linux_clock_gettime */
892 struct linux_clock_gettime_args *p = params;
893 iarg[a++] = p->which; /* clockid_t */
894 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
898 /* linux_clock_getres */
900 struct linux_clock_getres_args *p = params;
901 iarg[a++] = p->which; /* clockid_t */
902 uarg[a++] = (intptr_t)p->tp; /* struct l_timespec * */
906 /* linux_clock_nanosleep */
908 struct linux_clock_nanosleep_args *p = params;
909 iarg[a++] = p->which; /* clockid_t */
910 iarg[a++] = p->flags; /* l_int */
911 uarg[a++] = (intptr_t)p->rqtp; /* struct l_timespec * */
912 uarg[a++] = (intptr_t)p->rmtp; /* struct l_timespec * */
918 struct linux_syslog_args *p = params;
919 iarg[a++] = p->type; /* l_int */
920 uarg[a++] = (intptr_t)p->buf; /* char * */
921 iarg[a++] = p->len; /* l_int */
927 struct linux_ptrace_args *p = params;
928 iarg[a++] = p->req; /* l_long */
929 iarg[a++] = p->pid; /* l_long */
930 iarg[a++] = p->addr; /* l_ulong */
931 iarg[a++] = p->data; /* l_ulong */
935 /* linux_sched_setparam */
937 struct linux_sched_setparam_args *p = params;
938 iarg[a++] = p->pid; /* l_pid_t */
939 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
943 /* linux_sched_setscheduler */
945 struct linux_sched_setscheduler_args *p = params;
946 iarg[a++] = p->pid; /* l_pid_t */
947 iarg[a++] = p->policy; /* l_int */
948 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
952 /* linux_sched_getscheduler */
954 struct linux_sched_getscheduler_args *p = params;
955 iarg[a++] = p->pid; /* l_pid_t */
959 /* linux_sched_getparam */
961 struct linux_sched_getparam_args *p = params;
962 iarg[a++] = p->pid; /* l_pid_t */
963 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
967 /* linux_sched_setaffinity */
969 struct linux_sched_setaffinity_args *p = params;
970 iarg[a++] = p->pid; /* l_pid_t */
971 iarg[a++] = p->len; /* l_uint */
972 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
976 /* linux_sched_getaffinity */
978 struct linux_sched_getaffinity_args *p = params;
979 iarg[a++] = p->pid; /* l_pid_t */
980 iarg[a++] = p->len; /* l_uint */
981 uarg[a++] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
990 /* linux_sched_get_priority_max */
992 struct linux_sched_get_priority_max_args *p = params;
993 iarg[a++] = p->policy; /* l_int */
997 /* linux_sched_get_priority_min */
999 struct linux_sched_get_priority_min_args *p = params;
1000 iarg[a++] = p->policy; /* l_int */
1004 /* linux_sched_rr_get_interval */
1006 struct linux_sched_rr_get_interval_args *p = params;
1007 iarg[a++] = p->pid; /* l_pid_t */
1008 uarg[a++] = (intptr_t)p->interval; /* struct l_timespec * */
1014 struct linux_kill_args *p = params;
1015 iarg[a++] = p->pid; /* l_pid_t */
1016 iarg[a++] = p->signum; /* l_int */
1022 struct linux_tkill_args *p = params;
1023 iarg[a++] = p->tid; /* l_pid_t */
1024 iarg[a++] = p->sig; /* l_int */
1030 struct linux_tgkill_args *p = params;
1031 iarg[a++] = p->tgid; /* l_pid_t */
1032 iarg[a++] = p->pid; /* l_pid_t */
1033 iarg[a++] = p->sig; /* l_int */
1037 /* linux_sigaltstack */
1039 struct linux_sigaltstack_args *p = params;
1040 uarg[a++] = (intptr_t)p->uss; /* l_stack_t * */
1041 uarg[a++] = (intptr_t)p->uoss; /* l_stack_t * */
1045 /* linux_rt_sigsuspend */
1047 struct linux_rt_sigsuspend_args *p = params;
1048 uarg[a++] = (intptr_t)p->newset; /* l_sigset_t * */
1049 iarg[a++] = p->sigsetsize; /* l_size_t */
1053 /* linux_rt_sigaction */
1055 struct linux_rt_sigaction_args *p = params;
1056 iarg[a++] = p->sig; /* l_int */
1057 uarg[a++] = (intptr_t)p->act; /* l_sigaction_t * */
1058 uarg[a++] = (intptr_t)p->oact; /* l_sigaction_t * */
1059 iarg[a++] = p->sigsetsize; /* l_size_t */
1063 /* linux_rt_sigprocmask */
1065 struct linux_rt_sigprocmask_args *p = params;
1066 iarg[a++] = p->how; /* l_int */
1067 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
1068 uarg[a++] = (intptr_t)p->omask; /* l_sigset_t * */
1069 iarg[a++] = p->sigsetsize; /* l_size_t */
1073 /* linux_rt_sigpending */
1075 struct linux_rt_sigpending_args *p = params;
1076 uarg[a++] = (intptr_t)p->set; /* l_sigset_t * */
1077 iarg[a++] = p->sigsetsize; /* l_size_t */
1081 /* linux_rt_sigtimedwait */
1083 struct linux_rt_sigtimedwait_args *p = params;
1084 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
1085 uarg[a++] = (intptr_t)p->ptr; /* l_siginfo_t * */
1086 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1087 iarg[a++] = p->sigsetsize; /* l_size_t */
1091 /* linux_rt_sigqueueinfo */
1093 struct linux_rt_sigqueueinfo_args *p = params;
1094 iarg[a++] = p->pid; /* l_pid_t */
1095 iarg[a++] = p->sig; /* l_int */
1096 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
1100 /* linux_rt_sigreturn */
1107 struct setpriority_args *p = params;
1108 iarg[a++] = p->which; /* int */
1109 iarg[a++] = p->who; /* int */
1110 iarg[a++] = p->prio; /* int */
1114 /* linux_getpriority */
1116 struct linux_getpriority_args *p = params;
1117 iarg[a++] = p->which; /* l_int */
1118 iarg[a++] = p->who; /* l_int */
1124 struct linux_reboot_args *p = params;
1125 iarg[a++] = p->magic1; /* l_int */
1126 iarg[a++] = p->magic2; /* l_int */
1127 iarg[a++] = p->cmd; /* l_uint */
1128 uarg[a++] = (intptr_t)p->arg; /* void * */
1134 struct setregid_args *p = params;
1135 iarg[a++] = p->rgid; /* gid_t */
1136 iarg[a++] = p->egid; /* gid_t */
1142 struct setgid_args *p = params;
1143 iarg[a++] = p->gid; /* gid_t */
1149 struct setreuid_args *p = params;
1150 uarg[a++] = p->ruid; /* uid_t */
1151 uarg[a++] = p->euid; /* uid_t */
1157 struct setuid_args *p = params;
1158 uarg[a++] = p->uid; /* uid_t */
1164 struct setresuid_args *p = params;
1165 uarg[a++] = p->ruid; /* uid_t */
1166 uarg[a++] = p->euid; /* uid_t */
1167 uarg[a++] = p->suid; /* uid_t */
1173 struct getresuid_args *p = params;
1174 uarg[a++] = (intptr_t)p->ruid; /* uid_t * */
1175 uarg[a++] = (intptr_t)p->euid; /* uid_t * */
1176 uarg[a++] = (intptr_t)p->suid; /* uid_t * */
1182 struct setresgid_args *p = params;
1183 iarg[a++] = p->rgid; /* gid_t */
1184 iarg[a++] = p->egid; /* gid_t */
1185 iarg[a++] = p->sgid; /* gid_t */
1191 struct getresgid_args *p = params;
1192 uarg[a++] = (intptr_t)p->rgid; /* gid_t * */
1193 uarg[a++] = (intptr_t)p->egid; /* gid_t * */
1194 uarg[a++] = (intptr_t)p->sgid; /* gid_t * */
1198 /* linux_setfsuid */
1200 struct linux_setfsuid_args *p = params;
1201 iarg[a++] = p->uid; /* l_uid_t */
1205 /* linux_setfsgid */
1207 struct linux_setfsgid_args *p = params;
1208 iarg[a++] = p->gid; /* l_gid_t */
1214 struct linux_times_args *p = params;
1215 uarg[a++] = (intptr_t)p->buf; /* struct l_times_argv * */
1221 struct setpgid_args *p = params;
1222 iarg[a++] = p->pid; /* int */
1223 iarg[a++] = p->pgid; /* int */
1229 struct getpgid_args *p = params;
1230 iarg[a++] = p->pid; /* int */
1236 struct linux_getsid_args *p = params;
1237 iarg[a++] = p->pid; /* l_pid_t */
1246 /* linux_getgroups */
1248 struct linux_getgroups_args *p = params;
1249 iarg[a++] = p->gidsetsize; /* l_int */
1250 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */
1254 /* linux_setgroups */
1256 struct linux_setgroups_args *p = params;
1257 iarg[a++] = p->gidsetsize; /* l_int */
1258 uarg[a++] = (intptr_t)p->grouplist; /* l_gid_t * */
1262 /* linux_newuname */
1264 struct linux_newuname_args *p = params;
1265 uarg[a++] = (intptr_t)p->buf; /* struct l_new_utsname * */
1269 /* linux_sethostname */
1271 struct linux_sethostname_args *p = params;
1272 uarg[a++] = (intptr_t)p->hostname; /* char * */
1273 iarg[a++] = p->len; /* l_uint */
1277 /* linux_setdomainname */
1279 struct linux_setdomainname_args *p = params;
1280 uarg[a++] = (intptr_t)p->name; /* char * */
1281 iarg[a++] = p->len; /* l_int */
1285 /* linux_getrlimit */
1287 struct linux_getrlimit_args *p = params;
1288 iarg[a++] = p->resource; /* l_uint */
1289 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
1293 /* linux_setrlimit */
1295 struct linux_setrlimit_args *p = params;
1296 iarg[a++] = p->resource; /* l_uint */
1297 uarg[a++] = (intptr_t)p->rlim; /* struct l_rlimit * */
1303 struct getrusage_args *p = params;
1304 iarg[a++] = p->who; /* int */
1305 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
1311 struct umask_args *p = params;
1312 iarg[a++] = p->newmask; /* int */
1318 struct linux_prctl_args *p = params;
1319 iarg[a++] = p->option; /* l_int */
1320 uarg[a++] = (intptr_t)p->arg2; /* l_uintptr_t */
1321 uarg[a++] = (intptr_t)p->arg3; /* l_uintptr_t */
1322 uarg[a++] = (intptr_t)p->arg4; /* l_uintptr_t */
1323 uarg[a++] = (intptr_t)p->arg5; /* l_uintptr_t */
1329 struct linux_getcpu_args *p = params;
1330 uarg[a++] = (intptr_t)p->cpu; /* l_uint * */
1331 uarg[a++] = (intptr_t)p->node; /* l_uint * */
1332 uarg[a++] = (intptr_t)p->cache; /* void * */
1338 struct gettimeofday_args *p = params;
1339 uarg[a++] = (intptr_t)p->tp; /* struct l_timeval * */
1340 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
1346 struct settimeofday_args *p = params;
1347 uarg[a++] = (intptr_t)p->tv; /* struct l_timeval * */
1348 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
1352 /* linux_adjtimex */
1394 struct linux_sysinfo_args *p = params;
1395 uarg[a++] = (intptr_t)p->info; /* struct l_sysinfo * */
1401 struct linux_mq_open_args *p = params;
1402 uarg[a++] = (intptr_t)p->name; /* const char * */
1403 iarg[a++] = p->oflag; /* l_int */
1404 iarg[a++] = p->mode; /* l_mode_t */
1405 uarg[a++] = (intptr_t)p->attr; /* struct mq_attr * */
1409 /* linux_mq_unlink */
1411 struct linux_mq_unlink_args *p = params;
1412 uarg[a++] = (intptr_t)p->name; /* const char * */
1416 /* linux_mq_timedsend */
1418 struct linux_mq_timedsend_args *p = params;
1419 iarg[a++] = p->mqd; /* l_mqd_t */
1420 uarg[a++] = (intptr_t)p->msg_ptr; /* const char * */
1421 iarg[a++] = p->msg_len; /* l_size_t */
1422 iarg[a++] = p->msg_prio; /* l_uint */
1423 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1427 /* linux_mq_timedreceive */
1429 struct linux_mq_timedreceive_args *p = params;
1430 iarg[a++] = p->mqd; /* l_mqd_t */
1431 uarg[a++] = (intptr_t)p->msg_ptr; /* char * */
1432 iarg[a++] = p->msg_len; /* l_size_t */
1433 uarg[a++] = (intptr_t)p->msg_prio; /* l_uint * */
1434 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1438 /* linux_mq_notify */
1440 struct linux_mq_notify_args *p = params;
1441 iarg[a++] = p->mqd; /* l_mqd_t */
1442 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1446 /* linux_mq_getsetattr */
1448 struct linux_mq_getsetattr_args *p = params;
1449 iarg[a++] = p->mqd; /* l_mqd_t */
1450 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr * */
1451 uarg[a++] = (intptr_t)p->oattr; /* struct mq_attr * */
1457 struct linux_msgget_args *p = params;
1458 iarg[a++] = p->key; /* l_key_t */
1459 iarg[a++] = p->msgflg; /* l_int */
1465 struct linux_msgctl_args *p = params;
1466 iarg[a++] = p->msqid; /* l_int */
1467 iarg[a++] = p->cmd; /* l_int */
1468 uarg[a++] = (intptr_t)p->buf; /* struct l_msqid_ds * */
1474 struct linux_msgrcv_args *p = params;
1475 iarg[a++] = p->msqid; /* l_int */
1476 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1477 iarg[a++] = p->msgsz; /* l_size_t */
1478 iarg[a++] = p->msgtyp; /* l_long */
1479 iarg[a++] = p->msgflg; /* l_int */
1485 struct linux_msgsnd_args *p = params;
1486 iarg[a++] = p->msqid; /* l_int */
1487 uarg[a++] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1488 iarg[a++] = p->msgsz; /* l_size_t */
1489 iarg[a++] = p->msgflg; /* l_int */
1495 struct linux_semget_args *p = params;
1496 iarg[a++] = p->key; /* l_key_t */
1497 iarg[a++] = p->nsems; /* l_int */
1498 iarg[a++] = p->semflg; /* l_int */
1504 struct linux_semctl_args *p = params;
1505 iarg[a++] = p->semid; /* l_int */
1506 iarg[a++] = p->semnum; /* l_int */
1507 iarg[a++] = p->cmd; /* l_int */
1508 uarg[a++] = p->arg.buf; /* union l_semun */
1512 /* linux_semtimedop */
1514 struct linux_semtimedop_args *p = params;
1515 iarg[a++] = p->semid; /* l_int */
1516 uarg[a++] = (intptr_t)p->tsops; /* struct sembuf * */
1517 iarg[a++] = p->nsops; /* l_size_t */
1518 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1524 struct semop_args *p = params;
1525 iarg[a++] = p->semid; /* l_int */
1526 uarg[a++] = (intptr_t)p->sops; /* struct sembuf * */
1527 iarg[a++] = p->nsops; /* l_size_t */
1533 struct linux_shmget_args *p = params;
1534 iarg[a++] = p->key; /* l_key_t */
1535 iarg[a++] = p->size; /* l_size_t */
1536 iarg[a++] = p->shmflg; /* l_int */
1542 struct linux_shmctl_args *p = params;
1543 iarg[a++] = p->shmid; /* l_int */
1544 iarg[a++] = p->cmd; /* l_int */
1545 uarg[a++] = (intptr_t)p->buf; /* struct l_shmid_ds * */
1551 struct linux_shmat_args *p = params;
1552 iarg[a++] = p->shmid; /* l_int */
1553 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
1554 iarg[a++] = p->shmflg; /* l_int */
1560 struct linux_shmdt_args *p = params;
1561 uarg[a++] = (intptr_t)p->shmaddr; /* char * */
1567 struct linux_socket_args *p = params;
1568 iarg[a++] = p->domain; /* l_int */
1569 iarg[a++] = p->type; /* l_int */
1570 iarg[a++] = p->protocol; /* l_int */
1574 /* linux_socketpair */
1576 struct linux_socketpair_args *p = params;
1577 iarg[a++] = p->domain; /* l_int */
1578 iarg[a++] = p->type; /* l_int */
1579 iarg[a++] = p->protocol; /* l_int */
1580 uarg[a++] = (intptr_t)p->rsv; /* l_uintptr_t */
1586 struct linux_bind_args *p = params;
1587 iarg[a++] = p->s; /* l_int */
1588 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
1589 iarg[a++] = p->namelen; /* l_int */
1595 struct linux_listen_args *p = params;
1596 iarg[a++] = p->s; /* l_int */
1597 iarg[a++] = p->backlog; /* l_int */
1603 struct linux_accept_args *p = params;
1604 iarg[a++] = p->s; /* l_int */
1605 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1606 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1612 struct linux_connect_args *p = params;
1613 iarg[a++] = p->s; /* l_int */
1614 uarg[a++] = (intptr_t)p->name; /* l_uintptr_t */
1615 iarg[a++] = p->namelen; /* l_int */
1619 /* linux_getsockname */
1621 struct linux_getsockname_args *p = params;
1622 iarg[a++] = p->s; /* l_int */
1623 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1624 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1628 /* linux_getpeername */
1630 struct linux_getpeername_args *p = params;
1631 iarg[a++] = p->s; /* l_int */
1632 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1633 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1639 struct linux_sendto_args *p = params;
1640 iarg[a++] = p->s; /* l_int */
1641 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1642 iarg[a++] = p->len; /* l_size_t */
1643 iarg[a++] = p->flags; /* l_uint */
1644 uarg[a++] = (intptr_t)p->to; /* l_uintptr_t */
1645 iarg[a++] = p->tolen; /* l_int */
1649 /* linux_recvfrom */
1651 struct linux_recvfrom_args *p = params;
1652 iarg[a++] = p->s; /* l_int */
1653 uarg[a++] = (intptr_t)p->buf; /* l_uintptr_t */
1654 iarg[a++] = p->len; /* l_size_t */
1655 iarg[a++] = p->flags; /* l_uint */
1656 uarg[a++] = (intptr_t)p->from; /* l_uintptr_t */
1657 uarg[a++] = (intptr_t)p->fromlen; /* l_uintptr_t */
1661 /* linux_setsockopt */
1663 struct linux_setsockopt_args *p = params;
1664 iarg[a++] = p->s; /* l_int */
1665 iarg[a++] = p->level; /* l_int */
1666 iarg[a++] = p->optname; /* l_int */
1667 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
1668 iarg[a++] = p->optlen; /* l_int */
1672 /* linux_getsockopt */
1674 struct linux_getsockopt_args *p = params;
1675 iarg[a++] = p->s; /* l_int */
1676 iarg[a++] = p->level; /* l_int */
1677 iarg[a++] = p->optname; /* l_int */
1678 uarg[a++] = (intptr_t)p->optval; /* l_uintptr_t */
1679 uarg[a++] = (intptr_t)p->optlen; /* l_uintptr_t */
1683 /* linux_shutdown */
1685 struct linux_shutdown_args *p = params;
1686 iarg[a++] = p->s; /* l_int */
1687 iarg[a++] = p->how; /* l_int */
1693 struct linux_sendmsg_args *p = params;
1694 iarg[a++] = p->s; /* l_int */
1695 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1696 iarg[a++] = p->flags; /* l_uint */
1702 struct linux_recvmsg_args *p = params;
1703 iarg[a++] = p->s; /* l_int */
1704 uarg[a++] = (intptr_t)p->msg; /* l_uintptr_t */
1705 iarg[a++] = p->flags; /* l_uint */
1711 struct linux_brk_args *p = params;
1712 iarg[a++] = p->dsend; /* l_ulong */
1718 struct munmap_args *p = params;
1719 uarg[a++] = (intptr_t)p->addr; /* void * */
1720 iarg[a++] = p->len; /* l_size_t */
1726 struct linux_mremap_args *p = params;
1727 iarg[a++] = p->addr; /* l_ulong */
1728 iarg[a++] = p->old_len; /* l_ulong */
1729 iarg[a++] = p->new_len; /* l_ulong */
1730 iarg[a++] = p->flags; /* l_ulong */
1731 iarg[a++] = p->new_addr; /* l_ulong */
1740 /* linux_request_key */
1752 struct linux_clone_args *p = params;
1753 iarg[a++] = p->flags; /* l_ulong */
1754 iarg[a++] = p->stack; /* l_ulong */
1755 uarg[a++] = (intptr_t)p->parent_tidptr; /* l_int * */
1756 iarg[a++] = p->tls; /* l_ulong */
1757 uarg[a++] = (intptr_t)p->child_tidptr; /* l_int * */
1763 struct linux_execve_args *p = params;
1764 uarg[a++] = (intptr_t)p->path; /* char * */
1765 uarg[a++] = (intptr_t)p->argp; /* l_uintptr_t * */
1766 uarg[a++] = (intptr_t)p->envp; /* l_uintptr_t * */
1772 struct linux_mmap2_args *p = params;
1773 iarg[a++] = p->addr; /* l_ulong */
1774 iarg[a++] = p->len; /* l_ulong */
1775 iarg[a++] = p->prot; /* l_ulong */
1776 iarg[a++] = p->flags; /* l_ulong */
1777 iarg[a++] = p->fd; /* l_ulong */
1778 iarg[a++] = p->pgoff; /* l_ulong */
1782 /* linux_fadvise64 */
1784 struct linux_fadvise64_args *p = params;
1785 iarg[a++] = p->fd; /* l_int */
1786 iarg[a++] = p->offset; /* l_loff_t */
1787 iarg[a++] = p->len; /* l_size_t */
1788 iarg[a++] = p->advice; /* l_int */
1794 struct swapon_args *p = params;
1795 uarg[a++] = (intptr_t)p->name; /* char * */
1804 /* linux_mprotect */
1806 struct linux_mprotect_args *p = params;
1807 iarg[a++] = p->addr; /* l_ulong */
1808 iarg[a++] = p->len; /* l_size_t */
1809 iarg[a++] = p->prot; /* l_ulong */
1815 struct linux_msync_args *p = params;
1816 iarg[a++] = p->addr; /* l_ulong */
1817 iarg[a++] = p->len; /* l_size_t */
1818 iarg[a++] = p->fl; /* l_int */
1824 struct mlock_args *p = params;
1825 uarg[a++] = (intptr_t)p->addr; /* const void * */
1826 uarg[a++] = p->len; /* size_t */
1832 struct munlock_args *p = params;
1833 uarg[a++] = (intptr_t)p->addr; /* const void * */
1834 uarg[a++] = p->len; /* size_t */
1840 struct mlockall_args *p = params;
1841 iarg[a++] = p->how; /* int */
1852 struct linux_mincore_args *p = params;
1853 iarg[a++] = p->start; /* l_ulong */
1854 iarg[a++] = p->len; /* l_size_t */
1855 uarg[a++] = (intptr_t)p->vec; /* u_char * */
1861 struct linux_madvise_args *p = params;
1862 iarg[a++] = p->addr; /* l_ulong */
1863 iarg[a++] = p->len; /* l_size_t */
1864 iarg[a++] = p->behav; /* l_int */
1868 /* linux_remap_file_pages */
1878 /* linux_get_mempolicy */
1883 /* linux_set_mempolicy */
1888 /* linux_migrate_pages */
1893 /* linux_move_pages */
1898 /* linux_rt_tgsigqueueinfo */
1900 struct linux_rt_tgsigqueueinfo_args *p = params;
1901 iarg[a++] = p->tgid; /* l_pid_t */
1902 iarg[a++] = p->tid; /* l_pid_t */
1903 iarg[a++] = p->sig; /* l_int */
1904 uarg[a++] = (intptr_t)p->uinfo; /* l_siginfo_t * */
1908 /* linux_perf_event_open */
1915 struct linux_accept4_args *p = params;
1916 iarg[a++] = p->s; /* l_int */
1917 uarg[a++] = (intptr_t)p->addr; /* l_uintptr_t */
1918 uarg[a++] = (intptr_t)p->namelen; /* l_uintptr_t */
1919 iarg[a++] = p->flags; /* l_int */
1923 /* linux_recvmmsg */
1925 struct linux_recvmmsg_args *p = params;
1926 iarg[a++] = p->s; /* l_int */
1927 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
1928 iarg[a++] = p->vlen; /* l_uint */
1929 iarg[a++] = p->flags; /* l_uint */
1930 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
1936 struct linux_wait4_args *p = params;
1937 iarg[a++] = p->pid; /* l_pid_t */
1938 uarg[a++] = (intptr_t)p->status; /* l_int * */
1939 iarg[a++] = p->options; /* l_int */
1940 uarg[a++] = (intptr_t)p->rusage; /* struct rusage * */
1944 /* linux_prlimit64 */
1946 struct linux_prlimit64_args *p = params;
1947 iarg[a++] = p->pid; /* l_pid_t */
1948 iarg[a++] = p->resource; /* l_uint */
1949 uarg[a++] = (intptr_t)p->new; /* struct rlimit * */
1950 uarg[a++] = (intptr_t)p->old; /* struct rlimit * */
1954 /* linux_fanotify_init */
1959 /* linux_fanotify_mark */
1964 /* linux_name_to_handle_at */
1966 struct linux_name_to_handle_at_args *p = params;
1967 iarg[a++] = p->dirfd; /* l_int */
1968 uarg[a++] = (intptr_t)p->name; /* const char * */
1969 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
1970 uarg[a++] = (intptr_t)p->mnt_id; /* l_int * */
1971 iarg[a++] = p->flags; /* l_int */
1975 /* linux_open_by_handle_at */
1977 struct linux_open_by_handle_at_args *p = params;
1978 iarg[a++] = p->mountdirfd; /* l_int */
1979 uarg[a++] = (intptr_t)p->handle; /* struct l_file_handle * */
1980 iarg[a++] = p->flags; /* l_int */
1984 /* linux_clock_adjtime */
1991 struct linux_syncfs_args *p = params;
1992 iarg[a++] = p->fd; /* l_int */
1998 struct linux_setns_args *p = params;
1999 iarg[a++] = p->fd; /* l_int */
2000 iarg[a++] = p->nstype; /* l_int */
2004 /* linux_sendmmsg */
2006 struct linux_sendmmsg_args *p = params;
2007 iarg[a++] = p->s; /* l_int */
2008 uarg[a++] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2009 iarg[a++] = p->vlen; /* l_uint */
2010 iarg[a++] = p->flags; /* l_uint */
2014 /* linux_process_vm_readv */
2016 struct linux_process_vm_readv_args *p = params;
2017 iarg[a++] = p->pid; /* l_pid_t */
2018 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2019 iarg[a++] = p->liovcnt; /* l_ulong */
2020 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2021 iarg[a++] = p->riovcnt; /* l_ulong */
2022 iarg[a++] = p->flags; /* l_ulong */
2026 /* linux_process_vm_writev */
2028 struct linux_process_vm_writev_args *p = params;
2029 iarg[a++] = p->pid; /* l_pid_t */
2030 uarg[a++] = (intptr_t)p->lvec; /* const struct iovec * */
2031 iarg[a++] = p->liovcnt; /* l_ulong */
2032 uarg[a++] = (intptr_t)p->rvec; /* const struct iovec * */
2033 iarg[a++] = p->riovcnt; /* l_ulong */
2034 iarg[a++] = p->flags; /* l_ulong */
2040 struct linux_kcmp_args *p = params;
2041 iarg[a++] = p->pid1; /* l_pid_t */
2042 iarg[a++] = p->pid2; /* l_pid_t */
2043 iarg[a++] = p->type; /* l_int */
2044 iarg[a++] = p->idx1; /* l_ulong */
2045 iarg[a++] = p->idx; /* l_ulong */
2049 /* linux_finit_module */
2051 struct linux_finit_module_args *p = params;
2052 iarg[a++] = p->fd; /* l_int */
2053 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2054 iarg[a++] = p->flags; /* l_int */
2058 /* linux_sched_setattr */
2060 struct linux_sched_setattr_args *p = params;
2061 iarg[a++] = p->pid; /* l_pid_t */
2062 uarg[a++] = (intptr_t)p->attr; /* void * */
2063 iarg[a++] = p->flags; /* l_uint */
2067 /* linux_sched_getattr */
2069 struct linux_sched_getattr_args *p = params;
2070 iarg[a++] = p->pid; /* l_pid_t */
2071 uarg[a++] = (intptr_t)p->attr; /* void * */
2072 iarg[a++] = p->size; /* l_uint */
2073 iarg[a++] = p->flags; /* l_uint */
2077 /* linux_renameat2 */
2079 struct linux_renameat2_args *p = params;
2080 iarg[a++] = p->olddfd; /* l_int */
2081 uarg[a++] = (intptr_t)p->oldname; /* const char * */
2082 iarg[a++] = p->newdfd; /* l_int */
2083 uarg[a++] = (intptr_t)p->newname; /* const char * */
2084 iarg[a++] = p->flags; /* l_uint */
2090 struct linux_seccomp_args *p = params;
2091 iarg[a++] = p->op; /* l_uint */
2092 iarg[a++] = p->flags; /* l_uint */
2093 uarg[a++] = (intptr_t)p->uargs; /* const char * */
2097 /* linux_getrandom */
2099 struct linux_getrandom_args *p = params;
2100 uarg[a++] = (intptr_t)p->buf; /* char * */
2101 iarg[a++] = p->count; /* l_size_t */
2102 iarg[a++] = p->flags; /* l_uint */
2106 /* linux_memfd_create */
2108 struct linux_memfd_create_args *p = params;
2109 uarg[a++] = (intptr_t)p->uname_ptr; /* const char * */
2110 iarg[a++] = p->flags; /* l_uint */
2116 struct linux_bpf_args *p = params;
2117 iarg[a++] = p->cmd; /* l_int */
2118 uarg[a++] = (intptr_t)p->attr; /* void * */
2119 iarg[a++] = p->size; /* l_uint */
2123 /* linux_execveat */
2125 struct linux_execveat_args *p = params;
2126 iarg[a++] = p->dfd; /* l_int */
2127 uarg[a++] = (intptr_t)p->filename; /* const char * */
2128 uarg[a++] = (intptr_t)p->argv; /* const char ** */
2129 uarg[a++] = (intptr_t)p->envp; /* const char ** */
2130 iarg[a++] = p->flags; /* l_int */
2134 /* linux_userfaultfd */
2136 struct linux_userfaultfd_args *p = params;
2137 iarg[a++] = p->flags; /* l_int */
2141 /* linux_membarrier */
2143 struct linux_membarrier_args *p = params;
2144 iarg[a++] = p->cmd; /* l_int */
2145 iarg[a++] = p->flags; /* l_int */
2151 struct linux_mlock2_args *p = params;
2152 iarg[a++] = p->start; /* l_ulong */
2153 iarg[a++] = p->len; /* l_size_t */
2154 iarg[a++] = p->flags; /* l_int */
2158 /* linux_copy_file_range */
2160 struct linux_copy_file_range_args *p = params;
2161 iarg[a++] = p->fd_in; /* l_int */
2162 uarg[a++] = (intptr_t)p->off_in; /* l_loff_t * */
2163 iarg[a++] = p->fd_out; /* l_int */
2164 uarg[a++] = (intptr_t)p->off_out; /* l_loff_t * */
2165 iarg[a++] = p->len; /* l_size_t */
2166 iarg[a++] = p->flags; /* l_uint */
2172 struct linux_preadv2_args *p = params;
2173 iarg[a++] = p->fd; /* l_ulong */
2174 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2175 iarg[a++] = p->vlen; /* l_ulong */
2176 iarg[a++] = p->pos_l; /* l_ulong */
2177 iarg[a++] = p->pos_h; /* l_ulong */
2178 iarg[a++] = p->flags; /* l_int */
2182 /* linux_pwritev2 */
2184 struct linux_pwritev2_args *p = params;
2185 iarg[a++] = p->fd; /* l_ulong */
2186 uarg[a++] = (intptr_t)p->vec; /* const struct iovec * */
2187 iarg[a++] = p->vlen; /* l_ulong */
2188 iarg[a++] = p->pos_l; /* l_ulong */
2189 iarg[a++] = p->pos_h; /* l_ulong */
2190 iarg[a++] = p->flags; /* l_int */
2194 /* linux_pkey_mprotect */
2196 struct linux_pkey_mprotect_args *p = params;
2197 iarg[a++] = p->start; /* l_ulong */
2198 iarg[a++] = p->len; /* l_size_t */
2199 iarg[a++] = p->prot; /* l_ulong */
2200 iarg[a++] = p->pkey; /* l_int */
2204 /* linux_pkey_alloc */
2206 struct linux_pkey_alloc_args *p = params;
2207 iarg[a++] = p->flags; /* l_ulong */
2208 iarg[a++] = p->init_val; /* l_ulong */
2212 /* linux_pkey_free */
2214 struct linux_pkey_free_args *p = params;
2215 iarg[a++] = p->pkey; /* l_int */
2221 struct linux_statx_args *p = params;
2222 iarg[a++] = p->dirfd; /* l_int */
2223 uarg[a++] = (intptr_t)p->pathname; /* const char * */
2224 iarg[a++] = p->flags; /* l_uint */
2225 iarg[a++] = p->mask; /* l_uint */
2226 uarg[a++] = (intptr_t)p->statxbuf; /* void * */
2230 /* linux_io_pgetevents */
2237 struct linux_rseq_args *p = params;
2238 uarg[a++] = (intptr_t)p->rseq; /* struct linux_rseq * */
2239 uarg[a++] = p->rseq_len; /* uint32_t */
2240 iarg[a++] = p->flags; /* l_int */
2241 uarg[a++] = p->sig; /* uint32_t */
2245 /* linux_kexec_file_load */
2250 /* linux_pidfd_send_signal */
2252 struct linux_pidfd_send_signal_args *p = params;
2253 iarg[a++] = p->pidfd; /* l_int */
2254 iarg[a++] = p->sig; /* l_int */
2255 uarg[a++] = (intptr_t)p->info; /* l_siginfo_t * */
2256 iarg[a++] = p->flags; /* l_uint */
2260 /* linux_io_uring_setup */
2265 /* linux_io_uring_enter */
2270 /* linux_io_uring_register */
2275 /* linux_open_tree */
2280 /* linux_move_mount */
2290 /* linux_fsconfig */
2305 /* linux_pidfd_open */
2312 struct linux_clone3_args *p = params;
2313 uarg[a++] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
2314 iarg[a++] = p->usize; /* l_size_t */
2318 /* linux_close_range */
2320 struct linux_close_range_args *p = params;
2321 iarg[a++] = p->first; /* l_uint */
2322 iarg[a++] = p->last; /* l_uint */
2323 iarg[a++] = p->flags; /* l_uint */
2332 /* linux_pidfd_getfd */
2337 /* linux_faccessat2 */
2339 struct linux_faccessat2_args *p = params;
2340 iarg[a++] = p->dfd; /* l_int */
2341 uarg[a++] = (intptr_t)p->filename; /* const char * */
2342 iarg[a++] = p->amode; /* l_int */
2343 iarg[a++] = p->flags; /* l_int */
2347 /* linux_process_madvise */
2352 /* linux_epoll_pwait2 */
2354 struct linux_epoll_pwait2_args *p = params;
2355 iarg[a++] = p->epfd; /* l_int */
2356 uarg[a++] = (intptr_t)p->events; /* struct epoll_event * */
2357 iarg[a++] = p->maxevents; /* l_int */
2358 uarg[a++] = (intptr_t)p->timeout; /* struct l_timespec * */
2359 uarg[a++] = (intptr_t)p->mask; /* l_sigset_t * */
2360 iarg[a++] = p->sigsetsize; /* l_size_t */
2364 /* linux_mount_setattr */
2375 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2377 const char *p = NULL;
2379 #define nosys linux_nosys
2380 /* linux_setxattr */
2384 p = "userland const char *";
2387 p = "userland const char *";
2390 p = "userland const char *";
2402 /* linux_lsetxattr */
2406 p = "userland const char *";
2409 p = "userland const char *";
2412 p = "userland const char *";
2424 /* linux_fsetxattr */
2431 p = "userland const char *";
2434 p = "userland const char *";
2446 /* linux_getxattr */
2450 p = "userland const char *";
2453 p = "userland const char *";
2456 p = "userland char *";
2465 /* linux_lgetxattr */
2469 p = "userland const char *";
2472 p = "userland const char *";
2475 p = "userland char *";
2484 /* linux_fgetxattr */
2491 p = "userland const char *";
2494 p = "userland char *";
2503 /* linux_listxattr */
2507 p = "userland const char *";
2510 p = "userland const char *";
2519 /* linux_llistxattr */
2523 p = "userland const char *";
2526 p = "userland const char *";
2535 /* linux_flistxattr */
2542 p = "userland const char *";
2551 /* linux_removexattr */
2555 p = "userland const char *";
2558 p = "userland const char *";
2564 /* linux_lremovexattr */
2568 p = "userland const char *";
2571 p = "userland const char *";
2577 /* linux_fremovexattr */
2584 p = "userland const char *";
2594 p = "userland char *";
2603 /* linux_lookup_dcookie */
2606 /* linux_eventfd2 */
2619 /* linux_epoll_create1 */
2629 /* linux_epoll_ctl */
2642 p = "userland struct epoll_event *";
2648 /* linux_epoll_pwait */
2655 p = "userland struct epoll_event *";
2664 p = "userland l_sigset_t *";
2715 /* linux_inotify_init1 */
2725 /* linux_inotify_add_watch */
2728 /* linux_inotify_rm_watch */
2747 /* linux_ioprio_set */
2750 /* linux_ioprio_get */
2773 p = "userland const char *";
2792 p = "userland const char *";
2801 /* linux_unlinkat */
2808 p = "userland const char *";
2817 /* linux_symlinkat */
2821 p = "userland const char *";
2827 p = "userland const char *";
2840 p = "userland const char *";
2846 p = "userland const char *";
2855 /* linux_renameat */
2862 p = "userland const char *";
2868 p = "userland const char *";
2878 p = "userland char *";
2881 p = "userland char *";
2884 p = "userland char *";
2890 p = "userland void *";
2896 /* linux_pivot_root */
2903 p = "userland char *";
2906 p = "userland struct l_statfs_buf *";
2919 p = "userland struct l_statfs_buf *";
2925 /* linux_truncate */
2929 p = "userland char *";
2938 /* linux_ftruncate */
2951 /* linux_fallocate */
2970 /* linux_faccessat */
2977 p = "userland const char *";
2990 p = "userland char *";
3010 p = "userland char *";
3029 /* linux_fchmodat */
3036 p = "userland const char *";
3045 /* linux_fchownat */
3052 p = "userland const char *";
3090 p = "userland const char *";
3119 p = "userland l_int *";
3128 /* linux_getdents64 */
3135 p = "userland void *";
3167 p = "userland char *";
3183 p = "userland char *";
3199 p = "userland struct iovec *";
3215 p = "userland struct iovec *";
3231 p = "userland char *";
3250 p = "userland char *";
3269 p = "userland struct iovec *";
3291 p = "userland struct iovec *";
3306 /* linux_sendfile */
3316 p = "userland l_off_t *";
3325 /* linux_pselect6 */
3332 p = "userland l_fd_set *";
3335 p = "userland l_fd_set *";
3338 p = "userland l_fd_set *";
3341 p = "userland struct l_timespec *";
3344 p = "userland l_uintptr_t *";
3354 p = "userland struct pollfd *";
3360 p = "userland struct l_timespec *";
3363 p = "userland l_sigset_t *";
3372 /* linux_signalfd4 */
3375 /* linux_vmsplice */
3385 p = "userland l_loff_t *";
3391 p = "userland l_loff_t *";
3406 /* linux_readlinkat */
3413 p = "userland const char *";
3416 p = "userland char *";
3425 /* linux_newfstatat */
3432 p = "userland char *";
3435 p = "userland struct l_stat64 *";
3444 /* linux_newfstat */
3451 p = "userland struct l_newstat *";
3467 /* linux_fdatasync */
3477 /* linux_sync_file_range */
3496 /* linux_timerfd_create */
3509 /* linux_timerfd_settime */
3519 p = "userland const struct l_itimerspec *";
3522 p = "userland struct l_itimerspec *";
3528 /* linux_timerfd_gettime */
3535 p = "userland struct l_itimerspec *";
3541 /* linux_utimensat */
3548 p = "userland const char *";
3551 p = "userland const struct l_timespec *";
3564 p = "userland char *";
3574 p = "userland struct l_user_cap_header *";
3577 p = "userland struct l_user_cap_data *";
3587 p = "userland struct l_user_cap_header *";
3590 p = "userland struct l_user_cap_data *";
3596 /* linux_personality */
3616 /* linux_exit_group */
3636 p = "userland l_siginfo_t *";
3642 p = "userland struct rusage *";
3648 /* linux_set_tid_address */
3652 p = "userland l_int *";
3661 /* linux_sys_futex */
3665 p = "userland uint32_t *";
3674 p = "userland struct l_timespec *";
3677 p = "userland uint32_t *";
3686 /* linux_set_robust_list */
3690 p = "userland struct linux_robust_list_head *";
3699 /* linux_get_robust_list */
3706 p = "userland struct linux_robust_list_head **";
3709 p = "userland l_size_t *";
3715 /* linux_nanosleep */
3719 p = "userland const struct l_timespec *";
3722 p = "userland struct l_timespec *";
3728 /* linux_getitimer */
3735 p = "userland struct l_itimerval *";
3741 /* linux_setitimer */
3748 p = "userland struct l_itimerval *";
3751 p = "userland struct l_itimerval *";
3757 /* linux_kexec_load */
3760 /* linux_init_module */
3763 /* linux_delete_module */
3766 /* linux_timer_create */
3773 p = "userland struct sigevent *";
3776 p = "userland l_timer_t *";
3782 /* linux_timer_gettime */
3789 p = "userland struct itimerspec *";
3795 /* linux_timer_getoverrun */
3805 /* linux_timer_settime */
3815 p = "userland const struct itimerspec *";
3818 p = "userland struct itimerspec *";
3824 /* linux_timer_delete */
3834 /* linux_clock_settime */
3841 p = "userland struct l_timespec *";
3847 /* linux_clock_gettime */
3854 p = "userland struct l_timespec *";
3860 /* linux_clock_getres */
3867 p = "userland struct l_timespec *";
3873 /* linux_clock_nanosleep */
3883 p = "userland struct l_timespec *";
3886 p = "userland struct l_timespec *";
3899 p = "userland char *";
3927 /* linux_sched_setparam */
3934 p = "userland struct sched_param *";
3940 /* linux_sched_setscheduler */
3950 p = "userland struct sched_param *";
3956 /* linux_sched_getscheduler */
3966 /* linux_sched_getparam */
3973 p = "userland struct sched_param *";
3979 /* linux_sched_setaffinity */
3989 p = "userland l_ulong *";
3995 /* linux_sched_getaffinity */
4005 p = "userland l_ulong *";
4014 /* linux_sched_get_priority_max */
4024 /* linux_sched_get_priority_min */
4034 /* linux_sched_rr_get_interval */
4041 p = "userland struct l_timespec *";
4089 /* linux_sigaltstack */
4093 p = "userland l_stack_t *";
4096 p = "userland l_stack_t *";
4102 /* linux_rt_sigsuspend */
4106 p = "userland l_sigset_t *";
4115 /* linux_rt_sigaction */
4122 p = "userland l_sigaction_t *";
4125 p = "userland l_sigaction_t *";
4134 /* linux_rt_sigprocmask */
4141 p = "userland l_sigset_t *";
4144 p = "userland l_sigset_t *";
4153 /* linux_rt_sigpending */
4157 p = "userland l_sigset_t *";
4166 /* linux_rt_sigtimedwait */
4170 p = "userland l_sigset_t *";
4173 p = "userland l_siginfo_t *";
4176 p = "userland struct l_timespec *";
4185 /* linux_rt_sigqueueinfo */
4195 p = "userland l_siginfo_t *";
4201 /* linux_rt_sigreturn */
4220 /* linux_getpriority */
4246 p = "userland void *";
4318 p = "userland uid_t *";
4321 p = "userland uid_t *";
4324 p = "userland uid_t *";
4350 p = "userland gid_t *";
4353 p = "userland gid_t *";
4356 p = "userland gid_t *";
4362 /* linux_setfsuid */
4372 /* linux_setfsgid */
4386 p = "userland struct l_times_argv *";
4428 /* linux_getgroups */
4435 p = "userland l_gid_t *";
4441 /* linux_setgroups */
4448 p = "userland l_gid_t *";
4454 /* linux_newuname */
4458 p = "userland struct l_new_utsname *";
4464 /* linux_sethostname */
4468 p = "userland char *";
4477 /* linux_setdomainname */
4481 p = "userland char *";
4490 /* linux_getrlimit */
4497 p = "userland struct l_rlimit *";
4503 /* linux_setrlimit */
4510 p = "userland struct l_rlimit *";
4523 p = "userland struct rusage *";
4565 p = "userland l_uint *";
4568 p = "userland l_uint *";
4571 p = "userland void *";
4581 p = "userland struct l_timeval *";
4584 p = "userland struct timezone *";
4594 p = "userland struct l_timeval *";
4597 p = "userland struct timezone *";
4603 /* linux_adjtimex */
4631 p = "userland struct l_sysinfo *";
4641 p = "userland const char *";
4650 p = "userland struct mq_attr *";
4656 /* linux_mq_unlink */
4660 p = "userland const char *";
4666 /* linux_mq_timedsend */
4673 p = "userland const char *";
4682 p = "userland const struct l_timespec *";
4688 /* linux_mq_timedreceive */
4695 p = "userland char *";
4701 p = "userland l_uint *";
4704 p = "userland const struct l_timespec *";
4710 /* linux_mq_notify */
4717 p = "userland const struct l_timespec *";
4723 /* linux_mq_getsetattr */
4730 p = "userland const struct mq_attr *";
4733 p = "userland struct mq_attr *";
4762 p = "userland struct l_msqid_ds *";
4775 p = "userland struct l_msgbuf *";
4797 p = "userland struct l_msgbuf *";
4838 p = "union l_semun";
4844 /* linux_semtimedop */
4851 p = "userland struct sembuf *";
4857 p = "userland struct l_timespec *";
4870 p = "userland struct sembuf *";
4905 p = "userland struct l_shmid_ds *";
4918 p = "userland char *";
4931 p = "userland char *";
4953 /* linux_socketpair */
5033 /* linux_getsockname */
5049 /* linux_getpeername */
5090 /* linux_recvfrom */
5115 /* linux_setsockopt */
5137 /* linux_getsockopt */
5159 /* linux_shutdown */
5218 p = "userland void *";
5252 /* linux_request_key */
5268 p = "userland l_int *";
5274 p = "userland l_int *";
5284 p = "userland char *";
5287 p = "userland l_uintptr_t *";
5290 p = "userland l_uintptr_t *";
5321 /* linux_fadvise64 */
5344 p = "userland char *";
5353 /* linux_mprotect */
5389 p = "userland const void *";
5402 p = "userland const void *";
5434 p = "userland u_char *";
5456 /* linux_remap_file_pages */
5462 /* linux_get_mempolicy */
5465 /* linux_set_mempolicy */
5468 /* linux_migrate_pages */
5471 /* linux_move_pages */
5474 /* linux_rt_tgsigqueueinfo */
5487 p = "userland l_siginfo_t *";
5493 /* linux_perf_event_open */
5515 /* linux_recvmmsg */
5522 p = "userland struct l_mmsghdr *";
5531 p = "userland struct l_timespec *";
5544 p = "userland l_int *";
5550 p = "userland struct rusage *";
5556 /* linux_prlimit64 */
5566 p = "userland struct rlimit *";
5569 p = "userland struct rlimit *";
5575 /* linux_fanotify_init */
5578 /* linux_fanotify_mark */
5581 /* linux_name_to_handle_at */
5588 p = "userland const char *";
5591 p = "userland struct l_file_handle *";
5594 p = "userland l_int *";
5603 /* linux_open_by_handle_at */
5610 p = "userland struct l_file_handle *";
5619 /* linux_clock_adjtime */
5645 /* linux_sendmmsg */
5652 p = "userland struct l_mmsghdr *";
5664 /* linux_process_vm_readv */
5671 p = "userland const struct iovec *";
5677 p = "userland const struct iovec *";
5689 /* linux_process_vm_writev */
5696 p = "userland const struct iovec *";
5702 p = "userland const struct iovec *";
5736 /* linux_finit_module */
5743 p = "userland const char *";
5752 /* linux_sched_setattr */
5759 p = "userland void *";
5768 /* linux_sched_getattr */
5775 p = "userland void *";
5787 /* linux_renameat2 */
5794 p = "userland const char *";
5800 p = "userland const char *";
5819 p = "userland const char *";
5825 /* linux_getrandom */
5829 p = "userland char *";
5841 /* linux_memfd_create */
5845 p = "userland const char *";
5861 p = "userland void *";
5870 /* linux_execveat */
5877 p = "userland const char *";
5880 p = "userland const char **";
5883 p = "userland const char **";
5892 /* linux_userfaultfd */
5902 /* linux_membarrier */
5931 /* linux_copy_file_range */
5938 p = "userland l_loff_t *";
5944 p = "userland l_loff_t *";
5963 p = "userland const struct iovec *";
5981 /* linux_pwritev2 */
5988 p = "userland const struct iovec *";
6006 /* linux_pkey_mprotect */
6025 /* linux_pkey_alloc */
6038 /* linux_pkey_free */
6055 p = "userland const char *";
6064 p = "userland void *";
6070 /* linux_io_pgetevents */
6077 p = "userland struct linux_rseq *";
6092 /* linux_kexec_file_load */
6095 /* linux_pidfd_send_signal */
6105 p = "userland l_siginfo_t *";
6114 /* linux_io_uring_setup */
6117 /* linux_io_uring_enter */
6120 /* linux_io_uring_register */
6123 /* linux_open_tree */
6126 /* linux_move_mount */
6132 /* linux_fsconfig */
6141 /* linux_pidfd_open */
6148 p = "userland struct l_user_clone_args *";
6157 /* linux_close_range */
6176 /* linux_pidfd_getfd */
6179 /* linux_faccessat2 */
6186 p = "userland const char *";
6198 /* linux_process_madvise */
6201 /* linux_epoll_pwait2 */
6208 p = "userland struct epoll_event *";
6214 p = "userland struct l_timespec *";
6217 p = "userland l_sigset_t *";
6226 /* linux_mount_setattr */
6233 strlcpy(desc, p, descsz);
6236 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6238 const char *p = NULL;
6240 #define nosys linux_nosys
6241 /* linux_setxattr */
6243 if (ndx == 0 || ndx == 1)
6246 /* linux_lsetxattr */
6248 if (ndx == 0 || ndx == 1)
6251 /* linux_fsetxattr */
6253 if (ndx == 0 || ndx == 1)
6256 /* linux_getxattr */
6258 if (ndx == 0 || ndx == 1)
6261 /* linux_lgetxattr */
6263 if (ndx == 0 || ndx == 1)
6266 /* linux_fgetxattr */
6268 if (ndx == 0 || ndx == 1)
6271 /* linux_listxattr */
6273 if (ndx == 0 || ndx == 1)
6276 /* linux_llistxattr */
6278 if (ndx == 0 || ndx == 1)
6281 /* linux_flistxattr */
6283 if (ndx == 0 || ndx == 1)
6286 /* linux_removexattr */
6288 if (ndx == 0 || ndx == 1)
6291 /* linux_lremovexattr */
6293 if (ndx == 0 || ndx == 1)
6296 /* linux_fremovexattr */
6298 if (ndx == 0 || ndx == 1)
6303 if (ndx == 0 || ndx == 1)
6306 /* linux_lookup_dcookie */
6308 /* linux_eventfd2 */
6310 if (ndx == 0 || ndx == 1)
6313 /* linux_epoll_create1 */
6315 if (ndx == 0 || ndx == 1)
6318 /* linux_epoll_ctl */
6320 if (ndx == 0 || ndx == 1)
6323 /* linux_epoll_pwait */
6325 if (ndx == 0 || ndx == 1)
6330 if (ndx == 0 || ndx == 1)
6335 if (ndx == 0 || ndx == 1)
6340 if (ndx == 0 || ndx == 1)
6343 /* linux_inotify_init1 */
6345 if (ndx == 0 || ndx == 1)
6348 /* linux_inotify_add_watch */
6350 /* linux_inotify_rm_watch */
6354 if (ndx == 0 || ndx == 1)
6357 /* linux_ioprio_set */
6359 /* linux_ioprio_get */
6363 if (ndx == 0 || ndx == 1)
6368 if (ndx == 0 || ndx == 1)
6373 if (ndx == 0 || ndx == 1)
6376 /* linux_unlinkat */
6378 if (ndx == 0 || ndx == 1)
6381 /* linux_symlinkat */
6383 if (ndx == 0 || ndx == 1)
6388 if (ndx == 0 || ndx == 1)
6391 /* linux_renameat */
6393 if (ndx == 0 || ndx == 1)
6398 if (ndx == 0 || ndx == 1)
6401 /* linux_pivot_root */
6405 if (ndx == 0 || ndx == 1)
6410 if (ndx == 0 || ndx == 1)
6413 /* linux_truncate */
6415 if (ndx == 0 || ndx == 1)
6418 /* linux_ftruncate */
6420 if (ndx == 0 || ndx == 1)
6423 /* linux_fallocate */
6425 if (ndx == 0 || ndx == 1)
6428 /* linux_faccessat */
6430 if (ndx == 0 || ndx == 1)
6435 if (ndx == 0 || ndx == 1)
6440 if (ndx == 0 || ndx == 1)
6445 if (ndx == 0 || ndx == 1)
6450 if (ndx == 0 || ndx == 1)
6453 /* linux_fchmodat */
6455 if (ndx == 0 || ndx == 1)
6458 /* linux_fchownat */
6460 if (ndx == 0 || ndx == 1)
6465 if (ndx == 0 || ndx == 1)
6470 if (ndx == 0 || ndx == 1)
6475 if (ndx == 0 || ndx == 1)
6482 if (ndx == 0 || ndx == 1)
6485 /* linux_getdents64 */
6487 if (ndx == 0 || ndx == 1)
6492 if (ndx == 0 || ndx == 1)
6497 if (ndx == 0 || ndx == 1)
6502 if (ndx == 0 || ndx == 1)
6507 if (ndx == 0 || ndx == 1)
6512 if (ndx == 0 || ndx == 1)
6517 if (ndx == 0 || ndx == 1)
6522 if (ndx == 0 || ndx == 1)
6527 if (ndx == 0 || ndx == 1)
6532 if (ndx == 0 || ndx == 1)
6535 /* linux_sendfile */
6537 if (ndx == 0 || ndx == 1)
6540 /* linux_pselect6 */
6542 if (ndx == 0 || ndx == 1)
6547 if (ndx == 0 || ndx == 1)
6550 /* linux_signalfd4 */
6552 /* linux_vmsplice */
6556 if (ndx == 0 || ndx == 1)
6561 /* linux_readlinkat */
6563 if (ndx == 0 || ndx == 1)
6566 /* linux_newfstatat */
6568 if (ndx == 0 || ndx == 1)
6571 /* linux_newfstat */
6573 if (ndx == 0 || ndx == 1)
6578 if (ndx == 0 || ndx == 1)
6581 /* linux_fdatasync */
6583 if (ndx == 0 || ndx == 1)
6586 /* linux_sync_file_range */
6588 if (ndx == 0 || ndx == 1)
6591 /* linux_timerfd_create */
6593 if (ndx == 0 || ndx == 1)
6596 /* linux_timerfd_settime */
6598 if (ndx == 0 || ndx == 1)
6601 /* linux_timerfd_gettime */
6603 if (ndx == 0 || ndx == 1)
6606 /* linux_utimensat */
6608 if (ndx == 0 || ndx == 1)
6613 if (ndx == 0 || ndx == 1)
6618 if (ndx == 0 || ndx == 1)
6623 if (ndx == 0 || ndx == 1)
6626 /* linux_personality */
6628 if (ndx == 0 || ndx == 1)
6633 if (ndx == 0 || ndx == 1)
6636 /* linux_exit_group */
6638 if (ndx == 0 || ndx == 1)
6643 if (ndx == 0 || ndx == 1)
6646 /* linux_set_tid_address */
6648 if (ndx == 0 || ndx == 1)
6653 /* linux_sys_futex */
6655 if (ndx == 0 || ndx == 1)
6658 /* linux_set_robust_list */
6660 if (ndx == 0 || ndx == 1)
6663 /* linux_get_robust_list */
6665 if (ndx == 0 || ndx == 1)
6668 /* linux_nanosleep */
6670 if (ndx == 0 || ndx == 1)
6673 /* linux_getitimer */
6675 if (ndx == 0 || ndx == 1)
6678 /* linux_setitimer */
6680 if (ndx == 0 || ndx == 1)
6683 /* linux_kexec_load */
6685 /* linux_init_module */
6687 /* linux_delete_module */
6689 /* linux_timer_create */
6691 if (ndx == 0 || ndx == 1)
6694 /* linux_timer_gettime */
6696 if (ndx == 0 || ndx == 1)
6699 /* linux_timer_getoverrun */
6701 if (ndx == 0 || ndx == 1)
6704 /* linux_timer_settime */
6706 if (ndx == 0 || ndx == 1)
6709 /* linux_timer_delete */
6711 if (ndx == 0 || ndx == 1)
6714 /* linux_clock_settime */
6716 if (ndx == 0 || ndx == 1)
6719 /* linux_clock_gettime */
6721 if (ndx == 0 || ndx == 1)
6724 /* linux_clock_getres */
6726 if (ndx == 0 || ndx == 1)
6729 /* linux_clock_nanosleep */
6731 if (ndx == 0 || ndx == 1)
6736 if (ndx == 0 || ndx == 1)
6741 if (ndx == 0 || ndx == 1)
6744 /* linux_sched_setparam */
6746 if (ndx == 0 || ndx == 1)
6749 /* linux_sched_setscheduler */
6751 if (ndx == 0 || ndx == 1)
6754 /* linux_sched_getscheduler */
6756 if (ndx == 0 || ndx == 1)
6759 /* linux_sched_getparam */
6761 if (ndx == 0 || ndx == 1)
6764 /* linux_sched_setaffinity */
6766 if (ndx == 0 || ndx == 1)
6769 /* linux_sched_getaffinity */
6771 if (ndx == 0 || ndx == 1)
6776 /* linux_sched_get_priority_max */
6778 if (ndx == 0 || ndx == 1)
6781 /* linux_sched_get_priority_min */
6783 if (ndx == 0 || ndx == 1)
6786 /* linux_sched_rr_get_interval */
6788 if (ndx == 0 || ndx == 1)
6793 if (ndx == 0 || ndx == 1)
6798 if (ndx == 0 || ndx == 1)
6803 if (ndx == 0 || ndx == 1)
6806 /* linux_sigaltstack */
6808 if (ndx == 0 || ndx == 1)
6811 /* linux_rt_sigsuspend */
6813 if (ndx == 0 || ndx == 1)
6816 /* linux_rt_sigaction */
6818 if (ndx == 0 || ndx == 1)
6821 /* linux_rt_sigprocmask */
6823 if (ndx == 0 || ndx == 1)
6826 /* linux_rt_sigpending */
6828 if (ndx == 0 || ndx == 1)
6831 /* linux_rt_sigtimedwait */
6833 if (ndx == 0 || ndx == 1)
6836 /* linux_rt_sigqueueinfo */
6838 if (ndx == 0 || ndx == 1)
6841 /* linux_rt_sigreturn */
6845 if (ndx == 0 || ndx == 1)
6848 /* linux_getpriority */
6850 if (ndx == 0 || ndx == 1)
6855 if (ndx == 0 || ndx == 1)
6860 if (ndx == 0 || ndx == 1)
6865 if (ndx == 0 || ndx == 1)
6870 if (ndx == 0 || ndx == 1)
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)
6898 /* linux_setfsuid */
6900 if (ndx == 0 || ndx == 1)
6903 /* linux_setfsgid */
6905 if (ndx == 0 || ndx == 1)
6910 if (ndx == 0 || ndx == 1)
6915 if (ndx == 0 || ndx == 1)
6920 if (ndx == 0 || ndx == 1)
6925 if (ndx == 0 || ndx == 1)
6930 /* linux_getgroups */
6932 if (ndx == 0 || ndx == 1)
6935 /* linux_setgroups */
6937 if (ndx == 0 || ndx == 1)
6940 /* linux_newuname */
6942 if (ndx == 0 || ndx == 1)
6945 /* linux_sethostname */
6947 if (ndx == 0 || ndx == 1)
6950 /* linux_setdomainname */
6952 if (ndx == 0 || ndx == 1)
6955 /* linux_getrlimit */
6957 if (ndx == 0 || ndx == 1)
6960 /* linux_setrlimit */
6962 if (ndx == 0 || ndx == 1)
6967 if (ndx == 0 || ndx == 1)
6972 if (ndx == 0 || ndx == 1)
6977 if (ndx == 0 || ndx == 1)
6982 if (ndx == 0 || ndx == 1)
6987 if (ndx == 0 || ndx == 1)
6992 if (ndx == 0 || ndx == 1)
6995 /* linux_adjtimex */
7013 if (ndx == 0 || ndx == 1)
7018 if (ndx == 0 || ndx == 1)
7021 /* linux_mq_unlink */
7023 if (ndx == 0 || ndx == 1)
7026 /* linux_mq_timedsend */
7028 if (ndx == 0 || ndx == 1)
7031 /* linux_mq_timedreceive */
7033 if (ndx == 0 || ndx == 1)
7036 /* linux_mq_notify */
7038 if (ndx == 0 || ndx == 1)
7041 /* linux_mq_getsetattr */
7043 if (ndx == 0 || ndx == 1)
7048 if (ndx == 0 || ndx == 1)
7053 if (ndx == 0 || ndx == 1)
7058 if (ndx == 0 || ndx == 1)
7063 if (ndx == 0 || ndx == 1)
7068 if (ndx == 0 || ndx == 1)
7073 if (ndx == 0 || ndx == 1)
7076 /* linux_semtimedop */
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 if (ndx == 0 || ndx == 1)
7111 /* linux_socketpair */
7113 if (ndx == 0 || ndx == 1)
7118 if (ndx == 0 || ndx == 1)
7123 if (ndx == 0 || ndx == 1)
7128 if (ndx == 0 || ndx == 1)
7133 if (ndx == 0 || ndx == 1)
7136 /* linux_getsockname */
7138 if (ndx == 0 || ndx == 1)
7141 /* linux_getpeername */
7143 if (ndx == 0 || ndx == 1)
7148 if (ndx == 0 || ndx == 1)
7151 /* linux_recvfrom */
7153 if (ndx == 0 || ndx == 1)
7156 /* linux_setsockopt */
7158 if (ndx == 0 || ndx == 1)
7161 /* linux_getsockopt */
7163 if (ndx == 0 || ndx == 1)
7166 /* linux_shutdown */
7168 if (ndx == 0 || ndx == 1)
7173 if (ndx == 0 || ndx == 1)
7178 if (ndx == 0 || ndx == 1)
7183 if (ndx == 0 || ndx == 1)
7188 if (ndx == 0 || ndx == 1)
7193 if (ndx == 0 || ndx == 1)
7198 /* linux_request_key */
7204 if (ndx == 0 || ndx == 1)
7209 if (ndx == 0 || ndx == 1)
7214 if (ndx == 0 || ndx == 1)
7217 /* linux_fadvise64 */
7219 if (ndx == 0 || ndx == 1)
7224 if (ndx == 0 || ndx == 1)
7229 /* linux_mprotect */
7231 if (ndx == 0 || ndx == 1)
7236 if (ndx == 0 || ndx == 1)
7241 if (ndx == 0 || ndx == 1)
7246 if (ndx == 0 || ndx == 1)
7251 if (ndx == 0 || ndx == 1)
7258 if (ndx == 0 || ndx == 1)
7263 if (ndx == 0 || ndx == 1)
7266 /* linux_remap_file_pages */
7270 /* linux_get_mempolicy */
7272 /* linux_set_mempolicy */
7274 /* linux_migrate_pages */
7276 /* linux_move_pages */
7278 /* linux_rt_tgsigqueueinfo */
7280 if (ndx == 0 || ndx == 1)
7283 /* linux_perf_event_open */
7287 if (ndx == 0 || ndx == 1)
7290 /* linux_recvmmsg */
7292 if (ndx == 0 || ndx == 1)
7297 if (ndx == 0 || ndx == 1)
7300 /* linux_prlimit64 */
7302 if (ndx == 0 || ndx == 1)
7305 /* linux_fanotify_init */
7307 /* linux_fanotify_mark */
7309 /* linux_name_to_handle_at */
7311 if (ndx == 0 || ndx == 1)
7314 /* linux_open_by_handle_at */
7316 if (ndx == 0 || ndx == 1)
7319 /* linux_clock_adjtime */
7323 if (ndx == 0 || ndx == 1)
7328 if (ndx == 0 || ndx == 1)
7331 /* linux_sendmmsg */
7333 if (ndx == 0 || ndx == 1)
7336 /* linux_process_vm_readv */
7338 if (ndx == 0 || ndx == 1)
7341 /* linux_process_vm_writev */
7343 if (ndx == 0 || ndx == 1)
7348 if (ndx == 0 || ndx == 1)
7351 /* linux_finit_module */
7353 if (ndx == 0 || ndx == 1)
7356 /* linux_sched_setattr */
7358 if (ndx == 0 || ndx == 1)
7361 /* linux_sched_getattr */
7363 if (ndx == 0 || ndx == 1)
7366 /* linux_renameat2 */
7368 if (ndx == 0 || ndx == 1)
7373 if (ndx == 0 || ndx == 1)
7376 /* linux_getrandom */
7378 if (ndx == 0 || ndx == 1)
7381 /* linux_memfd_create */
7383 if (ndx == 0 || ndx == 1)
7388 if (ndx == 0 || ndx == 1)
7391 /* linux_execveat */
7393 if (ndx == 0 || ndx == 1)
7396 /* linux_userfaultfd */
7398 if (ndx == 0 || ndx == 1)
7401 /* linux_membarrier */
7403 if (ndx == 0 || ndx == 1)
7408 if (ndx == 0 || ndx == 1)
7411 /* linux_copy_file_range */
7413 if (ndx == 0 || ndx == 1)
7418 if (ndx == 0 || ndx == 1)
7421 /* linux_pwritev2 */
7423 if (ndx == 0 || ndx == 1)
7426 /* linux_pkey_mprotect */
7428 if (ndx == 0 || ndx == 1)
7431 /* linux_pkey_alloc */
7433 if (ndx == 0 || ndx == 1)
7436 /* linux_pkey_free */
7438 if (ndx == 0 || ndx == 1)
7443 if (ndx == 0 || ndx == 1)
7446 /* linux_io_pgetevents */
7450 if (ndx == 0 || ndx == 1)
7453 /* linux_kexec_file_load */
7455 /* linux_pidfd_send_signal */
7457 if (ndx == 0 || ndx == 1)
7460 /* linux_io_uring_setup */
7462 /* linux_io_uring_enter */
7464 /* linux_io_uring_register */
7466 /* linux_open_tree */
7468 /* linux_move_mount */
7472 /* linux_fsconfig */
7478 /* linux_pidfd_open */
7482 if (ndx == 0 || ndx == 1)
7485 /* linux_close_range */
7487 if (ndx == 0 || ndx == 1)
7492 /* linux_pidfd_getfd */
7494 /* linux_faccessat2 */
7496 if (ndx == 0 || ndx == 1)
7499 /* linux_process_madvise */
7501 /* linux_epoll_pwait2 */
7503 if (ndx == 0 || ndx == 1)
7506 /* linux_mount_setattr */
7512 strlcpy(desc, p, descsz);