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 read_args *p = params;
18 iarg[0] = p->fd; /* int */
19 uarg[1] = (intptr_t) p->buf; /* char * */
20 uarg[2] = p->nbyte; /* u_int */
26 struct write_args *p = params;
27 iarg[0] = p->fd; /* int */
28 uarg[1] = (intptr_t) p->buf; /* char * */
29 uarg[2] = p->nbyte; /* u_int */
35 struct linux_open_args *p = params;
36 uarg[0] = (intptr_t) p->path; /* char * */
37 iarg[1] = p->flags; /* l_int */
38 iarg[2] = p->mode; /* l_int */
44 struct close_args *p = params;
45 iarg[0] = p->fd; /* int */
51 struct linux_newstat_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
59 struct linux_newfstat_args *p = params;
60 iarg[0] = p->fd; /* l_uint */
61 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
67 struct linux_newlstat_args *p = params;
68 uarg[0] = (intptr_t) p->path; /* char * */
69 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */
75 struct poll_args *p = params;
76 iarg[0] = p->*; /* struct pollfd */
77 uarg[1] = p->nfds; /* unsigned int */
78 iarg[2] = p->timeout; /* int */
84 struct linux_lseek_args *p = params;
85 iarg[0] = p->fdes; /* l_uint */
86 iarg[1] = p->off; /* l_off_t */
87 iarg[2] = p->whence; /* l_int */
93 struct linux_mmap2_args *p = params;
94 iarg[0] = p->addr; /* l_ulong */
95 iarg[1] = p->len; /* l_ulong */
96 iarg[2] = p->prot; /* l_ulong */
97 iarg[3] = p->flags; /* l_ulong */
98 iarg[4] = p->fd; /* l_ulong */
99 iarg[5] = p->pgoff; /* l_ulong */
105 struct linux_mprotect_args *p = params;
106 uarg[0] = (intptr_t) p->addr; /* caddr_t */
107 iarg[1] = p->len; /* int */
108 iarg[2] = p->prot; /* int */
114 struct munmap_args *p = params;
115 uarg[0] = (intptr_t) p->addr; /* caddr_t */
116 iarg[1] = p->len; /* int */
122 struct linux_brk_args *p = params;
123 iarg[0] = p->dsend; /* l_ulong */
127 /* linux_rt_sigaction */
129 struct linux_rt_sigaction_args *p = params;
130 iarg[0] = p->sig; /* l_int */
131 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */
132 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */
133 iarg[3] = p->sigsetsize; /* l_size_t */
137 /* linux_rt_sigprocmask */
139 struct linux_rt_sigprocmask_args *p = params;
140 iarg[0] = p->how; /* l_int */
141 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */
142 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */
143 iarg[3] = p->sigsetsize; /* l_size_t */
147 /* linux_rt_sigreturn */
149 struct linux_rt_sigreturn_args *p = params;
150 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */
156 struct linux_ioctl_args *p = params;
157 iarg[0] = p->fd; /* l_uint */
158 iarg[1] = p->cmd; /* l_uint */
159 uarg[2] = p->arg; /* uintptr_t */
165 struct linux_pread_args *p = params;
166 iarg[0] = p->fd; /* l_uint */
167 uarg[1] = (intptr_t) p->buf; /* char * */
168 iarg[2] = p->nbyte; /* l_size_t */
169 iarg[3] = p->offset; /* l_loff_t */
175 struct linux_pwrite_args *p = params;
176 iarg[0] = p->fd; /* l_uint */
177 uarg[1] = (intptr_t) p->buf; /* char * */
178 iarg[2] = p->nbyte; /* l_size_t */
179 iarg[3] = p->offset; /* l_loff_t */
185 struct readv_args *p = params;
186 iarg[0] = p->fd; /* int */
187 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
188 uarg[2] = p->iovcnt; /* u_int */
194 struct writev_args *p = params;
195 iarg[0] = p->fd; /* int */
196 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
197 uarg[2] = p->iovcnt; /* u_int */
203 struct linux_access_args *p = params;
204 uarg[0] = (intptr_t) p->path; /* char * */
205 iarg[1] = p->amode; /* l_int */
211 struct linux_pipe_args *p = params;
212 uarg[0] = (intptr_t) p->pipefds; /* l_ulong * */
218 struct linux_select_args *p = params;
219 iarg[0] = p->nfds; /* l_int */
220 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
221 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
222 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
223 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
234 struct linux_mremap_args *p = params;
235 iarg[0] = p->addr; /* l_ulong */
236 iarg[1] = p->old_len; /* l_ulong */
237 iarg[2] = p->new_len; /* l_ulong */
238 iarg[3] = p->flags; /* l_ulong */
239 iarg[4] = p->new_addr; /* l_ulong */
245 struct linux_msync_args *p = params;
246 iarg[0] = p->addr; /* l_ulong */
247 iarg[1] = p->len; /* l_size_t */
248 iarg[2] = p->fl; /* l_int */
254 struct linux_mincore_args *p = params;
255 iarg[0] = p->start; /* l_ulong */
256 iarg[1] = p->len; /* l_size_t */
257 uarg[2] = (intptr_t) p->vec; /* u_char * */
263 struct madvise_args *p = params;
264 uarg[0] = (intptr_t) p->addr; /* void * */
265 uarg[1] = p->len; /* size_t */
266 iarg[2] = p->behav; /* int */
272 struct linux_shmget_args *p = params;
273 iarg[0] = p->key; /* l_key_t */
274 iarg[1] = p->size; /* l_size_t */
275 iarg[2] = p->shmflg; /* l_int */
281 struct linux_shmat_args *p = params;
282 iarg[0] = p->shmid; /* l_int */
283 uarg[1] = (intptr_t) p->shmaddr; /* char * */
284 iarg[2] = p->shmflg; /* l_int */
290 struct linux_shmctl_args *p = params;
291 iarg[0] = p->shmid; /* l_int */
292 iarg[1] = p->cmd; /* l_int */
293 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */
299 struct dup_args *p = params;
300 uarg[0] = p->fd; /* u_int */
306 struct dup2_args *p = params;
307 uarg[0] = p->from; /* u_int */
308 uarg[1] = p->to; /* u_int */
317 /* linux_nanosleep */
319 struct linux_nanosleep_args *p = params;
320 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */
321 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */
325 /* linux_getitimer */
327 struct linux_getitimer_args *p = params;
328 iarg[0] = p->which; /* l_int */
329 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
335 struct linux_alarm_args *p = params;
336 iarg[0] = p->secs; /* l_uint */
340 /* linux_setitimer */
342 struct linux_setitimer_args *p = params;
343 iarg[0] = p->which; /* l_int */
344 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */
345 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */
356 struct linux_sendfile_args *p = params;
357 iarg[0] = p->out; /* int */
358 iarg[1] = p->in; /* int */
359 uarg[2] = (intptr_t) p->offset; /* l_long * */
360 iarg[3] = p->count; /* l_size_t */
366 struct linux_socket_args *p = params;
367 iarg[0] = p->domain; /* l_int */
368 iarg[1] = p->type; /* l_int */
369 iarg[2] = p->protocol; /* l_int */
375 struct linux_connect_args *p = params;
376 iarg[0] = p->s; /* l_int */
377 iarg[1] = p->name; /* l_uintptr_t */
378 iarg[2] = p->namelen; /* l_int */
384 struct linux_accept_args *p = params;
385 iarg[0] = p->s; /* l_int */
386 iarg[1] = p->addr; /* l_uintptr_t */
387 iarg[2] = p->namelen; /* l_uintptr_t */
393 struct linux_sendto_args *p = params;
394 iarg[0] = p->s; /* l_int */
395 iarg[1] = p->msg; /* l_uintptr_t */
396 iarg[2] = p->len; /* l_int */
397 iarg[3] = p->flags; /* l_int */
398 iarg[4] = p->to; /* l_uintptr_t */
399 iarg[5] = p->tolen; /* l_int */
405 struct linux_recvfrom_args *p = params;
406 iarg[0] = p->s; /* l_int */
407 iarg[1] = p->buf; /* l_uintptr_t */
408 iarg[2] = p->len; /* l_size_t */
409 iarg[3] = p->flags; /* l_int */
410 iarg[4] = p->from; /* l_uintptr_t */
411 iarg[5] = p->fromlen; /* l_uintptr_t */
417 struct linux_sendmsg_args *p = params;
418 iarg[0] = p->s; /* l_int */
419 iarg[1] = p->msg; /* l_uintptr_t */
420 iarg[2] = p->flags; /* l_int */
426 struct linux_recvmsg_args *p = params;
427 iarg[0] = p->s; /* l_int */
428 iarg[1] = p->msg; /* l_uintptr_t */
429 iarg[2] = p->flags; /* l_int */
435 struct linux_shutdown_args *p = params;
436 iarg[0] = p->s; /* l_int */
437 iarg[1] = p->how; /* l_int */
443 struct linux_bind_args *p = params;
444 iarg[0] = p->s; /* l_int */
445 iarg[1] = p->name; /* l_uintptr_t */
446 iarg[2] = p->namelen; /* l_int */
452 struct linux_listen_args *p = params;
453 iarg[0] = p->s; /* l_int */
454 iarg[1] = p->backlog; /* l_int */
458 /* linux_getsockname */
460 struct linux_getsockname_args *p = params;
461 iarg[0] = p->s; /* l_int */
462 iarg[1] = p->addr; /* l_uintptr_t */
463 iarg[2] = p->namelen; /* l_uintptr_t */
467 /* linux_getpeername */
469 struct linux_getpeername_args *p = params;
470 iarg[0] = p->s; /* l_int */
471 iarg[1] = p->addr; /* l_uintptr_t */
472 iarg[2] = p->namelen; /* l_uintptr_t */
476 /* linux_socketpair */
478 struct linux_socketpair_args *p = params;
479 iarg[0] = p->domain; /* l_int */
480 iarg[1] = p->type; /* l_int */
481 iarg[2] = p->protocol; /* l_int */
482 iarg[3] = p->rsv; /* l_uintptr_t */
486 /* linux_setsockopt */
488 struct linux_setsockopt_args *p = params;
489 iarg[0] = p->s; /* l_int */
490 iarg[1] = p->level; /* l_int */
491 iarg[2] = p->optname; /* l_int */
492 iarg[3] = p->optval; /* l_uintptr_t */
493 iarg[4] = p->optlen; /* l_int */
497 /* linux_getsockopt */
499 struct linux_getsockopt_args *p = params;
500 iarg[0] = p->s; /* l_int */
501 iarg[1] = p->level; /* l_int */
502 iarg[2] = p->optname; /* l_int */
503 iarg[3] = p->optval; /* l_uintptr_t */
504 iarg[4] = p->optlen; /* l_uintptr_t */
510 struct linux_clone_args *p = params;
511 iarg[0] = p->flags; /* l_int */
512 uarg[1] = (intptr_t) p->stack; /* void * */
513 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */
514 uarg[3] = (intptr_t) p->child_tidptr; /* void * */
515 uarg[4] = (intptr_t) p->tls; /* void * */
531 struct linux_execve_args *p = params;
532 uarg[0] = (intptr_t) p->path; /* char * */
533 uarg[1] = (intptr_t) p->argp; /* char ** */
534 uarg[2] = (intptr_t) p->envp; /* char ** */
540 struct linux_exit_args *p = params;
541 iarg[0] = p->rval; /* int */
547 struct linux_wait4_args *p = params;
548 iarg[0] = p->pid; /* l_pid_t */
549 uarg[1] = (intptr_t) p->status; /* l_int * */
550 iarg[2] = p->options; /* l_int */
551 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
557 struct linux_kill_args *p = params;
558 iarg[0] = p->pid; /* l_int */
559 iarg[1] = p->signum; /* l_int */
565 struct linux_newuname_args *p = params;
566 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */
572 struct linux_semget_args *p = params;
573 iarg[0] = p->key; /* l_key_t */
574 iarg[1] = p->nsems; /* l_int */
575 iarg[2] = p->semflg; /* l_int */
581 struct linux_semop_args *p = params;
582 iarg[0] = p->semid; /* l_int */
583 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */
584 iarg[2] = p->nsops; /* l_uint */
590 struct linux_semctl_args *p = params;
591 iarg[0] = p->semid; /* l_int */
592 iarg[1] = p->semnum; /* l_int */
593 iarg[2] = p->cmd; /* l_int */
594 uarg[3] = p->arg; /* union l_semun */
600 struct linux_shmdt_args *p = params;
601 uarg[0] = (intptr_t) p->shmaddr; /* char * */
607 struct linux_msgget_args *p = params;
608 iarg[0] = p->key; /* l_key_t */
609 iarg[1] = p->msgflg; /* l_int */
615 struct linux_msgsnd_args *p = params;
616 iarg[0] = p->msqid; /* l_int */
617 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
618 iarg[2] = p->msgsz; /* l_size_t */
619 iarg[3] = p->msgflg; /* l_int */
625 struct linux_msgrcv_args *p = params;
626 iarg[0] = p->msqid; /* l_int */
627 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */
628 iarg[2] = p->msgsz; /* l_size_t */
629 iarg[3] = p->msgtyp; /* l_long */
630 iarg[4] = p->msgflg; /* l_int */
636 struct linux_msgctl_args *p = params;
637 iarg[0] = p->msqid; /* l_int */
638 iarg[1] = p->cmd; /* l_int */
639 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */
645 struct linux_fcntl_args *p = params;
646 iarg[0] = p->fd; /* l_uint */
647 iarg[1] = p->cmd; /* l_uint */
648 iarg[2] = p->arg; /* l_ulong */
654 struct flock_args *p = params;
655 iarg[0] = p->fd; /* int */
656 iarg[1] = p->how; /* int */
662 struct fsync_args *p = params;
663 iarg[0] = p->fd; /* int */
667 /* linux_fdatasync */
669 struct linux_fdatasync_args *p = params;
670 iarg[0] = p->fd; /* l_uint */
676 struct linux_truncate_args *p = params;
677 uarg[0] = (intptr_t) p->path; /* char * */
678 iarg[1] = p->length; /* l_ulong */
682 /* linux_ftruncate */
684 struct linux_ftruncate_args *p = params;
685 iarg[0] = p->fd; /* l_int */
686 iarg[1] = p->length; /* l_long */
692 struct linux_getdents_args *p = params;
693 iarg[0] = p->fd; /* l_uint */
694 uarg[1] = (intptr_t) p->dent; /* void * */
695 iarg[2] = p->count; /* l_uint */
701 struct linux_getcwd_args *p = params;
702 uarg[0] = (intptr_t) p->buf; /* char * */
703 iarg[1] = p->bufsize; /* l_ulong */
709 struct linux_chdir_args *p = params;
710 uarg[0] = (intptr_t) p->path; /* char * */
716 struct fchdir_args *p = params;
717 iarg[0] = p->fd; /* int */
723 struct linux_rename_args *p = params;
724 uarg[0] = (intptr_t) p->from; /* char * */
725 uarg[1] = (intptr_t) p->to; /* char * */
731 struct linux_mkdir_args *p = params;
732 uarg[0] = (intptr_t) p->path; /* char * */
733 iarg[1] = p->mode; /* l_int */
739 struct linux_rmdir_args *p = params;
740 uarg[0] = (intptr_t) p->path; /* char * */
746 struct linux_creat_args *p = params;
747 uarg[0] = (intptr_t) p->path; /* char * */
748 iarg[1] = p->mode; /* l_int */
754 struct linux_link_args *p = params;
755 uarg[0] = (intptr_t) p->path; /* char * */
756 uarg[1] = (intptr_t) p->to; /* char * */
762 struct linux_unlink_args *p = params;
763 uarg[0] = (intptr_t) p->path; /* char * */
769 struct linux_symlink_args *p = params;
770 uarg[0] = (intptr_t) p->path; /* char * */
771 uarg[1] = (intptr_t) p->to; /* char * */
777 struct linux_readlink_args *p = params;
778 uarg[0] = (intptr_t) p->name; /* char * */
779 uarg[1] = (intptr_t) p->buf; /* char * */
780 iarg[2] = p->count; /* l_int */
786 struct linux_chmod_args *p = params;
787 uarg[0] = (intptr_t) p->path; /* char * */
788 iarg[1] = p->mode; /* l_mode_t */
794 struct fchmod_args *p = params;
795 iarg[0] = p->fd; /* int */
796 iarg[1] = p->mode; /* int */
802 struct linux_chown_args *p = params;
803 uarg[0] = (intptr_t) p->path; /* char * */
804 iarg[1] = p->uid; /* l_uid_t */
805 iarg[2] = p->gid; /* l_gid_t */
811 struct fchown_args *p = params;
812 iarg[0] = p->fd; /* int */
813 iarg[1] = p->uid; /* int */
814 iarg[2] = p->gid; /* int */
820 struct linux_lchown_args *p = params;
821 uarg[0] = (intptr_t) p->path; /* char * */
822 iarg[1] = p->uid; /* l_uid_t */
823 iarg[2] = p->gid; /* l_gid_t */
829 struct umask_args *p = params;
830 iarg[0] = p->newmask; /* int */
836 struct gettimeofday_args *p = params;
837 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
838 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
842 /* linux_getrlimit */
844 struct linux_getrlimit_args *p = params;
845 iarg[0] = p->resource; /* l_uint */
846 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
852 struct getrusage_args *p = params;
853 iarg[0] = p->who; /* int */
854 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
860 struct linux_sysinfo_args *p = params;
861 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */
867 struct linux_times_args *p = params;
868 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */
874 struct linux_ptrace_args *p = params;
875 iarg[0] = p->req; /* l_long */
876 iarg[1] = p->pid; /* l_long */
877 iarg[2] = p->addr; /* l_long */
878 iarg[3] = p->data; /* l_long */
889 struct linux_syslog_args *p = params;
890 iarg[0] = p->type; /* l_int */
891 uarg[1] = (intptr_t) p->buf; /* char * */
892 iarg[2] = p->len; /* l_int */
903 struct setuid_args *p = params;
904 uarg[0] = p->uid; /* uid_t */
910 struct setgid_args *p = params;
911 iarg[0] = p->gid; /* gid_t */
927 struct setpgid_args *p = params;
928 iarg[0] = p->pid; /* int */
929 iarg[1] = p->pgid; /* int */
950 struct setreuid_args *p = params;
951 uarg[0] = p->ruid; /* uid_t */
952 uarg[1] = p->euid; /* uid_t */
958 struct setregid_args *p = params;
959 iarg[0] = p->rgid; /* gid_t */
960 iarg[1] = p->egid; /* gid_t */
964 /* linux_getgroups */
966 struct linux_getgroups_args *p = params;
967 iarg[0] = p->gidsetsize; /* l_int */
968 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
972 /* linux_setgroups */
974 struct linux_setgroups_args *p = params;
975 iarg[0] = p->gidsetsize; /* l_int */
976 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */
982 struct setresuid_args *p = params;
983 uarg[0] = p->ruid; /* uid_t */
984 uarg[1] = p->euid; /* uid_t */
985 uarg[2] = p->suid; /* uid_t */
991 struct getresuid_args *p = params;
992 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
993 uarg[1] = (intptr_t) p->euid; /* uid_t * */
994 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1000 struct setresgid_args *p = params;
1001 iarg[0] = p->rgid; /* gid_t */
1002 iarg[1] = p->egid; /* gid_t */
1003 iarg[2] = p->sgid; /* gid_t */
1009 struct getresgid_args *p = params;
1010 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1011 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1012 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1018 struct getpgid_args *p = params;
1019 iarg[0] = p->pid; /* int */
1023 /* linux_setfsuid */
1025 struct linux_setfsuid_args *p = params;
1026 iarg[0] = p->uid; /* l_uid_t */
1030 /* linux_setfsgid */
1032 struct linux_setfsgid_args *p = params;
1033 iarg[0] = p->gid; /* l_gid_t */
1039 struct linux_getsid_args *p = params;
1040 iarg[0] = p->pid; /* l_pid_t */
1046 struct linux_capget_args *p = params;
1047 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1048 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1054 struct linux_capset_args *p = params;
1055 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */
1056 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */
1060 /* linux_rt_sigpending */
1062 struct linux_rt_sigpending_args *p = params;
1063 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */
1064 iarg[1] = p->sigsetsize; /* l_size_t */
1068 /* linux_rt_sigtimedwait */
1070 struct linux_rt_sigtimedwait_args *p = params;
1071 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */
1072 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */
1073 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */
1074 iarg[3] = p->sigsetsize; /* l_size_t */
1078 /* linux_rt_sigqueueinfo */
1080 struct linux_rt_sigqueueinfo_args *p = params;
1081 iarg[0] = p->pid; /* l_pid_t */
1082 iarg[1] = p->sig; /* l_int */
1083 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1087 /* linux_rt_sigsuspend */
1089 struct linux_rt_sigsuspend_args *p = params;
1090 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */
1091 iarg[1] = p->sigsetsize; /* l_size_t */
1095 /* linux_sigaltstack */
1097 struct linux_sigaltstack_args *p = params;
1098 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */
1099 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */
1105 struct linux_utime_args *p = params;
1106 uarg[0] = (intptr_t) p->fname; /* char * */
1107 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */
1113 struct linux_mknod_args *p = params;
1114 uarg[0] = (intptr_t) p->path; /* char * */
1115 iarg[1] = p->mode; /* l_int */
1116 iarg[2] = p->dev; /* l_dev_t */
1120 /* linux_personality */
1122 struct linux_personality_args *p = params;
1123 iarg[0] = p->per; /* l_ulong */
1129 struct linux_ustat_args *p = params;
1130 iarg[0] = p->dev; /* l_dev_t */
1131 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
1137 struct linux_statfs_args *p = params;
1138 uarg[0] = (intptr_t) p->path; /* char * */
1139 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
1145 struct linux_fstatfs_args *p = params;
1146 iarg[0] = p->fd; /* l_uint */
1147 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
1153 struct linux_sysfs_args *p = params;
1154 iarg[0] = p->option; /* l_int */
1155 iarg[1] = p->arg1; /* l_ulong */
1156 iarg[2] = p->arg2; /* l_ulong */
1160 /* linux_getpriority */
1162 struct linux_getpriority_args *p = params;
1163 iarg[0] = p->which; /* int */
1164 iarg[1] = p->who; /* int */
1170 struct setpriority_args *p = params;
1171 iarg[0] = p->which; /* int */
1172 iarg[1] = p->who; /* int */
1173 iarg[2] = p->prio; /* int */
1177 /* linux_sched_setparam */
1179 struct linux_sched_setparam_args *p = params;
1180 iarg[0] = p->pid; /* l_pid_t */
1181 uarg[1] = (intptr_t) p->param; /* struct l_sched_param * */
1185 /* linux_sched_getparam */
1187 struct linux_sched_getparam_args *p = params;
1188 iarg[0] = p->pid; /* l_pid_t */
1189 uarg[1] = (intptr_t) p->param; /* struct l_sched_param * */
1193 /* linux_sched_setscheduler */
1195 struct linux_sched_setscheduler_args *p = params;
1196 iarg[0] = p->pid; /* l_pid_t */
1197 iarg[1] = p->policy; /* l_int */
1198 uarg[2] = (intptr_t) p->param; /* struct l_sched_param * */
1202 /* linux_sched_getscheduler */
1204 struct linux_sched_getscheduler_args *p = params;
1205 iarg[0] = p->pid; /* l_pid_t */
1209 /* linux_sched_get_priority_max */
1211 struct linux_sched_get_priority_max_args *p = params;
1212 iarg[0] = p->policy; /* l_int */
1216 /* linux_sched_get_priority_min */
1218 struct linux_sched_get_priority_min_args *p = params;
1219 iarg[0] = p->policy; /* l_int */
1223 /* linux_sched_rr_get_interval */
1225 struct linux_sched_rr_get_interval_args *p = params;
1226 iarg[0] = p->pid; /* l_pid_t */
1227 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1233 struct mlock_args *p = params;
1234 uarg[0] = (intptr_t) p->addr; /* const void * */
1235 uarg[1] = p->len; /* size_t */
1241 struct munlock_args *p = params;
1242 uarg[0] = (intptr_t) p->addr; /* const void * */
1243 uarg[1] = p->len; /* size_t */
1249 struct mlockall_args *p = params;
1250 iarg[0] = p->how; /* int */
1264 /* linux_pivot_root */
1271 struct linux_sysctl_args *p = params;
1272 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1278 struct linux_prctl_args *p = params;
1279 iarg[0] = p->option; /* l_int */
1280 iarg[1] = p->arg2; /* l_uintptr_t */
1281 iarg[2] = p->arg3; /* l_uintptr_t */
1282 iarg[3] = p->arg4; /* l_uintptr_t */
1283 iarg[4] = p->arg5; /* l_uintptr_t */
1287 /* linux_arch_prctl */
1289 struct linux_arch_prctl_args *p = params;
1290 iarg[0] = p->code; /* l_int */
1291 iarg[1] = p->addr; /* l_ulong */
1295 /* linux_adjtimex */
1300 /* linux_setrlimit */
1302 struct linux_setrlimit_args *p = params;
1303 iarg[0] = p->resource; /* l_uint */
1304 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1310 struct chroot_args *p = params;
1311 uarg[0] = (intptr_t) p->path; /* char * */
1322 struct acct_args *p = params;
1323 uarg[0] = (intptr_t) p->path; /* char * */
1329 struct settimeofday_args *p = params;
1330 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */
1331 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1337 struct linux_mount_args *p = params;
1338 uarg[0] = (intptr_t) p->specialfile; /* char * */
1339 uarg[1] = (intptr_t) p->dir; /* char * */
1340 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
1341 iarg[3] = p->rwflag; /* l_ulong */
1342 uarg[4] = (intptr_t) p->data; /* void * */
1348 struct linux_umount_args *p = params;
1349 uarg[0] = (intptr_t) p->path; /* char * */
1350 iarg[1] = p->flags; /* l_int */
1356 struct swapon_args *p = params;
1357 uarg[0] = (intptr_t) p->name; /* char * */
1368 struct linux_reboot_args *p = params;
1369 iarg[0] = p->magic1; /* l_int */
1370 iarg[1] = p->magic2; /* l_int */
1371 iarg[2] = p->cmd; /* l_uint */
1372 uarg[3] = (intptr_t) p->arg; /* void * */
1376 /* linux_sethostname */
1378 struct linux_sethostname_args *p = params;
1379 uarg[0] = (intptr_t) p->hostname; /* char * */
1380 iarg[1] = p->len; /* l_uint */
1384 /* linux_setdomainname */
1386 struct linux_setdomainname_args *p = params;
1387 uarg[0] = (intptr_t) p->name; /* char * */
1388 iarg[1] = p->len; /* l_int */
1394 struct linux_iopl_args *p = params;
1395 iarg[0] = p->level; /* l_uint */
1399 /* linux_create_module */
1404 /* linux_init_module */
1409 /* linux_delete_module */
1414 /* linux_get_kernel_syms */
1419 /* linux_query_module */
1424 /* linux_quotactl */
1429 /* linux_nfsservctl */
1444 /* linux_afs_syscall */
1454 /* linux_security */
1464 /* linux_setxattr */
1469 /* linux_lsetxattr */
1474 /* linux_fsetxattr */
1479 /* linux_getxattr */
1484 /* linux_lgetxattr */
1489 /* linux_fgetxattr */
1494 /* linux_listxattr */
1499 /* linux_llistxattr */
1504 /* linux_flistxattr */
1509 /* linux_removexattr */
1514 /* linux_lremovexattr */
1519 /* linux_fremovexattr */
1526 struct linux_tkill_args *p = params;
1527 iarg[0] = p->tid; /* int */
1528 iarg[1] = p->sig; /* int */
1534 struct linux_time_args *p = params;
1535 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
1539 /* linux_sys_futex */
1541 struct linux_sys_futex_args *p = params;
1542 uarg[0] = (intptr_t) p->uaddr; /* void * */
1543 iarg[1] = p->op; /* int */
1544 iarg[2] = p->val; /* int */
1545 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1546 uarg[4] = (intptr_t) p->uaddr2; /* void * */
1547 iarg[5] = p->val3; /* int */
1551 /* linux_sched_setaffinity */
1553 struct linux_sched_setaffinity_args *p = params;
1554 iarg[0] = p->pid; /* l_pid_t */
1555 iarg[1] = p->len; /* l_uint */
1556 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1560 /* linux_sched_getaffinity */
1562 struct linux_sched_getaffinity_args *p = params;
1563 iarg[0] = p->pid; /* l_pid_t */
1564 iarg[1] = p->len; /* l_uint */
1565 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1569 /* linux_set_thread_area */
1574 /* linux_lookup_dcookie */
1579 /* linux_epoll_create */
1581 struct linux_epoll_create_args *p = params;
1582 iarg[0] = p->size; /* l_int */
1586 /* linux_epoll_ctl_old */
1591 /* linux_epoll_wait_old */
1596 /* linux_remap_file_pages */
1601 /* linux_getdents64 */
1603 struct linux_getdents64_args *p = params;
1604 iarg[0] = p->fd; /* l_uint */
1605 uarg[1] = (intptr_t) p->dirent; /* void * */
1606 iarg[2] = p->count; /* l_uint */
1610 /* linux_set_tid_address */
1612 struct linux_set_tid_address_args *p = params;
1613 uarg[0] = (intptr_t) p->tidptr; /* int * */
1617 /* linux_semtimedop */
1622 /* linux_fadvise64 */
1624 struct linux_fadvise64_args *p = params;
1625 iarg[0] = p->fd; /* int */
1626 iarg[1] = p->offset; /* l_loff_t */
1627 iarg[2] = p->len; /* l_size_t */
1628 iarg[3] = p->advice; /* int */
1632 /* linux_timer_create */
1634 struct linux_timer_create_args *p = params;
1635 iarg[0] = p->clock_id; /* clockid_t */
1636 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1637 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1641 /* linux_timer_settime */
1643 struct linux_timer_settime_args *p = params;
1644 iarg[0] = p->timerid; /* l_timer_t */
1645 iarg[1] = p->flags; /* l_int */
1646 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1647 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1651 /* linux_timer_gettime */
1653 struct linux_timer_gettime_args *p = params;
1654 iarg[0] = p->timerid; /* l_timer_t */
1655 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1659 /* linux_timer_getoverrun */
1661 struct linux_timer_getoverrun_args *p = params;
1662 iarg[0] = p->timerid; /* l_timer_t */
1666 /* linux_timer_delete */
1668 struct linux_timer_delete_args *p = params;
1669 iarg[0] = p->timerid; /* l_timer_t */
1673 /* linux_clock_settime */
1675 struct linux_clock_settime_args *p = params;
1676 iarg[0] = p->which; /* clockid_t */
1677 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1681 /* linux_clock_gettime */
1683 struct linux_clock_gettime_args *p = params;
1684 iarg[0] = p->which; /* clockid_t */
1685 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1689 /* linux_clock_getres */
1691 struct linux_clock_getres_args *p = params;
1692 iarg[0] = p->which; /* clockid_t */
1693 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1697 /* linux_clock_nanosleep */
1699 struct linux_clock_nanosleep_args *p = params;
1700 iarg[0] = p->which; /* clockid_t */
1701 iarg[1] = p->flags; /* int */
1702 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1703 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1707 /* linux_exit_group */
1709 struct linux_exit_group_args *p = params;
1710 iarg[0] = p->error_code; /* int */
1714 /* linux_epoll_wait */
1716 struct linux_epoll_wait_args *p = params;
1717 iarg[0] = p->epfd; /* l_int */
1718 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1719 iarg[2] = p->maxevents; /* l_int */
1720 iarg[3] = p->timeout; /* l_int */
1724 /* linux_epoll_ctl */
1726 struct linux_epoll_ctl_args *p = params;
1727 iarg[0] = p->epfd; /* l_int */
1728 iarg[1] = p->op; /* l_int */
1729 iarg[2] = p->fd; /* l_int */
1730 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1736 struct linux_tgkill_args *p = params;
1737 iarg[0] = p->tgid; /* int */
1738 iarg[1] = p->pid; /* int */
1739 iarg[2] = p->sig; /* int */
1745 struct linux_utimes_args *p = params;
1746 uarg[0] = (intptr_t) p->fname; /* char * */
1747 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1756 /* linux_set_mempolicy */
1761 /* linux_get_mempolicy */
1771 /* linux_mq_unlink */
1776 /* linux_mq_timedsend */
1781 /* linux_mq_timedreceive */
1786 /* linux_mq_notify */
1791 /* linux_mq_getsetattr */
1796 /* linux_kexec_load */
1803 struct linux_waitid_args *p = params;
1804 iarg[0] = p->idtype; /* int */
1805 iarg[1] = p->id; /* l_pid_t */
1806 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1807 iarg[3] = p->options; /* int */
1808 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
1817 /* linux_request_key */
1827 /* linux_ioprio_set */
1832 /* linux_ioprio_get */
1837 /* linux_inotify_init */
1842 /* linux_inotify_add_watch */
1847 /* linux_inotify_rm_watch */
1852 /* linux_migrate_pages */
1859 struct linux_openat_args *p = params;
1860 iarg[0] = p->dfd; /* l_int */
1861 uarg[1] = (intptr_t) p->filename; /* const char * */
1862 iarg[2] = p->flags; /* l_int */
1863 iarg[3] = p->mode; /* l_int */
1869 struct linux_mkdirat_args *p = params;
1870 iarg[0] = p->dfd; /* l_int */
1871 uarg[1] = (intptr_t) p->pathname; /* const char * */
1872 iarg[2] = p->mode; /* l_int */
1878 struct linux_mknodat_args *p = params;
1879 iarg[0] = p->dfd; /* l_int */
1880 uarg[1] = (intptr_t) p->filename; /* const char * */
1881 iarg[2] = p->mode; /* l_int */
1882 iarg[3] = p->dev; /* l_uint */
1886 /* linux_fchownat */
1888 struct linux_fchownat_args *p = params;
1889 iarg[0] = p->dfd; /* l_int */
1890 uarg[1] = (intptr_t) p->filename; /* const char * */
1891 iarg[2] = p->uid; /* l_uid_t */
1892 iarg[3] = p->gid; /* l_gid_t */
1893 iarg[4] = p->flag; /* l_int */
1897 /* linux_futimesat */
1899 struct linux_futimesat_args *p = params;
1900 iarg[0] = p->dfd; /* l_int */
1901 uarg[1] = (intptr_t) p->filename; /* char * */
1902 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1906 /* linux_newfstatat */
1908 struct linux_newfstatat_args *p = params;
1909 iarg[0] = p->dfd; /* l_int */
1910 uarg[1] = (intptr_t) p->pathname; /* char * */
1911 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1912 iarg[3] = p->flag; /* l_int */
1916 /* linux_unlinkat */
1918 struct linux_unlinkat_args *p = params;
1919 iarg[0] = p->dfd; /* l_int */
1920 uarg[1] = (intptr_t) p->pathname; /* const char * */
1921 iarg[2] = p->flag; /* l_int */
1925 /* linux_renameat */
1927 struct linux_renameat_args *p = params;
1928 iarg[0] = p->olddfd; /* l_int */
1929 uarg[1] = (intptr_t) p->oldname; /* const char * */
1930 iarg[2] = p->newdfd; /* l_int */
1931 uarg[3] = (intptr_t) p->newname; /* const char * */
1937 struct linux_linkat_args *p = params;
1938 iarg[0] = p->olddfd; /* l_int */
1939 uarg[1] = (intptr_t) p->oldname; /* const char * */
1940 iarg[2] = p->newdfd; /* l_int */
1941 uarg[3] = (intptr_t) p->newname; /* const char * */
1942 iarg[4] = p->flag; /* l_int */
1946 /* linux_symlinkat */
1948 struct linux_symlinkat_args *p = params;
1949 uarg[0] = (intptr_t) p->oldname; /* const char * */
1950 iarg[1] = p->newdfd; /* l_int */
1951 uarg[2] = (intptr_t) p->newname; /* const char * */
1955 /* linux_readlinkat */
1957 struct linux_readlinkat_args *p = params;
1958 iarg[0] = p->dfd; /* l_int */
1959 uarg[1] = (intptr_t) p->path; /* const char * */
1960 uarg[2] = (intptr_t) p->buf; /* char * */
1961 iarg[3] = p->bufsiz; /* l_int */
1965 /* linux_fchmodat */
1967 struct linux_fchmodat_args *p = params;
1968 iarg[0] = p->dfd; /* l_int */
1969 uarg[1] = (intptr_t) p->filename; /* const char * */
1970 iarg[2] = p->mode; /* l_mode_t */
1974 /* linux_faccessat */
1976 struct linux_faccessat_args *p = params;
1977 iarg[0] = p->dfd; /* l_int */
1978 uarg[1] = (intptr_t) p->filename; /* const char * */
1979 iarg[2] = p->amode; /* l_int */
1983 /* linux_pselect6 */
1985 struct linux_pselect6_args *p = params;
1986 iarg[0] = p->nfds; /* l_int */
1987 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
1988 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
1989 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
1990 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
1991 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
1997 struct linux_ppoll_args *p = params;
1998 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1999 uarg[1] = p->nfds; /* uint32_t */
2000 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2001 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2002 iarg[4] = p->ssize; /* l_size_t */
2011 /* linux_set_robust_list */
2013 struct linux_set_robust_list_args *p = params;
2014 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2015 iarg[1] = p->len; /* l_size_t */
2019 /* linux_get_robust_list */
2021 struct linux_get_robust_list_args *p = params;
2022 iarg[0] = p->pid; /* l_int */
2023 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2024 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2038 /* linux_sync_file_range */
2043 /* linux_vmsplice */
2048 /* linux_move_pages */
2053 /* linux_utimensat */
2058 /* linux_epoll_pwait */
2060 struct linux_epoll_pwait_args *p = params;
2061 iarg[0] = p->epfd; /* l_int */
2062 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2063 iarg[2] = p->maxevents; /* l_int */
2064 iarg[3] = p->timeout; /* l_int */
2065 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2069 /* linux_signalfd */
2081 struct linux_eventfd_args *p = params;
2082 iarg[0] = p->initval; /* l_uint */
2086 /* linux_fallocate */
2091 /* linux_timerfd_settime */
2096 /* linux_timerfd_gettime */
2103 struct linux_accept4_args *p = params;
2104 iarg[0] = p->s; /* l_int */
2105 iarg[1] = p->addr; /* l_uintptr_t */
2106 iarg[2] = p->namelen; /* l_uintptr_t */
2107 iarg[3] = p->flags; /* int */
2111 /* linux_signalfd4 */
2116 /* linux_eventfd2 */
2118 struct linux_eventfd2_args *p = params;
2119 iarg[0] = p->initval; /* l_uint */
2120 iarg[1] = p->flags; /* l_int */
2124 /* linux_epoll_create1 */
2126 struct linux_epoll_create1_args *p = params;
2127 iarg[0] = p->flags; /* l_int */
2133 struct linux_dup3_args *p = params;
2134 iarg[0] = p->oldfd; /* l_int */
2135 iarg[1] = p->newfd; /* l_int */
2136 iarg[2] = p->flags; /* l_int */
2142 struct linux_pipe2_args *p = params;
2143 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2144 iarg[1] = p->flags; /* l_int */
2148 /* linux_inotify_init1 */
2163 /* linux_rt_tsigqueueinfo */
2168 /* linux_perf_event_open */
2173 /* linux_recvmmsg */
2178 /* linux_fanotify_init */
2183 /* linux_fanotify_mark */
2188 /* linux_prlimit64 */
2190 struct linux_prlimit64_args *p = params;
2191 iarg[0] = p->pid; /* l_pid_t */
2192 iarg[1] = p->resource; /* l_uint */
2193 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2194 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2198 /* linux_name_to_handle_at */
2203 /* linux_open_by_handle_at */
2208 /* linux_clock_adjtime */
2218 /* linux_sendmmsg */
2228 /* linux_process_vm_readv */
2233 /* linux_process_vm_writev */
2243 /* linux_finit_module */
2254 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2256 const char *p = NULL;
2258 #define nosys linux_nosys
2324 p = "struct l_newstat *";
2330 /* linux_newfstat */
2337 p = "struct l_newstat *";
2343 /* linux_newlstat */
2350 p = "struct l_newstat *";
2360 p = "struct pollfd";
2413 /* linux_mprotect */
2452 /* linux_rt_sigaction */
2459 p = "l_sigaction_t *";
2462 p = "l_sigaction_t *";
2471 /* linux_rt_sigprocmask */
2490 /* linux_rt_sigreturn */
2494 p = "struct l_ucontext *";
2561 p = "struct iovec *";
2577 p = "struct iovec *";
2625 p = "struct l_timeval *";
2746 p = "struct l_shmid_ds *";
2778 /* linux_nanosleep */
2782 p = "const struct l_timespec *";
2785 p = "struct l_timespec *";
2791 /* linux_getitimer */
2798 p = "struct l_itimerval *";
2814 /* linux_setitimer */
2821 p = "struct l_itimerval *";
2824 p = "struct l_itimerval *";
2833 /* linux_sendfile */
2925 /* linux_recvfrom */
2982 /* linux_shutdown */
3024 /* linux_getsockname */
3040 /* linux_getpeername */
3056 /* linux_socketpair */
3075 /* linux_setsockopt */
3097 /* linux_getsockopt */
3186 p = "struct rusage *";
3205 /* linux_newuname */
3209 p = "struct l_new_utsname *";
3238 p = "struct l_sembuf *";
3260 p = "union l_semun";
3296 p = "struct l_msgbuf *";
3315 p = "struct l_msgbuf *";
3340 p = "struct l_msqid_ds *";
3385 /* linux_fdatasync */
3395 /* linux_truncate */
3408 /* linux_ftruncate */
3421 /* linux_getdents */
3555 /* linux_readlink */
3659 p = "struct l_timeval *";
3662 p = "struct timezone *";
3668 /* linux_getrlimit */
3675 p = "struct l_rlimit *";
3688 p = "struct rusage *";
3698 p = "struct l_sysinfo *";
3708 p = "struct l_times_argv *";
3829 /* linux_getgroups */
3842 /* linux_setgroups */
3929 /* linux_setfsuid */
3939 /* linux_setfsgid */
3963 p = "struct l_user_cap_header *";
3966 p = "struct l_user_cap_data *";
3976 p = "struct l_user_cap_header *";
3979 p = "struct l_user_cap_data *";
3985 /* linux_rt_sigpending */
3998 /* linux_rt_sigtimedwait */
4005 p = "l_siginfo_t *";
4008 p = "struct l_timeval *";
4017 /* linux_rt_sigqueueinfo */
4027 p = "l_siginfo_t *";
4033 /* linux_rt_sigsuspend */
4046 /* linux_sigaltstack */
4066 p = "struct l_utimbuf *";
4088 /* linux_personality */
4105 p = "struct l_ustat *";
4118 p = "struct l_statfs_buf *";
4131 p = "struct l_statfs_buf *";
4153 /* linux_getpriority */
4182 /* linux_sched_setparam */
4189 p = "struct l_sched_param *";
4195 /* linux_sched_getparam */
4202 p = "struct l_sched_param *";
4208 /* linux_sched_setscheduler */
4218 p = "struct l_sched_param *";
4224 /* linux_sched_getscheduler */
4234 /* linux_sched_get_priority_max */
4244 /* linux_sched_get_priority_min */
4254 /* linux_sched_rr_get_interval */
4261 p = "struct l_timespec *";
4309 /* linux_pivot_root */
4316 p = "struct l___sysctl_args *";
4344 /* linux_arch_prctl */
4357 /* linux_adjtimex */
4360 /* linux_setrlimit */
4367 p = "struct l_rlimit *";
4400 p = "struct l_timeval *";
4403 p = "struct timezone *";
4476 /* linux_sethostname */
4489 /* linux_setdomainname */
4512 /* linux_create_module */
4515 /* linux_init_module */
4518 /* linux_delete_module */
4521 /* linux_get_kernel_syms */
4524 /* linux_query_module */
4527 /* linux_quotactl */
4530 /* linux_nfsservctl */
4539 /* linux_afs_syscall */
4545 /* linux_security */
4551 /* linux_setxattr */
4554 /* linux_lsetxattr */
4557 /* linux_fsetxattr */
4560 /* linux_getxattr */
4563 /* linux_lgetxattr */
4566 /* linux_fgetxattr */
4569 /* linux_listxattr */
4572 /* linux_llistxattr */
4575 /* linux_flistxattr */
4578 /* linux_removexattr */
4581 /* linux_lremovexattr */
4584 /* linux_fremovexattr */
4610 /* linux_sys_futex */
4623 p = "struct l_timespec *";
4635 /* linux_sched_setaffinity */
4651 /* linux_sched_getaffinity */
4667 /* linux_set_thread_area */
4670 /* linux_lookup_dcookie */
4673 /* linux_epoll_create */
4683 /* linux_epoll_ctl_old */
4686 /* linux_epoll_wait_old */
4689 /* linux_remap_file_pages */
4692 /* linux_getdents64 */
4708 /* linux_set_tid_address */
4718 /* linux_semtimedop */
4721 /* linux_fadvise64 */
4740 /* linux_timer_create */
4747 p = "struct sigevent *";
4756 /* linux_timer_settime */
4766 p = "const struct itimerspec *";
4769 p = "struct itimerspec *";
4775 /* linux_timer_gettime */
4782 p = "struct itimerspec *";
4788 /* linux_timer_getoverrun */
4798 /* linux_timer_delete */
4808 /* linux_clock_settime */
4815 p = "struct l_timespec *";
4821 /* linux_clock_gettime */
4828 p = "struct l_timespec *";
4834 /* linux_clock_getres */
4841 p = "struct l_timespec *";
4847 /* linux_clock_nanosleep */
4857 p = "struct l_timespec *";
4860 p = "struct l_timespec *";
4866 /* linux_exit_group */
4876 /* linux_epoll_wait */
4883 p = "struct epoll_event *";
4895 /* linux_epoll_ctl */
4908 p = "struct epoll_event *";
4937 p = "struct l_timeval *";
4946 /* linux_set_mempolicy */
4949 /* linux_get_mempolicy */
4955 /* linux_mq_unlink */
4958 /* linux_mq_timedsend */
4961 /* linux_mq_timedreceive */
4964 /* linux_mq_notify */
4967 /* linux_mq_getsetattr */
4970 /* linux_kexec_load */
4983 p = "l_siginfo_t *";
4989 p = "struct rusage *";
4998 /* linux_request_key */
5004 /* linux_ioprio_set */
5007 /* linux_ioprio_get */
5010 /* linux_inotify_init */
5013 /* linux_inotify_add_watch */
5016 /* linux_inotify_rm_watch */
5019 /* linux_migrate_pages */
5076 /* linux_fchownat */
5098 /* linux_futimesat */
5108 p = "struct l_timeval *";
5114 /* linux_newfstatat */
5124 p = "struct l_stat64 *";
5133 /* linux_unlinkat */
5149 /* linux_renameat */
5190 /* linux_symlinkat */
5206 /* linux_readlinkat */
5225 /* linux_fchmodat */
5241 /* linux_faccessat */
5257 /* linux_pselect6 */
5273 p = "struct l_timespec *";
5276 p = "l_uintptr_t *";
5286 p = "struct pollfd *";
5292 p = "struct l_timespec *";
5307 /* linux_set_robust_list */
5311 p = "struct linux_robust_list_head *";
5320 /* linux_get_robust_list */
5327 p = "struct linux_robust_list_head *";
5342 /* linux_sync_file_range */
5345 /* linux_vmsplice */
5348 /* linux_move_pages */
5351 /* linux_utimensat */
5354 /* linux_epoll_pwait */
5361 p = "struct epoll_event *";
5376 /* linux_signalfd */
5392 /* linux_fallocate */
5395 /* linux_timerfd_settime */
5398 /* linux_timerfd_gettime */
5420 /* linux_signalfd4 */
5423 /* linux_eventfd2 */
5436 /* linux_epoll_create1 */
5475 /* linux_inotify_init1 */
5484 /* linux_rt_tsigqueueinfo */
5487 /* linux_perf_event_open */
5490 /* linux_recvmmsg */
5493 /* linux_fanotify_init */
5496 /* linux_fanotify_mark */
5499 /* linux_prlimit64 */
5509 p = "struct rlimit *";
5512 p = "struct rlimit *";
5518 /* linux_name_to_handle_at */
5521 /* linux_open_by_handle_at */
5524 /* linux_clock_adjtime */
5530 /* linux_sendmmsg */
5536 /* linux_process_vm_readv */
5539 /* linux_process_vm_writev */
5545 /* linux_finit_module */
5552 strlcpy(desc, p, descsz);
5555 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
5557 const char *p = NULL;
5559 #define nosys linux_nosys
5562 if (ndx == 0 || ndx == 1)
5567 if (ndx == 0 || ndx == 1)
5572 if (ndx == 0 || ndx == 1)
5577 if (ndx == 0 || ndx == 1)
5582 if (ndx == 0 || ndx == 1)
5585 /* linux_newfstat */
5587 if (ndx == 0 || ndx == 1)
5590 /* linux_newlstat */
5592 if (ndx == 0 || ndx == 1)
5597 if (ndx == 0 || ndx == 1)
5602 if (ndx == 0 || ndx == 1)
5607 if (ndx == 0 || ndx == 1)
5610 /* linux_mprotect */
5612 if (ndx == 0 || ndx == 1)
5617 if (ndx == 0 || ndx == 1)
5622 if (ndx == 0 || ndx == 1)
5625 /* linux_rt_sigaction */
5627 if (ndx == 0 || ndx == 1)
5630 /* linux_rt_sigprocmask */
5632 if (ndx == 0 || ndx == 1)
5635 /* linux_rt_sigreturn */
5637 if (ndx == 0 || ndx == 1)
5642 if (ndx == 0 || ndx == 1)
5647 if (ndx == 0 || ndx == 1)
5652 if (ndx == 0 || ndx == 1)
5657 if (ndx == 0 || ndx == 1)
5662 if (ndx == 0 || ndx == 1)
5667 if (ndx == 0 || ndx == 1)
5672 if (ndx == 0 || ndx == 1)
5677 if (ndx == 0 || ndx == 1)
5684 if (ndx == 0 || ndx == 1)
5689 if (ndx == 0 || ndx == 1)
5694 if (ndx == 0 || ndx == 1)
5699 if (ndx == 0 || ndx == 1)
5704 if (ndx == 0 || ndx == 1)
5709 if (ndx == 0 || ndx == 1)
5714 if (ndx == 0 || ndx == 1)
5719 if (ndx == 0 || ndx == 1)
5724 if (ndx == 0 || ndx == 1)
5729 /* linux_nanosleep */
5731 if (ndx == 0 || ndx == 1)
5734 /* linux_getitimer */
5736 if (ndx == 0 || ndx == 1)
5741 if (ndx == 0 || ndx == 1)
5744 /* linux_setitimer */
5746 if (ndx == 0 || ndx == 1)
5751 /* linux_sendfile */
5753 if (ndx == 0 || ndx == 1)
5758 if (ndx == 0 || ndx == 1)
5763 if (ndx == 0 || ndx == 1)
5768 if (ndx == 0 || ndx == 1)
5773 if (ndx == 0 || ndx == 1)
5776 /* linux_recvfrom */
5778 if (ndx == 0 || ndx == 1)
5783 if (ndx == 0 || ndx == 1)
5788 if (ndx == 0 || ndx == 1)
5791 /* linux_shutdown */
5793 if (ndx == 0 || ndx == 1)
5798 if (ndx == 0 || ndx == 1)
5803 if (ndx == 0 || ndx == 1)
5806 /* linux_getsockname */
5808 if (ndx == 0 || ndx == 1)
5811 /* linux_getpeername */
5813 if (ndx == 0 || ndx == 1)
5816 /* linux_socketpair */
5818 if (ndx == 0 || ndx == 1)
5821 /* linux_setsockopt */
5823 if (ndx == 0 || ndx == 1)
5826 /* linux_getsockopt */
5828 if (ndx == 0 || ndx == 1)
5833 if (ndx == 0 || ndx == 1)
5842 if (ndx == 0 || ndx == 1)
5847 if (ndx == 0 || ndx == 1)
5852 if (ndx == 0 || ndx == 1)
5857 if (ndx == 0 || ndx == 1)
5860 /* linux_newuname */
5862 if (ndx == 0 || ndx == 1)
5867 if (ndx == 0 || ndx == 1)
5872 if (ndx == 0 || ndx == 1)
5877 if (ndx == 0 || ndx == 1)
5882 if (ndx == 0 || ndx == 1)
5887 if (ndx == 0 || ndx == 1)
5892 if (ndx == 0 || ndx == 1)
5897 if (ndx == 0 || ndx == 1)
5902 if (ndx == 0 || ndx == 1)
5907 if (ndx == 0 || ndx == 1)
5912 if (ndx == 0 || ndx == 1)
5917 if (ndx == 0 || ndx == 1)
5920 /* linux_fdatasync */
5922 if (ndx == 0 || ndx == 1)
5925 /* linux_truncate */
5927 if (ndx == 0 || ndx == 1)
5930 /* linux_ftruncate */
5932 if (ndx == 0 || ndx == 1)
5935 /* linux_getdents */
5937 if (ndx == 0 || ndx == 1)
5942 if (ndx == 0 || ndx == 1)
5947 if (ndx == 0 || ndx == 1)
5952 if (ndx == 0 || ndx == 1)
5957 if (ndx == 0 || ndx == 1)
5962 if (ndx == 0 || ndx == 1)
5967 if (ndx == 0 || ndx == 1)
5972 if (ndx == 0 || ndx == 1)
5977 if (ndx == 0 || ndx == 1)
5982 if (ndx == 0 || ndx == 1)
5987 if (ndx == 0 || ndx == 1)
5990 /* linux_readlink */
5992 if (ndx == 0 || ndx == 1)
5997 if (ndx == 0 || ndx == 1)
6002 if (ndx == 0 || ndx == 1)
6007 if (ndx == 0 || ndx == 1)
6012 if (ndx == 0 || ndx == 1)
6017 if (ndx == 0 || ndx == 1)
6022 if (ndx == 0 || ndx == 1)
6027 if (ndx == 0 || ndx == 1)
6030 /* linux_getrlimit */
6032 if (ndx == 0 || ndx == 1)
6037 if (ndx == 0 || ndx == 1)
6042 if (ndx == 0 || ndx == 1)
6047 if (ndx == 0 || ndx == 1)
6052 if (ndx == 0 || ndx == 1)
6059 if (ndx == 0 || ndx == 1)
6066 if (ndx == 0 || ndx == 1)
6071 if (ndx == 0 || ndx == 1)
6080 if (ndx == 0 || ndx == 1)
6091 if (ndx == 0 || ndx == 1)
6096 if (ndx == 0 || ndx == 1)
6099 /* linux_getgroups */
6101 if (ndx == 0 || ndx == 1)
6104 /* linux_setgroups */
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_setfsuid */
6136 if (ndx == 0 || ndx == 1)
6139 /* linux_setfsgid */
6141 if (ndx == 0 || ndx == 1)
6146 if (ndx == 0 || ndx == 1)
6151 if (ndx == 0 || ndx == 1)
6156 if (ndx == 0 || ndx == 1)
6159 /* linux_rt_sigpending */
6161 if (ndx == 0 || ndx == 1)
6164 /* linux_rt_sigtimedwait */
6166 if (ndx == 0 || ndx == 1)
6169 /* linux_rt_sigqueueinfo */
6171 if (ndx == 0 || ndx == 1)
6174 /* linux_rt_sigsuspend */
6176 if (ndx == 0 || ndx == 1)
6179 /* linux_sigaltstack */
6181 if (ndx == 0 || ndx == 1)
6186 if (ndx == 0 || ndx == 1)
6191 if (ndx == 0 || ndx == 1)
6194 /* linux_personality */
6196 if (ndx == 0 || ndx == 1)
6201 if (ndx == 0 || ndx == 1)
6206 if (ndx == 0 || ndx == 1)
6211 if (ndx == 0 || ndx == 1)
6216 if (ndx == 0 || ndx == 1)
6219 /* linux_getpriority */
6221 if (ndx == 0 || ndx == 1)
6226 if (ndx == 0 || ndx == 1)
6229 /* linux_sched_setparam */
6231 if (ndx == 0 || ndx == 1)
6234 /* linux_sched_getparam */
6236 if (ndx == 0 || ndx == 1)
6239 /* linux_sched_setscheduler */
6241 if (ndx == 0 || ndx == 1)
6244 /* linux_sched_getscheduler */
6246 if (ndx == 0 || ndx == 1)
6249 /* linux_sched_get_priority_max */
6251 if (ndx == 0 || ndx == 1)
6254 /* linux_sched_get_priority_min */
6256 if (ndx == 0 || ndx == 1)
6259 /* linux_sched_rr_get_interval */
6261 if (ndx == 0 || ndx == 1)
6266 if (ndx == 0 || ndx == 1)
6271 if (ndx == 0 || ndx == 1)
6276 if (ndx == 0 || ndx == 1)
6283 /* linux_pivot_root */
6287 if (ndx == 0 || ndx == 1)
6292 if (ndx == 0 || ndx == 1)
6295 /* linux_arch_prctl */
6297 if (ndx == 0 || ndx == 1)
6300 /* linux_adjtimex */
6302 /* linux_setrlimit */
6304 if (ndx == 0 || ndx == 1)
6309 if (ndx == 0 || ndx == 1)
6316 if (ndx == 0 || ndx == 1)
6321 if (ndx == 0 || ndx == 1)
6326 if (ndx == 0 || ndx == 1)
6331 if (ndx == 0 || ndx == 1)
6336 if (ndx == 0 || ndx == 1)
6343 if (ndx == 0 || ndx == 1)
6346 /* linux_sethostname */
6348 if (ndx == 0 || ndx == 1)
6351 /* linux_setdomainname */
6353 if (ndx == 0 || ndx == 1)
6358 if (ndx == 0 || ndx == 1)
6361 /* linux_create_module */
6363 /* linux_init_module */
6365 /* linux_delete_module */
6367 /* linux_get_kernel_syms */
6369 /* linux_query_module */
6371 /* linux_quotactl */
6373 /* linux_nfsservctl */
6379 /* linux_afs_syscall */
6383 /* linux_security */
6387 /* linux_setxattr */
6389 /* linux_lsetxattr */
6391 /* linux_fsetxattr */
6393 /* linux_getxattr */
6395 /* linux_lgetxattr */
6397 /* linux_fgetxattr */
6399 /* linux_listxattr */
6401 /* linux_llistxattr */
6403 /* linux_flistxattr */
6405 /* linux_removexattr */
6407 /* linux_lremovexattr */
6409 /* linux_fremovexattr */
6413 if (ndx == 0 || ndx == 1)
6418 if (ndx == 0 || ndx == 1)
6421 /* linux_sys_futex */
6423 if (ndx == 0 || ndx == 1)
6426 /* linux_sched_setaffinity */
6428 if (ndx == 0 || ndx == 1)
6431 /* linux_sched_getaffinity */
6433 if (ndx == 0 || ndx == 1)
6436 /* linux_set_thread_area */
6438 /* linux_lookup_dcookie */
6440 /* linux_epoll_create */
6442 if (ndx == 0 || ndx == 1)
6445 /* linux_epoll_ctl_old */
6447 /* linux_epoll_wait_old */
6449 /* linux_remap_file_pages */
6451 /* linux_getdents64 */
6453 if (ndx == 0 || ndx == 1)
6456 /* linux_set_tid_address */
6458 if (ndx == 0 || ndx == 1)
6461 /* linux_semtimedop */
6463 /* linux_fadvise64 */
6465 if (ndx == 0 || ndx == 1)
6468 /* linux_timer_create */
6470 if (ndx == 0 || ndx == 1)
6473 /* linux_timer_settime */
6475 if (ndx == 0 || ndx == 1)
6478 /* linux_timer_gettime */
6480 if (ndx == 0 || ndx == 1)
6483 /* linux_timer_getoverrun */
6485 if (ndx == 0 || ndx == 1)
6488 /* linux_timer_delete */
6490 if (ndx == 0 || ndx == 1)
6493 /* linux_clock_settime */
6495 if (ndx == 0 || ndx == 1)
6498 /* linux_clock_gettime */
6500 if (ndx == 0 || ndx == 1)
6503 /* linux_clock_getres */
6505 if (ndx == 0 || ndx == 1)
6508 /* linux_clock_nanosleep */
6510 if (ndx == 0 || ndx == 1)
6513 /* linux_exit_group */
6515 if (ndx == 0 || ndx == 1)
6518 /* linux_epoll_wait */
6520 if (ndx == 0 || ndx == 1)
6523 /* linux_epoll_ctl */
6525 if (ndx == 0 || ndx == 1)
6530 if (ndx == 0 || ndx == 1)
6535 if (ndx == 0 || ndx == 1)
6540 /* linux_set_mempolicy */
6542 /* linux_get_mempolicy */
6546 /* linux_mq_unlink */
6548 /* linux_mq_timedsend */
6550 /* linux_mq_timedreceive */
6552 /* linux_mq_notify */
6554 /* linux_mq_getsetattr */
6556 /* linux_kexec_load */
6560 if (ndx == 0 || ndx == 1)
6565 /* linux_request_key */
6569 /* linux_ioprio_set */
6571 /* linux_ioprio_get */
6573 /* linux_inotify_init */
6575 /* linux_inotify_add_watch */
6577 /* linux_inotify_rm_watch */
6579 /* linux_migrate_pages */
6583 if (ndx == 0 || ndx == 1)
6588 if (ndx == 0 || ndx == 1)
6593 if (ndx == 0 || ndx == 1)
6596 /* linux_fchownat */
6598 if (ndx == 0 || ndx == 1)
6601 /* linux_futimesat */
6603 if (ndx == 0 || ndx == 1)
6606 /* linux_newfstatat */
6608 if (ndx == 0 || ndx == 1)
6611 /* linux_unlinkat */
6613 if (ndx == 0 || ndx == 1)
6616 /* linux_renameat */
6618 if (ndx == 0 || ndx == 1)
6623 if (ndx == 0 || ndx == 1)
6626 /* linux_symlinkat */
6628 if (ndx == 0 || ndx == 1)
6631 /* linux_readlinkat */
6633 if (ndx == 0 || ndx == 1)
6636 /* linux_fchmodat */
6638 if (ndx == 0 || ndx == 1)
6641 /* linux_faccessat */
6643 if (ndx == 0 || ndx == 1)
6646 /* linux_pselect6 */
6648 if (ndx == 0 || ndx == 1)
6653 if (ndx == 0 || ndx == 1)
6658 /* linux_set_robust_list */
6660 if (ndx == 0 || ndx == 1)
6663 /* linux_get_robust_list */
6665 if (ndx == 0 || ndx == 1)
6672 /* linux_sync_file_range */
6674 /* linux_vmsplice */
6676 /* linux_move_pages */
6678 /* linux_utimensat */
6680 /* linux_epoll_pwait */
6682 if (ndx == 0 || ndx == 1)
6685 /* linux_signalfd */
6691 if (ndx == 0 || ndx == 1)
6694 /* linux_fallocate */
6696 /* linux_timerfd_settime */
6698 /* linux_timerfd_gettime */
6702 if (ndx == 0 || ndx == 1)
6705 /* linux_signalfd4 */
6707 /* linux_eventfd2 */
6709 if (ndx == 0 || ndx == 1)
6712 /* linux_epoll_create1 */
6714 if (ndx == 0 || ndx == 1)
6719 if (ndx == 0 || ndx == 1)
6724 if (ndx == 0 || ndx == 1)
6727 /* linux_inotify_init1 */
6733 /* linux_rt_tsigqueueinfo */
6735 /* linux_perf_event_open */
6737 /* linux_recvmmsg */
6739 /* linux_fanotify_init */
6741 /* linux_fanotify_mark */
6743 /* linux_prlimit64 */
6745 if (ndx == 0 || ndx == 1)
6748 /* linux_name_to_handle_at */
6750 /* linux_open_by_handle_at */
6752 /* linux_clock_adjtime */
6756 /* linux_sendmmsg */
6760 /* linux_process_vm_readv */
6762 /* linux_process_vm_writev */
6766 /* linux_finit_module */
6772 strlcpy(desc, p, descsz);