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; /* char ** */
98 uarg[2] = (intptr_t) p->envp; /* char ** */
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 */
218 struct linux_fstat_args *p = params;
219 iarg[0] = p->fd; /* l_uint */
220 uarg[1] = (intptr_t) p->up; /* struct linux_stat * */
231 struct linux_utime_args *p = params;
232 uarg[0] = (intptr_t) p->fname; /* char * */
233 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
239 struct linux_access_args *p = params;
240 uarg[0] = (intptr_t) p->path; /* char * */
241 iarg[1] = p->amode; /* l_int */
247 struct linux_nice_args *p = params;
248 iarg[0] = p->inc; /* l_int */
259 struct linux_kill_args *p = params;
260 iarg[0] = p->pid; /* l_int */
261 iarg[1] = p->signum; /* l_int */
267 struct linux_rename_args *p = params;
268 uarg[0] = (intptr_t) p->from; /* char * */
269 uarg[1] = (intptr_t) p->to; /* char * */
275 struct linux_mkdir_args *p = params;
276 uarg[0] = (intptr_t) p->path; /* char * */
277 iarg[1] = p->mode; /* l_int */
283 struct linux_rmdir_args *p = params;
284 uarg[0] = (intptr_t) p->path; /* char * */
290 struct dup_args *p = params;
291 uarg[0] = p->fd; /* u_int */
297 struct linux_pipe_args *p = params;
298 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
304 struct linux_times_args *p = params;
305 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
311 struct linux_brk_args *p = params;
312 iarg[0] = p->dsend; /* l_ulong */
318 struct linux_setgid16_args *p = params;
319 iarg[0] = p->gid; /* l_gid16_t */
330 struct linux_signal_args *p = params;
331 iarg[0] = p->sig; /* l_int */
332 uarg[1] = (intptr_t) p->handler; /* void * */
336 /* linux_geteuid16 */
341 /* linux_getegid16 */
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t) p->path; /* char * */
355 struct linux_umount_args *p = params;
356 uarg[0] = (intptr_t) p->path; /* char * */
357 iarg[1] = p->flags; /* l_int */
363 struct linux_ioctl_args *p = params;
364 iarg[0] = p->fd; /* l_uint */
365 iarg[1] = p->cmd; /* l_uint */
366 iarg[2] = p->arg; /* l_ulong */
372 struct linux_fcntl_args *p = params;
373 iarg[0] = p->fd; /* l_uint */
374 iarg[1] = p->cmd; /* l_uint */
375 iarg[2] = p->arg; /* l_ulong */
381 struct setpgid_args *p = params;
382 iarg[0] = p->pid; /* int */
383 iarg[1] = p->pgid; /* int */
394 struct umask_args *p = params;
395 iarg[0] = p->newmask; /* int */
401 struct chroot_args *p = params;
402 uarg[0] = (intptr_t) p->path; /* char * */
408 struct linux_ustat_args *p = params;
409 iarg[0] = p->dev; /* l_dev_t */
410 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
416 struct dup2_args *p = params;
417 uarg[0] = p->from; /* u_int */
418 uarg[1] = p->to; /* u_int */
437 /* linux_sigaction */
439 struct linux_sigaction_args *p = params;
440 iarg[0] = p->sig; /* l_int */
441 uarg[1] = (intptr_t) p->nsa; /* l_osigaction_t * */
442 uarg[2] = (intptr_t) p->osa; /* l_osigaction_t * */
453 struct linux_ssetmask_args *p = params;
454 iarg[0] = p->mask; /* l_osigset_t */
458 /* linux_setreuid16 */
460 struct linux_setreuid16_args *p = params;
461 iarg[0] = p->ruid; /* l_uid16_t */
462 iarg[1] = p->euid; /* l_uid16_t */
466 /* linux_setregid16 */
468 struct linux_setregid16_args *p = params;
469 iarg[0] = p->rgid; /* l_gid16_t */
470 iarg[1] = p->egid; /* l_gid16_t */
474 /* linux_sigsuspend */
476 struct linux_sigsuspend_args *p = params;
477 iarg[0] = p->hist0; /* l_int */
478 iarg[1] = p->hist1; /* l_int */
479 iarg[2] = p->mask; /* l_osigset_t */
483 /* linux_sigpending */
485 struct linux_sigpending_args *p = params;
486 uarg[0] = (intptr_t) p->mask; /* l_osigset_t * */
490 /* linux_sethostname */
492 struct linux_sethostname_args *p = params;
493 uarg[0] = (intptr_t) p->hostname; /* char * */
494 uarg[1] = p->len; /* u_int */
498 /* linux_setrlimit */
500 struct linux_setrlimit_args *p = params;
501 iarg[0] = p->resource; /* l_uint */
502 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
506 /* linux_old_getrlimit */
508 struct linux_old_getrlimit_args *p = params;
509 iarg[0] = p->resource; /* l_uint */
510 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
516 struct getrusage_args *p = params;
517 iarg[0] = p->who; /* int */
518 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
524 struct gettimeofday_args *p = params;
525 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
532 struct settimeofday_args *p = params;
533 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
534 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
538 /* linux_getgroups16 */
540 struct linux_getgroups16_args *p = params;
541 iarg[0] = p->gidsetsize; /* l_uint */
542 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
546 /* linux_setgroups16 */
548 struct linux_setgroups16_args *p = params;
549 iarg[0] = p->gidsetsize; /* l_uint */
550 uarg[1] = (intptr_t) p->gidset; /* l_gid16_t * */
554 /* linux_old_select */
556 struct linux_old_select_args *p = params;
557 uarg[0] = (intptr_t) p->ptr; /* struct l_old_select_argv * */
563 struct linux_symlink_args *p = params;
564 uarg[0] = (intptr_t) p->path; /* char * */
565 uarg[1] = (intptr_t) p->to; /* char * */
571 struct linux_lstat_args *p = params;
572 uarg[0] = (intptr_t) p->path; /* char * */
573 uarg[1] = (intptr_t) p->up; /* struct l_stat * */
579 struct linux_readlink_args *p = params;
580 uarg[0] = (intptr_t) p->name; /* char * */
581 uarg[1] = (intptr_t) p->buf; /* char * */
582 iarg[2] = p->count; /* l_int */
588 struct linux_uselib_args *p = params;
589 uarg[0] = (intptr_t) p->library; /* char * */
595 struct swapon_args *p = params;
596 uarg[0] = (intptr_t) p->name; /* char * */
602 struct linux_reboot_args *p = params;
603 iarg[0] = p->magic1; /* l_int */
604 iarg[1] = p->magic2; /* l_int */
605 iarg[2] = p->cmd; /* l_uint */
606 uarg[3] = (intptr_t) p->arg; /* void * */
612 struct linux_readdir_args *p = params;
613 iarg[0] = p->fd; /* l_uint */
614 uarg[1] = (intptr_t) p->dent; /* struct l_dirent * */
615 iarg[2] = p->count; /* l_uint */
621 struct linux_mmap_args *p = params;
622 uarg[0] = (intptr_t) p->ptr; /* struct l_mmap_argv * */
628 struct munmap_args *p = params;
629 uarg[0] = (intptr_t) p->addr; /* caddr_t */
630 iarg[1] = p->len; /* int */
636 struct linux_truncate_args *p = params;
637 uarg[0] = (intptr_t) p->path; /* char * */
638 iarg[1] = p->length; /* l_ulong */
642 /* linux_ftruncate */
644 struct linux_ftruncate_args *p = params;
645 iarg[0] = p->fd; /* int */
646 iarg[1] = p->length; /* long */
652 struct fchmod_args *p = params;
653 iarg[0] = p->fd; /* int */
654 iarg[1] = p->mode; /* int */
660 struct fchown_args *p = params;
661 iarg[0] = p->fd; /* int */
662 iarg[1] = p->uid; /* int */
663 iarg[2] = p->gid; /* int */
667 /* linux_getpriority */
669 struct linux_getpriority_args *p = params;
670 iarg[0] = p->which; /* int */
671 iarg[1] = p->who; /* int */
677 struct setpriority_args *p = params;
678 iarg[0] = p->which; /* int */
679 iarg[1] = p->who; /* int */
680 iarg[2] = p->prio; /* int */
686 struct linux_statfs_args *p = params;
687 uarg[0] = (intptr_t) p->path; /* char * */
688 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
694 struct linux_fstatfs_args *p = params;
695 iarg[0] = p->fd; /* l_uint */
696 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
702 struct linux_ioperm_args *p = params;
703 iarg[0] = p->start; /* l_ulong */
704 iarg[1] = p->length; /* l_ulong */
705 iarg[2] = p->enable; /* l_int */
709 /* linux_socketcall */
711 struct linux_socketcall_args *p = params;
712 iarg[0] = p->what; /* l_int */
713 iarg[1] = p->args; /* l_ulong */
719 struct linux_syslog_args *p = params;
720 iarg[0] = p->type; /* l_int */
721 uarg[1] = (intptr_t) p->buf; /* char * */
722 iarg[2] = p->len; /* l_int */
726 /* linux_setitimer */
728 struct linux_setitimer_args *p = params;
729 iarg[0] = p->which; /* l_int */
730 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
731 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
735 /* linux_getitimer */
737 struct linux_getitimer_args *p = params;
738 iarg[0] = p->which; /* l_int */
739 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
745 struct linux_newstat_args *p = params;
746 uarg[0] = (intptr_t) p->path; /* char * */
747 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
753 struct linux_newlstat_args *p = params;
754 uarg[0] = (intptr_t) p->path; /* char * */
755 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
761 struct linux_newfstat_args *p = params;
762 iarg[0] = p->fd; /* l_uint */
763 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
774 struct linux_iopl_args *p = params;
775 iarg[0] = p->level; /* l_int */
791 struct linux_wait4_args *p = params;
792 iarg[0] = p->pid; /* l_pid_t */
793 uarg[1] = (intptr_t) p->status; /* l_int * */
794 iarg[2] = p->options; /* l_int */
795 uarg[3] = (intptr_t) p->rusage; /* void * */
806 struct linux_sysinfo_args *p = params;
807 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
813 struct linux_ipc_args *p = params;
814 iarg[0] = p->what; /* l_uint */
815 iarg[1] = p->arg1; /* l_int */
816 iarg[2] = p->arg2; /* l_int */
817 iarg[3] = p->arg3; /* l_int */
818 uarg[4] = (intptr_t) p->ptr; /* void * */
819 iarg[5] = p->arg5; /* l_long */
825 struct fsync_args *p = params;
826 iarg[0] = p->fd; /* int */
830 /* linux_sigreturn */
832 struct linux_sigreturn_args *p = params;
833 uarg[0] = (intptr_t) p->sfp; /* struct l_sigframe * */
839 struct linux_clone_args *p = params;
840 iarg[0] = p->flags; /* l_int */
841 uarg[1] = (intptr_t) p->stack; /* void * */
842 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
843 uarg[3] = (intptr_t) p->tls; /* void * */
844 uarg[4] = (intptr_t) p->child_tidptr; /* void * */
848 /* linux_setdomainname */
850 struct linux_setdomainname_args *p = params;
851 uarg[0] = (intptr_t) p->name; /* char * */
852 iarg[1] = p->len; /* int */
858 struct linux_newuname_args *p = params;
859 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
863 /* linux_modify_ldt */
865 struct linux_modify_ldt_args *p = params;
866 iarg[0] = p->func; /* l_int */
867 uarg[1] = (intptr_t) p->ptr; /* void * */
868 iarg[2] = p->bytecount; /* l_ulong */
879 struct linux_mprotect_args *p = params;
880 uarg[0] = (intptr_t) p->addr; /* caddr_t */
881 iarg[1] = p->len; /* int */
882 iarg[2] = p->prot; /* int */
886 /* linux_sigprocmask */
888 struct linux_sigprocmask_args *p = params;
889 iarg[0] = p->how; /* l_int */
890 uarg[1] = (intptr_t) p->mask; /* l_osigset_t * */
891 uarg[2] = (intptr_t) p->omask; /* l_osigset_t * */
895 /* linux_create_module */
900 /* linux_init_module */
905 /* linux_delete_module */
910 /* linux_get_kernel_syms */
922 struct getpgid_args *p = params;
923 iarg[0] = p->pid; /* int */
929 struct fchdir_args *p = params;
930 iarg[0] = p->fd; /* int */
941 struct linux_sysfs_args *p = params;
942 iarg[0] = p->option; /* l_int */
943 iarg[1] = p->arg1; /* l_ulong */
944 iarg[2] = p->arg2; /* l_ulong */
948 /* linux_personality */
950 struct linux_personality_args *p = params;
951 iarg[0] = p->per; /* l_ulong */
955 /* linux_setfsuid16 */
957 struct linux_setfsuid16_args *p = params;
958 iarg[0] = p->uid; /* l_uid16_t */
962 /* linux_setfsgid16 */
964 struct linux_setfsgid16_args *p = params;
965 iarg[0] = p->gid; /* l_gid16_t */
971 struct linux_llseek_args *p = params;
972 iarg[0] = p->fd; /* l_int */
973 iarg[1] = p->ohigh; /* l_ulong */
974 iarg[2] = p->olow; /* l_ulong */
975 uarg[3] = (intptr_t) p->res; /* l_loff_t * */
976 iarg[4] = p->whence; /* l_uint */
982 struct linux_getdents_args *p = params;
983 iarg[0] = p->fd; /* l_uint */
984 uarg[1] = (intptr_t) p->dent; /* void * */
985 iarg[2] = p->count; /* l_uint */
991 struct linux_select_args *p = params;
992 iarg[0] = p->nfds; /* l_int */
993 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
994 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
995 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
996 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
1002 struct flock_args *p = params;
1003 iarg[0] = p->fd; /* int */
1004 iarg[1] = p->how; /* int */
1010 struct linux_msync_args *p = params;
1011 iarg[0] = p->addr; /* l_ulong */
1012 iarg[1] = p->len; /* l_size_t */
1013 iarg[2] = p->fl; /* l_int */
1019 struct readv_args *p = params;
1020 iarg[0] = p->fd; /* int */
1021 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1022 uarg[2] = p->iovcnt; /* u_int */
1028 struct writev_args *p = params;
1029 iarg[0] = p->fd; /* int */
1030 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1031 uarg[2] = p->iovcnt; /* u_int */
1037 struct linux_getsid_args *p = params;
1038 iarg[0] = p->pid; /* l_pid_t */
1042 /* linux_fdatasync */
1044 struct linux_fdatasync_args *p = params;
1045 iarg[0] = p->fd; /* l_uint */
1051 struct linux_sysctl_args *p = params;
1052 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1058 struct mlock_args *p = params;
1059 uarg[0] = (intptr_t) p->addr; /* const void * */
1060 uarg[1] = p->len; /* size_t */
1066 struct munlock_args *p = params;
1067 uarg[0] = (intptr_t) p->addr; /* const void * */
1068 uarg[1] = p->len; /* size_t */
1074 struct mlockall_args *p = params;
1075 iarg[0] = p->how; /* int */
1084 /* linux_sched_setparam */
1086 struct linux_sched_setparam_args *p = params;
1087 iarg[0] = p->pid; /* l_pid_t */
1088 uarg[1] = (intptr_t) p->param; /* struct l_sched_param * */
1092 /* linux_sched_getparam */
1094 struct linux_sched_getparam_args *p = params;
1095 iarg[0] = p->pid; /* l_pid_t */
1096 uarg[1] = (intptr_t) p->param; /* struct l_sched_param * */
1100 /* linux_sched_setscheduler */
1102 struct linux_sched_setscheduler_args *p = params;
1103 iarg[0] = p->pid; /* l_pid_t */
1104 iarg[1] = p->policy; /* l_int */
1105 uarg[2] = (intptr_t) p->param; /* struct l_sched_param * */
1109 /* linux_sched_getscheduler */
1111 struct linux_sched_getscheduler_args *p = params;
1112 iarg[0] = p->pid; /* l_pid_t */
1121 /* linux_sched_get_priority_max */
1123 struct linux_sched_get_priority_max_args *p = params;
1124 iarg[0] = p->policy; /* l_int */
1128 /* linux_sched_get_priority_min */
1130 struct linux_sched_get_priority_min_args *p = params;
1131 iarg[0] = p->policy; /* l_int */
1135 /* linux_sched_rr_get_interval */
1137 struct linux_sched_rr_get_interval_args *p = params;
1138 iarg[0] = p->pid; /* l_pid_t */
1139 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1143 /* linux_nanosleep */
1145 struct linux_nanosleep_args *p = params;
1146 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
1147 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
1153 struct linux_mremap_args *p = params;
1154 iarg[0] = p->addr; /* l_ulong */
1155 iarg[1] = p->old_len; /* l_ulong */
1156 iarg[2] = p->new_len; /* l_ulong */
1157 iarg[3] = p->flags; /* l_ulong */
1158 iarg[4] = p->new_addr; /* l_ulong */
1162 /* linux_setresuid16 */
1164 struct linux_setresuid16_args *p = params;
1165 iarg[0] = p->ruid; /* l_uid16_t */
1166 iarg[1] = p->euid; /* l_uid16_t */
1167 iarg[2] = p->suid; /* l_uid16_t */
1171 /* linux_getresuid16 */
1173 struct linux_getresuid16_args *p = params;
1174 uarg[0] = (intptr_t) p->ruid; /* l_uid16_t * */
1175 uarg[1] = (intptr_t) p->euid; /* l_uid16_t * */
1176 uarg[2] = (intptr_t) p->suid; /* l_uid16_t * */
1185 /* linux_query_module */
1192 struct poll_args *p = params;
1193 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1194 uarg[1] = p->nfds; /* unsigned int */
1195 iarg[2] = p->timeout; /* long */
1199 /* linux_nfsservctl */
1204 /* linux_setresgid16 */
1206 struct linux_setresgid16_args *p = params;
1207 iarg[0] = p->rgid; /* l_gid16_t */
1208 iarg[1] = p->egid; /* l_gid16_t */
1209 iarg[2] = p->sgid; /* l_gid16_t */
1213 /* linux_getresgid16 */
1215 struct linux_getresgid16_args *p = params;
1216 uarg[0] = (intptr_t) p->rgid; /* l_gid16_t * */
1217 uarg[1] = (intptr_t) p->egid; /* l_gid16_t * */
1218 uarg[2] = (intptr_t) p->sgid; /* l_gid16_t * */
1224 struct linux_prctl_args *p = params;
1225 iarg[0] = p->option; /* l_int */
1226 iarg[1] = p->arg2; /* l_int */
1227 iarg[2] = p->arg3; /* l_int */
1228 iarg[3] = p->arg4; /* l_int */
1229 iarg[4] = p->arg5; /* l_int */
1233 /* linux_rt_sigreturn */
1235 struct linux_rt_sigreturn_args *p = params;
1236 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
1240 /* linux_rt_sigaction */
1242 struct linux_rt_sigaction_args *p = params;
1243 iarg[0] = p->sig; /* l_int */
1244 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
1245 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
1246 iarg[3] = p->sigsetsize; /* l_size_t */
1250 /* linux_rt_sigprocmask */
1252 struct linux_rt_sigprocmask_args *p = params;
1253 iarg[0] = p->how; /* l_int */
1254 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
1255 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
1256 iarg[3] = p->sigsetsize; /* l_size_t */
1260 /* linux_rt_sigpending */
1262 struct linux_rt_sigpending_args *p = params;
1263 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1264 iarg[1] = p->sigsetsize; /* l_size_t */
1268 /* linux_rt_sigtimedwait */
1270 struct linux_rt_sigtimedwait_args *p = params;
1271 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1272 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1273 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1274 iarg[3] = p->sigsetsize; /* l_size_t */
1278 /* linux_rt_sigqueueinfo */
1283 /* linux_rt_sigsuspend */
1285 struct linux_rt_sigsuspend_args *p = params;
1286 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1287 iarg[1] = p->sigsetsize; /* l_size_t */
1293 struct linux_pread_args *p = params;
1294 iarg[0] = p->fd; /* l_uint */
1295 uarg[1] = (intptr_t) p->buf; /* char * */
1296 iarg[2] = p->nbyte; /* l_size_t */
1297 iarg[3] = p->offset; /* l_loff_t */
1303 struct linux_pwrite_args *p = params;
1304 iarg[0] = p->fd; /* l_uint */
1305 uarg[1] = (intptr_t) p->buf; /* char * */
1306 iarg[2] = p->nbyte; /* l_size_t */
1307 iarg[3] = p->offset; /* l_loff_t */
1313 struct linux_chown16_args *p = params;
1314 uarg[0] = (intptr_t) p->path; /* char * */
1315 iarg[1] = p->uid; /* l_uid16_t */
1316 iarg[2] = p->gid; /* l_gid16_t */
1322 struct linux_getcwd_args *p = params;
1323 uarg[0] = (intptr_t) p->buf; /* char * */
1324 iarg[1] = p->bufsize; /* l_ulong */
1330 struct linux_capget_args *p = params;
1331 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1332 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1338 struct linux_capset_args *p = params;
1339 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1340 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1344 /* linux_sigaltstack */
1346 struct linux_sigaltstack_args *p = params;
1347 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1348 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1352 /* linux_sendfile */
1362 /* linux_getrlimit */
1364 struct linux_getrlimit_args *p = params;
1365 iarg[0] = p->resource; /* l_uint */
1366 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1372 struct linux_mmap2_args *p = params;
1373 iarg[0] = p->addr; /* l_ulong */
1374 iarg[1] = p->len; /* l_ulong */
1375 iarg[2] = p->prot; /* l_ulong */
1376 iarg[3] = p->flags; /* l_ulong */
1377 iarg[4] = p->fd; /* l_ulong */
1378 iarg[5] = p->pgoff; /* l_ulong */
1382 /* linux_truncate64 */
1384 struct linux_truncate64_args *p = params;
1385 uarg[0] = (intptr_t) p->path; /* char * */
1386 iarg[1] = p->length; /* l_loff_t */
1390 /* linux_ftruncate64 */
1392 struct linux_ftruncate64_args *p = params;
1393 iarg[0] = p->fd; /* l_uint */
1394 iarg[1] = p->length; /* l_loff_t */
1400 struct linux_stat64_args *p = params;
1401 uarg[0] = (intptr_t) p->filename; /* const char * */
1402 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1408 struct linux_lstat64_args *p = params;
1409 uarg[0] = (intptr_t) p->filename; /* const char * */
1410 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1416 struct linux_fstat64_args *p = params;
1417 iarg[0] = p->fd; /* l_int */
1418 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1424 struct linux_lchown_args *p = params;
1425 uarg[0] = (intptr_t) p->path; /* char * */
1426 iarg[1] = p->uid; /* l_uid_t */
1427 iarg[2] = p->gid; /* l_gid_t */
1453 struct setreuid_args *p = params;
1454 uarg[0] = p->ruid; /* uid_t */
1455 uarg[1] = p->euid; /* uid_t */
1461 struct setregid_args *p = params;
1462 iarg[0] = p->rgid; /* gid_t */
1463 iarg[1] = p->egid; /* gid_t */
1467 /* linux_getgroups */
1469 struct linux_getgroups_args *p = params;
1470 iarg[0] = p->gidsetsize; /* l_int */
1471 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1475 /* linux_setgroups */
1477 struct linux_setgroups_args *p = params;
1478 iarg[0] = p->gidsetsize; /* l_int */
1479 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1490 struct setresuid_args *p = params;
1491 uarg[0] = p->ruid; /* uid_t */
1492 uarg[1] = p->euid; /* uid_t */
1493 uarg[2] = p->suid; /* uid_t */
1499 struct getresuid_args *p = params;
1500 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1501 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1502 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1508 struct setresgid_args *p = params;
1509 iarg[0] = p->rgid; /* gid_t */
1510 iarg[1] = p->egid; /* gid_t */
1511 iarg[2] = p->sgid; /* gid_t */
1517 struct getresgid_args *p = params;
1518 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1519 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1520 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1526 struct linux_chown_args *p = params;
1527 uarg[0] = (intptr_t) p->path; /* char * */
1528 iarg[1] = p->uid; /* l_uid_t */
1529 iarg[2] = p->gid; /* l_gid_t */
1535 struct setuid_args *p = params;
1536 uarg[0] = p->uid; /* uid_t */
1542 struct setgid_args *p = params;
1543 iarg[0] = p->gid; /* gid_t */
1547 /* linux_setfsuid */
1549 struct linux_setfsuid_args *p = params;
1550 iarg[0] = p->uid; /* l_uid_t */
1554 /* linux_setfsgid */
1556 struct linux_setfsgid_args *p = params;
1557 iarg[0] = p->gid; /* l_gid_t */
1561 /* linux_pivot_root */
1563 struct linux_pivot_root_args *p = params;
1564 uarg[0] = (intptr_t) p->new_root; /* char * */
1565 uarg[1] = (intptr_t) p->put_old; /* char * */
1571 struct linux_mincore_args *p = params;
1572 iarg[0] = p->start; /* l_ulong */
1573 iarg[1] = p->len; /* l_size_t */
1574 uarg[2] = (intptr_t) p->vec; /* u_char * */
1580 struct madvise_args *p = params;
1581 uarg[0] = (intptr_t) p->addr; /* void * */
1582 uarg[1] = p->len; /* size_t */
1583 iarg[2] = p->behav; /* int */
1587 /* linux_getdents64 */
1589 struct linux_getdents64_args *p = params;
1590 iarg[0] = p->fd; /* l_uint */
1591 uarg[1] = (intptr_t) p->dirent; /* void * */
1592 iarg[2] = p->count; /* l_uint */
1598 struct linux_fcntl64_args *p = params;
1599 iarg[0] = p->fd; /* l_uint */
1600 iarg[1] = p->cmd; /* l_uint */
1601 iarg[2] = p->arg; /* l_ulong */
1610 /* linux_setxattr */
1615 /* linux_lsetxattr */
1620 /* linux_fsetxattr */
1625 /* linux_getxattr */
1630 /* linux_lgetxattr */
1635 /* linux_fgetxattr */
1640 /* linux_listxattr */
1645 /* linux_llistxattr */
1650 /* linux_flistxattr */
1655 /* linux_removexattr */
1660 /* linux_lremovexattr */
1665 /* linux_fremovexattr */
1672 struct linux_tkill_args *p = params;
1673 iarg[0] = p->tid; /* int */
1674 iarg[1] = p->sig; /* int */
1678 /* linux_sys_futex */
1680 struct linux_sys_futex_args *p = params;
1681 uarg[0] = (intptr_t) p->uaddr; /* void * */
1682 iarg[1] = p->op; /* int */
1683 uarg[2] = p->val; /* uint32_t */
1684 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1685 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1686 uarg[5] = p->val3; /* uint32_t */
1690 /* linux_sched_setaffinity */
1692 struct linux_sched_setaffinity_args *p = params;
1693 iarg[0] = p->pid; /* l_pid_t */
1694 iarg[1] = p->len; /* l_uint */
1695 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1699 /* linux_sched_getaffinity */
1701 struct linux_sched_getaffinity_args *p = params;
1702 iarg[0] = p->pid; /* l_pid_t */
1703 iarg[1] = p->len; /* l_uint */
1704 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1708 /* linux_set_thread_area */
1710 struct linux_set_thread_area_args *p = params;
1711 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1715 /* linux_get_thread_area */
1717 struct linux_get_thread_area_args *p = params;
1718 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1722 /* linux_fadvise64 */
1724 struct linux_fadvise64_args *p = params;
1725 iarg[0] = p->fd; /* int */
1726 iarg[1] = p->offset; /* l_loff_t */
1727 iarg[2] = p->len; /* l_size_t */
1728 iarg[3] = p->advice; /* int */
1732 /* linux_exit_group */
1734 struct linux_exit_group_args *p = params;
1735 iarg[0] = p->error_code; /* int */
1739 /* linux_lookup_dcookie */
1744 /* linux_epoll_create */
1749 /* linux_epoll_ctl */
1754 /* linux_epoll_wait */
1759 /* linux_remap_file_pages */
1764 /* linux_set_tid_address */
1766 struct linux_set_tid_address_args *p = params;
1767 uarg[0] = (intptr_t) p->tidptr; /* int * */
1771 /* linux_timer_create */
1773 struct linux_timer_create_args *p = params;
1774 iarg[0] = p->clock_id; /* clockid_t */
1775 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1776 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1780 /* linux_timer_settime */
1782 struct linux_timer_settime_args *p = params;
1783 iarg[0] = p->timerid; /* l_timer_t */
1784 iarg[1] = p->flags; /* l_int */
1785 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1786 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1790 /* linux_timer_gettime */
1792 struct linux_timer_gettime_args *p = params;
1793 iarg[0] = p->timerid; /* l_timer_t */
1794 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1798 /* linux_timer_getoverrun */
1800 struct linux_timer_getoverrun_args *p = params;
1801 iarg[0] = p->timerid; /* l_timer_t */
1805 /* linux_timer_delete */
1807 struct linux_timer_delete_args *p = params;
1808 iarg[0] = p->timerid; /* l_timer_t */
1812 /* linux_clock_settime */
1814 struct linux_clock_settime_args *p = params;
1815 iarg[0] = p->which; /* clockid_t */
1816 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1820 /* linux_clock_gettime */
1822 struct linux_clock_gettime_args *p = params;
1823 iarg[0] = p->which; /* clockid_t */
1824 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1828 /* linux_clock_getres */
1830 struct linux_clock_getres_args *p = params;
1831 iarg[0] = p->which; /* clockid_t */
1832 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1836 /* linux_clock_nanosleep */
1838 struct linux_clock_nanosleep_args *p = params;
1839 iarg[0] = p->which; /* clockid_t */
1840 iarg[1] = p->flags; /* int */
1841 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1842 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1846 /* linux_statfs64 */
1848 struct linux_statfs64_args *p = params;
1849 uarg[0] = (intptr_t) p->path; /* char * */
1850 uarg[1] = p->bufsize; /* size_t */
1851 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1855 /* linux_fstatfs64 */
1862 struct linux_tgkill_args *p = params;
1863 iarg[0] = p->tgid; /* int */
1864 iarg[1] = p->pid; /* int */
1865 iarg[2] = p->sig; /* int */
1871 struct linux_utimes_args *p = params;
1872 uarg[0] = (intptr_t) p->fname; /* char * */
1873 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1877 /* linux_fadvise64_64 */
1879 struct linux_fadvise64_64_args *p = params;
1880 iarg[0] = p->fd; /* int */
1881 iarg[1] = p->offset; /* l_loff_t */
1882 iarg[2] = p->len; /* l_loff_t */
1883 iarg[3] = p->advice; /* int */
1892 /* linux_get_mempolicy */
1897 /* linux_set_mempolicy */
1904 struct linux_mq_open_args *p = params;
1905 uarg[0] = (intptr_t) p->name; /* const char * */
1906 iarg[1] = p->oflag; /* int */
1907 iarg[2] = p->mode; /* mode_t */
1908 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1912 /* linux_mq_unlink */
1914 struct linux_mq_unlink_args *p = params;
1915 uarg[0] = (intptr_t) p->name; /* const char * */
1919 /* linux_mq_timedsend */
1921 struct linux_mq_timedsend_args *p = params;
1922 iarg[0] = p->mqd; /* l_mqd_t */
1923 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1924 uarg[2] = p->msg_len; /* size_t */
1925 uarg[3] = p->msg_prio; /* unsigned int */
1926 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1930 /* linux_mq_timedreceive */
1932 struct linux_mq_timedreceive_args *p = params;
1933 iarg[0] = p->mqd; /* l_mqd_t */
1934 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1935 uarg[2] = p->msg_len; /* size_t */
1936 uarg[3] = p->msg_prio; /* unsigned int */
1937 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1941 /* linux_mq_notify */
1943 struct linux_mq_notify_args *p = params;
1944 iarg[0] = p->mqd; /* l_mqd_t */
1945 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1949 /* linux_mq_getsetattr */
1951 struct linux_mq_getsetattr_args *p = params;
1952 iarg[0] = p->mqd; /* l_mqd_t */
1953 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1954 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1958 /* linux_kexec_load */
1965 struct linux_waitid_args *p = params;
1966 iarg[0] = p->idtype; /* int */
1967 iarg[1] = p->id; /* l_pid_t */
1968 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1969 iarg[3] = p->options; /* int */
1970 uarg[4] = (intptr_t) p->rusage; /* void * */
1979 /* linux_request_key */
1989 /* linux_ioprio_set */
1994 /* linux_ioprio_get */
1999 /* linux_inotify_init */
2004 /* linux_inotify_add_watch */
2009 /* linux_inotify_rm_watch */
2014 /* linux_migrate_pages */
2021 struct linux_openat_args *p = params;
2022 iarg[0] = p->dfd; /* l_int */
2023 uarg[1] = (intptr_t) p->filename; /* const char * */
2024 iarg[2] = p->flags; /* l_int */
2025 iarg[3] = p->mode; /* l_int */
2031 struct linux_mkdirat_args *p = params;
2032 iarg[0] = p->dfd; /* l_int */
2033 uarg[1] = (intptr_t) p->pathname; /* const char * */
2034 iarg[2] = p->mode; /* l_int */
2040 struct linux_mknodat_args *p = params;
2041 iarg[0] = p->dfd; /* l_int */
2042 uarg[1] = (intptr_t) p->filename; /* const char * */
2043 iarg[2] = p->mode; /* l_int */
2044 iarg[3] = p->dev; /* l_uint */
2048 /* linux_fchownat */
2050 struct linux_fchownat_args *p = params;
2051 iarg[0] = p->dfd; /* l_int */
2052 uarg[1] = (intptr_t) p->filename; /* const char * */
2053 iarg[2] = p->uid; /* l_uid16_t */
2054 iarg[3] = p->gid; /* l_gid16_t */
2055 iarg[4] = p->flag; /* l_int */
2059 /* linux_futimesat */
2061 struct linux_futimesat_args *p = params;
2062 iarg[0] = p->dfd; /* l_int */
2063 uarg[1] = (intptr_t) p->filename; /* char * */
2064 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
2068 /* linux_fstatat64 */
2070 struct linux_fstatat64_args *p = params;
2071 iarg[0] = p->dfd; /* l_int */
2072 uarg[1] = (intptr_t) p->pathname; /* char * */
2073 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
2074 iarg[3] = p->flag; /* l_int */
2078 /* linux_unlinkat */
2080 struct linux_unlinkat_args *p = params;
2081 iarg[0] = p->dfd; /* l_int */
2082 uarg[1] = (intptr_t) p->pathname; /* const char * */
2083 iarg[2] = p->flag; /* l_int */
2087 /* linux_renameat */
2089 struct linux_renameat_args *p = params;
2090 iarg[0] = p->olddfd; /* l_int */
2091 uarg[1] = (intptr_t) p->oldname; /* const char * */
2092 iarg[2] = p->newdfd; /* l_int */
2093 uarg[3] = (intptr_t) p->newname; /* const char * */
2099 struct linux_linkat_args *p = params;
2100 iarg[0] = p->olddfd; /* l_int */
2101 uarg[1] = (intptr_t) p->oldname; /* const char * */
2102 iarg[2] = p->newdfd; /* l_int */
2103 uarg[3] = (intptr_t) p->newname; /* const char * */
2104 iarg[4] = p->flag; /* l_int */
2108 /* linux_symlinkat */
2110 struct linux_symlinkat_args *p = params;
2111 uarg[0] = (intptr_t) p->oldname; /* const char * */
2112 iarg[1] = p->newdfd; /* l_int */
2113 uarg[2] = (intptr_t) p->newname; /* const char * */
2117 /* linux_readlinkat */
2119 struct linux_readlinkat_args *p = params;
2120 iarg[0] = p->dfd; /* l_int */
2121 uarg[1] = (intptr_t) p->path; /* const char * */
2122 uarg[2] = (intptr_t) p->buf; /* char * */
2123 iarg[3] = p->bufsiz; /* l_int */
2127 /* linux_fchmodat */
2129 struct linux_fchmodat_args *p = params;
2130 iarg[0] = p->dfd; /* l_int */
2131 uarg[1] = (intptr_t) p->filename; /* const char * */
2132 iarg[2] = p->mode; /* l_mode_t */
2136 /* linux_faccessat */
2138 struct linux_faccessat_args *p = params;
2139 iarg[0] = p->dfd; /* l_int */
2140 uarg[1] = (intptr_t) p->filename; /* const char * */
2141 iarg[2] = p->amode; /* l_int */
2142 iarg[3] = p->flag; /* l_int */
2146 /* linux_pselect6 */
2161 /* linux_set_robust_list */
2163 struct linux_set_robust_list_args *p = params;
2164 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2165 iarg[1] = p->len; /* l_size_t */
2169 /* linux_get_robust_list */
2171 struct linux_get_robust_list_args *p = params;
2172 iarg[0] = p->pid; /* l_int */
2173 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2174 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2183 /* linux_sync_file_range */
2193 /* linux_vmsplice */
2198 /* linux_move_pages */
2208 /* linux_epoll_pwait */
2213 /* linux_utimensat */
2218 /* linux_signalfd */
2223 /* linux_timerfd_create */
2233 /* linux_fallocate */
2238 /* linux_timerfd_settime */
2243 /* linux_timerfd_gettime */
2248 /* linux_signalfd4 */
2253 /* linux_eventfd2 */
2258 /* linux_epoll_create1 */
2270 struct linux_pipe2_args *p = params;
2271 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2272 iarg[1] = p->flags; /* l_int */
2276 /* linux_inotify_init1 */
2291 /* linux_rt_tsigqueueinfo */
2296 /* linux_perf_event_open */
2301 /* linux_recvmmsg */
2306 /* linux_fanotify_init */
2311 /* linux_fanotify_mark */
2316 /* linux_prlimit64 */
2321 /* linux_name_to_handle_at */
2326 /* linux_open_by_handle_at */
2331 /* linux_clock_adjtime */
2341 /* linux_sendmmsg */
2351 /* linux_process_vm_readv */
2356 /* linux_process_vm_writev */
2367 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2369 const char *p = NULL;
2371 #define nosys linux_nosys
2560 /* linux_lchown16 */
2583 p = "struct linux_stat *";
2630 /* linux_oldumount */
2640 /* linux_setuid16 */
2650 /* linux_getuid16 */
2692 p = "struct linux_stat *";
2708 p = "struct l_utimbuf *";
2813 p = "struct l_times_argv *";
2829 /* linux_setgid16 */
2839 /* linux_getgid16 */
2855 /* linux_geteuid16 */
2858 /* linux_getegid16 */
2929 /* linux_olduname */
2959 p = "struct l_ustat *";
2987 /* linux_sigaction */
2994 p = "l_osigaction_t *";
2997 p = "l_osigaction_t *";
3003 /* linux_sgetmask */
3006 /* linux_ssetmask */
3016 /* linux_setreuid16 */
3029 /* linux_setregid16 */
3042 /* linux_sigsuspend */
3058 /* linux_sigpending */
3062 p = "l_osigset_t *";
3068 /* linux_sethostname */
3081 /* linux_setrlimit */
3088 p = "struct l_rlimit *";
3094 /* linux_old_getrlimit */
3101 p = "struct l_rlimit *";
3114 p = "struct rusage *";
3124 p = "struct timeval *";
3127 p = "struct timezone *";
3137 p = "struct timeval *";
3140 p = "struct timezone *";
3146 /* linux_getgroups16 */
3159 /* linux_setgroups16 */
3172 /* linux_old_select */
3176 p = "struct l_old_select_argv *";
3202 p = "struct l_stat *";
3208 /* linux_readlink */
3270 p = "struct l_dirent *";
3283 p = "struct l_mmap_argv *";
3302 /* linux_truncate */
3315 /* linux_ftruncate */
3357 /* linux_getpriority */
3393 p = "struct l_statfs_buf *";
3406 p = "struct l_statfs_buf *";
3428 /* linux_socketcall */
3457 /* linux_setitimer */
3464 p = "struct l_itimerval *";
3467 p = "struct l_itimerval *";
3473 /* linux_getitimer */
3480 p = "struct l_itimerval *";
3493 p = "struct l_newstat *";
3499 /* linux_newlstat */
3506 p = "struct l_newstat *";
3512 /* linux_newfstat */
3519 p = "struct l_newstat *";
3570 p = "struct l_sysinfo *";
3611 /* linux_sigreturn */
3615 p = "struct l_sigframe *";
3643 /* linux_setdomainname */
3656 /* linux_newuname */
3660 p = "struct l_new_utsname *";
3666 /* linux_modify_ldt */
3682 /* linux_adjtimex */
3685 /* linux_mprotect */
3701 /* linux_sigprocmask */
3708 p = "l_osigset_t *";
3711 p = "l_osigset_t *";
3717 /* linux_create_module */
3720 /* linux_init_module */
3723 /* linux_delete_module */
3726 /* linux_get_kernel_syms */
3729 /* linux_quotactl */
3771 /* linux_personality */
3781 /* linux_setfsuid16 */
3791 /* linux_setfsgid16 */
3823 /* linux_getdents */
3855 p = "struct l_timeval *";
3897 p = "struct iovec *";
3913 p = "struct iovec *";
3932 /* linux_fdatasync */
3946 p = "struct l___sysctl_args *";
3991 /* linux_sched_setparam */
3998 p = "struct l_sched_param *";
4004 /* linux_sched_getparam */
4011 p = "struct l_sched_param *";
4017 /* linux_sched_setscheduler */
4027 p = "struct l_sched_param *";
4033 /* linux_sched_getscheduler */
4046 /* linux_sched_get_priority_max */
4056 /* linux_sched_get_priority_min */
4066 /* linux_sched_rr_get_interval */
4073 p = "struct l_timespec *";
4079 /* linux_nanosleep */
4083 p = "const struct l_timespec *";
4086 p = "struct l_timespec *";
4114 /* linux_setresuid16 */
4130 /* linux_getresuid16 */
4149 /* linux_query_module */
4156 p = "struct pollfd *";
4168 /* linux_nfsservctl */
4171 /* linux_setresgid16 */
4187 /* linux_getresgid16 */
4225 /* linux_rt_sigreturn */
4229 p = "struct l_ucontext *";
4235 /* linux_rt_sigaction */
4242 p = "l_sigaction_t *";
4245 p = "l_sigaction_t *";
4254 /* linux_rt_sigprocmask */
4273 /* linux_rt_sigpending */
4286 /* linux_rt_sigtimedwait */
4293 p = "l_siginfo_t *";
4296 p = "struct l_timeval *";
4305 /* linux_rt_sigqueueinfo */
4308 /* linux_rt_sigsuspend */
4392 p = "struct l_user_cap_header *";
4395 p = "struct l_user_cap_data *";
4405 p = "struct l_user_cap_header *";
4408 p = "struct l_user_cap_data *";
4414 /* linux_sigaltstack */
4427 /* linux_sendfile */
4433 /* linux_getrlimit */
4440 p = "struct l_rlimit *";
4471 /* linux_truncate64 */
4484 /* linux_ftruncate64 */
4504 p = "struct l_stat64 *";
4517 p = "struct l_stat64 *";
4530 p = "struct l_stat64 *";
4590 /* linux_getgroups */
4603 /* linux_setgroups */
4719 /* linux_setfsuid */
4729 /* linux_setfsgid */
4739 /* linux_pivot_root */
4784 /* linux_getdents64 */
4819 /* linux_setxattr */
4822 /* linux_lsetxattr */
4825 /* linux_fsetxattr */
4828 /* linux_getxattr */
4831 /* linux_lgetxattr */
4834 /* linux_fgetxattr */
4837 /* linux_listxattr */
4840 /* linux_llistxattr */
4843 /* linux_flistxattr */
4846 /* linux_removexattr */
4849 /* linux_lremovexattr */
4852 /* linux_fremovexattr */
4868 /* linux_sys_futex */
4881 p = "struct l_timespec *";
4893 /* linux_sched_setaffinity */
4909 /* linux_sched_getaffinity */
4925 /* linux_set_thread_area */
4929 p = "struct l_user_desc *";
4935 /* linux_get_thread_area */
4939 p = "struct l_user_desc *";
4945 /* linux_fadvise64 */
4964 /* linux_exit_group */
4974 /* linux_lookup_dcookie */
4977 /* linux_epoll_create */
4980 /* linux_epoll_ctl */
4983 /* linux_epoll_wait */
4986 /* linux_remap_file_pages */
4989 /* linux_set_tid_address */
4999 /* linux_timer_create */
5006 p = "struct sigevent *";
5015 /* linux_timer_settime */
5025 p = "const struct itimerspec *";
5028 p = "struct itimerspec *";
5034 /* linux_timer_gettime */
5041 p = "struct itimerspec *";
5047 /* linux_timer_getoverrun */
5057 /* linux_timer_delete */
5067 /* linux_clock_settime */
5074 p = "struct l_timespec *";
5080 /* linux_clock_gettime */
5087 p = "struct l_timespec *";
5093 /* linux_clock_getres */
5100 p = "struct l_timespec *";
5106 /* linux_clock_nanosleep */
5116 p = "struct l_timespec *";
5119 p = "struct l_timespec *";
5125 /* linux_statfs64 */
5135 p = "struct l_statfs64_buf *";
5141 /* linux_fstatfs64 */
5167 p = "struct l_timeval *";
5173 /* linux_fadvise64_64 */
5195 /* linux_get_mempolicy */
5198 /* linux_set_mempolicy */
5214 p = "struct mq_attr *";
5220 /* linux_mq_unlink */
5230 /* linux_mq_timedsend */
5246 p = "const struct l_timespec *";
5252 /* linux_mq_timedreceive */
5268 p = "const struct l_timespec *";
5274 /* linux_mq_notify */
5281 p = "const struct l_timespec *";
5287 /* linux_mq_getsetattr */
5294 p = "const struct mq_attr *";
5297 p = "struct mq_attr *";
5303 /* linux_kexec_load */
5316 p = "l_siginfo_t *";
5331 /* linux_request_key */
5337 /* linux_ioprio_set */
5340 /* linux_ioprio_get */
5343 /* linux_inotify_init */
5346 /* linux_inotify_add_watch */
5349 /* linux_inotify_rm_watch */
5352 /* linux_migrate_pages */
5409 /* linux_fchownat */
5431 /* linux_futimesat */
5441 p = "struct l_timeval *";
5447 /* linux_fstatat64 */
5457 p = "struct l_stat64 *";
5466 /* linux_unlinkat */
5482 /* linux_renameat */
5523 /* linux_symlinkat */
5539 /* linux_readlinkat */
5558 /* linux_fchmodat */
5574 /* linux_faccessat */
5593 /* linux_pselect6 */
5602 /* linux_set_robust_list */
5606 p = "struct linux_robust_list_head *";
5615 /* linux_get_robust_list */
5622 p = "struct linux_robust_list_head **";
5634 /* linux_sync_file_range */
5640 /* linux_vmsplice */
5643 /* linux_move_pages */
5649 /* linux_epoll_pwait */
5652 /* linux_utimensat */
5655 /* linux_signalfd */
5658 /* linux_timerfd_create */
5664 /* linux_fallocate */
5667 /* linux_timerfd_settime */
5670 /* linux_timerfd_gettime */
5673 /* linux_signalfd4 */
5676 /* linux_eventfd2 */
5679 /* linux_epoll_create1 */
5698 /* linux_inotify_init1 */
5707 /* linux_rt_tsigqueueinfo */
5710 /* linux_perf_event_open */
5713 /* linux_recvmmsg */
5716 /* linux_fanotify_init */
5719 /* linux_fanotify_mark */
5722 /* linux_prlimit64 */
5725 /* linux_name_to_handle_at */
5728 /* linux_open_by_handle_at */
5731 /* linux_clock_adjtime */
5737 /* linux_sendmmsg */
5743 /* linux_process_vm_readv */
5746 /* linux_process_vm_writev */
5753 strlcpy(desc, p, descsz);
5756 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5758 const char *p = NULL;
5760 #define nosys linux_nosys
5763 if (ndx == 0 || ndx == 1)
5770 if (ndx == 0 || ndx == 1)
5775 if (ndx == 0 || ndx == 1)
5780 if (ndx == 0 || ndx == 1)
5785 if (ndx == 0 || ndx == 1)
5790 if (ndx == 0 || ndx == 1)
5795 if (ndx == 0 || ndx == 1)
5800 if (ndx == 0 || ndx == 1)
5805 if (ndx == 0 || ndx == 1)
5810 if (ndx == 0 || ndx == 1)
5815 if (ndx == 0 || ndx == 1)
5820 if (ndx == 0 || ndx == 1)
5825 if (ndx == 0 || ndx == 1)
5830 if (ndx == 0 || ndx == 1)
5833 /* linux_lchown16 */
5835 if (ndx == 0 || ndx == 1)
5840 if (ndx == 0 || ndx == 1)
5845 if (ndx == 0 || ndx == 1)
5852 if (ndx == 0 || ndx == 1)
5855 /* linux_oldumount */
5857 if (ndx == 0 || ndx == 1)
5860 /* linux_setuid16 */
5862 if (ndx == 0 || ndx == 1)
5865 /* linux_getuid16 */
5871 if (ndx == 0 || ndx == 1)
5876 if (ndx == 0 || ndx == 1)
5881 if (ndx == 0 || ndx == 1)
5888 if (ndx == 0 || ndx == 1)
5893 if (ndx == 0 || ndx == 1)
5898 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)
5930 if (ndx == 0 || ndx == 1)
5935 if (ndx == 0 || ndx == 1)
5940 if (ndx == 0 || ndx == 1)
5943 /* linux_setgid16 */
5945 if (ndx == 0 || ndx == 1)
5948 /* linux_getgid16 */
5952 if (ndx == 0 || ndx == 1)
5955 /* linux_geteuid16 */
5957 /* linux_getegid16 */
5961 if (ndx == 0 || ndx == 1)
5966 if (ndx == 0 || ndx == 1)
5971 if (ndx == 0 || ndx == 1)
5976 if (ndx == 0 || ndx == 1)
5981 if (ndx == 0 || ndx == 1)
5984 /* linux_olduname */
5988 if (ndx == 0 || ndx == 1)
5993 if (ndx == 0 || ndx == 1)
5998 if (ndx == 0 || ndx == 1)
6003 if (ndx == 0 || ndx == 1)
6012 /* linux_sigaction */
6014 if (ndx == 0 || ndx == 1)
6017 /* linux_sgetmask */
6019 /* linux_ssetmask */
6021 if (ndx == 0 || ndx == 1)
6024 /* linux_setreuid16 */
6026 if (ndx == 0 || ndx == 1)
6029 /* linux_setregid16 */
6031 if (ndx == 0 || ndx == 1)
6034 /* linux_sigsuspend */
6036 if (ndx == 0 || ndx == 1)
6039 /* linux_sigpending */
6041 if (ndx == 0 || ndx == 1)
6044 /* linux_sethostname */
6046 if (ndx == 0 || ndx == 1)
6049 /* linux_setrlimit */
6051 if (ndx == 0 || ndx == 1)
6054 /* linux_old_getrlimit */
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_getgroups16 */
6076 if (ndx == 0 || ndx == 1)
6079 /* linux_setgroups16 */
6081 if (ndx == 0 || ndx == 1)
6084 /* linux_old_select */
6086 if (ndx == 0 || ndx == 1)
6091 if (ndx == 0 || ndx == 1)
6096 if (ndx == 0 || ndx == 1)
6099 /* linux_readlink */
6101 if (ndx == 0 || ndx == 1)
6106 if (ndx == 0 || ndx == 1)
6111 if (ndx == 0 || ndx == 1)
6116 if (ndx == 0 || ndx == 1)
6121 if (ndx == 0 || ndx == 1)
6126 if (ndx == 0 || ndx == 1)
6131 if (ndx == 0 || ndx == 1)
6134 /* linux_truncate */
6136 if (ndx == 0 || ndx == 1)
6139 /* linux_ftruncate */
6141 if (ndx == 0 || ndx == 1)
6146 if (ndx == 0 || ndx == 1)
6151 if (ndx == 0 || ndx == 1)
6154 /* linux_getpriority */
6156 if (ndx == 0 || ndx == 1)
6161 if (ndx == 0 || ndx == 1)
6166 if (ndx == 0 || ndx == 1)
6171 if (ndx == 0 || ndx == 1)
6176 if (ndx == 0 || ndx == 1)
6179 /* linux_socketcall */
6181 if (ndx == 0 || ndx == 1)
6186 if (ndx == 0 || ndx == 1)
6189 /* linux_setitimer */
6191 if (ndx == 0 || ndx == 1)
6194 /* linux_getitimer */
6196 if (ndx == 0 || ndx == 1)
6201 if (ndx == 0 || ndx == 1)
6204 /* linux_newlstat */
6206 if (ndx == 0 || ndx == 1)
6209 /* linux_newfstat */
6211 if (ndx == 0 || ndx == 1)
6218 if (ndx == 0 || ndx == 1)
6227 if (ndx == 0 || ndx == 1)
6234 if (ndx == 0 || ndx == 1)
6239 if (ndx == 0 || ndx == 1)
6244 if (ndx == 0 || ndx == 1)
6247 /* linux_sigreturn */
6249 if (ndx == 0 || ndx == 1)
6254 if (ndx == 0 || ndx == 1)
6257 /* linux_setdomainname */
6259 if (ndx == 0 || ndx == 1)
6262 /* linux_newuname */
6264 if (ndx == 0 || ndx == 1)
6267 /* linux_modify_ldt */
6269 if (ndx == 0 || ndx == 1)
6272 /* linux_adjtimex */
6274 /* linux_mprotect */
6276 if (ndx == 0 || ndx == 1)
6279 /* linux_sigprocmask */
6281 if (ndx == 0 || ndx == 1)
6284 /* linux_create_module */
6286 /* linux_init_module */
6288 /* linux_delete_module */
6290 /* linux_get_kernel_syms */
6292 /* linux_quotactl */
6296 if (ndx == 0 || ndx == 1)
6301 if (ndx == 0 || ndx == 1)
6308 if (ndx == 0 || ndx == 1)
6311 /* linux_personality */
6313 if (ndx == 0 || ndx == 1)
6316 /* linux_setfsuid16 */
6318 if (ndx == 0 || ndx == 1)
6321 /* linux_setfsgid16 */
6323 if (ndx == 0 || ndx == 1)
6328 if (ndx == 0 || ndx == 1)
6331 /* linux_getdents */
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)
6366 /* linux_fdatasync */
6368 if (ndx == 0 || ndx == 1)
6373 if (ndx == 0 || ndx == 1)
6378 if (ndx == 0 || ndx == 1)
6383 if (ndx == 0 || ndx == 1)
6388 if (ndx == 0 || ndx == 1)
6393 /* linux_sched_setparam */
6395 if (ndx == 0 || ndx == 1)
6398 /* linux_sched_getparam */
6400 if (ndx == 0 || ndx == 1)
6403 /* linux_sched_setscheduler */
6405 if (ndx == 0 || ndx == 1)
6408 /* linux_sched_getscheduler */
6410 if (ndx == 0 || ndx == 1)
6415 /* linux_sched_get_priority_max */
6417 if (ndx == 0 || ndx == 1)
6420 /* linux_sched_get_priority_min */
6422 if (ndx == 0 || ndx == 1)
6425 /* linux_sched_rr_get_interval */
6427 if (ndx == 0 || ndx == 1)
6430 /* linux_nanosleep */
6432 if (ndx == 0 || ndx == 1)
6437 if (ndx == 0 || ndx == 1)
6440 /* linux_setresuid16 */
6442 if (ndx == 0 || ndx == 1)
6445 /* linux_getresuid16 */
6447 if (ndx == 0 || ndx == 1)
6452 /* linux_query_module */
6456 if (ndx == 0 || ndx == 1)
6459 /* linux_nfsservctl */
6461 /* linux_setresgid16 */
6463 if (ndx == 0 || ndx == 1)
6466 /* linux_getresgid16 */
6468 if (ndx == 0 || ndx == 1)
6473 if (ndx == 0 || ndx == 1)
6476 /* linux_rt_sigreturn */
6478 if (ndx == 0 || ndx == 1)
6481 /* linux_rt_sigaction */
6483 if (ndx == 0 || ndx == 1)
6486 /* linux_rt_sigprocmask */
6488 if (ndx == 0 || ndx == 1)
6491 /* linux_rt_sigpending */
6493 if (ndx == 0 || ndx == 1)
6496 /* linux_rt_sigtimedwait */
6498 if (ndx == 0 || ndx == 1)
6501 /* linux_rt_sigqueueinfo */
6503 /* linux_rt_sigsuspend */
6505 if (ndx == 0 || ndx == 1)
6510 if (ndx == 0 || ndx == 1)
6515 if (ndx == 0 || ndx == 1)
6520 if (ndx == 0 || ndx == 1)
6525 if (ndx == 0 || ndx == 1)
6530 if (ndx == 0 || ndx == 1)
6535 if (ndx == 0 || ndx == 1)
6538 /* linux_sigaltstack */
6540 if (ndx == 0 || ndx == 1)
6543 /* linux_sendfile */
6547 /* linux_getrlimit */
6549 if (ndx == 0 || ndx == 1)
6554 if (ndx == 0 || ndx == 1)
6557 /* linux_truncate64 */
6559 if (ndx == 0 || ndx == 1)
6562 /* linux_ftruncate64 */
6564 if (ndx == 0 || ndx == 1)
6569 if (ndx == 0 || ndx == 1)
6574 if (ndx == 0 || ndx == 1)
6579 if (ndx == 0 || ndx == 1)
6584 if (ndx == 0 || ndx == 1)
6597 if (ndx == 0 || ndx == 1)
6602 if (ndx == 0 || ndx == 1)
6605 /* linux_getgroups */
6607 if (ndx == 0 || ndx == 1)
6610 /* linux_setgroups */
6612 if (ndx == 0 || ndx == 1)
6619 if (ndx == 0 || ndx == 1)
6624 if (ndx == 0 || ndx == 1)
6629 if (ndx == 0 || ndx == 1)
6634 if (ndx == 0 || ndx == 1)
6639 if (ndx == 0 || ndx == 1)
6644 if (ndx == 0 || ndx == 1)
6649 if (ndx == 0 || ndx == 1)
6652 /* linux_setfsuid */
6654 if (ndx == 0 || ndx == 1)
6657 /* linux_setfsgid */
6659 if (ndx == 0 || ndx == 1)
6662 /* linux_pivot_root */
6664 if (ndx == 0 || ndx == 1)
6669 if (ndx == 0 || ndx == 1)
6674 if (ndx == 0 || ndx == 1)
6677 /* linux_getdents64 */
6679 if (ndx == 0 || ndx == 1)
6684 if (ndx == 0 || ndx == 1)
6689 /* linux_setxattr */
6691 /* linux_lsetxattr */
6693 /* linux_fsetxattr */
6695 /* linux_getxattr */
6697 /* linux_lgetxattr */
6699 /* linux_fgetxattr */
6701 /* linux_listxattr */
6703 /* linux_llistxattr */
6705 /* linux_flistxattr */
6707 /* linux_removexattr */
6709 /* linux_lremovexattr */
6711 /* linux_fremovexattr */
6715 if (ndx == 0 || ndx == 1)
6718 /* linux_sys_futex */
6720 if (ndx == 0 || ndx == 1)
6723 /* linux_sched_setaffinity */
6725 if (ndx == 0 || ndx == 1)
6728 /* linux_sched_getaffinity */
6730 if (ndx == 0 || ndx == 1)
6733 /* linux_set_thread_area */
6735 if (ndx == 0 || ndx == 1)
6738 /* linux_get_thread_area */
6740 if (ndx == 0 || ndx == 1)
6743 /* linux_fadvise64 */
6745 if (ndx == 0 || ndx == 1)
6748 /* linux_exit_group */
6750 if (ndx == 0 || ndx == 1)
6753 /* linux_lookup_dcookie */
6755 /* linux_epoll_create */
6757 /* linux_epoll_ctl */
6759 /* linux_epoll_wait */
6761 /* linux_remap_file_pages */
6763 /* linux_set_tid_address */
6765 if (ndx == 0 || ndx == 1)
6768 /* linux_timer_create */
6770 if (ndx == 0 || ndx == 1)
6773 /* linux_timer_settime */
6775 if (ndx == 0 || ndx == 1)
6778 /* linux_timer_gettime */
6780 if (ndx == 0 || ndx == 1)
6783 /* linux_timer_getoverrun */
6785 if (ndx == 0 || ndx == 1)
6788 /* linux_timer_delete */
6790 if (ndx == 0 || ndx == 1)
6793 /* linux_clock_settime */
6795 if (ndx == 0 || ndx == 1)
6798 /* linux_clock_gettime */
6800 if (ndx == 0 || ndx == 1)
6803 /* linux_clock_getres */
6805 if (ndx == 0 || ndx == 1)
6808 /* linux_clock_nanosleep */
6810 if (ndx == 0 || ndx == 1)
6813 /* linux_statfs64 */
6815 if (ndx == 0 || ndx == 1)
6818 /* linux_fstatfs64 */
6822 if (ndx == 0 || ndx == 1)
6827 if (ndx == 0 || ndx == 1)
6830 /* linux_fadvise64_64 */
6832 if (ndx == 0 || ndx == 1)
6837 /* linux_get_mempolicy */
6839 /* linux_set_mempolicy */
6843 if (ndx == 0 || ndx == 1)
6846 /* linux_mq_unlink */
6848 if (ndx == 0 || ndx == 1)
6851 /* linux_mq_timedsend */
6853 if (ndx == 0 || ndx == 1)
6856 /* linux_mq_timedreceive */
6858 if (ndx == 0 || ndx == 1)
6861 /* linux_mq_notify */
6863 if (ndx == 0 || ndx == 1)
6866 /* linux_mq_getsetattr */
6868 if (ndx == 0 || ndx == 1)
6871 /* linux_kexec_load */
6875 if (ndx == 0 || ndx == 1)
6880 /* linux_request_key */
6884 /* linux_ioprio_set */
6886 /* linux_ioprio_get */
6888 /* linux_inotify_init */
6890 /* linux_inotify_add_watch */
6892 /* linux_inotify_rm_watch */
6894 /* linux_migrate_pages */
6898 if (ndx == 0 || ndx == 1)
6903 if (ndx == 0 || ndx == 1)
6908 if (ndx == 0 || ndx == 1)
6911 /* linux_fchownat */
6913 if (ndx == 0 || ndx == 1)
6916 /* linux_futimesat */
6918 if (ndx == 0 || ndx == 1)
6921 /* linux_fstatat64 */
6923 if (ndx == 0 || ndx == 1)
6926 /* linux_unlinkat */
6928 if (ndx == 0 || ndx == 1)
6931 /* linux_renameat */
6933 if (ndx == 0 || ndx == 1)
6938 if (ndx == 0 || ndx == 1)
6941 /* linux_symlinkat */
6943 if (ndx == 0 || ndx == 1)
6946 /* linux_readlinkat */
6948 if (ndx == 0 || ndx == 1)
6951 /* linux_fchmodat */
6953 if (ndx == 0 || ndx == 1)
6956 /* linux_faccessat */
6958 if (ndx == 0 || ndx == 1)
6961 /* linux_pselect6 */
6967 /* linux_set_robust_list */
6969 if (ndx == 0 || ndx == 1)
6972 /* linux_get_robust_list */
6974 if (ndx == 0 || ndx == 1)
6979 /* linux_sync_file_range */
6983 /* linux_vmsplice */
6985 /* linux_move_pages */
6989 /* linux_epoll_pwait */
6991 /* linux_utimensat */
6993 /* linux_signalfd */
6995 /* linux_timerfd_create */
6999 /* linux_fallocate */
7001 /* linux_timerfd_settime */
7003 /* linux_timerfd_gettime */
7005 /* linux_signalfd4 */
7007 /* linux_eventfd2 */
7009 /* linux_epoll_create1 */
7015 if (ndx == 0 || ndx == 1)
7018 /* linux_inotify_init1 */
7024 /* linux_rt_tsigqueueinfo */
7026 /* linux_perf_event_open */
7028 /* linux_recvmmsg */
7030 /* linux_fanotify_init */
7032 /* linux_fanotify_mark */
7034 /* linux_prlimit64 */
7036 /* linux_name_to_handle_at */
7038 /* linux_open_by_handle_at */
7040 /* linux_clock_adjtime */
7044 /* linux_sendmmsg */
7048 /* linux_process_vm_readv */
7050 /* linux_process_vm_writev */
7056 strlcpy(desc, p, descsz);