2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *)uarg;
14 #define nosys linux_nosys
17 struct linux_setxattr_args *p = params;
18 uarg[0] = (intptr_t)p->path; /* const char * */
19 uarg[1] = (intptr_t)p->name; /* const char * */
20 uarg[2] = (intptr_t)p->value; /* const char * */
21 iarg[3] = p->size; /* l_size_t */
22 iarg[4] = p->flags; /* l_int */
28 struct linux_lsetxattr_args *p = params;
29 uarg[0] = (intptr_t)p->path; /* const char * */
30 uarg[1] = (intptr_t)p->name; /* const char * */
31 uarg[2] = (intptr_t)p->value; /* const char * */
32 iarg[3] = p->size; /* l_size_t */
33 iarg[4] = p->flags; /* l_int */
39 struct linux_fsetxattr_args *p = params;
40 iarg[0] = p->fd; /* l_int */
41 uarg[1] = (intptr_t)p->name; /* const char * */
42 uarg[2] = (intptr_t)p->value; /* const char * */
43 iarg[3] = p->size; /* l_size_t */
44 iarg[4] = p->flags; /* l_int */
50 struct linux_getxattr_args *p = params;
51 uarg[0] = (intptr_t)p->path; /* const char * */
52 uarg[1] = (intptr_t)p->name; /* const char * */
53 uarg[2] = (intptr_t)p->value; /* char * */
54 iarg[3] = p->size; /* l_size_t */
60 struct linux_lgetxattr_args *p = params;
61 uarg[0] = (intptr_t)p->path; /* const char * */
62 uarg[1] = (intptr_t)p->name; /* const char * */
63 uarg[2] = (intptr_t)p->value; /* char * */
64 iarg[3] = p->size; /* l_size_t */
70 struct linux_fgetxattr_args *p = params;
71 iarg[0] = p->fd; /* l_int */
72 uarg[1] = (intptr_t)p->name; /* const char * */
73 uarg[2] = (intptr_t)p->value; /* char * */
74 iarg[3] = p->size; /* l_size_t */
80 struct linux_listxattr_args *p = params;
81 uarg[0] = (intptr_t)p->path; /* const char * */
82 uarg[1] = (intptr_t)p->list; /* const char * */
83 iarg[2] = p->size; /* l_size_t */
87 /* linux_llistxattr */
89 struct linux_llistxattr_args *p = params;
90 uarg[0] = (intptr_t)p->path; /* const char * */
91 uarg[1] = (intptr_t)p->list; /* const char * */
92 iarg[2] = p->size; /* l_size_t */
96 /* linux_flistxattr */
98 struct linux_flistxattr_args *p = params;
99 iarg[0] = p->fd; /* l_int */
100 uarg[1] = (intptr_t)p->list; /* const char * */
101 iarg[2] = p->size; /* l_size_t */
105 /* linux_removexattr */
107 struct linux_removexattr_args *p = params;
108 uarg[0] = (intptr_t)p->path; /* const char * */
109 uarg[1] = (intptr_t)p->name; /* const char * */
113 /* linux_lremovexattr */
115 struct linux_lremovexattr_args *p = params;
116 uarg[0] = (intptr_t)p->path; /* const char * */
117 uarg[1] = (intptr_t)p->name; /* const char * */
121 /* linux_fremovexattr */
123 struct linux_fremovexattr_args *p = params;
124 iarg[0] = p->fd; /* l_int */
125 uarg[1] = (intptr_t)p->name; /* const char * */
131 struct linux_getcwd_args *p = params;
132 uarg[0] = (intptr_t)p->buf; /* char * */
133 iarg[1] = p->bufsize; /* l_ulong */
137 /* linux_lookup_dcookie */
144 struct linux_eventfd2_args *p = params;
145 iarg[0] = p->initval; /* l_uint */
146 iarg[1] = p->flags; /* l_int */
150 /* linux_epoll_create1 */
152 struct linux_epoll_create1_args *p = params;
153 iarg[0] = p->flags; /* l_int */
157 /* linux_epoll_ctl */
159 struct linux_epoll_ctl_args *p = params;
160 iarg[0] = p->epfd; /* l_int */
161 iarg[1] = p->op; /* l_int */
162 iarg[2] = p->fd; /* l_int */
163 uarg[3] = (intptr_t)p->event; /* struct epoll_event * */
167 /* linux_epoll_pwait */
169 struct linux_epoll_pwait_args *p = params;
170 iarg[0] = p->epfd; /* l_int */
171 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
172 iarg[2] = p->maxevents; /* l_int */
173 iarg[3] = p->timeout; /* l_int */
174 uarg[4] = (intptr_t)p->mask; /* l_sigset_t * */
175 iarg[5] = p->sigsetsize; /* l_size_t */
181 struct dup_args *p = params;
182 uarg[0] = p->fd; /* u_int */
188 struct linux_dup3_args *p = params;
189 iarg[0] = p->oldfd; /* l_int */
190 iarg[1] = p->newfd; /* l_int */
191 iarg[2] = p->flags; /* l_int */
197 struct linux_fcntl_args *p = params;
198 iarg[0] = p->fd; /* l_uint */
199 iarg[1] = p->cmd; /* l_uint */
200 iarg[2] = p->arg; /* l_ulong */
204 /* linux_inotify_init1 */
206 struct linux_inotify_init1_args *p = params;
207 iarg[0] = p->flags; /* l_int */
211 /* linux_inotify_add_watch */
216 /* linux_inotify_rm_watch */
223 struct linux_ioctl_args *p = params;
224 iarg[0] = p->fd; /* l_uint */
225 iarg[1] = p->cmd; /* l_uint */
226 iarg[2] = p->arg; /* l_ulong */
230 /* linux_ioprio_set */
235 /* linux_ioprio_get */
242 struct flock_args *p = params;
243 iarg[0] = p->fd; /* int */
244 iarg[1] = p->how; /* int */
250 struct linux_mknodat_args *p = params;
251 iarg[0] = p->dfd; /* l_int */
252 uarg[1] = (intptr_t)p->filename; /* const char * */
253 iarg[2] = p->mode; /* l_int */
254 iarg[3] = p->dev; /* l_uint */
260 struct linux_mkdirat_args *p = params;
261 iarg[0] = p->dfd; /* l_int */
262 uarg[1] = (intptr_t)p->pathname; /* const char * */
263 iarg[2] = p->mode; /* l_mode_t */
269 struct linux_unlinkat_args *p = params;
270 iarg[0] = p->dfd; /* l_int */
271 uarg[1] = (intptr_t)p->pathname; /* const char * */
272 iarg[2] = p->flag; /* l_int */
276 /* linux_symlinkat */
278 struct linux_symlinkat_args *p = params;
279 uarg[0] = (intptr_t)p->oldname; /* const char * */
280 iarg[1] = p->newdfd; /* l_int */
281 uarg[2] = (intptr_t)p->newname; /* const char * */
287 struct linux_linkat_args *p = params;
288 iarg[0] = p->olddfd; /* l_int */
289 uarg[1] = (intptr_t)p->oldname; /* const char * */
290 iarg[2] = p->newdfd; /* l_int */
291 uarg[3] = (intptr_t)p->newname; /* const char * */
292 iarg[4] = p->flag; /* l_int */
298 struct linux_renameat_args *p = params;
299 iarg[0] = p->olddfd; /* l_int */
300 uarg[1] = (intptr_t)p->oldname; /* const char * */
301 iarg[2] = p->newdfd; /* l_int */
302 uarg[3] = (intptr_t)p->newname; /* const char * */
308 struct linux_mount_args *p = params;
309 uarg[0] = (intptr_t)p->specialfile; /* char * */
310 uarg[1] = (intptr_t)p->dir; /* char * */
311 uarg[2] = (intptr_t)p->filesystemtype; /* char * */
312 iarg[3] = p->rwflag; /* l_ulong */
313 uarg[4] = (intptr_t)p->data; /* void * */
317 /* linux_pivot_root */
324 struct linux_statfs_args *p = params;
325 uarg[0] = (intptr_t)p->path; /* char * */
326 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
332 struct linux_fstatfs_args *p = params;
333 iarg[0] = p->fd; /* l_uint */
334 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
340 struct linux_truncate_args *p = params;
341 uarg[0] = (intptr_t)p->path; /* char * */
342 iarg[1] = p->length; /* l_ulong */
346 /* linux_ftruncate */
348 struct linux_ftruncate_args *p = params;
349 iarg[0] = p->fd; /* l_int */
350 iarg[1] = p->length; /* l_long */
354 /* linux_fallocate */
356 struct linux_fallocate_args *p = params;
357 iarg[0] = p->fd; /* l_int */
358 iarg[1] = p->mode; /* l_int */
359 iarg[2] = p->offset; /* l_loff_t */
360 iarg[3] = p->len; /* l_loff_t */
364 /* linux_faccessat */
366 struct linux_faccessat_args *p = params;
367 iarg[0] = p->dfd; /* l_int */
368 uarg[1] = (intptr_t)p->filename; /* const char * */
369 iarg[2] = p->amode; /* l_int */
375 struct linux_chdir_args *p = params;
376 uarg[0] = (intptr_t)p->path; /* char * */
382 struct fchdir_args *p = params;
383 iarg[0] = p->fd; /* int */
389 struct chroot_args *p = params;
390 uarg[0] = (intptr_t)p->path; /* char * */
396 struct fchmod_args *p = params;
397 iarg[0] = p->fd; /* int */
398 iarg[1] = p->mode; /* int */
404 struct linux_fchmodat_args *p = params;
405 iarg[0] = p->dfd; /* l_int */
406 uarg[1] = (intptr_t)p->filename; /* const char * */
407 iarg[2] = p->mode; /* l_mode_t */
413 struct linux_fchownat_args *p = params;
414 iarg[0] = p->dfd; /* l_int */
415 uarg[1] = (intptr_t)p->filename; /* const char * */
416 iarg[2] = p->uid; /* l_uid_t */
417 iarg[3] = p->gid; /* l_gid_t */
418 iarg[4] = p->flag; /* l_int */
424 struct fchown_args *p = params;
425 iarg[0] = p->fd; /* int */
426 iarg[1] = p->uid; /* int */
427 iarg[2] = p->gid; /* int */
433 struct linux_openat_args *p = params;
434 iarg[0] = p->dfd; /* l_int */
435 uarg[1] = (intptr_t)p->filename; /* const char * */
436 iarg[2] = p->flags; /* l_int */
437 iarg[3] = p->mode; /* l_mode_t */
443 struct close_args *p = params;
444 iarg[0] = p->fd; /* int */
455 struct linux_pipe2_args *p = params;
456 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
457 iarg[1] = p->flags; /* l_int */
461 /* linux_getdents64 */
463 struct linux_getdents64_args *p = params;
464 iarg[0] = p->fd; /* l_uint */
465 uarg[1] = (intptr_t)p->dirent; /* void * */
466 iarg[2] = p->count; /* l_uint */
472 struct linux_lseek_args *p = params;
473 iarg[0] = p->fdes; /* l_uint */
474 iarg[1] = p->off; /* l_off_t */
475 iarg[2] = p->whence; /* l_int */
481 struct read_args *p = params;
482 iarg[0] = p->fd; /* int */
483 uarg[1] = (intptr_t)p->buf; /* char * */
484 iarg[2] = p->nbyte; /* l_size_t */
490 struct write_args *p = params;
491 iarg[0] = p->fd; /* int */
492 uarg[1] = (intptr_t)p->buf; /* char * */
493 iarg[2] = p->nbyte; /* l_size_t */
499 struct readv_args *p = params;
500 iarg[0] = p->fd; /* int */
501 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
502 uarg[2] = p->iovcnt; /* u_int */
508 struct writev_args *p = params;
509 iarg[0] = p->fd; /* int */
510 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
511 uarg[2] = p->iovcnt; /* u_int */
517 struct linux_pread_args *p = params;
518 iarg[0] = p->fd; /* l_uint */
519 uarg[1] = (intptr_t)p->buf; /* char * */
520 iarg[2] = p->nbyte; /* l_size_t */
521 iarg[3] = p->offset; /* l_loff_t */
527 struct linux_pwrite_args *p = params;
528 iarg[0] = p->fd; /* l_uint */
529 uarg[1] = (intptr_t)p->buf; /* char * */
530 iarg[2] = p->nbyte; /* l_size_t */
531 iarg[3] = p->offset; /* l_loff_t */
537 struct linux_preadv_args *p = params;
538 iarg[0] = p->fd; /* l_ulong */
539 uarg[1] = (intptr_t)p->vec; /* struct iovec * */
540 iarg[2] = p->vlen; /* l_ulong */
541 iarg[3] = p->pos_l; /* l_ulong */
542 iarg[4] = p->pos_h; /* l_ulong */
548 struct linux_pwritev_args *p = params;
549 iarg[0] = p->fd; /* l_ulong */
550 uarg[1] = (intptr_t)p->vec; /* struct iovec * */
551 iarg[2] = p->vlen; /* l_ulong */
552 iarg[3] = p->pos_l; /* l_ulong */
553 iarg[4] = p->pos_h; /* l_ulong */
559 struct linux_sendfile_args *p = params;
560 iarg[0] = p->out; /* l_int */
561 iarg[1] = p->in; /* l_int */
562 uarg[2] = (intptr_t)p->offset; /* l_off_t * */
563 iarg[3] = p->count; /* l_size_t */
569 struct linux_pselect6_args *p = params;
570 iarg[0] = p->nfds; /* l_int */
571 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
572 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
573 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
574 uarg[4] = (intptr_t)p->tsp; /* struct l_timespec * */
575 uarg[5] = (intptr_t)p->sig; /* l_uintptr_t * */
581 struct linux_ppoll_args *p = params;
582 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
583 iarg[1] = p->nfds; /* l_uint */
584 uarg[2] = (intptr_t)p->tsp; /* struct l_timespec * */
585 uarg[3] = (intptr_t)p->sset; /* l_sigset_t * */
586 iarg[4] = p->ssize; /* l_size_t */
590 /* linux_signalfd4 */
602 struct linux_splice_args *p = params;
603 iarg[0] = p->fd_in; /* int */
604 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
605 iarg[2] = p->fd_out; /* int */
606 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
607 iarg[4] = p->len; /* l_size_t */
608 iarg[5] = p->flags; /* l_uint */
617 /* linux_readlinkat */
619 struct linux_readlinkat_args *p = params;
620 iarg[0] = p->dfd; /* l_int */
621 uarg[1] = (intptr_t)p->path; /* const char * */
622 uarg[2] = (intptr_t)p->buf; /* char * */
623 iarg[3] = p->bufsiz; /* l_int */
627 /* linux_newfstatat */
629 struct linux_newfstatat_args *p = params;
630 iarg[0] = p->dfd; /* l_int */
631 uarg[1] = (intptr_t)p->pathname; /* char * */
632 uarg[2] = (intptr_t)p->statbuf; /* struct l_stat64 * */
633 iarg[3] = p->flag; /* l_int */
639 struct linux_newfstat_args *p = params;
640 iarg[0] = p->fd; /* l_uint */
641 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
647 struct fsync_args *p = params;
648 iarg[0] = p->fd; /* int */
652 /* linux_fdatasync */
654 struct linux_fdatasync_args *p = params;
655 iarg[0] = p->fd; /* l_uint */
659 /* linux_sync_file_range */
661 struct linux_sync_file_range_args *p = params;
662 iarg[0] = p->fd; /* l_int */
663 iarg[1] = p->offset; /* l_loff_t */
664 iarg[2] = p->nbytes; /* l_loff_t */
665 iarg[3] = p->flags; /* l_uint */
669 /* linux_timerfd_create */
671 struct linux_timerfd_create_args *p = params;
672 iarg[0] = p->clockid; /* l_int */
673 iarg[1] = p->flags; /* l_int */
677 /* linux_timerfd_settime */
679 struct linux_timerfd_settime_args *p = params;
680 iarg[0] = p->fd; /* l_int */
681 iarg[1] = p->flags; /* l_int */
682 uarg[2] = (intptr_t)p->new_value; /* const struct l_itimerspec * */
683 uarg[3] = (intptr_t)p->old_value; /* struct l_itimerspec * */
687 /* linux_timerfd_gettime */
689 struct linux_timerfd_gettime_args *p = params;
690 iarg[0] = p->fd; /* l_int */
691 uarg[1] = (intptr_t)p->old_value; /* struct l_itimerspec * */
695 /* linux_utimensat */
697 struct linux_utimensat_args *p = params;
698 iarg[0] = p->dfd; /* l_int */
699 uarg[1] = (intptr_t)p->pathname; /* const char * */
700 uarg[2] = (intptr_t)p->times; /* const struct l_timespec * */
701 iarg[3] = p->flags; /* l_int */
707 struct acct_args *p = params;
708 uarg[0] = (intptr_t)p->path; /* char * */
714 struct linux_capget_args *p = params;
715 uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
716 uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */
722 struct linux_capset_args *p = params;
723 uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
724 uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */
728 /* linux_personality */
730 struct linux_personality_args *p = params;
731 iarg[0] = p->per; /* l_uint */
737 struct linux_exit_args *p = params;
738 uarg[0] = p->rval; /* u_int */
742 /* linux_exit_group */
744 struct linux_exit_group_args *p = params;
745 iarg[0] = p->error_code; /* l_int */
751 struct linux_waitid_args *p = params;
752 iarg[0] = p->idtype; /* l_int */
753 iarg[1] = p->id; /* l_pid_t */
754 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
755 iarg[3] = p->options; /* l_int */
756 uarg[4] = (intptr_t)p->rusage; /* struct rusage * */
760 /* linux_set_tid_address */
762 struct linux_set_tid_address_args *p = params;
763 uarg[0] = (intptr_t)p->tidptr; /* l_int * */
772 /* linux_sys_futex */
774 struct linux_sys_futex_args *p = params;
775 uarg[0] = (intptr_t)p->uaddr; /* uint32_t * */
776 iarg[1] = p->op; /* l_int */
777 uarg[2] = p->val; /* uint32_t */
778 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec * */
779 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
780 uarg[5] = p->val3; /* uint32_t */
784 /* linux_set_robust_list */
786 struct linux_set_robust_list_args *p = params;
787 uarg[0] = (intptr_t)p->head; /* struct linux_robust_list_head * */
788 iarg[1] = p->len; /* l_size_t */
792 /* linux_get_robust_list */
794 struct linux_get_robust_list_args *p = params;
795 iarg[0] = p->pid; /* l_int */
796 uarg[1] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
797 uarg[2] = (intptr_t)p->len; /* l_size_t * */
801 /* linux_nanosleep */
803 struct linux_nanosleep_args *p = params;
804 uarg[0] = (intptr_t)p->rqtp; /* const struct l_timespec * */
805 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */
809 /* linux_getitimer */
811 struct linux_getitimer_args *p = params;
812 iarg[0] = p->which; /* l_int */
813 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
817 /* linux_setitimer */
819 struct linux_setitimer_args *p = params;
820 iarg[0] = p->which; /* l_int */
821 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
822 uarg[2] = (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[0] = p->clock_id; /* clockid_t */
845 uarg[1] = (intptr_t)p->evp; /* struct sigevent * */
846 uarg[2] = (intptr_t)p->timerid; /* l_timer_t * */
850 /* linux_timer_gettime */
852 struct linux_timer_gettime_args *p = params;
853 iarg[0] = p->timerid; /* l_timer_t */
854 uarg[1] = (intptr_t)p->setting; /* struct itimerspec * */
858 /* linux_timer_getoverrun */
860 struct linux_timer_getoverrun_args *p = params;
861 iarg[0] = p->timerid; /* l_timer_t */
865 /* linux_timer_settime */
867 struct linux_timer_settime_args *p = params;
868 iarg[0] = p->timerid; /* l_timer_t */
869 iarg[1] = p->flags; /* l_int */
870 uarg[2] = (intptr_t)p->new; /* const struct itimerspec * */
871 uarg[3] = (intptr_t)p->old; /* struct itimerspec * */
875 /* linux_timer_delete */
877 struct linux_timer_delete_args *p = params;
878 iarg[0] = p->timerid; /* l_timer_t */
882 /* linux_clock_settime */
884 struct linux_clock_settime_args *p = params;
885 iarg[0] = p->which; /* clockid_t */
886 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
890 /* linux_clock_gettime */
892 struct linux_clock_gettime_args *p = params;
893 iarg[0] = p->which; /* clockid_t */
894 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
898 /* linux_clock_getres */
900 struct linux_clock_getres_args *p = params;
901 iarg[0] = p->which; /* clockid_t */
902 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
906 /* linux_clock_nanosleep */
908 struct linux_clock_nanosleep_args *p = params;
909 iarg[0] = p->which; /* clockid_t */
910 iarg[1] = p->flags; /* l_int */
911 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec * */
912 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
918 struct linux_syslog_args *p = params;
919 iarg[0] = p->type; /* l_int */
920 uarg[1] = (intptr_t)p->buf; /* char * */
921 iarg[2] = p->len; /* l_int */
927 struct linux_ptrace_args *p = params;
928 iarg[0] = p->req; /* l_long */
929 iarg[1] = p->pid; /* l_long */
930 iarg[2] = p->addr; /* l_ulong */
931 iarg[3] = p->data; /* l_ulong */
935 /* linux_sched_setparam */
937 struct linux_sched_setparam_args *p = params;
938 iarg[0] = p->pid; /* l_pid_t */
939 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
943 /* linux_sched_setscheduler */
945 struct linux_sched_setscheduler_args *p = params;
946 iarg[0] = p->pid; /* l_pid_t */
947 iarg[1] = p->policy; /* l_int */
948 uarg[2] = (intptr_t)p->param; /* struct sched_param * */
952 /* linux_sched_getscheduler */
954 struct linux_sched_getscheduler_args *p = params;
955 iarg[0] = p->pid; /* l_pid_t */
959 /* linux_sched_getparam */
961 struct linux_sched_getparam_args *p = params;
962 iarg[0] = p->pid; /* l_pid_t */
963 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
967 /* linux_sched_setaffinity */
969 struct linux_sched_setaffinity_args *p = params;
970 iarg[0] = p->pid; /* l_pid_t */
971 iarg[1] = p->len; /* l_uint */
972 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
976 /* linux_sched_getaffinity */
978 struct linux_sched_getaffinity_args *p = params;
979 iarg[0] = p->pid; /* l_pid_t */
980 iarg[1] = p->len; /* l_uint */
981 uarg[2] = (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[0] = p->policy; /* l_int */
997 /* linux_sched_get_priority_min */
999 struct linux_sched_get_priority_min_args *p = params;
1000 iarg[0] = p->policy; /* l_int */
1004 /* linux_sched_rr_get_interval */
1006 struct linux_sched_rr_get_interval_args *p = params;
1007 iarg[0] = p->pid; /* l_pid_t */
1008 uarg[1] = (intptr_t)p->interval; /* struct l_timespec * */
1014 struct linux_kill_args *p = params;
1015 iarg[0] = p->pid; /* l_pid_t */
1016 iarg[1] = p->signum; /* l_int */
1022 struct linux_tkill_args *p = params;
1023 iarg[0] = p->tid; /* l_pid_t */
1024 iarg[1] = p->sig; /* l_int */
1030 struct linux_tgkill_args *p = params;
1031 iarg[0] = p->tgid; /* l_pid_t */
1032 iarg[1] = p->pid; /* l_pid_t */
1033 iarg[2] = p->sig; /* l_int */
1037 /* linux_sigaltstack */
1039 struct linux_sigaltstack_args *p = params;
1040 uarg[0] = (intptr_t)p->uss; /* l_stack_t * */
1041 uarg[1] = (intptr_t)p->uoss; /* l_stack_t * */
1045 /* linux_rt_sigsuspend */
1047 struct linux_rt_sigsuspend_args *p = params;
1048 uarg[0] = (intptr_t)p->newset; /* l_sigset_t * */
1049 iarg[1] = p->sigsetsize; /* l_size_t */
1053 /* linux_rt_sigaction */
1055 struct linux_rt_sigaction_args *p = params;
1056 iarg[0] = p->sig; /* l_int */
1057 uarg[1] = (intptr_t)p->act; /* l_sigaction_t * */
1058 uarg[2] = (intptr_t)p->oact; /* l_sigaction_t * */
1059 iarg[3] = p->sigsetsize; /* l_size_t */
1063 /* linux_rt_sigprocmask */
1065 struct linux_rt_sigprocmask_args *p = params;
1066 iarg[0] = p->how; /* l_int */
1067 uarg[1] = (intptr_t)p->mask; /* l_sigset_t * */
1068 uarg[2] = (intptr_t)p->omask; /* l_sigset_t * */
1069 iarg[3] = p->sigsetsize; /* l_size_t */
1073 /* linux_rt_sigpending */
1075 struct linux_rt_sigpending_args *p = params;
1076 uarg[0] = (intptr_t)p->set; /* l_sigset_t * */
1077 iarg[1] = p->sigsetsize; /* l_size_t */
1081 /* linux_rt_sigtimedwait */
1083 struct linux_rt_sigtimedwait_args *p = params;
1084 uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */
1085 uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */
1086 uarg[2] = (intptr_t)p->timeout; /* struct l_timespec * */
1087 iarg[3] = p->sigsetsize; /* l_size_t */
1091 /* linux_rt_sigqueueinfo */
1093 struct linux_rt_sigqueueinfo_args *p = params;
1094 iarg[0] = p->pid; /* l_pid_t */
1095 iarg[1] = p->sig; /* l_int */
1096 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
1100 /* linux_rt_sigreturn */
1107 struct setpriority_args *p = params;
1108 iarg[0] = p->which; /* int */
1109 iarg[1] = p->who; /* int */
1110 iarg[2] = p->prio; /* int */
1114 /* linux_getpriority */
1116 struct linux_getpriority_args *p = params;
1117 iarg[0] = p->which; /* l_int */
1118 iarg[1] = p->who; /* l_int */
1124 struct linux_reboot_args *p = params;
1125 iarg[0] = p->magic1; /* l_int */
1126 iarg[1] = p->magic2; /* l_int */
1127 iarg[2] = p->cmd; /* l_uint */
1128 uarg[3] = (intptr_t)p->arg; /* void * */
1134 struct setregid_args *p = params;
1135 iarg[0] = p->rgid; /* gid_t */
1136 iarg[1] = p->egid; /* gid_t */
1142 struct setgid_args *p = params;
1143 iarg[0] = p->gid; /* gid_t */
1149 struct setreuid_args *p = params;
1150 uarg[0] = p->ruid; /* uid_t */
1151 uarg[1] = p->euid; /* uid_t */
1157 struct setuid_args *p = params;
1158 uarg[0] = p->uid; /* uid_t */
1164 struct setresuid_args *p = params;
1165 uarg[0] = p->ruid; /* uid_t */
1166 uarg[1] = p->euid; /* uid_t */
1167 uarg[2] = p->suid; /* uid_t */
1173 struct getresuid_args *p = params;
1174 uarg[0] = (intptr_t)p->ruid; /* uid_t * */
1175 uarg[1] = (intptr_t)p->euid; /* uid_t * */
1176 uarg[2] = (intptr_t)p->suid; /* uid_t * */
1182 struct setresgid_args *p = params;
1183 iarg[0] = p->rgid; /* gid_t */
1184 iarg[1] = p->egid; /* gid_t */
1185 iarg[2] = p->sgid; /* gid_t */
1191 struct getresgid_args *p = params;
1192 uarg[0] = (intptr_t)p->rgid; /* gid_t * */
1193 uarg[1] = (intptr_t)p->egid; /* gid_t * */
1194 uarg[2] = (intptr_t)p->sgid; /* gid_t * */
1198 /* linux_setfsuid */
1200 struct linux_setfsuid_args *p = params;
1201 iarg[0] = p->uid; /* l_uid_t */
1205 /* linux_setfsgid */
1207 struct linux_setfsgid_args *p = params;
1208 iarg[0] = p->gid; /* l_gid_t */
1214 struct linux_times_args *p = params;
1215 uarg[0] = (intptr_t)p->buf; /* struct l_times_argv * */
1221 struct setpgid_args *p = params;
1222 iarg[0] = p->pid; /* int */
1223 iarg[1] = p->pgid; /* int */
1229 struct getpgid_args *p = params;
1230 iarg[0] = p->pid; /* int */
1236 struct linux_getsid_args *p = params;
1237 iarg[0] = p->pid; /* l_pid_t */
1246 /* linux_getgroups */
1248 struct linux_getgroups_args *p = params;
1249 iarg[0] = p->gidsetsize; /* l_int */
1250 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1254 /* linux_setgroups */
1256 struct linux_setgroups_args *p = params;
1257 iarg[0] = p->gidsetsize; /* l_int */
1258 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1262 /* linux_newuname */
1264 struct linux_newuname_args *p = params;
1265 uarg[0] = (intptr_t)p->buf; /* struct l_new_utsname * */
1269 /* linux_sethostname */
1271 struct linux_sethostname_args *p = params;
1272 uarg[0] = (intptr_t)p->hostname; /* char * */
1273 iarg[1] = p->len; /* l_uint */
1277 /* linux_setdomainname */
1279 struct linux_setdomainname_args *p = params;
1280 uarg[0] = (intptr_t)p->name; /* char * */
1281 iarg[1] = p->len; /* l_int */
1285 /* linux_getrlimit */
1287 struct linux_getrlimit_args *p = params;
1288 iarg[0] = p->resource; /* l_uint */
1289 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
1293 /* linux_setrlimit */
1295 struct linux_setrlimit_args *p = params;
1296 iarg[0] = p->resource; /* l_uint */
1297 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
1303 struct getrusage_args *p = params;
1304 iarg[0] = p->who; /* int */
1305 uarg[1] = (intptr_t)p->rusage; /* struct rusage * */
1311 struct umask_args *p = params;
1312 iarg[0] = p->newmask; /* int */
1318 struct linux_prctl_args *p = params;
1319 iarg[0] = p->option; /* l_int */
1320 iarg[1] = p->arg2; /* l_uintptr_t */
1321 iarg[2] = p->arg3; /* l_uintptr_t */
1322 iarg[3] = p->arg4; /* l_uintptr_t */
1323 iarg[4] = p->arg5; /* l_uintptr_t */
1329 struct linux_getcpu_args *p = params;
1330 uarg[0] = (intptr_t)p->cpu; /* l_uint * */
1331 uarg[1] = (intptr_t)p->node; /* l_uint * */
1332 uarg[2] = (intptr_t)p->cache; /* void * */
1338 struct gettimeofday_args *p = params;
1339 uarg[0] = (intptr_t)p->tp; /* struct l_timeval * */
1340 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
1346 struct settimeofday_args *p = params;
1347 uarg[0] = (intptr_t)p->tv; /* struct l_timeval * */
1348 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
1352 /* linux_adjtimex */
1394 struct linux_sysinfo_args *p = params;
1395 uarg[0] = (intptr_t)p->info; /* struct l_sysinfo * */
1401 struct linux_mq_open_args *p = params;
1402 uarg[0] = (intptr_t)p->name; /* const char * */
1403 iarg[1] = p->oflag; /* l_int */
1404 iarg[2] = p->mode; /* l_mode_t */
1405 uarg[3] = (intptr_t)p->attr; /* struct mq_attr * */
1409 /* linux_mq_unlink */
1411 struct linux_mq_unlink_args *p = params;
1412 uarg[0] = (intptr_t)p->name; /* const char * */
1416 /* linux_mq_timedsend */
1418 struct linux_mq_timedsend_args *p = params;
1419 iarg[0] = p->mqd; /* l_mqd_t */
1420 uarg[1] = (intptr_t)p->msg_ptr; /* const char * */
1421 iarg[2] = p->msg_len; /* l_size_t */
1422 iarg[3] = p->msg_prio; /* l_uint */
1423 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1427 /* linux_mq_timedreceive */
1429 struct linux_mq_timedreceive_args *p = params;
1430 iarg[0] = p->mqd; /* l_mqd_t */
1431 uarg[1] = (intptr_t)p->msg_ptr; /* char * */
1432 iarg[2] = p->msg_len; /* l_size_t */
1433 uarg[3] = (intptr_t)p->msg_prio; /* l_uint * */
1434 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1438 /* linux_mq_notify */
1440 struct linux_mq_notify_args *p = params;
1441 iarg[0] = p->mqd; /* l_mqd_t */
1442 uarg[1] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1446 /* linux_mq_getsetattr */
1448 struct linux_mq_getsetattr_args *p = params;
1449 iarg[0] = p->mqd; /* l_mqd_t */
1450 uarg[1] = (intptr_t)p->attr; /* const struct mq_attr * */
1451 uarg[2] = (intptr_t)p->oattr; /* struct mq_attr * */
1457 struct linux_msgget_args *p = params;
1458 iarg[0] = p->key; /* l_key_t */
1459 iarg[1] = p->msgflg; /* l_int */
1465 struct linux_msgctl_args *p = params;
1466 iarg[0] = p->msqid; /* l_int */
1467 iarg[1] = p->cmd; /* l_int */
1468 uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */
1474 struct linux_msgrcv_args *p = params;
1475 iarg[0] = p->msqid; /* l_int */
1476 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1477 iarg[2] = p->msgsz; /* l_size_t */
1478 iarg[3] = p->msgtyp; /* l_long */
1479 iarg[4] = p->msgflg; /* l_int */
1485 struct linux_msgsnd_args *p = params;
1486 iarg[0] = p->msqid; /* l_int */
1487 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1488 iarg[2] = p->msgsz; /* l_size_t */
1489 iarg[3] = p->msgflg; /* l_int */
1495 struct linux_semget_args *p = params;
1496 iarg[0] = p->key; /* l_key_t */
1497 iarg[1] = p->nsems; /* l_int */
1498 iarg[2] = p->semflg; /* l_int */
1504 struct linux_semctl_args *p = params;
1505 iarg[0] = p->semid; /* l_int */
1506 iarg[1] = p->semnum; /* l_int */
1507 iarg[2] = p->cmd; /* l_int */
1508 uarg[3] = p->arg.buf; /* union l_semun */
1512 /* linux_semtimedop */
1519 struct linux_semop_args *p = params;
1520 iarg[0] = p->semid; /* l_int */
1521 uarg[1] = (intptr_t)p->tsops; /* struct l_sembuf * */
1522 iarg[2] = p->nsops; /* l_uint */
1528 struct linux_shmget_args *p = params;
1529 iarg[0] = p->key; /* l_key_t */
1530 iarg[1] = p->size; /* l_size_t */
1531 iarg[2] = p->shmflg; /* l_int */
1537 struct linux_shmctl_args *p = params;
1538 iarg[0] = p->shmid; /* l_int */
1539 iarg[1] = p->cmd; /* l_int */
1540 uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */
1546 struct linux_shmat_args *p = params;
1547 iarg[0] = p->shmid; /* l_int */
1548 uarg[1] = (intptr_t)p->shmaddr; /* char * */
1549 iarg[2] = p->shmflg; /* l_int */
1555 struct linux_shmdt_args *p = params;
1556 uarg[0] = (intptr_t)p->shmaddr; /* char * */
1562 struct linux_socket_args *p = params;
1563 iarg[0] = p->domain; /* l_int */
1564 iarg[1] = p->type; /* l_int */
1565 iarg[2] = p->protocol; /* l_int */
1569 /* linux_socketpair */
1571 struct linux_socketpair_args *p = params;
1572 iarg[0] = p->domain; /* l_int */
1573 iarg[1] = p->type; /* l_int */
1574 iarg[2] = p->protocol; /* l_int */
1575 iarg[3] = p->rsv; /* l_uintptr_t */
1581 struct linux_bind_args *p = params;
1582 iarg[0] = p->s; /* l_int */
1583 iarg[1] = p->name; /* l_uintptr_t */
1584 iarg[2] = p->namelen; /* l_int */
1590 struct linux_listen_args *p = params;
1591 iarg[0] = p->s; /* l_int */
1592 iarg[1] = p->backlog; /* l_int */
1598 struct linux_accept_args *p = params;
1599 iarg[0] = p->s; /* l_int */
1600 iarg[1] = p->addr; /* l_uintptr_t */
1601 iarg[2] = p->namelen; /* l_uintptr_t */
1607 struct linux_connect_args *p = params;
1608 iarg[0] = p->s; /* l_int */
1609 iarg[1] = p->name; /* l_uintptr_t */
1610 iarg[2] = p->namelen; /* l_int */
1614 /* linux_getsockname */
1616 struct linux_getsockname_args *p = params;
1617 iarg[0] = p->s; /* l_int */
1618 iarg[1] = p->addr; /* l_uintptr_t */
1619 iarg[2] = p->namelen; /* l_uintptr_t */
1623 /* linux_getpeername */
1625 struct linux_getpeername_args *p = params;
1626 iarg[0] = p->s; /* l_int */
1627 iarg[1] = p->addr; /* l_uintptr_t */
1628 iarg[2] = p->namelen; /* l_uintptr_t */
1634 struct linux_sendto_args *p = params;
1635 iarg[0] = p->s; /* l_int */
1636 iarg[1] = p->msg; /* l_uintptr_t */
1637 iarg[2] = p->len; /* l_size_t */
1638 iarg[3] = p->flags; /* l_uint */
1639 iarg[4] = p->to; /* l_uintptr_t */
1640 iarg[5] = p->tolen; /* l_int */
1644 /* linux_recvfrom */
1646 struct linux_recvfrom_args *p = params;
1647 iarg[0] = p->s; /* l_int */
1648 iarg[1] = p->buf; /* l_uintptr_t */
1649 iarg[2] = p->len; /* l_size_t */
1650 iarg[3] = p->flags; /* l_uint */
1651 iarg[4] = p->from; /* l_uintptr_t */
1652 iarg[5] = p->fromlen; /* l_uintptr_t */
1656 /* linux_setsockopt */
1658 struct linux_setsockopt_args *p = params;
1659 iarg[0] = p->s; /* l_int */
1660 iarg[1] = p->level; /* l_int */
1661 iarg[2] = p->optname; /* l_int */
1662 iarg[3] = p->optval; /* l_uintptr_t */
1663 iarg[4] = p->optlen; /* l_int */
1667 /* linux_getsockopt */
1669 struct linux_getsockopt_args *p = params;
1670 iarg[0] = p->s; /* l_int */
1671 iarg[1] = p->level; /* l_int */
1672 iarg[2] = p->optname; /* l_int */
1673 iarg[3] = p->optval; /* l_uintptr_t */
1674 iarg[4] = p->optlen; /* l_uintptr_t */
1678 /* linux_shutdown */
1680 struct linux_shutdown_args *p = params;
1681 iarg[0] = p->s; /* l_int */
1682 iarg[1] = p->how; /* l_int */
1688 struct linux_sendmsg_args *p = params;
1689 iarg[0] = p->s; /* l_int */
1690 iarg[1] = p->msg; /* l_uintptr_t */
1691 iarg[2] = p->flags; /* l_uint */
1697 struct linux_recvmsg_args *p = params;
1698 iarg[0] = p->s; /* l_int */
1699 iarg[1] = p->msg; /* l_uintptr_t */
1700 iarg[2] = p->flags; /* l_uint */
1706 struct linux_brk_args *p = params;
1707 iarg[0] = p->dsend; /* l_ulong */
1713 struct munmap_args *p = params;
1714 uarg[0] = (intptr_t)p->addr; /* void * */
1715 iarg[1] = p->len; /* l_size_t */
1721 struct linux_mremap_args *p = params;
1722 iarg[0] = p->addr; /* l_ulong */
1723 iarg[1] = p->old_len; /* l_ulong */
1724 iarg[2] = p->new_len; /* l_ulong */
1725 iarg[3] = p->flags; /* l_ulong */
1726 iarg[4] = p->new_addr; /* l_ulong */
1735 /* linux_request_key */
1747 struct linux_clone_args *p = params;
1748 iarg[0] = p->flags; /* l_ulong */
1749 iarg[1] = p->stack; /* l_ulong */
1750 uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
1751 iarg[3] = p->tls; /* l_ulong */
1752 uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
1758 struct linux_execve_args *p = params;
1759 uarg[0] = (intptr_t)p->path; /* char * */
1760 uarg[1] = (intptr_t)p->argp; /* char ** */
1761 uarg[2] = (intptr_t)p->envp; /* char ** */
1767 struct linux_mmap2_args *p = params;
1768 iarg[0] = p->addr; /* l_ulong */
1769 iarg[1] = p->len; /* l_ulong */
1770 iarg[2] = p->prot; /* l_ulong */
1771 iarg[3] = p->flags; /* l_ulong */
1772 iarg[4] = p->fd; /* l_ulong */
1773 iarg[5] = p->pgoff; /* l_ulong */
1777 /* linux_fadvise64 */
1779 struct linux_fadvise64_args *p = params;
1780 iarg[0] = p->fd; /* l_int */
1781 iarg[1] = p->offset; /* l_loff_t */
1782 iarg[2] = p->len; /* l_size_t */
1783 iarg[3] = p->advice; /* l_int */
1789 struct swapon_args *p = params;
1790 uarg[0] = (intptr_t)p->name; /* char * */
1799 /* linux_mprotect */
1801 struct linux_mprotect_args *p = params;
1802 iarg[0] = p->addr; /* l_ulong */
1803 iarg[1] = p->len; /* l_size_t */
1804 iarg[2] = p->prot; /* l_ulong */
1810 struct linux_msync_args *p = params;
1811 iarg[0] = p->addr; /* l_ulong */
1812 iarg[1] = p->len; /* l_size_t */
1813 iarg[2] = p->fl; /* l_int */
1819 struct mlock_args *p = params;
1820 uarg[0] = (intptr_t)p->addr; /* const void * */
1821 uarg[1] = p->len; /* size_t */
1827 struct munlock_args *p = params;
1828 uarg[0] = (intptr_t)p->addr; /* const void * */
1829 uarg[1] = p->len; /* size_t */
1835 struct mlockall_args *p = params;
1836 iarg[0] = p->how; /* int */
1847 struct linux_mincore_args *p = params;
1848 iarg[0] = p->start; /* l_ulong */
1849 iarg[1] = p->len; /* l_size_t */
1850 uarg[2] = (intptr_t)p->vec; /* u_char * */
1856 struct linux_madvise_args *p = params;
1857 iarg[0] = p->addr; /* l_ulong */
1858 iarg[1] = p->len; /* l_size_t */
1859 iarg[2] = p->behav; /* l_int */
1863 /* linux_remap_file_pages */
1873 /* linux_get_mempolicy */
1878 /* linux_set_mempolicy */
1883 /* linux_migrate_pages */
1888 /* linux_move_pages */
1893 /* linux_rt_tgsigqueueinfo */
1895 struct linux_rt_tgsigqueueinfo_args *p = params;
1896 iarg[0] = p->tgid; /* l_pid_t */
1897 iarg[1] = p->tid; /* l_pid_t */
1898 iarg[2] = p->sig; /* l_int */
1899 uarg[3] = (intptr_t)p->uinfo; /* l_siginfo_t * */
1903 /* linux_perf_event_open */
1910 struct linux_accept4_args *p = params;
1911 iarg[0] = p->s; /* l_int */
1912 iarg[1] = p->addr; /* l_uintptr_t */
1913 iarg[2] = p->namelen; /* l_uintptr_t */
1914 iarg[3] = p->flags; /* l_int */
1918 /* linux_recvmmsg */
1920 struct linux_recvmmsg_args *p = params;
1921 iarg[0] = p->s; /* l_int */
1922 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
1923 iarg[2] = p->vlen; /* l_uint */
1924 iarg[3] = p->flags; /* l_uint */
1925 uarg[4] = (intptr_t)p->timeout; /* struct l_timespec * */
1931 struct linux_wait4_args *p = params;
1932 iarg[0] = p->pid; /* l_pid_t */
1933 uarg[1] = (intptr_t)p->status; /* l_int * */
1934 iarg[2] = p->options; /* l_int */
1935 uarg[3] = (intptr_t)p->rusage; /* struct rusage * */
1939 /* linux_prlimit64 */
1941 struct linux_prlimit64_args *p = params;
1942 iarg[0] = p->pid; /* l_pid_t */
1943 iarg[1] = p->resource; /* l_uint */
1944 uarg[2] = (intptr_t)p->new; /* struct rlimit * */
1945 uarg[3] = (intptr_t)p->old; /* struct rlimit * */
1949 /* linux_fanotify_init */
1954 /* linux_fanotify_mark */
1959 /* linux_name_to_handle_at */
1961 struct linux_name_to_handle_at_args *p = params;
1962 iarg[0] = p->dirfd; /* l_int */
1963 uarg[1] = (intptr_t)p->name; /* const char * */
1964 uarg[2] = (intptr_t)p->handle; /* struct l_file_handle * */
1965 uarg[3] = (intptr_t)p->mnt_id; /* l_int * */
1966 iarg[4] = p->flags; /* l_int */
1970 /* linux_open_by_handle_at */
1972 struct linux_open_by_handle_at_args *p = params;
1973 iarg[0] = p->mountdirfd; /* l_int */
1974 uarg[1] = (intptr_t)p->handle; /* struct l_file_handle * */
1975 iarg[2] = p->flags; /* l_int */
1979 /* linux_clock_adjtime */
1986 struct linux_syncfs_args *p = params;
1987 iarg[0] = p->fd; /* l_int */
1993 struct linux_setns_args *p = params;
1994 iarg[0] = p->fd; /* l_int */
1995 iarg[1] = p->nstype; /* l_int */
1999 /* linux_sendmmsg */
2001 struct linux_sendmmsg_args *p = params;
2002 iarg[0] = p->s; /* l_int */
2003 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2004 iarg[2] = p->vlen; /* l_uint */
2005 iarg[3] = p->flags; /* l_uint */
2009 /* linux_process_vm_readv */
2011 struct linux_process_vm_readv_args *p = params;
2012 iarg[0] = p->pid; /* l_pid_t */
2013 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2014 iarg[2] = p->liovcnt; /* l_ulong */
2015 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2016 iarg[4] = p->riovcnt; /* l_ulong */
2017 iarg[5] = p->flags; /* l_ulong */
2021 /* linux_process_vm_writev */
2023 struct linux_process_vm_writev_args *p = params;
2024 iarg[0] = p->pid; /* l_pid_t */
2025 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2026 iarg[2] = p->liovcnt; /* l_ulong */
2027 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2028 iarg[4] = p->riovcnt; /* l_ulong */
2029 iarg[5] = p->flags; /* l_ulong */
2035 struct linux_kcmp_args *p = params;
2036 iarg[0] = p->pid1; /* l_pid_t */
2037 iarg[1] = p->pid2; /* l_pid_t */
2038 iarg[2] = p->type; /* l_int */
2039 iarg[3] = p->idx1; /* l_ulong */
2040 iarg[4] = p->idx; /* l_ulong */
2044 /* linux_finit_module */
2046 struct linux_finit_module_args *p = params;
2047 iarg[0] = p->fd; /* l_int */
2048 uarg[1] = (intptr_t)p->uargs; /* const char * */
2049 iarg[2] = p->flags; /* l_int */
2053 /* linux_sched_setattr */
2055 struct linux_sched_setattr_args *p = params;
2056 iarg[0] = p->pid; /* l_pid_t */
2057 uarg[1] = (intptr_t)p->attr; /* void * */
2058 iarg[2] = p->flags; /* l_uint */
2062 /* linux_sched_getattr */
2064 struct linux_sched_getattr_args *p = params;
2065 iarg[0] = p->pid; /* l_pid_t */
2066 uarg[1] = (intptr_t)p->attr; /* void * */
2067 iarg[2] = p->size; /* l_uint */
2068 iarg[3] = p->flags; /* l_uint */
2072 /* linux_renameat2 */
2074 struct linux_renameat2_args *p = params;
2075 iarg[0] = p->olddfd; /* l_int */
2076 uarg[1] = (intptr_t)p->oldname; /* const char * */
2077 iarg[2] = p->newdfd; /* l_int */
2078 uarg[3] = (intptr_t)p->newname; /* const char * */
2079 iarg[4] = p->flags; /* l_uint */
2085 struct linux_seccomp_args *p = params;
2086 iarg[0] = p->op; /* l_uint */
2087 iarg[1] = p->flags; /* l_uint */
2088 uarg[2] = (intptr_t)p->uargs; /* const char * */
2092 /* linux_getrandom */
2094 struct linux_getrandom_args *p = params;
2095 uarg[0] = (intptr_t)p->buf; /* char * */
2096 iarg[1] = p->count; /* l_size_t */
2097 iarg[2] = p->flags; /* l_uint */
2101 /* linux_memfd_create */
2103 struct linux_memfd_create_args *p = params;
2104 uarg[0] = (intptr_t)p->uname_ptr; /* const char * */
2105 iarg[1] = p->flags; /* l_uint */
2111 struct linux_bpf_args *p = params;
2112 iarg[0] = p->cmd; /* l_int */
2113 uarg[1] = (intptr_t)p->attr; /* void * */
2114 iarg[2] = p->size; /* l_uint */
2118 /* linux_execveat */
2120 struct linux_execveat_args *p = params;
2121 iarg[0] = p->dfd; /* l_int */
2122 uarg[1] = (intptr_t)p->filename; /* const char * */
2123 uarg[2] = (intptr_t)p->argv; /* const char ** */
2124 uarg[3] = (intptr_t)p->envp; /* const char ** */
2125 iarg[4] = p->flags; /* l_int */
2129 /* linux_userfaultfd */
2131 struct linux_userfaultfd_args *p = params;
2132 iarg[0] = p->flags; /* l_int */
2136 /* linux_membarrier */
2138 struct linux_membarrier_args *p = params;
2139 iarg[0] = p->cmd; /* l_int */
2140 iarg[1] = p->flags; /* l_int */
2146 struct linux_mlock2_args *p = params;
2147 iarg[0] = p->start; /* l_ulong */
2148 iarg[1] = p->len; /* l_size_t */
2149 iarg[2] = p->flags; /* l_int */
2153 /* linux_copy_file_range */
2155 struct linux_copy_file_range_args *p = params;
2156 iarg[0] = p->fd_in; /* l_int */
2157 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2158 iarg[2] = p->fd_out; /* l_int */
2159 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2160 iarg[4] = p->len; /* l_size_t */
2161 iarg[5] = p->flags; /* l_uint */
2167 struct linux_preadv2_args *p = params;
2168 iarg[0] = p->fd; /* l_ulong */
2169 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2170 iarg[2] = p->vlen; /* l_ulong */
2171 iarg[3] = p->pos_l; /* l_ulong */
2172 iarg[4] = p->pos_h; /* l_ulong */
2173 iarg[5] = p->flags; /* l_int */
2177 /* linux_pwritev2 */
2179 struct linux_pwritev2_args *p = params;
2180 iarg[0] = p->fd; /* l_ulong */
2181 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2182 iarg[2] = p->vlen; /* l_ulong */
2183 iarg[3] = p->pos_l; /* l_ulong */
2184 iarg[4] = p->pos_h; /* l_ulong */
2185 iarg[5] = p->flags; /* l_int */
2189 /* linux_pkey_mprotect */
2191 struct linux_pkey_mprotect_args *p = params;
2192 iarg[0] = p->start; /* l_ulong */
2193 iarg[1] = p->len; /* l_size_t */
2194 iarg[2] = p->prot; /* l_ulong */
2195 iarg[3] = p->pkey; /* l_int */
2199 /* linux_pkey_alloc */
2201 struct linux_pkey_alloc_args *p = params;
2202 iarg[0] = p->flags; /* l_ulong */
2203 iarg[1] = p->init_val; /* l_ulong */
2207 /* linux_pkey_free */
2209 struct linux_pkey_free_args *p = params;
2210 iarg[0] = p->pkey; /* l_int */
2216 struct linux_statx_args *p = params;
2217 iarg[0] = p->dirfd; /* l_int */
2218 uarg[1] = (intptr_t)p->pathname; /* const char * */
2219 iarg[2] = p->flags; /* l_uint */
2220 iarg[3] = p->mask; /* l_uint */
2221 uarg[4] = (intptr_t)p->statxbuf; /* void * */
2225 /* linux_io_pgetevents */
2235 /* linux_kexec_file_load */
2240 /* linux_pidfd_send_signal */
2242 struct linux_pidfd_send_signal_args *p = params;
2243 iarg[0] = p->pidfd; /* l_int */
2244 iarg[1] = p->sig; /* l_int */
2245 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
2246 iarg[3] = p->flags; /* l_uint */
2250 /* linux_io_uring_setup */
2255 /* linux_io_uring_enter */
2260 /* linux_io_uring_register */
2265 /* linux_open_tree */
2270 /* linux_move_mount */
2280 /* linux_fsconfig */
2295 /* linux_pidfd_open */
2302 struct linux_clone3_args *p = params;
2303 uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
2304 iarg[1] = p->usize; /* l_size_t */
2308 /* linux_close_range */
2318 /* linux_pidfd_getfd */
2323 /* linux_faccessat2 */
2325 struct linux_faccessat2_args *p = params;
2326 iarg[0] = p->dfd; /* l_int */
2327 uarg[1] = (intptr_t)p->filename; /* const char * */
2328 iarg[2] = p->amode; /* l_int */
2329 iarg[3] = p->flags; /* l_int */
2333 /* linux_process_madvise */
2338 /* linux_epoll_pwait2 */
2343 /* linux_mount_setattr */
2354 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2356 const char *p = NULL;
2358 #define nosys linux_nosys
2359 /* linux_setxattr */
2363 p = "userland const char *";
2366 p = "userland const char *";
2369 p = "userland const char *";
2381 /* linux_lsetxattr */
2385 p = "userland const char *";
2388 p = "userland const char *";
2391 p = "userland const char *";
2403 /* linux_fsetxattr */
2410 p = "userland const char *";
2413 p = "userland const char *";
2425 /* linux_getxattr */
2429 p = "userland const char *";
2432 p = "userland const char *";
2435 p = "userland char *";
2444 /* linux_lgetxattr */
2448 p = "userland const char *";
2451 p = "userland const char *";
2454 p = "userland char *";
2463 /* linux_fgetxattr */
2470 p = "userland const char *";
2473 p = "userland char *";
2482 /* linux_listxattr */
2486 p = "userland const char *";
2489 p = "userland const char *";
2498 /* linux_llistxattr */
2502 p = "userland const char *";
2505 p = "userland const char *";
2514 /* linux_flistxattr */
2521 p = "userland const char *";
2530 /* linux_removexattr */
2534 p = "userland const char *";
2537 p = "userland const char *";
2543 /* linux_lremovexattr */
2547 p = "userland const char *";
2550 p = "userland const char *";
2556 /* linux_fremovexattr */
2563 p = "userland const char *";
2573 p = "userland char *";
2582 /* linux_lookup_dcookie */
2585 /* linux_eventfd2 */
2598 /* linux_epoll_create1 */
2608 /* linux_epoll_ctl */
2621 p = "userland struct epoll_event *";
2627 /* linux_epoll_pwait */
2634 p = "userland struct epoll_event *";
2643 p = "userland l_sigset_t *";
2694 /* linux_inotify_init1 */
2704 /* linux_inotify_add_watch */
2707 /* linux_inotify_rm_watch */
2726 /* linux_ioprio_set */
2729 /* linux_ioprio_get */
2752 p = "userland const char *";
2771 p = "userland const char *";
2780 /* linux_unlinkat */
2787 p = "userland const char *";
2796 /* linux_symlinkat */
2800 p = "userland const char *";
2806 p = "userland const char *";
2819 p = "userland const char *";
2825 p = "userland const char *";
2834 /* linux_renameat */
2841 p = "userland const char *";
2847 p = "userland const char *";
2857 p = "userland char *";
2860 p = "userland char *";
2863 p = "userland char *";
2869 p = "userland void *";
2875 /* linux_pivot_root */
2882 p = "userland char *";
2885 p = "userland struct l_statfs_buf *";
2898 p = "userland struct l_statfs_buf *";
2904 /* linux_truncate */
2908 p = "userland char *";
2917 /* linux_ftruncate */
2930 /* linux_fallocate */
2949 /* linux_faccessat */
2956 p = "userland const char *";
2969 p = "userland char *";
2989 p = "userland char *";
3008 /* linux_fchmodat */
3015 p = "userland const char *";
3024 /* linux_fchownat */
3031 p = "userland const char *";
3069 p = "userland const char *";
3098 p = "userland l_int *";
3107 /* linux_getdents64 */
3114 p = "userland void *";
3146 p = "userland char *";
3162 p = "userland char *";
3178 p = "userland struct iovec *";
3194 p = "userland struct iovec *";
3210 p = "userland char *";
3229 p = "userland char *";
3248 p = "userland struct iovec *";
3270 p = "userland struct iovec *";
3285 /* linux_sendfile */
3295 p = "userland l_off_t *";
3304 /* linux_pselect6 */
3311 p = "userland l_fd_set *";
3314 p = "userland l_fd_set *";
3317 p = "userland l_fd_set *";
3320 p = "userland struct l_timespec *";
3323 p = "userland l_uintptr_t *";
3333 p = "userland struct pollfd *";
3339 p = "userland struct l_timespec *";
3342 p = "userland l_sigset_t *";
3351 /* linux_signalfd4 */
3354 /* linux_vmsplice */
3364 p = "userland l_loff_t *";
3370 p = "userland l_loff_t *";
3385 /* linux_readlinkat */
3392 p = "userland const char *";
3395 p = "userland char *";
3404 /* linux_newfstatat */
3411 p = "userland char *";
3414 p = "userland struct l_stat64 *";
3423 /* linux_newfstat */
3430 p = "userland struct l_newstat *";
3446 /* linux_fdatasync */
3456 /* linux_sync_file_range */
3475 /* linux_timerfd_create */
3488 /* linux_timerfd_settime */
3498 p = "userland const struct l_itimerspec *";
3501 p = "userland struct l_itimerspec *";
3507 /* linux_timerfd_gettime */
3514 p = "userland struct l_itimerspec *";
3520 /* linux_utimensat */
3527 p = "userland const char *";
3530 p = "userland const struct l_timespec *";
3543 p = "userland char *";
3553 p = "userland struct l_user_cap_header *";
3556 p = "userland struct l_user_cap_data *";
3566 p = "userland struct l_user_cap_header *";
3569 p = "userland struct l_user_cap_data *";
3575 /* linux_personality */
3595 /* linux_exit_group */
3615 p = "userland l_siginfo_t *";
3621 p = "userland struct rusage *";
3627 /* linux_set_tid_address */
3631 p = "userland l_int *";
3640 /* linux_sys_futex */
3644 p = "userland uint32_t *";
3653 p = "userland struct l_timespec *";
3656 p = "userland uint32_t *";
3665 /* linux_set_robust_list */
3669 p = "userland struct linux_robust_list_head *";
3678 /* linux_get_robust_list */
3685 p = "userland struct linux_robust_list_head **";
3688 p = "userland l_size_t *";
3694 /* linux_nanosleep */
3698 p = "userland const struct l_timespec *";
3701 p = "userland struct l_timespec *";
3707 /* linux_getitimer */
3714 p = "userland struct l_itimerval *";
3720 /* linux_setitimer */
3727 p = "userland struct l_itimerval *";
3730 p = "userland struct l_itimerval *";
3736 /* linux_kexec_load */
3739 /* linux_init_module */
3742 /* linux_delete_module */
3745 /* linux_timer_create */
3752 p = "userland struct sigevent *";
3755 p = "userland l_timer_t *";
3761 /* linux_timer_gettime */
3768 p = "userland struct itimerspec *";
3774 /* linux_timer_getoverrun */
3784 /* linux_timer_settime */
3794 p = "userland const struct itimerspec *";
3797 p = "userland struct itimerspec *";
3803 /* linux_timer_delete */
3813 /* linux_clock_settime */
3820 p = "userland struct l_timespec *";
3826 /* linux_clock_gettime */
3833 p = "userland struct l_timespec *";
3839 /* linux_clock_getres */
3846 p = "userland struct l_timespec *";
3852 /* linux_clock_nanosleep */
3862 p = "userland struct l_timespec *";
3865 p = "userland struct l_timespec *";
3878 p = "userland char *";
3906 /* linux_sched_setparam */
3913 p = "userland struct sched_param *";
3919 /* linux_sched_setscheduler */
3929 p = "userland struct sched_param *";
3935 /* linux_sched_getscheduler */
3945 /* linux_sched_getparam */
3952 p = "userland struct sched_param *";
3958 /* linux_sched_setaffinity */
3968 p = "userland l_ulong *";
3974 /* linux_sched_getaffinity */
3984 p = "userland l_ulong *";
3993 /* linux_sched_get_priority_max */
4003 /* linux_sched_get_priority_min */
4013 /* linux_sched_rr_get_interval */
4020 p = "userland struct l_timespec *";
4068 /* linux_sigaltstack */
4072 p = "userland l_stack_t *";
4075 p = "userland l_stack_t *";
4081 /* linux_rt_sigsuspend */
4085 p = "userland l_sigset_t *";
4094 /* linux_rt_sigaction */
4101 p = "userland l_sigaction_t *";
4104 p = "userland l_sigaction_t *";
4113 /* linux_rt_sigprocmask */
4120 p = "userland l_sigset_t *";
4123 p = "userland l_sigset_t *";
4132 /* linux_rt_sigpending */
4136 p = "userland l_sigset_t *";
4145 /* linux_rt_sigtimedwait */
4149 p = "userland l_sigset_t *";
4152 p = "userland l_siginfo_t *";
4155 p = "userland struct l_timespec *";
4164 /* linux_rt_sigqueueinfo */
4174 p = "userland l_siginfo_t *";
4180 /* linux_rt_sigreturn */
4199 /* linux_getpriority */
4225 p = "userland void *";
4297 p = "userland uid_t *";
4300 p = "userland uid_t *";
4303 p = "userland uid_t *";
4329 p = "userland gid_t *";
4332 p = "userland gid_t *";
4335 p = "userland gid_t *";
4341 /* linux_setfsuid */
4351 /* linux_setfsgid */
4365 p = "userland struct l_times_argv *";
4407 /* linux_getgroups */
4414 p = "userland l_gid_t *";
4420 /* linux_setgroups */
4427 p = "userland l_gid_t *";
4433 /* linux_newuname */
4437 p = "userland struct l_new_utsname *";
4443 /* linux_sethostname */
4447 p = "userland char *";
4456 /* linux_setdomainname */
4460 p = "userland char *";
4469 /* linux_getrlimit */
4476 p = "userland struct l_rlimit *";
4482 /* linux_setrlimit */
4489 p = "userland struct l_rlimit *";
4502 p = "userland struct rusage *";
4544 p = "userland l_uint *";
4547 p = "userland l_uint *";
4550 p = "userland void *";
4560 p = "userland struct l_timeval *";
4563 p = "userland struct timezone *";
4573 p = "userland struct l_timeval *";
4576 p = "userland struct timezone *";
4582 /* linux_adjtimex */
4610 p = "userland struct l_sysinfo *";
4620 p = "userland const char *";
4629 p = "userland struct mq_attr *";
4635 /* linux_mq_unlink */
4639 p = "userland const char *";
4645 /* linux_mq_timedsend */
4652 p = "userland const char *";
4661 p = "userland const struct l_timespec *";
4667 /* linux_mq_timedreceive */
4674 p = "userland char *";
4680 p = "userland l_uint *";
4683 p = "userland const struct l_timespec *";
4689 /* linux_mq_notify */
4696 p = "userland const struct l_timespec *";
4702 /* linux_mq_getsetattr */
4709 p = "userland const struct mq_attr *";
4712 p = "userland struct mq_attr *";
4741 p = "userland struct l_msqid_ds *";
4754 p = "userland struct l_msgbuf *";
4776 p = "userland struct l_msgbuf *";
4817 p = "union l_semun";
4823 /* linux_semtimedop */
4833 p = "userland struct l_sembuf *";
4868 p = "userland struct l_shmid_ds *";
4881 p = "userland char *";
4894 p = "userland char *";
4916 /* linux_socketpair */
4996 /* linux_getsockname */
5012 /* linux_getpeername */
5053 /* linux_recvfrom */
5078 /* linux_setsockopt */
5100 /* linux_getsockopt */
5122 /* linux_shutdown */
5181 p = "userland void *";
5215 /* linux_request_key */
5231 p = "userland l_int *";
5237 p = "userland l_int *";
5247 p = "userland char *";
5250 p = "userland char **";
5253 p = "userland char **";
5284 /* linux_fadvise64 */
5307 p = "userland char *";
5316 /* linux_mprotect */
5352 p = "userland const void *";
5365 p = "userland const void *";
5397 p = "userland u_char *";
5419 /* linux_remap_file_pages */
5425 /* linux_get_mempolicy */
5428 /* linux_set_mempolicy */
5431 /* linux_migrate_pages */
5434 /* linux_move_pages */
5437 /* linux_rt_tgsigqueueinfo */
5450 p = "userland l_siginfo_t *";
5456 /* linux_perf_event_open */
5478 /* linux_recvmmsg */
5485 p = "userland struct l_mmsghdr *";
5494 p = "userland struct l_timespec *";
5507 p = "userland l_int *";
5513 p = "userland struct rusage *";
5519 /* linux_prlimit64 */
5529 p = "userland struct rlimit *";
5532 p = "userland struct rlimit *";
5538 /* linux_fanotify_init */
5541 /* linux_fanotify_mark */
5544 /* linux_name_to_handle_at */
5551 p = "userland const char *";
5554 p = "userland struct l_file_handle *";
5557 p = "userland l_int *";
5566 /* linux_open_by_handle_at */
5573 p = "userland struct l_file_handle *";
5582 /* linux_clock_adjtime */
5608 /* linux_sendmmsg */
5615 p = "userland struct l_mmsghdr *";
5627 /* linux_process_vm_readv */
5634 p = "userland const struct iovec *";
5640 p = "userland const struct iovec *";
5652 /* linux_process_vm_writev */
5659 p = "userland const struct iovec *";
5665 p = "userland const struct iovec *";
5699 /* linux_finit_module */
5706 p = "userland const char *";
5715 /* linux_sched_setattr */
5722 p = "userland void *";
5731 /* linux_sched_getattr */
5738 p = "userland void *";
5750 /* linux_renameat2 */
5757 p = "userland const char *";
5763 p = "userland const char *";
5782 p = "userland const char *";
5788 /* linux_getrandom */
5792 p = "userland char *";
5804 /* linux_memfd_create */
5808 p = "userland const char *";
5824 p = "userland void *";
5833 /* linux_execveat */
5840 p = "userland const char *";
5843 p = "userland const char **";
5846 p = "userland const char **";
5855 /* linux_userfaultfd */
5865 /* linux_membarrier */
5894 /* linux_copy_file_range */
5901 p = "userland l_loff_t *";
5907 p = "userland l_loff_t *";
5926 p = "userland const struct iovec *";
5944 /* linux_pwritev2 */
5951 p = "userland const struct iovec *";
5969 /* linux_pkey_mprotect */
5988 /* linux_pkey_alloc */
6001 /* linux_pkey_free */
6018 p = "userland const char *";
6027 p = "userland void *";
6033 /* linux_io_pgetevents */
6039 /* linux_kexec_file_load */
6042 /* linux_pidfd_send_signal */
6052 p = "userland l_siginfo_t *";
6061 /* linux_io_uring_setup */
6064 /* linux_io_uring_enter */
6067 /* linux_io_uring_register */
6070 /* linux_open_tree */
6073 /* linux_move_mount */
6079 /* linux_fsconfig */
6088 /* linux_pidfd_open */
6095 p = "userland struct l_user_clone_args *";
6104 /* linux_close_range */
6110 /* linux_pidfd_getfd */
6113 /* linux_faccessat2 */
6120 p = "userland const char *";
6132 /* linux_process_madvise */
6135 /* linux_epoll_pwait2 */
6138 /* linux_mount_setattr */
6145 strlcpy(desc, p, descsz);
6148 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6150 const char *p = NULL;
6152 #define nosys linux_nosys
6153 /* linux_setxattr */
6155 if (ndx == 0 || ndx == 1)
6158 /* linux_lsetxattr */
6160 if (ndx == 0 || ndx == 1)
6163 /* linux_fsetxattr */
6165 if (ndx == 0 || ndx == 1)
6168 /* linux_getxattr */
6170 if (ndx == 0 || ndx == 1)
6173 /* linux_lgetxattr */
6175 if (ndx == 0 || ndx == 1)
6178 /* linux_fgetxattr */
6180 if (ndx == 0 || ndx == 1)
6183 /* linux_listxattr */
6185 if (ndx == 0 || ndx == 1)
6188 /* linux_llistxattr */
6190 if (ndx == 0 || ndx == 1)
6193 /* linux_flistxattr */
6195 if (ndx == 0 || ndx == 1)
6198 /* linux_removexattr */
6200 if (ndx == 0 || ndx == 1)
6203 /* linux_lremovexattr */
6205 if (ndx == 0 || ndx == 1)
6208 /* linux_fremovexattr */
6210 if (ndx == 0 || ndx == 1)
6215 if (ndx == 0 || ndx == 1)
6218 /* linux_lookup_dcookie */
6220 /* linux_eventfd2 */
6222 if (ndx == 0 || ndx == 1)
6225 /* linux_epoll_create1 */
6227 if (ndx == 0 || ndx == 1)
6230 /* linux_epoll_ctl */
6232 if (ndx == 0 || ndx == 1)
6235 /* linux_epoll_pwait */
6237 if (ndx == 0 || ndx == 1)
6242 if (ndx == 0 || ndx == 1)
6247 if (ndx == 0 || ndx == 1)
6252 if (ndx == 0 || ndx == 1)
6255 /* linux_inotify_init1 */
6257 if (ndx == 0 || ndx == 1)
6260 /* linux_inotify_add_watch */
6262 /* linux_inotify_rm_watch */
6266 if (ndx == 0 || ndx == 1)
6269 /* linux_ioprio_set */
6271 /* linux_ioprio_get */
6275 if (ndx == 0 || ndx == 1)
6280 if (ndx == 0 || ndx == 1)
6285 if (ndx == 0 || ndx == 1)
6288 /* linux_unlinkat */
6290 if (ndx == 0 || ndx == 1)
6293 /* linux_symlinkat */
6295 if (ndx == 0 || ndx == 1)
6300 if (ndx == 0 || ndx == 1)
6303 /* linux_renameat */
6305 if (ndx == 0 || ndx == 1)
6310 if (ndx == 0 || ndx == 1)
6313 /* linux_pivot_root */
6317 if (ndx == 0 || ndx == 1)
6322 if (ndx == 0 || ndx == 1)
6325 /* linux_truncate */
6327 if (ndx == 0 || ndx == 1)
6330 /* linux_ftruncate */
6332 if (ndx == 0 || ndx == 1)
6335 /* linux_fallocate */
6337 if (ndx == 0 || ndx == 1)
6340 /* linux_faccessat */
6342 if (ndx == 0 || ndx == 1)
6347 if (ndx == 0 || ndx == 1)
6352 if (ndx == 0 || ndx == 1)
6357 if (ndx == 0 || ndx == 1)
6362 if (ndx == 0 || ndx == 1)
6365 /* linux_fchmodat */
6367 if (ndx == 0 || ndx == 1)
6370 /* linux_fchownat */
6372 if (ndx == 0 || ndx == 1)
6377 if (ndx == 0 || ndx == 1)
6382 if (ndx == 0 || ndx == 1)
6387 if (ndx == 0 || ndx == 1)
6394 if (ndx == 0 || ndx == 1)
6397 /* linux_getdents64 */
6399 if (ndx == 0 || ndx == 1)
6404 if (ndx == 0 || ndx == 1)
6409 if (ndx == 0 || ndx == 1)
6414 if (ndx == 0 || ndx == 1)
6419 if (ndx == 0 || ndx == 1)
6424 if (ndx == 0 || ndx == 1)
6429 if (ndx == 0 || ndx == 1)
6434 if (ndx == 0 || ndx == 1)
6439 if (ndx == 0 || ndx == 1)
6444 if (ndx == 0 || ndx == 1)
6447 /* linux_sendfile */
6449 if (ndx == 0 || ndx == 1)
6452 /* linux_pselect6 */
6454 if (ndx == 0 || ndx == 1)
6459 if (ndx == 0 || ndx == 1)
6462 /* linux_signalfd4 */
6464 /* linux_vmsplice */
6468 if (ndx == 0 || ndx == 1)
6473 /* linux_readlinkat */
6475 if (ndx == 0 || ndx == 1)
6478 /* linux_newfstatat */
6480 if (ndx == 0 || ndx == 1)
6483 /* linux_newfstat */
6485 if (ndx == 0 || ndx == 1)
6490 if (ndx == 0 || ndx == 1)
6493 /* linux_fdatasync */
6495 if (ndx == 0 || ndx == 1)
6498 /* linux_sync_file_range */
6500 if (ndx == 0 || ndx == 1)
6503 /* linux_timerfd_create */
6505 if (ndx == 0 || ndx == 1)
6508 /* linux_timerfd_settime */
6510 if (ndx == 0 || ndx == 1)
6513 /* linux_timerfd_gettime */
6515 if (ndx == 0 || ndx == 1)
6518 /* linux_utimensat */
6520 if (ndx == 0 || ndx == 1)
6525 if (ndx == 0 || ndx == 1)
6530 if (ndx == 0 || ndx == 1)
6535 if (ndx == 0 || ndx == 1)
6538 /* linux_personality */
6540 if (ndx == 0 || ndx == 1)
6545 if (ndx == 0 || ndx == 1)
6548 /* linux_exit_group */
6550 if (ndx == 0 || ndx == 1)
6555 if (ndx == 0 || ndx == 1)
6558 /* linux_set_tid_address */
6560 if (ndx == 0 || ndx == 1)
6565 /* linux_sys_futex */
6567 if (ndx == 0 || ndx == 1)
6570 /* linux_set_robust_list */
6572 if (ndx == 0 || ndx == 1)
6575 /* linux_get_robust_list */
6577 if (ndx == 0 || ndx == 1)
6580 /* linux_nanosleep */
6582 if (ndx == 0 || ndx == 1)
6585 /* linux_getitimer */
6587 if (ndx == 0 || ndx == 1)
6590 /* linux_setitimer */
6592 if (ndx == 0 || ndx == 1)
6595 /* linux_kexec_load */
6597 /* linux_init_module */
6599 /* linux_delete_module */
6601 /* linux_timer_create */
6603 if (ndx == 0 || ndx == 1)
6606 /* linux_timer_gettime */
6608 if (ndx == 0 || ndx == 1)
6611 /* linux_timer_getoverrun */
6613 if (ndx == 0 || ndx == 1)
6616 /* linux_timer_settime */
6618 if (ndx == 0 || ndx == 1)
6621 /* linux_timer_delete */
6623 if (ndx == 0 || ndx == 1)
6626 /* linux_clock_settime */
6628 if (ndx == 0 || ndx == 1)
6631 /* linux_clock_gettime */
6633 if (ndx == 0 || ndx == 1)
6636 /* linux_clock_getres */
6638 if (ndx == 0 || ndx == 1)
6641 /* linux_clock_nanosleep */
6643 if (ndx == 0 || ndx == 1)
6648 if (ndx == 0 || ndx == 1)
6653 if (ndx == 0 || ndx == 1)
6656 /* linux_sched_setparam */
6658 if (ndx == 0 || ndx == 1)
6661 /* linux_sched_setscheduler */
6663 if (ndx == 0 || ndx == 1)
6666 /* linux_sched_getscheduler */
6668 if (ndx == 0 || ndx == 1)
6671 /* linux_sched_getparam */
6673 if (ndx == 0 || ndx == 1)
6676 /* linux_sched_setaffinity */
6678 if (ndx == 0 || ndx == 1)
6681 /* linux_sched_getaffinity */
6683 if (ndx == 0 || ndx == 1)
6688 /* linux_sched_get_priority_max */
6690 if (ndx == 0 || ndx == 1)
6693 /* linux_sched_get_priority_min */
6695 if (ndx == 0 || ndx == 1)
6698 /* linux_sched_rr_get_interval */
6700 if (ndx == 0 || ndx == 1)
6705 if (ndx == 0 || ndx == 1)
6710 if (ndx == 0 || ndx == 1)
6715 if (ndx == 0 || ndx == 1)
6718 /* linux_sigaltstack */
6720 if (ndx == 0 || ndx == 1)
6723 /* linux_rt_sigsuspend */
6725 if (ndx == 0 || ndx == 1)
6728 /* linux_rt_sigaction */
6730 if (ndx == 0 || ndx == 1)
6733 /* linux_rt_sigprocmask */
6735 if (ndx == 0 || ndx == 1)
6738 /* linux_rt_sigpending */
6740 if (ndx == 0 || ndx == 1)
6743 /* linux_rt_sigtimedwait */
6745 if (ndx == 0 || ndx == 1)
6748 /* linux_rt_sigqueueinfo */
6750 if (ndx == 0 || ndx == 1)
6753 /* linux_rt_sigreturn */
6757 if (ndx == 0 || ndx == 1)
6760 /* linux_getpriority */
6762 if (ndx == 0 || ndx == 1)
6767 if (ndx == 0 || ndx == 1)
6772 if (ndx == 0 || ndx == 1)
6777 if (ndx == 0 || ndx == 1)
6782 if (ndx == 0 || ndx == 1)
6787 if (ndx == 0 || ndx == 1)
6792 if (ndx == 0 || ndx == 1)
6797 if (ndx == 0 || ndx == 1)
6802 if (ndx == 0 || ndx == 1)
6807 if (ndx == 0 || ndx == 1)
6810 /* linux_setfsuid */
6812 if (ndx == 0 || ndx == 1)
6815 /* linux_setfsgid */
6817 if (ndx == 0 || ndx == 1)
6822 if (ndx == 0 || ndx == 1)
6827 if (ndx == 0 || ndx == 1)
6832 if (ndx == 0 || ndx == 1)
6837 if (ndx == 0 || ndx == 1)
6842 /* linux_getgroups */
6844 if (ndx == 0 || ndx == 1)
6847 /* linux_setgroups */
6849 if (ndx == 0 || ndx == 1)
6852 /* linux_newuname */
6854 if (ndx == 0 || ndx == 1)
6857 /* linux_sethostname */
6859 if (ndx == 0 || ndx == 1)
6862 /* linux_setdomainname */
6864 if (ndx == 0 || ndx == 1)
6867 /* linux_getrlimit */
6869 if (ndx == 0 || ndx == 1)
6872 /* linux_setrlimit */
6874 if (ndx == 0 || ndx == 1)
6879 if (ndx == 0 || ndx == 1)
6884 if (ndx == 0 || ndx == 1)
6889 if (ndx == 0 || ndx == 1)
6894 if (ndx == 0 || ndx == 1)
6899 if (ndx == 0 || ndx == 1)
6904 if (ndx == 0 || ndx == 1)
6907 /* linux_adjtimex */
6925 if (ndx == 0 || ndx == 1)
6930 if (ndx == 0 || ndx == 1)
6933 /* linux_mq_unlink */
6935 if (ndx == 0 || ndx == 1)
6938 /* linux_mq_timedsend */
6940 if (ndx == 0 || ndx == 1)
6943 /* linux_mq_timedreceive */
6945 if (ndx == 0 || ndx == 1)
6948 /* linux_mq_notify */
6950 if (ndx == 0 || ndx == 1)
6953 /* linux_mq_getsetattr */
6955 if (ndx == 0 || ndx == 1)
6960 if (ndx == 0 || ndx == 1)
6965 if (ndx == 0 || ndx == 1)
6970 if (ndx == 0 || ndx == 1)
6975 if (ndx == 0 || ndx == 1)
6980 if (ndx == 0 || ndx == 1)
6985 if (ndx == 0 || ndx == 1)
6988 /* linux_semtimedop */
6992 if (ndx == 0 || ndx == 1)
6997 if (ndx == 0 || ndx == 1)
7002 if (ndx == 0 || ndx == 1)
7007 if (ndx == 0 || ndx == 1)
7012 if (ndx == 0 || ndx == 1)
7017 if (ndx == 0 || ndx == 1)
7020 /* linux_socketpair */
7022 if (ndx == 0 || ndx == 1)
7027 if (ndx == 0 || ndx == 1)
7032 if (ndx == 0 || ndx == 1)
7037 if (ndx == 0 || ndx == 1)
7042 if (ndx == 0 || ndx == 1)
7045 /* linux_getsockname */
7047 if (ndx == 0 || ndx == 1)
7050 /* linux_getpeername */
7052 if (ndx == 0 || ndx == 1)
7057 if (ndx == 0 || ndx == 1)
7060 /* linux_recvfrom */
7062 if (ndx == 0 || ndx == 1)
7065 /* linux_setsockopt */
7067 if (ndx == 0 || ndx == 1)
7070 /* linux_getsockopt */
7072 if (ndx == 0 || ndx == 1)
7075 /* linux_shutdown */
7077 if (ndx == 0 || ndx == 1)
7082 if (ndx == 0 || ndx == 1)
7087 if (ndx == 0 || ndx == 1)
7092 if (ndx == 0 || ndx == 1)
7097 if (ndx == 0 || ndx == 1)
7102 if (ndx == 0 || ndx == 1)
7107 /* linux_request_key */
7113 if (ndx == 0 || ndx == 1)
7118 if (ndx == 0 || ndx == 1)
7123 if (ndx == 0 || ndx == 1)
7126 /* linux_fadvise64 */
7128 if (ndx == 0 || ndx == 1)
7133 if (ndx == 0 || ndx == 1)
7138 /* linux_mprotect */
7140 if (ndx == 0 || ndx == 1)
7145 if (ndx == 0 || ndx == 1)
7150 if (ndx == 0 || ndx == 1)
7155 if (ndx == 0 || ndx == 1)
7160 if (ndx == 0 || ndx == 1)
7167 if (ndx == 0 || ndx == 1)
7172 if (ndx == 0 || ndx == 1)
7175 /* linux_remap_file_pages */
7179 /* linux_get_mempolicy */
7181 /* linux_set_mempolicy */
7183 /* linux_migrate_pages */
7185 /* linux_move_pages */
7187 /* linux_rt_tgsigqueueinfo */
7189 if (ndx == 0 || ndx == 1)
7192 /* linux_perf_event_open */
7196 if (ndx == 0 || ndx == 1)
7199 /* linux_recvmmsg */
7201 if (ndx == 0 || ndx == 1)
7206 if (ndx == 0 || ndx == 1)
7209 /* linux_prlimit64 */
7211 if (ndx == 0 || ndx == 1)
7214 /* linux_fanotify_init */
7216 /* linux_fanotify_mark */
7218 /* linux_name_to_handle_at */
7220 if (ndx == 0 || ndx == 1)
7223 /* linux_open_by_handle_at */
7225 if (ndx == 0 || ndx == 1)
7228 /* linux_clock_adjtime */
7232 if (ndx == 0 || ndx == 1)
7237 if (ndx == 0 || ndx == 1)
7240 /* linux_sendmmsg */
7242 if (ndx == 0 || ndx == 1)
7245 /* linux_process_vm_readv */
7247 if (ndx == 0 || ndx == 1)
7250 /* linux_process_vm_writev */
7252 if (ndx == 0 || ndx == 1)
7257 if (ndx == 0 || ndx == 1)
7260 /* linux_finit_module */
7262 if (ndx == 0 || ndx == 1)
7265 /* linux_sched_setattr */
7267 if (ndx == 0 || ndx == 1)
7270 /* linux_sched_getattr */
7272 if (ndx == 0 || ndx == 1)
7275 /* linux_renameat2 */
7277 if (ndx == 0 || ndx == 1)
7282 if (ndx == 0 || ndx == 1)
7285 /* linux_getrandom */
7287 if (ndx == 0 || ndx == 1)
7290 /* linux_memfd_create */
7292 if (ndx == 0 || ndx == 1)
7297 if (ndx == 0 || ndx == 1)
7300 /* linux_execveat */
7302 if (ndx == 0 || ndx == 1)
7305 /* linux_userfaultfd */
7307 if (ndx == 0 || ndx == 1)
7310 /* linux_membarrier */
7312 if (ndx == 0 || ndx == 1)
7317 if (ndx == 0 || ndx == 1)
7320 /* linux_copy_file_range */
7322 if (ndx == 0 || ndx == 1)
7327 if (ndx == 0 || ndx == 1)
7330 /* linux_pwritev2 */
7332 if (ndx == 0 || ndx == 1)
7335 /* linux_pkey_mprotect */
7337 if (ndx == 0 || ndx == 1)
7340 /* linux_pkey_alloc */
7342 if (ndx == 0 || ndx == 1)
7345 /* linux_pkey_free */
7347 if (ndx == 0 || ndx == 1)
7352 if (ndx == 0 || ndx == 1)
7355 /* linux_io_pgetevents */
7359 /* linux_kexec_file_load */
7361 /* linux_pidfd_send_signal */
7363 if (ndx == 0 || ndx == 1)
7366 /* linux_io_uring_setup */
7368 /* linux_io_uring_enter */
7370 /* linux_io_uring_register */
7372 /* linux_open_tree */
7374 /* linux_move_mount */
7378 /* linux_fsconfig */
7384 /* linux_pidfd_open */
7388 if (ndx == 0 || ndx == 1)
7391 /* linux_close_range */
7395 /* linux_pidfd_getfd */
7397 /* linux_faccessat2 */
7399 if (ndx == 0 || ndx == 1)
7402 /* linux_process_madvise */
7404 /* linux_epoll_pwait2 */
7406 /* linux_mount_setattr */
7412 strlcpy(desc, p, descsz);