2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically @generated.
5 * This file is part of the DTrace syscall provider.
9 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
11 int64_t *iarg = (int64_t *)uarg;
13 #define nosys linux_nosys
16 struct linux_exit_args *p = params;
17 iarg[0] = p->rval; /* int */
28 struct read_args *p = params;
29 iarg[0] = p->fd; /* int */
30 uarg[1] = (intptr_t)p->buf; /* char * */
31 uarg[2] = p->nbyte; /* u_int */
37 struct write_args *p = params;
38 iarg[0] = p->fd; /* int */
39 uarg[1] = (intptr_t)p->buf; /* char * */
40 uarg[2] = p->nbyte; /* u_int */
46 struct linux_open_args *p = params;
47 uarg[0] = (intptr_t)p->path; /* char * */
48 iarg[1] = p->flags; /* l_int */
49 iarg[2] = p->mode; /* l_int */
55 struct close_args *p = params;
56 iarg[0] = p->fd; /* int */
62 struct linux_creat_args *p = params;
63 uarg[0] = (intptr_t)p->path; /* char * */
64 iarg[1] = p->mode; /* l_int */
70 struct linux_link_args *p = params;
71 uarg[0] = (intptr_t)p->path; /* char * */
72 uarg[1] = (intptr_t)p->to; /* char * */
78 struct linux_unlink_args *p = params;
79 uarg[0] = (intptr_t)p->path; /* char * */
85 struct linux_execve_args *p = params;
86 uarg[0] = (intptr_t)p->path; /* char * */
87 uarg[1] = (intptr_t)p->argp; /* char ** */
88 uarg[2] = (intptr_t)p->envp; /* char ** */
94 struct linux_chdir_args *p = params;
95 uarg[0] = (intptr_t)p->path; /* char * */
101 struct linux_mknod_args *p = params;
102 uarg[0] = (intptr_t)p->path; /* char * */
103 iarg[1] = p->mode; /* l_int */
104 iarg[2] = p->dev; /* l_dev_t */
110 struct linux_chmod_args *p = params;
111 uarg[0] = (intptr_t)p->path; /* char * */
112 iarg[1] = p->mode; /* l_mode_t */
118 struct linux_lchown16_args *p = params;
119 uarg[0] = (intptr_t)p->path; /* char * */
120 iarg[1] = p->uid; /* l_uid16_t */
121 iarg[2] = p->gid; /* l_gid16_t */
127 struct linux_lseek_args *p = params;
128 iarg[0] = p->fdes; /* l_uint */
129 iarg[1] = p->off; /* l_off_t */
130 iarg[2] = p->whence; /* l_int */
141 struct linux_mount_args *p = params;
142 uarg[0] = (intptr_t)p->specialfile; /* char * */
143 uarg[1] = (intptr_t)p->dir; /* char * */
144 uarg[2] = (intptr_t)p->filesystemtype; /* char * */
145 iarg[3] = p->rwflag; /* l_ulong */
146 uarg[4] = (intptr_t)p->data; /* void * */
152 struct linux_setuid16_args *p = params;
153 iarg[0] = p->uid; /* l_uid16_t */
169 struct linux_access_args *p = params;
170 uarg[0] = (intptr_t)p->path; /* char * */
171 iarg[1] = p->amode; /* l_int */
177 struct linux_nice_args *p = params;
178 iarg[0] = p->inc; /* l_int */
189 struct linux_kill_args *p = params;
190 iarg[0] = p->pid; /* l_int */
191 iarg[1] = p->signum; /* l_int */
197 struct linux_rename_args *p = params;
198 uarg[0] = (intptr_t)p->from; /* char * */
199 uarg[1] = (intptr_t)p->to; /* char * */
205 struct linux_mkdir_args *p = params;
206 uarg[0] = (intptr_t)p->path; /* char * */
207 iarg[1] = p->mode; /* l_int */
213 struct linux_rmdir_args *p = params;
214 uarg[0] = (intptr_t)p->path; /* char * */
220 struct dup_args *p = params;
221 uarg[0] = p->fd; /* u_int */
227 struct linux_pipe_args *p = params;
228 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
234 struct linux_times_args *p = params;
235 uarg[0] = (intptr_t)p->buf; /* struct l_times_argv * */
241 struct linux_brk_args *p = params;
242 iarg[0] = p->dsend; /* l_ulong */
248 struct linux_setgid16_args *p = params;
249 iarg[0] = p->gid; /* l_gid16_t */
258 /* linux_geteuid16 */
263 /* linux_getegid16 */
270 struct acct_args *p = params;
271 uarg[0] = (intptr_t)p->path; /* char * */
277 struct linux_umount_args *p = params;
278 uarg[0] = (intptr_t)p->path; /* char * */
279 iarg[1] = p->flags; /* l_int */
285 struct linux_ioctl_args *p = params;
286 iarg[0] = p->fd; /* l_uint */
287 iarg[1] = p->cmd; /* l_uint */
288 iarg[2] = p->arg; /* l_ulong */
294 struct linux_fcntl_args *p = params;
295 iarg[0] = p->fd; /* l_uint */
296 iarg[1] = p->cmd; /* l_uint */
297 iarg[2] = p->arg; /* l_ulong */
303 struct setpgid_args *p = params;
304 iarg[0] = p->pid; /* int */
305 iarg[1] = p->pgid; /* int */
311 struct umask_args *p = params;
312 iarg[0] = p->newmask; /* int */
318 struct chroot_args *p = params;
319 uarg[0] = (intptr_t)p->path; /* char * */
325 struct linux_ustat_args *p = params;
326 iarg[0] = p->dev; /* l_dev_t */
327 uarg[1] = (intptr_t)p->ubuf; /* struct l_ustat * */
333 struct dup2_args *p = params;
334 uarg[0] = p->from; /* u_int */
335 uarg[1] = p->to; /* u_int */
354 /* linux_sigaction */
356 struct linux_sigaction_args *p = params;
357 iarg[0] = p->sig; /* l_int */
358 uarg[1] = (intptr_t)p->nsa; /* l_osigaction_t * */
359 uarg[2] = (intptr_t)p->osa; /* l_osigaction_t * */
363 /* linux_setreuid16 */
365 struct linux_setreuid16_args *p = params;
366 iarg[0] = p->ruid; /* l_uid16_t */
367 iarg[1] = p->euid; /* l_uid16_t */
371 /* linux_setregid16 */
373 struct linux_setregid16_args *p = params;
374 iarg[0] = p->rgid; /* l_gid16_t */
375 iarg[1] = p->egid; /* l_gid16_t */
379 /* linux_sigsuspend */
381 struct linux_sigsuspend_args *p = params;
382 iarg[0] = p->hist0; /* l_int */
383 iarg[1] = p->hist1; /* l_int */
384 iarg[2] = p->mask; /* l_osigset_t */
388 /* linux_sigpending */
390 struct linux_sigpending_args *p = params;
391 uarg[0] = (intptr_t)p->mask; /* l_osigset_t * */
395 /* linux_sethostname */
397 struct linux_sethostname_args *p = params;
398 uarg[0] = (intptr_t)p->hostname; /* char * */
399 uarg[1] = p->len; /* u_int */
403 /* linux_setrlimit */
405 struct linux_setrlimit_args *p = params;
406 iarg[0] = p->resource; /* l_uint */
407 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
413 struct getrusage_args *p = params;
414 iarg[0] = p->who; /* int */
415 uarg[1] = (intptr_t)p->rusage; /* struct rusage * */
419 /* linux_gettimeofday */
421 struct linux_gettimeofday_args *p = params;
422 uarg[0] = (intptr_t)p->tp; /* struct timeval32 * */
423 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
427 /* linux_settimeofday */
429 struct linux_settimeofday_args *p = params;
430 uarg[0] = (intptr_t)p->tp; /* struct timeval32 * */
431 uarg[1] = (intptr_t)p->tzp; /* struct timezone * */
435 /* linux_getgroups16 */
437 struct linux_getgroups16_args *p = params;
438 iarg[0] = p->gidsetsize; /* l_uint */
439 uarg[1] = (intptr_t)p->gidset; /* l_gid16_t * */
443 /* linux_setgroups16 */
445 struct linux_setgroups16_args *p = params;
446 iarg[0] = p->gidsetsize; /* l_uint */
447 uarg[1] = (intptr_t)p->gidset; /* l_gid16_t * */
453 struct linux_symlink_args *p = params;
454 uarg[0] = (intptr_t)p->path; /* char * */
455 uarg[1] = (intptr_t)p->to; /* char * */
461 struct linux_readlink_args *p = params;
462 uarg[0] = (intptr_t)p->name; /* char * */
463 uarg[1] = (intptr_t)p->buf; /* char * */
464 iarg[2] = p->count; /* l_int */
470 struct swapon_args *p = params;
471 uarg[0] = (intptr_t)p->name; /* char * */
477 struct linux_reboot_args *p = params;
478 iarg[0] = p->magic1; /* l_int */
479 iarg[1] = p->magic2; /* l_int */
480 iarg[2] = p->cmd; /* l_uint */
481 uarg[3] = (intptr_t)p->arg; /* void * */
487 struct munmap_args *p = params;
488 uarg[0] = (intptr_t)p->addr; /* caddr_t */
489 iarg[1] = p->len; /* int */
495 struct linux_truncate_args *p = params;
496 uarg[0] = (intptr_t)p->path; /* char * */
497 iarg[1] = p->length; /* l_ulong */
501 /* linux_ftruncate */
503 struct linux_ftruncate_args *p = params;
504 iarg[0] = p->fd; /* int */
505 iarg[1] = p->length; /* long */
511 struct fchmod_args *p = params;
512 iarg[0] = p->fd; /* int */
513 iarg[1] = p->mode; /* int */
519 struct fchown_args *p = params;
520 iarg[0] = p->fd; /* int */
521 iarg[1] = p->uid; /* int */
522 iarg[2] = p->gid; /* int */
526 /* linux_getpriority */
528 struct linux_getpriority_args *p = params;
529 iarg[0] = p->which; /* int */
530 iarg[1] = p->who; /* int */
536 struct setpriority_args *p = params;
537 iarg[0] = p->which; /* int */
538 iarg[1] = p->who; /* int */
539 iarg[2] = p->prio; /* int */
545 struct linux_statfs_args *p = params;
546 uarg[0] = (intptr_t)p->path; /* char * */
547 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
553 struct linux_fstatfs_args *p = params;
554 iarg[0] = p->fd; /* l_uint */
555 uarg[1] = (intptr_t)p->buf; /* struct l_statfs_buf * */
561 struct linux_syslog_args *p = params;
562 iarg[0] = p->type; /* l_int */
563 uarg[1] = (intptr_t)p->buf; /* char * */
564 iarg[2] = p->len; /* l_int */
568 /* linux_setitimer */
570 struct linux_setitimer_args *p = params;
571 iarg[0] = p->which; /* l_int */
572 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
573 uarg[2] = (intptr_t)p->oitv; /* struct l_itimerval * */
577 /* linux_getitimer */
579 struct linux_getitimer_args *p = params;
580 iarg[0] = p->which; /* l_int */
581 uarg[1] = (intptr_t)p->itv; /* struct l_itimerval * */
587 struct linux_newstat_args *p = params;
588 uarg[0] = (intptr_t)p->path; /* char * */
589 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
595 struct linux_newlstat_args *p = params;
596 uarg[0] = (intptr_t)p->path; /* char * */
597 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
603 struct linux_newfstat_args *p = params;
604 iarg[0] = p->fd; /* l_uint */
605 uarg[1] = (intptr_t)p->buf; /* struct l_newstat * */
616 struct linux_wait4_args *p = params;
617 iarg[0] = p->pid; /* l_pid_t */
618 uarg[1] = (intptr_t)p->status; /* l_int * */
619 iarg[2] = p->options; /* l_int */
620 uarg[3] = (intptr_t)p->rusage; /* void * */
631 struct linux_sysinfo_args *p = params;
632 uarg[0] = (intptr_t)p->info; /* struct l_sysinfo * */
638 struct fsync_args *p = params;
639 iarg[0] = p->fd; /* int */
643 /* linux_sigreturn */
645 struct linux_sigreturn_args *p = params;
646 uarg[0] = (intptr_t)p->sfp; /* struct l_sigframe * */
652 struct linux_clone_args *p = params;
653 iarg[0] = p->flags; /* l_ulong */
654 iarg[1] = p->stack; /* l_ulong */
655 uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
656 iarg[3] = p->tls; /* l_ulong */
657 uarg[4] = (intptr_t)p->child_tidptr; /* l_int * */
661 /* linux_setdomainname */
663 struct linux_setdomainname_args *p = params;
664 uarg[0] = (intptr_t)p->name; /* char * */
665 iarg[1] = p->len; /* int */
671 struct linux_newuname_args *p = params;
672 uarg[0] = (intptr_t)p->buf; /* struct l_new_utsname * */
683 struct linux_mprotect_args *p = params;
684 uarg[0] = (intptr_t)p->addr; /* caddr_t */
685 iarg[1] = p->len; /* int */
686 iarg[2] = p->prot; /* int */
690 /* linux_sigprocmask */
692 struct linux_sigprocmask_args *p = params;
693 iarg[0] = p->how; /* l_int */
694 uarg[1] = (intptr_t)p->mask; /* l_osigset_t * */
695 uarg[2] = (intptr_t)p->omask; /* l_osigset_t * */
699 /* linux_init_module */
704 /* linux_delete_module */
716 struct getpgid_args *p = params;
717 iarg[0] = p->pid; /* int */
723 struct fchdir_args *p = params;
724 iarg[0] = p->fd; /* int */
735 struct linux_sysfs_args *p = params;
736 iarg[0] = p->option; /* l_int */
737 iarg[1] = p->arg1; /* l_ulong */
738 iarg[2] = p->arg2; /* l_ulong */
742 /* linux_personality */
744 struct linux_personality_args *p = params;
745 iarg[0] = p->per; /* l_ulong */
749 /* linux_setfsuid16 */
751 struct linux_setfsuid16_args *p = params;
752 iarg[0] = p->uid; /* l_uid16_t */
756 /* linux_setfsgid16 */
758 struct linux_setfsgid16_args *p = params;
759 iarg[0] = p->gid; /* l_gid16_t */
765 struct linux_llseek_args *p = params;
766 iarg[0] = p->fd; /* l_int */
767 iarg[1] = p->ohigh; /* l_ulong */
768 iarg[2] = p->olow; /* l_ulong */
769 uarg[3] = (intptr_t)p->res; /* l_loff_t * */
770 iarg[4] = p->whence; /* l_uint */
776 struct linux_getdents_args *p = params;
777 iarg[0] = p->fd; /* l_uint */
778 uarg[1] = (intptr_t)p->dent; /* void * */
779 iarg[2] = p->count; /* l_uint */
785 struct linux_select_args *p = params;
786 iarg[0] = p->nfds; /* l_int */
787 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
788 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
789 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
790 uarg[4] = (intptr_t)p->timeout; /* struct l_timeval * */
796 struct flock_args *p = params;
797 iarg[0] = p->fd; /* int */
798 iarg[1] = p->how; /* int */
804 struct linux_msync_args *p = params;
805 iarg[0] = p->addr; /* l_ulong */
806 iarg[1] = p->len; /* l_size_t */
807 iarg[2] = p->fl; /* l_int */
813 struct readv_args *p = params;
814 iarg[0] = p->fd; /* int */
815 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
816 uarg[2] = p->iovcnt; /* u_int */
822 struct writev_args *p = params;
823 iarg[0] = p->fd; /* int */
824 uarg[1] = (intptr_t)p->iovp; /* struct iovec * */
825 uarg[2] = p->iovcnt; /* u_int */
831 struct linux_getsid_args *p = params;
832 iarg[0] = p->pid; /* l_pid_t */
836 /* linux_fdatasync */
838 struct linux_fdatasync_args *p = params;
839 iarg[0] = p->fd; /* l_uint */
845 struct linux_sysctl_args *p = params;
846 uarg[0] = (intptr_t)p->args; /* struct l___sysctl_args * */
852 struct mlock_args *p = params;
853 uarg[0] = (intptr_t)p->addr; /* const void * */
854 uarg[1] = p->len; /* size_t */
860 struct munlock_args *p = params;
861 uarg[0] = (intptr_t)p->addr; /* const void * */
862 uarg[1] = p->len; /* size_t */
868 struct mlockall_args *p = params;
869 iarg[0] = p->how; /* int */
878 /* linux_sched_setparam */
880 struct linux_sched_setparam_args *p = params;
881 iarg[0] = p->pid; /* l_pid_t */
882 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
886 /* linux_sched_getparam */
888 struct linux_sched_getparam_args *p = params;
889 iarg[0] = p->pid; /* l_pid_t */
890 uarg[1] = (intptr_t)p->param; /* struct sched_param * */
894 /* linux_sched_setscheduler */
896 struct linux_sched_setscheduler_args *p = params;
897 iarg[0] = p->pid; /* l_pid_t */
898 iarg[1] = p->policy; /* l_int */
899 uarg[2] = (intptr_t)p->param; /* struct sched_param * */
903 /* linux_sched_getscheduler */
905 struct linux_sched_getscheduler_args *p = params;
906 iarg[0] = p->pid; /* l_pid_t */
915 /* linux_sched_get_priority_max */
917 struct linux_sched_get_priority_max_args *p = params;
918 iarg[0] = p->policy; /* l_int */
922 /* linux_sched_get_priority_min */
924 struct linux_sched_get_priority_min_args *p = params;
925 iarg[0] = p->policy; /* l_int */
929 /* linux_sched_rr_get_interval */
931 struct linux_sched_rr_get_interval_args *p = params;
932 iarg[0] = p->pid; /* l_pid_t */
933 uarg[1] = (intptr_t)p->interval; /* struct l_timespec * */
937 /* linux_nanosleep */
939 struct linux_nanosleep_args *p = params;
940 uarg[0] = (intptr_t)p->rqtp; /* const struct l_timespec * */
941 uarg[1] = (intptr_t)p->rmtp; /* struct l_timespec * */
947 struct linux_mremap_args *p = params;
948 iarg[0] = p->addr; /* l_ulong */
949 iarg[1] = p->old_len; /* l_ulong */
950 iarg[2] = p->new_len; /* l_ulong */
951 iarg[3] = p->flags; /* l_ulong */
952 iarg[4] = p->new_addr; /* l_ulong */
956 /* linux_setresuid16 */
958 struct linux_setresuid16_args *p = params;
959 iarg[0] = p->ruid; /* l_uid16_t */
960 iarg[1] = p->euid; /* l_uid16_t */
961 iarg[2] = p->suid; /* l_uid16_t */
965 /* linux_getresuid16 */
967 struct linux_getresuid16_args *p = params;
968 uarg[0] = (intptr_t)p->ruid; /* l_uid16_t * */
969 uarg[1] = (intptr_t)p->euid; /* l_uid16_t * */
970 uarg[2] = (intptr_t)p->suid; /* l_uid16_t * */
976 struct linux_poll_args *p = params;
977 uarg[0] = (intptr_t)p->fds; /* struct pollfd* */
978 uarg[1] = p->nfds; /* unsigned int */
979 iarg[2] = p->timeout; /* long */
983 /* linux_setresgid16 */
985 struct linux_setresgid16_args *p = params;
986 iarg[0] = p->rgid; /* l_gid16_t */
987 iarg[1] = p->egid; /* l_gid16_t */
988 iarg[2] = p->sgid; /* l_gid16_t */
992 /* linux_getresgid16 */
994 struct linux_getresgid16_args *p = params;
995 uarg[0] = (intptr_t)p->rgid; /* l_gid16_t * */
996 uarg[1] = (intptr_t)p->egid; /* l_gid16_t * */
997 uarg[2] = (intptr_t)p->sgid; /* l_gid16_t * */
1003 struct linux_prctl_args *p = params;
1004 iarg[0] = p->option; /* l_int */
1005 iarg[1] = p->arg2; /* l_int */
1006 iarg[2] = p->arg3; /* l_int */
1007 iarg[3] = p->arg4; /* l_int */
1008 iarg[4] = p->arg5; /* l_int */
1012 /* linux_rt_sigreturn */
1014 struct linux_rt_sigreturn_args *p = params;
1015 uarg[0] = (intptr_t)p->ucp; /* struct l_ucontext * */
1019 /* linux_rt_sigaction */
1021 struct linux_rt_sigaction_args *p = params;
1022 iarg[0] = p->sig; /* l_int */
1023 uarg[1] = (intptr_t)p->act; /* l_sigaction_t * */
1024 uarg[2] = (intptr_t)p->oact; /* l_sigaction_t * */
1025 iarg[3] = p->sigsetsize; /* l_size_t */
1029 /* linux_rt_sigprocmask */
1031 struct linux_rt_sigprocmask_args *p = params;
1032 iarg[0] = p->how; /* l_int */
1033 uarg[1] = (intptr_t)p->mask; /* l_sigset_t * */
1034 uarg[2] = (intptr_t)p->omask; /* l_sigset_t * */
1035 iarg[3] = p->sigsetsize; /* l_size_t */
1039 /* linux_rt_sigpending */
1041 struct linux_rt_sigpending_args *p = params;
1042 uarg[0] = (intptr_t)p->set; /* l_sigset_t * */
1043 iarg[1] = p->sigsetsize; /* l_size_t */
1047 /* linux_rt_sigtimedwait */
1049 struct linux_rt_sigtimedwait_args *p = params;
1050 uarg[0] = (intptr_t)p->mask; /* l_sigset_t * */
1051 uarg[1] = (intptr_t)p->ptr; /* l_siginfo_t * */
1052 uarg[2] = (intptr_t)p->timeout; /* struct l_timespec * */
1053 iarg[3] = p->sigsetsize; /* l_size_t */
1057 /* linux_rt_sigqueueinfo */
1059 struct linux_rt_sigqueueinfo_args *p = params;
1060 iarg[0] = p->pid; /* l_pid_t */
1061 iarg[1] = p->sig; /* l_int */
1062 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
1066 /* linux_rt_sigsuspend */
1068 struct linux_rt_sigsuspend_args *p = params;
1069 uarg[0] = (intptr_t)p->newset; /* l_sigset_t * */
1070 iarg[1] = p->sigsetsize; /* l_size_t */
1076 struct linux_pread_args *p = params;
1077 iarg[0] = p->fd; /* l_uint */
1078 uarg[1] = (intptr_t)p->buf; /* char * */
1079 iarg[2] = p->nbyte; /* l_size_t */
1080 iarg[3] = p->offset; /* l_loff_t */
1086 struct linux_pwrite_args *p = params;
1087 iarg[0] = p->fd; /* l_uint */
1088 uarg[1] = (intptr_t)p->buf; /* char * */
1089 iarg[2] = p->nbyte; /* l_size_t */
1090 iarg[3] = p->offset; /* l_loff_t */
1096 struct linux_chown16_args *p = params;
1097 uarg[0] = (intptr_t)p->path; /* char * */
1098 iarg[1] = p->uid; /* l_uid16_t */
1099 iarg[2] = p->gid; /* l_gid16_t */
1105 struct linux_getcwd_args *p = params;
1106 uarg[0] = (intptr_t)p->buf; /* char * */
1107 iarg[1] = p->bufsize; /* l_ulong */
1113 struct linux_capget_args *p = params;
1114 uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1115 uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */
1121 struct linux_capset_args *p = params;
1122 uarg[0] = (intptr_t)p->hdrp; /* struct l_user_cap_header * */
1123 uarg[1] = (intptr_t)p->datap; /* struct l_user_cap_data * */
1127 /* linux_sigaltstack */
1129 struct linux_sigaltstack_args *p = params;
1130 uarg[0] = (intptr_t)p->uss; /* l_stack_t * */
1131 uarg[1] = (intptr_t)p->uoss; /* l_stack_t * */
1135 /* linux_sendfile */
1137 struct linux_sendfile_args *p = params;
1138 iarg[0] = p->out; /* l_int */
1139 iarg[1] = p->in; /* l_int */
1140 uarg[2] = (intptr_t)p->offset; /* l_long * */
1141 iarg[3] = p->count; /* l_size_t */
1150 /* linux_getrlimit */
1152 struct linux_getrlimit_args *p = params;
1153 iarg[0] = p->resource; /* l_uint */
1154 uarg[1] = (intptr_t)p->rlim; /* struct l_rlimit * */
1160 struct linux_mmap2_args *p = params;
1161 iarg[0] = p->addr; /* l_ulong */
1162 iarg[1] = p->len; /* l_ulong */
1163 iarg[2] = p->prot; /* l_ulong */
1164 iarg[3] = p->flags; /* l_ulong */
1165 iarg[4] = p->fd; /* l_ulong */
1166 iarg[5] = p->pgoff; /* l_ulong */
1170 /* linux_truncate64 */
1172 struct linux_truncate64_args *p = params;
1173 uarg[0] = (intptr_t)p->path; /* char * */
1174 iarg[1] = p->length; /* l_loff_t */
1178 /* linux_ftruncate64 */
1180 struct linux_ftruncate64_args *p = params;
1181 iarg[0] = p->fd; /* l_uint */
1182 iarg[1] = p->length; /* l_loff_t */
1188 struct linux_stat64_args *p = params;
1189 uarg[0] = (intptr_t)p->filename; /* const char * */
1190 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1196 struct linux_lstat64_args *p = params;
1197 uarg[0] = (intptr_t)p->filename; /* const char * */
1198 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1204 struct linux_fstat64_args *p = params;
1205 iarg[0] = p->fd; /* l_int */
1206 uarg[1] = (intptr_t)p->statbuf; /* struct l_stat64 * */
1212 struct linux_lchown_args *p = params;
1213 uarg[0] = (intptr_t)p->path; /* char * */
1214 iarg[1] = p->uid; /* l_uid_t */
1215 iarg[2] = p->gid; /* l_gid_t */
1241 struct setreuid_args *p = params;
1242 uarg[0] = p->ruid; /* uid_t */
1243 uarg[1] = p->euid; /* uid_t */
1249 struct setregid_args *p = params;
1250 iarg[0] = p->rgid; /* gid_t */
1251 iarg[1] = p->egid; /* gid_t */
1255 /* linux_getgroups */
1257 struct linux_getgroups_args *p = params;
1258 iarg[0] = p->gidsetsize; /* l_int */
1259 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1263 /* linux_setgroups */
1265 struct linux_setgroups_args *p = params;
1266 iarg[0] = p->gidsetsize; /* l_int */
1267 uarg[1] = (intptr_t)p->grouplist; /* l_gid_t * */
1278 struct setresuid_args *p = params;
1279 uarg[0] = p->ruid; /* uid_t */
1280 uarg[1] = p->euid; /* uid_t */
1281 uarg[2] = p->suid; /* uid_t */
1287 struct getresuid_args *p = params;
1288 uarg[0] = (intptr_t)p->ruid; /* uid_t * */
1289 uarg[1] = (intptr_t)p->euid; /* uid_t * */
1290 uarg[2] = (intptr_t)p->suid; /* uid_t * */
1296 struct setresgid_args *p = params;
1297 iarg[0] = p->rgid; /* gid_t */
1298 iarg[1] = p->egid; /* gid_t */
1299 iarg[2] = p->sgid; /* gid_t */
1305 struct getresgid_args *p = params;
1306 uarg[0] = (intptr_t)p->rgid; /* gid_t * */
1307 uarg[1] = (intptr_t)p->egid; /* gid_t * */
1308 uarg[2] = (intptr_t)p->sgid; /* gid_t * */
1314 struct linux_chown_args *p = params;
1315 uarg[0] = (intptr_t)p->path; /* char * */
1316 iarg[1] = p->uid; /* l_uid_t */
1317 iarg[2] = p->gid; /* l_gid_t */
1323 struct setuid_args *p = params;
1324 uarg[0] = p->uid; /* uid_t */
1330 struct setgid_args *p = params;
1331 iarg[0] = p->gid; /* gid_t */
1335 /* linux_setfsuid */
1337 struct linux_setfsuid_args *p = params;
1338 iarg[0] = p->uid; /* l_uid_t */
1342 /* linux_setfsgid */
1344 struct linux_setfsgid_args *p = params;
1345 iarg[0] = p->gid; /* l_gid_t */
1349 /* linux_getdents64 */
1351 struct linux_getdents64_args *p = params;
1352 iarg[0] = p->fd; /* l_uint */
1353 uarg[1] = (intptr_t)p->dirent; /* void * */
1354 iarg[2] = p->count; /* l_uint */
1358 /* linux_pivot_root */
1360 struct linux_pivot_root_args *p = params;
1361 uarg[0] = (intptr_t)p->new_root; /* char * */
1362 uarg[1] = (intptr_t)p->put_old; /* char * */
1368 struct linux_mincore_args *p = params;
1369 iarg[0] = p->start; /* l_ulong */
1370 iarg[1] = p->len; /* l_size_t */
1371 uarg[2] = (intptr_t)p->vec; /* u_char * */
1377 struct madvise_args *p = params;
1378 uarg[0] = (intptr_t)p->addr; /* void * */
1379 uarg[1] = p->len; /* size_t */
1380 iarg[2] = p->behav; /* int */
1386 struct linux_fcntl64_args *p = params;
1387 iarg[0] = p->fd; /* l_uint */
1388 iarg[1] = p->cmd; /* l_uint */
1389 iarg[2] = p->arg; /* l_ulong */
1398 /* linux_setxattr */
1403 /* linux_lsetxattr */
1408 /* linux_fsetxattr */
1413 /* linux_getxattr */
1418 /* linux_lgetxattr */
1423 /* linux_fgetxattr */
1428 /* linux_listxattr */
1433 /* linux_llistxattr */
1438 /* linux_flistxattr */
1443 /* linux_removexattr */
1448 /* linux_lremovexattr */
1453 /* linux_fremovexattr */
1460 struct linux_tkill_args *p = params;
1461 iarg[0] = p->tid; /* int */
1462 iarg[1] = p->sig; /* int */
1466 /* linux_sendfile64 */
1468 struct linux_sendfile64_args *p = params;
1469 iarg[0] = p->out; /* l_int */
1470 iarg[1] = p->in; /* l_int */
1471 uarg[2] = (intptr_t)p->offset; /* l_loff_t * */
1472 iarg[3] = p->count; /* l_size_t */
1476 /* linux_sys_futex */
1478 struct linux_sys_futex_args *p = params;
1479 uarg[0] = (intptr_t)p->uaddr; /* uint32_t * */
1480 iarg[1] = p->op; /* l_int */
1481 uarg[2] = p->val; /* uint32_t */
1482 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec * */
1483 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
1484 uarg[5] = p->val3; /* uint32_t */
1488 /* linux_sched_setaffinity */
1490 struct linux_sched_setaffinity_args *p = params;
1491 iarg[0] = p->pid; /* l_pid_t */
1492 iarg[1] = p->len; /* l_uint */
1493 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1497 /* linux_sched_getaffinity */
1499 struct linux_sched_getaffinity_args *p = params;
1500 iarg[0] = p->pid; /* l_pid_t */
1501 iarg[1] = p->len; /* l_uint */
1502 uarg[2] = (intptr_t)p->user_mask_ptr; /* l_ulong * */
1506 /* linux_exit_group */
1508 struct linux_exit_group_args *p = params;
1509 iarg[0] = p->error_code; /* int */
1513 /* linux_lookup_dcookie */
1518 /* linux_epoll_create */
1520 struct linux_epoll_create_args *p = params;
1521 iarg[0] = p->size; /* l_int */
1525 /* linux_epoll_ctl */
1527 struct linux_epoll_ctl_args *p = params;
1528 iarg[0] = p->epfd; /* l_int */
1529 iarg[1] = p->op; /* l_int */
1530 iarg[2] = p->fd; /* l_int */
1531 uarg[3] = (intptr_t)p->event; /* struct epoll_event * */
1535 /* linux_epoll_wait */
1537 struct linux_epoll_wait_args *p = params;
1538 iarg[0] = p->epfd; /* l_int */
1539 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
1540 iarg[2] = p->maxevents; /* l_int */
1541 iarg[3] = p->timeout; /* l_int */
1545 /* linux_remap_file_pages */
1550 /* linux_set_tid_address */
1552 struct linux_set_tid_address_args *p = params;
1553 uarg[0] = (intptr_t)p->tidptr; /* int * */
1557 /* linux_timer_create */
1559 struct linux_timer_create_args *p = params;
1560 iarg[0] = p->clock_id; /* clockid_t */
1561 uarg[1] = (intptr_t)p->evp; /* struct sigevent * */
1562 uarg[2] = (intptr_t)p->timerid; /* l_timer_t * */
1566 /* linux_timer_settime */
1568 struct linux_timer_settime_args *p = params;
1569 iarg[0] = p->timerid; /* l_timer_t */
1570 iarg[1] = p->flags; /* l_int */
1571 uarg[2] = (intptr_t)p->new; /* const struct itimerspec * */
1572 uarg[3] = (intptr_t)p->old; /* struct itimerspec * */
1576 /* linux_timer_gettime */
1578 struct linux_timer_gettime_args *p = params;
1579 iarg[0] = p->timerid; /* l_timer_t */
1580 uarg[1] = (intptr_t)p->setting; /* struct itimerspec * */
1584 /* linux_timer_getoverrun */
1586 struct linux_timer_getoverrun_args *p = params;
1587 iarg[0] = p->timerid; /* l_timer_t */
1591 /* linux_timer_delete */
1593 struct linux_timer_delete_args *p = params;
1594 iarg[0] = p->timerid; /* l_timer_t */
1598 /* linux_clock_settime */
1600 struct linux_clock_settime_args *p = params;
1601 iarg[0] = p->which; /* clockid_t */
1602 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1606 /* linux_clock_gettime */
1608 struct linux_clock_gettime_args *p = params;
1609 iarg[0] = p->which; /* clockid_t */
1610 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1614 /* linux_clock_getres */
1616 struct linux_clock_getres_args *p = params;
1617 iarg[0] = p->which; /* clockid_t */
1618 uarg[1] = (intptr_t)p->tp; /* struct l_timespec * */
1622 /* linux_clock_nanosleep */
1624 struct linux_clock_nanosleep_args *p = params;
1625 iarg[0] = p->which; /* clockid_t */
1626 iarg[1] = p->flags; /* int */
1627 uarg[2] = (intptr_t)p->rqtp; /* struct l_timespec * */
1628 uarg[3] = (intptr_t)p->rmtp; /* struct l_timespec * */
1632 /* linux_statfs64 */
1634 struct linux_statfs64_args *p = params;
1635 uarg[0] = (intptr_t)p->path; /* char * */
1636 uarg[1] = p->bufsize; /* size_t */
1637 uarg[2] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1641 /* linux_fstatfs64 */
1643 struct linux_fstatfs64_args *p = params;
1644 iarg[0] = p->fd; /* l_uint */
1645 uarg[1] = p->bufsize; /* size_t */
1646 uarg[2] = (intptr_t)p->buf; /* struct l_statfs64_buf * */
1652 struct linux_tgkill_args *p = params;
1653 iarg[0] = p->tgid; /* int */
1654 iarg[1] = p->pid; /* int */
1655 iarg[2] = p->sig; /* int */
1661 struct linux_utimes_args *p = params;
1662 uarg[0] = (intptr_t)p->fname; /* char * */
1663 uarg[1] = (intptr_t)p->tptr; /* struct l_timeval * */
1667 /* linux_fadvise64_64 */
1669 struct linux_fadvise64_64_args *p = params;
1670 iarg[0] = p->fd; /* int */
1671 iarg[1] = p->offset; /* l_loff_t */
1672 iarg[2] = p->len; /* l_loff_t */
1673 iarg[3] = p->advice; /* int */
1679 struct linux_mq_open_args *p = params;
1680 uarg[0] = (intptr_t)p->name; /* const char * */
1681 iarg[1] = p->oflag; /* int */
1682 iarg[2] = p->mode; /* mode_t */
1683 uarg[3] = (intptr_t)p->attr; /* struct mq_attr * */
1687 /* linux_mq_unlink */
1689 struct linux_mq_unlink_args *p = params;
1690 uarg[0] = (intptr_t)p->name; /* const char * */
1694 /* linux_mq_timedsend */
1696 struct linux_mq_timedsend_args *p = params;
1697 iarg[0] = p->mqd; /* l_mqd_t */
1698 uarg[1] = (intptr_t)p->msg_ptr; /* const char * */
1699 uarg[2] = p->msg_len; /* size_t */
1700 uarg[3] = p->msg_prio; /* unsigned int */
1701 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1705 /* linux_mq_timedreceive */
1707 struct linux_mq_timedreceive_args *p = params;
1708 iarg[0] = p->mqd; /* l_mqd_t */
1709 uarg[1] = (intptr_t)p->msg_ptr; /* char * */
1710 uarg[2] = p->msg_len; /* size_t */
1711 uarg[3] = p->msg_prio; /* unsigned int */
1712 uarg[4] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1716 /* linux_mq_notify */
1718 struct linux_mq_notify_args *p = params;
1719 iarg[0] = p->mqd; /* l_mqd_t */
1720 uarg[1] = (intptr_t)p->abs_timeout; /* const struct l_timespec * */
1724 /* linux_mq_getsetattr */
1726 struct linux_mq_getsetattr_args *p = params;
1727 iarg[0] = p->mqd; /* l_mqd_t */
1728 uarg[1] = (intptr_t)p->attr; /* const struct mq_attr * */
1729 uarg[2] = (intptr_t)p->oattr; /* struct mq_attr * */
1735 struct linux_waitid_args *p = params;
1736 iarg[0] = p->idtype; /* int */
1737 iarg[1] = p->id; /* l_pid_t */
1738 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
1739 iarg[3] = p->options; /* int */
1740 uarg[4] = (intptr_t)p->rusage; /* void * */
1746 struct linux_socket_args *p = params;
1747 iarg[0] = p->domain; /* l_int */
1748 iarg[1] = p->type; /* l_int */
1749 iarg[2] = p->protocol; /* l_int */
1755 struct linux_bind_args *p = params;
1756 iarg[0] = p->s; /* l_int */
1757 iarg[1] = p->name; /* l_uintptr_t */
1758 iarg[2] = p->namelen; /* l_int */
1764 struct linux_connect_args *p = params;
1765 iarg[0] = p->s; /* l_int */
1766 iarg[1] = p->name; /* l_uintptr_t */
1767 iarg[2] = p->namelen; /* l_int */
1773 struct linux_listen_args *p = params;
1774 iarg[0] = p->s; /* l_int */
1775 iarg[1] = p->backlog; /* l_int */
1781 struct linux_accept_args *p = params;
1782 iarg[0] = p->s; /* l_int */
1783 iarg[1] = p->addr; /* l_uintptr_t */
1784 iarg[2] = p->namelen; /* l_uintptr_t */
1788 /* linux_getsockname */
1790 struct linux_getsockname_args *p = params;
1791 iarg[0] = p->s; /* l_int */
1792 iarg[1] = p->addr; /* l_uintptr_t */
1793 iarg[2] = p->namelen; /* l_uintptr_t */
1797 /* linux_getpeername */
1799 struct linux_getpeername_args *p = params;
1800 iarg[0] = p->s; /* l_int */
1801 iarg[1] = p->addr; /* l_uintptr_t */
1802 iarg[2] = p->namelen; /* l_uintptr_t */
1806 /* linux_socketpair */
1808 struct linux_socketpair_args *p = params;
1809 iarg[0] = p->domain; /* l_int */
1810 iarg[1] = p->type; /* l_int */
1811 iarg[2] = p->protocol; /* l_int */
1812 iarg[3] = p->rsv; /* l_uintptr_t */
1818 struct linux_send_args *p = params;
1819 iarg[0] = p->s; /* int */
1820 iarg[1] = p->msg; /* l_uintptr_t */
1821 iarg[2] = p->len; /* int */
1822 iarg[3] = p->flags; /* int */
1828 struct linux_sendto_args *p = params;
1829 iarg[0] = p->s; /* l_int */
1830 iarg[1] = p->msg; /* l_uintptr_t */
1831 iarg[2] = p->len; /* l_int */
1832 iarg[3] = p->flags; /* l_int */
1833 iarg[4] = p->to; /* l_uintptr_t */
1834 iarg[5] = p->tolen; /* l_int */
1840 struct linux_recv_args *p = params;
1841 iarg[0] = p->s; /* int */
1842 iarg[1] = p->msg; /* l_uintptr_t */
1843 iarg[2] = p->len; /* int */
1844 iarg[3] = p->flags; /* int */
1848 /* linux_recvfrom */
1850 struct linux_recvfrom_args *p = params;
1851 iarg[0] = p->s; /* l_int */
1852 iarg[1] = p->buf; /* l_uintptr_t */
1853 iarg[2] = p->len; /* l_size_t */
1854 iarg[3] = p->flags; /* l_int */
1855 iarg[4] = p->from; /* l_uintptr_t */
1856 iarg[5] = p->fromlen; /* l_uintptr_t */
1860 /* linux_shutdown */
1862 struct linux_shutdown_args *p = params;
1863 iarg[0] = p->s; /* l_int */
1864 iarg[1] = p->how; /* l_int */
1868 /* linux_setsockopt */
1870 struct linux_setsockopt_args *p = params;
1871 iarg[0] = p->s; /* l_int */
1872 iarg[1] = p->level; /* l_int */
1873 iarg[2] = p->optname; /* l_int */
1874 iarg[3] = p->optval; /* l_uintptr_t */
1875 iarg[4] = p->optlen; /* l_int */
1879 /* linux_getsockopt */
1881 struct linux_getsockopt_args *p = params;
1882 iarg[0] = p->s; /* l_int */
1883 iarg[1] = p->level; /* l_int */
1884 iarg[2] = p->optname; /* l_int */
1885 iarg[3] = p->optval; /* l_uintptr_t */
1886 iarg[4] = p->optlen; /* l_uintptr_t */
1892 struct linux_sendmsg_args *p = params;
1893 iarg[0] = p->s; /* l_int */
1894 iarg[1] = p->msg; /* l_uintptr_t */
1895 iarg[2] = p->flags; /* l_int */
1901 struct linux_recvmsg_args *p = params;
1902 iarg[0] = p->s; /* l_int */
1903 iarg[1] = p->msg; /* l_uintptr_t */
1904 iarg[2] = p->flags; /* l_int */
1910 struct linux_semop_args *p = params;
1911 iarg[0] = p->semid; /* l_int */
1912 uarg[1] = (intptr_t)p->tsops; /* struct l_sembuf * */
1913 iarg[2] = p->nsops; /* l_uint */
1919 struct linux_semget_args *p = params;
1920 iarg[0] = p->key; /* l_key_t */
1921 iarg[1] = p->nsems; /* l_int */
1922 iarg[2] = p->semflg; /* l_int */
1928 struct linux_semctl_args *p = params;
1929 iarg[0] = p->semid; /* l_int */
1930 iarg[1] = p->semnum; /* l_int */
1931 iarg[2] = p->cmd; /* l_int */
1932 uarg[3] = p->arg.buf; /* union l_semun */
1938 struct linux_msgsnd_args *p = params;
1939 iarg[0] = p->msqid; /* l_int */
1940 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1941 iarg[2] = p->msgsz; /* l_size_t */
1942 iarg[3] = p->msgflg; /* l_int */
1948 struct linux_msgrcv_args *p = params;
1949 iarg[0] = p->msqid; /* l_int */
1950 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */
1951 iarg[2] = p->msgsz; /* l_size_t */
1952 iarg[3] = p->msgtyp; /* l_long */
1953 iarg[4] = p->msgflg; /* l_int */
1959 struct linux_msgget_args *p = params;
1960 iarg[0] = p->key; /* l_key_t */
1961 iarg[1] = p->msgflg; /* l_int */
1967 struct linux_msgctl_args *p = params;
1968 iarg[0] = p->msqid; /* l_int */
1969 iarg[1] = p->cmd; /* l_int */
1970 uarg[2] = (intptr_t)p->buf; /* struct l_msqid_ds * */
1976 struct linux_shmat_args *p = params;
1977 iarg[0] = p->shmid; /* l_int */
1978 uarg[1] = (intptr_t)p->shmaddr; /* char * */
1979 iarg[2] = p->shmflg; /* l_int */
1985 struct linux_shmdt_args *p = params;
1986 uarg[0] = (intptr_t)p->shmaddr; /* char * */
1992 struct linux_shmget_args *p = params;
1993 iarg[0] = p->key; /* l_key_t */
1994 iarg[1] = p->size; /* l_size_t */
1995 iarg[2] = p->shmflg; /* l_int */
2001 struct linux_shmctl_args *p = params;
2002 iarg[0] = p->shmid; /* l_int */
2003 iarg[1] = p->cmd; /* l_int */
2004 uarg[2] = (intptr_t)p->buf; /* struct l_shmid_ds * */
2013 /* linux_request_key */
2023 /* linux_ioprio_set */
2028 /* linux_ioprio_get */
2033 /* linux_inotify_init */
2038 /* linux_inotify_add_watch */
2043 /* linux_inotify_rm_watch */
2053 /* linux_get_mempolicy */
2058 /* linux_set_mempolicy */
2065 struct linux_openat_args *p = params;
2066 iarg[0] = p->dfd; /* l_int */
2067 uarg[1] = (intptr_t)p->filename; /* const char * */
2068 iarg[2] = p->flags; /* l_int */
2069 iarg[3] = p->mode; /* l_int */
2075 struct linux_mkdirat_args *p = params;
2076 iarg[0] = p->dfd; /* l_int */
2077 uarg[1] = (intptr_t)p->pathname; /* const char * */
2078 iarg[2] = p->mode; /* l_int */
2084 struct linux_mknodat_args *p = params;
2085 iarg[0] = p->dfd; /* l_int */
2086 uarg[1] = (intptr_t)p->filename; /* const char * */
2087 iarg[2] = p->mode; /* l_int */
2088 iarg[3] = p->dev; /* l_uint */
2092 /* linux_fchownat */
2094 struct linux_fchownat_args *p = params;
2095 iarg[0] = p->dfd; /* l_int */
2096 uarg[1] = (intptr_t)p->filename; /* const char * */
2097 iarg[2] = p->uid; /* l_uid16_t */
2098 iarg[3] = p->gid; /* l_gid16_t */
2099 iarg[4] = p->flag; /* l_int */
2103 /* linux_futimesat */
2105 struct linux_futimesat_args *p = params;
2106 iarg[0] = p->dfd; /* l_int */
2107 uarg[1] = (intptr_t)p->filename; /* char * */
2108 uarg[2] = (intptr_t)p->utimes; /* struct l_timeval * */
2112 /* linux_fstatat64 */
2114 struct linux_fstatat64_args *p = params;
2115 iarg[0] = p->dfd; /* l_int */
2116 uarg[1] = (intptr_t)p->pathname; /* char * */
2117 uarg[2] = (intptr_t)p->statbuf; /* struct l_stat64 * */
2118 iarg[3] = p->flag; /* l_int */
2122 /* linux_unlinkat */
2124 struct linux_unlinkat_args *p = params;
2125 iarg[0] = p->dfd; /* l_int */
2126 uarg[1] = (intptr_t)p->pathname; /* const char * */
2127 iarg[2] = p->flag; /* l_int */
2131 /* linux_renameat */
2133 struct linux_renameat_args *p = params;
2134 iarg[0] = p->olddfd; /* l_int */
2135 uarg[1] = (intptr_t)p->oldname; /* const char * */
2136 iarg[2] = p->newdfd; /* l_int */
2137 uarg[3] = (intptr_t)p->newname; /* const char * */
2143 struct linux_linkat_args *p = params;
2144 iarg[0] = p->olddfd; /* l_int */
2145 uarg[1] = (intptr_t)p->oldname; /* const char * */
2146 iarg[2] = p->newdfd; /* l_int */
2147 uarg[3] = (intptr_t)p->newname; /* const char * */
2148 iarg[4] = p->flag; /* l_int */
2152 /* linux_symlinkat */
2154 struct linux_symlinkat_args *p = params;
2155 uarg[0] = (intptr_t)p->oldname; /* const char * */
2156 iarg[1] = p->newdfd; /* l_int */
2157 uarg[2] = (intptr_t)p->newname; /* const char * */
2161 /* linux_readlinkat */
2163 struct linux_readlinkat_args *p = params;
2164 iarg[0] = p->dfd; /* l_int */
2165 uarg[1] = (intptr_t)p->path; /* const char * */
2166 uarg[2] = (intptr_t)p->buf; /* char * */
2167 iarg[3] = p->bufsiz; /* l_int */
2171 /* linux_fchmodat */
2173 struct linux_fchmodat_args *p = params;
2174 iarg[0] = p->dfd; /* l_int */
2175 uarg[1] = (intptr_t)p->filename; /* const char * */
2176 iarg[2] = p->mode; /* l_mode_t */
2180 /* linux_faccessat */
2182 struct linux_faccessat_args *p = params;
2183 iarg[0] = p->dfd; /* l_int */
2184 uarg[1] = (intptr_t)p->filename; /* const char * */
2185 iarg[2] = p->amode; /* l_int */
2189 /* linux_pselect6 */
2191 struct linux_pselect6_args *p = params;
2192 iarg[0] = p->nfds; /* l_int */
2193 uarg[1] = (intptr_t)p->readfds; /* l_fd_set * */
2194 uarg[2] = (intptr_t)p->writefds; /* l_fd_set * */
2195 uarg[3] = (intptr_t)p->exceptfds; /* l_fd_set * */
2196 uarg[4] = (intptr_t)p->tsp; /* struct l_timespec * */
2197 uarg[5] = (intptr_t)p->sig; /* l_uintptr_t * */
2203 struct linux_ppoll_args *p = params;
2204 uarg[0] = (intptr_t)p->fds; /* struct pollfd * */
2205 uarg[1] = p->nfds; /* uint32_t */
2206 uarg[2] = (intptr_t)p->tsp; /* struct l_timespec * */
2207 uarg[3] = (intptr_t)p->sset; /* l_sigset_t * */
2208 iarg[4] = p->ssize; /* l_size_t */
2217 /* linux_set_robust_list */
2219 struct linux_set_robust_list_args *p = params;
2220 uarg[0] = (intptr_t)p->head; /* struct linux_robust_list_head * */
2221 iarg[1] = p->len; /* l_size_t */
2225 /* linux_get_robust_list */
2227 struct linux_get_robust_list_args *p = params;
2228 iarg[0] = p->pid; /* l_int */
2229 uarg[1] = (intptr_t)p->head; /* struct linux_robust_list_head ** */
2230 uarg[2] = (intptr_t)p->len; /* l_size_t * */
2239 /* linux_sync_file_range */
2241 struct linux_sync_file_range_args *p = params;
2242 iarg[0] = p->fd; /* l_int */
2243 iarg[1] = p->offset; /* l_loff_t */
2244 iarg[2] = p->nbytes; /* l_loff_t */
2245 uarg[3] = p->flags; /* unsigned int */
2254 /* linux_vmsplice */
2259 /* linux_move_pages */
2266 struct linux_getcpu_args *p = params;
2267 uarg[0] = (intptr_t)p->cpu; /* l_uint * */
2268 uarg[1] = (intptr_t)p->node; /* l_uint * */
2269 uarg[2] = (intptr_t)p->cache; /* void * */
2273 /* linux_epoll_pwait */
2275 struct linux_epoll_pwait_args *p = params;
2276 iarg[0] = p->epfd; /* l_int */
2277 uarg[1] = (intptr_t)p->events; /* struct epoll_event * */
2278 iarg[2] = p->maxevents; /* l_int */
2279 iarg[3] = p->timeout; /* l_int */
2280 uarg[4] = (intptr_t)p->mask; /* l_sigset_t * */
2284 /* linux_kexec_load */
2289 /* linux_utimensat */
2291 struct linux_utimensat_args *p = params;
2292 iarg[0] = p->dfd; /* l_int */
2293 uarg[1] = (intptr_t)p->pathname; /* const char * */
2294 uarg[2] = (intptr_t)p->times; /* const struct l_timespec * */
2295 iarg[3] = p->flags; /* l_int */
2299 /* linux_signalfd */
2304 /* linux_timerfd_create */
2311 struct linux_eventfd_args *p = params;
2312 iarg[0] = p->initval; /* l_uint */
2316 /* linux_fallocate */
2318 struct linux_fallocate_args *p = params;
2319 iarg[0] = p->fd; /* l_int */
2320 iarg[1] = p->mode; /* l_int */
2321 iarg[2] = p->offset; /* l_loff_t */
2322 iarg[3] = p->len; /* l_loff_t */
2326 /* linux_timerfd_settime */
2331 /* linux_timerfd_gettime */
2336 /* linux_signalfd4 */
2341 /* linux_eventfd2 */
2343 struct linux_eventfd2_args *p = params;
2344 iarg[0] = p->initval; /* l_uint */
2345 iarg[1] = p->flags; /* l_int */
2349 /* linux_epoll_create1 */
2351 struct linux_epoll_create1_args *p = params;
2352 iarg[0] = p->flags; /* l_int */
2358 struct linux_dup3_args *p = params;
2359 iarg[0] = p->oldfd; /* l_int */
2360 iarg[1] = p->newfd; /* l_int */
2361 iarg[2] = p->flags; /* l_int */
2367 struct linux_pipe2_args *p = params;
2368 uarg[0] = (intptr_t)p->pipefds; /* l_int * */
2369 iarg[1] = p->flags; /* l_int */
2373 /* linux_inotify_init1 */
2388 /* linux_rt_tsigqueueinfo */
2393 /* linux_perf_event_open */
2398 /* linux_recvmmsg */
2400 struct linux_recvmmsg_args *p = params;
2401 iarg[0] = p->s; /* l_int */
2402 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2403 iarg[2] = p->vlen; /* l_uint */
2404 iarg[3] = p->flags; /* l_uint */
2405 uarg[4] = (intptr_t)p->timeout; /* struct l_timespec * */
2411 struct linux_accept4_args *p = params;
2412 iarg[0] = p->s; /* l_int */
2413 iarg[1] = p->addr; /* l_uintptr_t */
2414 iarg[2] = p->namelen; /* l_uintptr_t */
2415 iarg[3] = p->flags; /* int */
2419 /* linux_fanotify_init */
2424 /* linux_fanotify_mark */
2429 /* linux_prlimit64 */
2431 struct linux_prlimit64_args *p = params;
2432 iarg[0] = p->pid; /* l_pid_t */
2433 iarg[1] = p->resource; /* l_uint */
2434 uarg[2] = (intptr_t)p->new; /* struct rlimit * */
2435 uarg[3] = (intptr_t)p->old; /* struct rlimit * */
2439 /* linux_name_to_handle_at */
2444 /* linux_open_by_handle_at */
2449 /* linux_clock_adjtime */
2456 struct linux_syncfs_args *p = params;
2457 iarg[0] = p->fd; /* l_int */
2461 /* linux_sendmmsg */
2463 struct linux_sendmmsg_args *p = params;
2464 iarg[0] = p->s; /* l_int */
2465 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2466 iarg[2] = p->vlen; /* l_uint */
2467 iarg[3] = p->flags; /* l_uint */
2476 /* linux_process_vm_readv */
2481 /* linux_process_vm_writev */
2488 struct linux_set_tls_args *p = params;
2489 uarg[0] = (intptr_t)p->tls; /* void* */
2499 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2501 const char *p = NULL;
2503 #define nosys linux_nosys
2524 p = "userland char *";
2540 p = "userland char *";
2553 p = "userland char *";
2579 p = "userland char *";
2592 p = "userland char *";
2595 p = "userland char *";
2605 p = "userland char *";
2615 p = "userland char *";
2618 p = "userland char **";
2621 p = "userland char **";
2631 p = "userland char *";
2641 p = "userland char *";
2657 p = "userland char *";
2666 /* linux_lchown16 */
2670 p = "userland char *";
2705 p = "userland char *";
2708 p = "userland char *";
2711 p = "userland char *";
2717 p = "userland void *";
2723 /* linux_setuid16 */
2733 /* linux_getuid16 */
2743 p = "userland char *";
2782 p = "userland char *";
2785 p = "userland char *";
2795 p = "userland char *";
2808 p = "userland char *";
2828 p = "userland l_int *";
2838 p = "userland struct l_times_argv *";
2854 /* linux_setgid16 */
2864 /* linux_getgid16 */
2867 /* linux_geteuid16 */
2870 /* linux_getegid16 */
2877 p = "userland char *";
2887 p = "userland char *";
2955 p = "userland char *";
2968 p = "userland struct l_ustat *";
2996 /* linux_sigaction */
3003 p = "userland l_osigaction_t *";
3006 p = "userland l_osigaction_t *";
3012 /* linux_setreuid16 */
3025 /* linux_setregid16 */
3038 /* linux_sigsuspend */
3054 /* linux_sigpending */
3058 p = "userland l_osigset_t *";
3064 /* linux_sethostname */
3068 p = "userland char *";
3077 /* linux_setrlimit */
3084 p = "userland struct l_rlimit *";
3097 p = "userland struct rusage *";
3103 /* linux_gettimeofday */
3107 p = "userland struct timeval32 *";
3110 p = "userland struct timezone *";
3116 /* linux_settimeofday */
3120 p = "userland struct timeval32 *";
3123 p = "userland struct timezone *";
3129 /* linux_getgroups16 */
3136 p = "userland l_gid16_t *";
3142 /* linux_setgroups16 */
3149 p = "userland l_gid16_t *";
3159 p = "userland char *";
3162 p = "userland char *";
3168 /* linux_readlink */
3172 p = "userland char *";
3175 p = "userland char *";
3188 p = "userland char *";
3207 p = "userland void *";
3226 /* linux_truncate */
3230 p = "userland char *";
3239 /* linux_ftruncate */
3281 /* linux_getpriority */
3314 p = "userland char *";
3317 p = "userland struct l_statfs_buf *";
3330 p = "userland struct l_statfs_buf *";
3343 p = "userland char *";
3352 /* linux_setitimer */
3359 p = "userland struct l_itimerval *";
3362 p = "userland struct l_itimerval *";
3368 /* linux_getitimer */
3375 p = "userland struct l_itimerval *";
3385 p = "userland char *";
3388 p = "userland struct l_newstat *";
3394 /* linux_newlstat */
3398 p = "userland char *";
3401 p = "userland struct l_newstat *";
3407 /* linux_newfstat */
3414 p = "userland struct l_newstat *";
3430 p = "userland l_int *";
3436 p = "userland void *";
3449 p = "userland struct l_sysinfo *";
3465 /* linux_sigreturn */
3469 p = "userland struct l_sigframe *";
3485 p = "userland l_int *";
3491 p = "userland l_int *";
3497 /* linux_setdomainname */
3501 p = "userland char *";
3510 /* linux_newuname */
3514 p = "userland struct l_new_utsname *";
3520 /* linux_adjtimex */
3523 /* linux_mprotect */
3539 /* linux_sigprocmask */
3546 p = "userland l_osigset_t *";
3549 p = "userland l_osigset_t *";
3555 /* linux_init_module */
3558 /* linux_delete_module */
3561 /* linux_quotactl */
3603 /* linux_personality */
3613 /* linux_setfsuid16 */
3623 /* linux_setfsgid16 */
3646 p = "userland l_loff_t *";
3655 /* linux_getdents */
3662 p = "userland void *";
3678 p = "userland l_fd_set *";
3681 p = "userland l_fd_set *";
3684 p = "userland l_fd_set *";
3687 p = "userland struct l_timeval *";
3729 p = "userland struct iovec *";
3745 p = "userland struct iovec *";
3764 /* linux_fdatasync */
3778 p = "userland struct l___sysctl_args *";
3788 p = "userland const void *";
3801 p = "userland const void *";
3823 /* linux_sched_setparam */
3830 p = "userland struct sched_param *";
3836 /* linux_sched_getparam */
3843 p = "userland struct sched_param *";
3849 /* linux_sched_setscheduler */
3859 p = "userland struct sched_param *";
3865 /* linux_sched_getscheduler */
3878 /* linux_sched_get_priority_max */
3888 /* linux_sched_get_priority_min */
3898 /* linux_sched_rr_get_interval */
3905 p = "userland struct l_timespec *";
3911 /* linux_nanosleep */
3915 p = "userland const struct l_timespec *";
3918 p = "userland struct l_timespec *";
3946 /* linux_setresuid16 */
3962 /* linux_getresuid16 */
3966 p = "userland l_uid16_t *";
3969 p = "userland l_uid16_t *";
3972 p = "userland l_uid16_t *";
3982 p = "userland struct pollfd*";
3994 /* linux_setresgid16 */
4010 /* linux_getresgid16 */
4014 p = "userland l_gid16_t *";
4017 p = "userland l_gid16_t *";
4020 p = "userland l_gid16_t *";
4048 /* linux_rt_sigreturn */
4052 p = "userland struct l_ucontext *";
4058 /* linux_rt_sigaction */
4065 p = "userland l_sigaction_t *";
4068 p = "userland l_sigaction_t *";
4077 /* linux_rt_sigprocmask */
4084 p = "userland l_sigset_t *";
4087 p = "userland l_sigset_t *";
4096 /* linux_rt_sigpending */
4100 p = "userland l_sigset_t *";
4109 /* linux_rt_sigtimedwait */
4113 p = "userland l_sigset_t *";
4116 p = "userland l_siginfo_t *";
4119 p = "userland struct l_timespec *";
4128 /* linux_rt_sigqueueinfo */
4138 p = "userland l_siginfo_t *";
4144 /* linux_rt_sigsuspend */
4148 p = "userland l_sigset_t *";
4164 p = "userland char *";
4183 p = "userland char *";
4199 p = "userland char *";
4215 p = "userland char *";
4228 p = "userland struct l_user_cap_header *";
4231 p = "userland struct l_user_cap_data *";
4241 p = "userland struct l_user_cap_header *";
4244 p = "userland struct l_user_cap_data *";
4250 /* linux_sigaltstack */
4254 p = "userland l_stack_t *";
4257 p = "userland l_stack_t *";
4263 /* linux_sendfile */
4273 p = "userland l_long *";
4285 /* linux_getrlimit */
4292 p = "userland struct l_rlimit *";
4323 /* linux_truncate64 */
4327 p = "userland char *";
4336 /* linux_ftruncate64 */
4353 p = "userland const char *";
4356 p = "userland struct l_stat64 *";
4366 p = "userland const char *";
4369 p = "userland struct l_stat64 *";
4382 p = "userland struct l_stat64 *";
4392 p = "userland char *";
4442 /* linux_getgroups */
4449 p = "userland l_gid_t *";
4455 /* linux_setgroups */
4462 p = "userland l_gid_t *";
4491 p = "userland uid_t *";
4494 p = "userland uid_t *";
4497 p = "userland uid_t *";
4523 p = "userland gid_t *";
4526 p = "userland gid_t *";
4529 p = "userland gid_t *";
4539 p = "userland char *";
4571 /* linux_setfsuid */
4581 /* linux_setfsgid */
4591 /* linux_getdents64 */
4598 p = "userland void *";
4607 /* linux_pivot_root */
4611 p = "userland char *";
4614 p = "userland char *";
4630 p = "userland u_char *";
4640 p = "userland void *";
4671 /* linux_setxattr */
4674 /* linux_lsetxattr */
4677 /* linux_fsetxattr */
4680 /* linux_getxattr */
4683 /* linux_lgetxattr */
4686 /* linux_fgetxattr */
4689 /* linux_listxattr */
4692 /* linux_llistxattr */
4695 /* linux_flistxattr */
4698 /* linux_removexattr */
4701 /* linux_lremovexattr */
4704 /* linux_fremovexattr */
4720 /* linux_sendfile64 */
4730 p = "userland l_loff_t *";
4739 /* linux_sys_futex */
4743 p = "userland uint32_t *";
4752 p = "userland struct l_timespec *";
4755 p = "userland uint32_t *";
4764 /* linux_sched_setaffinity */
4774 p = "userland l_ulong *";
4780 /* linux_sched_getaffinity */
4790 p = "userland l_ulong *";
4796 /* linux_exit_group */
4806 /* linux_lookup_dcookie */
4809 /* linux_epoll_create */
4819 /* linux_epoll_ctl */
4832 p = "userland struct epoll_event *";
4838 /* linux_epoll_wait */
4845 p = "userland struct epoll_event *";
4857 /* linux_remap_file_pages */
4860 /* linux_set_tid_address */
4864 p = "userland int *";
4870 /* linux_timer_create */
4877 p = "userland struct sigevent *";
4880 p = "userland l_timer_t *";
4886 /* linux_timer_settime */
4896 p = "userland const struct itimerspec *";
4899 p = "userland struct itimerspec *";
4905 /* linux_timer_gettime */
4912 p = "userland struct itimerspec *";
4918 /* linux_timer_getoverrun */
4928 /* linux_timer_delete */
4938 /* linux_clock_settime */
4945 p = "userland struct l_timespec *";
4951 /* linux_clock_gettime */
4958 p = "userland struct l_timespec *";
4964 /* linux_clock_getres */
4971 p = "userland struct l_timespec *";
4977 /* linux_clock_nanosleep */
4987 p = "userland struct l_timespec *";
4990 p = "userland struct l_timespec *";
4996 /* linux_statfs64 */
5000 p = "userland char *";
5006 p = "userland struct l_statfs64_buf *";
5012 /* linux_fstatfs64 */
5022 p = "userland struct l_statfs64_buf *";
5048 p = "userland char *";
5051 p = "userland struct l_timeval *";
5057 /* linux_fadvise64_64 */
5080 p = "userland const char *";
5089 p = "userland struct mq_attr *";
5095 /* linux_mq_unlink */
5099 p = "userland const char *";
5105 /* linux_mq_timedsend */
5112 p = "userland const char *";
5121 p = "userland const struct l_timespec *";
5127 /* linux_mq_timedreceive */
5134 p = "userland char *";
5143 p = "userland const struct l_timespec *";
5149 /* linux_mq_notify */
5156 p = "userland const struct l_timespec *";
5162 /* linux_mq_getsetattr */
5169 p = "userland const struct mq_attr *";
5172 p = "userland struct mq_attr *";
5188 p = "userland l_siginfo_t *";
5194 p = "userland void *";
5277 /* linux_getsockname */
5293 /* linux_getpeername */
5309 /* linux_socketpair */
5391 /* linux_recvfrom */
5416 /* linux_shutdown */
5429 /* linux_setsockopt */
5451 /* linux_getsockopt */
5512 p = "userland struct l_sembuf *";
5550 p = "union l_semun";
5563 p = "userland struct l_msgbuf *";
5582 p = "userland struct l_msgbuf *";
5620 p = "userland struct l_msqid_ds *";
5633 p = "userland char *";
5646 p = "userland char *";
5678 p = "userland struct l_shmid_ds *";
5687 /* linux_request_key */
5693 /* linux_ioprio_set */
5696 /* linux_ioprio_get */
5699 /* linux_inotify_init */
5702 /* linux_inotify_add_watch */
5705 /* linux_inotify_rm_watch */
5711 /* linux_get_mempolicy */
5714 /* linux_set_mempolicy */
5724 p = "userland const char *";
5743 p = "userland const char *";
5759 p = "userland const char *";
5771 /* linux_fchownat */
5778 p = "userland const char *";
5793 /* linux_futimesat */
5800 p = "userland char *";
5803 p = "userland struct l_timeval *";
5809 /* linux_fstatat64 */
5816 p = "userland char *";
5819 p = "userland struct l_stat64 *";
5828 /* linux_unlinkat */
5835 p = "userland const char *";
5844 /* linux_renameat */
5851 p = "userland const char *";
5857 p = "userland const char *";
5870 p = "userland const char *";
5876 p = "userland const char *";
5885 /* linux_symlinkat */
5889 p = "userland const char *";
5895 p = "userland const char *";
5901 /* linux_readlinkat */
5908 p = "userland const char *";
5911 p = "userland char *";
5920 /* linux_fchmodat */
5927 p = "userland const char *";
5936 /* linux_faccessat */
5943 p = "userland const char *";
5952 /* linux_pselect6 */
5959 p = "userland l_fd_set *";
5962 p = "userland l_fd_set *";
5965 p = "userland l_fd_set *";
5968 p = "userland struct l_timespec *";
5971 p = "userland l_uintptr_t *";
5981 p = "userland struct pollfd *";
5987 p = "userland struct l_timespec *";
5990 p = "userland l_sigset_t *";
6002 /* linux_set_robust_list */
6006 p = "userland struct linux_robust_list_head *";
6015 /* linux_get_robust_list */
6022 p = "userland struct linux_robust_list_head **";
6025 p = "userland l_size_t *";
6034 /* linux_sync_file_range */
6056 /* linux_vmsplice */
6059 /* linux_move_pages */
6066 p = "userland l_uint *";
6069 p = "userland l_uint *";
6072 p = "userland void *";
6078 /* linux_epoll_pwait */
6085 p = "userland struct epoll_event *";
6094 p = "userland l_sigset_t *";
6100 /* linux_kexec_load */
6103 /* linux_utimensat */
6110 p = "userland const char *";
6113 p = "userland const struct l_timespec *";
6122 /* linux_signalfd */
6125 /* linux_timerfd_create */
6138 /* linux_fallocate */
6157 /* linux_timerfd_settime */
6160 /* linux_timerfd_gettime */
6163 /* linux_signalfd4 */
6166 /* linux_eventfd2 */
6179 /* linux_epoll_create1 */
6209 p = "userland l_int *";
6218 /* linux_inotify_init1 */
6227 /* linux_rt_tsigqueueinfo */
6230 /* linux_perf_event_open */
6233 /* linux_recvmmsg */
6240 p = "userland struct l_mmsghdr *";
6249 p = "userland struct l_timespec *";
6274 /* linux_fanotify_init */
6277 /* linux_fanotify_mark */
6280 /* linux_prlimit64 */
6290 p = "userland struct rlimit *";
6293 p = "userland struct rlimit *";
6299 /* linux_name_to_handle_at */
6302 /* linux_open_by_handle_at */
6305 /* linux_clock_adjtime */
6318 /* linux_sendmmsg */
6325 p = "userland struct l_mmsghdr *";
6340 /* linux_process_vm_readv */
6343 /* linux_process_vm_writev */
6350 p = "userland void*";
6360 strlcpy(desc, p, descsz);
6363 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6365 const char *p = NULL;
6367 #define nosys linux_nosys
6370 if (ndx == 0 || ndx == 1)
6377 if (ndx == 0 || ndx == 1)
6382 if (ndx == 0 || ndx == 1)
6387 if (ndx == 0 || ndx == 1)
6392 if (ndx == 0 || ndx == 1)
6397 if (ndx == 0 || ndx == 1)
6402 if (ndx == 0 || ndx == 1)
6407 if (ndx == 0 || ndx == 1)
6412 if (ndx == 0 || ndx == 1)
6417 if (ndx == 0 || ndx == 1)
6422 if (ndx == 0 || ndx == 1)
6427 if (ndx == 0 || ndx == 1)
6430 /* linux_lchown16 */
6432 if (ndx == 0 || ndx == 1)
6437 if (ndx == 0 || ndx == 1)
6444 if (ndx == 0 || ndx == 1)
6447 /* linux_setuid16 */
6449 if (ndx == 0 || ndx == 1)
6452 /* linux_getuid16 */
6458 if (ndx == 0 || ndx == 1)
6463 if (ndx == 0 || ndx == 1)
6470 if (ndx == 0 || ndx == 1)
6475 if (ndx == 0 || ndx == 1)
6480 if (ndx == 0 || ndx == 1)
6485 if (ndx == 0 || ndx == 1)
6490 if (ndx == 0 || ndx == 1)
6495 if (ndx == 0 || ndx == 1)
6500 if (ndx == 0 || ndx == 1)
6505 if (ndx == 0 || ndx == 1)
6508 /* linux_setgid16 */
6510 if (ndx == 0 || ndx == 1)
6513 /* linux_getgid16 */
6515 /* linux_geteuid16 */
6517 /* linux_getegid16 */
6521 if (ndx == 0 || ndx == 1)
6526 if (ndx == 0 || ndx == 1)
6531 if (ndx == 0 || ndx == 1)
6536 if (ndx == 0 || ndx == 1)
6541 if (ndx == 0 || ndx == 1)
6546 if (ndx == 0 || ndx == 1)
6551 if (ndx == 0 || ndx == 1)
6556 if (ndx == 0 || ndx == 1)
6561 if (ndx == 0 || ndx == 1)
6570 /* linux_sigaction */
6572 if (ndx == 0 || ndx == 1)
6575 /* linux_setreuid16 */
6577 if (ndx == 0 || ndx == 1)
6580 /* linux_setregid16 */
6582 if (ndx == 0 || ndx == 1)
6585 /* linux_sigsuspend */
6587 if (ndx == 0 || ndx == 1)
6590 /* linux_sigpending */
6592 if (ndx == 0 || ndx == 1)
6595 /* linux_sethostname */
6597 if (ndx == 0 || ndx == 1)
6600 /* linux_setrlimit */
6602 if (ndx == 0 || ndx == 1)
6607 if (ndx == 0 || ndx == 1)
6610 /* linux_gettimeofday */
6612 if (ndx == 0 || ndx == 1)
6615 /* linux_settimeofday */
6617 if (ndx == 0 || ndx == 1)
6620 /* linux_getgroups16 */
6622 if (ndx == 0 || ndx == 1)
6625 /* linux_setgroups16 */
6627 if (ndx == 0 || ndx == 1)
6632 if (ndx == 0 || ndx == 1)
6635 /* linux_readlink */
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_truncate */
6657 if (ndx == 0 || ndx == 1)
6660 /* linux_ftruncate */
6662 if (ndx == 0 || ndx == 1)
6667 if (ndx == 0 || ndx == 1)
6672 if (ndx == 0 || ndx == 1)
6675 /* linux_getpriority */
6677 if (ndx == 0 || ndx == 1)
6682 if (ndx == 0 || ndx == 1)
6687 if (ndx == 0 || ndx == 1)
6692 if (ndx == 0 || ndx == 1)
6697 if (ndx == 0 || ndx == 1)
6700 /* linux_setitimer */
6702 if (ndx == 0 || ndx == 1)
6705 /* linux_getitimer */
6707 if (ndx == 0 || ndx == 1)
6712 if (ndx == 0 || ndx == 1)
6715 /* linux_newlstat */
6717 if (ndx == 0 || ndx == 1)
6720 /* linux_newfstat */
6722 if (ndx == 0 || ndx == 1)
6729 if (ndx == 0 || ndx == 1)
6736 if (ndx == 0 || ndx == 1)
6741 if (ndx == 0 || ndx == 1)
6744 /* linux_sigreturn */
6746 if (ndx == 0 || ndx == 1)
6751 if (ndx == 0 || ndx == 1)
6754 /* linux_setdomainname */
6756 if (ndx == 0 || ndx == 1)
6759 /* linux_newuname */
6761 if (ndx == 0 || ndx == 1)
6764 /* linux_adjtimex */
6766 /* linux_mprotect */
6768 if (ndx == 0 || ndx == 1)
6771 /* linux_sigprocmask */
6773 if (ndx == 0 || ndx == 1)
6776 /* linux_init_module */
6778 /* linux_delete_module */
6780 /* linux_quotactl */
6784 if (ndx == 0 || ndx == 1)
6789 if (ndx == 0 || ndx == 1)
6796 if (ndx == 0 || ndx == 1)
6799 /* linux_personality */
6801 if (ndx == 0 || ndx == 1)
6804 /* linux_setfsuid16 */
6806 if (ndx == 0 || ndx == 1)
6809 /* linux_setfsgid16 */
6811 if (ndx == 0 || ndx == 1)
6816 if (ndx == 0 || ndx == 1)
6819 /* linux_getdents */
6821 if (ndx == 0 || ndx == 1)
6826 if (ndx == 0 || ndx == 1)
6831 if (ndx == 0 || ndx == 1)
6836 if (ndx == 0 || ndx == 1)
6841 if (ndx == 0 || ndx == 1)
6846 if (ndx == 0 || ndx == 1)
6851 if (ndx == 0 || ndx == 1)
6854 /* linux_fdatasync */
6856 if (ndx == 0 || ndx == 1)
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 /* linux_sched_setparam */
6883 if (ndx == 0 || ndx == 1)
6886 /* linux_sched_getparam */
6888 if (ndx == 0 || ndx == 1)
6891 /* linux_sched_setscheduler */
6893 if (ndx == 0 || ndx == 1)
6896 /* linux_sched_getscheduler */
6898 if (ndx == 0 || ndx == 1)
6903 /* linux_sched_get_priority_max */
6905 if (ndx == 0 || ndx == 1)
6908 /* linux_sched_get_priority_min */
6910 if (ndx == 0 || ndx == 1)
6913 /* linux_sched_rr_get_interval */
6915 if (ndx == 0 || ndx == 1)
6918 /* linux_nanosleep */
6920 if (ndx == 0 || ndx == 1)
6925 if (ndx == 0 || ndx == 1)
6928 /* linux_setresuid16 */
6930 if (ndx == 0 || ndx == 1)
6933 /* linux_getresuid16 */
6935 if (ndx == 0 || ndx == 1)
6940 if (ndx == 0 || ndx == 1)
6943 /* linux_setresgid16 */
6945 if (ndx == 0 || ndx == 1)
6948 /* linux_getresgid16 */
6950 if (ndx == 0 || ndx == 1)
6955 if (ndx == 0 || ndx == 1)
6958 /* linux_rt_sigreturn */
6960 if (ndx == 0 || ndx == 1)
6963 /* linux_rt_sigaction */
6965 if (ndx == 0 || ndx == 1)
6968 /* linux_rt_sigprocmask */
6970 if (ndx == 0 || ndx == 1)
6973 /* linux_rt_sigpending */
6975 if (ndx == 0 || ndx == 1)
6978 /* linux_rt_sigtimedwait */
6980 if (ndx == 0 || ndx == 1)
6983 /* linux_rt_sigqueueinfo */
6985 if (ndx == 0 || ndx == 1)
6988 /* linux_rt_sigsuspend */
6990 if (ndx == 0 || ndx == 1)
6995 if (ndx == 0 || ndx == 1)
7000 if (ndx == 0 || ndx == 1)
7005 if (ndx == 0 || ndx == 1)
7010 if (ndx == 0 || ndx == 1)
7015 if (ndx == 0 || ndx == 1)
7020 if (ndx == 0 || ndx == 1)
7023 /* linux_sigaltstack */
7025 if (ndx == 0 || ndx == 1)
7028 /* linux_sendfile */
7030 if (ndx == 0 || ndx == 1)
7035 /* linux_getrlimit */
7037 if (ndx == 0 || ndx == 1)
7042 if (ndx == 0 || ndx == 1)
7045 /* linux_truncate64 */
7047 if (ndx == 0 || ndx == 1)
7050 /* linux_ftruncate64 */
7052 if (ndx == 0 || ndx == 1)
7057 if (ndx == 0 || ndx == 1)
7062 if (ndx == 0 || ndx == 1)
7067 if (ndx == 0 || ndx == 1)
7072 if (ndx == 0 || ndx == 1)
7085 if (ndx == 0 || ndx == 1)
7090 if (ndx == 0 || ndx == 1)
7093 /* linux_getgroups */
7095 if (ndx == 0 || ndx == 1)
7098 /* linux_setgroups */
7100 if (ndx == 0 || ndx == 1)
7107 if (ndx == 0 || ndx == 1)
7112 if (ndx == 0 || ndx == 1)
7117 if (ndx == 0 || ndx == 1)
7122 if (ndx == 0 || ndx == 1)
7127 if (ndx == 0 || ndx == 1)
7132 if (ndx == 0 || ndx == 1)
7137 if (ndx == 0 || ndx == 1)
7140 /* linux_setfsuid */
7142 if (ndx == 0 || ndx == 1)
7145 /* linux_setfsgid */
7147 if (ndx == 0 || ndx == 1)
7150 /* linux_getdents64 */
7152 if (ndx == 0 || ndx == 1)
7155 /* linux_pivot_root */
7157 if (ndx == 0 || ndx == 1)
7162 if (ndx == 0 || ndx == 1)
7167 if (ndx == 0 || ndx == 1)
7172 if (ndx == 0 || ndx == 1)
7177 /* linux_setxattr */
7179 /* linux_lsetxattr */
7181 /* linux_fsetxattr */
7183 /* linux_getxattr */
7185 /* linux_lgetxattr */
7187 /* linux_fgetxattr */
7189 /* linux_listxattr */
7191 /* linux_llistxattr */
7193 /* linux_flistxattr */
7195 /* linux_removexattr */
7197 /* linux_lremovexattr */
7199 /* linux_fremovexattr */
7203 if (ndx == 0 || ndx == 1)
7206 /* linux_sendfile64 */
7208 if (ndx == 0 || ndx == 1)
7211 /* linux_sys_futex */
7213 if (ndx == 0 || ndx == 1)
7216 /* linux_sched_setaffinity */
7218 if (ndx == 0 || ndx == 1)
7221 /* linux_sched_getaffinity */
7223 if (ndx == 0 || ndx == 1)
7226 /* linux_exit_group */
7228 if (ndx == 0 || ndx == 1)
7231 /* linux_lookup_dcookie */
7233 /* linux_epoll_create */
7235 if (ndx == 0 || ndx == 1)
7238 /* linux_epoll_ctl */
7240 if (ndx == 0 || ndx == 1)
7243 /* linux_epoll_wait */
7245 if (ndx == 0 || ndx == 1)
7248 /* linux_remap_file_pages */
7250 /* linux_set_tid_address */
7252 if (ndx == 0 || ndx == 1)
7255 /* linux_timer_create */
7257 if (ndx == 0 || ndx == 1)
7260 /* linux_timer_settime */
7262 if (ndx == 0 || ndx == 1)
7265 /* linux_timer_gettime */
7267 if (ndx == 0 || ndx == 1)
7270 /* linux_timer_getoverrun */
7272 if (ndx == 0 || ndx == 1)
7275 /* linux_timer_delete */
7277 if (ndx == 0 || ndx == 1)
7280 /* linux_clock_settime */
7282 if (ndx == 0 || ndx == 1)
7285 /* linux_clock_gettime */
7287 if (ndx == 0 || ndx == 1)
7290 /* linux_clock_getres */
7292 if (ndx == 0 || ndx == 1)
7295 /* linux_clock_nanosleep */
7297 if (ndx == 0 || ndx == 1)
7300 /* linux_statfs64 */
7302 if (ndx == 0 || ndx == 1)
7305 /* linux_fstatfs64 */
7307 if (ndx == 0 || ndx == 1)
7312 if (ndx == 0 || ndx == 1)
7317 if (ndx == 0 || ndx == 1)
7320 /* linux_fadvise64_64 */
7322 if (ndx == 0 || ndx == 1)
7327 if (ndx == 0 || ndx == 1)
7330 /* linux_mq_unlink */
7332 if (ndx == 0 || ndx == 1)
7335 /* linux_mq_timedsend */
7337 if (ndx == 0 || ndx == 1)
7340 /* linux_mq_timedreceive */
7342 if (ndx == 0 || ndx == 1)
7345 /* linux_mq_notify */
7347 if (ndx == 0 || ndx == 1)
7350 /* linux_mq_getsetattr */
7352 if (ndx == 0 || ndx == 1)
7357 if (ndx == 0 || ndx == 1)
7362 if (ndx == 0 || ndx == 1)
7367 if (ndx == 0 || ndx == 1)
7372 if (ndx == 0 || ndx == 1)
7377 if (ndx == 0 || ndx == 1)
7382 if (ndx == 0 || ndx == 1)
7385 /* linux_getsockname */
7387 if (ndx == 0 || ndx == 1)
7390 /* linux_getpeername */
7392 if (ndx == 0 || ndx == 1)
7395 /* linux_socketpair */
7397 if (ndx == 0 || ndx == 1)
7402 if (ndx == 0 || ndx == 1)
7407 if (ndx == 0 || ndx == 1)
7412 if (ndx == 0 || ndx == 1)
7415 /* linux_recvfrom */
7417 if (ndx == 0 || ndx == 1)
7420 /* linux_shutdown */
7422 if (ndx == 0 || ndx == 1)
7425 /* linux_setsockopt */
7427 if (ndx == 0 || ndx == 1)
7430 /* linux_getsockopt */
7432 if (ndx == 0 || ndx == 1)
7437 if (ndx == 0 || ndx == 1)
7442 if (ndx == 0 || ndx == 1)
7447 if (ndx == 0 || ndx == 1)
7452 if (ndx == 0 || ndx == 1)
7457 if (ndx == 0 || ndx == 1)
7462 if (ndx == 0 || ndx == 1)
7467 if (ndx == 0 || ndx == 1)
7472 if (ndx == 0 || ndx == 1)
7477 if (ndx == 0 || ndx == 1)
7482 if (ndx == 0 || ndx == 1)
7487 if (ndx == 0 || ndx == 1)
7492 if (ndx == 0 || ndx == 1)
7497 if (ndx == 0 || ndx == 1)
7502 /* linux_request_key */
7506 /* linux_ioprio_set */
7508 /* linux_ioprio_get */
7510 /* linux_inotify_init */
7512 /* linux_inotify_add_watch */
7514 /* linux_inotify_rm_watch */
7518 /* linux_get_mempolicy */
7520 /* linux_set_mempolicy */
7524 if (ndx == 0 || ndx == 1)
7529 if (ndx == 0 || ndx == 1)
7534 if (ndx == 0 || ndx == 1)
7537 /* linux_fchownat */
7539 if (ndx == 0 || ndx == 1)
7542 /* linux_futimesat */
7544 if (ndx == 0 || ndx == 1)
7547 /* linux_fstatat64 */
7549 if (ndx == 0 || ndx == 1)
7552 /* linux_unlinkat */
7554 if (ndx == 0 || ndx == 1)
7557 /* linux_renameat */
7559 if (ndx == 0 || ndx == 1)
7564 if (ndx == 0 || ndx == 1)
7567 /* linux_symlinkat */
7569 if (ndx == 0 || ndx == 1)
7572 /* linux_readlinkat */
7574 if (ndx == 0 || ndx == 1)
7577 /* linux_fchmodat */
7579 if (ndx == 0 || ndx == 1)
7582 /* linux_faccessat */
7584 if (ndx == 0 || ndx == 1)
7587 /* linux_pselect6 */
7589 if (ndx == 0 || ndx == 1)
7594 if (ndx == 0 || ndx == 1)
7599 /* linux_set_robust_list */
7601 if (ndx == 0 || ndx == 1)
7604 /* linux_get_robust_list */
7606 if (ndx == 0 || ndx == 1)
7611 /* linux_sync_file_range */
7613 if (ndx == 0 || ndx == 1)
7618 /* linux_vmsplice */
7620 /* linux_move_pages */
7624 if (ndx == 0 || ndx == 1)
7627 /* linux_epoll_pwait */
7629 if (ndx == 0 || ndx == 1)
7632 /* linux_kexec_load */
7634 /* linux_utimensat */
7636 if (ndx == 0 || ndx == 1)
7639 /* linux_signalfd */
7641 /* linux_timerfd_create */
7645 if (ndx == 0 || ndx == 1)
7648 /* linux_fallocate */
7650 if (ndx == 0 || ndx == 1)
7653 /* linux_timerfd_settime */
7655 /* linux_timerfd_gettime */
7657 /* linux_signalfd4 */
7659 /* linux_eventfd2 */
7661 if (ndx == 0 || ndx == 1)
7664 /* linux_epoll_create1 */
7666 if (ndx == 0 || ndx == 1)
7671 if (ndx == 0 || ndx == 1)
7676 if (ndx == 0 || ndx == 1)
7679 /* linux_inotify_init1 */
7685 /* linux_rt_tsigqueueinfo */
7687 /* linux_perf_event_open */
7689 /* linux_recvmmsg */
7691 if (ndx == 0 || ndx == 1)
7696 if (ndx == 0 || ndx == 1)
7699 /* linux_fanotify_init */
7701 /* linux_fanotify_mark */
7703 /* linux_prlimit64 */
7705 if (ndx == 0 || ndx == 1)
7708 /* linux_name_to_handle_at */
7710 /* linux_open_by_handle_at */
7712 /* linux_clock_adjtime */
7716 if (ndx == 0 || ndx == 1)
7719 /* linux_sendmmsg */
7721 if (ndx == 0 || ndx == 1)
7726 /* linux_process_vm_readv */
7728 /* linux_process_vm_writev */
7732 if (ndx == 0 || ndx == 1)
7739 strlcpy(desc, p, descsz);