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_waitpid_args *p = params;
64 iarg[0] = p->pid; /* l_pid_t */
65 uarg[1] = (intptr_t) p->status; /* l_int * */
66 iarg[2] = p->options; /* l_int */
72 struct linux_creat_args *p = params;
73 uarg[0] = (intptr_t) p->path; /* char * */
74 iarg[1] = p->mode; /* l_int */
80 struct linux_link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->to; /* char * */
88 struct linux_unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
95 struct linux_execve_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 uarg[1] = (intptr_t) p->argp; /* uint32_t * */
98 uarg[2] = (intptr_t) p->envp; /* uint32_t * */
104 struct linux_chdir_args *p = params;
105 uarg[0] = (intptr_t) p->path; /* char * */
111 struct linux_time_args *p = params;
112 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
118 struct linux_mknod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* l_int */
121 iarg[2] = p->dev; /* l_dev_t */
127 struct linux_chmod_args *p = params;
128 uarg[0] = (intptr_t) p->path; /* char * */
129 iarg[1] = p->mode; /* l_mode_t */
135 struct linux_lchown16_args *p = params;
136 uarg[0] = (intptr_t) p->path; /* char * */
137 iarg[1] = p->uid; /* l_uid16_t */
138 iarg[2] = p->gid; /* l_gid16_t */
144 struct linux_stat_args *p = params;
145 uarg[0] = (intptr_t) p->path; /* char * */
146 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
152 struct linux_lseek_args *p = params;
153 iarg[0] = p->fdes; /* l_uint */
154 iarg[1] = p->off; /* l_off_t */
155 iarg[2] = p->whence; /* l_int */
166 struct linux_mount_args *p = params;
167 uarg[0] = (intptr_t) p->specialfile; /* char * */
168 uarg[1] = (intptr_t) p->dir; /* char * */
169 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
170 iarg[3] = p->rwflag; /* l_ulong */
171 uarg[4] = (intptr_t) p->data; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args *p = params;
178 uarg[0] = (intptr_t) p->path; /* char * */
184 struct linux_setuid16_args *p = params;
185 iarg[0] = p->uid; /* l_uid16_t */
201 struct linux_ptrace_args *p = params;
202 iarg[0] = p->req; /* l_long */
203 iarg[1] = p->pid; /* l_long */
204 iarg[2] = p->addr; /* l_long */
205 iarg[3] = p->data; /* l_long */
211 struct linux_alarm_args *p = params;
212 iarg[0] = p->secs; /* l_uint */
223 struct linux_utime_args *p = params;
224 uarg[0] = (intptr_t) p->fname; /* char * */
225 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
231 struct linux_access_args *p = params;
232 uarg[0] = (intptr_t) p->path; /* char * */
233 iarg[1] = p->amode; /* l_int */
239 struct linux_nice_args *p = params;
240 iarg[0] = p->inc; /* l_int */
251 struct linux_kill_args *p = params;
252 iarg[0] = p->pid; /* l_int */
253 iarg[1] = p->signum; /* l_int */
259 struct linux_rename_args *p = params;
260 uarg[0] = (intptr_t) p->from; /* char * */
261 uarg[1] = (intptr_t) p->to; /* char * */
267 struct linux_mkdir_args *p = params;
268 uarg[0] = (intptr_t) p->path; /* char * */
269 iarg[1] = p->mode; /* l_int */
275 struct linux_rmdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
282 struct dup_args *p = params;
283 uarg[0] = p->fd; /* u_int */
289 struct linux_pipe_args *p = params;
290 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
296 struct linux_times_args *p = params;
297 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
303 struct linux_brk_args *p = params;
304 iarg[0] = p->dsend; /* l_ulong */
310 struct linux_setgid16_args *p = params;
311 iarg[0] = p->gid; /* l_gid16_t */
322 struct linux_signal_args *p = params;
323 iarg[0] = p->sig; /* l_int */
324 iarg[1] = p->handler; /* l_handler_t */
328 /* linux_geteuid16 */
333 /* linux_getegid16 */
340 struct acct_args *p = params;
341 uarg[0] = (intptr_t) p->path; /* char * */
347 struct linux_umount_args *p = params;
348 uarg[0] = (intptr_t) p->path; /* char * */
349 iarg[1] = p->flags; /* l_int */
355 struct linux_ioctl_args *p = params;
356 iarg[0] = p->fd; /* l_uint */
357 iarg[1] = p->cmd; /* l_uint */
358 uarg[2] = p->arg; /* uintptr_t */
364 struct linux_fcntl_args *p = params;
365 iarg[0] = p->fd; /* l_uint */
366 iarg[1] = p->cmd; /* l_uint */
367 uarg[2] = p->arg; /* uintptr_t */
373 struct setpgid_args *p = params;
374 iarg[0] = p->pid; /* int */
375 iarg[1] = p->pgid; /* int */
386 struct umask_args *p = params;
387 iarg[0] = p->newmask; /* int */
393 struct chroot_args *p = params;
394 uarg[0] = (intptr_t) p->path; /* char * */
400 struct linux_ustat_args *p = params;
401 iarg[0] = p->dev; /* l_dev_t */
402 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
408 struct dup2_args *p = params;
409 uarg[0] = p->from; /* u_int */
410 uarg[1] = p->to; /* u_int */
429 /* linux_sigaction */
431 struct linux_sigaction_args *p = params;
432 iarg[0] = p->sig; /* l_int */
433 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
434 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
445 struct linux_ssetmask_args *p = params;
446 iarg[0] = p->mask; /* l_osigset_t */
450 /* linux_setreuid16 */
452 struct linux_setreuid16_args *p = params;
453 iarg[0] = p->ruid; /* l_uid16_t */
454 iarg[1] = p->euid; /* l_uid16_t */
458 /* linux_setregid16 */
460 struct linux_setregid16_args *p = params;
461 iarg[0] = p->rgid; /* l_gid16_t */
462 iarg[1] = p->egid; /* l_gid16_t */
466 /* linux_sigsuspend */
468 struct linux_sigsuspend_args *p = params;
469 iarg[0] = p->hist0; /* l_int */
470 iarg[1] = p->hist1; /* l_int */
471 iarg[2] = p->mask; /* l_osigset_t */
475 /* linux_sigpending */
477 struct linux_sigpending_args *p = params;
478 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
482 /* linux_sethostname */
484 struct linux_sethostname_args *p = params;
485 uarg[0] = (intptr_t) p->hostname; /* char * */
486 uarg[1] = p->len; /* u_int */
490 /* linux_setrlimit */
492 struct linux_setrlimit_args *p = params;
493 iarg[0] = p->resource; /* l_uint */
494 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
498 /* linux_old_getrlimit */
500 struct linux_old_getrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_getrusage */
508 struct linux_getrusage_args *p = params;
509 iarg[0] = p->who; /* int */
510 uarg[1] = (intptr_t) p->rusage; /* struct l_rusage * */
514 /* linux_gettimeofday */
516 struct linux_gettimeofday_args *p = params;
517 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
522 /* linux_settimeofday */
524 struct linux_settimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
530 /* linux_getgroups16 */
532 struct linux_getgroups16_args *p = params;
533 iarg[0] = p->gidsetsize; /* l_uint */
534 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
538 /* linux_setgroups16 */
540 struct linux_setgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_old_select */
548 struct linux_old_select_args *p = params;
549 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
555 struct linux_symlink_args *p = params;
556 uarg[0] = (intptr_t) p->path; /* char * */
557 uarg[1] = (intptr_t) p->to; /* char * */
563 struct linux_lstat_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->up; /* struct linux_lstat * */
571 struct linux_readlink_args *p = params;
572 uarg[0] = (intptr_t) p->name; /* char * */
573 uarg[1] = (intptr_t) p->buf; /* char * */
574 iarg[2] = p->count; /* l_int */
580 struct swapon_args *p = params;
581 uarg[0] = (intptr_t) p->name; /* char * */
587 struct linux_reboot_args *p = params;
588 iarg[0] = p->magic1; /* l_int */
589 iarg[1] = p->magic2; /* l_int */
590 iarg[2] = p->cmd; /* l_uint */
591 uarg[3] = (intptr_t) p->arg; /* void * */
597 struct linux_readdir_args *p = params;
598 iarg[0] = p->fd; /* l_uint */
599 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
600 iarg[2] = p->count; /* l_uint */
606 struct linux_mmap_args *p = params;
607 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
613 struct munmap_args *p = params;
614 uarg[0] = (intptr_t) p->addr; /* caddr_t */
615 iarg[1] = p->len; /* int */
621 struct linux_truncate_args *p = params;
622 uarg[0] = (intptr_t) p->path; /* char * */
623 iarg[1] = p->length; /* l_ulong */
627 /* linux_ftruncate */
629 struct linux_ftruncate_args *p = params;
630 iarg[0] = p->fd; /* int */
631 iarg[1] = p->length; /* long */
637 struct fchmod_args *p = params;
638 iarg[0] = p->fd; /* int */
639 iarg[1] = p->mode; /* int */
645 struct fchown_args *p = params;
646 iarg[0] = p->fd; /* int */
647 iarg[1] = p->uid; /* int */
648 iarg[2] = p->gid; /* int */
652 /* linux_getpriority */
654 struct linux_getpriority_args *p = params;
655 iarg[0] = p->which; /* int */
656 iarg[1] = p->who; /* int */
662 struct setpriority_args *p = params;
663 iarg[0] = p->which; /* int */
664 iarg[1] = p->who; /* int */
665 iarg[2] = p->prio; /* int */
671 struct linux_statfs_args *p = params;
672 uarg[0] = (intptr_t) p->path; /* char * */
673 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
679 struct linux_fstatfs_args *p = params;
680 iarg[0] = p->fd; /* l_uint */
681 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
685 /* linux_socketcall */
687 struct linux_socketcall_args *p = params;
688 iarg[0] = p->what; /* l_int */
689 iarg[1] = p->args; /* l_ulong */
695 struct linux_syslog_args *p = params;
696 iarg[0] = p->type; /* l_int */
697 uarg[1] = (intptr_t) p->buf; /* char * */
698 iarg[2] = p->len; /* l_int */
702 /* linux_setitimer */
704 struct linux_setitimer_args *p = params;
705 iarg[0] = p->which; /* l_int */
706 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
707 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
711 /* linux_getitimer */
713 struct linux_getitimer_args *p = params;
714 iarg[0] = p->which; /* l_int */
715 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
721 struct linux_newstat_args *p = params;
722 uarg[0] = (intptr_t) p->path; /* char * */
723 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
729 struct linux_newlstat_args *p = params;
730 uarg[0] = (intptr_t) p->path; /* char * */
731 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
737 struct linux_newfstat_args *p = params;
738 iarg[0] = p->fd; /* l_uint */
739 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
750 struct linux_iopl_args *p = params;
751 iarg[0] = p->level; /* l_int */
762 struct linux_wait4_args *p = params;
763 iarg[0] = p->pid; /* l_pid_t */
764 uarg[1] = (intptr_t) p->status; /* l_int * */
765 iarg[2] = p->options; /* l_int */
766 uarg[3] = (intptr_t) p->rusage; /* struct l_rusage * */
777 struct linux_sysinfo_args *p = params;
778 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
784 struct linux_ipc_args *p = params;
785 iarg[0] = p->what; /* l_uint */
786 iarg[1] = p->arg1; /* l_int */
787 iarg[2] = p->arg2; /* l_int */
788 iarg[3] = p->arg3; /* l_int */
789 uarg[4] = (intptr_t) p->ptr; /* void * */
790 iarg[5] = p->arg5; /* l_long */
796 struct fsync_args *p = params;
797 iarg[0] = p->fd; /* int */
801 /* linux_sigreturn */
803 struct linux_sigreturn_args *p = params;
804 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
810 struct linux_clone_args *p = params;
811 iarg[0] = p->flags; /* l_int */
812 uarg[1] = (intptr_t) p->stack; /* void * */
813 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
814 uarg[3] = (intptr_t) p->tls; /* void * */
815 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
819 /* linux_setdomainname */
821 struct linux_setdomainname_args *p = params;
822 uarg[0] = (intptr_t) p->name; /* char * */
823 iarg[1] = p->len; /* int */
829 struct linux_newuname_args *p = params;
830 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
841 struct linux_mprotect_args *p = params;
842 uarg[0] = (intptr_t) p->addr; /* caddr_t */
843 iarg[1] = p->len; /* int */
844 iarg[2] = p->prot; /* int */
848 /* linux_sigprocmask */
850 struct linux_sigprocmask_args *p = params;
851 iarg[0] = p->how; /* l_int */
852 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
853 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
857 /* linux_create_module */
862 /* linux_init_module */
867 /* linux_delete_module */
872 /* linux_get_kernel_syms */
884 struct getpgid_args *p = params;
885 iarg[0] = p->pid; /* int */
891 struct fchdir_args *p = params;
892 iarg[0] = p->fd; /* int */
903 struct linux_sysfs_args *p = params;
904 iarg[0] = p->option; /* l_int */
905 iarg[1] = p->arg1; /* l_ulong */
906 iarg[2] = p->arg2; /* l_ulong */
910 /* linux_personality */
912 struct linux_personality_args *p = params;
913 iarg[0] = p->per; /* l_uint */
917 /* linux_setfsuid16 */
919 struct linux_setfsuid16_args *p = params;
920 iarg[0] = p->uid; /* l_uid16_t */
924 /* linux_setfsgid16 */
926 struct linux_setfsgid16_args *p = params;
927 iarg[0] = p->gid; /* l_gid16_t */
933 struct linux_llseek_args *p = params;
934 iarg[0] = p->fd; /* l_int */
935 iarg[1] = p->ohigh; /* l_ulong */
936 iarg[2] = p->olow; /* l_ulong */
937 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
938 iarg[4] = p->whence; /* l_uint */
944 struct linux_getdents_args *p = params;
945 iarg[0] = p->fd; /* l_uint */
946 uarg[1] = (intptr_t) p->dent; /* void * */
947 iarg[2] = p->count; /* l_uint */
953 struct linux_select_args *p = params;
954 iarg[0] = p->nfds; /* l_int */
955 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
956 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
957 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
958 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
964 struct flock_args *p = params;
965 iarg[0] = p->fd; /* int */
966 iarg[1] = p->how; /* int */
972 struct linux_msync_args *p = params;
973 iarg[0] = p->addr; /* l_ulong */
974 iarg[1] = p->len; /* l_size_t */
975 iarg[2] = p->fl; /* l_int */
981 struct linux_readv_args *p = params;
982 iarg[0] = p->fd; /* l_ulong */
983 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
984 iarg[2] = p->iovcnt; /* l_ulong */
990 struct linux_writev_args *p = params;
991 iarg[0] = p->fd; /* l_ulong */
992 uarg[1] = (intptr_t) p->iovp; /* struct l_iovec32 * */
993 iarg[2] = p->iovcnt; /* l_ulong */
999 struct linux_getsid_args *p = params;
1000 iarg[0] = p->pid; /* l_pid_t */
1004 /* linux_fdatasync */
1006 struct linux_fdatasync_args *p = params;
1007 iarg[0] = p->fd; /* l_uint */
1013 struct linux_sysctl_args *p = params;
1014 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1020 struct mlock_args *p = params;
1021 uarg[0] = (intptr_t) p->addr; /* const void * */
1022 uarg[1] = p->len; /* size_t */
1028 struct munlock_args *p = params;
1029 uarg[0] = (intptr_t) p->addr; /* const void * */
1030 uarg[1] = p->len; /* size_t */
1036 struct mlockall_args *p = params;
1037 iarg[0] = p->how; /* int */
1046 /* linux_sched_setparam */
1048 struct linux_sched_setparam_args *p = params;
1049 iarg[0] = p->pid; /* l_pid_t */
1050 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1054 /* linux_sched_getparam */
1056 struct linux_sched_getparam_args *p = params;
1057 iarg[0] = p->pid; /* l_pid_t */
1058 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1062 /* linux_sched_setscheduler */
1064 struct linux_sched_setscheduler_args *p = params;
1065 iarg[0] = p->pid; /* l_pid_t */
1066 iarg[1] = p->policy; /* l_int */
1067 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1071 /* linux_sched_getscheduler */
1073 struct linux_sched_getscheduler_args *p = params;
1074 iarg[0] = p->pid; /* l_pid_t */
1083 /* linux_sched_get_priority_max */
1085 struct linux_sched_get_priority_max_args *p = params;
1086 iarg[0] = p->policy; /* l_int */
1090 /* linux_sched_get_priority_min */
1092 struct linux_sched_get_priority_min_args *p = params;
1093 iarg[0] = p->policy; /* l_int */
1097 /* linux_sched_rr_get_interval */
1099 struct linux_sched_rr_get_interval_args *p = params;
1100 iarg[0] = p->pid; /* l_pid_t */
1101 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1105 /* linux_nanosleep */
1107 struct linux_nanosleep_args *p = params;
1108 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1109 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1115 struct linux_mremap_args *p = params;
1116 iarg[0] = p->addr; /* l_ulong */
1117 iarg[1] = p->old_len; /* l_ulong */
1118 iarg[2] = p->new_len; /* l_ulong */
1119 iarg[3] = p->flags; /* l_ulong */
1120 iarg[4] = p->new_addr; /* l_ulong */
1124 /* linux_setresuid16 */
1126 struct linux_setresuid16_args *p = params;
1127 iarg[0] = p->ruid; /* l_uid16_t */
1128 iarg[1] = p->euid; /* l_uid16_t */
1129 iarg[2] = p->suid; /* l_uid16_t */
1133 /* linux_getresuid16 */
1135 struct linux_getresuid16_args *p = params;
1136 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1137 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1138 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1142 /* linux_query_module */
1149 struct poll_args *p = params;
1150 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1151 uarg[1] = p->nfds; /* unsigned int */
1152 iarg[2] = p->timeout; /* int */
1156 /* linux_nfsservctl */
1161 /* linux_setresgid16 */
1163 struct linux_setresgid16_args *p = params;
1164 iarg[0] = p->rgid; /* l_gid16_t */
1165 iarg[1] = p->egid; /* l_gid16_t */
1166 iarg[2] = p->sgid; /* l_gid16_t */
1170 /* linux_getresgid16 */
1172 struct linux_getresgid16_args *p = params;
1173 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1174 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1175 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1181 struct linux_prctl_args *p = params;
1182 iarg[0] = p->option; /* l_int */
1183 iarg[1] = p->arg2; /* l_int */
1184 iarg[2] = p->arg3; /* l_int */
1185 iarg[3] = p->arg4; /* l_int */
1186 iarg[4] = p->arg5; /* l_int */
1190 /* linux_rt_sigreturn */
1192 struct linux_rt_sigreturn_args *p = params;
1193 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1197 /* linux_rt_sigaction */
1199 struct linux_rt_sigaction_args *p = params;
1200 iarg[0] = p->sig; /* l_int */
1201 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1202 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1203 iarg[3] = p->sigsetsize; /* l_size_t */
1207 /* linux_rt_sigprocmask */
1209 struct linux_rt_sigprocmask_args *p = params;
1210 iarg[0] = p->how; /* l_int */
1211 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1212 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1213 iarg[3] = p->sigsetsize; /* l_size_t */
1217 /* linux_rt_sigpending */
1219 struct linux_rt_sigpending_args *p = params;
1220 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1221 iarg[1] = p->sigsetsize; /* l_size_t */
1225 /* linux_rt_sigtimedwait */
1227 struct linux_rt_sigtimedwait_args *p = params;
1228 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1229 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1230 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1231 iarg[3] = p->sigsetsize; /* l_size_t */
1235 /* linux_rt_sigqueueinfo */
1237 struct linux_rt_sigqueueinfo_args *p = params;
1238 iarg[0] = p->pid; /* l_pid_t */
1239 iarg[1] = p->sig; /* l_int */
1240 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1244 /* linux_rt_sigsuspend */
1246 struct linux_rt_sigsuspend_args *p = params;
1247 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1248 iarg[1] = p->sigsetsize; /* l_size_t */
1254 struct linux_pread_args *p = params;
1255 iarg[0] = p->fd; /* l_uint */
1256 uarg[1] = (intptr_t) p->buf; /* char * */
1257 iarg[2] = p->nbyte; /* l_size_t */
1258 iarg[3] = p->offset; /* l_loff_t */
1264 struct linux_pwrite_args *p = params;
1265 iarg[0] = p->fd; /* l_uint */
1266 uarg[1] = (intptr_t) p->buf; /* char * */
1267 iarg[2] = p->nbyte; /* l_size_t */
1268 iarg[3] = p->offset; /* l_loff_t */
1274 struct linux_chown16_args *p = params;
1275 uarg[0] = (intptr_t) p->path; /* char * */
1276 iarg[1] = p->uid; /* l_uid16_t */
1277 iarg[2] = p->gid; /* l_gid16_t */
1283 struct linux_getcwd_args *p = params;
1284 uarg[0] = (intptr_t) p->buf; /* char * */
1285 iarg[1] = p->bufsize; /* l_ulong */
1291 struct linux_capget_args *p = params;
1292 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1293 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1299 struct linux_capset_args *p = params;
1300 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1301 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1305 /* linux_sigaltstack */
1307 struct linux_sigaltstack_args *p = params;
1308 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1309 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1313 /* linux_sendfile */
1323 /* linux_getrlimit */
1325 struct linux_getrlimit_args *p = params;
1326 iarg[0] = p->resource; /* l_uint */
1327 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1333 struct linux_mmap2_args *p = params;
1334 iarg[0] = p->addr; /* l_ulong */
1335 iarg[1] = p->len; /* l_ulong */
1336 iarg[2] = p->prot; /* l_ulong */
1337 iarg[3] = p->flags; /* l_ulong */
1338 iarg[4] = p->fd; /* l_ulong */
1339 iarg[5] = p->pgoff; /* l_ulong */
1343 /* linux_truncate64 */
1345 struct linux_truncate64_args *p = params;
1346 uarg[0] = (intptr_t) p->path; /* char * */
1347 iarg[1] = p->length; /* l_loff_t */
1351 /* linux_ftruncate64 */
1353 struct linux_ftruncate64_args *p = params;
1354 iarg[0] = p->fd; /* l_uint */
1355 iarg[1] = p->length; /* l_loff_t */
1361 struct linux_stat64_args *p = params;
1362 uarg[0] = (intptr_t) p->filename; /* const char * */
1363 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1369 struct linux_lstat64_args *p = params;
1370 uarg[0] = (intptr_t) p->filename; /* const char * */
1371 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1377 struct linux_fstat64_args *p = params;
1378 iarg[0] = p->fd; /* l_int */
1379 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1385 struct linux_lchown_args *p = params;
1386 uarg[0] = (intptr_t) p->path; /* char * */
1387 iarg[1] = p->uid; /* l_uid_t */
1388 iarg[2] = p->gid; /* l_gid_t */
1414 struct setreuid_args *p = params;
1415 uarg[0] = p->ruid; /* uid_t */
1416 uarg[1] = p->euid; /* uid_t */
1422 struct setregid_args *p = params;
1423 iarg[0] = p->rgid; /* gid_t */
1424 iarg[1] = p->egid; /* gid_t */
1428 /* linux_getgroups */
1430 struct linux_getgroups_args *p = params;
1431 iarg[0] = p->gidsetsize; /* l_int */
1432 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1436 /* linux_setgroups */
1438 struct linux_setgroups_args *p = params;
1439 iarg[0] = p->gidsetsize; /* l_int */
1440 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1451 struct setresuid_args *p = params;
1452 uarg[0] = p->ruid; /* uid_t */
1453 uarg[1] = p->euid; /* uid_t */
1454 uarg[2] = p->suid; /* uid_t */
1460 struct getresuid_args *p = params;
1461 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1462 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1463 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1469 struct setresgid_args *p = params;
1470 iarg[0] = p->rgid; /* gid_t */
1471 iarg[1] = p->egid; /* gid_t */
1472 iarg[2] = p->sgid; /* gid_t */
1478 struct getresgid_args *p = params;
1479 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1480 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1481 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1487 struct linux_chown_args *p = params;
1488 uarg[0] = (intptr_t) p->path; /* char * */
1489 iarg[1] = p->uid; /* l_uid_t */
1490 iarg[2] = p->gid; /* l_gid_t */
1496 struct setuid_args *p = params;
1497 uarg[0] = p->uid; /* uid_t */
1503 struct setgid_args *p = params;
1504 iarg[0] = p->gid; /* gid_t */
1508 /* linux_setfsuid */
1510 struct linux_setfsuid_args *p = params;
1511 iarg[0] = p->uid; /* l_uid_t */
1515 /* linux_setfsgid */
1517 struct linux_setfsgid_args *p = params;
1518 iarg[0] = p->gid; /* l_gid_t */
1522 /* linux_pivot_root */
1524 struct linux_pivot_root_args *p = params;
1525 uarg[0] = (intptr_t) p->new_root; /* char * */
1526 uarg[1] = (intptr_t) p->put_old; /* char * */
1532 struct linux_mincore_args *p = params;
1533 iarg[0] = p->start; /* l_ulong */
1534 iarg[1] = p->len; /* l_size_t */
1535 uarg[2] = (intptr_t) p->vec; /* u_char * */
1541 struct madvise_args *p = params;
1542 uarg[0] = (intptr_t) p->addr; /* void * */
1543 uarg[1] = p->len; /* size_t */
1544 iarg[2] = p->behav; /* int */
1548 /* linux_getdents64 */
1550 struct linux_getdents64_args *p = params;
1551 iarg[0] = p->fd; /* l_uint */
1552 uarg[1] = (intptr_t) p->dirent; /* void * */
1553 iarg[2] = p->count; /* l_uint */
1559 struct linux_fcntl64_args *p = params;
1560 iarg[0] = p->fd; /* l_uint */
1561 iarg[1] = p->cmd; /* l_uint */
1562 uarg[2] = p->arg; /* uintptr_t */
1571 /* linux_setxattr */
1576 /* linux_lsetxattr */
1581 /* linux_fsetxattr */
1586 /* linux_getxattr */
1591 /* linux_lgetxattr */
1596 /* linux_fgetxattr */
1601 /* linux_listxattr */
1606 /* linux_llistxattr */
1611 /* linux_flistxattr */
1616 /* linux_removexattr */
1621 /* linux_lremovexattr */
1626 /* linux_fremovexattr */
1633 struct linux_tkill_args *p = params;
1634 iarg[0] = p->tid; /* int */
1635 iarg[1] = p->sig; /* int */
1639 /* linux_sys_futex */
1641 struct linux_sys_futex_args *p = params;
1642 uarg[0] = (intptr_t) p->uaddr; /* void * */
1643 iarg[1] = p->op; /* int */
1644 uarg[2] = p->val; /* uint32_t */
1645 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1646 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1647 uarg[5] = p->val3; /* uint32_t */
1651 /* linux_sched_setaffinity */
1653 struct linux_sched_setaffinity_args *p = params;
1654 iarg[0] = p->pid; /* l_pid_t */
1655 iarg[1] = p->len; /* l_uint */
1656 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1660 /* linux_sched_getaffinity */
1662 struct linux_sched_getaffinity_args *p = params;
1663 iarg[0] = p->pid; /* l_pid_t */
1664 iarg[1] = p->len; /* l_uint */
1665 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1669 /* linux_set_thread_area */
1671 struct linux_set_thread_area_args *p = params;
1672 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1676 /* linux_fadvise64 */
1678 struct linux_fadvise64_args *p = params;
1679 iarg[0] = p->fd; /* int */
1680 iarg[1] = p->offset; /* l_loff_t */
1681 iarg[2] = p->len; /* l_size_t */
1682 iarg[3] = p->advice; /* int */
1686 /* linux_exit_group */
1688 struct linux_exit_group_args *p = params;
1689 iarg[0] = p->error_code; /* int */
1693 /* linux_lookup_dcookie */
1698 /* linux_epoll_create */
1700 struct linux_epoll_create_args *p = params;
1701 iarg[0] = p->size; /* l_int */
1705 /* linux_epoll_ctl */
1707 struct linux_epoll_ctl_args *p = params;
1708 iarg[0] = p->epfd; /* l_int */
1709 iarg[1] = p->op; /* l_int */
1710 iarg[2] = p->fd; /* l_int */
1711 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1715 /* linux_epoll_wait */
1717 struct linux_epoll_wait_args *p = params;
1718 iarg[0] = p->epfd; /* l_int */
1719 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1720 iarg[2] = p->maxevents; /* l_int */
1721 iarg[3] = p->timeout; /* l_int */
1725 /* linux_remap_file_pages */
1730 /* linux_set_tid_address */
1732 struct linux_set_tid_address_args *p = params;
1733 uarg[0] = (intptr_t) p->tidptr; /* int * */
1737 /* linux_timer_create */
1739 struct linux_timer_create_args *p = params;
1740 iarg[0] = p->clock_id; /* clockid_t */
1741 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1742 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1746 /* linux_timer_settime */
1748 struct linux_timer_settime_args *p = params;
1749 iarg[0] = p->timerid; /* l_timer_t */
1750 iarg[1] = p->flags; /* l_int */
1751 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1752 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1756 /* linux_timer_gettime */
1758 struct linux_timer_gettime_args *p = params;
1759 iarg[0] = p->timerid; /* l_timer_t */
1760 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1764 /* linux_timer_getoverrun */
1766 struct linux_timer_getoverrun_args *p = params;
1767 iarg[0] = p->timerid; /* l_timer_t */
1771 /* linux_timer_delete */
1773 struct linux_timer_delete_args *p = params;
1774 iarg[0] = p->timerid; /* l_timer_t */
1778 /* linux_clock_settime */
1780 struct linux_clock_settime_args *p = params;
1781 iarg[0] = p->which; /* clockid_t */
1782 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1786 /* linux_clock_gettime */
1788 struct linux_clock_gettime_args *p = params;
1789 iarg[0] = p->which; /* clockid_t */
1790 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1794 /* linux_clock_getres */
1796 struct linux_clock_getres_args *p = params;
1797 iarg[0] = p->which; /* clockid_t */
1798 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1802 /* linux_clock_nanosleep */
1804 struct linux_clock_nanosleep_args *p = params;
1805 iarg[0] = p->which; /* clockid_t */
1806 iarg[1] = p->flags; /* int */
1807 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1808 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1812 /* linux_statfs64 */
1814 struct linux_statfs64_args *p = params;
1815 uarg[0] = (intptr_t) p->path; /* char * */
1816 uarg[1] = p->bufsize; /* size_t */
1817 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1821 /* linux_fstatfs64 */
1823 struct linux_fstatfs64_args *p = params;
1824 iarg[0] = p->fd; /* l_uint */
1825 uarg[1] = p->bufsize; /* size_t */
1826 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1832 struct linux_tgkill_args *p = params;
1833 iarg[0] = p->tgid; /* int */
1834 iarg[1] = p->pid; /* int */
1835 iarg[2] = p->sig; /* int */
1841 struct linux_utimes_args *p = params;
1842 uarg[0] = (intptr_t) p->fname; /* char * */
1843 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1847 /* linux_fadvise64_64 */
1849 struct linux_fadvise64_64_args *p = params;
1850 iarg[0] = p->fd; /* int */
1851 iarg[1] = p->offset; /* l_loff_t */
1852 iarg[2] = p->len; /* l_loff_t */
1853 iarg[3] = p->advice; /* int */
1862 /* linux_get_mempolicy */
1867 /* linux_set_mempolicy */
1877 /* linux_mq_unlink */
1882 /* linux_mq_timedsend */
1887 /* linux_mq_timedreceive */
1892 /* linux_mq_notify */
1897 /* linux_mq_getsetattr */
1902 /* linux_kexec_load */
1909 struct linux_waitid_args *p = params;
1910 iarg[0] = p->idtype; /* int */
1911 iarg[1] = p->id; /* l_pid_t */
1912 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1913 iarg[3] = p->options; /* int */
1914 uarg[4] = (intptr_t) p->rusage; /* struct l_rusage * */
1923 /* linux_request_key */
1933 /* linux_ioprio_set */
1938 /* linux_ioprio_get */
1943 /* linux_inotify_init */
1948 /* linux_inotify_add_watch */
1953 /* linux_inotify_rm_watch */
1958 /* linux_migrate_pages */
1965 struct linux_openat_args *p = params;
1966 iarg[0] = p->dfd; /* l_int */
1967 uarg[1] = (intptr_t) p->filename; /* const char * */
1968 iarg[2] = p->flags; /* l_int */
1969 iarg[3] = p->mode; /* l_int */
1975 struct linux_mkdirat_args *p = params;
1976 iarg[0] = p->dfd; /* l_int */
1977 uarg[1] = (intptr_t) p->pathname; /* const char * */
1978 iarg[2] = p->mode; /* l_int */
1984 struct linux_mknodat_args *p = params;
1985 iarg[0] = p->dfd; /* l_int */
1986 uarg[1] = (intptr_t) p->filename; /* const char * */
1987 iarg[2] = p->mode; /* l_int */
1988 iarg[3] = p->dev; /* l_uint */
1992 /* linux_fchownat */
1994 struct linux_fchownat_args *p = params;
1995 iarg[0] = p->dfd; /* l_int */
1996 uarg[1] = (intptr_t) p->filename; /* const char * */
1997 iarg[2] = p->uid; /* l_uid16_t */
1998 iarg[3] = p->gid; /* l_gid16_t */
1999 iarg[4] = p->flag; /* l_int */
2003 /* linux_futimesat */
2005 struct linux_futimesat_args *p = params;
2006 iarg[0] = p->dfd; /* l_int */
2007 uarg[1] = (intptr_t) p->filename; /* char * */
2008 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2012 /* linux_fstatat64 */
2014 struct linux_fstatat64_args *p = params;
2015 iarg[0] = p->dfd; /* l_int */
2016 uarg[1] = (intptr_t) p->pathname; /* char * */
2017 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2018 iarg[3] = p->flag; /* l_int */
2022 /* linux_unlinkat */
2024 struct linux_unlinkat_args *p = params;
2025 iarg[0] = p->dfd; /* l_int */
2026 uarg[1] = (intptr_t) p->pathname; /* const char * */
2027 iarg[2] = p->flag; /* l_int */
2031 /* linux_renameat */
2033 struct linux_renameat_args *p = params;
2034 iarg[0] = p->olddfd; /* l_int */
2035 uarg[1] = (intptr_t) p->oldname; /* const char * */
2036 iarg[2] = p->newdfd; /* l_int */
2037 uarg[3] = (intptr_t) p->newname; /* const char * */
2043 struct linux_linkat_args *p = params;
2044 iarg[0] = p->olddfd; /* l_int */
2045 uarg[1] = (intptr_t) p->oldname; /* const char * */
2046 iarg[2] = p->newdfd; /* l_int */
2047 uarg[3] = (intptr_t) p->newname; /* const char * */
2048 iarg[4] = p->flag; /* l_int */
2052 /* linux_symlinkat */
2054 struct linux_symlinkat_args *p = params;
2055 uarg[0] = (intptr_t) p->oldname; /* const char * */
2056 iarg[1] = p->newdfd; /* l_int */
2057 uarg[2] = (intptr_t) p->newname; /* const char * */
2061 /* linux_readlinkat */
2063 struct linux_readlinkat_args *p = params;
2064 iarg[0] = p->dfd; /* l_int */
2065 uarg[1] = (intptr_t) p->path; /* const char * */
2066 uarg[2] = (intptr_t) p->buf; /* char * */
2067 iarg[3] = p->bufsiz; /* l_int */
2071 /* linux_fchmodat */
2073 struct linux_fchmodat_args *p = params;
2074 iarg[0] = p->dfd; /* l_int */
2075 uarg[1] = (intptr_t) p->filename; /* const char * */
2076 iarg[2] = p->mode; /* l_mode_t */
2080 /* linux_faccessat */
2082 struct linux_faccessat_args *p = params;
2083 iarg[0] = p->dfd; /* l_int */
2084 uarg[1] = (intptr_t) p->filename; /* const char * */
2085 iarg[2] = p->amode; /* l_int */
2089 /* linux_pselect6 */
2091 struct linux_pselect6_args *p = params;
2092 iarg[0] = p->nfds; /* l_int */
2093 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2094 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2095 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2096 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2097 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2103 struct linux_ppoll_args *p = params;
2104 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2105 uarg[1] = p->nfds; /* uint32_t */
2106 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2107 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2108 iarg[4] = p->ssize; /* l_size_t */
2117 /* linux_set_robust_list */
2119 struct linux_set_robust_list_args *p = params;
2120 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2121 iarg[1] = p->len; /* l_size_t */
2125 /* linux_get_robust_list */
2127 struct linux_get_robust_list_args *p = params;
2128 iarg[0] = p->pid; /* l_int */
2129 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2130 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2139 /* linux_sync_file_range */
2149 /* linux_vmsplice */
2154 /* linux_move_pages */
2164 /* linux_epoll_pwait */
2166 struct linux_epoll_pwait_args *p = params;
2167 iarg[0] = p->epfd; /* l_int */
2168 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2169 iarg[2] = p->maxevents; /* l_int */
2170 iarg[3] = p->timeout; /* l_int */
2171 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2175 /* linux_utimensat */
2177 struct linux_utimensat_args *p = params;
2178 iarg[0] = p->dfd; /* l_int */
2179 uarg[1] = (intptr_t) p->pathname; /* const char * */
2180 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2181 iarg[3] = p->flags; /* l_int */
2185 /* linux_signalfd */
2190 /* linux_timerfd_create */
2197 struct linux_eventfd_args *p = params;
2198 iarg[0] = p->initval; /* l_uint */
2202 /* linux_fallocate */
2204 struct linux_fallocate_args *p = params;
2205 iarg[0] = p->fd; /* l_int */
2206 iarg[1] = p->mode; /* l_int */
2207 iarg[2] = p->offset; /* l_loff_t */
2208 iarg[3] = p->len; /* l_loff_t */
2212 /* linux_timerfd_settime */
2217 /* linux_timerfd_gettime */
2222 /* linux_signalfd4 */
2227 /* linux_eventfd2 */
2229 struct linux_eventfd2_args *p = params;
2230 iarg[0] = p->initval; /* l_uint */
2231 iarg[1] = p->flags; /* l_int */
2235 /* linux_epoll_create1 */
2237 struct linux_epoll_create1_args *p = params;
2238 iarg[0] = p->flags; /* l_int */
2244 struct linux_dup3_args *p = params;
2245 iarg[0] = p->oldfd; /* l_int */
2246 iarg[1] = p->newfd; /* l_int */
2247 iarg[2] = p->flags; /* l_int */
2253 struct linux_pipe2_args *p = params;
2254 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2255 iarg[1] = p->flags; /* l_int */
2259 /* linux_inotify_init1 */
2274 /* linux_rt_tsigqueueinfo */
2279 /* linux_perf_event_open */
2284 /* linux_recvmmsg */
2286 struct linux_recvmmsg_args *p = params;
2287 iarg[0] = p->s; /* l_int */
2288 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2289 iarg[2] = p->vlen; /* l_uint */
2290 iarg[3] = p->flags; /* l_uint */
2291 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2295 /* linux_fanotify_init */
2300 /* linux_fanotify_mark */
2305 /* linux_prlimit64 */
2307 struct linux_prlimit64_args *p = params;
2308 iarg[0] = p->pid; /* l_pid_t */
2309 iarg[1] = p->resource; /* l_uint */
2310 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2311 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2315 /* linux_name_to_handle_at */
2320 /* linux_open_by_handle_at */
2325 /* linux_clock_adjtime */
2332 struct linux_syncfs_args *p = params;
2333 iarg[0] = p->fd; /* l_int */
2337 /* linux_sendmmsg */
2339 struct linux_sendmmsg_args *p = params;
2340 iarg[0] = p->s; /* l_int */
2341 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2342 iarg[2] = p->vlen; /* l_uint */
2343 iarg[3] = p->flags; /* l_uint */
2352 /* linux_process_vm_readv */
2357 /* linux_process_vm_writev */
2368 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2370 const char *p = NULL;
2372 #define nosys linux_nosys
2561 /* linux_lchown16 */
2584 p = "struct linux_stat *";
2631 /* linux_oldumount */
2641 /* linux_setuid16 */
2651 /* linux_getuid16 */
2696 p = "struct l_utimbuf *";
2801 p = "struct l_times_argv *";
2817 /* linux_setgid16 */
2827 /* linux_getgid16 */
2843 /* linux_geteuid16 */
2846 /* linux_getegid16 */
2917 /* linux_olduname */
2947 p = "struct l_ustat *";
2975 /* linux_sigaction */
2982 p = "l_osigaction_t *";
2985 p = "l_osigaction_t *";
2991 /* linux_sgetmask */
2994 /* linux_ssetmask */
3004 /* linux_setreuid16 */
3017 /* linux_setregid16 */
3030 /* linux_sigsuspend */
3046 /* linux_sigpending */
3050 p = "l_osigset_t *";
3056 /* linux_sethostname */
3069 /* linux_setrlimit */
3076 p = "struct l_rlimit *";
3082 /* linux_old_getrlimit */
3089 p = "struct l_rlimit *";
3095 /* linux_getrusage */
3102 p = "struct l_rusage *";
3108 /* linux_gettimeofday */
3112 p = "struct l_timeval *";
3115 p = "struct timezone *";
3121 /* linux_settimeofday */
3125 p = "struct l_timeval *";
3128 p = "struct timezone *";
3134 /* linux_getgroups16 */
3147 /* linux_setgroups16 */
3160 /* linux_old_select */
3164 p = "struct l_old_select_argv *";
3190 p = "struct linux_lstat *";
3196 /* linux_readlink */
3248 p = "struct l_dirent *";
3261 p = "struct l_mmap_argv *";
3280 /* linux_truncate */
3293 /* linux_ftruncate */
3335 /* linux_getpriority */
3371 p = "struct l_statfs_buf *";
3384 p = "struct l_statfs_buf *";
3390 /* linux_socketcall */
3419 /* linux_setitimer */
3426 p = "struct l_itimerval *";
3429 p = "struct l_itimerval *";
3435 /* linux_getitimer */
3442 p = "struct l_itimerval *";
3455 p = "struct l_newstat *";
3461 /* linux_newlstat */
3468 p = "struct l_newstat *";
3474 /* linux_newfstat */
3481 p = "struct l_newstat *";
3516 p = "struct l_rusage *";
3529 p = "struct l_sysinfo *";
3570 /* linux_sigreturn */
3574 p = "struct l_sigframe *";
3602 /* linux_setdomainname */
3615 /* linux_newuname */
3619 p = "struct l_new_utsname *";
3625 /* linux_adjtimex */
3628 /* linux_mprotect */
3644 /* linux_sigprocmask */
3651 p = "l_osigset_t *";
3654 p = "l_osigset_t *";
3660 /* linux_create_module */
3663 /* linux_init_module */
3666 /* linux_delete_module */
3669 /* linux_get_kernel_syms */
3672 /* linux_quotactl */
3714 /* linux_personality */
3724 /* linux_setfsuid16 */
3734 /* linux_setfsgid16 */
3766 /* linux_getdents */
3798 p = "struct l_timeval *";
3840 p = "struct l_iovec32 *";
3856 p = "struct l_iovec32 *";
3875 /* linux_fdatasync */
3889 p = "struct l___sysctl_args *";
3934 /* linux_sched_setparam */
3941 p = "struct sched_param *";
3947 /* linux_sched_getparam */
3954 p = "struct sched_param *";
3960 /* linux_sched_setscheduler */
3970 p = "struct sched_param *";
3976 /* linux_sched_getscheduler */
3989 /* linux_sched_get_priority_max */
3999 /* linux_sched_get_priority_min */
4009 /* linux_sched_rr_get_interval */
4016 p = "struct l_timespec *";
4022 /* linux_nanosleep */
4026 p = "const struct l_timespec *";
4029 p = "struct l_timespec *";
4057 /* linux_setresuid16 */
4073 /* linux_getresuid16 */
4089 /* linux_query_module */
4096 p = "struct pollfd *";
4108 /* linux_nfsservctl */
4111 /* linux_setresgid16 */
4127 /* linux_getresgid16 */
4165 /* linux_rt_sigreturn */
4169 p = "struct l_ucontext *";
4175 /* linux_rt_sigaction */
4182 p = "l_sigaction_t *";
4185 p = "l_sigaction_t *";
4194 /* linux_rt_sigprocmask */
4213 /* linux_rt_sigpending */
4226 /* linux_rt_sigtimedwait */
4233 p = "l_siginfo_t *";
4236 p = "struct l_timeval *";
4245 /* linux_rt_sigqueueinfo */
4255 p = "l_siginfo_t *";
4261 /* linux_rt_sigsuspend */
4345 p = "struct l_user_cap_header *";
4348 p = "struct l_user_cap_data *";
4358 p = "struct l_user_cap_header *";
4361 p = "struct l_user_cap_data *";
4367 /* linux_sigaltstack */
4380 /* linux_sendfile */
4386 /* linux_getrlimit */
4393 p = "struct l_rlimit *";
4424 /* linux_truncate64 */
4437 /* linux_ftruncate64 */
4457 p = "struct l_stat64 *";
4470 p = "struct l_stat64 *";
4483 p = "struct l_stat64 *";
4543 /* linux_getgroups */
4556 /* linux_setgroups */
4672 /* linux_setfsuid */
4682 /* linux_setfsgid */
4692 /* linux_pivot_root */
4737 /* linux_getdents64 */
4772 /* linux_setxattr */
4775 /* linux_lsetxattr */
4778 /* linux_fsetxattr */
4781 /* linux_getxattr */
4784 /* linux_lgetxattr */
4787 /* linux_fgetxattr */
4790 /* linux_listxattr */
4793 /* linux_llistxattr */
4796 /* linux_flistxattr */
4799 /* linux_removexattr */
4802 /* linux_lremovexattr */
4805 /* linux_fremovexattr */
4821 /* linux_sys_futex */
4834 p = "struct l_timespec *";
4846 /* linux_sched_setaffinity */
4862 /* linux_sched_getaffinity */
4878 /* linux_set_thread_area */
4882 p = "struct l_user_desc *";
4888 /* linux_fadvise64 */
4907 /* linux_exit_group */
4917 /* linux_lookup_dcookie */
4920 /* linux_epoll_create */
4930 /* linux_epoll_ctl */
4943 p = "struct epoll_event *";
4949 /* linux_epoll_wait */
4956 p = "struct epoll_event *";
4968 /* linux_remap_file_pages */
4971 /* linux_set_tid_address */
4981 /* linux_timer_create */
4988 p = "struct sigevent *";
4997 /* linux_timer_settime */
5007 p = "const struct itimerspec *";
5010 p = "struct itimerspec *";
5016 /* linux_timer_gettime */
5023 p = "struct itimerspec *";
5029 /* linux_timer_getoverrun */
5039 /* linux_timer_delete */
5049 /* linux_clock_settime */
5056 p = "struct l_timespec *";
5062 /* linux_clock_gettime */
5069 p = "struct l_timespec *";
5075 /* linux_clock_getres */
5082 p = "struct l_timespec *";
5088 /* linux_clock_nanosleep */
5098 p = "struct l_timespec *";
5101 p = "struct l_timespec *";
5107 /* linux_statfs64 */
5117 p = "struct l_statfs64_buf *";
5123 /* linux_fstatfs64 */
5133 p = "struct l_statfs64_buf *";
5162 p = "struct l_timeval *";
5168 /* linux_fadvise64_64 */
5190 /* linux_get_mempolicy */
5193 /* linux_set_mempolicy */
5199 /* linux_mq_unlink */
5202 /* linux_mq_timedsend */
5205 /* linux_mq_timedreceive */
5208 /* linux_mq_notify */
5211 /* linux_mq_getsetattr */
5214 /* linux_kexec_load */
5227 p = "l_siginfo_t *";
5233 p = "struct l_rusage *";
5242 /* linux_request_key */
5248 /* linux_ioprio_set */
5251 /* linux_ioprio_get */
5254 /* linux_inotify_init */
5257 /* linux_inotify_add_watch */
5260 /* linux_inotify_rm_watch */
5263 /* linux_migrate_pages */
5320 /* linux_fchownat */
5342 /* linux_futimesat */
5352 p = "struct l_timeval *";
5358 /* linux_fstatat64 */
5368 p = "struct l_stat64 *";
5377 /* linux_unlinkat */
5393 /* linux_renameat */
5434 /* linux_symlinkat */
5450 /* linux_readlinkat */
5469 /* linux_fchmodat */
5485 /* linux_faccessat */
5501 /* linux_pselect6 */
5517 p = "struct l_timespec *";
5520 p = "l_uintptr_t *";
5530 p = "struct pollfd *";
5536 p = "struct l_timespec *";
5551 /* linux_set_robust_list */
5555 p = "struct linux_robust_list_head *";
5564 /* linux_get_robust_list */
5571 p = "struct linux_robust_list_head **";
5583 /* linux_sync_file_range */
5589 /* linux_vmsplice */
5592 /* linux_move_pages */
5598 /* linux_epoll_pwait */
5605 p = "struct epoll_event *";
5620 /* linux_utimensat */
5630 p = "const struct l_timespec *";
5639 /* linux_signalfd */
5642 /* linux_timerfd_create */
5655 /* linux_fallocate */
5674 /* linux_timerfd_settime */
5677 /* linux_timerfd_gettime */
5680 /* linux_signalfd4 */
5683 /* linux_eventfd2 */
5696 /* linux_epoll_create1 */
5735 /* linux_inotify_init1 */
5744 /* linux_rt_tsigqueueinfo */
5747 /* linux_perf_event_open */
5750 /* linux_recvmmsg */
5757 p = "struct l_mmsghdr *";
5766 p = "struct l_timespec *";
5772 /* linux_fanotify_init */
5775 /* linux_fanotify_mark */
5778 /* linux_prlimit64 */
5788 p = "struct rlimit *";
5791 p = "struct rlimit *";
5797 /* linux_name_to_handle_at */
5800 /* linux_open_by_handle_at */
5803 /* linux_clock_adjtime */
5816 /* linux_sendmmsg */
5823 p = "struct l_mmsghdr *";
5838 /* linux_process_vm_readv */
5841 /* linux_process_vm_writev */
5848 strlcpy(desc, p, descsz);
5851 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5853 const char *p = NULL;
5855 #define nosys linux_nosys
5858 if (ndx == 0 || ndx == 1)
5865 if (ndx == 0 || ndx == 1)
5870 if (ndx == 0 || ndx == 1)
5875 if (ndx == 0 || ndx == 1)
5880 if (ndx == 0 || ndx == 1)
5885 if (ndx == 0 || ndx == 1)
5890 if (ndx == 0 || ndx == 1)
5895 if (ndx == 0 || ndx == 1)
5900 if (ndx == 0 || ndx == 1)
5905 if (ndx == 0 || ndx == 1)
5910 if (ndx == 0 || ndx == 1)
5915 if (ndx == 0 || ndx == 1)
5920 if (ndx == 0 || ndx == 1)
5925 if (ndx == 0 || ndx == 1)
5928 /* linux_lchown16 */
5930 if (ndx == 0 || ndx == 1)
5935 if (ndx == 0 || ndx == 1)
5940 if (ndx == 0 || ndx == 1)
5947 if (ndx == 0 || ndx == 1)
5950 /* linux_oldumount */
5952 if (ndx == 0 || ndx == 1)
5955 /* linux_setuid16 */
5957 if (ndx == 0 || ndx == 1)
5960 /* linux_getuid16 */
5966 if (ndx == 0 || ndx == 1)
5971 if (ndx == 0 || ndx == 1)
5978 if (ndx == 0 || ndx == 1)
5983 if (ndx == 0 || ndx == 1)
5988 if (ndx == 0 || ndx == 1)
5995 if (ndx == 0 || ndx == 1)
6000 if (ndx == 0 || ndx == 1)
6005 if (ndx == 0 || ndx == 1)
6010 if (ndx == 0 || ndx == 1)
6015 if (ndx == 0 || ndx == 1)
6020 if (ndx == 0 || ndx == 1)
6025 if (ndx == 0 || ndx == 1)
6030 if (ndx == 0 || ndx == 1)
6033 /* linux_setgid16 */
6035 if (ndx == 0 || ndx == 1)
6038 /* linux_getgid16 */
6042 if (ndx == 0 || ndx == 1)
6045 /* linux_geteuid16 */
6047 /* linux_getegid16 */
6051 if (ndx == 0 || ndx == 1)
6056 if (ndx == 0 || ndx == 1)
6061 if (ndx == 0 || ndx == 1)
6066 if (ndx == 0 || ndx == 1)
6071 if (ndx == 0 || ndx == 1)
6074 /* linux_olduname */
6078 if (ndx == 0 || ndx == 1)
6083 if (ndx == 0 || ndx == 1)
6088 if (ndx == 0 || ndx == 1)
6093 if (ndx == 0 || ndx == 1)
6102 /* linux_sigaction */
6104 if (ndx == 0 || ndx == 1)
6107 /* linux_sgetmask */
6109 /* linux_ssetmask */
6111 if (ndx == 0 || ndx == 1)
6114 /* linux_setreuid16 */
6116 if (ndx == 0 || ndx == 1)
6119 /* linux_setregid16 */
6121 if (ndx == 0 || ndx == 1)
6124 /* linux_sigsuspend */
6126 if (ndx == 0 || ndx == 1)
6129 /* linux_sigpending */
6131 if (ndx == 0 || ndx == 1)
6134 /* linux_sethostname */
6136 if (ndx == 0 || ndx == 1)
6139 /* linux_setrlimit */
6141 if (ndx == 0 || ndx == 1)
6144 /* linux_old_getrlimit */
6146 if (ndx == 0 || ndx == 1)
6149 /* linux_getrusage */
6151 if (ndx == 0 || ndx == 1)
6154 /* linux_gettimeofday */
6156 if (ndx == 0 || ndx == 1)
6159 /* linux_settimeofday */
6161 if (ndx == 0 || ndx == 1)
6164 /* linux_getgroups16 */
6166 if (ndx == 0 || ndx == 1)
6169 /* linux_setgroups16 */
6171 if (ndx == 0 || ndx == 1)
6174 /* linux_old_select */
6176 if (ndx == 0 || ndx == 1)
6181 if (ndx == 0 || ndx == 1)
6186 if (ndx == 0 || ndx == 1)
6189 /* linux_readlink */
6191 if (ndx == 0 || ndx == 1)
6196 if (ndx == 0 || ndx == 1)
6201 if (ndx == 0 || ndx == 1)
6206 if (ndx == 0 || ndx == 1)
6211 if (ndx == 0 || ndx == 1)
6216 if (ndx == 0 || ndx == 1)
6219 /* linux_truncate */
6221 if (ndx == 0 || ndx == 1)
6224 /* linux_ftruncate */
6226 if (ndx == 0 || ndx == 1)
6231 if (ndx == 0 || ndx == 1)
6236 if (ndx == 0 || ndx == 1)
6239 /* linux_getpriority */
6241 if (ndx == 0 || ndx == 1)
6246 if (ndx == 0 || ndx == 1)
6251 if (ndx == 0 || ndx == 1)
6256 if (ndx == 0 || ndx == 1)
6259 /* linux_socketcall */
6261 if (ndx == 0 || ndx == 1)
6266 if (ndx == 0 || ndx == 1)
6269 /* linux_setitimer */
6271 if (ndx == 0 || ndx == 1)
6274 /* linux_getitimer */
6276 if (ndx == 0 || ndx == 1)
6281 if (ndx == 0 || ndx == 1)
6284 /* linux_newlstat */
6286 if (ndx == 0 || ndx == 1)
6289 /* linux_newfstat */
6291 if (ndx == 0 || ndx == 1)
6298 if (ndx == 0 || ndx == 1)
6305 if (ndx == 0 || ndx == 1)
6312 if (ndx == 0 || ndx == 1)
6317 if (ndx == 0 || ndx == 1)
6322 if (ndx == 0 || ndx == 1)
6325 /* linux_sigreturn */
6327 if (ndx == 0 || ndx == 1)
6332 if (ndx == 0 || ndx == 1)
6335 /* linux_setdomainname */
6337 if (ndx == 0 || ndx == 1)
6340 /* linux_newuname */
6342 if (ndx == 0 || ndx == 1)
6345 /* linux_adjtimex */
6347 /* linux_mprotect */
6349 if (ndx == 0 || ndx == 1)
6352 /* linux_sigprocmask */
6354 if (ndx == 0 || ndx == 1)
6357 /* linux_create_module */
6359 /* linux_init_module */
6361 /* linux_delete_module */
6363 /* linux_get_kernel_syms */
6365 /* linux_quotactl */
6369 if (ndx == 0 || ndx == 1)
6374 if (ndx == 0 || ndx == 1)
6381 if (ndx == 0 || ndx == 1)
6384 /* linux_personality */
6386 if (ndx == 0 || ndx == 1)
6389 /* linux_setfsuid16 */
6391 if (ndx == 0 || ndx == 1)
6394 /* linux_setfsgid16 */
6396 if (ndx == 0 || ndx == 1)
6401 if (ndx == 0 || ndx == 1)
6404 /* linux_getdents */
6406 if (ndx == 0 || ndx == 1)
6411 if (ndx == 0 || ndx == 1)
6416 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)
6439 /* linux_fdatasync */
6441 if (ndx == 0 || ndx == 1)
6446 if (ndx == 0 || ndx == 1)
6451 if (ndx == 0 || ndx == 1)
6456 if (ndx == 0 || ndx == 1)
6461 if (ndx == 0 || ndx == 1)
6466 /* linux_sched_setparam */
6468 if (ndx == 0 || ndx == 1)
6471 /* linux_sched_getparam */
6473 if (ndx == 0 || ndx == 1)
6476 /* linux_sched_setscheduler */
6478 if (ndx == 0 || ndx == 1)
6481 /* linux_sched_getscheduler */
6483 if (ndx == 0 || ndx == 1)
6488 /* linux_sched_get_priority_max */
6490 if (ndx == 0 || ndx == 1)
6493 /* linux_sched_get_priority_min */
6495 if (ndx == 0 || ndx == 1)
6498 /* linux_sched_rr_get_interval */
6500 if (ndx == 0 || ndx == 1)
6503 /* linux_nanosleep */
6505 if (ndx == 0 || ndx == 1)
6510 if (ndx == 0 || ndx == 1)
6513 /* linux_setresuid16 */
6515 if (ndx == 0 || ndx == 1)
6518 /* linux_getresuid16 */
6520 if (ndx == 0 || ndx == 1)
6523 /* linux_query_module */
6527 if (ndx == 0 || ndx == 1)
6530 /* linux_nfsservctl */
6532 /* linux_setresgid16 */
6534 if (ndx == 0 || ndx == 1)
6537 /* linux_getresgid16 */
6539 if (ndx == 0 || ndx == 1)
6544 if (ndx == 0 || ndx == 1)
6547 /* linux_rt_sigreturn */
6549 if (ndx == 0 || ndx == 1)
6552 /* linux_rt_sigaction */
6554 if (ndx == 0 || ndx == 1)
6557 /* linux_rt_sigprocmask */
6559 if (ndx == 0 || ndx == 1)
6562 /* linux_rt_sigpending */
6564 if (ndx == 0 || ndx == 1)
6567 /* linux_rt_sigtimedwait */
6569 if (ndx == 0 || ndx == 1)
6572 /* linux_rt_sigqueueinfo */
6574 if (ndx == 0 || ndx == 1)
6577 /* linux_rt_sigsuspend */
6579 if (ndx == 0 || ndx == 1)
6584 if (ndx == 0 || ndx == 1)
6589 if (ndx == 0 || ndx == 1)
6594 if (ndx == 0 || ndx == 1)
6599 if (ndx == 0 || ndx == 1)
6604 if (ndx == 0 || ndx == 1)
6609 if (ndx == 0 || ndx == 1)
6612 /* linux_sigaltstack */
6614 if (ndx == 0 || ndx == 1)
6617 /* linux_sendfile */
6621 /* linux_getrlimit */
6623 if (ndx == 0 || ndx == 1)
6628 if (ndx == 0 || ndx == 1)
6631 /* linux_truncate64 */
6633 if (ndx == 0 || ndx == 1)
6636 /* linux_ftruncate64 */
6638 if (ndx == 0 || ndx == 1)
6643 if (ndx == 0 || ndx == 1)
6648 if (ndx == 0 || ndx == 1)
6653 if (ndx == 0 || ndx == 1)
6658 if (ndx == 0 || ndx == 1)
6671 if (ndx == 0 || ndx == 1)
6676 if (ndx == 0 || ndx == 1)
6679 /* linux_getgroups */
6681 if (ndx == 0 || ndx == 1)
6684 /* linux_setgroups */
6686 if (ndx == 0 || ndx == 1)
6693 if (ndx == 0 || ndx == 1)
6698 if (ndx == 0 || ndx == 1)
6703 if (ndx == 0 || ndx == 1)
6708 if (ndx == 0 || ndx == 1)
6713 if (ndx == 0 || ndx == 1)
6718 if (ndx == 0 || ndx == 1)
6723 if (ndx == 0 || ndx == 1)
6726 /* linux_setfsuid */
6728 if (ndx == 0 || ndx == 1)
6731 /* linux_setfsgid */
6733 if (ndx == 0 || ndx == 1)
6736 /* linux_pivot_root */
6738 if (ndx == 0 || ndx == 1)
6743 if (ndx == 0 || ndx == 1)
6748 if (ndx == 0 || ndx == 1)
6751 /* linux_getdents64 */
6753 if (ndx == 0 || ndx == 1)
6758 if (ndx == 0 || ndx == 1)
6763 /* linux_setxattr */
6765 /* linux_lsetxattr */
6767 /* linux_fsetxattr */
6769 /* linux_getxattr */
6771 /* linux_lgetxattr */
6773 /* linux_fgetxattr */
6775 /* linux_listxattr */
6777 /* linux_llistxattr */
6779 /* linux_flistxattr */
6781 /* linux_removexattr */
6783 /* linux_lremovexattr */
6785 /* linux_fremovexattr */
6789 if (ndx == 0 || ndx == 1)
6792 /* linux_sys_futex */
6794 if (ndx == 0 || ndx == 1)
6797 /* linux_sched_setaffinity */
6799 if (ndx == 0 || ndx == 1)
6802 /* linux_sched_getaffinity */
6804 if (ndx == 0 || ndx == 1)
6807 /* linux_set_thread_area */
6809 if (ndx == 0 || ndx == 1)
6812 /* linux_fadvise64 */
6814 if (ndx == 0 || ndx == 1)
6817 /* linux_exit_group */
6819 if (ndx == 0 || ndx == 1)
6822 /* linux_lookup_dcookie */
6824 /* linux_epoll_create */
6826 if (ndx == 0 || ndx == 1)
6829 /* linux_epoll_ctl */
6831 if (ndx == 0 || ndx == 1)
6834 /* linux_epoll_wait */
6836 if (ndx == 0 || ndx == 1)
6839 /* linux_remap_file_pages */
6841 /* linux_set_tid_address */
6843 if (ndx == 0 || ndx == 1)
6846 /* linux_timer_create */
6848 if (ndx == 0 || ndx == 1)
6851 /* linux_timer_settime */
6853 if (ndx == 0 || ndx == 1)
6856 /* linux_timer_gettime */
6858 if (ndx == 0 || ndx == 1)
6861 /* linux_timer_getoverrun */
6863 if (ndx == 0 || ndx == 1)
6866 /* linux_timer_delete */
6868 if (ndx == 0 || ndx == 1)
6871 /* linux_clock_settime */
6873 if (ndx == 0 || ndx == 1)
6876 /* linux_clock_gettime */
6878 if (ndx == 0 || ndx == 1)
6881 /* linux_clock_getres */
6883 if (ndx == 0 || ndx == 1)
6886 /* linux_clock_nanosleep */
6888 if (ndx == 0 || ndx == 1)
6891 /* linux_statfs64 */
6893 if (ndx == 0 || ndx == 1)
6896 /* linux_fstatfs64 */
6898 if (ndx == 0 || ndx == 1)
6903 if (ndx == 0 || ndx == 1)
6908 if (ndx == 0 || ndx == 1)
6911 /* linux_fadvise64_64 */
6913 if (ndx == 0 || ndx == 1)
6918 /* linux_get_mempolicy */
6920 /* linux_set_mempolicy */
6924 /* linux_mq_unlink */
6926 /* linux_mq_timedsend */
6928 /* linux_mq_timedreceive */
6930 /* linux_mq_notify */
6932 /* linux_mq_getsetattr */
6934 /* linux_kexec_load */
6938 if (ndx == 0 || ndx == 1)
6943 /* linux_request_key */
6947 /* linux_ioprio_set */
6949 /* linux_ioprio_get */
6951 /* linux_inotify_init */
6953 /* linux_inotify_add_watch */
6955 /* linux_inotify_rm_watch */
6957 /* linux_migrate_pages */
6961 if (ndx == 0 || ndx == 1)
6966 if (ndx == 0 || ndx == 1)
6971 if (ndx == 0 || ndx == 1)
6974 /* linux_fchownat */
6976 if (ndx == 0 || ndx == 1)
6979 /* linux_futimesat */
6981 if (ndx == 0 || ndx == 1)
6984 /* linux_fstatat64 */
6986 if (ndx == 0 || ndx == 1)
6989 /* linux_unlinkat */
6991 if (ndx == 0 || ndx == 1)
6994 /* linux_renameat */
6996 if (ndx == 0 || ndx == 1)
7001 if (ndx == 0 || ndx == 1)
7004 /* linux_symlinkat */
7006 if (ndx == 0 || ndx == 1)
7009 /* linux_readlinkat */
7011 if (ndx == 0 || ndx == 1)
7014 /* linux_fchmodat */
7016 if (ndx == 0 || ndx == 1)
7019 /* linux_faccessat */
7021 if (ndx == 0 || ndx == 1)
7024 /* linux_pselect6 */
7026 if (ndx == 0 || ndx == 1)
7031 if (ndx == 0 || ndx == 1)
7036 /* linux_set_robust_list */
7038 if (ndx == 0 || ndx == 1)
7041 /* linux_get_robust_list */
7043 if (ndx == 0 || ndx == 1)
7048 /* linux_sync_file_range */
7052 /* linux_vmsplice */
7054 /* linux_move_pages */
7058 /* linux_epoll_pwait */
7060 if (ndx == 0 || ndx == 1)
7063 /* linux_utimensat */
7065 if (ndx == 0 || ndx == 1)
7068 /* linux_signalfd */
7070 /* linux_timerfd_create */
7074 if (ndx == 0 || ndx == 1)
7077 /* linux_fallocate */
7079 if (ndx == 0 || ndx == 1)
7082 /* linux_timerfd_settime */
7084 /* linux_timerfd_gettime */
7086 /* linux_signalfd4 */
7088 /* linux_eventfd2 */
7090 if (ndx == 0 || ndx == 1)
7093 /* linux_epoll_create1 */
7095 if (ndx == 0 || ndx == 1)
7100 if (ndx == 0 || ndx == 1)
7105 if (ndx == 0 || ndx == 1)
7108 /* linux_inotify_init1 */
7114 /* linux_rt_tsigqueueinfo */
7116 /* linux_perf_event_open */
7118 /* linux_recvmmsg */
7120 if (ndx == 0 || ndx == 1)
7123 /* linux_fanotify_init */
7125 /* linux_fanotify_mark */
7127 /* linux_prlimit64 */
7129 if (ndx == 0 || ndx == 1)
7132 /* linux_name_to_handle_at */
7134 /* linux_open_by_handle_at */
7136 /* linux_clock_adjtime */
7140 if (ndx == 0 || ndx == 1)
7143 /* linux_sendmmsg */
7145 if (ndx == 0 || ndx == 1)
7150 /* linux_process_vm_readv */
7152 /* linux_process_vm_writev */
7158 strlcpy(desc, p, descsz);