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 uarg[1] = (intptr_t)p->stack; /* void * */
1750 uarg[2] = (intptr_t)p->parent_tidptr; /* void * */
1751 uarg[3] = (intptr_t)p->tls; /* void * */
1752 uarg[4] = (intptr_t)p->child_tidptr; /* void * */
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 */
2305 /* linux_close_range */
2315 /* linux_pidfd_getfd */
2320 /* linux_faccessat2 */
2322 struct linux_faccessat2_args *p = params;
2323 iarg[0] = p->dfd; /* l_int */
2324 uarg[1] = (intptr_t)p->filename; /* const char * */
2325 iarg[2] = p->amode; /* l_int */
2326 iarg[3] = p->flags; /* l_int */
2330 /* linux_process_madvise */
2335 /* linux_epoll_pwait2 */
2340 /* linux_mount_setattr */
2351 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2353 const char *p = NULL;
2355 #define nosys linux_nosys
2356 /* linux_setxattr */
2360 p = "userland const char *";
2363 p = "userland const char *";
2366 p = "userland const char *";
2378 /* linux_lsetxattr */
2382 p = "userland const char *";
2385 p = "userland const char *";
2388 p = "userland const char *";
2400 /* linux_fsetxattr */
2407 p = "userland const char *";
2410 p = "userland const char *";
2422 /* linux_getxattr */
2426 p = "userland const char *";
2429 p = "userland const char *";
2432 p = "userland char *";
2441 /* linux_lgetxattr */
2445 p = "userland const char *";
2448 p = "userland const char *";
2451 p = "userland char *";
2460 /* linux_fgetxattr */
2467 p = "userland const char *";
2470 p = "userland char *";
2479 /* linux_listxattr */
2483 p = "userland const char *";
2486 p = "userland const char *";
2495 /* linux_llistxattr */
2499 p = "userland const char *";
2502 p = "userland const char *";
2511 /* linux_flistxattr */
2518 p = "userland const char *";
2527 /* linux_removexattr */
2531 p = "userland const char *";
2534 p = "userland const char *";
2540 /* linux_lremovexattr */
2544 p = "userland const char *";
2547 p = "userland const char *";
2553 /* linux_fremovexattr */
2560 p = "userland const char *";
2570 p = "userland char *";
2579 /* linux_lookup_dcookie */
2582 /* linux_eventfd2 */
2595 /* linux_epoll_create1 */
2605 /* linux_epoll_ctl */
2618 p = "userland struct epoll_event *";
2624 /* linux_epoll_pwait */
2631 p = "userland struct epoll_event *";
2640 p = "userland l_sigset_t *";
2691 /* linux_inotify_init1 */
2701 /* linux_inotify_add_watch */
2704 /* linux_inotify_rm_watch */
2723 /* linux_ioprio_set */
2726 /* linux_ioprio_get */
2749 p = "userland const char *";
2768 p = "userland const char *";
2777 /* linux_unlinkat */
2784 p = "userland const char *";
2793 /* linux_symlinkat */
2797 p = "userland const char *";
2803 p = "userland const char *";
2816 p = "userland const char *";
2822 p = "userland const char *";
2831 /* linux_renameat */
2838 p = "userland const char *";
2844 p = "userland const char *";
2854 p = "userland char *";
2857 p = "userland char *";
2860 p = "userland char *";
2866 p = "userland void *";
2872 /* linux_pivot_root */
2879 p = "userland char *";
2882 p = "userland struct l_statfs_buf *";
2895 p = "userland struct l_statfs_buf *";
2901 /* linux_truncate */
2905 p = "userland char *";
2914 /* linux_ftruncate */
2927 /* linux_fallocate */
2946 /* linux_faccessat */
2953 p = "userland const char *";
2966 p = "userland char *";
2986 p = "userland char *";
3005 /* linux_fchmodat */
3012 p = "userland const char *";
3021 /* linux_fchownat */
3028 p = "userland const char *";
3066 p = "userland const char *";
3095 p = "userland l_int *";
3104 /* linux_getdents64 */
3111 p = "userland void *";
3143 p = "userland char *";
3159 p = "userland char *";
3175 p = "userland struct iovec *";
3191 p = "userland struct iovec *";
3207 p = "userland char *";
3226 p = "userland char *";
3245 p = "userland struct iovec *";
3267 p = "userland struct iovec *";
3282 /* linux_sendfile */
3292 p = "userland l_off_t *";
3301 /* linux_pselect6 */
3308 p = "userland l_fd_set *";
3311 p = "userland l_fd_set *";
3314 p = "userland l_fd_set *";
3317 p = "userland struct l_timespec *";
3320 p = "userland l_uintptr_t *";
3330 p = "userland struct pollfd *";
3336 p = "userland struct l_timespec *";
3339 p = "userland l_sigset_t *";
3348 /* linux_signalfd4 */
3351 /* linux_vmsplice */
3361 p = "userland l_loff_t *";
3367 p = "userland l_loff_t *";
3382 /* linux_readlinkat */
3389 p = "userland const char *";
3392 p = "userland char *";
3401 /* linux_newfstatat */
3408 p = "userland char *";
3411 p = "userland struct l_stat64 *";
3420 /* linux_newfstat */
3427 p = "userland struct l_newstat *";
3443 /* linux_fdatasync */
3453 /* linux_sync_file_range */
3472 /* linux_timerfd_create */
3485 /* linux_timerfd_settime */
3495 p = "userland const struct l_itimerspec *";
3498 p = "userland struct l_itimerspec *";
3504 /* linux_timerfd_gettime */
3511 p = "userland struct l_itimerspec *";
3517 /* linux_utimensat */
3524 p = "userland const char *";
3527 p = "userland const struct l_timespec *";
3540 p = "userland char *";
3550 p = "userland struct l_user_cap_header *";
3553 p = "userland struct l_user_cap_data *";
3563 p = "userland struct l_user_cap_header *";
3566 p = "userland struct l_user_cap_data *";
3572 /* linux_personality */
3592 /* linux_exit_group */
3612 p = "userland l_siginfo_t *";
3618 p = "userland struct rusage *";
3624 /* linux_set_tid_address */
3628 p = "userland l_int *";
3637 /* linux_sys_futex */
3641 p = "userland uint32_t *";
3650 p = "userland struct l_timespec *";
3653 p = "userland uint32_t *";
3662 /* linux_set_robust_list */
3666 p = "userland struct linux_robust_list_head *";
3675 /* linux_get_robust_list */
3682 p = "userland struct linux_robust_list_head **";
3685 p = "userland l_size_t *";
3691 /* linux_nanosleep */
3695 p = "userland const struct l_timespec *";
3698 p = "userland struct l_timespec *";
3704 /* linux_getitimer */
3711 p = "userland struct l_itimerval *";
3717 /* linux_setitimer */
3724 p = "userland struct l_itimerval *";
3727 p = "userland struct l_itimerval *";
3733 /* linux_kexec_load */
3736 /* linux_init_module */
3739 /* linux_delete_module */
3742 /* linux_timer_create */
3749 p = "userland struct sigevent *";
3752 p = "userland l_timer_t *";
3758 /* linux_timer_gettime */
3765 p = "userland struct itimerspec *";
3771 /* linux_timer_getoverrun */
3781 /* linux_timer_settime */
3791 p = "userland const struct itimerspec *";
3794 p = "userland struct itimerspec *";
3800 /* linux_timer_delete */
3810 /* linux_clock_settime */
3817 p = "userland struct l_timespec *";
3823 /* linux_clock_gettime */
3830 p = "userland struct l_timespec *";
3836 /* linux_clock_getres */
3843 p = "userland struct l_timespec *";
3849 /* linux_clock_nanosleep */
3859 p = "userland struct l_timespec *";
3862 p = "userland struct l_timespec *";
3875 p = "userland char *";
3903 /* linux_sched_setparam */
3910 p = "userland struct sched_param *";
3916 /* linux_sched_setscheduler */
3926 p = "userland struct sched_param *";
3932 /* linux_sched_getscheduler */
3942 /* linux_sched_getparam */
3949 p = "userland struct sched_param *";
3955 /* linux_sched_setaffinity */
3965 p = "userland l_ulong *";
3971 /* linux_sched_getaffinity */
3981 p = "userland l_ulong *";
3990 /* linux_sched_get_priority_max */
4000 /* linux_sched_get_priority_min */
4010 /* linux_sched_rr_get_interval */
4017 p = "userland struct l_timespec *";
4065 /* linux_sigaltstack */
4069 p = "userland l_stack_t *";
4072 p = "userland l_stack_t *";
4078 /* linux_rt_sigsuspend */
4082 p = "userland l_sigset_t *";
4091 /* linux_rt_sigaction */
4098 p = "userland l_sigaction_t *";
4101 p = "userland l_sigaction_t *";
4110 /* linux_rt_sigprocmask */
4117 p = "userland l_sigset_t *";
4120 p = "userland l_sigset_t *";
4129 /* linux_rt_sigpending */
4133 p = "userland l_sigset_t *";
4142 /* linux_rt_sigtimedwait */
4146 p = "userland l_sigset_t *";
4149 p = "userland l_siginfo_t *";
4152 p = "userland struct l_timespec *";
4161 /* linux_rt_sigqueueinfo */
4171 p = "userland l_siginfo_t *";
4177 /* linux_rt_sigreturn */
4196 /* linux_getpriority */
4222 p = "userland void *";
4294 p = "userland uid_t *";
4297 p = "userland uid_t *";
4300 p = "userland uid_t *";
4326 p = "userland gid_t *";
4329 p = "userland gid_t *";
4332 p = "userland gid_t *";
4338 /* linux_setfsuid */
4348 /* linux_setfsgid */
4362 p = "userland struct l_times_argv *";
4404 /* linux_getgroups */
4411 p = "userland l_gid_t *";
4417 /* linux_setgroups */
4424 p = "userland l_gid_t *";
4430 /* linux_newuname */
4434 p = "userland struct l_new_utsname *";
4440 /* linux_sethostname */
4444 p = "userland char *";
4453 /* linux_setdomainname */
4457 p = "userland char *";
4466 /* linux_getrlimit */
4473 p = "userland struct l_rlimit *";
4479 /* linux_setrlimit */
4486 p = "userland struct l_rlimit *";
4499 p = "userland struct rusage *";
4541 p = "userland l_uint *";
4544 p = "userland l_uint *";
4547 p = "userland void *";
4557 p = "userland struct l_timeval *";
4560 p = "userland struct timezone *";
4570 p = "userland struct l_timeval *";
4573 p = "userland struct timezone *";
4579 /* linux_adjtimex */
4607 p = "userland struct l_sysinfo *";
4617 p = "userland const char *";
4626 p = "userland struct mq_attr *";
4632 /* linux_mq_unlink */
4636 p = "userland const char *";
4642 /* linux_mq_timedsend */
4649 p = "userland const char *";
4658 p = "userland const struct l_timespec *";
4664 /* linux_mq_timedreceive */
4671 p = "userland char *";
4677 p = "userland l_uint *";
4680 p = "userland const struct l_timespec *";
4686 /* linux_mq_notify */
4693 p = "userland const struct l_timespec *";
4699 /* linux_mq_getsetattr */
4706 p = "userland const struct mq_attr *";
4709 p = "userland struct mq_attr *";
4738 p = "userland struct l_msqid_ds *";
4751 p = "userland struct l_msgbuf *";
4773 p = "userland struct l_msgbuf *";
4814 p = "union l_semun";
4820 /* linux_semtimedop */
4830 p = "userland struct l_sembuf *";
4865 p = "userland struct l_shmid_ds *";
4878 p = "userland char *";
4891 p = "userland char *";
4913 /* linux_socketpair */
4993 /* linux_getsockname */
5009 /* linux_getpeername */
5050 /* linux_recvfrom */
5075 /* linux_setsockopt */
5097 /* linux_getsockopt */
5119 /* linux_shutdown */
5178 p = "userland void *";
5212 /* linux_request_key */
5225 p = "userland void *";
5228 p = "userland void *";
5231 p = "userland void *";
5234 p = "userland void *";
5244 p = "userland char *";
5247 p = "userland char **";
5250 p = "userland char **";
5281 /* linux_fadvise64 */
5304 p = "userland char *";
5313 /* linux_mprotect */
5349 p = "userland const void *";
5362 p = "userland const void *";
5394 p = "userland u_char *";
5416 /* linux_remap_file_pages */
5422 /* linux_get_mempolicy */
5425 /* linux_set_mempolicy */
5428 /* linux_migrate_pages */
5431 /* linux_move_pages */
5434 /* linux_rt_tgsigqueueinfo */
5447 p = "userland l_siginfo_t *";
5453 /* linux_perf_event_open */
5475 /* linux_recvmmsg */
5482 p = "userland struct l_mmsghdr *";
5491 p = "userland struct l_timespec *";
5504 p = "userland l_int *";
5510 p = "userland struct rusage *";
5516 /* linux_prlimit64 */
5526 p = "userland struct rlimit *";
5529 p = "userland struct rlimit *";
5535 /* linux_fanotify_init */
5538 /* linux_fanotify_mark */
5541 /* linux_name_to_handle_at */
5548 p = "userland const char *";
5551 p = "userland struct l_file_handle *";
5554 p = "userland l_int *";
5563 /* linux_open_by_handle_at */
5570 p = "userland struct l_file_handle *";
5579 /* linux_clock_adjtime */
5605 /* linux_sendmmsg */
5612 p = "userland struct l_mmsghdr *";
5624 /* linux_process_vm_readv */
5631 p = "userland const struct iovec *";
5637 p = "userland const struct iovec *";
5649 /* linux_process_vm_writev */
5656 p = "userland const struct iovec *";
5662 p = "userland const struct iovec *";
5696 /* linux_finit_module */
5703 p = "userland const char *";
5712 /* linux_sched_setattr */
5719 p = "userland void *";
5728 /* linux_sched_getattr */
5735 p = "userland void *";
5747 /* linux_renameat2 */
5754 p = "userland const char *";
5760 p = "userland const char *";
5779 p = "userland const char *";
5785 /* linux_getrandom */
5789 p = "userland char *";
5801 /* linux_memfd_create */
5805 p = "userland const char *";
5821 p = "userland void *";
5830 /* linux_execveat */
5837 p = "userland const char *";
5840 p = "userland const char **";
5843 p = "userland const char **";
5852 /* linux_userfaultfd */
5862 /* linux_membarrier */
5891 /* linux_copy_file_range */
5898 p = "userland l_loff_t *";
5904 p = "userland l_loff_t *";
5923 p = "userland const struct iovec *";
5941 /* linux_pwritev2 */
5948 p = "userland const struct iovec *";
5966 /* linux_pkey_mprotect */
5985 /* linux_pkey_alloc */
5998 /* linux_pkey_free */
6015 p = "userland const char *";
6024 p = "userland void *";
6030 /* linux_io_pgetevents */
6036 /* linux_kexec_file_load */
6039 /* linux_pidfd_send_signal */
6049 p = "userland l_siginfo_t *";
6058 /* linux_io_uring_setup */
6061 /* linux_io_uring_enter */
6064 /* linux_io_uring_register */
6067 /* linux_open_tree */
6070 /* linux_move_mount */
6076 /* linux_fsconfig */
6085 /* linux_pidfd_open */
6091 /* linux_close_range */
6097 /* linux_pidfd_getfd */
6100 /* linux_faccessat2 */
6107 p = "userland const char *";
6119 /* linux_process_madvise */
6122 /* linux_epoll_pwait2 */
6125 /* linux_mount_setattr */
6132 strlcpy(desc, p, descsz);
6135 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6137 const char *p = NULL;
6139 #define nosys linux_nosys
6140 /* linux_setxattr */
6142 if (ndx == 0 || ndx == 1)
6145 /* linux_lsetxattr */
6147 if (ndx == 0 || ndx == 1)
6150 /* linux_fsetxattr */
6152 if (ndx == 0 || ndx == 1)
6155 /* linux_getxattr */
6157 if (ndx == 0 || ndx == 1)
6160 /* linux_lgetxattr */
6162 if (ndx == 0 || ndx == 1)
6165 /* linux_fgetxattr */
6167 if (ndx == 0 || ndx == 1)
6170 /* linux_listxattr */
6172 if (ndx == 0 || ndx == 1)
6175 /* linux_llistxattr */
6177 if (ndx == 0 || ndx == 1)
6180 /* linux_flistxattr */
6182 if (ndx == 0 || ndx == 1)
6185 /* linux_removexattr */
6187 if (ndx == 0 || ndx == 1)
6190 /* linux_lremovexattr */
6192 if (ndx == 0 || ndx == 1)
6195 /* linux_fremovexattr */
6197 if (ndx == 0 || ndx == 1)
6202 if (ndx == 0 || ndx == 1)
6205 /* linux_lookup_dcookie */
6207 /* linux_eventfd2 */
6209 if (ndx == 0 || ndx == 1)
6212 /* linux_epoll_create1 */
6214 if (ndx == 0 || ndx == 1)
6217 /* linux_epoll_ctl */
6219 if (ndx == 0 || ndx == 1)
6222 /* linux_epoll_pwait */
6224 if (ndx == 0 || ndx == 1)
6229 if (ndx == 0 || ndx == 1)
6234 if (ndx == 0 || ndx == 1)
6239 if (ndx == 0 || ndx == 1)
6242 /* linux_inotify_init1 */
6244 if (ndx == 0 || ndx == 1)
6247 /* linux_inotify_add_watch */
6249 /* linux_inotify_rm_watch */
6253 if (ndx == 0 || ndx == 1)
6256 /* linux_ioprio_set */
6258 /* linux_ioprio_get */
6262 if (ndx == 0 || ndx == 1)
6267 if (ndx == 0 || ndx == 1)
6272 if (ndx == 0 || ndx == 1)
6275 /* linux_unlinkat */
6277 if (ndx == 0 || ndx == 1)
6280 /* linux_symlinkat */
6282 if (ndx == 0 || ndx == 1)
6287 if (ndx == 0 || ndx == 1)
6290 /* linux_renameat */
6292 if (ndx == 0 || ndx == 1)
6297 if (ndx == 0 || ndx == 1)
6300 /* linux_pivot_root */
6304 if (ndx == 0 || ndx == 1)
6309 if (ndx == 0 || ndx == 1)
6312 /* linux_truncate */
6314 if (ndx == 0 || ndx == 1)
6317 /* linux_ftruncate */
6319 if (ndx == 0 || ndx == 1)
6322 /* linux_fallocate */
6324 if (ndx == 0 || ndx == 1)
6327 /* linux_faccessat */
6329 if (ndx == 0 || ndx == 1)
6334 if (ndx == 0 || ndx == 1)
6339 if (ndx == 0 || ndx == 1)
6344 if (ndx == 0 || ndx == 1)
6349 if (ndx == 0 || ndx == 1)
6352 /* linux_fchmodat */
6354 if (ndx == 0 || ndx == 1)
6357 /* linux_fchownat */
6359 if (ndx == 0 || ndx == 1)
6364 if (ndx == 0 || ndx == 1)
6369 if (ndx == 0 || ndx == 1)
6374 if (ndx == 0 || ndx == 1)
6381 if (ndx == 0 || ndx == 1)
6384 /* linux_getdents64 */
6386 if (ndx == 0 || ndx == 1)
6391 if (ndx == 0 || ndx == 1)
6396 if (ndx == 0 || ndx == 1)
6401 if (ndx == 0 || ndx == 1)
6406 if (ndx == 0 || ndx == 1)
6411 if (ndx == 0 || ndx == 1)
6416 if (ndx == 0 || ndx == 1)
6421 if (ndx == 0 || ndx == 1)
6426 if (ndx == 0 || ndx == 1)
6431 if (ndx == 0 || ndx == 1)
6434 /* linux_sendfile */
6436 if (ndx == 0 || ndx == 1)
6439 /* linux_pselect6 */
6441 if (ndx == 0 || ndx == 1)
6446 if (ndx == 0 || ndx == 1)
6449 /* linux_signalfd4 */
6451 /* linux_vmsplice */
6455 if (ndx == 0 || ndx == 1)
6460 /* linux_readlinkat */
6462 if (ndx == 0 || ndx == 1)
6465 /* linux_newfstatat */
6467 if (ndx == 0 || ndx == 1)
6470 /* linux_newfstat */
6472 if (ndx == 0 || ndx == 1)
6477 if (ndx == 0 || ndx == 1)
6480 /* linux_fdatasync */
6482 if (ndx == 0 || ndx == 1)
6485 /* linux_sync_file_range */
6487 if (ndx == 0 || ndx == 1)
6490 /* linux_timerfd_create */
6492 if (ndx == 0 || ndx == 1)
6495 /* linux_timerfd_settime */
6497 if (ndx == 0 || ndx == 1)
6500 /* linux_timerfd_gettime */
6502 if (ndx == 0 || ndx == 1)
6505 /* linux_utimensat */
6507 if (ndx == 0 || ndx == 1)
6512 if (ndx == 0 || ndx == 1)
6517 if (ndx == 0 || ndx == 1)
6522 if (ndx == 0 || ndx == 1)
6525 /* linux_personality */
6527 if (ndx == 0 || ndx == 1)
6532 if (ndx == 0 || ndx == 1)
6535 /* linux_exit_group */
6537 if (ndx == 0 || ndx == 1)
6542 if (ndx == 0 || ndx == 1)
6545 /* linux_set_tid_address */
6547 if (ndx == 0 || ndx == 1)
6552 /* linux_sys_futex */
6554 if (ndx == 0 || ndx == 1)
6557 /* linux_set_robust_list */
6559 if (ndx == 0 || ndx == 1)
6562 /* linux_get_robust_list */
6564 if (ndx == 0 || ndx == 1)
6567 /* linux_nanosleep */
6569 if (ndx == 0 || ndx == 1)
6572 /* linux_getitimer */
6574 if (ndx == 0 || ndx == 1)
6577 /* linux_setitimer */
6579 if (ndx == 0 || ndx == 1)
6582 /* linux_kexec_load */
6584 /* linux_init_module */
6586 /* linux_delete_module */
6588 /* linux_timer_create */
6590 if (ndx == 0 || ndx == 1)
6593 /* linux_timer_gettime */
6595 if (ndx == 0 || ndx == 1)
6598 /* linux_timer_getoverrun */
6600 if (ndx == 0 || ndx == 1)
6603 /* linux_timer_settime */
6605 if (ndx == 0 || ndx == 1)
6608 /* linux_timer_delete */
6610 if (ndx == 0 || ndx == 1)
6613 /* linux_clock_settime */
6615 if (ndx == 0 || ndx == 1)
6618 /* linux_clock_gettime */
6620 if (ndx == 0 || ndx == 1)
6623 /* linux_clock_getres */
6625 if (ndx == 0 || ndx == 1)
6628 /* linux_clock_nanosleep */
6630 if (ndx == 0 || ndx == 1)
6635 if (ndx == 0 || ndx == 1)
6640 if (ndx == 0 || ndx == 1)
6643 /* linux_sched_setparam */
6645 if (ndx == 0 || ndx == 1)
6648 /* linux_sched_setscheduler */
6650 if (ndx == 0 || ndx == 1)
6653 /* linux_sched_getscheduler */
6655 if (ndx == 0 || ndx == 1)
6658 /* linux_sched_getparam */
6660 if (ndx == 0 || ndx == 1)
6663 /* linux_sched_setaffinity */
6665 if (ndx == 0 || ndx == 1)
6668 /* linux_sched_getaffinity */
6670 if (ndx == 0 || ndx == 1)
6675 /* linux_sched_get_priority_max */
6677 if (ndx == 0 || ndx == 1)
6680 /* linux_sched_get_priority_min */
6682 if (ndx == 0 || ndx == 1)
6685 /* linux_sched_rr_get_interval */
6687 if (ndx == 0 || ndx == 1)
6692 if (ndx == 0 || ndx == 1)
6697 if (ndx == 0 || ndx == 1)
6702 if (ndx == 0 || ndx == 1)
6705 /* linux_sigaltstack */
6707 if (ndx == 0 || ndx == 1)
6710 /* linux_rt_sigsuspend */
6712 if (ndx == 0 || ndx == 1)
6715 /* linux_rt_sigaction */
6717 if (ndx == 0 || ndx == 1)
6720 /* linux_rt_sigprocmask */
6722 if (ndx == 0 || ndx == 1)
6725 /* linux_rt_sigpending */
6727 if (ndx == 0 || ndx == 1)
6730 /* linux_rt_sigtimedwait */
6732 if (ndx == 0 || ndx == 1)
6735 /* linux_rt_sigqueueinfo */
6737 if (ndx == 0 || ndx == 1)
6740 /* linux_rt_sigreturn */
6744 if (ndx == 0 || ndx == 1)
6747 /* linux_getpriority */
6749 if (ndx == 0 || ndx == 1)
6754 if (ndx == 0 || ndx == 1)
6759 if (ndx == 0 || ndx == 1)
6764 if (ndx == 0 || ndx == 1)
6769 if (ndx == 0 || ndx == 1)
6774 if (ndx == 0 || ndx == 1)
6779 if (ndx == 0 || ndx == 1)
6784 if (ndx == 0 || ndx == 1)
6789 if (ndx == 0 || ndx == 1)
6794 if (ndx == 0 || ndx == 1)
6797 /* linux_setfsuid */
6799 if (ndx == 0 || ndx == 1)
6802 /* linux_setfsgid */
6804 if (ndx == 0 || ndx == 1)
6809 if (ndx == 0 || ndx == 1)
6814 if (ndx == 0 || ndx == 1)
6819 if (ndx == 0 || ndx == 1)
6824 if (ndx == 0 || ndx == 1)
6829 /* linux_getgroups */
6831 if (ndx == 0 || ndx == 1)
6834 /* linux_setgroups */
6836 if (ndx == 0 || ndx == 1)
6839 /* linux_newuname */
6841 if (ndx == 0 || ndx == 1)
6844 /* linux_sethostname */
6846 if (ndx == 0 || ndx == 1)
6849 /* linux_setdomainname */
6851 if (ndx == 0 || ndx == 1)
6854 /* linux_getrlimit */
6856 if (ndx == 0 || ndx == 1)
6859 /* linux_setrlimit */
6861 if (ndx == 0 || ndx == 1)
6866 if (ndx == 0 || ndx == 1)
6871 if (ndx == 0 || ndx == 1)
6876 if (ndx == 0 || ndx == 1)
6881 if (ndx == 0 || ndx == 1)
6886 if (ndx == 0 || ndx == 1)
6891 if (ndx == 0 || ndx == 1)
6894 /* linux_adjtimex */
6912 if (ndx == 0 || ndx == 1)
6917 if (ndx == 0 || ndx == 1)
6920 /* linux_mq_unlink */
6922 if (ndx == 0 || ndx == 1)
6925 /* linux_mq_timedsend */
6927 if (ndx == 0 || ndx == 1)
6930 /* linux_mq_timedreceive */
6932 if (ndx == 0 || ndx == 1)
6935 /* linux_mq_notify */
6937 if (ndx == 0 || ndx == 1)
6940 /* linux_mq_getsetattr */
6942 if (ndx == 0 || ndx == 1)
6947 if (ndx == 0 || ndx == 1)
6952 if (ndx == 0 || ndx == 1)
6957 if (ndx == 0 || ndx == 1)
6962 if (ndx == 0 || ndx == 1)
6967 if (ndx == 0 || ndx == 1)
6972 if (ndx == 0 || ndx == 1)
6975 /* linux_semtimedop */
6979 if (ndx == 0 || ndx == 1)
6984 if (ndx == 0 || ndx == 1)
6989 if (ndx == 0 || ndx == 1)
6994 if (ndx == 0 || ndx == 1)
6999 if (ndx == 0 || ndx == 1)
7004 if (ndx == 0 || ndx == 1)
7007 /* linux_socketpair */
7009 if (ndx == 0 || ndx == 1)
7014 if (ndx == 0 || ndx == 1)
7019 if (ndx == 0 || ndx == 1)
7024 if (ndx == 0 || ndx == 1)
7029 if (ndx == 0 || ndx == 1)
7032 /* linux_getsockname */
7034 if (ndx == 0 || ndx == 1)
7037 /* linux_getpeername */
7039 if (ndx == 0 || ndx == 1)
7044 if (ndx == 0 || ndx == 1)
7047 /* linux_recvfrom */
7049 if (ndx == 0 || ndx == 1)
7052 /* linux_setsockopt */
7054 if (ndx == 0 || ndx == 1)
7057 /* linux_getsockopt */
7059 if (ndx == 0 || ndx == 1)
7062 /* linux_shutdown */
7064 if (ndx == 0 || ndx == 1)
7069 if (ndx == 0 || ndx == 1)
7074 if (ndx == 0 || ndx == 1)
7079 if (ndx == 0 || ndx == 1)
7084 if (ndx == 0 || ndx == 1)
7089 if (ndx == 0 || ndx == 1)
7094 /* linux_request_key */
7100 if (ndx == 0 || ndx == 1)
7105 if (ndx == 0 || ndx == 1)
7110 if (ndx == 0 || ndx == 1)
7113 /* linux_fadvise64 */
7115 if (ndx == 0 || ndx == 1)
7120 if (ndx == 0 || ndx == 1)
7125 /* linux_mprotect */
7127 if (ndx == 0 || ndx == 1)
7132 if (ndx == 0 || ndx == 1)
7137 if (ndx == 0 || ndx == 1)
7142 if (ndx == 0 || ndx == 1)
7147 if (ndx == 0 || ndx == 1)
7154 if (ndx == 0 || ndx == 1)
7159 if (ndx == 0 || ndx == 1)
7162 /* linux_remap_file_pages */
7166 /* linux_get_mempolicy */
7168 /* linux_set_mempolicy */
7170 /* linux_migrate_pages */
7172 /* linux_move_pages */
7174 /* linux_rt_tgsigqueueinfo */
7176 if (ndx == 0 || ndx == 1)
7179 /* linux_perf_event_open */
7183 if (ndx == 0 || ndx == 1)
7186 /* linux_recvmmsg */
7188 if (ndx == 0 || ndx == 1)
7193 if (ndx == 0 || ndx == 1)
7196 /* linux_prlimit64 */
7198 if (ndx == 0 || ndx == 1)
7201 /* linux_fanotify_init */
7203 /* linux_fanotify_mark */
7205 /* linux_name_to_handle_at */
7207 if (ndx == 0 || ndx == 1)
7210 /* linux_open_by_handle_at */
7212 if (ndx == 0 || ndx == 1)
7215 /* linux_clock_adjtime */
7219 if (ndx == 0 || ndx == 1)
7224 if (ndx == 0 || ndx == 1)
7227 /* linux_sendmmsg */
7229 if (ndx == 0 || ndx == 1)
7232 /* linux_process_vm_readv */
7234 if (ndx == 0 || ndx == 1)
7237 /* linux_process_vm_writev */
7239 if (ndx == 0 || ndx == 1)
7244 if (ndx == 0 || ndx == 1)
7247 /* linux_finit_module */
7249 if (ndx == 0 || ndx == 1)
7252 /* linux_sched_setattr */
7254 if (ndx == 0 || ndx == 1)
7257 /* linux_sched_getattr */
7259 if (ndx == 0 || ndx == 1)
7262 /* linux_renameat2 */
7264 if (ndx == 0 || ndx == 1)
7269 if (ndx == 0 || ndx == 1)
7272 /* linux_getrandom */
7274 if (ndx == 0 || ndx == 1)
7277 /* linux_memfd_create */
7279 if (ndx == 0 || ndx == 1)
7284 if (ndx == 0 || ndx == 1)
7287 /* linux_execveat */
7289 if (ndx == 0 || ndx == 1)
7292 /* linux_userfaultfd */
7294 if (ndx == 0 || ndx == 1)
7297 /* linux_membarrier */
7299 if (ndx == 0 || ndx == 1)
7304 if (ndx == 0 || ndx == 1)
7307 /* linux_copy_file_range */
7309 if (ndx == 0 || ndx == 1)
7314 if (ndx == 0 || ndx == 1)
7317 /* linux_pwritev2 */
7319 if (ndx == 0 || ndx == 1)
7322 /* linux_pkey_mprotect */
7324 if (ndx == 0 || ndx == 1)
7327 /* linux_pkey_alloc */
7329 if (ndx == 0 || ndx == 1)
7332 /* linux_pkey_free */
7334 if (ndx == 0 || ndx == 1)
7339 if (ndx == 0 || ndx == 1)
7342 /* linux_io_pgetevents */
7346 /* linux_kexec_file_load */
7348 /* linux_pidfd_send_signal */
7350 if (ndx == 0 || ndx == 1)
7353 /* linux_io_uring_setup */
7355 /* linux_io_uring_enter */
7357 /* linux_io_uring_register */
7359 /* linux_open_tree */
7361 /* linux_move_mount */
7365 /* linux_fsconfig */
7371 /* linux_pidfd_open */
7375 /* linux_close_range */
7379 /* linux_pidfd_getfd */
7381 /* linux_faccessat2 */
7383 if (ndx == 0 || ndx == 1)
7386 /* linux_process_madvise */
7388 /* linux_epoll_pwait2 */
7390 /* linux_mount_setattr */
7396 strlcpy(desc, p, descsz);