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 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
77 uarg[1] = p->nfds; /* u_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; /* l_int */
108 iarg[2] = p->prot; /* l_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 linux_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; /* l_int */
358 iarg[1] = p->in; /* l_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; /* l_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.buf; /* 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_ulong */
878 iarg[3] = p->data; /* l_ulong */
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_uint */
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; /* l_int */
1164 iarg[1] = p->who; /* l_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 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 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 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_modify_ldt */
1269 /* linux_pivot_root */
1276 struct linux_sysctl_args *p = params;
1277 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1283 struct linux_prctl_args *p = params;
1284 iarg[0] = p->option; /* l_int */
1285 iarg[1] = p->arg2; /* l_uintptr_t */
1286 iarg[2] = p->arg3; /* l_uintptr_t */
1287 iarg[3] = p->arg4; /* l_uintptr_t */
1288 iarg[4] = p->arg5; /* l_uintptr_t */
1292 /* linux_arch_prctl */
1294 struct linux_arch_prctl_args *p = params;
1295 iarg[0] = p->code; /* l_int */
1296 iarg[1] = p->addr; /* l_ulong */
1300 /* linux_adjtimex */
1305 /* linux_setrlimit */
1307 struct linux_setrlimit_args *p = params;
1308 iarg[0] = p->resource; /* l_uint */
1309 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1315 struct chroot_args *p = params;
1316 uarg[0] = (intptr_t) p->path; /* char * */
1327 struct acct_args *p = params;
1328 uarg[0] = (intptr_t) p->path; /* char * */
1334 struct settimeofday_args *p = params;
1335 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */
1336 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1342 struct linux_mount_args *p = params;
1343 uarg[0] = (intptr_t) p->specialfile; /* char * */
1344 uarg[1] = (intptr_t) p->dir; /* char * */
1345 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
1346 iarg[3] = p->rwflag; /* l_ulong */
1347 uarg[4] = (intptr_t) p->data; /* void * */
1353 struct linux_umount_args *p = params;
1354 uarg[0] = (intptr_t) p->path; /* char * */
1355 iarg[1] = p->flags; /* l_int */
1361 struct swapon_args *p = params;
1362 uarg[0] = (intptr_t) p->name; /* char * */
1373 struct linux_reboot_args *p = params;
1374 iarg[0] = p->magic1; /* l_int */
1375 iarg[1] = p->magic2; /* l_int */
1376 iarg[2] = p->cmd; /* l_uint */
1377 uarg[3] = (intptr_t) p->arg; /* void * */
1381 /* linux_sethostname */
1383 struct linux_sethostname_args *p = params;
1384 uarg[0] = (intptr_t) p->hostname; /* char * */
1385 iarg[1] = p->len; /* l_uint */
1389 /* linux_setdomainname */
1391 struct linux_setdomainname_args *p = params;
1392 uarg[0] = (intptr_t) p->name; /* char * */
1393 iarg[1] = p->len; /* l_int */
1399 struct linux_iopl_args *p = params;
1400 iarg[0] = p->level; /* l_uint */
1409 /* linux_init_module */
1414 /* linux_delete_module */
1419 /* linux_quotactl */
1429 /* linux_readahead */
1434 /* linux_setxattr */
1439 /* linux_lsetxattr */
1444 /* linux_fsetxattr */
1449 /* linux_getxattr */
1454 /* linux_lgetxattr */
1459 /* linux_fgetxattr */
1464 /* linux_listxattr */
1469 /* linux_llistxattr */
1474 /* linux_flistxattr */
1479 /* linux_removexattr */
1484 /* linux_lremovexattr */
1489 /* linux_fremovexattr */
1496 struct linux_tkill_args *p = params;
1497 iarg[0] = p->tid; /* l_int */
1498 iarg[1] = p->sig; /* l_int */
1504 struct linux_time_args *p = params;
1505 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
1509 /* linux_sys_futex */
1511 struct linux_sys_futex_args *p = params;
1512 uarg[0] = (intptr_t) p->uaddr; /* void * */
1513 iarg[1] = p->op; /* l_int */
1514 iarg[2] = p->val; /* l_int */
1515 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1516 uarg[4] = (intptr_t) p->uaddr2; /* void * */
1517 iarg[5] = p->val3; /* l_int */
1521 /* linux_sched_setaffinity */
1523 struct linux_sched_setaffinity_args *p = params;
1524 iarg[0] = p->pid; /* l_pid_t */
1525 iarg[1] = p->len; /* l_uint */
1526 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1530 /* linux_sched_getaffinity */
1532 struct linux_sched_getaffinity_args *p = params;
1533 iarg[0] = p->pid; /* l_pid_t */
1534 iarg[1] = p->len; /* l_uint */
1535 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1539 /* linux_io_setup */
1544 /* linux_io_destroy */
1549 /* linux_io_getevents */
1554 /* linux_io_submit */
1559 /* linux_io_cancel */
1564 /* linux_lookup_dcookie */
1569 /* linux_epoll_create */
1571 struct linux_epoll_create_args *p = params;
1572 iarg[0] = p->size; /* l_int */
1576 /* linux_remap_file_pages */
1581 /* linux_getdents64 */
1583 struct linux_getdents64_args *p = params;
1584 iarg[0] = p->fd; /* l_uint */
1585 uarg[1] = (intptr_t) p->dirent; /* void * */
1586 iarg[2] = p->count; /* l_uint */
1590 /* linux_set_tid_address */
1592 struct linux_set_tid_address_args *p = params;
1593 uarg[0] = (intptr_t) p->tidptr; /* l_int * */
1597 /* linux_restart_syscall */
1602 /* linux_semtimedop */
1607 /* linux_fadvise64 */
1609 struct linux_fadvise64_args *p = params;
1610 iarg[0] = p->fd; /* l_int */
1611 iarg[1] = p->offset; /* l_loff_t */
1612 iarg[2] = p->len; /* l_size_t */
1613 iarg[3] = p->advice; /* l_int */
1617 /* linux_timer_create */
1619 struct linux_timer_create_args *p = params;
1620 iarg[0] = p->clock_id; /* clockid_t */
1621 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1622 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1626 /* linux_timer_settime */
1628 struct linux_timer_settime_args *p = params;
1629 iarg[0] = p->timerid; /* l_timer_t */
1630 iarg[1] = p->flags; /* l_int */
1631 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1632 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1636 /* linux_timer_gettime */
1638 struct linux_timer_gettime_args *p = params;
1639 iarg[0] = p->timerid; /* l_timer_t */
1640 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1644 /* linux_timer_getoverrun */
1646 struct linux_timer_getoverrun_args *p = params;
1647 iarg[0] = p->timerid; /* l_timer_t */
1651 /* linux_timer_delete */
1653 struct linux_timer_delete_args *p = params;
1654 iarg[0] = p->timerid; /* l_timer_t */
1658 /* linux_clock_settime */
1660 struct linux_clock_settime_args *p = params;
1661 iarg[0] = p->which; /* clockid_t */
1662 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1666 /* linux_clock_gettime */
1668 struct linux_clock_gettime_args *p = params;
1669 iarg[0] = p->which; /* clockid_t */
1670 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1674 /* linux_clock_getres */
1676 struct linux_clock_getres_args *p = params;
1677 iarg[0] = p->which; /* clockid_t */
1678 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1682 /* linux_clock_nanosleep */
1684 struct linux_clock_nanosleep_args *p = params;
1685 iarg[0] = p->which; /* clockid_t */
1686 iarg[1] = p->flags; /* int */
1687 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1688 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1692 /* linux_exit_group */
1694 struct linux_exit_group_args *p = params;
1695 iarg[0] = p->error_code; /* l_int */
1699 /* linux_epoll_wait */
1701 struct linux_epoll_wait_args *p = params;
1702 iarg[0] = p->epfd; /* l_int */
1703 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1704 iarg[2] = p->maxevents; /* l_int */
1705 iarg[3] = p->timeout; /* l_int */
1709 /* linux_epoll_ctl */
1711 struct linux_epoll_ctl_args *p = params;
1712 iarg[0] = p->epfd; /* l_int */
1713 iarg[1] = p->op; /* l_int */
1714 iarg[2] = p->fd; /* l_int */
1715 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1721 struct linux_tgkill_args *p = params;
1722 iarg[0] = p->tgid; /* l_int */
1723 iarg[1] = p->pid; /* l_int */
1724 iarg[2] = p->sig; /* l_int */
1730 struct linux_utimes_args *p = params;
1731 uarg[0] = (intptr_t) p->fname; /* char * */
1732 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1741 /* linux_set_mempolicy */
1746 /* linux_get_mempolicy */
1756 /* linux_mq_unlink */
1761 /* linux_mq_timedsend */
1766 /* linux_mq_timedreceive */
1771 /* linux_mq_notify */
1776 /* linux_mq_getsetattr */
1781 /* linux_kexec_load */
1788 struct linux_waitid_args *p = params;
1789 iarg[0] = p->idtype; /* l_int */
1790 iarg[1] = p->id; /* l_pid_t */
1791 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1792 iarg[3] = p->options; /* l_int */
1793 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
1802 /* linux_request_key */
1812 /* linux_ioprio_set */
1817 /* linux_ioprio_get */
1822 /* linux_inotify_init */
1827 /* linux_inotify_add_watch */
1832 /* linux_inotify_rm_watch */
1837 /* linux_migrate_pages */
1844 struct linux_openat_args *p = params;
1845 iarg[0] = p->dfd; /* l_int */
1846 uarg[1] = (intptr_t) p->filename; /* const char * */
1847 iarg[2] = p->flags; /* l_int */
1848 iarg[3] = p->mode; /* l_int */
1854 struct linux_mkdirat_args *p = params;
1855 iarg[0] = p->dfd; /* l_int */
1856 uarg[1] = (intptr_t) p->pathname; /* const char * */
1857 iarg[2] = p->mode; /* l_int */
1863 struct linux_mknodat_args *p = params;
1864 iarg[0] = p->dfd; /* l_int */
1865 uarg[1] = (intptr_t) p->filename; /* const char * */
1866 iarg[2] = p->mode; /* l_int */
1867 iarg[3] = p->dev; /* l_uint */
1871 /* linux_fchownat */
1873 struct linux_fchownat_args *p = params;
1874 iarg[0] = p->dfd; /* l_int */
1875 uarg[1] = (intptr_t) p->filename; /* const char * */
1876 iarg[2] = p->uid; /* l_uid_t */
1877 iarg[3] = p->gid; /* l_gid_t */
1878 iarg[4] = p->flag; /* l_int */
1882 /* linux_futimesat */
1884 struct linux_futimesat_args *p = params;
1885 iarg[0] = p->dfd; /* l_int */
1886 uarg[1] = (intptr_t) p->filename; /* char * */
1887 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1891 /* linux_newfstatat */
1893 struct linux_newfstatat_args *p = params;
1894 iarg[0] = p->dfd; /* l_int */
1895 uarg[1] = (intptr_t) p->pathname; /* char * */
1896 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1897 iarg[3] = p->flag; /* l_int */
1901 /* linux_unlinkat */
1903 struct linux_unlinkat_args *p = params;
1904 iarg[0] = p->dfd; /* l_int */
1905 uarg[1] = (intptr_t) p->pathname; /* const char * */
1906 iarg[2] = p->flag; /* l_int */
1910 /* linux_renameat */
1912 struct linux_renameat_args *p = params;
1913 iarg[0] = p->olddfd; /* l_int */
1914 uarg[1] = (intptr_t) p->oldname; /* const char * */
1915 iarg[2] = p->newdfd; /* l_int */
1916 uarg[3] = (intptr_t) p->newname; /* const char * */
1922 struct linux_linkat_args *p = params;
1923 iarg[0] = p->olddfd; /* l_int */
1924 uarg[1] = (intptr_t) p->oldname; /* const char * */
1925 iarg[2] = p->newdfd; /* l_int */
1926 uarg[3] = (intptr_t) p->newname; /* const char * */
1927 iarg[4] = p->flag; /* l_int */
1931 /* linux_symlinkat */
1933 struct linux_symlinkat_args *p = params;
1934 uarg[0] = (intptr_t) p->oldname; /* const char * */
1935 iarg[1] = p->newdfd; /* l_int */
1936 uarg[2] = (intptr_t) p->newname; /* const char * */
1940 /* linux_readlinkat */
1942 struct linux_readlinkat_args *p = params;
1943 iarg[0] = p->dfd; /* l_int */
1944 uarg[1] = (intptr_t) p->path; /* const char * */
1945 uarg[2] = (intptr_t) p->buf; /* char * */
1946 iarg[3] = p->bufsiz; /* l_int */
1950 /* linux_fchmodat */
1952 struct linux_fchmodat_args *p = params;
1953 iarg[0] = p->dfd; /* l_int */
1954 uarg[1] = (intptr_t) p->filename; /* const char * */
1955 iarg[2] = p->mode; /* l_mode_t */
1959 /* linux_faccessat */
1961 struct linux_faccessat_args *p = params;
1962 iarg[0] = p->dfd; /* l_int */
1963 uarg[1] = (intptr_t) p->filename; /* const char * */
1964 iarg[2] = p->amode; /* l_int */
1968 /* linux_pselect6 */
1970 struct linux_pselect6_args *p = params;
1971 iarg[0] = p->nfds; /* l_int */
1972 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
1973 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
1974 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
1975 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
1976 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
1982 struct linux_ppoll_args *p = params;
1983 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1984 uarg[1] = p->nfds; /* uint32_t */
1985 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
1986 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
1987 iarg[4] = p->ssize; /* l_size_t */
1996 /* linux_set_robust_list */
1998 struct linux_set_robust_list_args *p = params;
1999 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2000 iarg[1] = p->len; /* l_size_t */
2004 /* linux_get_robust_list */
2006 struct linux_get_robust_list_args *p = params;
2007 iarg[0] = p->pid; /* l_int */
2008 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2009 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2015 struct linux_splice_args *p = params;
2016 iarg[0] = p->fd_in; /* int */
2017 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2018 iarg[2] = p->fd_out; /* int */
2019 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2020 iarg[4] = p->len; /* l_size_t */
2021 iarg[5] = p->flags; /* l_uint */
2030 /* linux_sync_file_range */
2032 struct linux_sync_file_range_args *p = params;
2033 iarg[0] = p->fd; /* l_int */
2034 iarg[1] = p->offset; /* l_loff_t */
2035 iarg[2] = p->nbytes; /* l_loff_t */
2036 uarg[3] = p->flags; /* unsigned int */
2040 /* linux_vmsplice */
2045 /* linux_move_pages */
2050 /* linux_utimensat */
2052 struct linux_utimensat_args *p = params;
2053 iarg[0] = p->dfd; /* l_int */
2054 uarg[1] = (intptr_t) p->pathname; /* const char * */
2055 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2056 iarg[3] = p->flags; /* l_int */
2060 /* linux_epoll_pwait */
2062 struct linux_epoll_pwait_args *p = params;
2063 iarg[0] = p->epfd; /* l_int */
2064 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2065 iarg[2] = p->maxevents; /* l_int */
2066 iarg[3] = p->timeout; /* l_int */
2067 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2068 iarg[5] = p->sigsetsize; /* l_size_t */
2072 /* linux_signalfd */
2077 /* linux_timerfd_create */
2079 struct linux_timerfd_create_args *p = params;
2080 iarg[0] = p->clockid; /* l_int */
2081 iarg[1] = p->flags; /* l_int */
2087 struct linux_eventfd_args *p = params;
2088 iarg[0] = p->initval; /* l_uint */
2092 /* linux_fallocate */
2094 struct linux_fallocate_args *p = params;
2095 iarg[0] = p->fd; /* l_int */
2096 iarg[1] = p->mode; /* l_int */
2097 iarg[2] = p->offset; /* l_loff_t */
2098 iarg[3] = p->len; /* l_loff_t */
2102 /* linux_timerfd_settime */
2104 struct linux_timerfd_settime_args *p = params;
2105 iarg[0] = p->fd; /* l_int */
2106 iarg[1] = p->flags; /* l_int */
2107 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2108 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2112 /* linux_timerfd_gettime */
2114 struct linux_timerfd_gettime_args *p = params;
2115 iarg[0] = p->fd; /* l_int */
2116 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2122 struct linux_accept4_args *p = params;
2123 iarg[0] = p->s; /* l_int */
2124 iarg[1] = p->addr; /* l_uintptr_t */
2125 iarg[2] = p->namelen; /* l_uintptr_t */
2126 iarg[3] = p->flags; /* int */
2130 /* linux_signalfd4 */
2135 /* linux_eventfd2 */
2137 struct linux_eventfd2_args *p = params;
2138 iarg[0] = p->initval; /* l_uint */
2139 iarg[1] = p->flags; /* l_int */
2143 /* linux_epoll_create1 */
2145 struct linux_epoll_create1_args *p = params;
2146 iarg[0] = p->flags; /* l_int */
2152 struct linux_dup3_args *p = params;
2153 iarg[0] = p->oldfd; /* l_int */
2154 iarg[1] = p->newfd; /* l_int */
2155 iarg[2] = p->flags; /* l_int */
2161 struct linux_pipe2_args *p = params;
2162 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2163 iarg[1] = p->flags; /* l_int */
2167 /* linux_inotify_init1 */
2169 struct linux_inotify_init1_args *p = params;
2170 iarg[0] = p->flags; /* l_int */
2176 struct linux_preadv_args *p = params;
2177 iarg[0] = p->fd; /* l_ulong */
2178 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2179 iarg[2] = p->vlen; /* l_ulong */
2180 iarg[3] = p->pos_l; /* l_ulong */
2181 iarg[4] = p->pos_h; /* l_ulong */
2187 struct linux_pwritev_args *p = params;
2188 iarg[0] = p->fd; /* l_ulong */
2189 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2190 iarg[2] = p->vlen; /* l_ulong */
2191 iarg[3] = p->pos_l; /* l_ulong */
2192 iarg[4] = p->pos_h; /* l_ulong */
2196 /* linux_rt_tgsigqueueinfo */
2198 struct linux_rt_tgsigqueueinfo_args *p = params;
2199 iarg[0] = p->tgid; /* l_pid_t */
2200 iarg[1] = p->tid; /* l_pid_t */
2201 iarg[2] = p->sig; /* l_int */
2202 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2206 /* linux_perf_event_open */
2211 /* linux_recvmmsg */
2213 struct linux_recvmmsg_args *p = params;
2214 iarg[0] = p->s; /* l_int */
2215 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2216 iarg[2] = p->vlen; /* l_uint */
2217 iarg[3] = p->flags; /* l_uint */
2218 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2222 /* linux_fanotify_init */
2227 /* linux_fanotify_mark */
2232 /* linux_prlimit64 */
2234 struct linux_prlimit64_args *p = params;
2235 iarg[0] = p->pid; /* l_pid_t */
2236 iarg[1] = p->resource; /* l_uint */
2237 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2238 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2242 /* linux_name_to_handle_at */
2247 /* linux_open_by_handle_at */
2252 /* linux_clock_adjtime */
2259 struct linux_syncfs_args *p = params;
2260 iarg[0] = p->fd; /* l_int */
2264 /* linux_sendmmsg */
2266 struct linux_sendmmsg_args *p = params;
2267 iarg[0] = p->s; /* l_int */
2268 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2269 iarg[2] = p->vlen; /* l_uint */
2270 iarg[3] = p->flags; /* l_uint */
2276 struct linux_setns_args *p = params;
2277 iarg[0] = p->fd; /* l_int */
2278 iarg[1] = p->nstype; /* l_int */
2284 struct linux_getcpu_args *p = params;
2285 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2286 uarg[1] = (intptr_t) p->node; /* l_uint * */
2287 uarg[2] = (intptr_t) p->cache; /* void * */
2291 /* linux_process_vm_readv */
2293 struct linux_process_vm_readv_args *p = params;
2294 iarg[0] = p->pid; /* l_pid_t */
2295 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2296 iarg[2] = p->liovcnt; /* l_ulong */
2297 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2298 iarg[4] = p->riovcnt; /* l_ulong */
2299 iarg[5] = p->flags; /* l_ulong */
2303 /* linux_process_vm_writev */
2305 struct linux_process_vm_writev_args *p = params;
2306 iarg[0] = p->pid; /* l_pid_t */
2307 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2308 iarg[2] = p->liovcnt; /* l_ulong */
2309 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2310 iarg[4] = p->riovcnt; /* l_ulong */
2311 iarg[5] = p->flags; /* l_ulong */
2317 struct linux_kcmp_args *p = params;
2318 iarg[0] = p->pid1; /* l_pid_t */
2319 iarg[1] = p->pid2; /* l_pid_t */
2320 iarg[2] = p->type; /* l_int */
2321 iarg[3] = p->idx1; /* l_ulong */
2322 iarg[4] = p->idx; /* l_ulong */
2326 /* linux_finit_module */
2328 struct linux_finit_module_args *p = params;
2329 iarg[0] = p->fd; /* l_int */
2330 uarg[1] = (intptr_t) p->uargs; /* const char * */
2331 iarg[2] = p->flags; /* l_int */
2335 /* linux_sched_setattr */
2337 struct linux_sched_setattr_args *p = params;
2338 iarg[0] = p->pid; /* l_pid_t */
2339 uarg[1] = (intptr_t) p->attr; /* void * */
2340 iarg[2] = p->flags; /* l_uint */
2344 /* linux_sched_getattr */
2346 struct linux_sched_getattr_args *p = params;
2347 iarg[0] = p->pid; /* l_pid_t */
2348 uarg[1] = (intptr_t) p->attr; /* void * */
2349 iarg[2] = p->size; /* l_uint */
2350 iarg[3] = p->flags; /* l_uint */
2354 /* linux_renameat2 */
2356 struct linux_renameat2_args *p = params;
2357 iarg[0] = p->olddfd; /* l_int */
2358 uarg[1] = (intptr_t) p->oldname; /* const char * */
2359 iarg[2] = p->newdfd; /* l_int */
2360 uarg[3] = (intptr_t) p->newname; /* const char * */
2361 uarg[4] = p->flags; /* unsigned int */
2367 struct linux_seccomp_args *p = params;
2368 iarg[0] = p->op; /* l_uint */
2369 iarg[1] = p->flags; /* l_uint */
2370 uarg[2] = (intptr_t) p->uargs; /* const char * */
2374 /* linux_getrandom */
2376 struct linux_getrandom_args *p = params;
2377 uarg[0] = (intptr_t) p->buf; /* char * */
2378 iarg[1] = p->count; /* l_size_t */
2379 iarg[2] = p->flags; /* l_uint */
2383 /* linux_memfd_create */
2385 struct linux_memfd_create_args *p = params;
2386 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2387 iarg[1] = p->flags; /* l_uint */
2391 /* linux_kexec_file_load */
2393 struct linux_kexec_file_load_args *p = params;
2394 iarg[0] = p->kernel_fd; /* l_int */
2395 iarg[1] = p->initrd_fd; /* l_int */
2396 iarg[2] = p->cmdline_len; /* l_ulong */
2397 uarg[3] = (intptr_t) p->cmdline_ptr; /* const char * */
2398 iarg[4] = p->flags; /* l_ulong */
2404 struct linux_bpf_args *p = params;
2405 iarg[0] = p->cmd; /* l_int */
2406 uarg[1] = (intptr_t) p->attr; /* void * */
2407 iarg[2] = p->size; /* l_uint */
2411 /* linux_execveat */
2413 struct linux_execveat_args *p = params;
2414 iarg[0] = p->dfd; /* l_int */
2415 uarg[1] = (intptr_t) p->filename; /* const char * */
2416 uarg[2] = (intptr_t) p->argv; /* const char ** */
2417 uarg[3] = (intptr_t) p->envp; /* const char ** */
2418 iarg[4] = p->flags; /* l_int */
2422 /* linux_userfaultfd */
2424 struct linux_userfaultfd_args *p = params;
2425 iarg[0] = p->flags; /* l_int */
2429 /* linux_membarrier */
2431 struct linux_membarrier_args *p = params;
2432 iarg[0] = p->cmd; /* l_int */
2433 iarg[1] = p->flags; /* l_int */
2439 struct linux_mlock2_args *p = params;
2440 iarg[0] = p->start; /* l_ulong */
2441 iarg[1] = p->len; /* l_size_t */
2442 iarg[2] = p->flags; /* l_int */
2446 /* linux_copy_file_range */
2448 struct linux_copy_file_range_args *p = params;
2449 iarg[0] = p->fd_in; /* l_int */
2450 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2451 iarg[2] = p->fd_out; /* l_int */
2452 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2453 iarg[4] = p->len; /* l_size_t */
2454 iarg[5] = p->flags; /* l_uint */
2460 struct linux_preadv2_args *p = params;
2461 iarg[0] = p->fd; /* l_ulong */
2462 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2463 iarg[2] = p->vlen; /* l_ulong */
2464 iarg[3] = p->pos_l; /* l_ulong */
2465 iarg[4] = p->pos_h; /* l_ulong */
2466 iarg[5] = p->flags; /* l_int */
2470 /* linux_pwritev2 */
2472 struct linux_pwritev2_args *p = params;
2473 iarg[0] = p->fd; /* l_ulong */
2474 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2475 iarg[2] = p->vlen; /* l_ulong */
2476 iarg[3] = p->pos_l; /* l_ulong */
2477 iarg[4] = p->pos_h; /* l_ulong */
2478 iarg[5] = p->flags; /* l_int */
2482 /* linux_pkey_mprotect */
2484 struct linux_pkey_mprotect_args *p = params;
2485 iarg[0] = p->start; /* l_ulong */
2486 iarg[1] = p->len; /* l_size_t */
2487 iarg[2] = p->prot; /* l_ulong */
2488 iarg[3] = p->pkey; /* l_int */
2492 /* linux_pkey_alloc */
2494 struct linux_pkey_alloc_args *p = params;
2495 iarg[0] = p->flags; /* l_ulong */
2496 iarg[1] = p->init_val; /* l_ulong */
2500 /* linux_pkey_free */
2502 struct linux_pkey_free_args *p = params;
2503 iarg[0] = p->pkey; /* l_int */
2509 struct linux_statx_args *p = params;
2510 iarg[0] = p->dirfd; /* l_int */
2511 uarg[1] = (intptr_t) p->pathname; /* const char * */
2512 iarg[2] = p->flags; /* l_uint */
2513 iarg[3] = p->mask; /* l_uint */
2514 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2518 /* linux_io_pgetevents */
2528 /* linux_pidfd_send_signal */
2530 struct linux_pidfd_send_signal_args *p = params;
2531 iarg[0] = p->pidfd; /* l_int */
2532 iarg[1] = p->sig; /* l_int */
2533 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2534 iarg[3] = p->flags; /* l_uint */
2538 /* linux_io_uring_setup */
2543 /* linux_io_uring_enter */
2548 /* linux_io_uring_register */
2559 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2561 const char *p = NULL;
2563 #define nosys linux_nosys
2571 p = "userland char *";
2587 p = "userland char *";
2600 p = "userland char *";
2626 p = "userland char *";
2629 p = "userland struct l_newstat *";
2635 /* linux_newfstat */
2642 p = "userland struct l_newstat *";
2648 /* linux_newlstat */
2652 p = "userland char *";
2655 p = "userland struct l_newstat *";
2665 p = "userland struct pollfd *";
2718 /* linux_mprotect */
2757 /* linux_rt_sigaction */
2764 p = "userland l_sigaction_t *";
2767 p = "userland l_sigaction_t *";
2776 /* linux_rt_sigprocmask */
2783 p = "userland l_sigset_t *";
2786 p = "userland l_sigset_t *";
2795 /* linux_rt_sigreturn */
2799 p = "userland struct l_ucontext *";
2828 p = "userland char *";
2847 p = "userland char *";
2866 p = "userland struct iovec *";
2882 p = "userland struct iovec *";
2895 p = "userland char *";
2908 p = "userland l_ulong *";
2921 p = "userland l_fd_set *";
2924 p = "userland l_fd_set *";
2927 p = "userland l_fd_set *";
2930 p = "userland struct l_timeval *";
2987 p = "userland u_char *";
2997 p = "userland void *";
3032 p = "userland char *";
3051 p = "userland struct l_shmid_ds *";
3083 /* linux_nanosleep */
3087 p = "userland const struct l_timespec *";
3090 p = "userland struct l_timespec *";
3096 /* linux_getitimer */
3103 p = "userland struct l_itimerval *";
3119 /* linux_setitimer */
3126 p = "userland struct l_itimerval *";
3129 p = "userland struct l_itimerval *";
3138 /* linux_sendfile */
3148 p = "userland l_long *";
3230 /* linux_recvfrom */
3287 /* linux_shutdown */
3329 /* linux_getsockname */
3345 /* linux_getpeername */
3361 /* linux_socketpair */
3380 /* linux_setsockopt */
3402 /* linux_getsockopt */
3431 p = "userland void *";
3434 p = "userland void *";
3437 p = "userland void *";
3440 p = "userland void *";
3456 p = "userland char *";
3459 p = "userland char **";
3462 p = "userland char **";
3485 p = "userland l_int *";
3491 p = "userland struct rusage *";
3510 /* linux_newuname */
3514 p = "userland struct l_new_utsname *";
3543 p = "userland struct l_sembuf *";
3565 p = "union l_semun";
3575 p = "userland char *";
3601 p = "userland struct l_msgbuf *";
3620 p = "userland struct l_msgbuf *";
3645 p = "userland struct l_msqid_ds *";
3690 /* linux_fdatasync */
3700 /* linux_truncate */
3704 p = "userland char *";
3713 /* linux_ftruncate */
3726 /* linux_getdents */
3733 p = "userland void *";
3746 p = "userland char *";
3759 p = "userland char *";
3779 p = "userland char *";
3782 p = "userland char *";
3792 p = "userland char *";
3805 p = "userland char *";
3815 p = "userland char *";
3828 p = "userland char *";
3831 p = "userland char *";
3841 p = "userland char *";
3851 p = "userland char *";
3854 p = "userland char *";
3860 /* linux_readlink */
3864 p = "userland char *";
3867 p = "userland char *";
3880 p = "userland char *";
3906 p = "userland char *";
3938 p = "userland char *";
3964 p = "userland struct l_timeval *";
3967 p = "userland struct timezone *";
3973 /* linux_getrlimit */
3980 p = "userland struct l_rlimit *";
3993 p = "userland struct rusage *";
4003 p = "userland struct l_sysinfo *";
4013 p = "userland struct l_times_argv *";
4048 p = "userland char *";
4134 /* linux_getgroups */
4141 p = "userland l_gid_t *";
4147 /* linux_setgroups */
4154 p = "userland l_gid_t *";
4180 p = "userland uid_t *";
4183 p = "userland uid_t *";
4186 p = "userland uid_t *";
4212 p = "userland gid_t *";
4215 p = "userland gid_t *";
4218 p = "userland gid_t *";
4234 /* linux_setfsuid */
4244 /* linux_setfsgid */
4268 p = "userland struct l_user_cap_header *";
4271 p = "userland struct l_user_cap_data *";
4281 p = "userland struct l_user_cap_header *";
4284 p = "userland struct l_user_cap_data *";
4290 /* linux_rt_sigpending */
4294 p = "userland l_sigset_t *";
4303 /* linux_rt_sigtimedwait */
4307 p = "userland l_sigset_t *";
4310 p = "userland l_siginfo_t *";
4313 p = "userland struct l_timeval *";
4322 /* linux_rt_sigqueueinfo */
4332 p = "userland l_siginfo_t *";
4338 /* linux_rt_sigsuspend */
4342 p = "userland l_sigset_t *";
4351 /* linux_sigaltstack */
4355 p = "userland l_stack_t *";
4358 p = "userland l_stack_t *";
4368 p = "userland char *";
4371 p = "userland struct l_utimbuf *";
4381 p = "userland char *";
4393 /* linux_personality */
4410 p = "userland struct l_ustat *";
4420 p = "userland char *";
4423 p = "userland struct l_statfs_buf *";
4436 p = "userland struct l_statfs_buf *";
4458 /* linux_getpriority */
4487 /* linux_sched_setparam */
4494 p = "userland struct sched_param *";
4500 /* linux_sched_getparam */
4507 p = "userland struct sched_param *";
4513 /* linux_sched_setscheduler */
4523 p = "userland struct sched_param *";
4529 /* linux_sched_getscheduler */
4539 /* linux_sched_get_priority_max */
4549 /* linux_sched_get_priority_min */
4559 /* linux_sched_rr_get_interval */
4566 p = "userland struct l_timespec *";
4576 p = "userland const void *";
4589 p = "userland const void *";
4614 /* linux_modify_ldt */
4617 /* linux_pivot_root */
4624 p = "userland struct l___sysctl_args *";
4652 /* linux_arch_prctl */
4665 /* linux_adjtimex */
4668 /* linux_setrlimit */
4675 p = "userland struct l_rlimit *";
4685 p = "userland char *";
4698 p = "userland char *";
4708 p = "userland struct l_timeval *";
4711 p = "userland struct timezone *";
4721 p = "userland char *";
4724 p = "userland char *";
4727 p = "userland char *";
4733 p = "userland void *";
4743 p = "userland char *";
4756 p = "userland char *";
4778 p = "userland void *";
4784 /* linux_sethostname */
4788 p = "userland char *";
4797 /* linux_setdomainname */
4801 p = "userland char *";
4823 /* linux_init_module */
4826 /* linux_delete_module */
4829 /* linux_quotactl */
4835 /* linux_readahead */
4838 /* linux_setxattr */
4841 /* linux_lsetxattr */
4844 /* linux_fsetxattr */
4847 /* linux_getxattr */
4850 /* linux_lgetxattr */
4853 /* linux_fgetxattr */
4856 /* linux_listxattr */
4859 /* linux_llistxattr */
4862 /* linux_flistxattr */
4865 /* linux_removexattr */
4868 /* linux_lremovexattr */
4871 /* linux_fremovexattr */
4891 p = "userland l_time_t *";
4897 /* linux_sys_futex */
4901 p = "userland void *";
4910 p = "userland struct l_timespec *";
4913 p = "userland void *";
4922 /* linux_sched_setaffinity */
4932 p = "userland l_ulong *";
4938 /* linux_sched_getaffinity */
4948 p = "userland l_ulong *";
4954 /* linux_io_setup */
4957 /* linux_io_destroy */
4960 /* linux_io_getevents */
4963 /* linux_io_submit */
4966 /* linux_io_cancel */
4969 /* linux_lookup_dcookie */
4972 /* linux_epoll_create */
4982 /* linux_remap_file_pages */
4985 /* linux_getdents64 */
4992 p = "userland void *";
5001 /* linux_set_tid_address */
5005 p = "userland l_int *";
5011 /* linux_restart_syscall */
5014 /* linux_semtimedop */
5017 /* linux_fadvise64 */
5036 /* linux_timer_create */
5043 p = "userland struct sigevent *";
5046 p = "userland l_timer_t *";
5052 /* linux_timer_settime */
5062 p = "userland const struct itimerspec *";
5065 p = "userland struct itimerspec *";
5071 /* linux_timer_gettime */
5078 p = "userland struct itimerspec *";
5084 /* linux_timer_getoverrun */
5094 /* linux_timer_delete */
5104 /* linux_clock_settime */
5111 p = "userland struct l_timespec *";
5117 /* linux_clock_gettime */
5124 p = "userland struct l_timespec *";
5130 /* linux_clock_getres */
5137 p = "userland struct l_timespec *";
5143 /* linux_clock_nanosleep */
5153 p = "userland struct l_timespec *";
5156 p = "userland struct l_timespec *";
5162 /* linux_exit_group */
5172 /* linux_epoll_wait */
5179 p = "userland struct epoll_event *";
5191 /* linux_epoll_ctl */
5204 p = "userland struct epoll_event *";
5230 p = "userland char *";
5233 p = "userland struct l_timeval *";
5242 /* linux_set_mempolicy */
5245 /* linux_get_mempolicy */
5251 /* linux_mq_unlink */
5254 /* linux_mq_timedsend */
5257 /* linux_mq_timedreceive */
5260 /* linux_mq_notify */
5263 /* linux_mq_getsetattr */
5266 /* linux_kexec_load */
5279 p = "userland l_siginfo_t *";
5285 p = "userland struct rusage *";
5294 /* linux_request_key */
5300 /* linux_ioprio_set */
5303 /* linux_ioprio_get */
5306 /* linux_inotify_init */
5309 /* linux_inotify_add_watch */
5312 /* linux_inotify_rm_watch */
5315 /* linux_migrate_pages */
5325 p = "userland const char *";
5344 p = "userland const char *";
5360 p = "userland const char *";
5372 /* linux_fchownat */
5379 p = "userland const char *";
5394 /* linux_futimesat */
5401 p = "userland char *";
5404 p = "userland struct l_timeval *";
5410 /* linux_newfstatat */
5417 p = "userland char *";
5420 p = "userland struct l_stat64 *";
5429 /* linux_unlinkat */
5436 p = "userland const char *";
5445 /* linux_renameat */
5452 p = "userland const char *";
5458 p = "userland const char *";
5471 p = "userland const char *";
5477 p = "userland const char *";
5486 /* linux_symlinkat */
5490 p = "userland const char *";
5496 p = "userland const char *";
5502 /* linux_readlinkat */
5509 p = "userland const char *";
5512 p = "userland char *";
5521 /* linux_fchmodat */
5528 p = "userland const char *";
5537 /* linux_faccessat */
5544 p = "userland const char *";
5553 /* linux_pselect6 */
5560 p = "userland l_fd_set *";
5563 p = "userland l_fd_set *";
5566 p = "userland l_fd_set *";
5569 p = "userland struct l_timespec *";
5572 p = "userland l_uintptr_t *";
5582 p = "userland struct pollfd *";
5588 p = "userland struct l_timespec *";
5591 p = "userland l_sigset_t *";
5603 /* linux_set_robust_list */
5607 p = "userland struct linux_robust_list_head *";
5616 /* linux_get_robust_list */
5623 p = "userland struct linux_robust_list_head **";
5626 p = "userland l_size_t *";
5639 p = "userland l_loff_t *";
5645 p = "userland l_loff_t *";
5660 /* linux_sync_file_range */
5679 /* linux_vmsplice */
5682 /* linux_move_pages */
5685 /* linux_utimensat */
5692 p = "userland const char *";
5695 p = "userland const struct l_timespec *";
5704 /* linux_epoll_pwait */
5711 p = "userland struct epoll_event *";
5720 p = "userland l_sigset_t *";
5729 /* linux_signalfd */
5732 /* linux_timerfd_create */
5755 /* linux_fallocate */
5774 /* linux_timerfd_settime */
5784 p = "userland const struct l_itimerspec *";
5787 p = "userland struct l_itimerspec *";
5793 /* linux_timerfd_gettime */
5800 p = "userland struct l_itimerspec *";
5825 /* linux_signalfd4 */
5828 /* linux_eventfd2 */
5841 /* linux_epoll_create1 */
5871 p = "userland l_int *";
5880 /* linux_inotify_init1 */
5897 p = "userland struct iovec *";
5919 p = "userland struct iovec *";
5934 /* linux_rt_tgsigqueueinfo */
5947 p = "userland l_siginfo_t *";
5953 /* linux_perf_event_open */
5956 /* linux_recvmmsg */
5963 p = "userland struct l_mmsghdr *";
5972 p = "userland struct l_timespec *";
5978 /* linux_fanotify_init */
5981 /* linux_fanotify_mark */
5984 /* linux_prlimit64 */
5994 p = "userland struct rlimit *";
5997 p = "userland struct rlimit *";
6003 /* linux_name_to_handle_at */
6006 /* linux_open_by_handle_at */
6009 /* linux_clock_adjtime */
6022 /* linux_sendmmsg */
6029 p = "userland struct l_mmsghdr *";
6058 p = "userland l_uint *";
6061 p = "userland l_uint *";
6064 p = "userland void *";
6070 /* linux_process_vm_readv */
6077 p = "userland const struct iovec *";
6083 p = "userland const struct iovec *";
6095 /* linux_process_vm_writev */
6102 p = "userland const struct iovec *";
6108 p = "userland const struct iovec *";
6142 /* linux_finit_module */
6149 p = "userland const char *";
6158 /* linux_sched_setattr */
6165 p = "userland void *";
6174 /* linux_sched_getattr */
6181 p = "userland void *";
6193 /* linux_renameat2 */
6200 p = "userland const char *";
6206 p = "userland const char *";
6225 p = "userland const char *";
6231 /* linux_getrandom */
6235 p = "userland char *";
6247 /* linux_memfd_create */
6251 p = "userland const char *";
6260 /* linux_kexec_file_load */
6273 p = "userland const char *";
6289 p = "userland void *";
6298 /* linux_execveat */
6305 p = "userland const char *";
6308 p = "userland const char **";
6311 p = "userland const char **";
6320 /* linux_userfaultfd */
6330 /* linux_membarrier */
6359 /* linux_copy_file_range */
6366 p = "userland l_loff_t *";
6372 p = "userland l_loff_t *";
6391 p = "userland const struct iovec *";
6409 /* linux_pwritev2 */
6416 p = "userland const struct iovec *";
6434 /* linux_pkey_mprotect */
6453 /* linux_pkey_alloc */
6466 /* linux_pkey_free */
6483 p = "userland const char *";
6492 p = "userland void *";
6498 /* linux_io_pgetevents */
6504 /* linux_pidfd_send_signal */
6514 p = "userland l_siginfo_t *";
6523 /* linux_io_uring_setup */
6526 /* linux_io_uring_enter */
6529 /* linux_io_uring_register */
6536 strlcpy(desc, p, descsz);
6539 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6541 const char *p = NULL;
6543 #define nosys linux_nosys
6546 if (ndx == 0 || ndx == 1)
6551 if (ndx == 0 || ndx == 1)
6556 if (ndx == 0 || ndx == 1)
6561 if (ndx == 0 || ndx == 1)
6566 if (ndx == 0 || ndx == 1)
6569 /* linux_newfstat */
6571 if (ndx == 0 || ndx == 1)
6574 /* linux_newlstat */
6576 if (ndx == 0 || ndx == 1)
6581 if (ndx == 0 || ndx == 1)
6586 if (ndx == 0 || ndx == 1)
6591 if (ndx == 0 || ndx == 1)
6594 /* linux_mprotect */
6596 if (ndx == 0 || ndx == 1)
6601 if (ndx == 0 || ndx == 1)
6606 if (ndx == 0 || ndx == 1)
6609 /* linux_rt_sigaction */
6611 if (ndx == 0 || ndx == 1)
6614 /* linux_rt_sigprocmask */
6616 if (ndx == 0 || ndx == 1)
6619 /* linux_rt_sigreturn */
6621 if (ndx == 0 || ndx == 1)
6626 if (ndx == 0 || ndx == 1)
6631 if (ndx == 0 || ndx == 1)
6636 if (ndx == 0 || ndx == 1)
6641 if (ndx == 0 || ndx == 1)
6646 if (ndx == 0 || ndx == 1)
6651 if (ndx == 0 || ndx == 1)
6656 if (ndx == 0 || ndx == 1)
6661 if (ndx == 0 || ndx == 1)
6668 if (ndx == 0 || ndx == 1)
6673 if (ndx == 0 || ndx == 1)
6678 if (ndx == 0 || ndx == 1)
6683 if (ndx == 0 || ndx == 1)
6688 if (ndx == 0 || ndx == 1)
6693 if (ndx == 0 || ndx == 1)
6698 if (ndx == 0 || ndx == 1)
6703 if (ndx == 0 || ndx == 1)
6708 if (ndx == 0 || ndx == 1)
6713 /* linux_nanosleep */
6715 if (ndx == 0 || ndx == 1)
6718 /* linux_getitimer */
6720 if (ndx == 0 || ndx == 1)
6725 if (ndx == 0 || ndx == 1)
6728 /* linux_setitimer */
6730 if (ndx == 0 || ndx == 1)
6735 /* linux_sendfile */
6737 if (ndx == 0 || ndx == 1)
6742 if (ndx == 0 || ndx == 1)
6747 if (ndx == 0 || ndx == 1)
6752 if (ndx == 0 || ndx == 1)
6757 if (ndx == 0 || ndx == 1)
6760 /* linux_recvfrom */
6762 if (ndx == 0 || ndx == 1)
6767 if (ndx == 0 || ndx == 1)
6772 if (ndx == 0 || ndx == 1)
6775 /* linux_shutdown */
6777 if (ndx == 0 || ndx == 1)
6782 if (ndx == 0 || ndx == 1)
6787 if (ndx == 0 || ndx == 1)
6790 /* linux_getsockname */
6792 if (ndx == 0 || ndx == 1)
6795 /* linux_getpeername */
6797 if (ndx == 0 || ndx == 1)
6800 /* linux_socketpair */
6802 if (ndx == 0 || ndx == 1)
6805 /* linux_setsockopt */
6807 if (ndx == 0 || ndx == 1)
6810 /* linux_getsockopt */
6812 if (ndx == 0 || ndx == 1)
6817 if (ndx == 0 || ndx == 1)
6826 if (ndx == 0 || ndx == 1)
6831 if (ndx == 0 || ndx == 1)
6836 if (ndx == 0 || ndx == 1)
6841 if (ndx == 0 || ndx == 1)
6844 /* linux_newuname */
6846 if (ndx == 0 || ndx == 1)
6851 if (ndx == 0 || ndx == 1)
6856 if (ndx == 0 || ndx == 1)
6861 if (ndx == 0 || ndx == 1)
6866 if (ndx == 0 || ndx == 1)
6871 if (ndx == 0 || ndx == 1)
6876 if (ndx == 0 || ndx == 1)
6881 if (ndx == 0 || ndx == 1)
6886 if (ndx == 0 || ndx == 1)
6891 if (ndx == 0 || ndx == 1)
6896 if (ndx == 0 || ndx == 1)
6901 if (ndx == 0 || ndx == 1)
6904 /* linux_fdatasync */
6906 if (ndx == 0 || ndx == 1)
6909 /* linux_truncate */
6911 if (ndx == 0 || ndx == 1)
6914 /* linux_ftruncate */
6916 if (ndx == 0 || ndx == 1)
6919 /* linux_getdents */
6921 if (ndx == 0 || ndx == 1)
6926 if (ndx == 0 || ndx == 1)
6931 if (ndx == 0 || ndx == 1)
6936 if (ndx == 0 || ndx == 1)
6941 if (ndx == 0 || ndx == 1)
6946 if (ndx == 0 || ndx == 1)
6951 if (ndx == 0 || ndx == 1)
6956 if (ndx == 0 || ndx == 1)
6961 if (ndx == 0 || ndx == 1)
6966 if (ndx == 0 || ndx == 1)
6971 if (ndx == 0 || ndx == 1)
6974 /* linux_readlink */
6976 if (ndx == 0 || ndx == 1)
6981 if (ndx == 0 || ndx == 1)
6986 if (ndx == 0 || ndx == 1)
6991 if (ndx == 0 || ndx == 1)
6996 if (ndx == 0 || ndx == 1)
7001 if (ndx == 0 || ndx == 1)
7006 if (ndx == 0 || ndx == 1)
7011 if (ndx == 0 || ndx == 1)
7014 /* linux_getrlimit */
7016 if (ndx == 0 || ndx == 1)
7021 if (ndx == 0 || ndx == 1)
7026 if (ndx == 0 || ndx == 1)
7031 if (ndx == 0 || ndx == 1)
7036 if (ndx == 0 || ndx == 1)
7043 if (ndx == 0 || ndx == 1)
7050 if (ndx == 0 || ndx == 1)
7055 if (ndx == 0 || ndx == 1)
7064 if (ndx == 0 || ndx == 1)
7075 if (ndx == 0 || ndx == 1)
7080 if (ndx == 0 || ndx == 1)
7083 /* linux_getgroups */
7085 if (ndx == 0 || ndx == 1)
7088 /* linux_setgroups */
7090 if (ndx == 0 || ndx == 1)
7095 if (ndx == 0 || ndx == 1)
7100 if (ndx == 0 || ndx == 1)
7105 if (ndx == 0 || ndx == 1)
7110 if (ndx == 0 || ndx == 1)
7115 if (ndx == 0 || ndx == 1)
7118 /* linux_setfsuid */
7120 if (ndx == 0 || ndx == 1)
7123 /* linux_setfsgid */
7125 if (ndx == 0 || ndx == 1)
7130 if (ndx == 0 || ndx == 1)
7135 if (ndx == 0 || ndx == 1)
7140 if (ndx == 0 || ndx == 1)
7143 /* linux_rt_sigpending */
7145 if (ndx == 0 || ndx == 1)
7148 /* linux_rt_sigtimedwait */
7150 if (ndx == 0 || ndx == 1)
7153 /* linux_rt_sigqueueinfo */
7155 if (ndx == 0 || ndx == 1)
7158 /* linux_rt_sigsuspend */
7160 if (ndx == 0 || ndx == 1)
7163 /* linux_sigaltstack */
7165 if (ndx == 0 || ndx == 1)
7170 if (ndx == 0 || ndx == 1)
7175 if (ndx == 0 || ndx == 1)
7178 /* linux_personality */
7180 if (ndx == 0 || ndx == 1)
7185 if (ndx == 0 || ndx == 1)
7190 if (ndx == 0 || ndx == 1)
7195 if (ndx == 0 || ndx == 1)
7200 if (ndx == 0 || ndx == 1)
7203 /* linux_getpriority */
7205 if (ndx == 0 || ndx == 1)
7210 if (ndx == 0 || ndx == 1)
7213 /* linux_sched_setparam */
7215 if (ndx == 0 || ndx == 1)
7218 /* linux_sched_getparam */
7220 if (ndx == 0 || ndx == 1)
7223 /* linux_sched_setscheduler */
7225 if (ndx == 0 || ndx == 1)
7228 /* linux_sched_getscheduler */
7230 if (ndx == 0 || ndx == 1)
7233 /* linux_sched_get_priority_max */
7235 if (ndx == 0 || ndx == 1)
7238 /* linux_sched_get_priority_min */
7240 if (ndx == 0 || ndx == 1)
7243 /* linux_sched_rr_get_interval */
7245 if (ndx == 0 || ndx == 1)
7250 if (ndx == 0 || ndx == 1)
7255 if (ndx == 0 || ndx == 1)
7260 if (ndx == 0 || ndx == 1)
7267 /* linux_modify_ldt */
7269 /* linux_pivot_root */
7273 if (ndx == 0 || ndx == 1)
7278 if (ndx == 0 || ndx == 1)
7281 /* linux_arch_prctl */
7283 if (ndx == 0 || ndx == 1)
7286 /* linux_adjtimex */
7288 /* linux_setrlimit */
7290 if (ndx == 0 || ndx == 1)
7295 if (ndx == 0 || ndx == 1)
7302 if (ndx == 0 || ndx == 1)
7307 if (ndx == 0 || ndx == 1)
7312 if (ndx == 0 || ndx == 1)
7317 if (ndx == 0 || ndx == 1)
7322 if (ndx == 0 || ndx == 1)
7329 if (ndx == 0 || ndx == 1)
7332 /* linux_sethostname */
7334 if (ndx == 0 || ndx == 1)
7337 /* linux_setdomainname */
7339 if (ndx == 0 || ndx == 1)
7344 if (ndx == 0 || ndx == 1)
7349 /* linux_init_module */
7351 /* linux_delete_module */
7353 /* linux_quotactl */
7357 /* linux_readahead */
7359 /* linux_setxattr */
7361 /* linux_lsetxattr */
7363 /* linux_fsetxattr */
7365 /* linux_getxattr */
7367 /* linux_lgetxattr */
7369 /* linux_fgetxattr */
7371 /* linux_listxattr */
7373 /* linux_llistxattr */
7375 /* linux_flistxattr */
7377 /* linux_removexattr */
7379 /* linux_lremovexattr */
7381 /* linux_fremovexattr */
7385 if (ndx == 0 || ndx == 1)
7390 if (ndx == 0 || ndx == 1)
7393 /* linux_sys_futex */
7395 if (ndx == 0 || ndx == 1)
7398 /* linux_sched_setaffinity */
7400 if (ndx == 0 || ndx == 1)
7403 /* linux_sched_getaffinity */
7405 if (ndx == 0 || ndx == 1)
7408 /* linux_io_setup */
7410 /* linux_io_destroy */
7412 /* linux_io_getevents */
7414 /* linux_io_submit */
7416 /* linux_io_cancel */
7418 /* linux_lookup_dcookie */
7420 /* linux_epoll_create */
7422 if (ndx == 0 || ndx == 1)
7425 /* linux_remap_file_pages */
7427 /* linux_getdents64 */
7429 if (ndx == 0 || ndx == 1)
7432 /* linux_set_tid_address */
7434 if (ndx == 0 || ndx == 1)
7437 /* linux_restart_syscall */
7439 /* linux_semtimedop */
7441 /* linux_fadvise64 */
7443 if (ndx == 0 || ndx == 1)
7446 /* linux_timer_create */
7448 if (ndx == 0 || ndx == 1)
7451 /* linux_timer_settime */
7453 if (ndx == 0 || ndx == 1)
7456 /* linux_timer_gettime */
7458 if (ndx == 0 || ndx == 1)
7461 /* linux_timer_getoverrun */
7463 if (ndx == 0 || ndx == 1)
7466 /* linux_timer_delete */
7468 if (ndx == 0 || ndx == 1)
7471 /* linux_clock_settime */
7473 if (ndx == 0 || ndx == 1)
7476 /* linux_clock_gettime */
7478 if (ndx == 0 || ndx == 1)
7481 /* linux_clock_getres */
7483 if (ndx == 0 || ndx == 1)
7486 /* linux_clock_nanosleep */
7488 if (ndx == 0 || ndx == 1)
7491 /* linux_exit_group */
7493 if (ndx == 0 || ndx == 1)
7496 /* linux_epoll_wait */
7498 if (ndx == 0 || ndx == 1)
7501 /* linux_epoll_ctl */
7503 if (ndx == 0 || ndx == 1)
7508 if (ndx == 0 || ndx == 1)
7513 if (ndx == 0 || ndx == 1)
7518 /* linux_set_mempolicy */
7520 /* linux_get_mempolicy */
7524 /* linux_mq_unlink */
7526 /* linux_mq_timedsend */
7528 /* linux_mq_timedreceive */
7530 /* linux_mq_notify */
7532 /* linux_mq_getsetattr */
7534 /* linux_kexec_load */
7538 if (ndx == 0 || ndx == 1)
7543 /* linux_request_key */
7547 /* linux_ioprio_set */
7549 /* linux_ioprio_get */
7551 /* linux_inotify_init */
7553 /* linux_inotify_add_watch */
7555 /* linux_inotify_rm_watch */
7557 /* linux_migrate_pages */
7561 if (ndx == 0 || ndx == 1)
7566 if (ndx == 0 || ndx == 1)
7571 if (ndx == 0 || ndx == 1)
7574 /* linux_fchownat */
7576 if (ndx == 0 || ndx == 1)
7579 /* linux_futimesat */
7581 if (ndx == 0 || ndx == 1)
7584 /* linux_newfstatat */
7586 if (ndx == 0 || ndx == 1)
7589 /* linux_unlinkat */
7591 if (ndx == 0 || ndx == 1)
7594 /* linux_renameat */
7596 if (ndx == 0 || ndx == 1)
7601 if (ndx == 0 || ndx == 1)
7604 /* linux_symlinkat */
7606 if (ndx == 0 || ndx == 1)
7609 /* linux_readlinkat */
7611 if (ndx == 0 || ndx == 1)
7614 /* linux_fchmodat */
7616 if (ndx == 0 || ndx == 1)
7619 /* linux_faccessat */
7621 if (ndx == 0 || ndx == 1)
7624 /* linux_pselect6 */
7626 if (ndx == 0 || ndx == 1)
7631 if (ndx == 0 || ndx == 1)
7636 /* linux_set_robust_list */
7638 if (ndx == 0 || ndx == 1)
7641 /* linux_get_robust_list */
7643 if (ndx == 0 || ndx == 1)
7648 if (ndx == 0 || ndx == 1)
7653 /* linux_sync_file_range */
7655 if (ndx == 0 || ndx == 1)
7658 /* linux_vmsplice */
7660 /* linux_move_pages */
7662 /* linux_utimensat */
7664 if (ndx == 0 || ndx == 1)
7667 /* linux_epoll_pwait */
7669 if (ndx == 0 || ndx == 1)
7672 /* linux_signalfd */
7674 /* linux_timerfd_create */
7676 if (ndx == 0 || ndx == 1)
7681 if (ndx == 0 || ndx == 1)
7684 /* linux_fallocate */
7686 if (ndx == 0 || ndx == 1)
7689 /* linux_timerfd_settime */
7691 if (ndx == 0 || ndx == 1)
7694 /* linux_timerfd_gettime */
7696 if (ndx == 0 || ndx == 1)
7701 if (ndx == 0 || ndx == 1)
7704 /* linux_signalfd4 */
7706 /* linux_eventfd2 */
7708 if (ndx == 0 || ndx == 1)
7711 /* linux_epoll_create1 */
7713 if (ndx == 0 || ndx == 1)
7718 if (ndx == 0 || ndx == 1)
7723 if (ndx == 0 || ndx == 1)
7726 /* linux_inotify_init1 */
7728 if (ndx == 0 || ndx == 1)
7733 if (ndx == 0 || ndx == 1)
7738 if (ndx == 0 || ndx == 1)
7741 /* linux_rt_tgsigqueueinfo */
7743 if (ndx == 0 || ndx == 1)
7746 /* linux_perf_event_open */
7748 /* linux_recvmmsg */
7750 if (ndx == 0 || ndx == 1)
7753 /* linux_fanotify_init */
7755 /* linux_fanotify_mark */
7757 /* linux_prlimit64 */
7759 if (ndx == 0 || ndx == 1)
7762 /* linux_name_to_handle_at */
7764 /* linux_open_by_handle_at */
7766 /* linux_clock_adjtime */
7770 if (ndx == 0 || ndx == 1)
7773 /* linux_sendmmsg */
7775 if (ndx == 0 || ndx == 1)
7780 if (ndx == 0 || ndx == 1)
7785 if (ndx == 0 || ndx == 1)
7788 /* linux_process_vm_readv */
7790 if (ndx == 0 || ndx == 1)
7793 /* linux_process_vm_writev */
7795 if (ndx == 0 || ndx == 1)
7800 if (ndx == 0 || ndx == 1)
7803 /* linux_finit_module */
7805 if (ndx == 0 || ndx == 1)
7808 /* linux_sched_setattr */
7810 if (ndx == 0 || ndx == 1)
7813 /* linux_sched_getattr */
7815 if (ndx == 0 || ndx == 1)
7818 /* linux_renameat2 */
7820 if (ndx == 0 || ndx == 1)
7825 if (ndx == 0 || ndx == 1)
7828 /* linux_getrandom */
7830 if (ndx == 0 || ndx == 1)
7833 /* linux_memfd_create */
7835 if (ndx == 0 || ndx == 1)
7838 /* linux_kexec_file_load */
7840 if (ndx == 0 || ndx == 1)
7845 if (ndx == 0 || ndx == 1)
7848 /* linux_execveat */
7850 if (ndx == 0 || ndx == 1)
7853 /* linux_userfaultfd */
7855 if (ndx == 0 || ndx == 1)
7858 /* linux_membarrier */
7860 if (ndx == 0 || ndx == 1)
7865 if (ndx == 0 || ndx == 1)
7868 /* linux_copy_file_range */
7870 if (ndx == 0 || ndx == 1)
7875 if (ndx == 0 || ndx == 1)
7878 /* linux_pwritev2 */
7880 if (ndx == 0 || ndx == 1)
7883 /* linux_pkey_mprotect */
7885 if (ndx == 0 || ndx == 1)
7888 /* linux_pkey_alloc */
7890 if (ndx == 0 || ndx == 1)
7893 /* linux_pkey_free */
7895 if (ndx == 0 || ndx == 1)
7900 if (ndx == 0 || ndx == 1)
7903 /* linux_io_pgetevents */
7907 /* linux_pidfd_send_signal */
7909 if (ndx == 0 || ndx == 1)
7912 /* linux_io_uring_setup */
7914 /* linux_io_uring_enter */
7916 /* linux_io_uring_register */
7922 strlcpy(desc, p, descsz);