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_exit_args *p = params;
18 iarg[0] = p->rval; /* int */
29 struct read_args *p = params;
30 iarg[0] = p->fd; /* int */
31 uarg[1] = (intptr_t) p->buf; /* char * */
32 uarg[2] = p->nbyte; /* u_int */
38 struct write_args *p = params;
39 iarg[0] = p->fd; /* int */
40 uarg[1] = (intptr_t) p->buf; /* char * */
41 uarg[2] = p->nbyte; /* u_int */
47 struct linux_open_args *p = params;
48 uarg[0] = (intptr_t) p->path; /* char * */
49 iarg[1] = p->flags; /* l_int */
50 iarg[2] = p->mode; /* l_int */
56 struct close_args *p = params;
57 iarg[0] = p->fd; /* int */
63 struct linux_creat_args *p = params;
64 uarg[0] = (intptr_t) p->path; /* char * */
65 iarg[1] = p->mode; /* l_int */
71 struct linux_link_args *p = params;
72 uarg[0] = (intptr_t) p->path; /* char * */
73 uarg[1] = (intptr_t) p->to; /* char * */
79 struct linux_unlink_args *p = params;
80 uarg[0] = (intptr_t) p->path; /* char * */
86 struct linux_execve_args *p = params;
87 uarg[0] = (intptr_t) p->path; /* char * */
88 uarg[1] = (intptr_t) p->argp; /* char ** */
89 uarg[2] = (intptr_t) p->envp; /* char ** */
95 struct linux_chdir_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
102 struct linux_mknod_args *p = params;
103 uarg[0] = (intptr_t) p->path; /* char * */
104 iarg[1] = p->mode; /* l_int */
105 iarg[2] = p->dev; /* l_dev_t */
111 struct linux_chmod_args *p = params;
112 uarg[0] = (intptr_t) p->path; /* char * */
113 iarg[1] = p->mode; /* l_mode_t */
119 struct linux_lchown16_args *p = params;
120 uarg[0] = (intptr_t) p->path; /* char * */
121 iarg[1] = p->uid; /* l_uid16_t */
122 iarg[2] = p->gid; /* l_gid16_t */
128 struct linux_lseek_args *p = params;
129 iarg[0] = p->fdes; /* l_uint */
130 iarg[1] = p->off; /* l_off_t */
131 iarg[2] = p->whence; /* l_int */
142 struct linux_mount_args *p = params;
143 uarg[0] = (intptr_t) p->specialfile; /* char * */
144 uarg[1] = (intptr_t) p->dir; /* char * */
145 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
146 iarg[3] = p->rwflag; /* l_ulong */
147 uarg[4] = (intptr_t) p->data; /* void * */
153 struct linux_setuid16_args *p = params;
154 iarg[0] = p->uid; /* l_uid16_t */
170 struct linux_access_args *p = params;
171 uarg[0] = (intptr_t) p->path; /* char * */
172 iarg[1] = p->amode; /* l_int */
178 struct linux_nice_args *p = params;
179 iarg[0] = p->inc; /* l_int */
190 struct linux_kill_args *p = params;
191 iarg[0] = p->pid; /* l_int */
192 iarg[1] = p->signum; /* l_int */
198 struct linux_rename_args *p = params;
199 uarg[0] = (intptr_t) p->from; /* char * */
200 uarg[1] = (intptr_t) p->to; /* char * */
206 struct linux_mkdir_args *p = params;
207 uarg[0] = (intptr_t) p->path; /* char * */
208 iarg[1] = p->mode; /* l_int */
214 struct linux_rmdir_args *p = params;
215 uarg[0] = (intptr_t) p->path; /* char * */
221 struct dup_args *p = params;
222 uarg[0] = p->fd; /* u_int */
228 struct linux_pipe_args *p = params;
229 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
235 struct linux_times_args *p = params;
236 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
242 struct linux_brk_args *p = params;
243 iarg[0] = p->dsend; /* l_ulong */
249 struct linux_setgid16_args *p = params;
250 iarg[0] = p->gid; /* l_gid16_t */
259 /* linux_geteuid16 */
264 /* linux_getegid16 */
271 struct acct_args *p = params;
272 uarg[0] = (intptr_t) p->path; /* char * */
278 struct linux_umount_args *p = params;
279 uarg[0] = (intptr_t) p->path; /* char * */
280 iarg[1] = p->flags; /* l_int */
286 struct linux_ioctl_args *p = params;
287 iarg[0] = p->fd; /* l_uint */
288 iarg[1] = p->cmd; /* l_uint */
289 iarg[2] = p->arg; /* l_ulong */
295 struct linux_fcntl_args *p = params;
296 iarg[0] = p->fd; /* l_uint */
297 iarg[1] = p->cmd; /* l_uint */
298 iarg[2] = p->arg; /* l_ulong */
304 struct setpgid_args *p = params;
305 iarg[0] = p->pid; /* int */
306 iarg[1] = p->pgid; /* int */
312 struct umask_args *p = params;
313 iarg[0] = p->newmask; /* int */
319 struct chroot_args *p = params;
320 uarg[0] = (intptr_t) p->path; /* char * */
326 struct linux_ustat_args *p = params;
327 iarg[0] = p->dev; /* l_dev_t */
328 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
334 struct dup2_args *p = params;
335 uarg[0] = p->from; /* u_int */
336 uarg[1] = p->to; /* u_int */
355 /* linux_sigaction */
357 struct linux_sigaction_args *p = params;
358 iarg[0] = p->sig; /* l_int */
359 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
360 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
364 /* linux_setreuid16 */
366 struct linux_setreuid16_args *p = params;
367 iarg[0] = p->ruid; /* l_uid16_t */
368 iarg[1] = p->euid; /* l_uid16_t */
372 /* linux_setregid16 */
374 struct linux_setregid16_args *p = params;
375 iarg[0] = p->rgid; /* l_gid16_t */
376 iarg[1] = p->egid; /* l_gid16_t */
380 /* linux_sigsuspend */
382 struct linux_sigsuspend_args *p = params;
383 iarg[0] = p->hist0; /* l_int */
384 iarg[1] = p->hist1; /* l_int */
385 iarg[2] = p->mask; /* l_osigset_t */
389 /* linux_sigpending */
391 struct linux_sigpending_args *p = params;
392 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
396 /* linux_sethostname */
398 struct linux_sethostname_args *p = params;
399 uarg[0] = (intptr_t) p->hostname; /* char * */
400 uarg[1] = p->len; /* u_int */
404 /* linux_setrlimit */
406 struct linux_setrlimit_args *p = params;
407 iarg[0] = p->resource; /* l_uint */
408 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
414 struct getrusage_args *p = params;
415 iarg[0] = p->who; /* int */
416 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
420 /* linux_gettimeofday */
422 struct linux_gettimeofday_args *p = params;
423 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
424 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
428 /* linux_settimeofday */
430 struct linux_settimeofday_args *p = params;
431 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
432 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
436 /* linux_getgroups16 */
438 struct linux_getgroups16_args *p = params;
439 iarg[0] = p->gidsetsize; /* l_uint */
440 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
444 /* linux_setgroups16 */
446 struct linux_setgroups16_args *p = params;
447 iarg[0] = p->gidsetsize; /* l_uint */
448 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
454 struct linux_symlink_args *p = params;
455 uarg[0] = (intptr_t) p->path; /* char * */
456 uarg[1] = (intptr_t) p->to; /* char * */
462 struct linux_readlink_args *p = params;
463 uarg[0] = (intptr_t) p->name; /* char * */
464 uarg[1] = (intptr_t) p->buf; /* char * */
465 iarg[2] = p->count; /* l_int */
471 struct swapon_args *p = params;
472 uarg[0] = (intptr_t) p->name; /* char * */
478 struct linux_reboot_args *p = params;
479 iarg[0] = p->magic1; /* l_int */
480 iarg[1] = p->magic2; /* l_int */
481 iarg[2] = p->cmd; /* l_uint */
482 uarg[3] = (intptr_t) p->arg; /* void * */
488 struct munmap_args *p = params;
489 uarg[0] = (intptr_t) p->addr; /* caddr_t */
490 iarg[1] = p->len; /* int */
496 struct linux_truncate_args *p = params;
497 uarg[0] = (intptr_t) p->path; /* char * */
498 iarg[1] = p->length; /* l_ulong */
502 /* linux_ftruncate */
504 struct linux_ftruncate_args *p = params;
505 iarg[0] = p->fd; /* int */
506 iarg[1] = p->length; /* long */
512 struct fchmod_args *p = params;
513 iarg[0] = p->fd; /* int */
514 iarg[1] = p->mode; /* int */
520 struct fchown_args *p = params;
521 iarg[0] = p->fd; /* int */
522 iarg[1] = p->uid; /* int */
523 iarg[2] = p->gid; /* int */
527 /* linux_getpriority */
529 struct linux_getpriority_args *p = params;
530 iarg[0] = p->which; /* int */
531 iarg[1] = p->who; /* int */
537 struct setpriority_args *p = params;
538 iarg[0] = p->which; /* int */
539 iarg[1] = p->who; /* int */
540 iarg[2] = p->prio; /* int */
546 struct linux_statfs_args *p = params;
547 uarg[0] = (intptr_t) p->path; /* char * */
548 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
554 struct linux_fstatfs_args *p = params;
555 iarg[0] = p->fd; /* l_uint */
556 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
562 struct linux_syslog_args *p = params;
563 iarg[0] = p->type; /* l_int */
564 uarg[1] = (intptr_t) p->buf; /* char * */
565 iarg[2] = p->len; /* l_int */
569 /* linux_setitimer */
571 struct linux_setitimer_args *p = params;
572 iarg[0] = p->which; /* l_int */
573 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
574 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
578 /* linux_getitimer */
580 struct linux_getitimer_args *p = params;
581 iarg[0] = p->which; /* l_int */
582 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
588 struct linux_newstat_args *p = params;
589 uarg[0] = (intptr_t) p->path; /* char * */
590 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
596 struct linux_newlstat_args *p = params;
597 uarg[0] = (intptr_t) p->path; /* char * */
598 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
604 struct linux_newfstat_args *p = params;
605 iarg[0] = p->fd; /* l_uint */
606 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
617 struct linux_wait4_args *p = params;
618 iarg[0] = p->pid; /* l_pid_t */
619 uarg[1] = (intptr_t) p->status; /* l_int * */
620 iarg[2] = p->options; /* l_int */
621 uarg[3] = (intptr_t) p->rusage; /* void * */
632 struct linux_sysinfo_args *p = params;
633 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
639 struct fsync_args *p = params;
640 iarg[0] = p->fd; /* int */
644 /* linux_sigreturn */
646 struct linux_sigreturn_args *p = params;
647 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
653 struct linux_clone_args *p = params;
654 iarg[0] = p->flags; /* l_int */
655 uarg[1] = (intptr_t) p->stack; /* void * */
656 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
657 uarg[3] = (intptr_t) p->tls; /* void * */
658 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
662 /* linux_setdomainname */
664 struct linux_setdomainname_args *p = params;
665 uarg[0] = (intptr_t) p->name; /* char * */
666 iarg[1] = p->len; /* int */
672 struct linux_newuname_args *p = params;
673 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
684 struct linux_mprotect_args *p = params;
685 uarg[0] = (intptr_t) p->addr; /* caddr_t */
686 iarg[1] = p->len; /* int */
687 iarg[2] = p->prot; /* int */
691 /* linux_sigprocmask */
693 struct linux_sigprocmask_args *p = params;
694 iarg[0] = p->how; /* l_int */
695 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
696 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
700 /* linux_init_module */
705 /* linux_delete_module */
717 struct getpgid_args *p = params;
718 iarg[0] = p->pid; /* int */
724 struct fchdir_args *p = params;
725 iarg[0] = p->fd; /* int */
736 struct linux_sysfs_args *p = params;
737 iarg[0] = p->option; /* l_int */
738 iarg[1] = p->arg1; /* l_ulong */
739 iarg[2] = p->arg2; /* l_ulong */
743 /* linux_personality */
745 struct linux_personality_args *p = params;
746 iarg[0] = p->per; /* l_ulong */
750 /* linux_setfsuid16 */
752 struct linux_setfsuid16_args *p = params;
753 iarg[0] = p->uid; /* l_uid16_t */
757 /* linux_setfsgid16 */
759 struct linux_setfsgid16_args *p = params;
760 iarg[0] = p->gid; /* l_gid16_t */
766 struct linux_llseek_args *p = params;
767 iarg[0] = p->fd; /* l_int */
768 iarg[1] = p->ohigh; /* l_ulong */
769 iarg[2] = p->olow; /* l_ulong */
770 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
771 iarg[4] = p->whence; /* l_uint */
777 struct linux_getdents_args *p = params;
778 iarg[0] = p->fd; /* l_uint */
779 uarg[1] = (intptr_t) p->dent; /* void * */
780 iarg[2] = p->count; /* l_uint */
786 struct linux_select_args *p = params;
787 iarg[0] = p->nfds; /* l_int */
788 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
789 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
790 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
791 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
797 struct flock_args *p = params;
798 iarg[0] = p->fd; /* int */
799 iarg[1] = p->how; /* int */
805 struct linux_msync_args *p = params;
806 iarg[0] = p->addr; /* l_ulong */
807 iarg[1] = p->len; /* l_size_t */
808 iarg[2] = p->fl; /* l_int */
814 struct readv_args *p = params;
815 iarg[0] = p->fd; /* int */
816 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
817 uarg[2] = p->iovcnt; /* u_int */
823 struct writev_args *p = params;
824 iarg[0] = p->fd; /* int */
825 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
826 uarg[2] = p->iovcnt; /* u_int */
832 struct linux_getsid_args *p = params;
833 iarg[0] = p->pid; /* l_pid_t */
837 /* linux_fdatasync */
839 struct linux_fdatasync_args *p = params;
840 iarg[0] = p->fd; /* l_uint */
846 struct linux_sysctl_args *p = params;
847 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
853 struct mlock_args *p = params;
854 uarg[0] = (intptr_t) p->addr; /* const void * */
855 uarg[1] = p->len; /* size_t */
861 struct munlock_args *p = params;
862 uarg[0] = (intptr_t) p->addr; /* const void * */
863 uarg[1] = p->len; /* size_t */
869 struct mlockall_args *p = params;
870 iarg[0] = p->how; /* int */
879 /* linux_sched_setparam */
881 struct linux_sched_setparam_args *p = params;
882 iarg[0] = p->pid; /* l_pid_t */
883 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
887 /* linux_sched_getparam */
889 struct linux_sched_getparam_args *p = params;
890 iarg[0] = p->pid; /* l_pid_t */
891 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
895 /* linux_sched_setscheduler */
897 struct linux_sched_setscheduler_args *p = params;
898 iarg[0] = p->pid; /* l_pid_t */
899 iarg[1] = p->policy; /* l_int */
900 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
904 /* linux_sched_getscheduler */
906 struct linux_sched_getscheduler_args *p = params;
907 iarg[0] = p->pid; /* l_pid_t */
916 /* linux_sched_get_priority_max */
918 struct linux_sched_get_priority_max_args *p = params;
919 iarg[0] = p->policy; /* l_int */
923 /* linux_sched_get_priority_min */
925 struct linux_sched_get_priority_min_args *p = params;
926 iarg[0] = p->policy; /* l_int */
930 /* linux_sched_rr_get_interval */
932 struct linux_sched_rr_get_interval_args *p = params;
933 iarg[0] = p->pid; /* l_pid_t */
934 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
938 /* linux_nanosleep */
940 struct linux_nanosleep_args *p = params;
941 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
942 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
948 struct linux_mremap_args *p = params;
949 iarg[0] = p->addr; /* l_ulong */
950 iarg[1] = p->old_len; /* l_ulong */
951 iarg[2] = p->new_len; /* l_ulong */
952 iarg[3] = p->flags; /* l_ulong */
953 iarg[4] = p->new_addr; /* l_ulong */
957 /* linux_setresuid16 */
959 struct linux_setresuid16_args *p = params;
960 iarg[0] = p->ruid; /* l_uid16_t */
961 iarg[1] = p->euid; /* l_uid16_t */
962 iarg[2] = p->suid; /* l_uid16_t */
966 /* linux_getresuid16 */
968 struct linux_getresuid16_args *p = params;
969 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
970 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
971 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
977 struct poll_args *p = params;
978 uarg[0] = (intptr_t) p->fds; /* struct pollfd* */
979 uarg[1] = p->nfds; /* unsigned int */
980 iarg[2] = p->timeout; /* long */
984 /* linux_setresgid16 */
986 struct linux_setresgid16_args *p = params;
987 iarg[0] = p->rgid; /* l_gid16_t */
988 iarg[1] = p->egid; /* l_gid16_t */
989 iarg[2] = p->sgid; /* l_gid16_t */
993 /* linux_getresgid16 */
995 struct linux_getresgid16_args *p = params;
996 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
997 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
998 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1004 struct linux_prctl_args *p = params;
1005 iarg[0] = p->option; /* l_int */
1006 iarg[1] = p->arg2; /* l_int */
1007 iarg[2] = p->arg3; /* l_int */
1008 iarg[3] = p->arg4; /* l_int */
1009 iarg[4] = p->arg5; /* l_int */
1013 /* linux_rt_sigreturn */
1015 struct linux_rt_sigreturn_args *p = params;
1016 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1020 /* linux_rt_sigaction */
1022 struct linux_rt_sigaction_args *p = params;
1023 iarg[0] = p->sig; /* l_int */
1024 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1025 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1026 iarg[3] = p->sigsetsize; /* l_size_t */
1030 /* linux_rt_sigprocmask */
1032 struct linux_rt_sigprocmask_args *p = params;
1033 iarg[0] = p->how; /* l_int */
1034 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1035 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1036 iarg[3] = p->sigsetsize; /* l_size_t */
1040 /* linux_rt_sigpending */
1042 struct linux_rt_sigpending_args *p = params;
1043 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1044 iarg[1] = p->sigsetsize; /* l_size_t */
1048 /* linux_rt_sigtimedwait */
1050 struct linux_rt_sigtimedwait_args *p = params;
1051 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1052 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1053 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1054 iarg[3] = p->sigsetsize; /* l_size_t */
1058 /* linux_rt_sigqueueinfo */
1060 struct linux_rt_sigqueueinfo_args *p = params;
1061 iarg[0] = p->pid; /* l_pid_t */
1062 iarg[1] = p->sig; /* l_int */
1063 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1067 /* linux_rt_sigsuspend */
1069 struct linux_rt_sigsuspend_args *p = params;
1070 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1071 iarg[1] = p->sigsetsize; /* l_size_t */
1077 struct linux_pread_args *p = params;
1078 iarg[0] = p->fd; /* l_uint */
1079 uarg[1] = (intptr_t) p->buf; /* char * */
1080 iarg[2] = p->nbyte; /* l_size_t */
1081 iarg[3] = p->offset; /* l_loff_t */
1087 struct linux_pwrite_args *p = params;
1088 iarg[0] = p->fd; /* l_uint */
1089 uarg[1] = (intptr_t) p->buf; /* char * */
1090 iarg[2] = p->nbyte; /* l_size_t */
1091 iarg[3] = p->offset; /* l_loff_t */
1097 struct linux_chown16_args *p = params;
1098 uarg[0] = (intptr_t) p->path; /* char * */
1099 iarg[1] = p->uid; /* l_uid16_t */
1100 iarg[2] = p->gid; /* l_gid16_t */
1106 struct linux_getcwd_args *p = params;
1107 uarg[0] = (intptr_t) p->buf; /* char * */
1108 iarg[1] = p->bufsize; /* l_ulong */
1114 struct linux_capget_args *p = params;
1115 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1116 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1122 struct linux_capset_args *p = params;
1123 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1124 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1128 /* linux_sigaltstack */
1130 struct linux_sigaltstack_args *p = params;
1131 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1132 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1136 /* linux_sendfile */
1138 struct linux_sendfile_args *p = params;
1139 iarg[0] = p->out; /* l_int */
1140 iarg[1] = p->in; /* l_int */
1141 uarg[2] = (intptr_t) p->offset; /* l_long * */
1142 iarg[3] = p->count; /* l_size_t */
1151 /* linux_getrlimit */
1153 struct linux_getrlimit_args *p = params;
1154 iarg[0] = p->resource; /* l_uint */
1155 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1161 struct linux_mmap2_args *p = params;
1162 iarg[0] = p->addr; /* l_ulong */
1163 iarg[1] = p->len; /* l_ulong */
1164 iarg[2] = p->prot; /* l_ulong */
1165 iarg[3] = p->flags; /* l_ulong */
1166 iarg[4] = p->fd; /* l_ulong */
1167 iarg[5] = p->pgoff; /* l_ulong */
1171 /* linux_truncate64 */
1173 struct linux_truncate64_args *p = params;
1174 uarg[0] = (intptr_t) p->path; /* char * */
1175 iarg[1] = p->length; /* l_loff_t */
1179 /* linux_ftruncate64 */
1181 struct linux_ftruncate64_args *p = params;
1182 iarg[0] = p->fd; /* l_uint */
1183 iarg[1] = p->length; /* l_loff_t */
1189 struct linux_stat64_args *p = params;
1190 uarg[0] = (intptr_t) p->filename; /* const char * */
1191 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1197 struct linux_lstat64_args *p = params;
1198 uarg[0] = (intptr_t) p->filename; /* const char * */
1199 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1205 struct linux_fstat64_args *p = params;
1206 iarg[0] = p->fd; /* l_int */
1207 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1213 struct linux_lchown_args *p = params;
1214 uarg[0] = (intptr_t) p->path; /* char * */
1215 iarg[1] = p->uid; /* l_uid_t */
1216 iarg[2] = p->gid; /* l_gid_t */
1242 struct setreuid_args *p = params;
1243 uarg[0] = p->ruid; /* uid_t */
1244 uarg[1] = p->euid; /* uid_t */
1250 struct setregid_args *p = params;
1251 iarg[0] = p->rgid; /* gid_t */
1252 iarg[1] = p->egid; /* gid_t */
1256 /* linux_getgroups */
1258 struct linux_getgroups_args *p = params;
1259 iarg[0] = p->gidsetsize; /* l_int */
1260 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1264 /* linux_setgroups */
1266 struct linux_setgroups_args *p = params;
1267 iarg[0] = p->gidsetsize; /* l_int */
1268 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1279 struct setresuid_args *p = params;
1280 uarg[0] = p->ruid; /* uid_t */
1281 uarg[1] = p->euid; /* uid_t */
1282 uarg[2] = p->suid; /* uid_t */
1288 struct getresuid_args *p = params;
1289 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1290 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1291 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1297 struct setresgid_args *p = params;
1298 iarg[0] = p->rgid; /* gid_t */
1299 iarg[1] = p->egid; /* gid_t */
1300 iarg[2] = p->sgid; /* gid_t */
1306 struct getresgid_args *p = params;
1307 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1308 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1309 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1315 struct linux_chown_args *p = params;
1316 uarg[0] = (intptr_t) p->path; /* char * */
1317 iarg[1] = p->uid; /* l_uid_t */
1318 iarg[2] = p->gid; /* l_gid_t */
1324 struct setuid_args *p = params;
1325 uarg[0] = p->uid; /* uid_t */
1331 struct setgid_args *p = params;
1332 iarg[0] = p->gid; /* gid_t */
1336 /* linux_setfsuid */
1338 struct linux_setfsuid_args *p = params;
1339 iarg[0] = p->uid; /* l_uid_t */
1343 /* linux_setfsgid */
1345 struct linux_setfsgid_args *p = params;
1346 iarg[0] = p->gid; /* l_gid_t */
1350 /* linux_getdents64 */
1352 struct linux_getdents64_args *p = params;
1353 iarg[0] = p->fd; /* l_uint */
1354 uarg[1] = (intptr_t) p->dirent; /* void * */
1355 iarg[2] = p->count; /* l_uint */
1359 /* linux_pivot_root */
1361 struct linux_pivot_root_args *p = params;
1362 uarg[0] = (intptr_t) p->new_root; /* char * */
1363 uarg[1] = (intptr_t) p->put_old; /* char * */
1369 struct linux_mincore_args *p = params;
1370 iarg[0] = p->start; /* l_ulong */
1371 iarg[1] = p->len; /* l_size_t */
1372 uarg[2] = (intptr_t) p->vec; /* u_char * */
1378 struct madvise_args *p = params;
1379 uarg[0] = (intptr_t) p->addr; /* void * */
1380 uarg[1] = p->len; /* size_t */
1381 iarg[2] = p->behav; /* int */
1387 struct linux_fcntl64_args *p = params;
1388 iarg[0] = p->fd; /* l_uint */
1389 iarg[1] = p->cmd; /* l_uint */
1390 iarg[2] = p->arg; /* l_ulong */
1399 /* linux_setxattr */
1404 /* linux_lsetxattr */
1409 /* linux_fsetxattr */
1414 /* linux_getxattr */
1419 /* linux_lgetxattr */
1424 /* linux_fgetxattr */
1429 /* linux_listxattr */
1434 /* linux_llistxattr */
1439 /* linux_flistxattr */
1444 /* linux_removexattr */
1449 /* linux_lremovexattr */
1454 /* linux_fremovexattr */
1461 struct linux_tkill_args *p = params;
1462 iarg[0] = p->tid; /* int */
1463 iarg[1] = p->sig; /* int */
1467 /* linux_sendfile64 */
1469 struct linux_sendfile64_args *p = params;
1470 iarg[0] = p->out; /* l_int */
1471 iarg[1] = p->in; /* l_int */
1472 uarg[2] = (intptr_t) p->offset; /* l_loff_t * */
1473 iarg[3] = p->count; /* l_size_t */
1477 /* linux_sys_futex */
1479 struct linux_sys_futex_args *p = params;
1480 uarg[0] = (intptr_t) p->uaddr; /* void * */
1481 iarg[1] = p->op; /* int */
1482 uarg[2] = p->val; /* uint32_t */
1483 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1484 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1485 uarg[5] = p->val3; /* uint32_t */
1489 /* linux_sched_setaffinity */
1491 struct linux_sched_setaffinity_args *p = params;
1492 iarg[0] = p->pid; /* l_pid_t */
1493 iarg[1] = p->len; /* l_uint */
1494 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1498 /* linux_sched_getaffinity */
1500 struct linux_sched_getaffinity_args *p = params;
1501 iarg[0] = p->pid; /* l_pid_t */
1502 iarg[1] = p->len; /* l_uint */
1503 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1507 /* linux_exit_group */
1509 struct linux_exit_group_args *p = params;
1510 iarg[0] = p->error_code; /* int */
1514 /* linux_lookup_dcookie */
1519 /* linux_epoll_create */
1521 struct linux_epoll_create_args *p = params;
1522 iarg[0] = p->size; /* l_int */
1526 /* linux_epoll_ctl */
1528 struct linux_epoll_ctl_args *p = params;
1529 iarg[0] = p->epfd; /* l_int */
1530 iarg[1] = p->op; /* l_int */
1531 iarg[2] = p->fd; /* l_int */
1532 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1536 /* linux_epoll_wait */
1538 struct linux_epoll_wait_args *p = params;
1539 iarg[0] = p->epfd; /* l_int */
1540 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1541 iarg[2] = p->maxevents; /* l_int */
1542 iarg[3] = p->timeout; /* l_int */
1546 /* linux_remap_file_pages */
1551 /* linux_set_tid_address */
1553 struct linux_set_tid_address_args *p = params;
1554 uarg[0] = (intptr_t) p->tidptr; /* int * */
1558 /* linux_timer_create */
1560 struct linux_timer_create_args *p = params;
1561 iarg[0] = p->clock_id; /* clockid_t */
1562 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1563 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1567 /* linux_timer_settime */
1569 struct linux_timer_settime_args *p = params;
1570 iarg[0] = p->timerid; /* l_timer_t */
1571 iarg[1] = p->flags; /* l_int */
1572 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1573 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1577 /* linux_timer_gettime */
1579 struct linux_timer_gettime_args *p = params;
1580 iarg[0] = p->timerid; /* l_timer_t */
1581 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1585 /* linux_timer_getoverrun */
1587 struct linux_timer_getoverrun_args *p = params;
1588 iarg[0] = p->timerid; /* l_timer_t */
1592 /* linux_timer_delete */
1594 struct linux_timer_delete_args *p = params;
1595 iarg[0] = p->timerid; /* l_timer_t */
1599 /* linux_clock_settime */
1601 struct linux_clock_settime_args *p = params;
1602 iarg[0] = p->which; /* clockid_t */
1603 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1607 /* linux_clock_gettime */
1609 struct linux_clock_gettime_args *p = params;
1610 iarg[0] = p->which; /* clockid_t */
1611 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1615 /* linux_clock_getres */
1617 struct linux_clock_getres_args *p = params;
1618 iarg[0] = p->which; /* clockid_t */
1619 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1623 /* linux_clock_nanosleep */
1625 struct linux_clock_nanosleep_args *p = params;
1626 iarg[0] = p->which; /* clockid_t */
1627 iarg[1] = p->flags; /* int */
1628 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1629 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1633 /* linux_statfs64 */
1635 struct linux_statfs64_args *p = params;
1636 uarg[0] = (intptr_t) p->path; /* char * */
1637 uarg[1] = p->bufsize; /* size_t */
1638 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1642 /* linux_fstatfs64 */
1644 struct linux_fstatfs64_args *p = params;
1645 iarg[0] = p->fd; /* l_uint */
1646 uarg[1] = p->bufsize; /* size_t */
1647 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1653 struct linux_tgkill_args *p = params;
1654 iarg[0] = p->tgid; /* int */
1655 iarg[1] = p->pid; /* int */
1656 iarg[2] = p->sig; /* int */
1662 struct linux_utimes_args *p = params;
1663 uarg[0] = (intptr_t) p->fname; /* char * */
1664 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1668 /* linux_fadvise64_64 */
1670 struct linux_fadvise64_64_args *p = params;
1671 iarg[0] = p->fd; /* int */
1672 iarg[1] = p->offset; /* l_loff_t */
1673 iarg[2] = p->len; /* l_loff_t */
1674 iarg[3] = p->advice; /* int */
1680 struct linux_mq_open_args *p = params;
1681 uarg[0] = (intptr_t) p->name; /* const char * */
1682 iarg[1] = p->oflag; /* int */
1683 iarg[2] = p->mode; /* mode_t */
1684 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1688 /* linux_mq_unlink */
1690 struct linux_mq_unlink_args *p = params;
1691 uarg[0] = (intptr_t) p->name; /* const char * */
1695 /* linux_mq_timedsend */
1697 struct linux_mq_timedsend_args *p = params;
1698 iarg[0] = p->mqd; /* l_mqd_t */
1699 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1700 uarg[2] = p->msg_len; /* size_t */
1701 uarg[3] = p->msg_prio; /* unsigned int */
1702 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1706 /* linux_mq_timedreceive */
1708 struct linux_mq_timedreceive_args *p = params;
1709 iarg[0] = p->mqd; /* l_mqd_t */
1710 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1711 uarg[2] = p->msg_len; /* size_t */
1712 uarg[3] = p->msg_prio; /* unsigned int */
1713 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1717 /* linux_mq_notify */
1719 struct linux_mq_notify_args *p = params;
1720 iarg[0] = p->mqd; /* l_mqd_t */
1721 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1725 /* linux_mq_getsetattr */
1727 struct linux_mq_getsetattr_args *p = params;
1728 iarg[0] = p->mqd; /* l_mqd_t */
1729 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1730 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1736 struct linux_waitid_args *p = params;
1737 iarg[0] = p->idtype; /* int */
1738 iarg[1] = p->id; /* l_pid_t */
1739 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1740 iarg[3] = p->options; /* int */
1741 uarg[4] = (intptr_t) p->rusage; /* void * */
1747 struct linux_socket_args *p = params;
1748 iarg[0] = p->domain; /* l_int */
1749 iarg[1] = p->type; /* l_int */
1750 iarg[2] = p->protocol; /* l_int */
1756 struct linux_bind_args *p = params;
1757 iarg[0] = p->s; /* l_int */
1758 iarg[1] = p->name; /* l_uintptr_t */
1759 iarg[2] = p->namelen; /* l_int */
1765 struct linux_connect_args *p = params;
1766 iarg[0] = p->s; /* l_int */
1767 iarg[1] = p->name; /* l_uintptr_t */
1768 iarg[2] = p->namelen; /* l_int */
1774 struct linux_listen_args *p = params;
1775 iarg[0] = p->s; /* l_int */
1776 iarg[1] = p->backlog; /* l_int */
1782 struct linux_accept_args *p = params;
1783 iarg[0] = p->s; /* l_int */
1784 iarg[1] = p->addr; /* l_uintptr_t */
1785 iarg[2] = p->namelen; /* l_uintptr_t */
1789 /* linux_getsockname */
1791 struct linux_getsockname_args *p = params;
1792 iarg[0] = p->s; /* l_int */
1793 iarg[1] = p->addr; /* l_uintptr_t */
1794 iarg[2] = p->namelen; /* l_uintptr_t */
1798 /* linux_getpeername */
1800 struct linux_getpeername_args *p = params;
1801 iarg[0] = p->s; /* l_int */
1802 iarg[1] = p->addr; /* l_uintptr_t */
1803 iarg[2] = p->namelen; /* l_uintptr_t */
1807 /* linux_socketpair */
1809 struct linux_socketpair_args *p = params;
1810 iarg[0] = p->domain; /* l_int */
1811 iarg[1] = p->type; /* l_int */
1812 iarg[2] = p->protocol; /* l_int */
1813 iarg[3] = p->rsv; /* l_uintptr_t */
1819 struct linux_send_args *p = params;
1820 iarg[0] = p->s; /* int */
1821 iarg[1] = p->msg; /* l_uintptr_t */
1822 iarg[2] = p->len; /* int */
1823 iarg[3] = p->flags; /* int */
1829 struct linux_sendto_args *p = params;
1830 iarg[0] = p->s; /* l_int */
1831 iarg[1] = p->msg; /* l_uintptr_t */
1832 iarg[2] = p->len; /* l_int */
1833 iarg[3] = p->flags; /* l_int */
1834 iarg[4] = p->to; /* l_uintptr_t */
1835 iarg[5] = p->tolen; /* l_int */
1841 struct linux_recv_args *p = params;
1842 iarg[0] = p->s; /* int */
1843 iarg[1] = p->msg; /* l_uintptr_t */
1844 iarg[2] = p->len; /* int */
1845 iarg[3] = p->flags; /* int */
1849 /* linux_recvfrom */
1851 struct linux_recvfrom_args *p = params;
1852 iarg[0] = p->s; /* l_int */
1853 iarg[1] = p->buf; /* l_uintptr_t */
1854 iarg[2] = p->len; /* l_size_t */
1855 iarg[3] = p->flags; /* l_int */
1856 iarg[4] = p->from; /* l_uintptr_t */
1857 iarg[5] = p->fromlen; /* l_uintptr_t */
1861 /* linux_shutdown */
1863 struct linux_shutdown_args *p = params;
1864 iarg[0] = p->s; /* l_int */
1865 iarg[1] = p->how; /* l_int */
1869 /* linux_setsockopt */
1871 struct linux_setsockopt_args *p = params;
1872 iarg[0] = p->s; /* l_int */
1873 iarg[1] = p->level; /* l_int */
1874 iarg[2] = p->optname; /* l_int */
1875 iarg[3] = p->optval; /* l_uintptr_t */
1876 iarg[4] = p->optlen; /* l_int */
1880 /* linux_getsockopt */
1882 struct linux_getsockopt_args *p = params;
1883 iarg[0] = p->s; /* l_int */
1884 iarg[1] = p->level; /* l_int */
1885 iarg[2] = p->optname; /* l_int */
1886 iarg[3] = p->optval; /* l_uintptr_t */
1887 iarg[4] = p->optlen; /* l_uintptr_t */
1893 struct linux_sendmsg_args *p = params;
1894 iarg[0] = p->s; /* l_int */
1895 iarg[1] = p->msg; /* l_uintptr_t */
1896 iarg[2] = p->flags; /* l_int */
1902 struct linux_recvmsg_args *p = params;
1903 iarg[0] = p->s; /* l_int */
1904 iarg[1] = p->msg; /* l_uintptr_t */
1905 iarg[2] = p->flags; /* l_int */
1911 struct linux_semop_args *p = params;
1912 iarg[0] = p->semid; /* l_int */
1913 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */
1914 iarg[2] = p->nsops; /* l_uint */
1920 struct linux_semget_args *p = params;
1921 iarg[0] = p->key; /* l_key_t */
1922 iarg[1] = p->nsems; /* l_int */
1923 iarg[2] = p->semflg; /* l_int */
1929 struct linux_semctl_args *p = params;
1930 iarg[0] = p->semid; /* l_int */
1931 iarg[1] = p->semnum; /* l_int */
1932 iarg[2] = p->cmd; /* l_int */
1933 uarg[3] = p->arg.buf; /* union l_semun */
1939 struct linux_msgsnd_args *p = params;
1940 iarg[0] = p->msqid; /* l_int */
1941 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1942 iarg[2] = p->msgsz; /* l_size_t */
1943 iarg[3] = p->msgflg; /* l_int */
1949 struct linux_msgrcv_args *p = params;
1950 iarg[0] = p->msqid; /* l_int */
1951 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1952 iarg[2] = p->msgsz; /* l_size_t */
1953 iarg[3] = p->msgtyp; /* l_long */
1954 iarg[4] = p->msgflg; /* l_int */
1960 struct linux_msgget_args *p = params;
1961 iarg[0] = p->key; /* l_key_t */
1962 iarg[1] = p->msgflg; /* l_int */
1968 struct linux_msgctl_args *p = params;
1969 iarg[0] = p->msqid; /* l_int */
1970 iarg[1] = p->cmd; /* l_int */
1971 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
1977 struct linux_shmat_args *p = params;
1978 iarg[0] = p->shmid; /* l_int */
1979 uarg[1] = (intptr_t) p->shmaddr; /* char * */
1980 iarg[2] = p->shmflg; /* l_int */
1986 struct linux_shmdt_args *p = params;
1987 uarg[0] = (intptr_t) p->shmaddr; /* char * */
1993 struct linux_shmget_args *p = params;
1994 iarg[0] = p->key; /* l_key_t */
1995 iarg[1] = p->size; /* l_size_t */
1996 iarg[2] = p->shmflg; /* l_int */
2002 struct linux_shmctl_args *p = params;
2003 iarg[0] = p->shmid; /* l_int */
2004 iarg[1] = p->cmd; /* l_int */
2005 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
2014 /* linux_request_key */
2024 /* linux_ioprio_set */
2029 /* linux_ioprio_get */
2034 /* linux_inotify_init */
2039 /* linux_inotify_add_watch */
2044 /* linux_inotify_rm_watch */
2054 /* linux_get_mempolicy */
2059 /* linux_set_mempolicy */
2066 struct linux_openat_args *p = params;
2067 iarg[0] = p->dfd; /* l_int */
2068 uarg[1] = (intptr_t) p->filename; /* const char * */
2069 iarg[2] = p->flags; /* l_int */
2070 iarg[3] = p->mode; /* l_int */
2076 struct linux_mkdirat_args *p = params;
2077 iarg[0] = p->dfd; /* l_int */
2078 uarg[1] = (intptr_t) p->pathname; /* const char * */
2079 iarg[2] = p->mode; /* l_int */
2085 struct linux_mknodat_args *p = params;
2086 iarg[0] = p->dfd; /* l_int */
2087 uarg[1] = (intptr_t) p->filename; /* const char * */
2088 iarg[2] = p->mode; /* l_int */
2089 iarg[3] = p->dev; /* l_uint */
2093 /* linux_fchownat */
2095 struct linux_fchownat_args *p = params;
2096 iarg[0] = p->dfd; /* l_int */
2097 uarg[1] = (intptr_t) p->filename; /* const char * */
2098 iarg[2] = p->uid; /* l_uid16_t */
2099 iarg[3] = p->gid; /* l_gid16_t */
2100 iarg[4] = p->flag; /* l_int */
2104 /* linux_futimesat */
2106 struct linux_futimesat_args *p = params;
2107 iarg[0] = p->dfd; /* l_int */
2108 uarg[1] = (intptr_t) p->filename; /* char * */
2109 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2113 /* linux_fstatat64 */
2115 struct linux_fstatat64_args *p = params;
2116 iarg[0] = p->dfd; /* l_int */
2117 uarg[1] = (intptr_t) p->pathname; /* char * */
2118 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2119 iarg[3] = p->flag; /* l_int */
2123 /* linux_unlinkat */
2125 struct linux_unlinkat_args *p = params;
2126 iarg[0] = p->dfd; /* l_int */
2127 uarg[1] = (intptr_t) p->pathname; /* const char * */
2128 iarg[2] = p->flag; /* l_int */
2132 /* linux_renameat */
2134 struct linux_renameat_args *p = params;
2135 iarg[0] = p->olddfd; /* l_int */
2136 uarg[1] = (intptr_t) p->oldname; /* const char * */
2137 iarg[2] = p->newdfd; /* l_int */
2138 uarg[3] = (intptr_t) p->newname; /* const char * */
2144 struct linux_linkat_args *p = params;
2145 iarg[0] = p->olddfd; /* l_int */
2146 uarg[1] = (intptr_t) p->oldname; /* const char * */
2147 iarg[2] = p->newdfd; /* l_int */
2148 uarg[3] = (intptr_t) p->newname; /* const char * */
2149 iarg[4] = p->flag; /* l_int */
2153 /* linux_symlinkat */
2155 struct linux_symlinkat_args *p = params;
2156 uarg[0] = (intptr_t) p->oldname; /* const char * */
2157 iarg[1] = p->newdfd; /* l_int */
2158 uarg[2] = (intptr_t) p->newname; /* const char * */
2162 /* linux_readlinkat */
2164 struct linux_readlinkat_args *p = params;
2165 iarg[0] = p->dfd; /* l_int */
2166 uarg[1] = (intptr_t) p->path; /* const char * */
2167 uarg[2] = (intptr_t) p->buf; /* char * */
2168 iarg[3] = p->bufsiz; /* l_int */
2172 /* linux_fchmodat */
2174 struct linux_fchmodat_args *p = params;
2175 iarg[0] = p->dfd; /* l_int */
2176 uarg[1] = (intptr_t) p->filename; /* const char * */
2177 iarg[2] = p->mode; /* l_mode_t */
2181 /* linux_faccessat */
2183 struct linux_faccessat_args *p = params;
2184 iarg[0] = p->dfd; /* l_int */
2185 uarg[1] = (intptr_t) p->filename; /* const char * */
2186 iarg[2] = p->amode; /* l_int */
2190 /* linux_pselect6 */
2192 struct linux_pselect6_args *p = params;
2193 iarg[0] = p->nfds; /* l_int */
2194 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2195 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2196 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2197 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2198 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2204 struct linux_ppoll_args *p = params;
2205 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2206 uarg[1] = p->nfds; /* uint32_t */
2207 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2208 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2209 iarg[4] = p->ssize; /* l_size_t */
2218 /* linux_set_robust_list */
2220 struct linux_set_robust_list_args *p = params;
2221 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2222 iarg[1] = p->len; /* l_size_t */
2226 /* linux_get_robust_list */
2228 struct linux_get_robust_list_args *p = params;
2229 iarg[0] = p->pid; /* l_int */
2230 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2231 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2240 /* linux_sync_file_range */
2242 struct linux_sync_file_range_args *p = params;
2243 iarg[0] = p->fd; /* l_int */
2244 iarg[1] = p->offset; /* l_loff_t */
2245 iarg[2] = p->nbytes; /* l_loff_t */
2246 uarg[3] = p->flags; /* unsigned int */
2255 /* linux_vmsplice */
2260 /* linux_move_pages */
2267 struct linux_getcpu_args *p = params;
2268 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2269 uarg[1] = (intptr_t) p->node; /* l_uint * */
2270 uarg[2] = (intptr_t) p->cache; /* void * */
2274 /* linux_epoll_pwait */
2276 struct linux_epoll_pwait_args *p = params;
2277 iarg[0] = p->epfd; /* l_int */
2278 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2279 iarg[2] = p->maxevents; /* l_int */
2280 iarg[3] = p->timeout; /* l_int */
2281 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2285 /* linux_kexec_load */
2290 /* linux_utimensat */
2292 struct linux_utimensat_args *p = params;
2293 iarg[0] = p->dfd; /* l_int */
2294 uarg[1] = (intptr_t) p->pathname; /* const char * */
2295 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2296 iarg[3] = p->flags; /* l_int */
2300 /* linux_signalfd */
2305 /* linux_timerfd_create */
2312 struct linux_eventfd_args *p = params;
2313 iarg[0] = p->initval; /* l_uint */
2317 /* linux_fallocate */
2319 struct linux_fallocate_args *p = params;
2320 iarg[0] = p->fd; /* l_int */
2321 iarg[1] = p->mode; /* l_int */
2322 iarg[2] = p->offset; /* l_loff_t */
2323 iarg[3] = p->len; /* l_loff_t */
2327 /* linux_timerfd_settime */
2332 /* linux_timerfd_gettime */
2337 /* linux_signalfd4 */
2342 /* linux_eventfd2 */
2344 struct linux_eventfd2_args *p = params;
2345 iarg[0] = p->initval; /* l_uint */
2346 iarg[1] = p->flags; /* l_int */
2350 /* linux_epoll_create1 */
2352 struct linux_epoll_create1_args *p = params;
2353 iarg[0] = p->flags; /* l_int */
2359 struct linux_dup3_args *p = params;
2360 iarg[0] = p->oldfd; /* l_int */
2361 iarg[1] = p->newfd; /* l_int */
2362 iarg[2] = p->flags; /* l_int */
2368 struct linux_pipe2_args *p = params;
2369 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2370 iarg[1] = p->flags; /* l_int */
2374 /* linux_inotify_init1 */
2389 /* linux_rt_tsigqueueinfo */
2394 /* linux_perf_event_open */
2399 /* linux_recvmmsg */
2401 struct linux_recvmmsg_args *p = params;
2402 iarg[0] = p->s; /* l_int */
2403 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2404 iarg[2] = p->vlen; /* l_uint */
2405 iarg[3] = p->flags; /* l_uint */
2406 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2412 struct linux_accept4_args *p = params;
2413 iarg[0] = p->s; /* l_int */
2414 iarg[1] = p->addr; /* l_uintptr_t */
2415 iarg[2] = p->namelen; /* l_uintptr_t */
2416 iarg[3] = p->flags; /* int */
2420 /* linux_fanotify_init */
2425 /* linux_fanotify_mark */
2430 /* linux_prlimit64 */
2432 struct linux_prlimit64_args *p = params;
2433 iarg[0] = p->pid; /* l_pid_t */
2434 iarg[1] = p->resource; /* l_uint */
2435 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2436 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2440 /* linux_name_to_handle_at */
2445 /* linux_open_by_handle_at */
2450 /* linux_clock_adjtime */
2457 struct linux_syncfs_args *p = params;
2458 iarg[0] = p->fd; /* l_int */
2462 /* linux_sendmmsg */
2464 struct linux_sendmmsg_args *p = params;
2465 iarg[0] = p->s; /* l_int */
2466 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2467 iarg[2] = p->vlen; /* l_uint */
2468 iarg[3] = p->flags; /* l_uint */
2477 /* linux_process_vm_readv */
2482 /* linux_process_vm_writev */
2489 struct linux_set_tls_args *p = params;
2490 uarg[0] = (intptr_t) p->tls; /* void* */
2500 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2502 const char *p = NULL;
2504 #define nosys linux_nosys
2525 p = "userland char *";
2541 p = "userland char *";
2554 p = "userland char *";
2580 p = "userland char *";
2593 p = "userland char *";
2596 p = "userland char *";
2606 p = "userland char *";
2616 p = "userland char *";
2619 p = "userland char **";
2622 p = "userland char **";
2632 p = "userland char *";
2642 p = "userland char *";
2658 p = "userland char *";
2667 /* linux_lchown16 */
2671 p = "userland char *";
2706 p = "userland char *";
2709 p = "userland char *";
2712 p = "userland char *";
2718 p = "userland void *";
2724 /* linux_setuid16 */
2734 /* linux_getuid16 */
2744 p = "userland char *";
2783 p = "userland char *";
2786 p = "userland char *";
2796 p = "userland char *";
2809 p = "userland char *";
2829 p = "userland l_int *";
2839 p = "userland struct l_times_argv *";
2855 /* linux_setgid16 */
2865 /* linux_getgid16 */
2868 /* linux_geteuid16 */
2871 /* linux_getegid16 */
2878 p = "userland char *";
2888 p = "userland char *";
2956 p = "userland char *";
2969 p = "userland struct l_ustat *";
2997 /* linux_sigaction */
3004 p = "userland l_osigaction_t *";
3007 p = "userland l_osigaction_t *";
3013 /* linux_setreuid16 */
3026 /* linux_setregid16 */
3039 /* linux_sigsuspend */
3055 /* linux_sigpending */
3059 p = "userland l_osigset_t *";
3065 /* linux_sethostname */
3069 p = "userland char *";
3078 /* linux_setrlimit */
3085 p = "userland struct l_rlimit *";
3098 p = "userland struct rusage *";
3104 /* linux_gettimeofday */
3108 p = "userland struct timeval32 *";
3111 p = "userland struct timezone *";
3117 /* linux_settimeofday */
3121 p = "userland struct timeval32 *";
3124 p = "userland struct timezone *";
3130 /* linux_getgroups16 */
3137 p = "userland l_gid16_t *";
3143 /* linux_setgroups16 */
3150 p = "userland l_gid16_t *";
3160 p = "userland char *";
3163 p = "userland char *";
3169 /* linux_readlink */
3173 p = "userland char *";
3176 p = "userland char *";
3189 p = "userland char *";
3208 p = "userland void *";
3227 /* linux_truncate */
3231 p = "userland char *";
3240 /* linux_ftruncate */
3282 /* linux_getpriority */
3315 p = "userland char *";
3318 p = "userland struct l_statfs_buf *";
3331 p = "userland struct l_statfs_buf *";
3344 p = "userland char *";
3353 /* linux_setitimer */
3360 p = "userland struct l_itimerval *";
3363 p = "userland struct l_itimerval *";
3369 /* linux_getitimer */
3376 p = "userland struct l_itimerval *";
3386 p = "userland char *";
3389 p = "userland struct l_newstat *";
3395 /* linux_newlstat */
3399 p = "userland char *";
3402 p = "userland struct l_newstat *";
3408 /* linux_newfstat */
3415 p = "userland struct l_newstat *";
3431 p = "userland l_int *";
3437 p = "userland void *";
3450 p = "userland struct l_sysinfo *";
3466 /* linux_sigreturn */
3470 p = "userland struct l_sigframe *";
3483 p = "userland void *";
3486 p = "userland void *";
3489 p = "userland void *";
3492 p = "userland void *";
3498 /* linux_setdomainname */
3502 p = "userland char *";
3511 /* linux_newuname */
3515 p = "userland struct l_new_utsname *";
3521 /* linux_adjtimex */
3524 /* linux_mprotect */
3540 /* linux_sigprocmask */
3547 p = "userland l_osigset_t *";
3550 p = "userland l_osigset_t *";
3556 /* linux_init_module */
3559 /* linux_delete_module */
3562 /* linux_quotactl */
3604 /* linux_personality */
3614 /* linux_setfsuid16 */
3624 /* linux_setfsgid16 */
3647 p = "userland l_loff_t *";
3656 /* linux_getdents */
3663 p = "userland void *";
3679 p = "userland l_fd_set *";
3682 p = "userland l_fd_set *";
3685 p = "userland l_fd_set *";
3688 p = "userland struct l_timeval *";
3730 p = "userland struct iovec *";
3746 p = "userland struct iovec *";
3765 /* linux_fdatasync */
3779 p = "userland struct l___sysctl_args *";
3789 p = "userland const void *";
3802 p = "userland const void *";
3824 /* linux_sched_setparam */
3831 p = "userland struct sched_param *";
3837 /* linux_sched_getparam */
3844 p = "userland struct sched_param *";
3850 /* linux_sched_setscheduler */
3860 p = "userland struct sched_param *";
3866 /* linux_sched_getscheduler */
3879 /* linux_sched_get_priority_max */
3889 /* linux_sched_get_priority_min */
3899 /* linux_sched_rr_get_interval */
3906 p = "userland struct l_timespec *";
3912 /* linux_nanosleep */
3916 p = "userland const struct l_timespec *";
3919 p = "userland struct l_timespec *";
3947 /* linux_setresuid16 */
3963 /* linux_getresuid16 */
3967 p = "userland l_uid16_t *";
3970 p = "userland l_uid16_t *";
3973 p = "userland l_uid16_t *";
3983 p = "userland struct pollfd*";
3995 /* linux_setresgid16 */
4011 /* linux_getresgid16 */
4015 p = "userland l_gid16_t *";
4018 p = "userland l_gid16_t *";
4021 p = "userland l_gid16_t *";
4049 /* linux_rt_sigreturn */
4053 p = "userland struct l_ucontext *";
4059 /* linux_rt_sigaction */
4066 p = "userland l_sigaction_t *";
4069 p = "userland l_sigaction_t *";
4078 /* linux_rt_sigprocmask */
4085 p = "userland l_sigset_t *";
4088 p = "userland l_sigset_t *";
4097 /* linux_rt_sigpending */
4101 p = "userland l_sigset_t *";
4110 /* linux_rt_sigtimedwait */
4114 p = "userland l_sigset_t *";
4117 p = "userland l_siginfo_t *";
4120 p = "userland struct l_timeval *";
4129 /* linux_rt_sigqueueinfo */
4139 p = "userland l_siginfo_t *";
4145 /* linux_rt_sigsuspend */
4149 p = "userland l_sigset_t *";
4165 p = "userland char *";
4184 p = "userland char *";
4200 p = "userland char *";
4216 p = "userland char *";
4229 p = "userland struct l_user_cap_header *";
4232 p = "userland struct l_user_cap_data *";
4242 p = "userland struct l_user_cap_header *";
4245 p = "userland struct l_user_cap_data *";
4251 /* linux_sigaltstack */
4255 p = "userland l_stack_t *";
4258 p = "userland l_stack_t *";
4264 /* linux_sendfile */
4274 p = "userland l_long *";
4286 /* linux_getrlimit */
4293 p = "userland struct l_rlimit *";
4324 /* linux_truncate64 */
4328 p = "userland char *";
4337 /* linux_ftruncate64 */
4354 p = "userland const char *";
4357 p = "userland struct l_stat64 *";
4367 p = "userland const char *";
4370 p = "userland struct l_stat64 *";
4383 p = "userland struct l_stat64 *";
4393 p = "userland char *";
4443 /* linux_getgroups */
4450 p = "userland l_gid_t *";
4456 /* linux_setgroups */
4463 p = "userland l_gid_t *";
4492 p = "userland uid_t *";
4495 p = "userland uid_t *";
4498 p = "userland uid_t *";
4524 p = "userland gid_t *";
4527 p = "userland gid_t *";
4530 p = "userland gid_t *";
4540 p = "userland char *";
4572 /* linux_setfsuid */
4582 /* linux_setfsgid */
4592 /* linux_getdents64 */
4599 p = "userland void *";
4608 /* linux_pivot_root */
4612 p = "userland char *";
4615 p = "userland char *";
4631 p = "userland u_char *";
4641 p = "userland void *";
4672 /* linux_setxattr */
4675 /* linux_lsetxattr */
4678 /* linux_fsetxattr */
4681 /* linux_getxattr */
4684 /* linux_lgetxattr */
4687 /* linux_fgetxattr */
4690 /* linux_listxattr */
4693 /* linux_llistxattr */
4696 /* linux_flistxattr */
4699 /* linux_removexattr */
4702 /* linux_lremovexattr */
4705 /* linux_fremovexattr */
4721 /* linux_sendfile64 */
4731 p = "userland l_loff_t *";
4740 /* linux_sys_futex */
4744 p = "userland void *";
4753 p = "userland struct l_timespec *";
4756 p = "userland uint32_t *";
4765 /* linux_sched_setaffinity */
4775 p = "userland l_ulong *";
4781 /* linux_sched_getaffinity */
4791 p = "userland l_ulong *";
4797 /* linux_exit_group */
4807 /* linux_lookup_dcookie */
4810 /* linux_epoll_create */
4820 /* linux_epoll_ctl */
4833 p = "userland struct epoll_event *";
4839 /* linux_epoll_wait */
4846 p = "userland struct epoll_event *";
4858 /* linux_remap_file_pages */
4861 /* linux_set_tid_address */
4865 p = "userland int *";
4871 /* linux_timer_create */
4878 p = "userland struct sigevent *";
4881 p = "userland l_timer_t *";
4887 /* linux_timer_settime */
4897 p = "userland const struct itimerspec *";
4900 p = "userland struct itimerspec *";
4906 /* linux_timer_gettime */
4913 p = "userland struct itimerspec *";
4919 /* linux_timer_getoverrun */
4929 /* linux_timer_delete */
4939 /* linux_clock_settime */
4946 p = "userland struct l_timespec *";
4952 /* linux_clock_gettime */
4959 p = "userland struct l_timespec *";
4965 /* linux_clock_getres */
4972 p = "userland struct l_timespec *";
4978 /* linux_clock_nanosleep */
4988 p = "userland struct l_timespec *";
4991 p = "userland struct l_timespec *";
4997 /* linux_statfs64 */
5001 p = "userland char *";
5007 p = "userland struct l_statfs64_buf *";
5013 /* linux_fstatfs64 */
5023 p = "userland struct l_statfs64_buf *";
5049 p = "userland char *";
5052 p = "userland struct l_timeval *";
5058 /* linux_fadvise64_64 */
5081 p = "userland const char *";
5090 p = "userland struct mq_attr *";
5096 /* linux_mq_unlink */
5100 p = "userland const char *";
5106 /* linux_mq_timedsend */
5113 p = "userland const char *";
5122 p = "userland const struct l_timespec *";
5128 /* linux_mq_timedreceive */
5135 p = "userland char *";
5144 p = "userland const struct l_timespec *";
5150 /* linux_mq_notify */
5157 p = "userland const struct l_timespec *";
5163 /* linux_mq_getsetattr */
5170 p = "userland const struct mq_attr *";
5173 p = "userland struct mq_attr *";
5189 p = "userland l_siginfo_t *";
5195 p = "userland void *";
5278 /* linux_getsockname */
5294 /* linux_getpeername */
5310 /* linux_socketpair */
5392 /* linux_recvfrom */
5417 /* linux_shutdown */
5430 /* linux_setsockopt */
5452 /* linux_getsockopt */
5513 p = "userland struct l_sembuf *";
5551 p = "union l_semun";
5564 p = "userland struct l_msgbuf *";
5583 p = "userland struct l_msgbuf *";
5621 p = "userland struct l_msqid_ds *";
5634 p = "userland char *";
5647 p = "userland char *";
5679 p = "userland struct l_shmid_ds *";
5688 /* linux_request_key */
5694 /* linux_ioprio_set */
5697 /* linux_ioprio_get */
5700 /* linux_inotify_init */
5703 /* linux_inotify_add_watch */
5706 /* linux_inotify_rm_watch */
5712 /* linux_get_mempolicy */
5715 /* linux_set_mempolicy */
5725 p = "userland const char *";
5744 p = "userland const char *";
5760 p = "userland const char *";
5772 /* linux_fchownat */
5779 p = "userland const char *";
5794 /* linux_futimesat */
5801 p = "userland char *";
5804 p = "userland struct l_timeval *";
5810 /* linux_fstatat64 */
5817 p = "userland char *";
5820 p = "userland struct l_stat64 *";
5829 /* linux_unlinkat */
5836 p = "userland const char *";
5845 /* linux_renameat */
5852 p = "userland const char *";
5858 p = "userland const char *";
5871 p = "userland const char *";
5877 p = "userland const char *";
5886 /* linux_symlinkat */
5890 p = "userland const char *";
5896 p = "userland const char *";
5902 /* linux_readlinkat */
5909 p = "userland const char *";
5912 p = "userland char *";
5921 /* linux_fchmodat */
5928 p = "userland const char *";
5937 /* linux_faccessat */
5944 p = "userland const char *";
5953 /* linux_pselect6 */
5960 p = "userland l_fd_set *";
5963 p = "userland l_fd_set *";
5966 p = "userland l_fd_set *";
5969 p = "userland struct l_timespec *";
5972 p = "userland l_uintptr_t *";
5982 p = "userland struct pollfd *";
5988 p = "userland struct l_timespec *";
5991 p = "userland l_sigset_t *";
6003 /* linux_set_robust_list */
6007 p = "userland struct linux_robust_list_head *";
6016 /* linux_get_robust_list */
6023 p = "userland struct linux_robust_list_head **";
6026 p = "userland l_size_t *";
6035 /* linux_sync_file_range */
6057 /* linux_vmsplice */
6060 /* linux_move_pages */
6067 p = "userland l_uint *";
6070 p = "userland l_uint *";
6073 p = "userland void *";
6079 /* linux_epoll_pwait */
6086 p = "userland struct epoll_event *";
6095 p = "userland l_sigset_t *";
6101 /* linux_kexec_load */
6104 /* linux_utimensat */
6111 p = "userland const char *";
6114 p = "userland const struct l_timespec *";
6123 /* linux_signalfd */
6126 /* linux_timerfd_create */
6139 /* linux_fallocate */
6158 /* linux_timerfd_settime */
6161 /* linux_timerfd_gettime */
6164 /* linux_signalfd4 */
6167 /* linux_eventfd2 */
6180 /* linux_epoll_create1 */
6210 p = "userland l_int *";
6219 /* linux_inotify_init1 */
6228 /* linux_rt_tsigqueueinfo */
6231 /* linux_perf_event_open */
6234 /* linux_recvmmsg */
6241 p = "userland struct l_mmsghdr *";
6250 p = "userland struct l_timespec *";
6275 /* linux_fanotify_init */
6278 /* linux_fanotify_mark */
6281 /* linux_prlimit64 */
6291 p = "userland struct rlimit *";
6294 p = "userland struct rlimit *";
6300 /* linux_name_to_handle_at */
6303 /* linux_open_by_handle_at */
6306 /* linux_clock_adjtime */
6319 /* linux_sendmmsg */
6326 p = "userland struct l_mmsghdr *";
6341 /* linux_process_vm_readv */
6344 /* linux_process_vm_writev */
6351 p = "userland void*";
6361 strlcpy(desc, p, descsz);
6364 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6366 const char *p = NULL;
6368 #define nosys linux_nosys
6371 if (ndx == 0 || ndx == 1)
6378 if (ndx == 0 || ndx == 1)
6383 if (ndx == 0 || ndx == 1)
6388 if (ndx == 0 || ndx == 1)
6393 if (ndx == 0 || ndx == 1)
6398 if (ndx == 0 || ndx == 1)
6403 if (ndx == 0 || ndx == 1)
6408 if (ndx == 0 || ndx == 1)
6413 if (ndx == 0 || ndx == 1)
6418 if (ndx == 0 || ndx == 1)
6423 if (ndx == 0 || ndx == 1)
6428 if (ndx == 0 || ndx == 1)
6431 /* linux_lchown16 */
6433 if (ndx == 0 || ndx == 1)
6438 if (ndx == 0 || ndx == 1)
6445 if (ndx == 0 || ndx == 1)
6448 /* linux_setuid16 */
6450 if (ndx == 0 || ndx == 1)
6453 /* linux_getuid16 */
6459 if (ndx == 0 || ndx == 1)
6464 if (ndx == 0 || ndx == 1)
6471 if (ndx == 0 || ndx == 1)
6476 if (ndx == 0 || ndx == 1)
6481 if (ndx == 0 || ndx == 1)
6486 if (ndx == 0 || ndx == 1)
6491 if (ndx == 0 || ndx == 1)
6496 if (ndx == 0 || ndx == 1)
6501 if (ndx == 0 || ndx == 1)
6506 if (ndx == 0 || ndx == 1)
6509 /* linux_setgid16 */
6511 if (ndx == 0 || ndx == 1)
6514 /* linux_getgid16 */
6516 /* linux_geteuid16 */
6518 /* linux_getegid16 */
6522 if (ndx == 0 || ndx == 1)
6527 if (ndx == 0 || ndx == 1)
6532 if (ndx == 0 || ndx == 1)
6537 if (ndx == 0 || ndx == 1)
6542 if (ndx == 0 || ndx == 1)
6547 if (ndx == 0 || ndx == 1)
6552 if (ndx == 0 || ndx == 1)
6557 if (ndx == 0 || ndx == 1)
6562 if (ndx == 0 || ndx == 1)
6571 /* linux_sigaction */
6573 if (ndx == 0 || ndx == 1)
6576 /* linux_setreuid16 */
6578 if (ndx == 0 || ndx == 1)
6581 /* linux_setregid16 */
6583 if (ndx == 0 || ndx == 1)
6586 /* linux_sigsuspend */
6588 if (ndx == 0 || ndx == 1)
6591 /* linux_sigpending */
6593 if (ndx == 0 || ndx == 1)
6596 /* linux_sethostname */
6598 if (ndx == 0 || ndx == 1)
6601 /* linux_setrlimit */
6603 if (ndx == 0 || ndx == 1)
6608 if (ndx == 0 || ndx == 1)
6611 /* linux_gettimeofday */
6613 if (ndx == 0 || ndx == 1)
6616 /* linux_settimeofday */
6618 if (ndx == 0 || ndx == 1)
6621 /* linux_getgroups16 */
6623 if (ndx == 0 || ndx == 1)
6626 /* linux_setgroups16 */
6628 if (ndx == 0 || ndx == 1)
6633 if (ndx == 0 || ndx == 1)
6636 /* linux_readlink */
6638 if (ndx == 0 || ndx == 1)
6643 if (ndx == 0 || ndx == 1)
6648 if (ndx == 0 || ndx == 1)
6653 if (ndx == 0 || ndx == 1)
6656 /* linux_truncate */
6658 if (ndx == 0 || ndx == 1)
6661 /* linux_ftruncate */
6663 if (ndx == 0 || ndx == 1)
6668 if (ndx == 0 || ndx == 1)
6673 if (ndx == 0 || ndx == 1)
6676 /* linux_getpriority */
6678 if (ndx == 0 || ndx == 1)
6683 if (ndx == 0 || ndx == 1)
6688 if (ndx == 0 || ndx == 1)
6693 if (ndx == 0 || ndx == 1)
6698 if (ndx == 0 || ndx == 1)
6701 /* linux_setitimer */
6703 if (ndx == 0 || ndx == 1)
6706 /* linux_getitimer */
6708 if (ndx == 0 || ndx == 1)
6713 if (ndx == 0 || ndx == 1)
6716 /* linux_newlstat */
6718 if (ndx == 0 || ndx == 1)
6721 /* linux_newfstat */
6723 if (ndx == 0 || ndx == 1)
6730 if (ndx == 0 || ndx == 1)
6737 if (ndx == 0 || ndx == 1)
6742 if (ndx == 0 || ndx == 1)
6745 /* linux_sigreturn */
6747 if (ndx == 0 || ndx == 1)
6752 if (ndx == 0 || ndx == 1)
6755 /* linux_setdomainname */
6757 if (ndx == 0 || ndx == 1)
6760 /* linux_newuname */
6762 if (ndx == 0 || ndx == 1)
6765 /* linux_adjtimex */
6767 /* linux_mprotect */
6769 if (ndx == 0 || ndx == 1)
6772 /* linux_sigprocmask */
6774 if (ndx == 0 || ndx == 1)
6777 /* linux_init_module */
6779 /* linux_delete_module */
6781 /* linux_quotactl */
6785 if (ndx == 0 || ndx == 1)
6790 if (ndx == 0 || ndx == 1)
6797 if (ndx == 0 || ndx == 1)
6800 /* linux_personality */
6802 if (ndx == 0 || ndx == 1)
6805 /* linux_setfsuid16 */
6807 if (ndx == 0 || ndx == 1)
6810 /* linux_setfsgid16 */
6812 if (ndx == 0 || ndx == 1)
6817 if (ndx == 0 || ndx == 1)
6820 /* linux_getdents */
6822 if (ndx == 0 || ndx == 1)
6827 if (ndx == 0 || ndx == 1)
6832 if (ndx == 0 || ndx == 1)
6837 if (ndx == 0 || ndx == 1)
6842 if (ndx == 0 || ndx == 1)
6847 if (ndx == 0 || ndx == 1)
6852 if (ndx == 0 || ndx == 1)
6855 /* linux_fdatasync */
6857 if (ndx == 0 || ndx == 1)
6862 if (ndx == 0 || ndx == 1)
6867 if (ndx == 0 || ndx == 1)
6872 if (ndx == 0 || ndx == 1)
6877 if (ndx == 0 || ndx == 1)
6882 /* linux_sched_setparam */
6884 if (ndx == 0 || ndx == 1)
6887 /* linux_sched_getparam */
6889 if (ndx == 0 || ndx == 1)
6892 /* linux_sched_setscheduler */
6894 if (ndx == 0 || ndx == 1)
6897 /* linux_sched_getscheduler */
6899 if (ndx == 0 || ndx == 1)
6904 /* linux_sched_get_priority_max */
6906 if (ndx == 0 || ndx == 1)
6909 /* linux_sched_get_priority_min */
6911 if (ndx == 0 || ndx == 1)
6914 /* linux_sched_rr_get_interval */
6916 if (ndx == 0 || ndx == 1)
6919 /* linux_nanosleep */
6921 if (ndx == 0 || ndx == 1)
6926 if (ndx == 0 || ndx == 1)
6929 /* linux_setresuid16 */
6931 if (ndx == 0 || ndx == 1)
6934 /* linux_getresuid16 */
6936 if (ndx == 0 || ndx == 1)
6941 if (ndx == 0 || ndx == 1)
6944 /* linux_setresgid16 */
6946 if (ndx == 0 || ndx == 1)
6949 /* linux_getresgid16 */
6951 if (ndx == 0 || ndx == 1)
6956 if (ndx == 0 || ndx == 1)
6959 /* linux_rt_sigreturn */
6961 if (ndx == 0 || ndx == 1)
6964 /* linux_rt_sigaction */
6966 if (ndx == 0 || ndx == 1)
6969 /* linux_rt_sigprocmask */
6971 if (ndx == 0 || ndx == 1)
6974 /* linux_rt_sigpending */
6976 if (ndx == 0 || ndx == 1)
6979 /* linux_rt_sigtimedwait */
6981 if (ndx == 0 || ndx == 1)
6984 /* linux_rt_sigqueueinfo */
6986 if (ndx == 0 || ndx == 1)
6989 /* linux_rt_sigsuspend */
6991 if (ndx == 0 || ndx == 1)
6996 if (ndx == 0 || ndx == 1)
7001 if (ndx == 0 || ndx == 1)
7006 if (ndx == 0 || ndx == 1)
7011 if (ndx == 0 || ndx == 1)
7016 if (ndx == 0 || ndx == 1)
7021 if (ndx == 0 || ndx == 1)
7024 /* linux_sigaltstack */
7026 if (ndx == 0 || ndx == 1)
7029 /* linux_sendfile */
7031 if (ndx == 0 || ndx == 1)
7036 /* linux_getrlimit */
7038 if (ndx == 0 || ndx == 1)
7043 if (ndx == 0 || ndx == 1)
7046 /* linux_truncate64 */
7048 if (ndx == 0 || ndx == 1)
7051 /* linux_ftruncate64 */
7053 if (ndx == 0 || ndx == 1)
7058 if (ndx == 0 || ndx == 1)
7063 if (ndx == 0 || ndx == 1)
7068 if (ndx == 0 || ndx == 1)
7073 if (ndx == 0 || ndx == 1)
7086 if (ndx == 0 || ndx == 1)
7091 if (ndx == 0 || ndx == 1)
7094 /* linux_getgroups */
7096 if (ndx == 0 || ndx == 1)
7099 /* linux_setgroups */
7101 if (ndx == 0 || ndx == 1)
7108 if (ndx == 0 || ndx == 1)
7113 if (ndx == 0 || ndx == 1)
7118 if (ndx == 0 || ndx == 1)
7123 if (ndx == 0 || ndx == 1)
7128 if (ndx == 0 || ndx == 1)
7133 if (ndx == 0 || ndx == 1)
7138 if (ndx == 0 || ndx == 1)
7141 /* linux_setfsuid */
7143 if (ndx == 0 || ndx == 1)
7146 /* linux_setfsgid */
7148 if (ndx == 0 || ndx == 1)
7151 /* linux_getdents64 */
7153 if (ndx == 0 || ndx == 1)
7156 /* linux_pivot_root */
7158 if (ndx == 0 || ndx == 1)
7163 if (ndx == 0 || ndx == 1)
7168 if (ndx == 0 || ndx == 1)
7173 if (ndx == 0 || ndx == 1)
7178 /* linux_setxattr */
7180 /* linux_lsetxattr */
7182 /* linux_fsetxattr */
7184 /* linux_getxattr */
7186 /* linux_lgetxattr */
7188 /* linux_fgetxattr */
7190 /* linux_listxattr */
7192 /* linux_llistxattr */
7194 /* linux_flistxattr */
7196 /* linux_removexattr */
7198 /* linux_lremovexattr */
7200 /* linux_fremovexattr */
7204 if (ndx == 0 || ndx == 1)
7207 /* linux_sendfile64 */
7209 if (ndx == 0 || ndx == 1)
7212 /* linux_sys_futex */
7214 if (ndx == 0 || ndx == 1)
7217 /* linux_sched_setaffinity */
7219 if (ndx == 0 || ndx == 1)
7222 /* linux_sched_getaffinity */
7224 if (ndx == 0 || ndx == 1)
7227 /* linux_exit_group */
7229 if (ndx == 0 || ndx == 1)
7232 /* linux_lookup_dcookie */
7234 /* linux_epoll_create */
7236 if (ndx == 0 || ndx == 1)
7239 /* linux_epoll_ctl */
7241 if (ndx == 0 || ndx == 1)
7244 /* linux_epoll_wait */
7246 if (ndx == 0 || ndx == 1)
7249 /* linux_remap_file_pages */
7251 /* linux_set_tid_address */
7253 if (ndx == 0 || ndx == 1)
7256 /* linux_timer_create */
7258 if (ndx == 0 || ndx == 1)
7261 /* linux_timer_settime */
7263 if (ndx == 0 || ndx == 1)
7266 /* linux_timer_gettime */
7268 if (ndx == 0 || ndx == 1)
7271 /* linux_timer_getoverrun */
7273 if (ndx == 0 || ndx == 1)
7276 /* linux_timer_delete */
7278 if (ndx == 0 || ndx == 1)
7281 /* linux_clock_settime */
7283 if (ndx == 0 || ndx == 1)
7286 /* linux_clock_gettime */
7288 if (ndx == 0 || ndx == 1)
7291 /* linux_clock_getres */
7293 if (ndx == 0 || ndx == 1)
7296 /* linux_clock_nanosleep */
7298 if (ndx == 0 || ndx == 1)
7301 /* linux_statfs64 */
7303 if (ndx == 0 || ndx == 1)
7306 /* linux_fstatfs64 */
7308 if (ndx == 0 || ndx == 1)
7313 if (ndx == 0 || ndx == 1)
7318 if (ndx == 0 || ndx == 1)
7321 /* linux_fadvise64_64 */
7323 if (ndx == 0 || ndx == 1)
7328 if (ndx == 0 || ndx == 1)
7331 /* linux_mq_unlink */
7333 if (ndx == 0 || ndx == 1)
7336 /* linux_mq_timedsend */
7338 if (ndx == 0 || ndx == 1)
7341 /* linux_mq_timedreceive */
7343 if (ndx == 0 || ndx == 1)
7346 /* linux_mq_notify */
7348 if (ndx == 0 || ndx == 1)
7351 /* linux_mq_getsetattr */
7353 if (ndx == 0 || ndx == 1)
7358 if (ndx == 0 || ndx == 1)
7363 if (ndx == 0 || ndx == 1)
7368 if (ndx == 0 || ndx == 1)
7373 if (ndx == 0 || ndx == 1)
7378 if (ndx == 0 || ndx == 1)
7383 if (ndx == 0 || ndx == 1)
7386 /* linux_getsockname */
7388 if (ndx == 0 || ndx == 1)
7391 /* linux_getpeername */
7393 if (ndx == 0 || ndx == 1)
7396 /* linux_socketpair */
7398 if (ndx == 0 || ndx == 1)
7403 if (ndx == 0 || ndx == 1)
7408 if (ndx == 0 || ndx == 1)
7413 if (ndx == 0 || ndx == 1)
7416 /* linux_recvfrom */
7418 if (ndx == 0 || ndx == 1)
7421 /* linux_shutdown */
7423 if (ndx == 0 || ndx == 1)
7426 /* linux_setsockopt */
7428 if (ndx == 0 || ndx == 1)
7431 /* linux_getsockopt */
7433 if (ndx == 0 || ndx == 1)
7438 if (ndx == 0 || ndx == 1)
7443 if (ndx == 0 || ndx == 1)
7448 if (ndx == 0 || ndx == 1)
7453 if (ndx == 0 || ndx == 1)
7458 if (ndx == 0 || ndx == 1)
7463 if (ndx == 0 || ndx == 1)
7468 if (ndx == 0 || ndx == 1)
7473 if (ndx == 0 || ndx == 1)
7478 if (ndx == 0 || ndx == 1)
7483 if (ndx == 0 || ndx == 1)
7488 if (ndx == 0 || ndx == 1)
7493 if (ndx == 0 || ndx == 1)
7498 if (ndx == 0 || ndx == 1)
7503 /* linux_request_key */
7507 /* linux_ioprio_set */
7509 /* linux_ioprio_get */
7511 /* linux_inotify_init */
7513 /* linux_inotify_add_watch */
7515 /* linux_inotify_rm_watch */
7519 /* linux_get_mempolicy */
7521 /* linux_set_mempolicy */
7525 if (ndx == 0 || ndx == 1)
7530 if (ndx == 0 || ndx == 1)
7535 if (ndx == 0 || ndx == 1)
7538 /* linux_fchownat */
7540 if (ndx == 0 || ndx == 1)
7543 /* linux_futimesat */
7545 if (ndx == 0 || ndx == 1)
7548 /* linux_fstatat64 */
7550 if (ndx == 0 || ndx == 1)
7553 /* linux_unlinkat */
7555 if (ndx == 0 || ndx == 1)
7558 /* linux_renameat */
7560 if (ndx == 0 || ndx == 1)
7565 if (ndx == 0 || ndx == 1)
7568 /* linux_symlinkat */
7570 if (ndx == 0 || ndx == 1)
7573 /* linux_readlinkat */
7575 if (ndx == 0 || ndx == 1)
7578 /* linux_fchmodat */
7580 if (ndx == 0 || ndx == 1)
7583 /* linux_faccessat */
7585 if (ndx == 0 || ndx == 1)
7588 /* linux_pselect6 */
7590 if (ndx == 0 || ndx == 1)
7595 if (ndx == 0 || ndx == 1)
7600 /* linux_set_robust_list */
7602 if (ndx == 0 || ndx == 1)
7605 /* linux_get_robust_list */
7607 if (ndx == 0 || ndx == 1)
7612 /* linux_sync_file_range */
7614 if (ndx == 0 || ndx == 1)
7619 /* linux_vmsplice */
7621 /* linux_move_pages */
7625 if (ndx == 0 || ndx == 1)
7628 /* linux_epoll_pwait */
7630 if (ndx == 0 || ndx == 1)
7633 /* linux_kexec_load */
7635 /* linux_utimensat */
7637 if (ndx == 0 || ndx == 1)
7640 /* linux_signalfd */
7642 /* linux_timerfd_create */
7646 if (ndx == 0 || ndx == 1)
7649 /* linux_fallocate */
7651 if (ndx == 0 || ndx == 1)
7654 /* linux_timerfd_settime */
7656 /* linux_timerfd_gettime */
7658 /* linux_signalfd4 */
7660 /* linux_eventfd2 */
7662 if (ndx == 0 || ndx == 1)
7665 /* linux_epoll_create1 */
7667 if (ndx == 0 || ndx == 1)
7672 if (ndx == 0 || ndx == 1)
7677 if (ndx == 0 || ndx == 1)
7680 /* linux_inotify_init1 */
7686 /* linux_rt_tsigqueueinfo */
7688 /* linux_perf_event_open */
7690 /* linux_recvmmsg */
7692 if (ndx == 0 || ndx == 1)
7697 if (ndx == 0 || ndx == 1)
7700 /* linux_fanotify_init */
7702 /* linux_fanotify_mark */
7704 /* linux_prlimit64 */
7706 if (ndx == 0 || ndx == 1)
7709 /* linux_name_to_handle_at */
7711 /* linux_open_by_handle_at */
7713 /* linux_clock_adjtime */
7717 if (ndx == 0 || ndx == 1)
7720 /* linux_sendmmsg */
7722 if (ndx == 0 || ndx == 1)
7727 /* linux_process_vm_readv */
7729 /* linux_process_vm_writev */
7733 if (ndx == 0 || ndx == 1)
7740 strlcpy(desc, p, descsz);