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 */
1146 /* linux_getrlimit */
1148 struct linux_getrlimit_args *p = params;
1149 iarg[0] = p->resource; /* l_uint */
1150 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1156 struct linux_mmap2_args *p = params;
1157 iarg[0] = p->addr; /* l_ulong */
1158 iarg[1] = p->len; /* l_ulong */
1159 iarg[2] = p->prot; /* l_ulong */
1160 iarg[3] = p->flags; /* l_ulong */
1161 iarg[4] = p->fd; /* l_ulong */
1162 iarg[5] = p->pgoff; /* l_ulong */
1166 /* linux_truncate64 */
1168 struct linux_truncate64_args *p = params;
1169 uarg[0] = (intptr_t) p->path; /* char * */
1170 iarg[1] = p->length; /* l_loff_t */
1174 /* linux_ftruncate64 */
1176 struct linux_ftruncate64_args *p = params;
1177 iarg[0] = p->fd; /* l_uint */
1178 iarg[1] = p->length; /* l_loff_t */
1184 struct linux_stat64_args *p = params;
1185 uarg[0] = (intptr_t) p->filename; /* const char * */
1186 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1192 struct linux_lstat64_args *p = params;
1193 uarg[0] = (intptr_t) p->filename; /* const char * */
1194 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1200 struct linux_fstat64_args *p = params;
1201 iarg[0] = p->fd; /* l_int */
1202 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1208 struct linux_lchown_args *p = params;
1209 uarg[0] = (intptr_t) p->path; /* char * */
1210 iarg[1] = p->uid; /* l_uid_t */
1211 iarg[2] = p->gid; /* l_gid_t */
1237 struct setreuid_args *p = params;
1238 uarg[0] = p->ruid; /* uid_t */
1239 uarg[1] = p->euid; /* uid_t */
1245 struct setregid_args *p = params;
1246 iarg[0] = p->rgid; /* gid_t */
1247 iarg[1] = p->egid; /* gid_t */
1251 /* linux_getgroups */
1253 struct linux_getgroups_args *p = params;
1254 iarg[0] = p->gidsetsize; /* l_int */
1255 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1259 /* linux_setgroups */
1261 struct linux_setgroups_args *p = params;
1262 iarg[0] = p->gidsetsize; /* l_int */
1263 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1274 struct setresuid_args *p = params;
1275 uarg[0] = p->ruid; /* uid_t */
1276 uarg[1] = p->euid; /* uid_t */
1277 uarg[2] = p->suid; /* uid_t */
1283 struct getresuid_args *p = params;
1284 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1285 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1286 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1292 struct setresgid_args *p = params;
1293 iarg[0] = p->rgid; /* gid_t */
1294 iarg[1] = p->egid; /* gid_t */
1295 iarg[2] = p->sgid; /* gid_t */
1301 struct getresgid_args *p = params;
1302 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1303 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1304 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1310 struct linux_chown_args *p = params;
1311 uarg[0] = (intptr_t) p->path; /* char * */
1312 iarg[1] = p->uid; /* l_uid_t */
1313 iarg[2] = p->gid; /* l_gid_t */
1319 struct setuid_args *p = params;
1320 uarg[0] = p->uid; /* uid_t */
1326 struct setgid_args *p = params;
1327 iarg[0] = p->gid; /* gid_t */
1331 /* linux_setfsuid */
1333 struct linux_setfsuid_args *p = params;
1334 iarg[0] = p->uid; /* l_uid_t */
1338 /* linux_setfsgid */
1340 struct linux_setfsgid_args *p = params;
1341 iarg[0] = p->gid; /* l_gid_t */
1345 /* linux_getdents64 */
1347 struct linux_getdents64_args *p = params;
1348 iarg[0] = p->fd; /* l_uint */
1349 uarg[1] = (intptr_t) p->dirent; /* void * */
1350 iarg[2] = p->count; /* l_uint */
1354 /* linux_pivot_root */
1356 struct linux_pivot_root_args *p = params;
1357 uarg[0] = (intptr_t) p->new_root; /* char * */
1358 uarg[1] = (intptr_t) p->put_old; /* char * */
1364 struct linux_mincore_args *p = params;
1365 iarg[0] = p->start; /* l_ulong */
1366 iarg[1] = p->len; /* l_size_t */
1367 uarg[2] = (intptr_t) p->vec; /* u_char * */
1373 struct madvise_args *p = params;
1374 uarg[0] = (intptr_t) p->addr; /* void * */
1375 uarg[1] = p->len; /* size_t */
1376 iarg[2] = p->behav; /* int */
1382 struct linux_fcntl64_args *p = params;
1383 iarg[0] = p->fd; /* l_uint */
1384 iarg[1] = p->cmd; /* l_uint */
1385 iarg[2] = p->arg; /* l_ulong */
1394 /* linux_setxattr */
1399 /* linux_lsetxattr */
1404 /* linux_fsetxattr */
1409 /* linux_getxattr */
1414 /* linux_lgetxattr */
1419 /* linux_fgetxattr */
1424 /* linux_listxattr */
1429 /* linux_llistxattr */
1434 /* linux_flistxattr */
1439 /* linux_removexattr */
1444 /* linux_lremovexattr */
1449 /* linux_fremovexattr */
1456 struct linux_tkill_args *p = params;
1457 iarg[0] = p->tid; /* int */
1458 iarg[1] = p->sig; /* int */
1462 /* linux_sys_futex */
1464 struct linux_sys_futex_args *p = params;
1465 uarg[0] = (intptr_t) p->uaddr; /* void * */
1466 iarg[1] = p->op; /* int */
1467 uarg[2] = p->val; /* uint32_t */
1468 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1469 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1470 uarg[5] = p->val3; /* uint32_t */
1474 /* linux_sched_setaffinity */
1476 struct linux_sched_setaffinity_args *p = params;
1477 iarg[0] = p->pid; /* l_pid_t */
1478 iarg[1] = p->len; /* l_uint */
1479 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1483 /* linux_sched_getaffinity */
1485 struct linux_sched_getaffinity_args *p = params;
1486 iarg[0] = p->pid; /* l_pid_t */
1487 iarg[1] = p->len; /* l_uint */
1488 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1492 /* linux_exit_group */
1494 struct linux_exit_group_args *p = params;
1495 iarg[0] = p->error_code; /* int */
1499 /* linux_lookup_dcookie */
1504 /* linux_epoll_create */
1506 struct linux_epoll_create_args *p = params;
1507 iarg[0] = p->size; /* l_int */
1511 /* linux_epoll_ctl */
1513 struct linux_epoll_ctl_args *p = params;
1514 iarg[0] = p->epfd; /* l_int */
1515 iarg[1] = p->op; /* l_int */
1516 iarg[2] = p->fd; /* l_int */
1517 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1521 /* linux_epoll_wait */
1523 struct linux_epoll_wait_args *p = params;
1524 iarg[0] = p->epfd; /* l_int */
1525 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1526 iarg[2] = p->maxevents; /* l_int */
1527 iarg[3] = p->timeout; /* l_int */
1531 /* linux_remap_file_pages */
1536 /* linux_set_tid_address */
1538 struct linux_set_tid_address_args *p = params;
1539 uarg[0] = (intptr_t) p->tidptr; /* int * */
1543 /* linux_timer_create */
1545 struct linux_timer_create_args *p = params;
1546 iarg[0] = p->clock_id; /* clockid_t */
1547 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1548 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1552 /* linux_timer_settime */
1554 struct linux_timer_settime_args *p = params;
1555 iarg[0] = p->timerid; /* l_timer_t */
1556 iarg[1] = p->flags; /* l_int */
1557 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1558 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1562 /* linux_timer_gettime */
1564 struct linux_timer_gettime_args *p = params;
1565 iarg[0] = p->timerid; /* l_timer_t */
1566 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1570 /* linux_timer_getoverrun */
1572 struct linux_timer_getoverrun_args *p = params;
1573 iarg[0] = p->timerid; /* l_timer_t */
1577 /* linux_timer_delete */
1579 struct linux_timer_delete_args *p = params;
1580 iarg[0] = p->timerid; /* l_timer_t */
1584 /* linux_clock_settime */
1586 struct linux_clock_settime_args *p = params;
1587 iarg[0] = p->which; /* clockid_t */
1588 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1592 /* linux_clock_gettime */
1594 struct linux_clock_gettime_args *p = params;
1595 iarg[0] = p->which; /* clockid_t */
1596 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1600 /* linux_clock_getres */
1602 struct linux_clock_getres_args *p = params;
1603 iarg[0] = p->which; /* clockid_t */
1604 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1608 /* linux_clock_nanosleep */
1610 struct linux_clock_nanosleep_args *p = params;
1611 iarg[0] = p->which; /* clockid_t */
1612 iarg[1] = p->flags; /* int */
1613 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1614 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1618 /* linux_statfs64 */
1620 struct linux_statfs64_args *p = params;
1621 uarg[0] = (intptr_t) p->path; /* char * */
1622 uarg[1] = p->bufsize; /* size_t */
1623 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1627 /* linux_fstatfs64 */
1629 struct linux_fstatfs64_args *p = params;
1630 iarg[0] = p->fd; /* l_uint */
1631 uarg[1] = p->bufsize; /* size_t */
1632 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1638 struct linux_tgkill_args *p = params;
1639 iarg[0] = p->tgid; /* int */
1640 iarg[1] = p->pid; /* int */
1641 iarg[2] = p->sig; /* int */
1647 struct linux_utimes_args *p = params;
1648 uarg[0] = (intptr_t) p->fname; /* char * */
1649 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1653 /* linux_fadvise64_64 */
1655 struct linux_fadvise64_64_args *p = params;
1656 iarg[0] = p->fd; /* int */
1657 iarg[1] = p->offset; /* l_loff_t */
1658 iarg[2] = p->len; /* l_loff_t */
1659 iarg[3] = p->advice; /* int */
1665 struct linux_mq_open_args *p = params;
1666 uarg[0] = (intptr_t) p->name; /* const char * */
1667 iarg[1] = p->oflag; /* int */
1668 iarg[2] = p->mode; /* mode_t */
1669 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1673 /* linux_mq_unlink */
1675 struct linux_mq_unlink_args *p = params;
1676 uarg[0] = (intptr_t) p->name; /* const char * */
1680 /* linux_mq_timedsend */
1682 struct linux_mq_timedsend_args *p = params;
1683 iarg[0] = p->mqd; /* l_mqd_t */
1684 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1685 uarg[2] = p->msg_len; /* size_t */
1686 uarg[3] = p->msg_prio; /* unsigned int */
1687 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1691 /* linux_mq_timedreceive */
1693 struct linux_mq_timedreceive_args *p = params;
1694 iarg[0] = p->mqd; /* l_mqd_t */
1695 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1696 uarg[2] = p->msg_len; /* size_t */
1697 uarg[3] = p->msg_prio; /* unsigned int */
1698 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1702 /* linux_mq_notify */
1704 struct linux_mq_notify_args *p = params;
1705 iarg[0] = p->mqd; /* l_mqd_t */
1706 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1710 /* linux_mq_getsetattr */
1712 struct linux_mq_getsetattr_args *p = params;
1713 iarg[0] = p->mqd; /* l_mqd_t */
1714 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1715 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1721 struct linux_waitid_args *p = params;
1722 iarg[0] = p->idtype; /* int */
1723 iarg[1] = p->id; /* l_pid_t */
1724 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1725 iarg[3] = p->options; /* int */
1726 uarg[4] = (intptr_t) p->rusage; /* void * */
1732 struct linux_socket_args *p = params;
1733 iarg[0] = p->domain; /* l_int */
1734 iarg[1] = p->type; /* l_int */
1735 iarg[2] = p->protocol; /* l_int */
1741 struct linux_bind_args *p = params;
1742 iarg[0] = p->s; /* l_int */
1743 iarg[1] = p->name; /* l_uintptr_t */
1744 iarg[2] = p->namelen; /* l_int */
1750 struct linux_connect_args *p = params;
1751 iarg[0] = p->s; /* l_int */
1752 iarg[1] = p->name; /* l_uintptr_t */
1753 iarg[2] = p->namelen; /* l_int */
1759 struct linux_listen_args *p = params;
1760 iarg[0] = p->s; /* l_int */
1761 iarg[1] = p->backlog; /* l_int */
1767 struct linux_accept_args *p = params;
1768 iarg[0] = p->s; /* l_int */
1769 iarg[1] = p->addr; /* l_uintptr_t */
1770 iarg[2] = p->namelen; /* l_uintptr_t */
1774 /* linux_getsockname */
1776 struct linux_getsockname_args *p = params;
1777 iarg[0] = p->s; /* l_int */
1778 iarg[1] = p->addr; /* l_uintptr_t */
1779 iarg[2] = p->namelen; /* l_uintptr_t */
1783 /* linux_getpeername */
1785 struct linux_getpeername_args *p = params;
1786 iarg[0] = p->s; /* l_int */
1787 iarg[1] = p->addr; /* l_uintptr_t */
1788 iarg[2] = p->namelen; /* l_uintptr_t */
1792 /* linux_socketpair */
1794 struct linux_socketpair_args *p = params;
1795 iarg[0] = p->domain; /* l_int */
1796 iarg[1] = p->type; /* l_int */
1797 iarg[2] = p->protocol; /* l_int */
1798 iarg[3] = p->rsv; /* l_uintptr_t */
1804 struct linux_send_args *p = params;
1805 iarg[0] = p->s; /* int */
1806 iarg[1] = p->msg; /* l_uintptr_t */
1807 iarg[2] = p->len; /* int */
1808 iarg[3] = p->flags; /* int */
1814 struct linux_sendto_args *p = params;
1815 iarg[0] = p->s; /* l_int */
1816 iarg[1] = p->msg; /* l_uintptr_t */
1817 iarg[2] = p->len; /* l_int */
1818 iarg[3] = p->flags; /* l_int */
1819 iarg[4] = p->to; /* l_uintptr_t */
1820 iarg[5] = p->tolen; /* l_int */
1826 struct linux_recv_args *p = params;
1827 iarg[0] = p->s; /* int */
1828 iarg[1] = p->msg; /* l_uintptr_t */
1829 iarg[2] = p->len; /* int */
1830 iarg[3] = p->flags; /* int */
1834 /* linux_recvfrom */
1836 struct linux_recvfrom_args *p = params;
1837 iarg[0] = p->s; /* l_int */
1838 iarg[1] = p->buf; /* l_uintptr_t */
1839 iarg[2] = p->len; /* l_size_t */
1840 iarg[3] = p->flags; /* l_int */
1841 iarg[4] = p->from; /* l_uintptr_t */
1842 iarg[5] = p->fromlen; /* l_uintptr_t */
1846 /* linux_shutdown */
1848 struct linux_shutdown_args *p = params;
1849 iarg[0] = p->s; /* l_int */
1850 iarg[1] = p->how; /* l_int */
1854 /* linux_setsockopt */
1856 struct linux_setsockopt_args *p = params;
1857 iarg[0] = p->s; /* l_int */
1858 iarg[1] = p->level; /* l_int */
1859 iarg[2] = p->optname; /* l_int */
1860 iarg[3] = p->optval; /* l_uintptr_t */
1861 iarg[4] = p->optlen; /* l_int */
1865 /* linux_getsockopt */
1867 struct linux_getsockopt_args *p = params;
1868 iarg[0] = p->s; /* l_int */
1869 iarg[1] = p->level; /* l_int */
1870 iarg[2] = p->optname; /* l_int */
1871 iarg[3] = p->optval; /* l_uintptr_t */
1872 iarg[4] = p->optlen; /* l_uintptr_t */
1878 struct linux_sendmsg_args *p = params;
1879 iarg[0] = p->s; /* l_int */
1880 iarg[1] = p->msg; /* l_uintptr_t */
1881 iarg[2] = p->flags; /* l_int */
1887 struct linux_recvmsg_args *p = params;
1888 iarg[0] = p->s; /* l_int */
1889 iarg[1] = p->msg; /* l_uintptr_t */
1890 iarg[2] = p->flags; /* l_int */
1896 struct linux_semop_args *p = params;
1897 iarg[0] = p->semid; /* l_int */
1898 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */
1899 iarg[2] = p->nsops; /* l_uint */
1905 struct linux_semget_args *p = params;
1906 iarg[0] = p->key; /* l_key_t */
1907 iarg[1] = p->nsems; /* l_int */
1908 iarg[2] = p->semflg; /* l_int */
1914 struct linux_semctl_args *p = params;
1915 iarg[0] = p->semid; /* l_int */
1916 iarg[1] = p->semnum; /* l_int */
1917 iarg[2] = p->cmd; /* l_int */
1918 uarg[3] = p->arg.buf; /* union l_semun */
1924 struct linux_msgsnd_args *p = params;
1925 iarg[0] = p->msqid; /* l_int */
1926 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1927 iarg[2] = p->msgsz; /* l_size_t */
1928 iarg[3] = p->msgflg; /* l_int */
1934 struct linux_msgrcv_args *p = params;
1935 iarg[0] = p->msqid; /* l_int */
1936 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
1937 iarg[2] = p->msgsz; /* l_size_t */
1938 iarg[3] = p->msgtyp; /* l_long */
1939 iarg[4] = p->msgflg; /* l_int */
1945 struct linux_msgget_args *p = params;
1946 iarg[0] = p->key; /* l_key_t */
1947 iarg[1] = p->msgflg; /* l_int */
1953 struct linux_msgctl_args *p = params;
1954 iarg[0] = p->msqid; /* l_int */
1955 iarg[1] = p->cmd; /* l_int */
1956 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
1962 struct linux_shmat_args *p = params;
1963 iarg[0] = p->shmid; /* l_int */
1964 uarg[1] = (intptr_t) p->shmaddr; /* char * */
1965 iarg[2] = p->shmflg; /* l_int */
1971 struct linux_shmdt_args *p = params;
1972 uarg[0] = (intptr_t) p->shmaddr; /* char * */
1978 struct linux_shmget_args *p = params;
1979 iarg[0] = p->key; /* l_key_t */
1980 iarg[1] = p->size; /* l_size_t */
1981 iarg[2] = p->shmflg; /* l_int */
1987 struct linux_shmctl_args *p = params;
1988 iarg[0] = p->shmid; /* l_int */
1989 iarg[1] = p->cmd; /* l_int */
1990 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
1999 /* linux_request_key */
2009 /* linux_ioprio_set */
2014 /* linux_ioprio_get */
2019 /* linux_inotify_init */
2024 /* linux_inotify_add_watch */
2029 /* linux_inotify_rm_watch */
2039 /* linux_get_mempolicy */
2044 /* linux_set_mempolicy */
2051 struct linux_openat_args *p = params;
2052 iarg[0] = p->dfd; /* l_int */
2053 uarg[1] = (intptr_t) p->filename; /* const char * */
2054 iarg[2] = p->flags; /* l_int */
2055 iarg[3] = p->mode; /* l_int */
2061 struct linux_mkdirat_args *p = params;
2062 iarg[0] = p->dfd; /* l_int */
2063 uarg[1] = (intptr_t) p->pathname; /* const char * */
2064 iarg[2] = p->mode; /* l_int */
2070 struct linux_mknodat_args *p = params;
2071 iarg[0] = p->dfd; /* l_int */
2072 uarg[1] = (intptr_t) p->filename; /* const char * */
2073 iarg[2] = p->mode; /* l_int */
2074 iarg[3] = p->dev; /* l_uint */
2078 /* linux_fchownat */
2080 struct linux_fchownat_args *p = params;
2081 iarg[0] = p->dfd; /* l_int */
2082 uarg[1] = (intptr_t) p->filename; /* const char * */
2083 iarg[2] = p->uid; /* l_uid16_t */
2084 iarg[3] = p->gid; /* l_gid16_t */
2085 iarg[4] = p->flag; /* l_int */
2089 /* linux_futimesat */
2091 struct linux_futimesat_args *p = params;
2092 iarg[0] = p->dfd; /* l_int */
2093 uarg[1] = (intptr_t) p->filename; /* char * */
2094 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2098 /* linux_fstatat64 */
2100 struct linux_fstatat64_args *p = params;
2101 iarg[0] = p->dfd; /* l_int */
2102 uarg[1] = (intptr_t) p->pathname; /* char * */
2103 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2104 iarg[3] = p->flag; /* l_int */
2108 /* linux_unlinkat */
2110 struct linux_unlinkat_args *p = params;
2111 iarg[0] = p->dfd; /* l_int */
2112 uarg[1] = (intptr_t) p->pathname; /* const char * */
2113 iarg[2] = p->flag; /* l_int */
2117 /* linux_renameat */
2119 struct linux_renameat_args *p = params;
2120 iarg[0] = p->olddfd; /* l_int */
2121 uarg[1] = (intptr_t) p->oldname; /* const char * */
2122 iarg[2] = p->newdfd; /* l_int */
2123 uarg[3] = (intptr_t) p->newname; /* const char * */
2129 struct linux_linkat_args *p = params;
2130 iarg[0] = p->olddfd; /* l_int */
2131 uarg[1] = (intptr_t) p->oldname; /* const char * */
2132 iarg[2] = p->newdfd; /* l_int */
2133 uarg[3] = (intptr_t) p->newname; /* const char * */
2134 iarg[4] = p->flag; /* l_int */
2138 /* linux_symlinkat */
2140 struct linux_symlinkat_args *p = params;
2141 uarg[0] = (intptr_t) p->oldname; /* const char * */
2142 iarg[1] = p->newdfd; /* l_int */
2143 uarg[2] = (intptr_t) p->newname; /* const char * */
2147 /* linux_readlinkat */
2149 struct linux_readlinkat_args *p = params;
2150 iarg[0] = p->dfd; /* l_int */
2151 uarg[1] = (intptr_t) p->path; /* const char * */
2152 uarg[2] = (intptr_t) p->buf; /* char * */
2153 iarg[3] = p->bufsiz; /* l_int */
2157 /* linux_fchmodat */
2159 struct linux_fchmodat_args *p = params;
2160 iarg[0] = p->dfd; /* l_int */
2161 uarg[1] = (intptr_t) p->filename; /* const char * */
2162 iarg[2] = p->mode; /* l_mode_t */
2166 /* linux_faccessat */
2168 struct linux_faccessat_args *p = params;
2169 iarg[0] = p->dfd; /* l_int */
2170 uarg[1] = (intptr_t) p->filename; /* const char * */
2171 iarg[2] = p->amode; /* l_int */
2175 /* linux_pselect6 */
2177 struct linux_pselect6_args *p = params;
2178 iarg[0] = p->nfds; /* l_int */
2179 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2180 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2181 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2182 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2183 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2189 struct linux_ppoll_args *p = params;
2190 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2191 uarg[1] = p->nfds; /* uint32_t */
2192 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2193 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2194 iarg[4] = p->ssize; /* l_size_t */
2203 /* linux_set_robust_list */
2205 struct linux_set_robust_list_args *p = params;
2206 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2207 iarg[1] = p->len; /* l_size_t */
2211 /* linux_get_robust_list */
2213 struct linux_get_robust_list_args *p = params;
2214 iarg[0] = p->pid; /* l_int */
2215 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2216 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2225 /* linux_sync_file_range */
2227 struct linux_sync_file_range_args *p = params;
2228 iarg[0] = p->fd; /* l_int */
2229 iarg[1] = p->offset; /* l_loff_t */
2230 iarg[2] = p->nbytes; /* l_loff_t */
2231 uarg[3] = p->flags; /* unsigned int */
2240 /* linux_vmsplice */
2245 /* linux_move_pages */
2255 /* linux_epoll_pwait */
2257 struct linux_epoll_pwait_args *p = params;
2258 iarg[0] = p->epfd; /* l_int */
2259 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2260 iarg[2] = p->maxevents; /* l_int */
2261 iarg[3] = p->timeout; /* l_int */
2262 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2266 /* linux_kexec_load */
2271 /* linux_utimensat */
2273 struct linux_utimensat_args *p = params;
2274 iarg[0] = p->dfd; /* l_int */
2275 uarg[1] = (intptr_t) p->pathname; /* const char * */
2276 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2277 iarg[3] = p->flags; /* l_int */
2281 /* linux_signalfd */
2286 /* linux_timerfd_create */
2293 struct linux_eventfd_args *p = params;
2294 iarg[0] = p->initval; /* l_uint */
2298 /* linux_fallocate */
2300 struct linux_fallocate_args *p = params;
2301 iarg[0] = p->fd; /* l_int */
2302 iarg[1] = p->mode; /* l_int */
2303 iarg[2] = p->offset; /* l_loff_t */
2304 iarg[3] = p->len; /* l_loff_t */
2308 /* linux_timerfd_settime */
2313 /* linux_timerfd_gettime */
2318 /* linux_signalfd4 */
2323 /* linux_eventfd2 */
2325 struct linux_eventfd2_args *p = params;
2326 iarg[0] = p->initval; /* l_uint */
2327 iarg[1] = p->flags; /* l_int */
2331 /* linux_epoll_create1 */
2333 struct linux_epoll_create1_args *p = params;
2334 iarg[0] = p->flags; /* l_int */
2340 struct linux_dup3_args *p = params;
2341 iarg[0] = p->oldfd; /* l_int */
2342 iarg[1] = p->newfd; /* l_int */
2343 iarg[2] = p->flags; /* l_int */
2349 struct linux_pipe2_args *p = params;
2350 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2351 iarg[1] = p->flags; /* l_int */
2355 /* linux_inotify_init1 */
2370 /* linux_rt_tsigqueueinfo */
2375 /* linux_perf_event_open */
2380 /* linux_recvmmsg */
2382 struct linux_recvmmsg_args *p = params;
2383 iarg[0] = p->s; /* l_int */
2384 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2385 iarg[2] = p->vlen; /* l_uint */
2386 iarg[3] = p->flags; /* l_uint */
2387 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2393 struct linux_accept4_args *p = params;
2394 iarg[0] = p->s; /* l_int */
2395 iarg[1] = p->addr; /* l_uintptr_t */
2396 iarg[2] = p->namelen; /* l_uintptr_t */
2397 iarg[3] = p->flags; /* int */
2401 /* linux_fanotify_init */
2406 /* linux_fanotify_mark */
2411 /* linux_prlimit64 */
2413 struct linux_prlimit64_args *p = params;
2414 iarg[0] = p->pid; /* l_pid_t */
2415 iarg[1] = p->resource; /* l_uint */
2416 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2417 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2421 /* linux_name_to_handle_at */
2426 /* linux_open_by_handle_at */
2431 /* linux_clock_adjtime */
2438 struct linux_syncfs_args *p = params;
2439 iarg[0] = p->fd; /* l_int */
2443 /* linux_sendmmsg */
2445 struct linux_sendmmsg_args *p = params;
2446 iarg[0] = p->s; /* l_int */
2447 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2448 iarg[2] = p->vlen; /* l_uint */
2449 iarg[3] = p->flags; /* l_uint */
2458 /* linux_process_vm_readv */
2463 /* linux_process_vm_writev */
2470 struct linux_set_tls_args *p = params;
2471 uarg[0] = (intptr_t) p->tls; /* void* */
2481 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2483 const char *p = NULL;
2485 #define nosys linux_nosys
2506 p = "userland char *";
2522 p = "userland char *";
2535 p = "userland char *";
2561 p = "userland char *";
2574 p = "userland char *";
2577 p = "userland char *";
2587 p = "userland char *";
2597 p = "userland char *";
2600 p = "userland char **";
2603 p = "userland char **";
2613 p = "userland char *";
2623 p = "userland char *";
2639 p = "userland char *";
2648 /* linux_lchown16 */
2652 p = "userland char *";
2687 p = "userland char *";
2690 p = "userland char *";
2693 p = "userland char *";
2699 p = "userland void *";
2705 /* linux_setuid16 */
2715 /* linux_getuid16 */
2725 p = "userland char *";
2764 p = "userland char *";
2767 p = "userland char *";
2777 p = "userland char *";
2790 p = "userland char *";
2810 p = "userland l_int *";
2820 p = "userland struct l_times_argv *";
2836 /* linux_setgid16 */
2846 /* linux_getgid16 */
2849 /* linux_geteuid16 */
2852 /* linux_getegid16 */
2859 p = "userland char *";
2869 p = "userland char *";
2937 p = "userland char *";
2950 p = "userland struct l_ustat *";
2978 /* linux_sigaction */
2985 p = "userland l_osigaction_t *";
2988 p = "userland l_osigaction_t *";
2994 /* linux_setreuid16 */
3007 /* linux_setregid16 */
3020 /* linux_sigsuspend */
3036 /* linux_sigpending */
3040 p = "userland l_osigset_t *";
3046 /* linux_sethostname */
3050 p = "userland char *";
3059 /* linux_setrlimit */
3066 p = "userland struct l_rlimit *";
3079 p = "userland struct rusage *";
3085 /* linux_gettimeofday */
3089 p = "userland struct timeval32 *";
3092 p = "userland struct timezone *";
3098 /* linux_settimeofday */
3102 p = "userland struct timeval32 *";
3105 p = "userland struct timezone *";
3111 /* linux_getgroups16 */
3118 p = "userland l_gid16_t *";
3124 /* linux_setgroups16 */
3131 p = "userland l_gid16_t *";
3141 p = "userland char *";
3144 p = "userland char *";
3150 /* linux_readlink */
3154 p = "userland char *";
3157 p = "userland char *";
3170 p = "userland char *";
3189 p = "userland void *";
3208 /* linux_truncate */
3212 p = "userland char *";
3221 /* linux_ftruncate */
3263 /* linux_getpriority */
3296 p = "userland char *";
3299 p = "userland struct l_statfs_buf *";
3312 p = "userland struct l_statfs_buf *";
3325 p = "userland char *";
3334 /* linux_setitimer */
3341 p = "userland struct l_itimerval *";
3344 p = "userland struct l_itimerval *";
3350 /* linux_getitimer */
3357 p = "userland struct l_itimerval *";
3367 p = "userland char *";
3370 p = "userland struct l_newstat *";
3376 /* linux_newlstat */
3380 p = "userland char *";
3383 p = "userland struct l_newstat *";
3389 /* linux_newfstat */
3396 p = "userland struct l_newstat *";
3412 p = "userland l_int *";
3418 p = "userland void *";
3431 p = "userland struct l_sysinfo *";
3447 /* linux_sigreturn */
3451 p = "userland struct l_sigframe *";
3464 p = "userland void *";
3467 p = "userland void *";
3470 p = "userland void *";
3473 p = "userland void *";
3479 /* linux_setdomainname */
3483 p = "userland char *";
3492 /* linux_newuname */
3496 p = "userland struct l_new_utsname *";
3502 /* linux_adjtimex */
3505 /* linux_mprotect */
3521 /* linux_sigprocmask */
3528 p = "userland l_osigset_t *";
3531 p = "userland l_osigset_t *";
3537 /* linux_init_module */
3540 /* linux_delete_module */
3543 /* linux_quotactl */
3585 /* linux_personality */
3595 /* linux_setfsuid16 */
3605 /* linux_setfsgid16 */
3628 p = "userland l_loff_t *";
3637 /* linux_getdents */
3644 p = "userland void *";
3660 p = "userland l_fd_set *";
3663 p = "userland l_fd_set *";
3666 p = "userland l_fd_set *";
3669 p = "userland struct l_timeval *";
3711 p = "userland struct iovec *";
3727 p = "userland struct iovec *";
3746 /* linux_fdatasync */
3760 p = "userland struct l___sysctl_args *";
3770 p = "userland const void *";
3783 p = "userland const void *";
3805 /* linux_sched_setparam */
3812 p = "userland struct sched_param *";
3818 /* linux_sched_getparam */
3825 p = "userland struct sched_param *";
3831 /* linux_sched_setscheduler */
3841 p = "userland struct sched_param *";
3847 /* linux_sched_getscheduler */
3860 /* linux_sched_get_priority_max */
3870 /* linux_sched_get_priority_min */
3880 /* linux_sched_rr_get_interval */
3887 p = "userland struct l_timespec *";
3893 /* linux_nanosleep */
3897 p = "userland const struct l_timespec *";
3900 p = "userland struct l_timespec *";
3928 /* linux_setresuid16 */
3944 /* linux_getresuid16 */
3948 p = "userland l_uid16_t *";
3951 p = "userland l_uid16_t *";
3954 p = "userland l_uid16_t *";
3964 p = "userland struct pollfd*";
3976 /* linux_setresgid16 */
3992 /* linux_getresgid16 */
3996 p = "userland l_gid16_t *";
3999 p = "userland l_gid16_t *";
4002 p = "userland l_gid16_t *";
4030 /* linux_rt_sigreturn */
4034 p = "userland struct l_ucontext *";
4040 /* linux_rt_sigaction */
4047 p = "userland l_sigaction_t *";
4050 p = "userland l_sigaction_t *";
4059 /* linux_rt_sigprocmask */
4066 p = "userland l_sigset_t *";
4069 p = "userland l_sigset_t *";
4078 /* linux_rt_sigpending */
4082 p = "userland l_sigset_t *";
4091 /* linux_rt_sigtimedwait */
4095 p = "userland l_sigset_t *";
4098 p = "userland l_siginfo_t *";
4101 p = "userland struct l_timeval *";
4110 /* linux_rt_sigqueueinfo */
4120 p = "userland l_siginfo_t *";
4126 /* linux_rt_sigsuspend */
4130 p = "userland l_sigset_t *";
4146 p = "userland char *";
4165 p = "userland char *";
4181 p = "userland char *";
4197 p = "userland char *";
4210 p = "userland struct l_user_cap_header *";
4213 p = "userland struct l_user_cap_data *";
4223 p = "userland struct l_user_cap_header *";
4226 p = "userland struct l_user_cap_data *";
4232 /* linux_sigaltstack */
4236 p = "userland l_stack_t *";
4239 p = "userland l_stack_t *";
4245 /* linux_sendfile */
4251 /* linux_getrlimit */
4258 p = "userland struct l_rlimit *";
4289 /* linux_truncate64 */
4293 p = "userland char *";
4302 /* linux_ftruncate64 */
4319 p = "userland const char *";
4322 p = "userland struct l_stat64 *";
4332 p = "userland const char *";
4335 p = "userland struct l_stat64 *";
4348 p = "userland struct l_stat64 *";
4358 p = "userland char *";
4408 /* linux_getgroups */
4415 p = "userland l_gid_t *";
4421 /* linux_setgroups */
4428 p = "userland l_gid_t *";
4457 p = "userland uid_t *";
4460 p = "userland uid_t *";
4463 p = "userland uid_t *";
4489 p = "userland gid_t *";
4492 p = "userland gid_t *";
4495 p = "userland gid_t *";
4505 p = "userland char *";
4537 /* linux_setfsuid */
4547 /* linux_setfsgid */
4557 /* linux_getdents64 */
4564 p = "userland void *";
4573 /* linux_pivot_root */
4577 p = "userland char *";
4580 p = "userland char *";
4596 p = "userland u_char *";
4606 p = "userland void *";
4637 /* linux_setxattr */
4640 /* linux_lsetxattr */
4643 /* linux_fsetxattr */
4646 /* linux_getxattr */
4649 /* linux_lgetxattr */
4652 /* linux_fgetxattr */
4655 /* linux_listxattr */
4658 /* linux_llistxattr */
4661 /* linux_flistxattr */
4664 /* linux_removexattr */
4667 /* linux_lremovexattr */
4670 /* linux_fremovexattr */
4686 /* linux_sys_futex */
4690 p = "userland void *";
4699 p = "userland struct l_timespec *";
4702 p = "userland uint32_t *";
4711 /* linux_sched_setaffinity */
4721 p = "userland l_ulong *";
4727 /* linux_sched_getaffinity */
4737 p = "userland l_ulong *";
4743 /* linux_exit_group */
4753 /* linux_lookup_dcookie */
4756 /* linux_epoll_create */
4766 /* linux_epoll_ctl */
4779 p = "userland struct epoll_event *";
4785 /* linux_epoll_wait */
4792 p = "userland struct epoll_event *";
4804 /* linux_remap_file_pages */
4807 /* linux_set_tid_address */
4811 p = "userland int *";
4817 /* linux_timer_create */
4824 p = "userland struct sigevent *";
4827 p = "userland l_timer_t *";
4833 /* linux_timer_settime */
4843 p = "userland const struct itimerspec *";
4846 p = "userland struct itimerspec *";
4852 /* linux_timer_gettime */
4859 p = "userland struct itimerspec *";
4865 /* linux_timer_getoverrun */
4875 /* linux_timer_delete */
4885 /* linux_clock_settime */
4892 p = "userland struct l_timespec *";
4898 /* linux_clock_gettime */
4905 p = "userland struct l_timespec *";
4911 /* linux_clock_getres */
4918 p = "userland struct l_timespec *";
4924 /* linux_clock_nanosleep */
4934 p = "userland struct l_timespec *";
4937 p = "userland struct l_timespec *";
4943 /* linux_statfs64 */
4947 p = "userland char *";
4953 p = "userland struct l_statfs64_buf *";
4959 /* linux_fstatfs64 */
4969 p = "userland struct l_statfs64_buf *";
4995 p = "userland char *";
4998 p = "userland struct l_timeval *";
5004 /* linux_fadvise64_64 */
5027 p = "userland const char *";
5036 p = "userland struct mq_attr *";
5042 /* linux_mq_unlink */
5046 p = "userland const char *";
5052 /* linux_mq_timedsend */
5059 p = "userland const char *";
5068 p = "userland const struct l_timespec *";
5074 /* linux_mq_timedreceive */
5081 p = "userland char *";
5090 p = "userland const struct l_timespec *";
5096 /* linux_mq_notify */
5103 p = "userland const struct l_timespec *";
5109 /* linux_mq_getsetattr */
5116 p = "userland const struct mq_attr *";
5119 p = "userland struct mq_attr *";
5135 p = "userland l_siginfo_t *";
5141 p = "userland void *";
5224 /* linux_getsockname */
5240 /* linux_getpeername */
5256 /* linux_socketpair */
5338 /* linux_recvfrom */
5363 /* linux_shutdown */
5376 /* linux_setsockopt */
5398 /* linux_getsockopt */
5459 p = "userland struct l_sembuf *";
5497 p = "union l_semun";
5510 p = "userland struct l_msgbuf *";
5529 p = "userland struct l_msgbuf *";
5567 p = "userland struct l_msqid_ds *";
5580 p = "userland char *";
5593 p = "userland char *";
5625 p = "userland struct l_shmid_ds *";
5634 /* linux_request_key */
5640 /* linux_ioprio_set */
5643 /* linux_ioprio_get */
5646 /* linux_inotify_init */
5649 /* linux_inotify_add_watch */
5652 /* linux_inotify_rm_watch */
5658 /* linux_get_mempolicy */
5661 /* linux_set_mempolicy */
5671 p = "userland const char *";
5690 p = "userland const char *";
5706 p = "userland const char *";
5718 /* linux_fchownat */
5725 p = "userland const char *";
5740 /* linux_futimesat */
5747 p = "userland char *";
5750 p = "userland struct l_timeval *";
5756 /* linux_fstatat64 */
5763 p = "userland char *";
5766 p = "userland struct l_stat64 *";
5775 /* linux_unlinkat */
5782 p = "userland const char *";
5791 /* linux_renameat */
5798 p = "userland const char *";
5804 p = "userland const char *";
5817 p = "userland const char *";
5823 p = "userland const char *";
5832 /* linux_symlinkat */
5836 p = "userland const char *";
5842 p = "userland const char *";
5848 /* linux_readlinkat */
5855 p = "userland const char *";
5858 p = "userland char *";
5867 /* linux_fchmodat */
5874 p = "userland const char *";
5883 /* linux_faccessat */
5890 p = "userland const char *";
5899 /* linux_pselect6 */
5906 p = "userland l_fd_set *";
5909 p = "userland l_fd_set *";
5912 p = "userland l_fd_set *";
5915 p = "userland struct l_timespec *";
5918 p = "userland l_uintptr_t *";
5928 p = "userland struct pollfd *";
5934 p = "userland struct l_timespec *";
5937 p = "userland l_sigset_t *";
5949 /* linux_set_robust_list */
5953 p = "userland struct linux_robust_list_head *";
5962 /* linux_get_robust_list */
5969 p = "userland struct linux_robust_list_head **";
5972 p = "userland l_size_t *";
5981 /* linux_sync_file_range */
6003 /* linux_vmsplice */
6006 /* linux_move_pages */
6012 /* linux_epoll_pwait */
6019 p = "userland struct epoll_event *";
6028 p = "userland l_sigset_t *";
6034 /* linux_kexec_load */
6037 /* linux_utimensat */
6044 p = "userland const char *";
6047 p = "userland const struct l_timespec *";
6056 /* linux_signalfd */
6059 /* linux_timerfd_create */
6072 /* linux_fallocate */
6091 /* linux_timerfd_settime */
6094 /* linux_timerfd_gettime */
6097 /* linux_signalfd4 */
6100 /* linux_eventfd2 */
6113 /* linux_epoll_create1 */
6143 p = "userland l_int *";
6152 /* linux_inotify_init1 */
6161 /* linux_rt_tsigqueueinfo */
6164 /* linux_perf_event_open */
6167 /* linux_recvmmsg */
6174 p = "userland struct l_mmsghdr *";
6183 p = "userland struct l_timespec *";
6208 /* linux_fanotify_init */
6211 /* linux_fanotify_mark */
6214 /* linux_prlimit64 */
6224 p = "userland struct rlimit *";
6227 p = "userland struct rlimit *";
6233 /* linux_name_to_handle_at */
6236 /* linux_open_by_handle_at */
6239 /* linux_clock_adjtime */
6252 /* linux_sendmmsg */
6259 p = "userland struct l_mmsghdr *";
6274 /* linux_process_vm_readv */
6277 /* linux_process_vm_writev */
6284 p = "userland void*";
6294 strlcpy(desc, p, descsz);
6297 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6299 const char *p = NULL;
6301 #define nosys linux_nosys
6304 if (ndx == 0 || ndx == 1)
6311 if (ndx == 0 || ndx == 1)
6316 if (ndx == 0 || ndx == 1)
6321 if (ndx == 0 || ndx == 1)
6326 if (ndx == 0 || ndx == 1)
6331 if (ndx == 0 || ndx == 1)
6336 if (ndx == 0 || ndx == 1)
6341 if (ndx == 0 || ndx == 1)
6346 if (ndx == 0 || ndx == 1)
6351 if (ndx == 0 || ndx == 1)
6356 if (ndx == 0 || ndx == 1)
6361 if (ndx == 0 || ndx == 1)
6364 /* linux_lchown16 */
6366 if (ndx == 0 || ndx == 1)
6371 if (ndx == 0 || ndx == 1)
6378 if (ndx == 0 || ndx == 1)
6381 /* linux_setuid16 */
6383 if (ndx == 0 || ndx == 1)
6386 /* linux_getuid16 */
6392 if (ndx == 0 || ndx == 1)
6397 if (ndx == 0 || ndx == 1)
6404 if (ndx == 0 || ndx == 1)
6409 if (ndx == 0 || ndx == 1)
6414 if (ndx == 0 || ndx == 1)
6419 if (ndx == 0 || ndx == 1)
6424 if (ndx == 0 || ndx == 1)
6429 if (ndx == 0 || ndx == 1)
6434 if (ndx == 0 || ndx == 1)
6439 if (ndx == 0 || ndx == 1)
6442 /* linux_setgid16 */
6444 if (ndx == 0 || ndx == 1)
6447 /* linux_getgid16 */
6449 /* linux_geteuid16 */
6451 /* linux_getegid16 */
6455 if (ndx == 0 || ndx == 1)
6460 if (ndx == 0 || ndx == 1)
6465 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)
6504 /* linux_sigaction */
6506 if (ndx == 0 || ndx == 1)
6509 /* linux_setreuid16 */
6511 if (ndx == 0 || ndx == 1)
6514 /* linux_setregid16 */
6516 if (ndx == 0 || ndx == 1)
6519 /* linux_sigsuspend */
6521 if (ndx == 0 || ndx == 1)
6524 /* linux_sigpending */
6526 if (ndx == 0 || ndx == 1)
6529 /* linux_sethostname */
6531 if (ndx == 0 || ndx == 1)
6534 /* linux_setrlimit */
6536 if (ndx == 0 || ndx == 1)
6541 if (ndx == 0 || ndx == 1)
6544 /* linux_gettimeofday */
6546 if (ndx == 0 || ndx == 1)
6549 /* linux_settimeofday */
6551 if (ndx == 0 || ndx == 1)
6554 /* linux_getgroups16 */
6556 if (ndx == 0 || ndx == 1)
6559 /* linux_setgroups16 */
6561 if (ndx == 0 || ndx == 1)
6566 if (ndx == 0 || ndx == 1)
6569 /* linux_readlink */
6571 if (ndx == 0 || ndx == 1)
6576 if (ndx == 0 || ndx == 1)
6581 if (ndx == 0 || ndx == 1)
6586 if (ndx == 0 || ndx == 1)
6589 /* linux_truncate */
6591 if (ndx == 0 || ndx == 1)
6594 /* linux_ftruncate */
6596 if (ndx == 0 || ndx == 1)
6601 if (ndx == 0 || ndx == 1)
6606 if (ndx == 0 || ndx == 1)
6609 /* linux_getpriority */
6611 if (ndx == 0 || ndx == 1)
6616 if (ndx == 0 || ndx == 1)
6621 if (ndx == 0 || ndx == 1)
6626 if (ndx == 0 || ndx == 1)
6631 if (ndx == 0 || ndx == 1)
6634 /* linux_setitimer */
6636 if (ndx == 0 || ndx == 1)
6639 /* linux_getitimer */
6641 if (ndx == 0 || ndx == 1)
6646 if (ndx == 0 || ndx == 1)
6649 /* linux_newlstat */
6651 if (ndx == 0 || ndx == 1)
6654 /* linux_newfstat */
6656 if (ndx == 0 || ndx == 1)
6663 if (ndx == 0 || ndx == 1)
6670 if (ndx == 0 || ndx == 1)
6675 if (ndx == 0 || ndx == 1)
6678 /* linux_sigreturn */
6680 if (ndx == 0 || ndx == 1)
6685 if (ndx == 0 || ndx == 1)
6688 /* linux_setdomainname */
6690 if (ndx == 0 || ndx == 1)
6693 /* linux_newuname */
6695 if (ndx == 0 || ndx == 1)
6698 /* linux_adjtimex */
6700 /* linux_mprotect */
6702 if (ndx == 0 || ndx == 1)
6705 /* linux_sigprocmask */
6707 if (ndx == 0 || ndx == 1)
6710 /* linux_init_module */
6712 /* linux_delete_module */
6714 /* linux_quotactl */
6718 if (ndx == 0 || ndx == 1)
6723 if (ndx == 0 || ndx == 1)
6730 if (ndx == 0 || ndx == 1)
6733 /* linux_personality */
6735 if (ndx == 0 || ndx == 1)
6738 /* linux_setfsuid16 */
6740 if (ndx == 0 || ndx == 1)
6743 /* linux_setfsgid16 */
6745 if (ndx == 0 || ndx == 1)
6750 if (ndx == 0 || ndx == 1)
6753 /* linux_getdents */
6755 if (ndx == 0 || ndx == 1)
6760 if (ndx == 0 || ndx == 1)
6765 if (ndx == 0 || ndx == 1)
6770 if (ndx == 0 || ndx == 1)
6775 if (ndx == 0 || ndx == 1)
6780 if (ndx == 0 || ndx == 1)
6785 if (ndx == 0 || ndx == 1)
6788 /* linux_fdatasync */
6790 if (ndx == 0 || ndx == 1)
6795 if (ndx == 0 || ndx == 1)
6800 if (ndx == 0 || ndx == 1)
6805 if (ndx == 0 || ndx == 1)
6810 if (ndx == 0 || ndx == 1)
6815 /* linux_sched_setparam */
6817 if (ndx == 0 || ndx == 1)
6820 /* linux_sched_getparam */
6822 if (ndx == 0 || ndx == 1)
6825 /* linux_sched_setscheduler */
6827 if (ndx == 0 || ndx == 1)
6830 /* linux_sched_getscheduler */
6832 if (ndx == 0 || ndx == 1)
6837 /* linux_sched_get_priority_max */
6839 if (ndx == 0 || ndx == 1)
6842 /* linux_sched_get_priority_min */
6844 if (ndx == 0 || ndx == 1)
6847 /* linux_sched_rr_get_interval */
6849 if (ndx == 0 || ndx == 1)
6852 /* linux_nanosleep */
6854 if (ndx == 0 || ndx == 1)
6859 if (ndx == 0 || ndx == 1)
6862 /* linux_setresuid16 */
6864 if (ndx == 0 || ndx == 1)
6867 /* linux_getresuid16 */
6869 if (ndx == 0 || ndx == 1)
6874 if (ndx == 0 || ndx == 1)
6877 /* linux_setresgid16 */
6879 if (ndx == 0 || ndx == 1)
6882 /* linux_getresgid16 */
6884 if (ndx == 0 || ndx == 1)
6889 if (ndx == 0 || ndx == 1)
6892 /* linux_rt_sigreturn */
6894 if (ndx == 0 || ndx == 1)
6897 /* linux_rt_sigaction */
6899 if (ndx == 0 || ndx == 1)
6902 /* linux_rt_sigprocmask */
6904 if (ndx == 0 || ndx == 1)
6907 /* linux_rt_sigpending */
6909 if (ndx == 0 || ndx == 1)
6912 /* linux_rt_sigtimedwait */
6914 if (ndx == 0 || ndx == 1)
6917 /* linux_rt_sigqueueinfo */
6919 if (ndx == 0 || ndx == 1)
6922 /* linux_rt_sigsuspend */
6924 if (ndx == 0 || ndx == 1)
6929 if (ndx == 0 || ndx == 1)
6934 if (ndx == 0 || ndx == 1)
6939 if (ndx == 0 || ndx == 1)
6944 if (ndx == 0 || ndx == 1)
6949 if (ndx == 0 || ndx == 1)
6954 if (ndx == 0 || ndx == 1)
6957 /* linux_sigaltstack */
6959 if (ndx == 0 || ndx == 1)
6962 /* linux_sendfile */
6966 /* linux_getrlimit */
6968 if (ndx == 0 || ndx == 1)
6973 if (ndx == 0 || ndx == 1)
6976 /* linux_truncate64 */
6978 if (ndx == 0 || ndx == 1)
6981 /* linux_ftruncate64 */
6983 if (ndx == 0 || ndx == 1)
6988 if (ndx == 0 || ndx == 1)
6993 if (ndx == 0 || ndx == 1)
6998 if (ndx == 0 || ndx == 1)
7003 if (ndx == 0 || ndx == 1)
7016 if (ndx == 0 || ndx == 1)
7021 if (ndx == 0 || ndx == 1)
7024 /* linux_getgroups */
7026 if (ndx == 0 || ndx == 1)
7029 /* linux_setgroups */
7031 if (ndx == 0 || ndx == 1)
7038 if (ndx == 0 || ndx == 1)
7043 if (ndx == 0 || ndx == 1)
7048 if (ndx == 0 || ndx == 1)
7053 if (ndx == 0 || ndx == 1)
7058 if (ndx == 0 || ndx == 1)
7063 if (ndx == 0 || ndx == 1)
7068 if (ndx == 0 || ndx == 1)
7071 /* linux_setfsuid */
7073 if (ndx == 0 || ndx == 1)
7076 /* linux_setfsgid */
7078 if (ndx == 0 || ndx == 1)
7081 /* linux_getdents64 */
7083 if (ndx == 0 || ndx == 1)
7086 /* linux_pivot_root */
7088 if (ndx == 0 || ndx == 1)
7093 if (ndx == 0 || ndx == 1)
7098 if (ndx == 0 || ndx == 1)
7103 if (ndx == 0 || ndx == 1)
7108 /* linux_setxattr */
7110 /* linux_lsetxattr */
7112 /* linux_fsetxattr */
7114 /* linux_getxattr */
7116 /* linux_lgetxattr */
7118 /* linux_fgetxattr */
7120 /* linux_listxattr */
7122 /* linux_llistxattr */
7124 /* linux_flistxattr */
7126 /* linux_removexattr */
7128 /* linux_lremovexattr */
7130 /* linux_fremovexattr */
7134 if (ndx == 0 || ndx == 1)
7137 /* linux_sys_futex */
7139 if (ndx == 0 || ndx == 1)
7142 /* linux_sched_setaffinity */
7144 if (ndx == 0 || ndx == 1)
7147 /* linux_sched_getaffinity */
7149 if (ndx == 0 || ndx == 1)
7152 /* linux_exit_group */
7154 if (ndx == 0 || ndx == 1)
7157 /* linux_lookup_dcookie */
7159 /* linux_epoll_create */
7161 if (ndx == 0 || ndx == 1)
7164 /* linux_epoll_ctl */
7166 if (ndx == 0 || ndx == 1)
7169 /* linux_epoll_wait */
7171 if (ndx == 0 || ndx == 1)
7174 /* linux_remap_file_pages */
7176 /* linux_set_tid_address */
7178 if (ndx == 0 || ndx == 1)
7181 /* linux_timer_create */
7183 if (ndx == 0 || ndx == 1)
7186 /* linux_timer_settime */
7188 if (ndx == 0 || ndx == 1)
7191 /* linux_timer_gettime */
7193 if (ndx == 0 || ndx == 1)
7196 /* linux_timer_getoverrun */
7198 if (ndx == 0 || ndx == 1)
7201 /* linux_timer_delete */
7203 if (ndx == 0 || ndx == 1)
7206 /* linux_clock_settime */
7208 if (ndx == 0 || ndx == 1)
7211 /* linux_clock_gettime */
7213 if (ndx == 0 || ndx == 1)
7216 /* linux_clock_getres */
7218 if (ndx == 0 || ndx == 1)
7221 /* linux_clock_nanosleep */
7223 if (ndx == 0 || ndx == 1)
7226 /* linux_statfs64 */
7228 if (ndx == 0 || ndx == 1)
7231 /* linux_fstatfs64 */
7233 if (ndx == 0 || ndx == 1)
7238 if (ndx == 0 || ndx == 1)
7243 if (ndx == 0 || ndx == 1)
7246 /* linux_fadvise64_64 */
7248 if (ndx == 0 || ndx == 1)
7253 if (ndx == 0 || ndx == 1)
7256 /* linux_mq_unlink */
7258 if (ndx == 0 || ndx == 1)
7261 /* linux_mq_timedsend */
7263 if (ndx == 0 || ndx == 1)
7266 /* linux_mq_timedreceive */
7268 if (ndx == 0 || ndx == 1)
7271 /* linux_mq_notify */
7273 if (ndx == 0 || ndx == 1)
7276 /* linux_mq_getsetattr */
7278 if (ndx == 0 || ndx == 1)
7283 if (ndx == 0 || ndx == 1)
7288 if (ndx == 0 || ndx == 1)
7293 if (ndx == 0 || ndx == 1)
7298 if (ndx == 0 || ndx == 1)
7303 if (ndx == 0 || ndx == 1)
7308 if (ndx == 0 || ndx == 1)
7311 /* linux_getsockname */
7313 if (ndx == 0 || ndx == 1)
7316 /* linux_getpeername */
7318 if (ndx == 0 || ndx == 1)
7321 /* linux_socketpair */
7323 if (ndx == 0 || ndx == 1)
7328 if (ndx == 0 || ndx == 1)
7333 if (ndx == 0 || ndx == 1)
7338 if (ndx == 0 || ndx == 1)
7341 /* linux_recvfrom */
7343 if (ndx == 0 || ndx == 1)
7346 /* linux_shutdown */
7348 if (ndx == 0 || ndx == 1)
7351 /* linux_setsockopt */
7353 if (ndx == 0 || ndx == 1)
7356 /* linux_getsockopt */
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)
7388 if (ndx == 0 || ndx == 1)
7393 if (ndx == 0 || ndx == 1)
7398 if (ndx == 0 || ndx == 1)
7403 if (ndx == 0 || ndx == 1)
7408 if (ndx == 0 || ndx == 1)
7413 if (ndx == 0 || ndx == 1)
7418 if (ndx == 0 || ndx == 1)
7423 if (ndx == 0 || ndx == 1)
7428 /* linux_request_key */
7432 /* linux_ioprio_set */
7434 /* linux_ioprio_get */
7436 /* linux_inotify_init */
7438 /* linux_inotify_add_watch */
7440 /* linux_inotify_rm_watch */
7444 /* linux_get_mempolicy */
7446 /* linux_set_mempolicy */
7450 if (ndx == 0 || ndx == 1)
7455 if (ndx == 0 || ndx == 1)
7460 if (ndx == 0 || ndx == 1)
7463 /* linux_fchownat */
7465 if (ndx == 0 || ndx == 1)
7468 /* linux_futimesat */
7470 if (ndx == 0 || ndx == 1)
7473 /* linux_fstatat64 */
7475 if (ndx == 0 || ndx == 1)
7478 /* linux_unlinkat */
7480 if (ndx == 0 || ndx == 1)
7483 /* linux_renameat */
7485 if (ndx == 0 || ndx == 1)
7490 if (ndx == 0 || ndx == 1)
7493 /* linux_symlinkat */
7495 if (ndx == 0 || ndx == 1)
7498 /* linux_readlinkat */
7500 if (ndx == 0 || ndx == 1)
7503 /* linux_fchmodat */
7505 if (ndx == 0 || ndx == 1)
7508 /* linux_faccessat */
7510 if (ndx == 0 || ndx == 1)
7513 /* linux_pselect6 */
7515 if (ndx == 0 || ndx == 1)
7520 if (ndx == 0 || ndx == 1)
7525 /* linux_set_robust_list */
7527 if (ndx == 0 || ndx == 1)
7530 /* linux_get_robust_list */
7532 if (ndx == 0 || ndx == 1)
7537 /* linux_sync_file_range */
7539 if (ndx == 0 || ndx == 1)
7544 /* linux_vmsplice */
7546 /* linux_move_pages */
7550 /* linux_epoll_pwait */
7552 if (ndx == 0 || ndx == 1)
7555 /* linux_kexec_load */
7557 /* linux_utimensat */
7559 if (ndx == 0 || ndx == 1)
7562 /* linux_signalfd */
7564 /* linux_timerfd_create */
7568 if (ndx == 0 || ndx == 1)
7571 /* linux_fallocate */
7573 if (ndx == 0 || ndx == 1)
7576 /* linux_timerfd_settime */
7578 /* linux_timerfd_gettime */
7580 /* linux_signalfd4 */
7582 /* linux_eventfd2 */
7584 if (ndx == 0 || ndx == 1)
7587 /* linux_epoll_create1 */
7589 if (ndx == 0 || ndx == 1)
7594 if (ndx == 0 || ndx == 1)
7599 if (ndx == 0 || ndx == 1)
7602 /* linux_inotify_init1 */
7608 /* linux_rt_tsigqueueinfo */
7610 /* linux_perf_event_open */
7612 /* linux_recvmmsg */
7614 if (ndx == 0 || ndx == 1)
7619 if (ndx == 0 || ndx == 1)
7622 /* linux_fanotify_init */
7624 /* linux_fanotify_mark */
7626 /* linux_prlimit64 */
7628 if (ndx == 0 || ndx == 1)
7631 /* linux_name_to_handle_at */
7633 /* linux_open_by_handle_at */
7635 /* linux_clock_adjtime */
7639 if (ndx == 0 || ndx == 1)
7642 /* linux_sendmmsg */
7644 if (ndx == 0 || ndx == 1)
7649 /* linux_process_vm_readv */
7651 /* linux_process_vm_writev */
7655 if (ndx == 0 || ndx == 1)
7662 strlcpy(desc, p, descsz);