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 sys_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_ulong */
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 /* sched_setparam */
1048 struct sched_setparam_args *p = params;
1049 iarg[0] = p->pid; /* pid_t */
1050 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1054 /* sched_getparam */
1056 struct sched_getparam_args *p = params;
1057 iarg[0] = p->pid; /* 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 l_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 */
1240 /* linux_rt_sigsuspend */
1242 struct linux_rt_sigsuspend_args *p = params;
1243 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1244 iarg[1] = p->sigsetsize; /* l_size_t */
1250 struct linux_pread_args *p = params;
1251 iarg[0] = p->fd; /* l_uint */
1252 uarg[1] = (intptr_t) p->buf; /* char * */
1253 iarg[2] = p->nbyte; /* l_size_t */
1254 iarg[3] = p->offset; /* l_loff_t */
1260 struct linux_pwrite_args *p = params;
1261 iarg[0] = p->fd; /* l_uint */
1262 uarg[1] = (intptr_t) p->buf; /* char * */
1263 iarg[2] = p->nbyte; /* l_size_t */
1264 iarg[3] = p->offset; /* l_loff_t */
1270 struct linux_chown16_args *p = params;
1271 uarg[0] = (intptr_t) p->path; /* char * */
1272 iarg[1] = p->uid; /* l_uid16_t */
1273 iarg[2] = p->gid; /* l_gid16_t */
1279 struct linux_getcwd_args *p = params;
1280 uarg[0] = (intptr_t) p->buf; /* char * */
1281 iarg[1] = p->bufsize; /* l_ulong */
1287 struct linux_capget_args *p = params;
1288 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1289 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1295 struct linux_capset_args *p = params;
1296 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1297 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1301 /* linux_sigaltstack */
1303 struct linux_sigaltstack_args *p = params;
1304 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1305 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1309 /* linux_sendfile */
1319 /* linux_getrlimit */
1321 struct linux_getrlimit_args *p = params;
1322 iarg[0] = p->resource; /* l_uint */
1323 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1329 struct linux_mmap2_args *p = params;
1330 iarg[0] = p->addr; /* l_ulong */
1331 iarg[1] = p->len; /* l_ulong */
1332 iarg[2] = p->prot; /* l_ulong */
1333 iarg[3] = p->flags; /* l_ulong */
1334 iarg[4] = p->fd; /* l_ulong */
1335 iarg[5] = p->pgoff; /* l_ulong */
1339 /* linux_truncate64 */
1341 struct linux_truncate64_args *p = params;
1342 uarg[0] = (intptr_t) p->path; /* char * */
1343 iarg[1] = p->length; /* l_loff_t */
1347 /* linux_ftruncate64 */
1349 struct linux_ftruncate64_args *p = params;
1350 iarg[0] = p->fd; /* l_uint */
1351 iarg[1] = p->length; /* l_loff_t */
1357 struct linux_stat64_args *p = params;
1358 uarg[0] = (intptr_t) p->filename; /* const char * */
1359 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1365 struct linux_lstat64_args *p = params;
1366 uarg[0] = (intptr_t) p->filename; /* const char * */
1367 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1373 struct linux_fstat64_args *p = params;
1374 iarg[0] = p->fd; /* l_int */
1375 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1381 struct linux_lchown_args *p = params;
1382 uarg[0] = (intptr_t) p->path; /* char * */
1383 iarg[1] = p->uid; /* l_uid_t */
1384 iarg[2] = p->gid; /* l_gid_t */
1410 struct setreuid_args *p = params;
1411 uarg[0] = p->ruid; /* uid_t */
1412 uarg[1] = p->euid; /* uid_t */
1418 struct setregid_args *p = params;
1419 iarg[0] = p->rgid; /* gid_t */
1420 iarg[1] = p->egid; /* gid_t */
1424 /* linux_getgroups */
1426 struct linux_getgroups_args *p = params;
1427 iarg[0] = p->gidsetsize; /* l_int */
1428 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1432 /* linux_setgroups */
1434 struct linux_setgroups_args *p = params;
1435 iarg[0] = p->gidsetsize; /* l_int */
1436 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
1447 struct setresuid_args *p = params;
1448 uarg[0] = p->ruid; /* uid_t */
1449 uarg[1] = p->euid; /* uid_t */
1450 uarg[2] = p->suid; /* uid_t */
1456 struct getresuid_args *p = params;
1457 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1458 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1459 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1465 struct setresgid_args *p = params;
1466 iarg[0] = p->rgid; /* gid_t */
1467 iarg[1] = p->egid; /* gid_t */
1468 iarg[2] = p->sgid; /* gid_t */
1474 struct getresgid_args *p = params;
1475 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1476 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1477 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1483 struct linux_chown_args *p = params;
1484 uarg[0] = (intptr_t) p->path; /* char * */
1485 iarg[1] = p->uid; /* l_uid_t */
1486 iarg[2] = p->gid; /* l_gid_t */
1492 struct setuid_args *p = params;
1493 uarg[0] = p->uid; /* uid_t */
1499 struct setgid_args *p = params;
1500 iarg[0] = p->gid; /* gid_t */
1504 /* linux_setfsuid */
1506 struct linux_setfsuid_args *p = params;
1507 iarg[0] = p->uid; /* l_uid_t */
1511 /* linux_setfsgid */
1513 struct linux_setfsgid_args *p = params;
1514 iarg[0] = p->gid; /* l_gid_t */
1518 /* linux_pivot_root */
1520 struct linux_pivot_root_args *p = params;
1521 uarg[0] = (intptr_t) p->new_root; /* char * */
1522 uarg[1] = (intptr_t) p->put_old; /* char * */
1528 struct linux_mincore_args *p = params;
1529 iarg[0] = p->start; /* l_ulong */
1530 iarg[1] = p->len; /* l_size_t */
1531 uarg[2] = (intptr_t) p->vec; /* u_char * */
1537 struct madvise_args *p = params;
1538 uarg[0] = (intptr_t) p->addr; /* void * */
1539 uarg[1] = p->len; /* size_t */
1540 iarg[2] = p->behav; /* int */
1544 /* linux_getdents64 */
1546 struct linux_getdents64_args *p = params;
1547 iarg[0] = p->fd; /* l_uint */
1548 uarg[1] = (intptr_t) p->dirent; /* void * */
1549 iarg[2] = p->count; /* l_uint */
1555 struct linux_fcntl64_args *p = params;
1556 iarg[0] = p->fd; /* l_uint */
1557 iarg[1] = p->cmd; /* l_uint */
1558 uarg[2] = p->arg; /* uintptr_t */
1567 /* linux_setxattr */
1572 /* linux_lsetxattr */
1577 /* linux_fsetxattr */
1582 /* linux_getxattr */
1587 /* linux_lgetxattr */
1592 /* linux_fgetxattr */
1597 /* linux_listxattr */
1602 /* linux_llistxattr */
1607 /* linux_flistxattr */
1612 /* linux_removexattr */
1617 /* linux_lremovexattr */
1622 /* linux_fremovexattr */
1629 struct linux_tkill_args *p = params;
1630 iarg[0] = p->tid; /* int */
1631 iarg[1] = p->sig; /* int */
1635 /* linux_sys_futex */
1637 struct linux_sys_futex_args *p = params;
1638 uarg[0] = (intptr_t) p->uaddr; /* void * */
1639 iarg[1] = p->op; /* int */
1640 uarg[2] = p->val; /* uint32_t */
1641 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1642 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */
1643 uarg[5] = p->val3; /* uint32_t */
1647 /* linux_sched_setaffinity */
1649 struct linux_sched_setaffinity_args *p = params;
1650 iarg[0] = p->pid; /* l_pid_t */
1651 iarg[1] = p->len; /* l_uint */
1652 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1656 /* linux_sched_getaffinity */
1658 struct linux_sched_getaffinity_args *p = params;
1659 iarg[0] = p->pid; /* l_pid_t */
1660 iarg[1] = p->len; /* l_uint */
1661 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1665 /* linux_set_thread_area */
1667 struct linux_set_thread_area_args *p = params;
1668 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */
1672 /* linux_fadvise64 */
1674 struct linux_fadvise64_args *p = params;
1675 iarg[0] = p->fd; /* int */
1676 iarg[1] = p->offset; /* l_loff_t */
1677 iarg[2] = p->len; /* l_size_t */
1678 iarg[3] = p->advice; /* int */
1682 /* linux_exit_group */
1684 struct linux_exit_group_args *p = params;
1685 iarg[0] = p->error_code; /* int */
1689 /* linux_lookup_dcookie */
1694 /* linux_epoll_create */
1699 /* linux_epoll_ctl */
1704 /* linux_epoll_wait */
1709 /* linux_remap_file_pages */
1714 /* linux_set_tid_address */
1716 struct linux_set_tid_address_args *p = params;
1717 uarg[0] = (intptr_t) p->tidptr; /* int * */
1721 /* linux_timer_create */
1723 struct linux_timer_create_args *p = params;
1724 iarg[0] = p->clock_id; /* clockid_t */
1725 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1726 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1730 /* linux_timer_settime */
1732 struct linux_timer_settime_args *p = params;
1733 iarg[0] = p->timerid; /* l_timer_t */
1734 iarg[1] = p->flags; /* l_int */
1735 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1736 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1740 /* linux_timer_gettime */
1742 struct linux_timer_gettime_args *p = params;
1743 iarg[0] = p->timerid; /* l_timer_t */
1744 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1748 /* linux_timer_getoverrun */
1750 struct linux_timer_getoverrun_args *p = params;
1751 iarg[0] = p->timerid; /* l_timer_t */
1755 /* linux_timer_delete */
1757 struct linux_timer_delete_args *p = params;
1758 iarg[0] = p->timerid; /* l_timer_t */
1762 /* linux_clock_settime */
1764 struct linux_clock_settime_args *p = params;
1765 iarg[0] = p->which; /* clockid_t */
1766 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1770 /* linux_clock_gettime */
1772 struct linux_clock_gettime_args *p = params;
1773 iarg[0] = p->which; /* clockid_t */
1774 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1778 /* linux_clock_getres */
1780 struct linux_clock_getres_args *p = params;
1781 iarg[0] = p->which; /* clockid_t */
1782 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1786 /* linux_clock_nanosleep */
1788 struct linux_clock_nanosleep_args *p = params;
1789 iarg[0] = p->which; /* clockid_t */
1790 iarg[1] = p->flags; /* int */
1791 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1792 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1796 /* linux_statfs64 */
1798 struct linux_statfs64_args *p = params;
1799 uarg[0] = (intptr_t) p->path; /* char * */
1800 uarg[1] = p->bufsize; /* size_t */
1801 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */
1805 /* linux_fstatfs64 */
1812 struct linux_tgkill_args *p = params;
1813 iarg[0] = p->tgid; /* int */
1814 iarg[1] = p->pid; /* int */
1815 iarg[2] = p->sig; /* int */
1821 struct linux_utimes_args *p = params;
1822 uarg[0] = (intptr_t) p->fname; /* char * */
1823 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1827 /* linux_fadvise64_64 */
1829 struct linux_fadvise64_64_args *p = params;
1830 iarg[0] = p->fd; /* int */
1831 iarg[1] = p->offset; /* l_loff_t */
1832 iarg[2] = p->len; /* l_loff_t */
1833 iarg[3] = p->advice; /* int */
1842 /* linux_get_mempolicy */
1847 /* linux_set_mempolicy */
1857 /* linux_mq_unlink */
1862 /* linux_mq_timedsend */
1867 /* linux_mq_timedreceive */
1872 /* linux_mq_notify */
1877 /* linux_mq_getsetattr */
1882 /* linux_kexec_load */
1897 /* linux_request_key */
1907 /* linux_ioprio_set */
1912 /* linux_ioprio_get */
1917 /* linux_inotify_init */
1922 /* linux_inotify_add_watch */
1927 /* linux_inotify_rm_watch */
1932 /* linux_migrate_pages */
1939 struct linux_openat_args *p = params;
1940 iarg[0] = p->dfd; /* l_int */
1941 uarg[1] = (intptr_t) p->filename; /* const char * */
1942 iarg[2] = p->flags; /* l_int */
1943 iarg[3] = p->mode; /* l_int */
1949 struct linux_mkdirat_args *p = params;
1950 iarg[0] = p->dfd; /* l_int */
1951 uarg[1] = (intptr_t) p->pathname; /* const char * */
1952 iarg[2] = p->mode; /* l_int */
1958 struct linux_mknodat_args *p = params;
1959 iarg[0] = p->dfd; /* l_int */
1960 uarg[1] = (intptr_t) p->filename; /* const char * */
1961 iarg[2] = p->mode; /* l_int */
1962 iarg[3] = p->dev; /* l_uint */
1966 /* linux_fchownat */
1968 struct linux_fchownat_args *p = params;
1969 iarg[0] = p->dfd; /* l_int */
1970 uarg[1] = (intptr_t) p->filename; /* const char * */
1971 iarg[2] = p->uid; /* l_uid16_t */
1972 iarg[3] = p->gid; /* l_gid16_t */
1973 iarg[4] = p->flag; /* l_int */
1977 /* linux_futimesat */
1979 struct linux_futimesat_args *p = params;
1980 iarg[0] = p->dfd; /* l_int */
1981 uarg[1] = (intptr_t) p->filename; /* char * */
1982 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1986 /* linux_fstatat64 */
1988 struct linux_fstatat64_args *p = params;
1989 iarg[0] = p->dfd; /* l_int */
1990 uarg[1] = (intptr_t) p->pathname; /* char * */
1991 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1992 iarg[3] = p->flag; /* l_int */
1996 /* linux_unlinkat */
1998 struct linux_unlinkat_args *p = params;
1999 iarg[0] = p->dfd; /* l_int */
2000 uarg[1] = (intptr_t) p->pathname; /* const char * */
2001 iarg[2] = p->flag; /* l_int */
2005 /* linux_renameat */
2007 struct linux_renameat_args *p = params;
2008 iarg[0] = p->olddfd; /* l_int */
2009 uarg[1] = (intptr_t) p->oldname; /* const char * */
2010 iarg[2] = p->newdfd; /* l_int */
2011 uarg[3] = (intptr_t) p->newname; /* const char * */
2017 struct linux_linkat_args *p = params;
2018 iarg[0] = p->olddfd; /* l_int */
2019 uarg[1] = (intptr_t) p->oldname; /* const char * */
2020 iarg[2] = p->newdfd; /* l_int */
2021 uarg[3] = (intptr_t) p->newname; /* const char * */
2022 iarg[4] = p->flag; /* l_int */
2026 /* linux_symlinkat */
2028 struct linux_symlinkat_args *p = params;
2029 uarg[0] = (intptr_t) p->oldname; /* const char * */
2030 iarg[1] = p->newdfd; /* l_int */
2031 uarg[2] = (intptr_t) p->newname; /* const char * */
2035 /* linux_readlinkat */
2037 struct linux_readlinkat_args *p = params;
2038 iarg[0] = p->dfd; /* l_int */
2039 uarg[1] = (intptr_t) p->path; /* const char * */
2040 uarg[2] = (intptr_t) p->buf; /* char * */
2041 iarg[3] = p->bufsiz; /* l_int */
2045 /* linux_fchmodat */
2047 struct linux_fchmodat_args *p = params;
2048 iarg[0] = p->dfd; /* l_int */
2049 uarg[1] = (intptr_t) p->filename; /* const char * */
2050 iarg[2] = p->mode; /* l_mode_t */
2054 /* linux_faccessat */
2056 struct linux_faccessat_args *p = params;
2057 iarg[0] = p->dfd; /* l_int */
2058 uarg[1] = (intptr_t) p->filename; /* const char * */
2059 iarg[2] = p->amode; /* l_int */
2060 iarg[3] = p->flag; /* int */
2064 /* linux_pselect6 */
2079 /* linux_set_robust_list */
2081 struct linux_set_robust_list_args *p = params;
2082 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2083 iarg[1] = p->len; /* l_size_t */
2087 /* linux_get_robust_list */
2089 struct linux_get_robust_list_args *p = params;
2090 iarg[0] = p->pid; /* l_int */
2091 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2092 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2101 /* linux_sync_file_range */
2111 /* linux_vmsplice */
2116 /* linux_move_pages */
2126 /* linux_epoll_pwait */
2131 /* linux_utimensat */
2136 /* linux_signalfd */
2141 /* linux_timerfd_create */
2151 /* linux_fallocate */
2156 /* linux_timerfd_settime */
2161 /* linux_timerfd_gettime */
2166 /* linux_signalfd4 */
2171 /* linux_eventfd2 */
2176 /* linux_epoll_create1 */
2188 struct linux_pipe2_args *p = params;
2189 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2190 iarg[1] = p->flags; /* l_int */
2194 /* linux_inotify_init1 */
2209 /* linux_rt_tsigqueueinfo */
2214 /* linux_perf_event_open */
2219 /* linux_recvmmsg */
2224 /* linux_fanotify_init */
2229 /* linux_fanotify_mark */
2234 /* linux_prlimit64 */
2239 /* linux_name_to_handle_at */
2244 /* linux_open_by_handle_at */
2249 /* linux_clock_adjtime */
2259 /* linux_sendmmsg */
2269 /* linux_process_vm_readv */
2274 /* linux_process_vm_writev */
2285 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2287 const char *p = NULL;
2289 #define nosys linux_nosys
2478 /* linux_lchown16 */
2501 p = "struct linux_stat *";
2548 /* linux_oldumount */
2558 /* linux_setuid16 */
2568 /* linux_getuid16 */
2613 p = "struct l_utimbuf *";
2718 p = "struct l_times_argv *";
2734 /* linux_setgid16 */
2744 /* linux_getgid16 */
2760 /* linux_geteuid16 */
2763 /* linux_getegid16 */
2834 /* linux_olduname */
2864 p = "struct l_ustat *";
2892 /* linux_sigaction */
2899 p = "l_osigaction_t *";
2902 p = "l_osigaction_t *";
2908 /* linux_sgetmask */
2911 /* linux_ssetmask */
2921 /* linux_setreuid16 */
2934 /* linux_setregid16 */
2947 /* linux_sigsuspend */
2963 /* linux_sigpending */
2967 p = "l_osigset_t *";
2973 /* linux_sethostname */
2986 /* linux_setrlimit */
2993 p = "struct l_rlimit *";
2999 /* linux_old_getrlimit */
3006 p = "struct l_rlimit *";
3012 /* linux_getrusage */
3019 p = "struct l_rusage *";
3025 /* linux_gettimeofday */
3029 p = "struct l_timeval *";
3032 p = "struct timezone *";
3038 /* linux_settimeofday */
3042 p = "struct l_timeval *";
3045 p = "struct timezone *";
3051 /* linux_getgroups16 */
3064 /* linux_setgroups16 */
3077 /* linux_old_select */
3081 p = "struct l_old_select_argv *";
3107 p = "struct linux_lstat *";
3113 /* linux_readlink */
3165 p = "struct l_dirent *";
3178 p = "struct l_mmap_argv *";
3197 /* linux_truncate */
3210 /* linux_ftruncate */
3252 /* linux_getpriority */
3288 p = "struct l_statfs_buf *";
3301 p = "struct l_statfs_buf *";
3307 /* linux_socketcall */
3336 /* linux_setitimer */
3343 p = "struct l_itimerval *";
3346 p = "struct l_itimerval *";
3352 /* linux_getitimer */
3359 p = "struct l_itimerval *";
3372 p = "struct l_newstat *";
3378 /* linux_newlstat */
3385 p = "struct l_newstat *";
3391 /* linux_newfstat */
3398 p = "struct l_newstat *";
3433 p = "struct l_rusage *";
3446 p = "struct l_sysinfo *";
3487 /* linux_sigreturn */
3491 p = "struct l_sigframe *";
3519 /* linux_setdomainname */
3532 /* linux_newuname */
3536 p = "struct l_new_utsname *";
3542 /* linux_adjtimex */
3545 /* linux_mprotect */
3561 /* linux_sigprocmask */
3568 p = "l_osigset_t *";
3571 p = "l_osigset_t *";
3577 /* linux_create_module */
3580 /* linux_init_module */
3583 /* linux_delete_module */
3586 /* linux_get_kernel_syms */
3589 /* linux_quotactl */
3631 /* linux_personality */
3641 /* linux_setfsuid16 */
3651 /* linux_setfsgid16 */
3683 /* linux_getdents */
3715 p = "struct l_timeval *";
3757 p = "struct l_iovec32 *";
3773 p = "struct l_iovec32 *";
3792 /* linux_fdatasync */
3806 p = "struct l___sysctl_args *";
3851 /* sched_setparam */
3858 p = "const struct sched_param *";
3864 /* sched_getparam */
3871 p = "struct sched_param *";
3877 /* linux_sched_setscheduler */
3887 p = "struct l_sched_param *";
3893 /* linux_sched_getscheduler */
3906 /* linux_sched_get_priority_max */
3916 /* linux_sched_get_priority_min */
3926 /* linux_sched_rr_get_interval */
3933 p = "struct l_timespec *";
3939 /* linux_nanosleep */
3943 p = "const struct l_timespec *";
3946 p = "struct l_timespec *";
3974 /* linux_setresuid16 */
3990 /* linux_getresuid16 */
4006 /* linux_query_module */
4013 p = "struct pollfd *";
4025 /* linux_nfsservctl */
4028 /* linux_setresgid16 */
4044 /* linux_getresgid16 */
4082 /* linux_rt_sigreturn */
4086 p = "struct l_ucontext *";
4092 /* linux_rt_sigaction */
4099 p = "l_sigaction_t *";
4102 p = "l_sigaction_t *";
4111 /* linux_rt_sigprocmask */
4130 /* linux_rt_sigpending */
4143 /* linux_rt_sigtimedwait */
4150 p = "l_siginfo_t *";
4153 p = "struct l_timeval *";
4162 /* linux_rt_sigqueueinfo */
4165 /* linux_rt_sigsuspend */
4249 p = "struct l_user_cap_header *";
4252 p = "struct l_user_cap_data *";
4262 p = "struct l_user_cap_header *";
4265 p = "struct l_user_cap_data *";
4271 /* linux_sigaltstack */
4284 /* linux_sendfile */
4290 /* linux_getrlimit */
4297 p = "struct l_rlimit *";
4328 /* linux_truncate64 */
4341 /* linux_ftruncate64 */
4361 p = "struct l_stat64 *";
4374 p = "struct l_stat64 *";
4387 p = "struct l_stat64 *";
4447 /* linux_getgroups */
4460 /* linux_setgroups */
4576 /* linux_setfsuid */
4586 /* linux_setfsgid */
4596 /* linux_pivot_root */
4641 /* linux_getdents64 */
4676 /* linux_setxattr */
4679 /* linux_lsetxattr */
4682 /* linux_fsetxattr */
4685 /* linux_getxattr */
4688 /* linux_lgetxattr */
4691 /* linux_fgetxattr */
4694 /* linux_listxattr */
4697 /* linux_llistxattr */
4700 /* linux_flistxattr */
4703 /* linux_removexattr */
4706 /* linux_lremovexattr */
4709 /* linux_fremovexattr */
4725 /* linux_sys_futex */
4738 p = "struct l_timespec *";
4750 /* linux_sched_setaffinity */
4766 /* linux_sched_getaffinity */
4782 /* linux_set_thread_area */
4786 p = "struct l_user_desc *";
4792 /* linux_fadvise64 */
4811 /* linux_exit_group */
4821 /* linux_lookup_dcookie */
4824 /* linux_epoll_create */
4827 /* linux_epoll_ctl */
4830 /* linux_epoll_wait */
4833 /* linux_remap_file_pages */
4836 /* linux_set_tid_address */
4846 /* linux_timer_create */
4853 p = "struct sigevent *";
4862 /* linux_timer_settime */
4872 p = "const struct itimerspec *";
4875 p = "struct itimerspec *";
4881 /* linux_timer_gettime */
4888 p = "struct itimerspec *";
4894 /* linux_timer_getoverrun */
4904 /* linux_timer_delete */
4914 /* linux_clock_settime */
4921 p = "struct l_timespec *";
4927 /* linux_clock_gettime */
4934 p = "struct l_timespec *";
4940 /* linux_clock_getres */
4947 p = "struct l_timespec *";
4953 /* linux_clock_nanosleep */
4963 p = "struct l_timespec *";
4966 p = "struct l_timespec *";
4972 /* linux_statfs64 */
4982 p = "struct l_statfs64_buf *";
4988 /* linux_fstatfs64 */
5014 p = "struct l_timeval *";
5020 /* linux_fadvise64_64 */
5042 /* linux_get_mempolicy */
5045 /* linux_set_mempolicy */
5051 /* linux_mq_unlink */
5054 /* linux_mq_timedsend */
5057 /* linux_mq_timedreceive */
5060 /* linux_mq_notify */
5063 /* linux_mq_getsetattr */
5066 /* linux_kexec_load */
5075 /* linux_request_key */
5081 /* linux_ioprio_set */
5084 /* linux_ioprio_get */
5087 /* linux_inotify_init */
5090 /* linux_inotify_add_watch */
5093 /* linux_inotify_rm_watch */
5096 /* linux_migrate_pages */
5153 /* linux_fchownat */
5175 /* linux_futimesat */
5185 p = "struct l_timeval *";
5191 /* linux_fstatat64 */
5201 p = "struct l_stat64 *";
5210 /* linux_unlinkat */
5226 /* linux_renameat */
5267 /* linux_symlinkat */
5283 /* linux_readlinkat */
5302 /* linux_fchmodat */
5318 /* linux_faccessat */
5337 /* linux_pselect6 */
5346 /* linux_set_robust_list */
5350 p = "struct linux_robust_list_head *";
5359 /* linux_get_robust_list */
5366 p = "struct linux_robust_list_head *";
5378 /* linux_sync_file_range */
5384 /* linux_vmsplice */
5387 /* linux_move_pages */
5393 /* linux_epoll_pwait */
5396 /* linux_utimensat */
5399 /* linux_signalfd */
5402 /* linux_timerfd_create */
5408 /* linux_fallocate */
5411 /* linux_timerfd_settime */
5414 /* linux_timerfd_gettime */
5417 /* linux_signalfd4 */
5420 /* linux_eventfd2 */
5423 /* linux_epoll_create1 */
5442 /* linux_inotify_init1 */
5451 /* linux_rt_tsigqueueinfo */
5454 /* linux_perf_event_open */
5457 /* linux_recvmmsg */
5460 /* linux_fanotify_init */
5463 /* linux_fanotify_mark */
5466 /* linux_prlimit64 */
5469 /* linux_name_to_handle_at */
5472 /* linux_open_by_handle_at */
5475 /* linux_clock_adjtime */
5481 /* linux_sendmmsg */
5487 /* linux_process_vm_readv */
5490 /* linux_process_vm_writev */
5497 strlcpy(desc, p, descsz);
5500 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5502 const char *p = NULL;
5504 #define nosys linux_nosys
5507 if (ndx == 0 || ndx == 1)
5514 if (ndx == 0 || ndx == 1)
5519 if (ndx == 0 || ndx == 1)
5524 if (ndx == 0 || ndx == 1)
5529 if (ndx == 0 || ndx == 1)
5534 if (ndx == 0 || ndx == 1)
5539 if (ndx == 0 || ndx == 1)
5544 if (ndx == 0 || ndx == 1)
5549 if (ndx == 0 || ndx == 1)
5554 if (ndx == 0 || ndx == 1)
5559 if (ndx == 0 || ndx == 1)
5564 if (ndx == 0 || ndx == 1)
5569 if (ndx == 0 || ndx == 1)
5574 if (ndx == 0 || ndx == 1)
5577 /* linux_lchown16 */
5579 if (ndx == 0 || ndx == 1)
5584 if (ndx == 0 || ndx == 1)
5589 if (ndx == 0 || ndx == 1)
5596 if (ndx == 0 || ndx == 1)
5599 /* linux_oldumount */
5601 if (ndx == 0 || ndx == 1)
5604 /* linux_setuid16 */
5606 if (ndx == 0 || ndx == 1)
5609 /* linux_getuid16 */
5615 if (ndx == 0 || ndx == 1)
5620 if (ndx == 0 || ndx == 1)
5627 if (ndx == 0 || ndx == 1)
5632 if (ndx == 0 || ndx == 1)
5637 if (ndx == 0 || ndx == 1)
5644 if (ndx == 0 || ndx == 1)
5649 if (ndx == 0 || ndx == 1)
5654 if (ndx == 0 || ndx == 1)
5659 if (ndx == 0 || ndx == 1)
5664 if (ndx == 0 || ndx == 1)
5669 if (ndx == 0 || ndx == 1)
5674 if (ndx == 0 || ndx == 1)
5679 if (ndx == 0 || ndx == 1)
5682 /* linux_setgid16 */
5684 if (ndx == 0 || ndx == 1)
5687 /* linux_getgid16 */
5691 if (ndx == 0 || ndx == 1)
5694 /* linux_geteuid16 */
5696 /* linux_getegid16 */
5700 if (ndx == 0 || ndx == 1)
5705 if (ndx == 0 || ndx == 1)
5710 if (ndx == 0 || ndx == 1)
5715 if (ndx == 0 || ndx == 1)
5720 if (ndx == 0 || ndx == 1)
5723 /* linux_olduname */
5727 if (ndx == 0 || ndx == 1)
5732 if (ndx == 0 || ndx == 1)
5737 if (ndx == 0 || ndx == 1)
5742 if (ndx == 0 || ndx == 1)
5751 /* linux_sigaction */
5753 if (ndx == 0 || ndx == 1)
5756 /* linux_sgetmask */
5758 /* linux_ssetmask */
5760 if (ndx == 0 || ndx == 1)
5763 /* linux_setreuid16 */
5765 if (ndx == 0 || ndx == 1)
5768 /* linux_setregid16 */
5770 if (ndx == 0 || ndx == 1)
5773 /* linux_sigsuspend */
5775 if (ndx == 0 || ndx == 1)
5778 /* linux_sigpending */
5780 if (ndx == 0 || ndx == 1)
5783 /* linux_sethostname */
5785 if (ndx == 0 || ndx == 1)
5788 /* linux_setrlimit */
5790 if (ndx == 0 || ndx == 1)
5793 /* linux_old_getrlimit */
5795 if (ndx == 0 || ndx == 1)
5798 /* linux_getrusage */
5800 if (ndx == 0 || ndx == 1)
5803 /* linux_gettimeofday */
5805 if (ndx == 0 || ndx == 1)
5808 /* linux_settimeofday */
5810 if (ndx == 0 || ndx == 1)
5813 /* linux_getgroups16 */
5815 if (ndx == 0 || ndx == 1)
5818 /* linux_setgroups16 */
5820 if (ndx == 0 || ndx == 1)
5823 /* linux_old_select */
5825 if (ndx == 0 || ndx == 1)
5830 if (ndx == 0 || ndx == 1)
5835 if (ndx == 0 || ndx == 1)
5838 /* linux_readlink */
5840 if (ndx == 0 || ndx == 1)
5845 if (ndx == 0 || ndx == 1)
5850 if (ndx == 0 || ndx == 1)
5855 if (ndx == 0 || ndx == 1)
5860 if (ndx == 0 || ndx == 1)
5865 if (ndx == 0 || ndx == 1)
5868 /* linux_truncate */
5870 if (ndx == 0 || ndx == 1)
5873 /* linux_ftruncate */
5875 if (ndx == 0 || ndx == 1)
5880 if (ndx == 0 || ndx == 1)
5885 if (ndx == 0 || ndx == 1)
5888 /* linux_getpriority */
5890 if (ndx == 0 || ndx == 1)
5895 if (ndx == 0 || ndx == 1)
5900 if (ndx == 0 || ndx == 1)
5905 if (ndx == 0 || ndx == 1)
5908 /* linux_socketcall */
5910 if (ndx == 0 || ndx == 1)
5915 if (ndx == 0 || ndx == 1)
5918 /* linux_setitimer */
5920 if (ndx == 0 || ndx == 1)
5923 /* linux_getitimer */
5925 if (ndx == 0 || ndx == 1)
5930 if (ndx == 0 || ndx == 1)
5933 /* linux_newlstat */
5935 if (ndx == 0 || ndx == 1)
5938 /* linux_newfstat */
5940 if (ndx == 0 || ndx == 1)
5947 if (ndx == 0 || ndx == 1)
5954 if (ndx == 0 || ndx == 1)
5961 if (ndx == 0 || ndx == 1)
5966 if (ndx == 0 || ndx == 1)
5971 if (ndx == 0 || ndx == 1)
5974 /* linux_sigreturn */
5976 if (ndx == 0 || ndx == 1)
5981 if (ndx == 0 || ndx == 1)
5984 /* linux_setdomainname */
5986 if (ndx == 0 || ndx == 1)
5989 /* linux_newuname */
5991 if (ndx == 0 || ndx == 1)
5994 /* linux_adjtimex */
5996 /* linux_mprotect */
5998 if (ndx == 0 || ndx == 1)
6001 /* linux_sigprocmask */
6003 if (ndx == 0 || ndx == 1)
6006 /* linux_create_module */
6008 /* linux_init_module */
6010 /* linux_delete_module */
6012 /* linux_get_kernel_syms */
6014 /* linux_quotactl */
6018 if (ndx == 0 || ndx == 1)
6023 if (ndx == 0 || ndx == 1)
6030 if (ndx == 0 || ndx == 1)
6033 /* linux_personality */
6035 if (ndx == 0 || ndx == 1)
6038 /* linux_setfsuid16 */
6040 if (ndx == 0 || ndx == 1)
6043 /* linux_setfsgid16 */
6045 if (ndx == 0 || ndx == 1)
6050 if (ndx == 0 || ndx == 1)
6053 /* linux_getdents */
6055 if (ndx == 0 || ndx == 1)
6060 if (ndx == 0 || ndx == 1)
6065 if (ndx == 0 || ndx == 1)
6070 if (ndx == 0 || ndx == 1)
6075 if (ndx == 0 || ndx == 1)
6080 if (ndx == 0 || ndx == 1)
6085 if (ndx == 0 || ndx == 1)
6088 /* linux_fdatasync */
6090 if (ndx == 0 || ndx == 1)
6095 if (ndx == 0 || ndx == 1)
6100 if (ndx == 0 || ndx == 1)
6105 if (ndx == 0 || ndx == 1)
6110 if (ndx == 0 || ndx == 1)
6115 /* sched_setparam */
6117 if (ndx == 0 || ndx == 1)
6120 /* sched_getparam */
6122 if (ndx == 0 || ndx == 1)
6125 /* linux_sched_setscheduler */
6127 if (ndx == 0 || ndx == 1)
6130 /* linux_sched_getscheduler */
6132 if (ndx == 0 || ndx == 1)
6137 /* linux_sched_get_priority_max */
6139 if (ndx == 0 || ndx == 1)
6142 /* linux_sched_get_priority_min */
6144 if (ndx == 0 || ndx == 1)
6147 /* linux_sched_rr_get_interval */
6149 if (ndx == 0 || ndx == 1)
6152 /* linux_nanosleep */
6154 if (ndx == 0 || ndx == 1)
6159 if (ndx == 0 || ndx == 1)
6162 /* linux_setresuid16 */
6164 if (ndx == 0 || ndx == 1)
6167 /* linux_getresuid16 */
6169 if (ndx == 0 || ndx == 1)
6172 /* linux_query_module */
6176 if (ndx == 0 || ndx == 1)
6179 /* linux_nfsservctl */
6181 /* linux_setresgid16 */
6183 if (ndx == 0 || ndx == 1)
6186 /* linux_getresgid16 */
6188 if (ndx == 0 || ndx == 1)
6193 if (ndx == 0 || ndx == 1)
6196 /* linux_rt_sigreturn */
6198 if (ndx == 0 || ndx == 1)
6201 /* linux_rt_sigaction */
6203 if (ndx == 0 || ndx == 1)
6206 /* linux_rt_sigprocmask */
6208 if (ndx == 0 || ndx == 1)
6211 /* linux_rt_sigpending */
6213 if (ndx == 0 || ndx == 1)
6216 /* linux_rt_sigtimedwait */
6218 if (ndx == 0 || ndx == 1)
6221 /* linux_rt_sigqueueinfo */
6223 /* linux_rt_sigsuspend */
6225 if (ndx == 0 || ndx == 1)
6230 if (ndx == 0 || ndx == 1)
6235 if (ndx == 0 || ndx == 1)
6240 if (ndx == 0 || ndx == 1)
6245 if (ndx == 0 || ndx == 1)
6250 if (ndx == 0 || ndx == 1)
6255 if (ndx == 0 || ndx == 1)
6258 /* linux_sigaltstack */
6260 if (ndx == 0 || ndx == 1)
6263 /* linux_sendfile */
6267 /* linux_getrlimit */
6269 if (ndx == 0 || ndx == 1)
6274 if (ndx == 0 || ndx == 1)
6277 /* linux_truncate64 */
6279 if (ndx == 0 || ndx == 1)
6282 /* linux_ftruncate64 */
6284 if (ndx == 0 || ndx == 1)
6289 if (ndx == 0 || ndx == 1)
6294 if (ndx == 0 || ndx == 1)
6299 if (ndx == 0 || ndx == 1)
6304 if (ndx == 0 || ndx == 1)
6317 if (ndx == 0 || ndx == 1)
6322 if (ndx == 0 || ndx == 1)
6325 /* linux_getgroups */
6327 if (ndx == 0 || ndx == 1)
6330 /* linux_setgroups */
6332 if (ndx == 0 || ndx == 1)
6339 if (ndx == 0 || ndx == 1)
6344 if (ndx == 0 || ndx == 1)
6349 if (ndx == 0 || ndx == 1)
6354 if (ndx == 0 || ndx == 1)
6359 if (ndx == 0 || ndx == 1)
6364 if (ndx == 0 || ndx == 1)
6369 if (ndx == 0 || ndx == 1)
6372 /* linux_setfsuid */
6374 if (ndx == 0 || ndx == 1)
6377 /* linux_setfsgid */
6379 if (ndx == 0 || ndx == 1)
6382 /* linux_pivot_root */
6384 if (ndx == 0 || ndx == 1)
6389 if (ndx == 0 || ndx == 1)
6394 if (ndx == 0 || ndx == 1)
6397 /* linux_getdents64 */
6399 if (ndx == 0 || ndx == 1)
6404 if (ndx == 0 || ndx == 1)
6409 /* linux_setxattr */
6411 /* linux_lsetxattr */
6413 /* linux_fsetxattr */
6415 /* linux_getxattr */
6417 /* linux_lgetxattr */
6419 /* linux_fgetxattr */
6421 /* linux_listxattr */
6423 /* linux_llistxattr */
6425 /* linux_flistxattr */
6427 /* linux_removexattr */
6429 /* linux_lremovexattr */
6431 /* linux_fremovexattr */
6435 if (ndx == 0 || ndx == 1)
6438 /* linux_sys_futex */
6440 if (ndx == 0 || ndx == 1)
6443 /* linux_sched_setaffinity */
6445 if (ndx == 0 || ndx == 1)
6448 /* linux_sched_getaffinity */
6450 if (ndx == 0 || ndx == 1)
6453 /* linux_set_thread_area */
6455 if (ndx == 0 || ndx == 1)
6458 /* linux_fadvise64 */
6460 if (ndx == 0 || ndx == 1)
6463 /* linux_exit_group */
6465 if (ndx == 0 || ndx == 1)
6468 /* linux_lookup_dcookie */
6470 /* linux_epoll_create */
6472 /* linux_epoll_ctl */
6474 /* linux_epoll_wait */
6476 /* linux_remap_file_pages */
6478 /* linux_set_tid_address */
6480 if (ndx == 0 || ndx == 1)
6483 /* linux_timer_create */
6485 if (ndx == 0 || ndx == 1)
6488 /* linux_timer_settime */
6490 if (ndx == 0 || ndx == 1)
6493 /* linux_timer_gettime */
6495 if (ndx == 0 || ndx == 1)
6498 /* linux_timer_getoverrun */
6500 if (ndx == 0 || ndx == 1)
6503 /* linux_timer_delete */
6505 if (ndx == 0 || ndx == 1)
6508 /* linux_clock_settime */
6510 if (ndx == 0 || ndx == 1)
6513 /* linux_clock_gettime */
6515 if (ndx == 0 || ndx == 1)
6518 /* linux_clock_getres */
6520 if (ndx == 0 || ndx == 1)
6523 /* linux_clock_nanosleep */
6525 if (ndx == 0 || ndx == 1)
6528 /* linux_statfs64 */
6530 if (ndx == 0 || ndx == 1)
6533 /* linux_fstatfs64 */
6537 if (ndx == 0 || ndx == 1)
6542 if (ndx == 0 || ndx == 1)
6545 /* linux_fadvise64_64 */
6547 if (ndx == 0 || ndx == 1)
6552 /* linux_get_mempolicy */
6554 /* linux_set_mempolicy */
6558 /* linux_mq_unlink */
6560 /* linux_mq_timedsend */
6562 /* linux_mq_timedreceive */
6564 /* linux_mq_notify */
6566 /* linux_mq_getsetattr */
6568 /* linux_kexec_load */
6574 /* linux_request_key */
6578 /* linux_ioprio_set */
6580 /* linux_ioprio_get */
6582 /* linux_inotify_init */
6584 /* linux_inotify_add_watch */
6586 /* linux_inotify_rm_watch */
6588 /* linux_migrate_pages */
6592 if (ndx == 0 || ndx == 1)
6597 if (ndx == 0 || ndx == 1)
6602 if (ndx == 0 || ndx == 1)
6605 /* linux_fchownat */
6607 if (ndx == 0 || ndx == 1)
6610 /* linux_futimesat */
6612 if (ndx == 0 || ndx == 1)
6615 /* linux_fstatat64 */
6617 if (ndx == 0 || ndx == 1)
6620 /* linux_unlinkat */
6622 if (ndx == 0 || ndx == 1)
6625 /* linux_renameat */
6627 if (ndx == 0 || ndx == 1)
6632 if (ndx == 0 || ndx == 1)
6635 /* linux_symlinkat */
6637 if (ndx == 0 || ndx == 1)
6640 /* linux_readlinkat */
6642 if (ndx == 0 || ndx == 1)
6645 /* linux_fchmodat */
6647 if (ndx == 0 || ndx == 1)
6650 /* linux_faccessat */
6652 if (ndx == 0 || ndx == 1)
6655 /* linux_pselect6 */
6661 /* linux_set_robust_list */
6663 if (ndx == 0 || ndx == 1)
6666 /* linux_get_robust_list */
6668 if (ndx == 0 || ndx == 1)
6673 /* linux_sync_file_range */
6677 /* linux_vmsplice */
6679 /* linux_move_pages */
6683 /* linux_epoll_pwait */
6685 /* linux_utimensat */
6687 /* linux_signalfd */
6689 /* linux_timerfd_create */
6693 /* linux_fallocate */
6695 /* linux_timerfd_settime */
6697 /* linux_timerfd_gettime */
6699 /* linux_signalfd4 */
6701 /* linux_eventfd2 */
6703 /* linux_epoll_create1 */
6709 if (ndx == 0 || ndx == 1)
6712 /* linux_inotify_init1 */
6718 /* linux_rt_tsigqueueinfo */
6720 /* linux_perf_event_open */
6722 /* linux_recvmmsg */
6724 /* linux_fanotify_init */
6726 /* linux_fanotify_mark */
6728 /* linux_prlimit64 */
6730 /* linux_name_to_handle_at */
6732 /* linux_open_by_handle_at */
6734 /* linux_clock_adjtime */
6738 /* linux_sendmmsg */
6742 /* linux_process_vm_readv */
6744 /* linux_process_vm_writev */
6750 strlcpy(desc, p, descsz);