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 */
2252 struct linux_getcpu_args *p = params;
2253 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2254 uarg[1] = (intptr_t) p->node; /* l_uint * */
2255 uarg[2] = (intptr_t) p->cache; /* void * */
2259 /* linux_epoll_pwait */
2261 struct linux_epoll_pwait_args *p = params;
2262 iarg[0] = p->epfd; /* l_int */
2263 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2264 iarg[2] = p->maxevents; /* l_int */
2265 iarg[3] = p->timeout; /* l_int */
2266 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2270 /* linux_kexec_load */
2275 /* linux_utimensat */
2277 struct linux_utimensat_args *p = params;
2278 iarg[0] = p->dfd; /* l_int */
2279 uarg[1] = (intptr_t) p->pathname; /* const char * */
2280 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2281 iarg[3] = p->flags; /* l_int */
2285 /* linux_signalfd */
2290 /* linux_timerfd_create */
2297 struct linux_eventfd_args *p = params;
2298 iarg[0] = p->initval; /* l_uint */
2302 /* linux_fallocate */
2304 struct linux_fallocate_args *p = params;
2305 iarg[0] = p->fd; /* l_int */
2306 iarg[1] = p->mode; /* l_int */
2307 iarg[2] = p->offset; /* l_loff_t */
2308 iarg[3] = p->len; /* l_loff_t */
2312 /* linux_timerfd_settime */
2317 /* linux_timerfd_gettime */
2322 /* linux_signalfd4 */
2327 /* linux_eventfd2 */
2329 struct linux_eventfd2_args *p = params;
2330 iarg[0] = p->initval; /* l_uint */
2331 iarg[1] = p->flags; /* l_int */
2335 /* linux_epoll_create1 */
2337 struct linux_epoll_create1_args *p = params;
2338 iarg[0] = p->flags; /* l_int */
2344 struct linux_dup3_args *p = params;
2345 iarg[0] = p->oldfd; /* l_int */
2346 iarg[1] = p->newfd; /* l_int */
2347 iarg[2] = p->flags; /* l_int */
2353 struct linux_pipe2_args *p = params;
2354 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2355 iarg[1] = p->flags; /* l_int */
2359 /* linux_inotify_init1 */
2374 /* linux_rt_tsigqueueinfo */
2379 /* linux_perf_event_open */
2384 /* linux_recvmmsg */
2386 struct linux_recvmmsg_args *p = params;
2387 iarg[0] = p->s; /* l_int */
2388 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2389 iarg[2] = p->vlen; /* l_uint */
2390 iarg[3] = p->flags; /* l_uint */
2391 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2397 struct linux_accept4_args *p = params;
2398 iarg[0] = p->s; /* l_int */
2399 iarg[1] = p->addr; /* l_uintptr_t */
2400 iarg[2] = p->namelen; /* l_uintptr_t */
2401 iarg[3] = p->flags; /* int */
2405 /* linux_fanotify_init */
2410 /* linux_fanotify_mark */
2415 /* linux_prlimit64 */
2417 struct linux_prlimit64_args *p = params;
2418 iarg[0] = p->pid; /* l_pid_t */
2419 iarg[1] = p->resource; /* l_uint */
2420 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2421 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2425 /* linux_name_to_handle_at */
2430 /* linux_open_by_handle_at */
2435 /* linux_clock_adjtime */
2442 struct linux_syncfs_args *p = params;
2443 iarg[0] = p->fd; /* l_int */
2447 /* linux_sendmmsg */
2449 struct linux_sendmmsg_args *p = params;
2450 iarg[0] = p->s; /* l_int */
2451 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2452 iarg[2] = p->vlen; /* l_uint */
2453 iarg[3] = p->flags; /* l_uint */
2462 /* linux_process_vm_readv */
2467 /* linux_process_vm_writev */
2474 struct linux_set_tls_args *p = params;
2475 uarg[0] = (intptr_t) p->tls; /* void* */
2485 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2487 const char *p = NULL;
2489 #define nosys linux_nosys
2510 p = "userland char *";
2526 p = "userland char *";
2539 p = "userland char *";
2565 p = "userland char *";
2578 p = "userland char *";
2581 p = "userland char *";
2591 p = "userland char *";
2601 p = "userland char *";
2604 p = "userland char **";
2607 p = "userland char **";
2617 p = "userland char *";
2627 p = "userland char *";
2643 p = "userland char *";
2652 /* linux_lchown16 */
2656 p = "userland char *";
2691 p = "userland char *";
2694 p = "userland char *";
2697 p = "userland char *";
2703 p = "userland void *";
2709 /* linux_setuid16 */
2719 /* linux_getuid16 */
2729 p = "userland char *";
2768 p = "userland char *";
2771 p = "userland char *";
2781 p = "userland char *";
2794 p = "userland char *";
2814 p = "userland l_int *";
2824 p = "userland struct l_times_argv *";
2840 /* linux_setgid16 */
2850 /* linux_getgid16 */
2853 /* linux_geteuid16 */
2856 /* linux_getegid16 */
2863 p = "userland char *";
2873 p = "userland char *";
2941 p = "userland char *";
2954 p = "userland struct l_ustat *";
2982 /* linux_sigaction */
2989 p = "userland l_osigaction_t *";
2992 p = "userland l_osigaction_t *";
2998 /* linux_setreuid16 */
3011 /* linux_setregid16 */
3024 /* linux_sigsuspend */
3040 /* linux_sigpending */
3044 p = "userland l_osigset_t *";
3050 /* linux_sethostname */
3054 p = "userland char *";
3063 /* linux_setrlimit */
3070 p = "userland struct l_rlimit *";
3083 p = "userland struct rusage *";
3089 /* linux_gettimeofday */
3093 p = "userland struct timeval32 *";
3096 p = "userland struct timezone *";
3102 /* linux_settimeofday */
3106 p = "userland struct timeval32 *";
3109 p = "userland struct timezone *";
3115 /* linux_getgroups16 */
3122 p = "userland l_gid16_t *";
3128 /* linux_setgroups16 */
3135 p = "userland l_gid16_t *";
3145 p = "userland char *";
3148 p = "userland char *";
3154 /* linux_readlink */
3158 p = "userland char *";
3161 p = "userland char *";
3174 p = "userland char *";
3193 p = "userland void *";
3212 /* linux_truncate */
3216 p = "userland char *";
3225 /* linux_ftruncate */
3267 /* linux_getpriority */
3300 p = "userland char *";
3303 p = "userland struct l_statfs_buf *";
3316 p = "userland struct l_statfs_buf *";
3329 p = "userland char *";
3338 /* linux_setitimer */
3345 p = "userland struct l_itimerval *";
3348 p = "userland struct l_itimerval *";
3354 /* linux_getitimer */
3361 p = "userland struct l_itimerval *";
3371 p = "userland char *";
3374 p = "userland struct l_newstat *";
3380 /* linux_newlstat */
3384 p = "userland char *";
3387 p = "userland struct l_newstat *";
3393 /* linux_newfstat */
3400 p = "userland struct l_newstat *";
3416 p = "userland l_int *";
3422 p = "userland void *";
3435 p = "userland struct l_sysinfo *";
3451 /* linux_sigreturn */
3455 p = "userland struct l_sigframe *";
3468 p = "userland void *";
3471 p = "userland void *";
3474 p = "userland void *";
3477 p = "userland void *";
3483 /* linux_setdomainname */
3487 p = "userland char *";
3496 /* linux_newuname */
3500 p = "userland struct l_new_utsname *";
3506 /* linux_adjtimex */
3509 /* linux_mprotect */
3525 /* linux_sigprocmask */
3532 p = "userland l_osigset_t *";
3535 p = "userland l_osigset_t *";
3541 /* linux_init_module */
3544 /* linux_delete_module */
3547 /* linux_quotactl */
3589 /* linux_personality */
3599 /* linux_setfsuid16 */
3609 /* linux_setfsgid16 */
3632 p = "userland l_loff_t *";
3641 /* linux_getdents */
3648 p = "userland void *";
3664 p = "userland l_fd_set *";
3667 p = "userland l_fd_set *";
3670 p = "userland l_fd_set *";
3673 p = "userland struct l_timeval *";
3715 p = "userland struct iovec *";
3731 p = "userland struct iovec *";
3750 /* linux_fdatasync */
3764 p = "userland struct l___sysctl_args *";
3774 p = "userland const void *";
3787 p = "userland const void *";
3809 /* linux_sched_setparam */
3816 p = "userland struct sched_param *";
3822 /* linux_sched_getparam */
3829 p = "userland struct sched_param *";
3835 /* linux_sched_setscheduler */
3845 p = "userland struct sched_param *";
3851 /* linux_sched_getscheduler */
3864 /* linux_sched_get_priority_max */
3874 /* linux_sched_get_priority_min */
3884 /* linux_sched_rr_get_interval */
3891 p = "userland struct l_timespec *";
3897 /* linux_nanosleep */
3901 p = "userland const struct l_timespec *";
3904 p = "userland struct l_timespec *";
3932 /* linux_setresuid16 */
3948 /* linux_getresuid16 */
3952 p = "userland l_uid16_t *";
3955 p = "userland l_uid16_t *";
3958 p = "userland l_uid16_t *";
3968 p = "userland struct pollfd*";
3980 /* linux_setresgid16 */
3996 /* linux_getresgid16 */
4000 p = "userland l_gid16_t *";
4003 p = "userland l_gid16_t *";
4006 p = "userland l_gid16_t *";
4034 /* linux_rt_sigreturn */
4038 p = "userland struct l_ucontext *";
4044 /* linux_rt_sigaction */
4051 p = "userland l_sigaction_t *";
4054 p = "userland l_sigaction_t *";
4063 /* linux_rt_sigprocmask */
4070 p = "userland l_sigset_t *";
4073 p = "userland l_sigset_t *";
4082 /* linux_rt_sigpending */
4086 p = "userland l_sigset_t *";
4095 /* linux_rt_sigtimedwait */
4099 p = "userland l_sigset_t *";
4102 p = "userland l_siginfo_t *";
4105 p = "userland struct l_timeval *";
4114 /* linux_rt_sigqueueinfo */
4124 p = "userland l_siginfo_t *";
4130 /* linux_rt_sigsuspend */
4134 p = "userland l_sigset_t *";
4150 p = "userland char *";
4169 p = "userland char *";
4185 p = "userland char *";
4201 p = "userland char *";
4214 p = "userland struct l_user_cap_header *";
4217 p = "userland struct l_user_cap_data *";
4227 p = "userland struct l_user_cap_header *";
4230 p = "userland struct l_user_cap_data *";
4236 /* linux_sigaltstack */
4240 p = "userland l_stack_t *";
4243 p = "userland l_stack_t *";
4249 /* linux_sendfile */
4255 /* linux_getrlimit */
4262 p = "userland struct l_rlimit *";
4293 /* linux_truncate64 */
4297 p = "userland char *";
4306 /* linux_ftruncate64 */
4323 p = "userland const char *";
4326 p = "userland struct l_stat64 *";
4336 p = "userland const char *";
4339 p = "userland struct l_stat64 *";
4352 p = "userland struct l_stat64 *";
4362 p = "userland char *";
4412 /* linux_getgroups */
4419 p = "userland l_gid_t *";
4425 /* linux_setgroups */
4432 p = "userland l_gid_t *";
4461 p = "userland uid_t *";
4464 p = "userland uid_t *";
4467 p = "userland uid_t *";
4493 p = "userland gid_t *";
4496 p = "userland gid_t *";
4499 p = "userland gid_t *";
4509 p = "userland char *";
4541 /* linux_setfsuid */
4551 /* linux_setfsgid */
4561 /* linux_getdents64 */
4568 p = "userland void *";
4577 /* linux_pivot_root */
4581 p = "userland char *";
4584 p = "userland char *";
4600 p = "userland u_char *";
4610 p = "userland void *";
4641 /* linux_setxattr */
4644 /* linux_lsetxattr */
4647 /* linux_fsetxattr */
4650 /* linux_getxattr */
4653 /* linux_lgetxattr */
4656 /* linux_fgetxattr */
4659 /* linux_listxattr */
4662 /* linux_llistxattr */
4665 /* linux_flistxattr */
4668 /* linux_removexattr */
4671 /* linux_lremovexattr */
4674 /* linux_fremovexattr */
4690 /* linux_sys_futex */
4694 p = "userland void *";
4703 p = "userland struct l_timespec *";
4706 p = "userland uint32_t *";
4715 /* linux_sched_setaffinity */
4725 p = "userland l_ulong *";
4731 /* linux_sched_getaffinity */
4741 p = "userland l_ulong *";
4747 /* linux_exit_group */
4757 /* linux_lookup_dcookie */
4760 /* linux_epoll_create */
4770 /* linux_epoll_ctl */
4783 p = "userland struct epoll_event *";
4789 /* linux_epoll_wait */
4796 p = "userland struct epoll_event *";
4808 /* linux_remap_file_pages */
4811 /* linux_set_tid_address */
4815 p = "userland int *";
4821 /* linux_timer_create */
4828 p = "userland struct sigevent *";
4831 p = "userland l_timer_t *";
4837 /* linux_timer_settime */
4847 p = "userland const struct itimerspec *";
4850 p = "userland struct itimerspec *";
4856 /* linux_timer_gettime */
4863 p = "userland struct itimerspec *";
4869 /* linux_timer_getoverrun */
4879 /* linux_timer_delete */
4889 /* linux_clock_settime */
4896 p = "userland struct l_timespec *";
4902 /* linux_clock_gettime */
4909 p = "userland struct l_timespec *";
4915 /* linux_clock_getres */
4922 p = "userland struct l_timespec *";
4928 /* linux_clock_nanosleep */
4938 p = "userland struct l_timespec *";
4941 p = "userland struct l_timespec *";
4947 /* linux_statfs64 */
4951 p = "userland char *";
4957 p = "userland struct l_statfs64_buf *";
4963 /* linux_fstatfs64 */
4973 p = "userland struct l_statfs64_buf *";
4999 p = "userland char *";
5002 p = "userland struct l_timeval *";
5008 /* linux_fadvise64_64 */
5031 p = "userland const char *";
5040 p = "userland struct mq_attr *";
5046 /* linux_mq_unlink */
5050 p = "userland const char *";
5056 /* linux_mq_timedsend */
5063 p = "userland const char *";
5072 p = "userland const struct l_timespec *";
5078 /* linux_mq_timedreceive */
5085 p = "userland char *";
5094 p = "userland const struct l_timespec *";
5100 /* linux_mq_notify */
5107 p = "userland const struct l_timespec *";
5113 /* linux_mq_getsetattr */
5120 p = "userland const struct mq_attr *";
5123 p = "userland struct mq_attr *";
5139 p = "userland l_siginfo_t *";
5145 p = "userland void *";
5228 /* linux_getsockname */
5244 /* linux_getpeername */
5260 /* linux_socketpair */
5342 /* linux_recvfrom */
5367 /* linux_shutdown */
5380 /* linux_setsockopt */
5402 /* linux_getsockopt */
5463 p = "userland struct l_sembuf *";
5501 p = "union l_semun";
5514 p = "userland struct l_msgbuf *";
5533 p = "userland struct l_msgbuf *";
5571 p = "userland struct l_msqid_ds *";
5584 p = "userland char *";
5597 p = "userland char *";
5629 p = "userland struct l_shmid_ds *";
5638 /* linux_request_key */
5644 /* linux_ioprio_set */
5647 /* linux_ioprio_get */
5650 /* linux_inotify_init */
5653 /* linux_inotify_add_watch */
5656 /* linux_inotify_rm_watch */
5662 /* linux_get_mempolicy */
5665 /* linux_set_mempolicy */
5675 p = "userland const char *";
5694 p = "userland const char *";
5710 p = "userland const char *";
5722 /* linux_fchownat */
5729 p = "userland const char *";
5744 /* linux_futimesat */
5751 p = "userland char *";
5754 p = "userland struct l_timeval *";
5760 /* linux_fstatat64 */
5767 p = "userland char *";
5770 p = "userland struct l_stat64 *";
5779 /* linux_unlinkat */
5786 p = "userland const char *";
5795 /* linux_renameat */
5802 p = "userland const char *";
5808 p = "userland const char *";
5821 p = "userland const char *";
5827 p = "userland const char *";
5836 /* linux_symlinkat */
5840 p = "userland const char *";
5846 p = "userland const char *";
5852 /* linux_readlinkat */
5859 p = "userland const char *";
5862 p = "userland char *";
5871 /* linux_fchmodat */
5878 p = "userland const char *";
5887 /* linux_faccessat */
5894 p = "userland const char *";
5903 /* linux_pselect6 */
5910 p = "userland l_fd_set *";
5913 p = "userland l_fd_set *";
5916 p = "userland l_fd_set *";
5919 p = "userland struct l_timespec *";
5922 p = "userland l_uintptr_t *";
5932 p = "userland struct pollfd *";
5938 p = "userland struct l_timespec *";
5941 p = "userland l_sigset_t *";
5953 /* linux_set_robust_list */
5957 p = "userland struct linux_robust_list_head *";
5966 /* linux_get_robust_list */
5973 p = "userland struct linux_robust_list_head **";
5976 p = "userland l_size_t *";
5985 /* linux_sync_file_range */
6007 /* linux_vmsplice */
6010 /* linux_move_pages */
6017 p = "userland l_uint *";
6020 p = "userland l_uint *";
6023 p = "userland void *";
6029 /* linux_epoll_pwait */
6036 p = "userland struct epoll_event *";
6045 p = "userland l_sigset_t *";
6051 /* linux_kexec_load */
6054 /* linux_utimensat */
6061 p = "userland const char *";
6064 p = "userland const struct l_timespec *";
6073 /* linux_signalfd */
6076 /* linux_timerfd_create */
6089 /* linux_fallocate */
6108 /* linux_timerfd_settime */
6111 /* linux_timerfd_gettime */
6114 /* linux_signalfd4 */
6117 /* linux_eventfd2 */
6130 /* linux_epoll_create1 */
6160 p = "userland l_int *";
6169 /* linux_inotify_init1 */
6178 /* linux_rt_tsigqueueinfo */
6181 /* linux_perf_event_open */
6184 /* linux_recvmmsg */
6191 p = "userland struct l_mmsghdr *";
6200 p = "userland struct l_timespec *";
6225 /* linux_fanotify_init */
6228 /* linux_fanotify_mark */
6231 /* linux_prlimit64 */
6241 p = "userland struct rlimit *";
6244 p = "userland struct rlimit *";
6250 /* linux_name_to_handle_at */
6253 /* linux_open_by_handle_at */
6256 /* linux_clock_adjtime */
6269 /* linux_sendmmsg */
6276 p = "userland struct l_mmsghdr *";
6291 /* linux_process_vm_readv */
6294 /* linux_process_vm_writev */
6301 p = "userland void*";
6311 strlcpy(desc, p, descsz);
6314 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6316 const char *p = NULL;
6318 #define nosys linux_nosys
6321 if (ndx == 0 || ndx == 1)
6328 if (ndx == 0 || ndx == 1)
6333 if (ndx == 0 || ndx == 1)
6338 if (ndx == 0 || ndx == 1)
6343 if (ndx == 0 || ndx == 1)
6348 if (ndx == 0 || ndx == 1)
6353 if (ndx == 0 || ndx == 1)
6358 if (ndx == 0 || ndx == 1)
6363 if (ndx == 0 || ndx == 1)
6368 if (ndx == 0 || ndx == 1)
6373 if (ndx == 0 || ndx == 1)
6378 if (ndx == 0 || ndx == 1)
6381 /* linux_lchown16 */
6383 if (ndx == 0 || ndx == 1)
6388 if (ndx == 0 || ndx == 1)
6395 if (ndx == 0 || ndx == 1)
6398 /* linux_setuid16 */
6400 if (ndx == 0 || ndx == 1)
6403 /* linux_getuid16 */
6409 if (ndx == 0 || ndx == 1)
6414 if (ndx == 0 || ndx == 1)
6421 if (ndx == 0 || ndx == 1)
6426 if (ndx == 0 || ndx == 1)
6431 if (ndx == 0 || ndx == 1)
6436 if (ndx == 0 || ndx == 1)
6441 if (ndx == 0 || ndx == 1)
6446 if (ndx == 0 || ndx == 1)
6451 if (ndx == 0 || ndx == 1)
6456 if (ndx == 0 || ndx == 1)
6459 /* linux_setgid16 */
6461 if (ndx == 0 || ndx == 1)
6464 /* linux_getgid16 */
6466 /* linux_geteuid16 */
6468 /* linux_getegid16 */
6472 if (ndx == 0 || ndx == 1)
6477 if (ndx == 0 || ndx == 1)
6482 if (ndx == 0 || ndx == 1)
6487 if (ndx == 0 || ndx == 1)
6492 if (ndx == 0 || ndx == 1)
6497 if (ndx == 0 || ndx == 1)
6502 if (ndx == 0 || ndx == 1)
6507 if (ndx == 0 || ndx == 1)
6512 if (ndx == 0 || ndx == 1)
6521 /* linux_sigaction */
6523 if (ndx == 0 || ndx == 1)
6526 /* linux_setreuid16 */
6528 if (ndx == 0 || ndx == 1)
6531 /* linux_setregid16 */
6533 if (ndx == 0 || ndx == 1)
6536 /* linux_sigsuspend */
6538 if (ndx == 0 || ndx == 1)
6541 /* linux_sigpending */
6543 if (ndx == 0 || ndx == 1)
6546 /* linux_sethostname */
6548 if (ndx == 0 || ndx == 1)
6551 /* linux_setrlimit */
6553 if (ndx == 0 || ndx == 1)
6558 if (ndx == 0 || ndx == 1)
6561 /* linux_gettimeofday */
6563 if (ndx == 0 || ndx == 1)
6566 /* linux_settimeofday */
6568 if (ndx == 0 || ndx == 1)
6571 /* linux_getgroups16 */
6573 if (ndx == 0 || ndx == 1)
6576 /* linux_setgroups16 */
6578 if (ndx == 0 || ndx == 1)
6583 if (ndx == 0 || ndx == 1)
6586 /* linux_readlink */
6588 if (ndx == 0 || ndx == 1)
6593 if (ndx == 0 || ndx == 1)
6598 if (ndx == 0 || ndx == 1)
6603 if (ndx == 0 || ndx == 1)
6606 /* linux_truncate */
6608 if (ndx == 0 || ndx == 1)
6611 /* linux_ftruncate */
6613 if (ndx == 0 || ndx == 1)
6618 if (ndx == 0 || ndx == 1)
6623 if (ndx == 0 || ndx == 1)
6626 /* linux_getpriority */
6628 if (ndx == 0 || ndx == 1)
6633 if (ndx == 0 || ndx == 1)
6638 if (ndx == 0 || ndx == 1)
6643 if (ndx == 0 || ndx == 1)
6648 if (ndx == 0 || ndx == 1)
6651 /* linux_setitimer */
6653 if (ndx == 0 || ndx == 1)
6656 /* linux_getitimer */
6658 if (ndx == 0 || ndx == 1)
6663 if (ndx == 0 || ndx == 1)
6666 /* linux_newlstat */
6668 if (ndx == 0 || ndx == 1)
6671 /* linux_newfstat */
6673 if (ndx == 0 || ndx == 1)
6680 if (ndx == 0 || ndx == 1)
6687 if (ndx == 0 || ndx == 1)
6692 if (ndx == 0 || ndx == 1)
6695 /* linux_sigreturn */
6697 if (ndx == 0 || ndx == 1)
6702 if (ndx == 0 || ndx == 1)
6705 /* linux_setdomainname */
6707 if (ndx == 0 || ndx == 1)
6710 /* linux_newuname */
6712 if (ndx == 0 || ndx == 1)
6715 /* linux_adjtimex */
6717 /* linux_mprotect */
6719 if (ndx == 0 || ndx == 1)
6722 /* linux_sigprocmask */
6724 if (ndx == 0 || ndx == 1)
6727 /* linux_init_module */
6729 /* linux_delete_module */
6731 /* linux_quotactl */
6735 if (ndx == 0 || ndx == 1)
6740 if (ndx == 0 || ndx == 1)
6747 if (ndx == 0 || ndx == 1)
6750 /* linux_personality */
6752 if (ndx == 0 || ndx == 1)
6755 /* linux_setfsuid16 */
6757 if (ndx == 0 || ndx == 1)
6760 /* linux_setfsgid16 */
6762 if (ndx == 0 || ndx == 1)
6767 if (ndx == 0 || ndx == 1)
6770 /* linux_getdents */
6772 if (ndx == 0 || ndx == 1)
6777 if (ndx == 0 || ndx == 1)
6782 if (ndx == 0 || ndx == 1)
6787 if (ndx == 0 || ndx == 1)
6792 if (ndx == 0 || ndx == 1)
6797 if (ndx == 0 || ndx == 1)
6802 if (ndx == 0 || ndx == 1)
6805 /* linux_fdatasync */
6807 if (ndx == 0 || ndx == 1)
6812 if (ndx == 0 || ndx == 1)
6817 if (ndx == 0 || ndx == 1)
6822 if (ndx == 0 || ndx == 1)
6827 if (ndx == 0 || ndx == 1)
6832 /* linux_sched_setparam */
6834 if (ndx == 0 || ndx == 1)
6837 /* linux_sched_getparam */
6839 if (ndx == 0 || ndx == 1)
6842 /* linux_sched_setscheduler */
6844 if (ndx == 0 || ndx == 1)
6847 /* linux_sched_getscheduler */
6849 if (ndx == 0 || ndx == 1)
6854 /* linux_sched_get_priority_max */
6856 if (ndx == 0 || ndx == 1)
6859 /* linux_sched_get_priority_min */
6861 if (ndx == 0 || ndx == 1)
6864 /* linux_sched_rr_get_interval */
6866 if (ndx == 0 || ndx == 1)
6869 /* linux_nanosleep */
6871 if (ndx == 0 || ndx == 1)
6876 if (ndx == 0 || ndx == 1)
6879 /* linux_setresuid16 */
6881 if (ndx == 0 || ndx == 1)
6884 /* linux_getresuid16 */
6886 if (ndx == 0 || ndx == 1)
6891 if (ndx == 0 || ndx == 1)
6894 /* linux_setresgid16 */
6896 if (ndx == 0 || ndx == 1)
6899 /* linux_getresgid16 */
6901 if (ndx == 0 || ndx == 1)
6906 if (ndx == 0 || ndx == 1)
6909 /* linux_rt_sigreturn */
6911 if (ndx == 0 || ndx == 1)
6914 /* linux_rt_sigaction */
6916 if (ndx == 0 || ndx == 1)
6919 /* linux_rt_sigprocmask */
6921 if (ndx == 0 || ndx == 1)
6924 /* linux_rt_sigpending */
6926 if (ndx == 0 || ndx == 1)
6929 /* linux_rt_sigtimedwait */
6931 if (ndx == 0 || ndx == 1)
6934 /* linux_rt_sigqueueinfo */
6936 if (ndx == 0 || ndx == 1)
6939 /* linux_rt_sigsuspend */
6941 if (ndx == 0 || ndx == 1)
6946 if (ndx == 0 || ndx == 1)
6951 if (ndx == 0 || ndx == 1)
6956 if (ndx == 0 || ndx == 1)
6961 if (ndx == 0 || ndx == 1)
6966 if (ndx == 0 || ndx == 1)
6971 if (ndx == 0 || ndx == 1)
6974 /* linux_sigaltstack */
6976 if (ndx == 0 || ndx == 1)
6979 /* linux_sendfile */
6983 /* linux_getrlimit */
6985 if (ndx == 0 || ndx == 1)
6990 if (ndx == 0 || ndx == 1)
6993 /* linux_truncate64 */
6995 if (ndx == 0 || ndx == 1)
6998 /* linux_ftruncate64 */
7000 if (ndx == 0 || ndx == 1)
7005 if (ndx == 0 || ndx == 1)
7010 if (ndx == 0 || ndx == 1)
7015 if (ndx == 0 || ndx == 1)
7020 if (ndx == 0 || ndx == 1)
7033 if (ndx == 0 || ndx == 1)
7038 if (ndx == 0 || ndx == 1)
7041 /* linux_getgroups */
7043 if (ndx == 0 || ndx == 1)
7046 /* linux_setgroups */
7048 if (ndx == 0 || ndx == 1)
7055 if (ndx == 0 || ndx == 1)
7060 if (ndx == 0 || ndx == 1)
7065 if (ndx == 0 || ndx == 1)
7070 if (ndx == 0 || ndx == 1)
7075 if (ndx == 0 || ndx == 1)
7080 if (ndx == 0 || ndx == 1)
7085 if (ndx == 0 || ndx == 1)
7088 /* linux_setfsuid */
7090 if (ndx == 0 || ndx == 1)
7093 /* linux_setfsgid */
7095 if (ndx == 0 || ndx == 1)
7098 /* linux_getdents64 */
7100 if (ndx == 0 || ndx == 1)
7103 /* linux_pivot_root */
7105 if (ndx == 0 || ndx == 1)
7110 if (ndx == 0 || ndx == 1)
7115 if (ndx == 0 || ndx == 1)
7120 if (ndx == 0 || ndx == 1)
7125 /* linux_setxattr */
7127 /* linux_lsetxattr */
7129 /* linux_fsetxattr */
7131 /* linux_getxattr */
7133 /* linux_lgetxattr */
7135 /* linux_fgetxattr */
7137 /* linux_listxattr */
7139 /* linux_llistxattr */
7141 /* linux_flistxattr */
7143 /* linux_removexattr */
7145 /* linux_lremovexattr */
7147 /* linux_fremovexattr */
7151 if (ndx == 0 || ndx == 1)
7154 /* linux_sys_futex */
7156 if (ndx == 0 || ndx == 1)
7159 /* linux_sched_setaffinity */
7161 if (ndx == 0 || ndx == 1)
7164 /* linux_sched_getaffinity */
7166 if (ndx == 0 || ndx == 1)
7169 /* linux_exit_group */
7171 if (ndx == 0 || ndx == 1)
7174 /* linux_lookup_dcookie */
7176 /* linux_epoll_create */
7178 if (ndx == 0 || ndx == 1)
7181 /* linux_epoll_ctl */
7183 if (ndx == 0 || ndx == 1)
7186 /* linux_epoll_wait */
7188 if (ndx == 0 || ndx == 1)
7191 /* linux_remap_file_pages */
7193 /* linux_set_tid_address */
7195 if (ndx == 0 || ndx == 1)
7198 /* linux_timer_create */
7200 if (ndx == 0 || ndx == 1)
7203 /* linux_timer_settime */
7205 if (ndx == 0 || ndx == 1)
7208 /* linux_timer_gettime */
7210 if (ndx == 0 || ndx == 1)
7213 /* linux_timer_getoverrun */
7215 if (ndx == 0 || ndx == 1)
7218 /* linux_timer_delete */
7220 if (ndx == 0 || ndx == 1)
7223 /* linux_clock_settime */
7225 if (ndx == 0 || ndx == 1)
7228 /* linux_clock_gettime */
7230 if (ndx == 0 || ndx == 1)
7233 /* linux_clock_getres */
7235 if (ndx == 0 || ndx == 1)
7238 /* linux_clock_nanosleep */
7240 if (ndx == 0 || ndx == 1)
7243 /* linux_statfs64 */
7245 if (ndx == 0 || ndx == 1)
7248 /* linux_fstatfs64 */
7250 if (ndx == 0 || ndx == 1)
7255 if (ndx == 0 || ndx == 1)
7260 if (ndx == 0 || ndx == 1)
7263 /* linux_fadvise64_64 */
7265 if (ndx == 0 || ndx == 1)
7270 if (ndx == 0 || ndx == 1)
7273 /* linux_mq_unlink */
7275 if (ndx == 0 || ndx == 1)
7278 /* linux_mq_timedsend */
7280 if (ndx == 0 || ndx == 1)
7283 /* linux_mq_timedreceive */
7285 if (ndx == 0 || ndx == 1)
7288 /* linux_mq_notify */
7290 if (ndx == 0 || ndx == 1)
7293 /* linux_mq_getsetattr */
7295 if (ndx == 0 || ndx == 1)
7300 if (ndx == 0 || ndx == 1)
7305 if (ndx == 0 || ndx == 1)
7310 if (ndx == 0 || ndx == 1)
7315 if (ndx == 0 || ndx == 1)
7320 if (ndx == 0 || ndx == 1)
7325 if (ndx == 0 || ndx == 1)
7328 /* linux_getsockname */
7330 if (ndx == 0 || ndx == 1)
7333 /* linux_getpeername */
7335 if (ndx == 0 || ndx == 1)
7338 /* linux_socketpair */
7340 if (ndx == 0 || ndx == 1)
7345 if (ndx == 0 || ndx == 1)
7350 if (ndx == 0 || ndx == 1)
7355 if (ndx == 0 || ndx == 1)
7358 /* linux_recvfrom */
7360 if (ndx == 0 || ndx == 1)
7363 /* linux_shutdown */
7365 if (ndx == 0 || ndx == 1)
7368 /* linux_setsockopt */
7370 if (ndx == 0 || ndx == 1)
7373 /* linux_getsockopt */
7375 if (ndx == 0 || ndx == 1)
7380 if (ndx == 0 || ndx == 1)
7385 if (ndx == 0 || ndx == 1)
7390 if (ndx == 0 || ndx == 1)
7395 if (ndx == 0 || ndx == 1)
7400 if (ndx == 0 || ndx == 1)
7405 if (ndx == 0 || ndx == 1)
7410 if (ndx == 0 || ndx == 1)
7415 if (ndx == 0 || ndx == 1)
7420 if (ndx == 0 || ndx == 1)
7425 if (ndx == 0 || ndx == 1)
7430 if (ndx == 0 || ndx == 1)
7435 if (ndx == 0 || ndx == 1)
7440 if (ndx == 0 || ndx == 1)
7445 /* linux_request_key */
7449 /* linux_ioprio_set */
7451 /* linux_ioprio_get */
7453 /* linux_inotify_init */
7455 /* linux_inotify_add_watch */
7457 /* linux_inotify_rm_watch */
7461 /* linux_get_mempolicy */
7463 /* linux_set_mempolicy */
7467 if (ndx == 0 || ndx == 1)
7472 if (ndx == 0 || ndx == 1)
7477 if (ndx == 0 || ndx == 1)
7480 /* linux_fchownat */
7482 if (ndx == 0 || ndx == 1)
7485 /* linux_futimesat */
7487 if (ndx == 0 || ndx == 1)
7490 /* linux_fstatat64 */
7492 if (ndx == 0 || ndx == 1)
7495 /* linux_unlinkat */
7497 if (ndx == 0 || ndx == 1)
7500 /* linux_renameat */
7502 if (ndx == 0 || ndx == 1)
7507 if (ndx == 0 || ndx == 1)
7510 /* linux_symlinkat */
7512 if (ndx == 0 || ndx == 1)
7515 /* linux_readlinkat */
7517 if (ndx == 0 || ndx == 1)
7520 /* linux_fchmodat */
7522 if (ndx == 0 || ndx == 1)
7525 /* linux_faccessat */
7527 if (ndx == 0 || ndx == 1)
7530 /* linux_pselect6 */
7532 if (ndx == 0 || ndx == 1)
7537 if (ndx == 0 || ndx == 1)
7542 /* linux_set_robust_list */
7544 if (ndx == 0 || ndx == 1)
7547 /* linux_get_robust_list */
7549 if (ndx == 0 || ndx == 1)
7554 /* linux_sync_file_range */
7556 if (ndx == 0 || ndx == 1)
7561 /* linux_vmsplice */
7563 /* linux_move_pages */
7567 if (ndx == 0 || ndx == 1)
7570 /* linux_epoll_pwait */
7572 if (ndx == 0 || ndx == 1)
7575 /* linux_kexec_load */
7577 /* linux_utimensat */
7579 if (ndx == 0 || ndx == 1)
7582 /* linux_signalfd */
7584 /* linux_timerfd_create */
7588 if (ndx == 0 || ndx == 1)
7591 /* linux_fallocate */
7593 if (ndx == 0 || ndx == 1)
7596 /* linux_timerfd_settime */
7598 /* linux_timerfd_gettime */
7600 /* linux_signalfd4 */
7602 /* linux_eventfd2 */
7604 if (ndx == 0 || ndx == 1)
7607 /* linux_epoll_create1 */
7609 if (ndx == 0 || ndx == 1)
7614 if (ndx == 0 || ndx == 1)
7619 if (ndx == 0 || ndx == 1)
7622 /* linux_inotify_init1 */
7628 /* linux_rt_tsigqueueinfo */
7630 /* linux_perf_event_open */
7632 /* linux_recvmmsg */
7634 if (ndx == 0 || ndx == 1)
7639 if (ndx == 0 || ndx == 1)
7642 /* linux_fanotify_init */
7644 /* linux_fanotify_mark */
7646 /* linux_prlimit64 */
7648 if (ndx == 0 || ndx == 1)
7651 /* linux_name_to_handle_at */
7653 /* linux_open_by_handle_at */
7655 /* linux_clock_adjtime */
7659 if (ndx == 0 || ndx == 1)
7662 /* linux_sendmmsg */
7664 if (ndx == 0 || ndx == 1)
7669 /* linux_process_vm_readv */
7671 /* linux_process_vm_writev */
7675 if (ndx == 0 || ndx == 1)
7682 strlcpy(desc, p, descsz);