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; /* void * */
776 iarg[1] = p->op; /* int */
777 iarg[2] = p->val; /* int */
778 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
779 uarg[4] = (intptr_t) p->uaddr2; /* void * */
780 iarg[5] = p->val3; /* int */
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_timeval * */
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 */
1102 struct linux_rt_sigreturn_args *p = params;
1103 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1109 struct setpriority_args *p = params;
1110 iarg[0] = p->which; /* int */
1111 iarg[1] = p->who; /* int */
1112 iarg[2] = p->prio; /* int */
1116 /* linux_getpriority */
1118 struct linux_getpriority_args *p = params;
1119 iarg[0] = p->which; /* l_int */
1120 iarg[1] = p->who; /* l_int */
1126 struct linux_reboot_args *p = params;
1127 iarg[0] = p->magic1; /* l_int */
1128 iarg[1] = p->magic2; /* l_int */
1129 iarg[2] = p->cmd; /* l_uint */
1130 uarg[3] = (intptr_t) p->arg; /* void * */
1136 struct setregid_args *p = params;
1137 iarg[0] = p->rgid; /* gid_t */
1138 iarg[1] = p->egid; /* gid_t */
1144 struct setgid_args *p = params;
1145 iarg[0] = p->gid; /* gid_t */
1151 struct setreuid_args *p = params;
1152 uarg[0] = p->ruid; /* uid_t */
1153 uarg[1] = p->euid; /* uid_t */
1159 struct setuid_args *p = params;
1160 uarg[0] = p->uid; /* uid_t */
1166 struct setresuid_args *p = params;
1167 uarg[0] = p->ruid; /* uid_t */
1168 uarg[1] = p->euid; /* uid_t */
1169 uarg[2] = p->suid; /* uid_t */
1175 struct getresuid_args *p = params;
1176 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1177 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1178 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1184 struct setresgid_args *p = params;
1185 iarg[0] = p->rgid; /* gid_t */
1186 iarg[1] = p->egid; /* gid_t */
1187 iarg[2] = p->sgid; /* gid_t */
1193 struct getresgid_args *p = params;
1194 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1195 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1196 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1200 /* linux_setfsuid */
1202 struct linux_setfsuid_args *p = params;
1203 iarg[0] = p->uid; /* l_uid_t */
1207 /* linux_setfsgid */
1209 struct linux_setfsgid_args *p = params;
1210 iarg[0] = p->gid; /* l_gid_t */
1216 struct linux_times_args *p = params;
1217 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
1223 struct setpgid_args *p = params;
1224 iarg[0] = p->pid; /* int */
1225 iarg[1] = p->pgid; /* int */
1231 struct getpgid_args *p = params;
1232 iarg[0] = p->pid; /* int */
1238 struct linux_getsid_args *p = params;
1239 iarg[0] = p->pid; /* l_pid_t */
1248 /* linux_getgroups */
1250 struct linux_getgroups_args *p = params;
1251 iarg[0] = p->gidsetsize; /* l_int */
1252 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1256 /* linux_setgroups */
1258 struct linux_setgroups_args *p = params;
1259 iarg[0] = p->gidsetsize; /* l_int */
1260 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1264 /* linux_newuname */
1266 struct linux_newuname_args *p = params;
1267 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
1271 /* linux_sethostname */
1273 struct linux_sethostname_args *p = params;
1274 uarg[0] = (intptr_t) p->hostname; /* char * */
1275 iarg[1] = p->len; /* l_uint */
1279 /* linux_setdomainname */
1281 struct linux_setdomainname_args *p = params;
1282 uarg[0] = (intptr_t) p->name; /* char * */
1283 iarg[1] = p->len; /* l_int */
1287 /* linux_getrlimit */
1289 struct linux_getrlimit_args *p = params;
1290 iarg[0] = p->resource; /* l_uint */
1291 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1295 /* linux_setrlimit */
1297 struct linux_setrlimit_args *p = params;
1298 iarg[0] = p->resource; /* l_uint */
1299 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1305 struct getrusage_args *p = params;
1306 iarg[0] = p->who; /* int */
1307 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
1313 struct umask_args *p = params;
1314 iarg[0] = p->newmask; /* int */
1320 struct linux_prctl_args *p = params;
1321 iarg[0] = p->option; /* l_int */
1322 iarg[1] = p->arg2; /* l_uintptr_t */
1323 iarg[2] = p->arg3; /* l_uintptr_t */
1324 iarg[3] = p->arg4; /* l_uintptr_t */
1325 iarg[4] = p->arg5; /* l_uintptr_t */
1331 struct linux_getcpu_args *p = params;
1332 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
1333 uarg[1] = (intptr_t) p->node; /* l_uint * */
1334 uarg[2] = (intptr_t) p->cache; /* void * */
1340 struct gettimeofday_args *p = params;
1341 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
1342 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1348 struct settimeofday_args *p = params;
1349 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */
1350 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1354 /* linux_adjtimex */
1396 struct linux_sysinfo_args *p = params;
1397 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
1403 struct linux_mq_open_args *p = params;
1404 uarg[0] = (intptr_t) p->name; /* const char * */
1405 iarg[1] = p->oflag; /* l_int */
1406 iarg[2] = p->mode; /* l_mode_t */
1407 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1411 /* linux_mq_unlink */
1413 struct linux_mq_unlink_args *p = params;
1414 uarg[0] = (intptr_t) p->name; /* const char * */
1418 /* linux_mq_timedsend */
1420 struct linux_mq_timedsend_args *p = params;
1421 iarg[0] = p->mqd; /* l_mqd_t */
1422 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1423 iarg[2] = p->msg_len; /* l_size_t */
1424 iarg[3] = p->msg_prio; /* l_uint */
1425 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1429 /* linux_mq_timedreceive */
1431 struct linux_mq_timedreceive_args *p = params;
1432 iarg[0] = p->mqd; /* l_mqd_t */
1433 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1434 iarg[2] = p->msg_len; /* l_size_t */
1435 uarg[3] = (intptr_t) p->msg_prio; /* l_uint * */
1436 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1440 /* linux_mq_notify */
1442 struct linux_mq_notify_args *p = params;
1443 iarg[0] = p->mqd; /* l_mqd_t */
1444 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1448 /* linux_mq_getsetattr */
1450 struct linux_mq_getsetattr_args *p = params;
1451 iarg[0] = p->mqd; /* l_mqd_t */
1452 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1453 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1459 struct linux_msgget_args *p = params;
1460 iarg[0] = p->key; /* l_key_t */
1461 iarg[1] = p->msgflg; /* l_int */
1467 struct linux_msgctl_args *p = params;
1468 iarg[0] = p->msqid; /* l_int */
1469 iarg[1] = p->cmd; /* l_int */
1470 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
1476 struct linux_msgrcv_args *p = params;
1477 iarg[0] = p->msqid; /* l_int */
1478 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1479 iarg[2] = p->msgsz; /* l_size_t */
1480 iarg[3] = p->msgtyp; /* l_long */
1481 iarg[4] = p->msgflg; /* l_int */
1487 struct linux_msgsnd_args *p = params;
1488 iarg[0] = p->msqid; /* l_int */
1489 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1490 iarg[2] = p->msgsz; /* l_size_t */
1491 iarg[3] = p->msgflg; /* l_int */
1497 struct linux_semget_args *p = params;
1498 iarg[0] = p->key; /* l_key_t */
1499 iarg[1] = p->nsems; /* l_int */
1500 iarg[2] = p->semflg; /* l_int */
1506 struct linux_semctl_args *p = params;
1507 iarg[0] = p->semid; /* l_int */
1508 iarg[1] = p->semnum; /* l_int */
1509 iarg[2] = p->cmd; /* l_int */
1510 uarg[3] = p->arg.buf; /* union l_semun */
1514 /* linux_semtimedop */
1521 struct linux_semop_args *p = params;
1522 iarg[0] = p->semid; /* l_int */
1523 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */
1524 iarg[2] = p->nsops; /* l_uint */
1530 struct linux_shmget_args *p = params;
1531 iarg[0] = p->key; /* l_key_t */
1532 iarg[1] = p->size; /* l_size_t */
1533 iarg[2] = p->shmflg; /* l_int */
1539 struct linux_shmctl_args *p = params;
1540 iarg[0] = p->shmid; /* l_int */
1541 iarg[1] = p->cmd; /* l_int */
1542 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
1548 struct linux_shmat_args *p = params;
1549 iarg[0] = p->shmid; /* l_int */
1550 uarg[1] = (intptr_t) p->shmaddr; /* char * */
1551 iarg[2] = p->shmflg; /* l_int */
1557 struct linux_shmdt_args *p = params;
1558 uarg[0] = (intptr_t) p->shmaddr; /* char * */
1564 struct linux_socket_args *p = params;
1565 iarg[0] = p->domain; /* l_int */
1566 iarg[1] = p->type; /* l_int */
1567 iarg[2] = p->protocol; /* l_int */
1571 /* linux_socketpair */
1573 struct linux_socketpair_args *p = params;
1574 iarg[0] = p->domain; /* l_int */
1575 iarg[1] = p->type; /* l_int */
1576 iarg[2] = p->protocol; /* l_int */
1577 iarg[3] = p->rsv; /* l_uintptr_t */
1583 struct linux_bind_args *p = params;
1584 iarg[0] = p->s; /* l_int */
1585 iarg[1] = p->name; /* l_uintptr_t */
1586 iarg[2] = p->namelen; /* l_int */
1592 struct linux_listen_args *p = params;
1593 iarg[0] = p->s; /* l_int */
1594 iarg[1] = p->backlog; /* l_int */
1600 struct linux_accept_args *p = params;
1601 iarg[0] = p->s; /* l_int */
1602 iarg[1] = p->addr; /* l_uintptr_t */
1603 iarg[2] = p->namelen; /* l_uintptr_t */
1609 struct linux_connect_args *p = params;
1610 iarg[0] = p->s; /* l_int */
1611 iarg[1] = p->name; /* l_uintptr_t */
1612 iarg[2] = p->namelen; /* l_int */
1616 /* linux_getsockname */
1618 struct linux_getsockname_args *p = params;
1619 iarg[0] = p->s; /* l_int */
1620 iarg[1] = p->addr; /* l_uintptr_t */
1621 iarg[2] = p->namelen; /* l_uintptr_t */
1625 /* linux_getpeername */
1627 struct linux_getpeername_args *p = params;
1628 iarg[0] = p->s; /* l_int */
1629 iarg[1] = p->addr; /* l_uintptr_t */
1630 iarg[2] = p->namelen; /* l_uintptr_t */
1636 struct linux_sendto_args *p = params;
1637 iarg[0] = p->s; /* l_int */
1638 iarg[1] = p->msg; /* l_uintptr_t */
1639 iarg[2] = p->len; /* l_size_t */
1640 iarg[3] = p->flags; /* l_uint */
1641 iarg[4] = p->to; /* l_uintptr_t */
1642 iarg[5] = p->tolen; /* l_int */
1646 /* linux_recvfrom */
1648 struct linux_recvfrom_args *p = params;
1649 iarg[0] = p->s; /* l_int */
1650 iarg[1] = p->buf; /* l_uintptr_t */
1651 iarg[2] = p->len; /* l_size_t */
1652 iarg[3] = p->flags; /* l_uint */
1653 iarg[4] = p->from; /* l_uintptr_t */
1654 iarg[5] = p->fromlen; /* l_uintptr_t */
1658 /* linux_setsockopt */
1660 struct linux_setsockopt_args *p = params;
1661 iarg[0] = p->s; /* l_int */
1662 iarg[1] = p->level; /* l_int */
1663 iarg[2] = p->optname; /* l_int */
1664 iarg[3] = p->optval; /* l_uintptr_t */
1665 iarg[4] = p->optlen; /* l_int */
1669 /* linux_getsockopt */
1671 struct linux_getsockopt_args *p = params;
1672 iarg[0] = p->s; /* l_int */
1673 iarg[1] = p->level; /* l_int */
1674 iarg[2] = p->optname; /* l_int */
1675 iarg[3] = p->optval; /* l_uintptr_t */
1676 iarg[4] = p->optlen; /* l_uintptr_t */
1680 /* linux_shutdown */
1682 struct linux_shutdown_args *p = params;
1683 iarg[0] = p->s; /* l_int */
1684 iarg[1] = p->how; /* l_int */
1690 struct linux_sendmsg_args *p = params;
1691 iarg[0] = p->s; /* l_int */
1692 iarg[1] = p->msg; /* l_uintptr_t */
1693 iarg[2] = p->flags; /* l_uint */
1699 struct linux_recvmsg_args *p = params;
1700 iarg[0] = p->s; /* l_int */
1701 iarg[1] = p->msg; /* l_uintptr_t */
1702 iarg[2] = p->flags; /* l_uint */
1708 struct linux_brk_args *p = params;
1709 iarg[0] = p->dsend; /* l_ulong */
1715 struct munmap_args *p = params;
1716 uarg[0] = (intptr_t) p->addr; /* void * */
1717 iarg[1] = p->len; /* l_size_t */
1723 struct linux_mremap_args *p = params;
1724 iarg[0] = p->addr; /* l_ulong */
1725 iarg[1] = p->old_len; /* l_ulong */
1726 iarg[2] = p->new_len; /* l_ulong */
1727 iarg[3] = p->flags; /* l_ulong */
1728 iarg[4] = p->new_addr; /* l_ulong */
1737 /* linux_request_key */
1749 struct linux_clone_args *p = params;
1750 iarg[0] = p->flags; /* l_ulong */
1751 uarg[1] = (intptr_t) p->stack; /* void * */
1752 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
1753 uarg[3] = (intptr_t) p->tls; /* void * */
1754 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
1760 struct linux_execve_args *p = params;
1761 uarg[0] = (intptr_t) p->path; /* char * */
1762 uarg[1] = (intptr_t) p->argp; /* char ** */
1763 uarg[2] = (intptr_t) p->envp; /* char ** */
1769 struct linux_mmap2_args *p = params;
1770 iarg[0] = p->addr; /* l_ulong */
1771 iarg[1] = p->len; /* l_ulong */
1772 iarg[2] = p->prot; /* l_ulong */
1773 iarg[3] = p->flags; /* l_ulong */
1774 iarg[4] = p->fd; /* l_ulong */
1775 iarg[5] = p->pgoff; /* l_ulong */
1779 /* linux_fadvise64 */
1781 struct linux_fadvise64_args *p = params;
1782 iarg[0] = p->fd; /* l_int */
1783 iarg[1] = p->offset; /* l_loff_t */
1784 iarg[2] = p->len; /* l_size_t */
1785 iarg[3] = p->advice; /* l_int */
1791 struct swapon_args *p = params;
1792 uarg[0] = (intptr_t) p->name; /* char * */
1801 /* linux_mprotect */
1803 struct linux_mprotect_args *p = params;
1804 iarg[0] = p->addr; /* l_ulong */
1805 iarg[1] = p->len; /* l_size_t */
1806 iarg[2] = p->prot; /* l_ulong */
1812 struct linux_msync_args *p = params;
1813 iarg[0] = p->addr; /* l_ulong */
1814 iarg[1] = p->len; /* l_size_t */
1815 iarg[2] = p->fl; /* l_int */
1821 struct mlock_args *p = params;
1822 uarg[0] = (intptr_t) p->addr; /* const void * */
1823 uarg[1] = p->len; /* size_t */
1829 struct munlock_args *p = params;
1830 uarg[0] = (intptr_t) p->addr; /* const void * */
1831 uarg[1] = p->len; /* size_t */
1837 struct mlockall_args *p = params;
1838 iarg[0] = p->how; /* int */
1849 struct linux_mincore_args *p = params;
1850 iarg[0] = p->start; /* l_ulong */
1851 iarg[1] = p->len; /* l_size_t */
1852 uarg[2] = (intptr_t) p->vec; /* u_char * */
1858 struct linux_madvise_args *p = params;
1859 iarg[0] = p->addr; /* l_ulong */
1860 iarg[1] = p->len; /* l_size_t */
1861 iarg[2] = p->behav; /* l_int */
1865 /* linux_remap_file_pages */
1875 /* linux_get_mempolicy */
1880 /* linux_set_mempolicy */
1885 /* linux_migrate_pages */
1890 /* linux_move_pages */
1895 /* linux_rt_tgsigqueueinfo */
1897 struct linux_rt_tgsigqueueinfo_args *p = params;
1898 iarg[0] = p->tgid; /* l_pid_t */
1899 iarg[1] = p->tid; /* l_pid_t */
1900 iarg[2] = p->sig; /* l_int */
1901 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
1905 /* linux_perf_event_open */
1912 struct linux_accept4_args *p = params;
1913 iarg[0] = p->s; /* l_int */
1914 iarg[1] = p->addr; /* l_uintptr_t */
1915 iarg[2] = p->namelen; /* l_uintptr_t */
1916 iarg[3] = p->flags; /* l_int */
1920 /* linux_recvmmsg */
1922 struct linux_recvmmsg_args *p = params;
1923 iarg[0] = p->s; /* l_int */
1924 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
1925 iarg[2] = p->vlen; /* l_uint */
1926 iarg[3] = p->flags; /* l_uint */
1927 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
1933 struct linux_wait4_args *p = params;
1934 iarg[0] = p->pid; /* l_pid_t */
1935 uarg[1] = (intptr_t) p->status; /* l_int * */
1936 iarg[2] = p->options; /* l_int */
1937 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
1941 /* linux_prlimit64 */
1943 struct linux_prlimit64_args *p = params;
1944 iarg[0] = p->pid; /* l_pid_t */
1945 iarg[1] = p->resource; /* l_uint */
1946 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
1947 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
1951 /* linux_fanotify_init */
1956 /* linux_fanotify_mark */
1961 /* linux_name_to_handle_at */
1963 struct linux_name_to_handle_at_args *p = params;
1964 iarg[0] = p->dirfd; /* l_int */
1965 uarg[1] = (intptr_t) p->name; /* const char * */
1966 uarg[2] = (intptr_t) p->handle; /* struct l_file_handle * */
1967 uarg[3] = (intptr_t) p->mnt_id; /* l_int * */
1968 iarg[4] = p->flags; /* l_int */
1972 /* linux_open_by_handle_at */
1974 struct linux_open_by_handle_at_args *p = params;
1975 iarg[0] = p->mountdirfd; /* l_int */
1976 uarg[1] = (intptr_t) p->handle; /* struct l_file_handle * */
1977 iarg[2] = p->flags; /* l_int */
1981 /* linux_clock_adjtime */
1988 struct linux_syncfs_args *p = params;
1989 iarg[0] = p->fd; /* l_int */
1995 struct linux_setns_args *p = params;
1996 iarg[0] = p->fd; /* l_int */
1997 iarg[1] = p->nstype; /* l_int */
2001 /* linux_sendmmsg */
2003 struct linux_sendmmsg_args *p = params;
2004 iarg[0] = p->s; /* l_int */
2005 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2006 iarg[2] = p->vlen; /* l_uint */
2007 iarg[3] = p->flags; /* l_uint */
2011 /* linux_process_vm_readv */
2013 struct linux_process_vm_readv_args *p = params;
2014 iarg[0] = p->pid; /* l_pid_t */
2015 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2016 iarg[2] = p->liovcnt; /* l_ulong */
2017 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2018 iarg[4] = p->riovcnt; /* l_ulong */
2019 iarg[5] = p->flags; /* l_ulong */
2023 /* linux_process_vm_writev */
2025 struct linux_process_vm_writev_args *p = params;
2026 iarg[0] = p->pid; /* l_pid_t */
2027 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2028 iarg[2] = p->liovcnt; /* l_ulong */
2029 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2030 iarg[4] = p->riovcnt; /* l_ulong */
2031 iarg[5] = p->flags; /* l_ulong */
2037 struct linux_kcmp_args *p = params;
2038 iarg[0] = p->pid1; /* l_pid_t */
2039 iarg[1] = p->pid2; /* l_pid_t */
2040 iarg[2] = p->type; /* l_int */
2041 iarg[3] = p->idx1; /* l_ulong */
2042 iarg[4] = p->idx; /* l_ulong */
2046 /* linux_finit_module */
2048 struct linux_finit_module_args *p = params;
2049 iarg[0] = p->fd; /* l_int */
2050 uarg[1] = (intptr_t) p->uargs; /* const char * */
2051 iarg[2] = p->flags; /* l_int */
2055 /* linux_sched_setattr */
2057 struct linux_sched_setattr_args *p = params;
2058 iarg[0] = p->pid; /* l_pid_t */
2059 uarg[1] = (intptr_t) p->attr; /* void * */
2060 iarg[2] = p->flags; /* l_uint */
2064 /* linux_sched_getattr */
2066 struct linux_sched_getattr_args *p = params;
2067 iarg[0] = p->pid; /* l_pid_t */
2068 uarg[1] = (intptr_t) p->attr; /* void * */
2069 iarg[2] = p->size; /* l_uint */
2070 iarg[3] = p->flags; /* l_uint */
2074 /* linux_renameat2 */
2076 struct linux_renameat2_args *p = params;
2077 iarg[0] = p->olddfd; /* l_int */
2078 uarg[1] = (intptr_t) p->oldname; /* const char * */
2079 iarg[2] = p->newdfd; /* l_int */
2080 uarg[3] = (intptr_t) p->newname; /* const char * */
2081 iarg[4] = p->flags; /* l_uint */
2087 struct linux_seccomp_args *p = params;
2088 iarg[0] = p->op; /* l_uint */
2089 iarg[1] = p->flags; /* l_uint */
2090 uarg[2] = (intptr_t) p->uargs; /* const char * */
2094 /* linux_getrandom */
2096 struct linux_getrandom_args *p = params;
2097 uarg[0] = (intptr_t) p->buf; /* char * */
2098 iarg[1] = p->count; /* l_size_t */
2099 iarg[2] = p->flags; /* l_uint */
2103 /* linux_memfd_create */
2105 struct linux_memfd_create_args *p = params;
2106 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2107 iarg[1] = p->flags; /* l_uint */
2113 struct linux_bpf_args *p = params;
2114 iarg[0] = p->cmd; /* l_int */
2115 uarg[1] = (intptr_t) p->attr; /* void * */
2116 iarg[2] = p->size; /* l_uint */
2120 /* linux_execveat */
2122 struct linux_execveat_args *p = params;
2123 iarg[0] = p->dfd; /* l_int */
2124 uarg[1] = (intptr_t) p->filename; /* const char * */
2125 uarg[2] = (intptr_t) p->argv; /* const char ** */
2126 uarg[3] = (intptr_t) p->envp; /* const char ** */
2127 iarg[4] = p->flags; /* l_int */
2131 /* linux_userfaultfd */
2133 struct linux_userfaultfd_args *p = params;
2134 iarg[0] = p->flags; /* l_int */
2138 /* linux_membarrier */
2140 struct linux_membarrier_args *p = params;
2141 iarg[0] = p->cmd; /* l_int */
2142 iarg[1] = p->flags; /* l_int */
2148 struct linux_mlock2_args *p = params;
2149 iarg[0] = p->start; /* l_ulong */
2150 iarg[1] = p->len; /* l_size_t */
2151 iarg[2] = p->flags; /* l_int */
2155 /* linux_copy_file_range */
2157 struct linux_copy_file_range_args *p = params;
2158 iarg[0] = p->fd_in; /* l_int */
2159 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2160 iarg[2] = p->fd_out; /* l_int */
2161 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2162 iarg[4] = p->len; /* l_size_t */
2163 iarg[5] = p->flags; /* l_uint */
2169 struct linux_preadv2_args *p = params;
2170 iarg[0] = p->fd; /* l_ulong */
2171 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2172 iarg[2] = p->vlen; /* l_ulong */
2173 iarg[3] = p->pos_l; /* l_ulong */
2174 iarg[4] = p->pos_h; /* l_ulong */
2175 iarg[5] = p->flags; /* l_int */
2179 /* linux_pwritev2 */
2181 struct linux_pwritev2_args *p = params;
2182 iarg[0] = p->fd; /* l_ulong */
2183 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2184 iarg[2] = p->vlen; /* l_ulong */
2185 iarg[3] = p->pos_l; /* l_ulong */
2186 iarg[4] = p->pos_h; /* l_ulong */
2187 iarg[5] = p->flags; /* l_int */
2191 /* linux_pkey_mprotect */
2193 struct linux_pkey_mprotect_args *p = params;
2194 iarg[0] = p->start; /* l_ulong */
2195 iarg[1] = p->len; /* l_size_t */
2196 iarg[2] = p->prot; /* l_ulong */
2197 iarg[3] = p->pkey; /* l_int */
2201 /* linux_pkey_alloc */
2203 struct linux_pkey_alloc_args *p = params;
2204 iarg[0] = p->flags; /* l_ulong */
2205 iarg[1] = p->init_val; /* l_ulong */
2209 /* linux_pkey_free */
2211 struct linux_pkey_free_args *p = params;
2212 iarg[0] = p->pkey; /* l_int */
2222 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2224 const char *p = NULL;
2226 #define nosys linux_nosys
2227 /* linux_setxattr */
2231 p = "userland const char *";
2234 p = "userland const char *";
2237 p = "userland const char *";
2249 /* linux_lsetxattr */
2253 p = "userland const char *";
2256 p = "userland const char *";
2259 p = "userland const char *";
2271 /* linux_fsetxattr */
2278 p = "userland const char *";
2281 p = "userland const char *";
2293 /* linux_getxattr */
2297 p = "userland const char *";
2300 p = "userland const char *";
2303 p = "userland char *";
2312 /* linux_lgetxattr */
2316 p = "userland const char *";
2319 p = "userland const char *";
2322 p = "userland char *";
2331 /* linux_fgetxattr */
2338 p = "userland const char *";
2341 p = "userland char *";
2350 /* linux_listxattr */
2354 p = "userland const char *";
2357 p = "userland const char *";
2366 /* linux_llistxattr */
2370 p = "userland const char *";
2373 p = "userland const char *";
2382 /* linux_flistxattr */
2389 p = "userland const char *";
2398 /* linux_removexattr */
2402 p = "userland const char *";
2405 p = "userland const char *";
2411 /* linux_lremovexattr */
2415 p = "userland const char *";
2418 p = "userland const char *";
2424 /* linux_fremovexattr */
2431 p = "userland const char *";
2441 p = "userland char *";
2450 /* linux_lookup_dcookie */
2453 /* linux_eventfd2 */
2466 /* linux_epoll_create1 */
2476 /* linux_epoll_ctl */
2489 p = "userland struct epoll_event *";
2495 /* linux_epoll_pwait */
2502 p = "userland struct epoll_event *";
2511 p = "userland l_sigset_t *";
2562 /* linux_inotify_init1 */
2572 /* linux_inotify_add_watch */
2575 /* linux_inotify_rm_watch */
2594 /* linux_ioprio_set */
2597 /* linux_ioprio_get */
2620 p = "userland const char *";
2639 p = "userland const char *";
2648 /* linux_unlinkat */
2655 p = "userland const char *";
2664 /* linux_symlinkat */
2668 p = "userland const char *";
2674 p = "userland const char *";
2687 p = "userland const char *";
2693 p = "userland const char *";
2702 /* linux_renameat */
2709 p = "userland const char *";
2715 p = "userland const char *";
2725 p = "userland char *";
2728 p = "userland char *";
2731 p = "userland char *";
2737 p = "userland void *";
2743 /* linux_pivot_root */
2750 p = "userland char *";
2753 p = "userland struct l_statfs_buf *";
2766 p = "userland struct l_statfs_buf *";
2772 /* linux_truncate */
2776 p = "userland char *";
2785 /* linux_ftruncate */
2798 /* linux_fallocate */
2817 /* linux_faccessat */
2824 p = "userland const char *";
2837 p = "userland char *";
2857 p = "userland char *";
2876 /* linux_fchmodat */
2883 p = "userland const char *";
2892 /* linux_fchownat */
2899 p = "userland const char *";
2937 p = "userland const char *";
2966 p = "userland l_int *";
2975 /* linux_getdents64 */
2982 p = "userland void *";
3014 p = "userland char *";
3030 p = "userland char *";
3046 p = "userland struct iovec *";
3062 p = "userland struct iovec *";
3078 p = "userland char *";
3097 p = "userland char *";
3116 p = "userland struct iovec *";
3138 p = "userland struct iovec *";
3153 /* linux_sendfile */
3163 p = "userland l_off_t *";
3172 /* linux_pselect6 */
3179 p = "userland l_fd_set *";
3182 p = "userland l_fd_set *";
3185 p = "userland l_fd_set *";
3188 p = "userland struct l_timespec *";
3191 p = "userland l_uintptr_t *";
3201 p = "userland struct pollfd *";
3207 p = "userland struct l_timespec *";
3210 p = "userland l_sigset_t *";
3219 /* linux_signalfd4 */
3222 /* linux_vmsplice */
3232 p = "userland l_loff_t *";
3238 p = "userland l_loff_t *";
3253 /* linux_readlinkat */
3260 p = "userland const char *";
3263 p = "userland char *";
3272 /* linux_newfstatat */
3279 p = "userland char *";
3282 p = "userland struct l_stat64 *";
3291 /* linux_newfstat */
3298 p = "userland struct l_newstat *";
3314 /* linux_fdatasync */
3324 /* linux_sync_file_range */
3343 /* linux_timerfd_create */
3356 /* linux_timerfd_settime */
3366 p = "userland const struct l_itimerspec *";
3369 p = "userland struct l_itimerspec *";
3375 /* linux_timerfd_gettime */
3382 p = "userland struct l_itimerspec *";
3388 /* linux_utimensat */
3395 p = "userland const char *";
3398 p = "userland const struct l_timespec *";
3411 p = "userland char *";
3421 p = "userland struct l_user_cap_header *";
3424 p = "userland struct l_user_cap_data *";
3434 p = "userland struct l_user_cap_header *";
3437 p = "userland struct l_user_cap_data *";
3443 /* linux_personality */
3463 /* linux_exit_group */
3483 p = "userland l_siginfo_t *";
3489 p = "userland struct rusage *";
3495 /* linux_set_tid_address */
3499 p = "userland l_int *";
3508 /* linux_sys_futex */
3512 p = "userland void *";
3521 p = "userland struct l_timespec *";
3524 p = "userland void *";
3533 /* linux_set_robust_list */
3537 p = "userland struct linux_robust_list_head *";
3546 /* linux_get_robust_list */
3553 p = "userland struct linux_robust_list_head **";
3556 p = "userland l_size_t *";
3562 /* linux_nanosleep */
3566 p = "userland const struct l_timespec *";
3569 p = "userland struct l_timespec *";
3575 /* linux_getitimer */
3582 p = "userland struct l_itimerval *";
3588 /* linux_setitimer */
3595 p = "userland struct l_itimerval *";
3598 p = "userland struct l_itimerval *";
3604 /* linux_kexec_load */
3607 /* linux_init_module */
3610 /* linux_delete_module */
3613 /* linux_timer_create */
3620 p = "userland struct sigevent *";
3623 p = "userland l_timer_t *";
3629 /* linux_timer_gettime */
3636 p = "userland struct itimerspec *";
3642 /* linux_timer_getoverrun */
3652 /* linux_timer_settime */
3662 p = "userland const struct itimerspec *";
3665 p = "userland struct itimerspec *";
3671 /* linux_timer_delete */
3681 /* linux_clock_settime */
3688 p = "userland struct l_timespec *";
3694 /* linux_clock_gettime */
3701 p = "userland struct l_timespec *";
3707 /* linux_clock_getres */
3714 p = "userland struct l_timespec *";
3720 /* linux_clock_nanosleep */
3730 p = "userland struct l_timespec *";
3733 p = "userland struct l_timespec *";
3746 p = "userland char *";
3774 /* linux_sched_setparam */
3781 p = "userland struct sched_param *";
3787 /* linux_sched_setscheduler */
3797 p = "userland struct sched_param *";
3803 /* linux_sched_getscheduler */
3813 /* linux_sched_getparam */
3820 p = "userland struct sched_param *";
3826 /* linux_sched_setaffinity */
3836 p = "userland l_ulong *";
3842 /* linux_sched_getaffinity */
3852 p = "userland l_ulong *";
3861 /* linux_sched_get_priority_max */
3871 /* linux_sched_get_priority_min */
3881 /* linux_sched_rr_get_interval */
3888 p = "userland struct l_timespec *";
3936 /* linux_sigaltstack */
3940 p = "userland l_stack_t *";
3943 p = "userland l_stack_t *";
3949 /* linux_rt_sigsuspend */
3953 p = "userland l_sigset_t *";
3962 /* linux_rt_sigaction */
3969 p = "userland l_sigaction_t *";
3972 p = "userland l_sigaction_t *";
3981 /* linux_rt_sigprocmask */
3988 p = "userland l_sigset_t *";
3991 p = "userland l_sigset_t *";
4000 /* linux_rt_sigpending */
4004 p = "userland l_sigset_t *";
4013 /* linux_rt_sigtimedwait */
4017 p = "userland l_sigset_t *";
4020 p = "userland l_siginfo_t *";
4023 p = "userland struct l_timeval *";
4032 /* linux_rt_sigqueueinfo */
4042 p = "userland l_siginfo_t *";
4048 /* linux_rt_sigreturn */
4052 p = "userland struct l_ucontext *";
4074 /* linux_getpriority */
4100 p = "userland void *";
4172 p = "userland uid_t *";
4175 p = "userland uid_t *";
4178 p = "userland uid_t *";
4204 p = "userland gid_t *";
4207 p = "userland gid_t *";
4210 p = "userland gid_t *";
4216 /* linux_setfsuid */
4226 /* linux_setfsgid */
4240 p = "userland struct l_times_argv *";
4282 /* linux_getgroups */
4289 p = "userland l_gid_t *";
4295 /* linux_setgroups */
4302 p = "userland l_gid_t *";
4308 /* linux_newuname */
4312 p = "userland struct l_new_utsname *";
4318 /* linux_sethostname */
4322 p = "userland char *";
4331 /* linux_setdomainname */
4335 p = "userland char *";
4344 /* linux_getrlimit */
4351 p = "userland struct l_rlimit *";
4357 /* linux_setrlimit */
4364 p = "userland struct l_rlimit *";
4377 p = "userland struct rusage *";
4419 p = "userland l_uint *";
4422 p = "userland l_uint *";
4425 p = "userland void *";
4435 p = "userland struct l_timeval *";
4438 p = "userland struct timezone *";
4448 p = "userland struct l_timeval *";
4451 p = "userland struct timezone *";
4457 /* linux_adjtimex */
4485 p = "userland struct l_sysinfo *";
4495 p = "userland const char *";
4504 p = "userland struct mq_attr *";
4510 /* linux_mq_unlink */
4514 p = "userland const char *";
4520 /* linux_mq_timedsend */
4527 p = "userland const char *";
4536 p = "userland const struct l_timespec *";
4542 /* linux_mq_timedreceive */
4549 p = "userland char *";
4555 p = "userland l_uint *";
4558 p = "userland const struct l_timespec *";
4564 /* linux_mq_notify */
4571 p = "userland const struct l_timespec *";
4577 /* linux_mq_getsetattr */
4584 p = "userland const struct mq_attr *";
4587 p = "userland struct mq_attr *";
4616 p = "userland struct l_msqid_ds *";
4629 p = "userland struct l_msgbuf *";
4651 p = "userland struct l_msgbuf *";
4692 p = "union l_semun";
4698 /* linux_semtimedop */
4708 p = "userland struct l_sembuf *";
4743 p = "userland struct l_shmid_ds *";
4756 p = "userland char *";
4769 p = "userland char *";
4791 /* linux_socketpair */
4871 /* linux_getsockname */
4887 /* linux_getpeername */
4928 /* linux_recvfrom */
4953 /* linux_setsockopt */
4975 /* linux_getsockopt */
4997 /* linux_shutdown */
5056 p = "userland void *";
5090 /* linux_request_key */
5103 p = "userland void *";
5106 p = "userland void *";
5109 p = "userland void *";
5112 p = "userland void *";
5122 p = "userland char *";
5125 p = "userland char **";
5128 p = "userland char **";
5159 /* linux_fadvise64 */
5182 p = "userland char *";
5191 /* linux_mprotect */
5227 p = "userland const void *";
5240 p = "userland const void *";
5272 p = "userland u_char *";
5294 /* linux_remap_file_pages */
5300 /* linux_get_mempolicy */
5303 /* linux_set_mempolicy */
5306 /* linux_migrate_pages */
5309 /* linux_move_pages */
5312 /* linux_rt_tgsigqueueinfo */
5325 p = "userland l_siginfo_t *";
5331 /* linux_perf_event_open */
5353 /* linux_recvmmsg */
5360 p = "userland struct l_mmsghdr *";
5369 p = "userland struct l_timespec *";
5382 p = "userland l_int *";
5388 p = "userland struct rusage *";
5394 /* linux_prlimit64 */
5404 p = "userland struct rlimit *";
5407 p = "userland struct rlimit *";
5413 /* linux_fanotify_init */
5416 /* linux_fanotify_mark */
5419 /* linux_name_to_handle_at */
5426 p = "userland const char *";
5429 p = "userland struct l_file_handle *";
5432 p = "userland l_int *";
5441 /* linux_open_by_handle_at */
5448 p = "userland struct l_file_handle *";
5457 /* linux_clock_adjtime */
5483 /* linux_sendmmsg */
5490 p = "userland struct l_mmsghdr *";
5502 /* linux_process_vm_readv */
5509 p = "userland const struct iovec *";
5515 p = "userland const struct iovec *";
5527 /* linux_process_vm_writev */
5534 p = "userland const struct iovec *";
5540 p = "userland const struct iovec *";
5574 /* linux_finit_module */
5581 p = "userland const char *";
5590 /* linux_sched_setattr */
5597 p = "userland void *";
5606 /* linux_sched_getattr */
5613 p = "userland void *";
5625 /* linux_renameat2 */
5632 p = "userland const char *";
5638 p = "userland const char *";
5657 p = "userland const char *";
5663 /* linux_getrandom */
5667 p = "userland char *";
5679 /* linux_memfd_create */
5683 p = "userland const char *";
5699 p = "userland void *";
5708 /* linux_execveat */
5715 p = "userland const char *";
5718 p = "userland const char **";
5721 p = "userland const char **";
5730 /* linux_userfaultfd */
5740 /* linux_membarrier */
5769 /* linux_copy_file_range */
5776 p = "userland l_loff_t *";
5782 p = "userland l_loff_t *";
5801 p = "userland const struct iovec *";
5819 /* linux_pwritev2 */
5826 p = "userland const struct iovec *";
5844 /* linux_pkey_mprotect */
5863 /* linux_pkey_alloc */
5876 /* linux_pkey_free */
5890 strlcpy(desc, p, descsz);
5893 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5895 const char *p = NULL;
5897 #define nosys linux_nosys
5898 /* linux_setxattr */
5900 if (ndx == 0 || ndx == 1)
5903 /* linux_lsetxattr */
5905 if (ndx == 0 || ndx == 1)
5908 /* linux_fsetxattr */
5910 if (ndx == 0 || ndx == 1)
5913 /* linux_getxattr */
5915 if (ndx == 0 || ndx == 1)
5918 /* linux_lgetxattr */
5920 if (ndx == 0 || ndx == 1)
5923 /* linux_fgetxattr */
5925 if (ndx == 0 || ndx == 1)
5928 /* linux_listxattr */
5930 if (ndx == 0 || ndx == 1)
5933 /* linux_llistxattr */
5935 if (ndx == 0 || ndx == 1)
5938 /* linux_flistxattr */
5940 if (ndx == 0 || ndx == 1)
5943 /* linux_removexattr */
5945 if (ndx == 0 || ndx == 1)
5948 /* linux_lremovexattr */
5950 if (ndx == 0 || ndx == 1)
5953 /* linux_fremovexattr */
5955 if (ndx == 0 || ndx == 1)
5960 if (ndx == 0 || ndx == 1)
5963 /* linux_lookup_dcookie */
5965 /* linux_eventfd2 */
5967 if (ndx == 0 || ndx == 1)
5970 /* linux_epoll_create1 */
5972 if (ndx == 0 || ndx == 1)
5975 /* linux_epoll_ctl */
5977 if (ndx == 0 || ndx == 1)
5980 /* linux_epoll_pwait */
5982 if (ndx == 0 || ndx == 1)
5987 if (ndx == 0 || ndx == 1)
5992 if (ndx == 0 || ndx == 1)
5997 if (ndx == 0 || ndx == 1)
6000 /* linux_inotify_init1 */
6002 if (ndx == 0 || ndx == 1)
6005 /* linux_inotify_add_watch */
6007 /* linux_inotify_rm_watch */
6011 if (ndx == 0 || ndx == 1)
6014 /* linux_ioprio_set */
6016 /* linux_ioprio_get */
6020 if (ndx == 0 || ndx == 1)
6025 if (ndx == 0 || ndx == 1)
6030 if (ndx == 0 || ndx == 1)
6033 /* linux_unlinkat */
6035 if (ndx == 0 || ndx == 1)
6038 /* linux_symlinkat */
6040 if (ndx == 0 || ndx == 1)
6045 if (ndx == 0 || ndx == 1)
6048 /* linux_renameat */
6050 if (ndx == 0 || ndx == 1)
6055 if (ndx == 0 || ndx == 1)
6058 /* linux_pivot_root */
6062 if (ndx == 0 || ndx == 1)
6067 if (ndx == 0 || ndx == 1)
6070 /* linux_truncate */
6072 if (ndx == 0 || ndx == 1)
6075 /* linux_ftruncate */
6077 if (ndx == 0 || ndx == 1)
6080 /* linux_fallocate */
6082 if (ndx == 0 || ndx == 1)
6085 /* linux_faccessat */
6087 if (ndx == 0 || ndx == 1)
6092 if (ndx == 0 || ndx == 1)
6097 if (ndx == 0 || ndx == 1)
6102 if (ndx == 0 || ndx == 1)
6107 if (ndx == 0 || ndx == 1)
6110 /* linux_fchmodat */
6112 if (ndx == 0 || ndx == 1)
6115 /* linux_fchownat */
6117 if (ndx == 0 || ndx == 1)
6122 if (ndx == 0 || ndx == 1)
6127 if (ndx == 0 || ndx == 1)
6132 if (ndx == 0 || ndx == 1)
6139 if (ndx == 0 || ndx == 1)
6142 /* linux_getdents64 */
6144 if (ndx == 0 || ndx == 1)
6149 if (ndx == 0 || ndx == 1)
6154 if (ndx == 0 || ndx == 1)
6159 if (ndx == 0 || ndx == 1)
6164 if (ndx == 0 || ndx == 1)
6169 if (ndx == 0 || ndx == 1)
6174 if (ndx == 0 || ndx == 1)
6179 if (ndx == 0 || ndx == 1)
6184 if (ndx == 0 || ndx == 1)
6189 if (ndx == 0 || ndx == 1)
6192 /* linux_sendfile */
6194 if (ndx == 0 || ndx == 1)
6197 /* linux_pselect6 */
6199 if (ndx == 0 || ndx == 1)
6204 if (ndx == 0 || ndx == 1)
6207 /* linux_signalfd4 */
6209 /* linux_vmsplice */
6213 if (ndx == 0 || ndx == 1)
6218 /* linux_readlinkat */
6220 if (ndx == 0 || ndx == 1)
6223 /* linux_newfstatat */
6225 if (ndx == 0 || ndx == 1)
6228 /* linux_newfstat */
6230 if (ndx == 0 || ndx == 1)
6235 if (ndx == 0 || ndx == 1)
6238 /* linux_fdatasync */
6240 if (ndx == 0 || ndx == 1)
6243 /* linux_sync_file_range */
6245 if (ndx == 0 || ndx == 1)
6248 /* linux_timerfd_create */
6250 if (ndx == 0 || ndx == 1)
6253 /* linux_timerfd_settime */
6255 if (ndx == 0 || ndx == 1)
6258 /* linux_timerfd_gettime */
6260 if (ndx == 0 || ndx == 1)
6263 /* linux_utimensat */
6265 if (ndx == 0 || ndx == 1)
6270 if (ndx == 0 || ndx == 1)
6275 if (ndx == 0 || ndx == 1)
6280 if (ndx == 0 || ndx == 1)
6283 /* linux_personality */
6285 if (ndx == 0 || ndx == 1)
6290 if (ndx == 0 || ndx == 1)
6293 /* linux_exit_group */
6295 if (ndx == 0 || ndx == 1)
6300 if (ndx == 0 || ndx == 1)
6303 /* linux_set_tid_address */
6305 if (ndx == 0 || ndx == 1)
6310 /* linux_sys_futex */
6312 if (ndx == 0 || ndx == 1)
6315 /* linux_set_robust_list */
6317 if (ndx == 0 || ndx == 1)
6320 /* linux_get_robust_list */
6322 if (ndx == 0 || ndx == 1)
6325 /* linux_nanosleep */
6327 if (ndx == 0 || ndx == 1)
6330 /* linux_getitimer */
6332 if (ndx == 0 || ndx == 1)
6335 /* linux_setitimer */
6337 if (ndx == 0 || ndx == 1)
6340 /* linux_kexec_load */
6342 /* linux_init_module */
6344 /* linux_delete_module */
6346 /* linux_timer_create */
6348 if (ndx == 0 || ndx == 1)
6351 /* linux_timer_gettime */
6353 if (ndx == 0 || ndx == 1)
6356 /* linux_timer_getoverrun */
6358 if (ndx == 0 || ndx == 1)
6361 /* linux_timer_settime */
6363 if (ndx == 0 || ndx == 1)
6366 /* linux_timer_delete */
6368 if (ndx == 0 || ndx == 1)
6371 /* linux_clock_settime */
6373 if (ndx == 0 || ndx == 1)
6376 /* linux_clock_gettime */
6378 if (ndx == 0 || ndx == 1)
6381 /* linux_clock_getres */
6383 if (ndx == 0 || ndx == 1)
6386 /* linux_clock_nanosleep */
6388 if (ndx == 0 || ndx == 1)
6393 if (ndx == 0 || ndx == 1)
6398 if (ndx == 0 || ndx == 1)
6401 /* linux_sched_setparam */
6403 if (ndx == 0 || ndx == 1)
6406 /* linux_sched_setscheduler */
6408 if (ndx == 0 || ndx == 1)
6411 /* linux_sched_getscheduler */
6413 if (ndx == 0 || ndx == 1)
6416 /* linux_sched_getparam */
6418 if (ndx == 0 || ndx == 1)
6421 /* linux_sched_setaffinity */
6423 if (ndx == 0 || ndx == 1)
6426 /* linux_sched_getaffinity */
6428 if (ndx == 0 || ndx == 1)
6433 /* linux_sched_get_priority_max */
6435 if (ndx == 0 || ndx == 1)
6438 /* linux_sched_get_priority_min */
6440 if (ndx == 0 || ndx == 1)
6443 /* linux_sched_rr_get_interval */
6445 if (ndx == 0 || ndx == 1)
6450 if (ndx == 0 || ndx == 1)
6455 if (ndx == 0 || ndx == 1)
6460 if (ndx == 0 || ndx == 1)
6463 /* linux_sigaltstack */
6465 if (ndx == 0 || ndx == 1)
6468 /* linux_rt_sigsuspend */
6470 if (ndx == 0 || ndx == 1)
6473 /* linux_rt_sigaction */
6475 if (ndx == 0 || ndx == 1)
6478 /* linux_rt_sigprocmask */
6480 if (ndx == 0 || ndx == 1)
6483 /* linux_rt_sigpending */
6485 if (ndx == 0 || ndx == 1)
6488 /* linux_rt_sigtimedwait */
6490 if (ndx == 0 || ndx == 1)
6493 /* linux_rt_sigqueueinfo */
6495 if (ndx == 0 || ndx == 1)
6498 /* linux_rt_sigreturn */
6500 if (ndx == 0 || ndx == 1)
6505 if (ndx == 0 || ndx == 1)
6508 /* linux_getpriority */
6510 if (ndx == 0 || ndx == 1)
6515 if (ndx == 0 || ndx == 1)
6520 if (ndx == 0 || ndx == 1)
6525 if (ndx == 0 || ndx == 1)
6530 if (ndx == 0 || ndx == 1)
6535 if (ndx == 0 || ndx == 1)
6540 if (ndx == 0 || ndx == 1)
6545 if (ndx == 0 || ndx == 1)
6550 if (ndx == 0 || ndx == 1)
6555 if (ndx == 0 || ndx == 1)
6558 /* linux_setfsuid */
6560 if (ndx == 0 || ndx == 1)
6563 /* linux_setfsgid */
6565 if (ndx == 0 || ndx == 1)
6570 if (ndx == 0 || ndx == 1)
6575 if (ndx == 0 || ndx == 1)
6580 if (ndx == 0 || ndx == 1)
6585 if (ndx == 0 || ndx == 1)
6590 /* linux_getgroups */
6592 if (ndx == 0 || ndx == 1)
6595 /* linux_setgroups */
6597 if (ndx == 0 || ndx == 1)
6600 /* linux_newuname */
6602 if (ndx == 0 || ndx == 1)
6605 /* linux_sethostname */
6607 if (ndx == 0 || ndx == 1)
6610 /* linux_setdomainname */
6612 if (ndx == 0 || ndx == 1)
6615 /* linux_getrlimit */
6617 if (ndx == 0 || ndx == 1)
6620 /* linux_setrlimit */
6622 if (ndx == 0 || ndx == 1)
6627 if (ndx == 0 || ndx == 1)
6632 if (ndx == 0 || ndx == 1)
6637 if (ndx == 0 || ndx == 1)
6642 if (ndx == 0 || ndx == 1)
6647 if (ndx == 0 || ndx == 1)
6652 if (ndx == 0 || ndx == 1)
6655 /* linux_adjtimex */
6673 if (ndx == 0 || ndx == 1)
6678 if (ndx == 0 || ndx == 1)
6681 /* linux_mq_unlink */
6683 if (ndx == 0 || ndx == 1)
6686 /* linux_mq_timedsend */
6688 if (ndx == 0 || ndx == 1)
6691 /* linux_mq_timedreceive */
6693 if (ndx == 0 || ndx == 1)
6696 /* linux_mq_notify */
6698 if (ndx == 0 || ndx == 1)
6701 /* linux_mq_getsetattr */
6703 if (ndx == 0 || ndx == 1)
6708 if (ndx == 0 || ndx == 1)
6713 if (ndx == 0 || ndx == 1)
6718 if (ndx == 0 || ndx == 1)
6723 if (ndx == 0 || ndx == 1)
6728 if (ndx == 0 || ndx == 1)
6733 if (ndx == 0 || ndx == 1)
6736 /* linux_semtimedop */
6740 if (ndx == 0 || ndx == 1)
6745 if (ndx == 0 || ndx == 1)
6750 if (ndx == 0 || ndx == 1)
6755 if (ndx == 0 || ndx == 1)
6760 if (ndx == 0 || ndx == 1)
6765 if (ndx == 0 || ndx == 1)
6768 /* linux_socketpair */
6770 if (ndx == 0 || ndx == 1)
6775 if (ndx == 0 || ndx == 1)
6780 if (ndx == 0 || ndx == 1)
6785 if (ndx == 0 || ndx == 1)
6790 if (ndx == 0 || ndx == 1)
6793 /* linux_getsockname */
6795 if (ndx == 0 || ndx == 1)
6798 /* linux_getpeername */
6800 if (ndx == 0 || ndx == 1)
6805 if (ndx == 0 || ndx == 1)
6808 /* linux_recvfrom */
6810 if (ndx == 0 || ndx == 1)
6813 /* linux_setsockopt */
6815 if (ndx == 0 || ndx == 1)
6818 /* linux_getsockopt */
6820 if (ndx == 0 || ndx == 1)
6823 /* linux_shutdown */
6825 if (ndx == 0 || ndx == 1)
6830 if (ndx == 0 || ndx == 1)
6835 if (ndx == 0 || ndx == 1)
6840 if (ndx == 0 || ndx == 1)
6845 if (ndx == 0 || ndx == 1)
6850 if (ndx == 0 || ndx == 1)
6855 /* linux_request_key */
6861 if (ndx == 0 || ndx == 1)
6866 if (ndx == 0 || ndx == 1)
6871 if (ndx == 0 || ndx == 1)
6874 /* linux_fadvise64 */
6876 if (ndx == 0 || ndx == 1)
6881 if (ndx == 0 || ndx == 1)
6886 /* linux_mprotect */
6888 if (ndx == 0 || ndx == 1)
6893 if (ndx == 0 || ndx == 1)
6898 if (ndx == 0 || ndx == 1)
6903 if (ndx == 0 || ndx == 1)
6908 if (ndx == 0 || ndx == 1)
6915 if (ndx == 0 || ndx == 1)
6920 if (ndx == 0 || ndx == 1)
6923 /* linux_remap_file_pages */
6927 /* linux_get_mempolicy */
6929 /* linux_set_mempolicy */
6931 /* linux_migrate_pages */
6933 /* linux_move_pages */
6935 /* linux_rt_tgsigqueueinfo */
6937 if (ndx == 0 || ndx == 1)
6940 /* linux_perf_event_open */
6944 if (ndx == 0 || ndx == 1)
6947 /* linux_recvmmsg */
6949 if (ndx == 0 || ndx == 1)
6954 if (ndx == 0 || ndx == 1)
6957 /* linux_prlimit64 */
6959 if (ndx == 0 || ndx == 1)
6962 /* linux_fanotify_init */
6964 /* linux_fanotify_mark */
6966 /* linux_name_to_handle_at */
6968 if (ndx == 0 || ndx == 1)
6971 /* linux_open_by_handle_at */
6973 if (ndx == 0 || ndx == 1)
6976 /* linux_clock_adjtime */
6980 if (ndx == 0 || ndx == 1)
6985 if (ndx == 0 || ndx == 1)
6988 /* linux_sendmmsg */
6990 if (ndx == 0 || ndx == 1)
6993 /* linux_process_vm_readv */
6995 if (ndx == 0 || ndx == 1)
6998 /* linux_process_vm_writev */
7000 if (ndx == 0 || ndx == 1)
7005 if (ndx == 0 || ndx == 1)
7008 /* linux_finit_module */
7010 if (ndx == 0 || ndx == 1)
7013 /* linux_sched_setattr */
7015 if (ndx == 0 || ndx == 1)
7018 /* linux_sched_getattr */
7020 if (ndx == 0 || ndx == 1)
7023 /* linux_renameat2 */
7025 if (ndx == 0 || ndx == 1)
7030 if (ndx == 0 || ndx == 1)
7033 /* linux_getrandom */
7035 if (ndx == 0 || ndx == 1)
7038 /* linux_memfd_create */
7040 if (ndx == 0 || ndx == 1)
7045 if (ndx == 0 || ndx == 1)
7048 /* linux_execveat */
7050 if (ndx == 0 || ndx == 1)
7053 /* linux_userfaultfd */
7055 if (ndx == 0 || ndx == 1)
7058 /* linux_membarrier */
7060 if (ndx == 0 || ndx == 1)
7065 if (ndx == 0 || ndx == 1)
7068 /* linux_copy_file_range */
7070 if (ndx == 0 || ndx == 1)
7075 if (ndx == 0 || ndx == 1)
7078 /* linux_pwritev2 */
7080 if (ndx == 0 || ndx == 1)
7083 /* linux_pkey_mprotect */
7085 if (ndx == 0 || ndx == 1)
7088 /* linux_pkey_alloc */
7090 if (ndx == 0 || ndx == 1)
7093 /* linux_pkey_free */
7095 if (ndx == 0 || ndx == 1)
7102 strlcpy(desc, p, descsz);