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; /* 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.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; /* 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 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_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->tv; /* 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_init_module */
1404 /* linux_delete_module */
1409 /* linux_quotactl */
1419 /* linux_setxattr */
1424 /* linux_lsetxattr */
1429 /* linux_fsetxattr */
1434 /* linux_getxattr */
1439 /* linux_lgetxattr */
1444 /* linux_fgetxattr */
1449 /* linux_listxattr */
1454 /* linux_llistxattr */
1459 /* linux_flistxattr */
1464 /* linux_removexattr */
1469 /* linux_lremovexattr */
1474 /* linux_fremovexattr */
1481 struct linux_tkill_args *p = params;
1482 iarg[0] = p->tid; /* int */
1483 iarg[1] = p->sig; /* int */
1489 struct linux_time_args *p = params;
1490 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
1494 /* linux_sys_futex */
1496 struct linux_sys_futex_args *p = params;
1497 uarg[0] = (intptr_t) p->uaddr; /* void * */
1498 iarg[1] = p->op; /* int */
1499 iarg[2] = p->val; /* int */
1500 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1501 uarg[4] = (intptr_t) p->uaddr2; /* void * */
1502 iarg[5] = p->val3; /* int */
1506 /* linux_sched_setaffinity */
1508 struct linux_sched_setaffinity_args *p = params;
1509 iarg[0] = p->pid; /* l_pid_t */
1510 iarg[1] = p->len; /* l_uint */
1511 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1515 /* linux_sched_getaffinity */
1517 struct linux_sched_getaffinity_args *p = params;
1518 iarg[0] = p->pid; /* l_pid_t */
1519 iarg[1] = p->len; /* l_uint */
1520 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1524 /* linux_lookup_dcookie */
1529 /* linux_epoll_create */
1531 struct linux_epoll_create_args *p = params;
1532 iarg[0] = p->size; /* l_int */
1536 /* linux_remap_file_pages */
1541 /* linux_getdents64 */
1543 struct linux_getdents64_args *p = params;
1544 iarg[0] = p->fd; /* l_uint */
1545 uarg[1] = (intptr_t) p->dirent; /* void * */
1546 iarg[2] = p->count; /* l_uint */
1550 /* linux_set_tid_address */
1552 struct linux_set_tid_address_args *p = params;
1553 uarg[0] = (intptr_t) p->tidptr; /* int * */
1557 /* linux_semtimedop */
1562 /* linux_fadvise64 */
1564 struct linux_fadvise64_args *p = params;
1565 iarg[0] = p->fd; /* int */
1566 iarg[1] = p->offset; /* l_loff_t */
1567 iarg[2] = p->len; /* l_size_t */
1568 iarg[3] = p->advice; /* int */
1572 /* linux_timer_create */
1574 struct linux_timer_create_args *p = params;
1575 iarg[0] = p->clock_id; /* clockid_t */
1576 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1577 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1581 /* linux_timer_settime */
1583 struct linux_timer_settime_args *p = params;
1584 iarg[0] = p->timerid; /* l_timer_t */
1585 iarg[1] = p->flags; /* l_int */
1586 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1587 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1591 /* linux_timer_gettime */
1593 struct linux_timer_gettime_args *p = params;
1594 iarg[0] = p->timerid; /* l_timer_t */
1595 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1599 /* linux_timer_getoverrun */
1601 struct linux_timer_getoverrun_args *p = params;
1602 iarg[0] = p->timerid; /* l_timer_t */
1606 /* linux_timer_delete */
1608 struct linux_timer_delete_args *p = params;
1609 iarg[0] = p->timerid; /* l_timer_t */
1613 /* linux_clock_settime */
1615 struct linux_clock_settime_args *p = params;
1616 iarg[0] = p->which; /* clockid_t */
1617 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1621 /* linux_clock_gettime */
1623 struct linux_clock_gettime_args *p = params;
1624 iarg[0] = p->which; /* clockid_t */
1625 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1629 /* linux_clock_getres */
1631 struct linux_clock_getres_args *p = params;
1632 iarg[0] = p->which; /* clockid_t */
1633 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1637 /* linux_clock_nanosleep */
1639 struct linux_clock_nanosleep_args *p = params;
1640 iarg[0] = p->which; /* clockid_t */
1641 iarg[1] = p->flags; /* int */
1642 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1643 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1647 /* linux_exit_group */
1649 struct linux_exit_group_args *p = params;
1650 iarg[0] = p->error_code; /* int */
1654 /* linux_epoll_wait */
1656 struct linux_epoll_wait_args *p = params;
1657 iarg[0] = p->epfd; /* l_int */
1658 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1659 iarg[2] = p->maxevents; /* l_int */
1660 iarg[3] = p->timeout; /* l_int */
1664 /* linux_epoll_ctl */
1666 struct linux_epoll_ctl_args *p = params;
1667 iarg[0] = p->epfd; /* l_int */
1668 iarg[1] = p->op; /* l_int */
1669 iarg[2] = p->fd; /* l_int */
1670 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1676 struct linux_tgkill_args *p = params;
1677 iarg[0] = p->tgid; /* int */
1678 iarg[1] = p->pid; /* int */
1679 iarg[2] = p->sig; /* int */
1685 struct linux_utimes_args *p = params;
1686 uarg[0] = (intptr_t) p->fname; /* char * */
1687 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1696 /* linux_set_mempolicy */
1701 /* linux_get_mempolicy */
1711 /* linux_mq_unlink */
1716 /* linux_mq_timedsend */
1721 /* linux_mq_timedreceive */
1726 /* linux_mq_notify */
1731 /* linux_mq_getsetattr */
1736 /* linux_kexec_load */
1743 struct linux_waitid_args *p = params;
1744 iarg[0] = p->idtype; /* int */
1745 iarg[1] = p->id; /* l_pid_t */
1746 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1747 iarg[3] = p->options; /* int */
1748 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
1757 /* linux_request_key */
1767 /* linux_ioprio_set */
1772 /* linux_ioprio_get */
1777 /* linux_inotify_init */
1782 /* linux_inotify_add_watch */
1787 /* linux_inotify_rm_watch */
1792 /* linux_migrate_pages */
1799 struct linux_openat_args *p = params;
1800 iarg[0] = p->dfd; /* l_int */
1801 uarg[1] = (intptr_t) p->filename; /* const char * */
1802 iarg[2] = p->flags; /* l_int */
1803 iarg[3] = p->mode; /* l_int */
1809 struct linux_mkdirat_args *p = params;
1810 iarg[0] = p->dfd; /* l_int */
1811 uarg[1] = (intptr_t) p->pathname; /* const char * */
1812 iarg[2] = p->mode; /* l_int */
1818 struct linux_mknodat_args *p = params;
1819 iarg[0] = p->dfd; /* l_int */
1820 uarg[1] = (intptr_t) p->filename; /* const char * */
1821 iarg[2] = p->mode; /* l_int */
1822 iarg[3] = p->dev; /* l_uint */
1826 /* linux_fchownat */
1828 struct linux_fchownat_args *p = params;
1829 iarg[0] = p->dfd; /* l_int */
1830 uarg[1] = (intptr_t) p->filename; /* const char * */
1831 iarg[2] = p->uid; /* l_uid_t */
1832 iarg[3] = p->gid; /* l_gid_t */
1833 iarg[4] = p->flag; /* l_int */
1837 /* linux_futimesat */
1839 struct linux_futimesat_args *p = params;
1840 iarg[0] = p->dfd; /* l_int */
1841 uarg[1] = (intptr_t) p->filename; /* char * */
1842 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1846 /* linux_newfstatat */
1848 struct linux_newfstatat_args *p = params;
1849 iarg[0] = p->dfd; /* l_int */
1850 uarg[1] = (intptr_t) p->pathname; /* char * */
1851 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1852 iarg[3] = p->flag; /* l_int */
1856 /* linux_unlinkat */
1858 struct linux_unlinkat_args *p = params;
1859 iarg[0] = p->dfd; /* l_int */
1860 uarg[1] = (intptr_t) p->pathname; /* const char * */
1861 iarg[2] = p->flag; /* l_int */
1865 /* linux_renameat */
1867 struct linux_renameat_args *p = params;
1868 iarg[0] = p->olddfd; /* l_int */
1869 uarg[1] = (intptr_t) p->oldname; /* const char * */
1870 iarg[2] = p->newdfd; /* l_int */
1871 uarg[3] = (intptr_t) p->newname; /* const char * */
1877 struct linux_linkat_args *p = params;
1878 iarg[0] = p->olddfd; /* l_int */
1879 uarg[1] = (intptr_t) p->oldname; /* const char * */
1880 iarg[2] = p->newdfd; /* l_int */
1881 uarg[3] = (intptr_t) p->newname; /* const char * */
1882 iarg[4] = p->flag; /* l_int */
1886 /* linux_symlinkat */
1888 struct linux_symlinkat_args *p = params;
1889 uarg[0] = (intptr_t) p->oldname; /* const char * */
1890 iarg[1] = p->newdfd; /* l_int */
1891 uarg[2] = (intptr_t) p->newname; /* const char * */
1895 /* linux_readlinkat */
1897 struct linux_readlinkat_args *p = params;
1898 iarg[0] = p->dfd; /* l_int */
1899 uarg[1] = (intptr_t) p->path; /* const char * */
1900 uarg[2] = (intptr_t) p->buf; /* char * */
1901 iarg[3] = p->bufsiz; /* l_int */
1905 /* linux_fchmodat */
1907 struct linux_fchmodat_args *p = params;
1908 iarg[0] = p->dfd; /* l_int */
1909 uarg[1] = (intptr_t) p->filename; /* const char * */
1910 iarg[2] = p->mode; /* l_mode_t */
1914 /* linux_faccessat */
1916 struct linux_faccessat_args *p = params;
1917 iarg[0] = p->dfd; /* l_int */
1918 uarg[1] = (intptr_t) p->filename; /* const char * */
1919 iarg[2] = p->amode; /* l_int */
1923 /* linux_pselect6 */
1925 struct linux_pselect6_args *p = params;
1926 iarg[0] = p->nfds; /* l_int */
1927 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
1928 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
1929 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
1930 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
1931 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
1937 struct linux_ppoll_args *p = params;
1938 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1939 uarg[1] = p->nfds; /* uint32_t */
1940 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
1941 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
1942 iarg[4] = p->ssize; /* l_size_t */
1951 /* linux_set_robust_list */
1953 struct linux_set_robust_list_args *p = params;
1954 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
1955 iarg[1] = p->len; /* l_size_t */
1959 /* linux_get_robust_list */
1961 struct linux_get_robust_list_args *p = params;
1962 iarg[0] = p->pid; /* l_int */
1963 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
1964 uarg[2] = (intptr_t) p->len; /* l_size_t * */
1978 /* linux_sync_file_range */
1983 /* linux_vmsplice */
1988 /* linux_move_pages */
1993 /* linux_utimensat */
1995 struct linux_utimensat_args *p = params;
1996 iarg[0] = p->dfd; /* l_int */
1997 uarg[1] = (intptr_t) p->pathname; /* const char * */
1998 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
1999 iarg[3] = p->flags; /* l_int */
2003 /* linux_epoll_pwait */
2005 struct linux_epoll_pwait_args *p = params;
2006 iarg[0] = p->epfd; /* l_int */
2007 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2008 iarg[2] = p->maxevents; /* l_int */
2009 iarg[3] = p->timeout; /* l_int */
2010 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2011 iarg[5] = p->sigsetsize; /* l_size_t */
2015 /* linux_signalfd */
2020 /* linux_timerfd_create */
2022 struct linux_timerfd_create_args *p = params;
2023 iarg[0] = p->clockid; /* l_int */
2024 iarg[1] = p->flags; /* l_int */
2030 struct linux_eventfd_args *p = params;
2031 iarg[0] = p->initval; /* l_uint */
2035 /* linux_fallocate */
2037 struct linux_fallocate_args *p = params;
2038 iarg[0] = p->fd; /* l_int */
2039 iarg[1] = p->mode; /* l_int */
2040 iarg[2] = p->offset; /* l_loff_t */
2041 iarg[3] = p->len; /* l_loff_t */
2045 /* linux_timerfd_settime */
2047 struct linux_timerfd_settime_args *p = params;
2048 iarg[0] = p->fd; /* l_int */
2049 iarg[1] = p->flags; /* l_int */
2050 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2051 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2055 /* linux_timerfd_gettime */
2057 struct linux_timerfd_gettime_args *p = params;
2058 iarg[0] = p->fd; /* l_int */
2059 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2065 struct linux_accept4_args *p = params;
2066 iarg[0] = p->s; /* l_int */
2067 iarg[1] = p->addr; /* l_uintptr_t */
2068 iarg[2] = p->namelen; /* l_uintptr_t */
2069 iarg[3] = p->flags; /* int */
2073 /* linux_signalfd4 */
2078 /* linux_eventfd2 */
2080 struct linux_eventfd2_args *p = params;
2081 iarg[0] = p->initval; /* l_uint */
2082 iarg[1] = p->flags; /* l_int */
2086 /* linux_epoll_create1 */
2088 struct linux_epoll_create1_args *p = params;
2089 iarg[0] = p->flags; /* l_int */
2095 struct linux_dup3_args *p = params;
2096 iarg[0] = p->oldfd; /* l_int */
2097 iarg[1] = p->newfd; /* l_int */
2098 iarg[2] = p->flags; /* l_int */
2104 struct linux_pipe2_args *p = params;
2105 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2106 iarg[1] = p->flags; /* l_int */
2110 /* linux_inotify_init1 */
2112 struct linux_inotify_init1_args *p = params;
2113 iarg[0] = p->flags; /* l_int */
2119 struct linux_preadv_args *p = params;
2120 iarg[0] = p->fd; /* l_ulong */
2121 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2122 iarg[2] = p->vlen; /* l_ulong */
2123 iarg[3] = p->pos_l; /* l_ulong */
2124 iarg[4] = p->pos_h; /* l_ulong */
2130 struct linux_pwritev_args *p = params;
2131 iarg[0] = p->fd; /* l_ulong */
2132 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2133 iarg[2] = p->vlen; /* l_ulong */
2134 iarg[3] = p->pos_l; /* l_ulong */
2135 iarg[4] = p->pos_h; /* l_ulong */
2139 /* linux_rt_tgsigqueueinfo */
2141 struct linux_rt_tgsigqueueinfo_args *p = params;
2142 iarg[0] = p->tgid; /* l_pid_t */
2143 iarg[1] = p->tid; /* l_pid_t */
2144 iarg[2] = p->sig; /* l_int */
2145 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2149 /* linux_perf_event_open */
2154 /* linux_recvmmsg */
2156 struct linux_recvmmsg_args *p = params;
2157 iarg[0] = p->s; /* l_int */
2158 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2159 iarg[2] = p->vlen; /* l_uint */
2160 iarg[3] = p->flags; /* l_uint */
2161 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2165 /* linux_fanotify_init */
2170 /* linux_fanotify_mark */
2175 /* linux_prlimit64 */
2177 struct linux_prlimit64_args *p = params;
2178 iarg[0] = p->pid; /* l_pid_t */
2179 iarg[1] = p->resource; /* l_uint */
2180 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2181 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2185 /* linux_name_to_handle_at */
2190 /* linux_open_by_handle_at */
2195 /* linux_clock_adjtime */
2202 struct linux_syncfs_args *p = params;
2203 iarg[0] = p->fd; /* l_int */
2207 /* linux_sendmmsg */
2209 struct linux_sendmmsg_args *p = params;
2210 iarg[0] = p->s; /* l_int */
2211 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2212 iarg[2] = p->vlen; /* l_uint */
2213 iarg[3] = p->flags; /* l_uint */
2219 struct linux_setns_args *p = params;
2220 iarg[0] = p->fd; /* l_int */
2221 iarg[1] = p->nstype; /* l_int */
2227 struct linux_getcpu_args *p = params;
2228 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2229 uarg[1] = (intptr_t) p->node; /* l_uint * */
2230 uarg[2] = (intptr_t) p->cache; /* void * */
2234 /* linux_process_vm_readv */
2236 struct linux_process_vm_readv_args *p = params;
2237 iarg[0] = p->pid; /* l_pid_t */
2238 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2239 iarg[2] = p->liovcnt; /* l_ulong */
2240 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2241 iarg[4] = p->riovcnt; /* l_ulong */
2242 iarg[5] = p->flags; /* l_ulong */
2246 /* linux_process_vm_writev */
2248 struct linux_process_vm_writev_args *p = params;
2249 iarg[0] = p->pid; /* l_pid_t */
2250 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2251 iarg[2] = p->liovcnt; /* l_ulong */
2252 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2253 iarg[4] = p->riovcnt; /* l_ulong */
2254 iarg[5] = p->flags; /* l_ulong */
2260 struct linux_kcmp_args *p = params;
2261 iarg[0] = p->pid1; /* l_pid_t */
2262 iarg[1] = p->pid2; /* l_pid_t */
2263 iarg[2] = p->type; /* l_int */
2264 iarg[3] = p->idx1; /* l_ulong */
2265 iarg[4] = p->idx; /* l_ulong */
2269 /* linux_finit_module */
2271 struct linux_finit_module_args *p = params;
2272 iarg[0] = p->fd; /* l_int */
2273 uarg[1] = (intptr_t) p->uargs; /* const char * */
2274 iarg[2] = p->flags; /* l_int */
2278 /* linux_sched_setattr */
2280 struct linux_sched_setattr_args *p = params;
2281 iarg[0] = p->pid; /* l_pid_t */
2282 uarg[1] = (intptr_t) p->attr; /* void * */
2283 iarg[2] = p->flags; /* l_uint */
2287 /* linux_sched_getattr */
2289 struct linux_sched_getattr_args *p = params;
2290 iarg[0] = p->pid; /* l_pid_t */
2291 uarg[1] = (intptr_t) p->attr; /* void * */
2292 iarg[2] = p->size; /* l_uint */
2293 iarg[3] = p->flags; /* l_uint */
2297 /* linux_renameat2 */
2299 struct linux_renameat2_args *p = params;
2300 iarg[0] = p->oldfd; /* l_int */
2301 uarg[1] = (intptr_t) p->oldname; /* const char * */
2302 iarg[2] = p->newfd; /* l_int */
2303 uarg[3] = (intptr_t) p->newname; /* const char * */
2304 uarg[4] = p->flags; /* unsigned int */
2310 struct linux_seccomp_args *p = params;
2311 iarg[0] = p->op; /* l_uint */
2312 iarg[1] = p->flags; /* l_uint */
2313 uarg[2] = (intptr_t) p->uargs; /* const char * */
2317 /* linux_getrandom */
2319 struct linux_getrandom_args *p = params;
2320 uarg[0] = (intptr_t) p->buf; /* char * */
2321 iarg[1] = p->count; /* l_size_t */
2322 iarg[2] = p->flags; /* l_uint */
2326 /* linux_memfd_create */
2328 struct linux_memfd_create_args *p = params;
2329 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2330 iarg[1] = p->flags; /* l_uint */
2334 /* linux_kexec_file_load */
2336 struct linux_kexec_file_load_args *p = params;
2337 iarg[0] = p->kernel_fd; /* l_int */
2338 iarg[1] = p->initrd_fd; /* l_int */
2339 iarg[2] = p->cmdline_len; /* l_ulong */
2340 uarg[3] = (intptr_t) p->cmdline_ptr; /* const char * */
2341 iarg[4] = p->flags; /* l_ulong */
2347 struct linux_bpf_args *p = params;
2348 iarg[0] = p->cmd; /* l_int */
2349 uarg[1] = (intptr_t) p->attr; /* void * */
2350 iarg[2] = p->size; /* l_uint */
2354 /* linux_execveat */
2356 struct linux_execveat_args *p = params;
2357 iarg[0] = p->dfd; /* l_int */
2358 uarg[1] = (intptr_t) p->filename; /* const char * */
2359 uarg[2] = (intptr_t) p->argv; /* const char ** */
2360 uarg[3] = (intptr_t) p->envp; /* const char ** */
2361 iarg[4] = p->flags; /* l_int */
2365 /* linux_userfaultfd */
2367 struct linux_userfaultfd_args *p = params;
2368 iarg[0] = p->flags; /* l_int */
2372 /* linux_membarrier */
2374 struct linux_membarrier_args *p = params;
2375 iarg[0] = p->cmd; /* l_int */
2376 iarg[1] = p->flags; /* l_int */
2382 struct linux_mlock2_args *p = params;
2383 iarg[0] = p->start; /* l_ulong */
2384 iarg[1] = p->len; /* l_size_t */
2385 iarg[2] = p->flags; /* l_int */
2389 /* linux_copy_file_range */
2391 struct linux_copy_file_range_args *p = params;
2392 iarg[0] = p->fd_in; /* l_int */
2393 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2394 iarg[2] = p->fd_out; /* l_int */
2395 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2396 iarg[4] = p->len; /* l_size_t */
2397 iarg[5] = p->flags; /* l_uint */
2403 struct linux_preadv2_args *p = params;
2404 iarg[0] = p->fd; /* l_ulong */
2405 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2406 iarg[2] = p->vlen; /* l_ulong */
2407 iarg[3] = p->pos_l; /* l_ulong */
2408 iarg[4] = p->pos_h; /* l_ulong */
2409 iarg[5] = p->flags; /* l_int */
2413 /* linux_pwritev2 */
2415 struct linux_pwritev2_args *p = params;
2416 iarg[0] = p->fd; /* l_ulong */
2417 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2418 iarg[2] = p->vlen; /* l_ulong */
2419 iarg[3] = p->pos_l; /* l_ulong */
2420 iarg[4] = p->pos_h; /* l_ulong */
2421 iarg[5] = p->flags; /* l_int */
2425 /* linux_pkey_mprotect */
2427 struct linux_pkey_mprotect_args *p = params;
2428 iarg[0] = p->start; /* l_ulong */
2429 iarg[1] = p->len; /* l_size_t */
2430 iarg[2] = p->prot; /* l_ulong */
2431 iarg[3] = p->pkey; /* l_int */
2435 /* linux_pkey_alloc */
2437 struct linux_pkey_alloc_args *p = params;
2438 iarg[0] = p->flags; /* l_ulong */
2439 iarg[1] = p->init_val; /* l_ulong */
2443 /* linux_pkey_free */
2445 struct linux_pkey_free_args *p = params;
2446 iarg[0] = p->pkey; /* l_int */
2456 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2458 const char *p = NULL;
2460 #define nosys linux_nosys
2468 p = "userland char *";
2484 p = "userland char *";
2497 p = "userland char *";
2523 p = "userland char *";
2526 p = "userland struct l_newstat *";
2532 /* linux_newfstat */
2539 p = "userland struct l_newstat *";
2545 /* linux_newlstat */
2549 p = "userland char *";
2552 p = "userland struct l_newstat *";
2562 p = "userland struct pollfd *";
2615 /* linux_mprotect */
2654 /* linux_rt_sigaction */
2661 p = "userland l_sigaction_t *";
2664 p = "userland l_sigaction_t *";
2673 /* linux_rt_sigprocmask */
2680 p = "userland l_sigset_t *";
2683 p = "userland l_sigset_t *";
2692 /* linux_rt_sigreturn */
2696 p = "userland struct l_ucontext *";
2725 p = "userland char *";
2744 p = "userland char *";
2763 p = "userland struct iovec *";
2779 p = "userland struct iovec *";
2792 p = "userland char *";
2805 p = "userland l_ulong *";
2818 p = "userland l_fd_set *";
2821 p = "userland l_fd_set *";
2824 p = "userland l_fd_set *";
2827 p = "userland struct l_timeval *";
2884 p = "userland u_char *";
2894 p = "userland void *";
2929 p = "userland char *";
2948 p = "userland struct l_shmid_ds *";
2980 /* linux_nanosleep */
2984 p = "userland const struct l_timespec *";
2987 p = "userland struct l_timespec *";
2993 /* linux_getitimer */
3000 p = "userland struct l_itimerval *";
3016 /* linux_setitimer */
3023 p = "userland struct l_itimerval *";
3026 p = "userland struct l_itimerval *";
3035 /* linux_sendfile */
3045 p = "userland l_long *";
3127 /* linux_recvfrom */
3184 /* linux_shutdown */
3226 /* linux_getsockname */
3242 /* linux_getpeername */
3258 /* linux_socketpair */
3277 /* linux_setsockopt */
3299 /* linux_getsockopt */
3328 p = "userland void *";
3331 p = "userland void *";
3334 p = "userland void *";
3337 p = "userland void *";
3353 p = "userland char *";
3356 p = "userland char **";
3359 p = "userland char **";
3382 p = "userland l_int *";
3388 p = "userland struct rusage *";
3407 /* linux_newuname */
3411 p = "userland struct l_new_utsname *";
3440 p = "userland struct l_sembuf *";
3462 p = "union l_semun";
3472 p = "userland char *";
3498 p = "userland struct l_msgbuf *";
3517 p = "userland struct l_msgbuf *";
3542 p = "userland struct l_msqid_ds *";
3587 /* linux_fdatasync */
3597 /* linux_truncate */
3601 p = "userland char *";
3610 /* linux_ftruncate */
3623 /* linux_getdents */
3630 p = "userland void *";
3643 p = "userland char *";
3656 p = "userland char *";
3676 p = "userland char *";
3679 p = "userland char *";
3689 p = "userland char *";
3702 p = "userland char *";
3712 p = "userland char *";
3725 p = "userland char *";
3728 p = "userland char *";
3738 p = "userland char *";
3748 p = "userland char *";
3751 p = "userland char *";
3757 /* linux_readlink */
3761 p = "userland char *";
3764 p = "userland char *";
3777 p = "userland char *";
3803 p = "userland char *";
3835 p = "userland char *";
3861 p = "userland struct l_timeval *";
3864 p = "userland struct timezone *";
3870 /* linux_getrlimit */
3877 p = "userland struct l_rlimit *";
3890 p = "userland struct rusage *";
3900 p = "userland struct l_sysinfo *";
3910 p = "userland struct l_times_argv *";
3945 p = "userland char *";
4031 /* linux_getgroups */
4038 p = "userland l_gid_t *";
4044 /* linux_setgroups */
4051 p = "userland l_gid_t *";
4077 p = "userland uid_t *";
4080 p = "userland uid_t *";
4083 p = "userland uid_t *";
4109 p = "userland gid_t *";
4112 p = "userland gid_t *";
4115 p = "userland gid_t *";
4131 /* linux_setfsuid */
4141 /* linux_setfsgid */
4165 p = "userland struct l_user_cap_header *";
4168 p = "userland struct l_user_cap_data *";
4178 p = "userland struct l_user_cap_header *";
4181 p = "userland struct l_user_cap_data *";
4187 /* linux_rt_sigpending */
4191 p = "userland l_sigset_t *";
4200 /* linux_rt_sigtimedwait */
4204 p = "userland l_sigset_t *";
4207 p = "userland l_siginfo_t *";
4210 p = "userland struct l_timeval *";
4219 /* linux_rt_sigqueueinfo */
4229 p = "userland l_siginfo_t *";
4235 /* linux_rt_sigsuspend */
4239 p = "userland l_sigset_t *";
4248 /* linux_sigaltstack */
4252 p = "userland l_stack_t *";
4255 p = "userland l_stack_t *";
4265 p = "userland char *";
4268 p = "userland struct l_utimbuf *";
4278 p = "userland char *";
4290 /* linux_personality */
4307 p = "userland struct l_ustat *";
4317 p = "userland char *";
4320 p = "userland struct l_statfs_buf *";
4333 p = "userland struct l_statfs_buf *";
4355 /* linux_getpriority */
4384 /* linux_sched_setparam */
4391 p = "userland struct sched_param *";
4397 /* linux_sched_getparam */
4404 p = "userland struct sched_param *";
4410 /* linux_sched_setscheduler */
4420 p = "userland struct sched_param *";
4426 /* linux_sched_getscheduler */
4436 /* linux_sched_get_priority_max */
4446 /* linux_sched_get_priority_min */
4456 /* linux_sched_rr_get_interval */
4463 p = "userland struct l_timespec *";
4473 p = "userland const void *";
4486 p = "userland const void *";
4511 /* linux_pivot_root */
4518 p = "userland struct l___sysctl_args *";
4546 /* linux_arch_prctl */
4559 /* linux_adjtimex */
4562 /* linux_setrlimit */
4569 p = "userland struct l_rlimit *";
4579 p = "userland char *";
4592 p = "userland char *";
4602 p = "userland struct l_timeval *";
4605 p = "userland struct timezone *";
4615 p = "userland char *";
4618 p = "userland char *";
4621 p = "userland char *";
4627 p = "userland void *";
4637 p = "userland char *";
4650 p = "userland char *";
4672 p = "userland void *";
4678 /* linux_sethostname */
4682 p = "userland char *";
4691 /* linux_setdomainname */
4695 p = "userland char *";
4714 /* linux_init_module */
4717 /* linux_delete_module */
4720 /* linux_quotactl */
4726 /* linux_setxattr */
4729 /* linux_lsetxattr */
4732 /* linux_fsetxattr */
4735 /* linux_getxattr */
4738 /* linux_lgetxattr */
4741 /* linux_fgetxattr */
4744 /* linux_listxattr */
4747 /* linux_llistxattr */
4750 /* linux_flistxattr */
4753 /* linux_removexattr */
4756 /* linux_lremovexattr */
4759 /* linux_fremovexattr */
4779 p = "userland l_time_t *";
4785 /* linux_sys_futex */
4789 p = "userland void *";
4798 p = "userland struct l_timespec *";
4801 p = "userland void *";
4810 /* linux_sched_setaffinity */
4820 p = "userland l_ulong *";
4826 /* linux_sched_getaffinity */
4836 p = "userland l_ulong *";
4842 /* linux_lookup_dcookie */
4845 /* linux_epoll_create */
4855 /* linux_remap_file_pages */
4858 /* linux_getdents64 */
4865 p = "userland void *";
4874 /* linux_set_tid_address */
4878 p = "userland int *";
4884 /* linux_semtimedop */
4887 /* linux_fadvise64 */
4906 /* linux_timer_create */
4913 p = "userland struct sigevent *";
4916 p = "userland l_timer_t *";
4922 /* linux_timer_settime */
4932 p = "userland const struct itimerspec *";
4935 p = "userland struct itimerspec *";
4941 /* linux_timer_gettime */
4948 p = "userland struct itimerspec *";
4954 /* linux_timer_getoverrun */
4964 /* linux_timer_delete */
4974 /* linux_clock_settime */
4981 p = "userland struct l_timespec *";
4987 /* linux_clock_gettime */
4994 p = "userland struct l_timespec *";
5000 /* linux_clock_getres */
5007 p = "userland struct l_timespec *";
5013 /* linux_clock_nanosleep */
5023 p = "userland struct l_timespec *";
5026 p = "userland struct l_timespec *";
5032 /* linux_exit_group */
5042 /* linux_epoll_wait */
5049 p = "userland struct epoll_event *";
5061 /* linux_epoll_ctl */
5074 p = "userland struct epoll_event *";
5100 p = "userland char *";
5103 p = "userland struct l_timeval *";
5112 /* linux_set_mempolicy */
5115 /* linux_get_mempolicy */
5121 /* linux_mq_unlink */
5124 /* linux_mq_timedsend */
5127 /* linux_mq_timedreceive */
5130 /* linux_mq_notify */
5133 /* linux_mq_getsetattr */
5136 /* linux_kexec_load */
5149 p = "userland l_siginfo_t *";
5155 p = "userland struct rusage *";
5164 /* linux_request_key */
5170 /* linux_ioprio_set */
5173 /* linux_ioprio_get */
5176 /* linux_inotify_init */
5179 /* linux_inotify_add_watch */
5182 /* linux_inotify_rm_watch */
5185 /* linux_migrate_pages */
5195 p = "userland const char *";
5214 p = "userland const char *";
5230 p = "userland const char *";
5242 /* linux_fchownat */
5249 p = "userland const char *";
5264 /* linux_futimesat */
5271 p = "userland char *";
5274 p = "userland struct l_timeval *";
5280 /* linux_newfstatat */
5287 p = "userland char *";
5290 p = "userland struct l_stat64 *";
5299 /* linux_unlinkat */
5306 p = "userland const char *";
5315 /* linux_renameat */
5322 p = "userland const char *";
5328 p = "userland const char *";
5341 p = "userland const char *";
5347 p = "userland const char *";
5356 /* linux_symlinkat */
5360 p = "userland const char *";
5366 p = "userland const char *";
5372 /* linux_readlinkat */
5379 p = "userland const char *";
5382 p = "userland char *";
5391 /* linux_fchmodat */
5398 p = "userland const char *";
5407 /* linux_faccessat */
5414 p = "userland const char *";
5423 /* linux_pselect6 */
5430 p = "userland l_fd_set *";
5433 p = "userland l_fd_set *";
5436 p = "userland l_fd_set *";
5439 p = "userland struct l_timespec *";
5442 p = "userland l_uintptr_t *";
5452 p = "userland struct pollfd *";
5458 p = "userland struct l_timespec *";
5461 p = "userland l_sigset_t *";
5473 /* linux_set_robust_list */
5477 p = "userland struct linux_robust_list_head *";
5486 /* linux_get_robust_list */
5493 p = "userland struct linux_robust_list_head **";
5496 p = "userland l_size_t *";
5508 /* linux_sync_file_range */
5511 /* linux_vmsplice */
5514 /* linux_move_pages */
5517 /* linux_utimensat */
5524 p = "userland const char *";
5527 p = "userland const struct l_timespec *";
5536 /* linux_epoll_pwait */
5543 p = "userland struct epoll_event *";
5552 p = "userland l_sigset_t *";
5561 /* linux_signalfd */
5564 /* linux_timerfd_create */
5587 /* linux_fallocate */
5606 /* linux_timerfd_settime */
5616 p = "userland const struct l_itimerspec *";
5619 p = "userland struct l_itimerspec *";
5625 /* linux_timerfd_gettime */
5632 p = "userland struct l_itimerspec *";
5657 /* linux_signalfd4 */
5660 /* linux_eventfd2 */
5673 /* linux_epoll_create1 */
5703 p = "userland l_int *";
5712 /* linux_inotify_init1 */
5729 p = "userland struct iovec *";
5751 p = "userland struct iovec *";
5766 /* linux_rt_tgsigqueueinfo */
5779 p = "userland l_siginfo_t *";
5785 /* linux_perf_event_open */
5788 /* linux_recvmmsg */
5795 p = "userland struct l_mmsghdr *";
5804 p = "userland struct l_timespec *";
5810 /* linux_fanotify_init */
5813 /* linux_fanotify_mark */
5816 /* linux_prlimit64 */
5826 p = "userland struct rlimit *";
5829 p = "userland struct rlimit *";
5835 /* linux_name_to_handle_at */
5838 /* linux_open_by_handle_at */
5841 /* linux_clock_adjtime */
5854 /* linux_sendmmsg */
5861 p = "userland struct l_mmsghdr *";
5890 p = "userland l_uint *";
5893 p = "userland l_uint *";
5896 p = "userland void *";
5902 /* linux_process_vm_readv */
5909 p = "userland const struct iovec *";
5915 p = "userland const struct iovec *";
5927 /* linux_process_vm_writev */
5934 p = "userland const struct iovec *";
5940 p = "userland const struct iovec *";
5974 /* linux_finit_module */
5981 p = "userland const char *";
5990 /* linux_sched_setattr */
5997 p = "userland void *";
6006 /* linux_sched_getattr */
6013 p = "userland void *";
6025 /* linux_renameat2 */
6032 p = "userland const char *";
6038 p = "userland const char *";
6057 p = "userland const char *";
6063 /* linux_getrandom */
6067 p = "userland char *";
6079 /* linux_memfd_create */
6083 p = "userland const char *";
6092 /* linux_kexec_file_load */
6105 p = "userland const char *";
6121 p = "userland void *";
6130 /* linux_execveat */
6137 p = "userland const char *";
6140 p = "userland const char **";
6143 p = "userland const char **";
6152 /* linux_userfaultfd */
6162 /* linux_membarrier */
6191 /* linux_copy_file_range */
6198 p = "userland l_loff_t *";
6204 p = "userland l_loff_t *";
6223 p = "userland const struct iovec *";
6241 /* linux_pwritev2 */
6248 p = "userland const struct iovec *";
6266 /* linux_pkey_mprotect */
6285 /* linux_pkey_alloc */
6298 /* linux_pkey_free */
6312 strlcpy(desc, p, descsz);
6315 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6317 const char *p = NULL;
6319 #define nosys linux_nosys
6322 if (ndx == 0 || ndx == 1)
6327 if (ndx == 0 || ndx == 1)
6332 if (ndx == 0 || ndx == 1)
6337 if (ndx == 0 || ndx == 1)
6342 if (ndx == 0 || ndx == 1)
6345 /* linux_newfstat */
6347 if (ndx == 0 || ndx == 1)
6350 /* linux_newlstat */
6352 if (ndx == 0 || ndx == 1)
6357 if (ndx == 0 || ndx == 1)
6362 if (ndx == 0 || ndx == 1)
6367 if (ndx == 0 || ndx == 1)
6370 /* linux_mprotect */
6372 if (ndx == 0 || ndx == 1)
6377 if (ndx == 0 || ndx == 1)
6382 if (ndx == 0 || ndx == 1)
6385 /* linux_rt_sigaction */
6387 if (ndx == 0 || ndx == 1)
6390 /* linux_rt_sigprocmask */
6392 if (ndx == 0 || ndx == 1)
6395 /* linux_rt_sigreturn */
6397 if (ndx == 0 || ndx == 1)
6402 if (ndx == 0 || ndx == 1)
6407 if (ndx == 0 || ndx == 1)
6412 if (ndx == 0 || ndx == 1)
6417 if (ndx == 0 || ndx == 1)
6422 if (ndx == 0 || ndx == 1)
6427 if (ndx == 0 || ndx == 1)
6432 if (ndx == 0 || ndx == 1)
6437 if (ndx == 0 || ndx == 1)
6444 if (ndx == 0 || ndx == 1)
6449 if (ndx == 0 || ndx == 1)
6454 if (ndx == 0 || ndx == 1)
6459 if (ndx == 0 || ndx == 1)
6464 if (ndx == 0 || ndx == 1)
6469 if (ndx == 0 || ndx == 1)
6474 if (ndx == 0 || ndx == 1)
6479 if (ndx == 0 || ndx == 1)
6484 if (ndx == 0 || ndx == 1)
6489 /* linux_nanosleep */
6491 if (ndx == 0 || ndx == 1)
6494 /* linux_getitimer */
6496 if (ndx == 0 || ndx == 1)
6501 if (ndx == 0 || ndx == 1)
6504 /* linux_setitimer */
6506 if (ndx == 0 || ndx == 1)
6511 /* linux_sendfile */
6513 if (ndx == 0 || ndx == 1)
6518 if (ndx == 0 || ndx == 1)
6523 if (ndx == 0 || ndx == 1)
6528 if (ndx == 0 || ndx == 1)
6533 if (ndx == 0 || ndx == 1)
6536 /* linux_recvfrom */
6538 if (ndx == 0 || ndx == 1)
6543 if (ndx == 0 || ndx == 1)
6548 if (ndx == 0 || ndx == 1)
6551 /* linux_shutdown */
6553 if (ndx == 0 || ndx == 1)
6558 if (ndx == 0 || ndx == 1)
6563 if (ndx == 0 || ndx == 1)
6566 /* linux_getsockname */
6568 if (ndx == 0 || ndx == 1)
6571 /* linux_getpeername */
6573 if (ndx == 0 || ndx == 1)
6576 /* linux_socketpair */
6578 if (ndx == 0 || ndx == 1)
6581 /* linux_setsockopt */
6583 if (ndx == 0 || ndx == 1)
6586 /* linux_getsockopt */
6588 if (ndx == 0 || ndx == 1)
6593 if (ndx == 0 || ndx == 1)
6602 if (ndx == 0 || ndx == 1)
6607 if (ndx == 0 || ndx == 1)
6612 if (ndx == 0 || ndx == 1)
6617 if (ndx == 0 || ndx == 1)
6620 /* linux_newuname */
6622 if (ndx == 0 || ndx == 1)
6627 if (ndx == 0 || ndx == 1)
6632 if (ndx == 0 || ndx == 1)
6637 if (ndx == 0 || ndx == 1)
6642 if (ndx == 0 || ndx == 1)
6647 if (ndx == 0 || ndx == 1)
6652 if (ndx == 0 || ndx == 1)
6657 if (ndx == 0 || ndx == 1)
6662 if (ndx == 0 || ndx == 1)
6667 if (ndx == 0 || ndx == 1)
6672 if (ndx == 0 || ndx == 1)
6677 if (ndx == 0 || ndx == 1)
6680 /* linux_fdatasync */
6682 if (ndx == 0 || ndx == 1)
6685 /* linux_truncate */
6687 if (ndx == 0 || ndx == 1)
6690 /* linux_ftruncate */
6692 if (ndx == 0 || ndx == 1)
6695 /* linux_getdents */
6697 if (ndx == 0 || ndx == 1)
6702 if (ndx == 0 || ndx == 1)
6707 if (ndx == 0 || ndx == 1)
6712 if (ndx == 0 || ndx == 1)
6717 if (ndx == 0 || ndx == 1)
6722 if (ndx == 0 || ndx == 1)
6727 if (ndx == 0 || ndx == 1)
6732 if (ndx == 0 || ndx == 1)
6737 if (ndx == 0 || ndx == 1)
6742 if (ndx == 0 || ndx == 1)
6747 if (ndx == 0 || ndx == 1)
6750 /* linux_readlink */
6752 if (ndx == 0 || ndx == 1)
6757 if (ndx == 0 || ndx == 1)
6762 if (ndx == 0 || ndx == 1)
6767 if (ndx == 0 || ndx == 1)
6772 if (ndx == 0 || ndx == 1)
6777 if (ndx == 0 || ndx == 1)
6782 if (ndx == 0 || ndx == 1)
6787 if (ndx == 0 || ndx == 1)
6790 /* linux_getrlimit */
6792 if (ndx == 0 || ndx == 1)
6797 if (ndx == 0 || ndx == 1)
6802 if (ndx == 0 || ndx == 1)
6807 if (ndx == 0 || ndx == 1)
6812 if (ndx == 0 || ndx == 1)
6819 if (ndx == 0 || ndx == 1)
6826 if (ndx == 0 || ndx == 1)
6831 if (ndx == 0 || ndx == 1)
6840 if (ndx == 0 || ndx == 1)
6851 if (ndx == 0 || ndx == 1)
6856 if (ndx == 0 || ndx == 1)
6859 /* linux_getgroups */
6861 if (ndx == 0 || ndx == 1)
6864 /* linux_setgroups */
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)
6894 /* linux_setfsuid */
6896 if (ndx == 0 || ndx == 1)
6899 /* linux_setfsgid */
6901 if (ndx == 0 || ndx == 1)
6906 if (ndx == 0 || ndx == 1)
6911 if (ndx == 0 || ndx == 1)
6916 if (ndx == 0 || ndx == 1)
6919 /* linux_rt_sigpending */
6921 if (ndx == 0 || ndx == 1)
6924 /* linux_rt_sigtimedwait */
6926 if (ndx == 0 || ndx == 1)
6929 /* linux_rt_sigqueueinfo */
6931 if (ndx == 0 || ndx == 1)
6934 /* linux_rt_sigsuspend */
6936 if (ndx == 0 || ndx == 1)
6939 /* linux_sigaltstack */
6941 if (ndx == 0 || ndx == 1)
6946 if (ndx == 0 || ndx == 1)
6951 if (ndx == 0 || ndx == 1)
6954 /* linux_personality */
6956 if (ndx == 0 || ndx == 1)
6961 if (ndx == 0 || ndx == 1)
6966 if (ndx == 0 || ndx == 1)
6971 if (ndx == 0 || ndx == 1)
6976 if (ndx == 0 || ndx == 1)
6979 /* linux_getpriority */
6981 if (ndx == 0 || ndx == 1)
6986 if (ndx == 0 || ndx == 1)
6989 /* linux_sched_setparam */
6991 if (ndx == 0 || ndx == 1)
6994 /* linux_sched_getparam */
6996 if (ndx == 0 || ndx == 1)
6999 /* linux_sched_setscheduler */
7001 if (ndx == 0 || ndx == 1)
7004 /* linux_sched_getscheduler */
7006 if (ndx == 0 || ndx == 1)
7009 /* linux_sched_get_priority_max */
7011 if (ndx == 0 || ndx == 1)
7014 /* linux_sched_get_priority_min */
7016 if (ndx == 0 || ndx == 1)
7019 /* linux_sched_rr_get_interval */
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 /* linux_pivot_root */
7047 if (ndx == 0 || ndx == 1)
7052 if (ndx == 0 || ndx == 1)
7055 /* linux_arch_prctl */
7057 if (ndx == 0 || ndx == 1)
7060 /* linux_adjtimex */
7062 /* linux_setrlimit */
7064 if (ndx == 0 || ndx == 1)
7069 if (ndx == 0 || ndx == 1)
7076 if (ndx == 0 || ndx == 1)
7081 if (ndx == 0 || ndx == 1)
7086 if (ndx == 0 || ndx == 1)
7091 if (ndx == 0 || ndx == 1)
7096 if (ndx == 0 || ndx == 1)
7103 if (ndx == 0 || ndx == 1)
7106 /* linux_sethostname */
7108 if (ndx == 0 || ndx == 1)
7111 /* linux_setdomainname */
7113 if (ndx == 0 || ndx == 1)
7118 if (ndx == 0 || ndx == 1)
7121 /* linux_init_module */
7123 /* linux_delete_module */
7125 /* linux_quotactl */
7129 /* linux_setxattr */
7131 /* linux_lsetxattr */
7133 /* linux_fsetxattr */
7135 /* linux_getxattr */
7137 /* linux_lgetxattr */
7139 /* linux_fgetxattr */
7141 /* linux_listxattr */
7143 /* linux_llistxattr */
7145 /* linux_flistxattr */
7147 /* linux_removexattr */
7149 /* linux_lremovexattr */
7151 /* linux_fremovexattr */
7155 if (ndx == 0 || ndx == 1)
7160 if (ndx == 0 || ndx == 1)
7163 /* linux_sys_futex */
7165 if (ndx == 0 || ndx == 1)
7168 /* linux_sched_setaffinity */
7170 if (ndx == 0 || ndx == 1)
7173 /* linux_sched_getaffinity */
7175 if (ndx == 0 || ndx == 1)
7178 /* linux_lookup_dcookie */
7180 /* linux_epoll_create */
7182 if (ndx == 0 || ndx == 1)
7185 /* linux_remap_file_pages */
7187 /* linux_getdents64 */
7189 if (ndx == 0 || ndx == 1)
7192 /* linux_set_tid_address */
7194 if (ndx == 0 || ndx == 1)
7197 /* linux_semtimedop */
7199 /* linux_fadvise64 */
7201 if (ndx == 0 || ndx == 1)
7204 /* linux_timer_create */
7206 if (ndx == 0 || ndx == 1)
7209 /* linux_timer_settime */
7211 if (ndx == 0 || ndx == 1)
7214 /* linux_timer_gettime */
7216 if (ndx == 0 || ndx == 1)
7219 /* linux_timer_getoverrun */
7221 if (ndx == 0 || ndx == 1)
7224 /* linux_timer_delete */
7226 if (ndx == 0 || ndx == 1)
7229 /* linux_clock_settime */
7231 if (ndx == 0 || ndx == 1)
7234 /* linux_clock_gettime */
7236 if (ndx == 0 || ndx == 1)
7239 /* linux_clock_getres */
7241 if (ndx == 0 || ndx == 1)
7244 /* linux_clock_nanosleep */
7246 if (ndx == 0 || ndx == 1)
7249 /* linux_exit_group */
7251 if (ndx == 0 || ndx == 1)
7254 /* linux_epoll_wait */
7256 if (ndx == 0 || ndx == 1)
7259 /* linux_epoll_ctl */
7261 if (ndx == 0 || ndx == 1)
7266 if (ndx == 0 || ndx == 1)
7271 if (ndx == 0 || ndx == 1)
7276 /* linux_set_mempolicy */
7278 /* linux_get_mempolicy */
7282 /* linux_mq_unlink */
7284 /* linux_mq_timedsend */
7286 /* linux_mq_timedreceive */
7288 /* linux_mq_notify */
7290 /* linux_mq_getsetattr */
7292 /* linux_kexec_load */
7296 if (ndx == 0 || ndx == 1)
7301 /* linux_request_key */
7305 /* linux_ioprio_set */
7307 /* linux_ioprio_get */
7309 /* linux_inotify_init */
7311 /* linux_inotify_add_watch */
7313 /* linux_inotify_rm_watch */
7315 /* linux_migrate_pages */
7319 if (ndx == 0 || ndx == 1)
7324 if (ndx == 0 || ndx == 1)
7329 if (ndx == 0 || ndx == 1)
7332 /* linux_fchownat */
7334 if (ndx == 0 || ndx == 1)
7337 /* linux_futimesat */
7339 if (ndx == 0 || ndx == 1)
7342 /* linux_newfstatat */
7344 if (ndx == 0 || ndx == 1)
7347 /* linux_unlinkat */
7349 if (ndx == 0 || ndx == 1)
7352 /* linux_renameat */
7354 if (ndx == 0 || ndx == 1)
7359 if (ndx == 0 || ndx == 1)
7362 /* linux_symlinkat */
7364 if (ndx == 0 || ndx == 1)
7367 /* linux_readlinkat */
7369 if (ndx == 0 || ndx == 1)
7372 /* linux_fchmodat */
7374 if (ndx == 0 || ndx == 1)
7377 /* linux_faccessat */
7379 if (ndx == 0 || ndx == 1)
7382 /* linux_pselect6 */
7384 if (ndx == 0 || ndx == 1)
7389 if (ndx == 0 || ndx == 1)
7394 /* linux_set_robust_list */
7396 if (ndx == 0 || ndx == 1)
7399 /* linux_get_robust_list */
7401 if (ndx == 0 || ndx == 1)
7408 /* linux_sync_file_range */
7410 /* linux_vmsplice */
7412 /* linux_move_pages */
7414 /* linux_utimensat */
7416 if (ndx == 0 || ndx == 1)
7419 /* linux_epoll_pwait */
7421 if (ndx == 0 || ndx == 1)
7424 /* linux_signalfd */
7426 /* linux_timerfd_create */
7428 if (ndx == 0 || ndx == 1)
7433 if (ndx == 0 || ndx == 1)
7436 /* linux_fallocate */
7438 if (ndx == 0 || ndx == 1)
7441 /* linux_timerfd_settime */
7443 if (ndx == 0 || ndx == 1)
7446 /* linux_timerfd_gettime */
7448 if (ndx == 0 || ndx == 1)
7453 if (ndx == 0 || ndx == 1)
7456 /* linux_signalfd4 */
7458 /* linux_eventfd2 */
7460 if (ndx == 0 || ndx == 1)
7463 /* linux_epoll_create1 */
7465 if (ndx == 0 || ndx == 1)
7470 if (ndx == 0 || ndx == 1)
7475 if (ndx == 0 || ndx == 1)
7478 /* linux_inotify_init1 */
7480 if (ndx == 0 || ndx == 1)
7485 if (ndx == 0 || ndx == 1)
7490 if (ndx == 0 || ndx == 1)
7493 /* linux_rt_tgsigqueueinfo */
7495 if (ndx == 0 || ndx == 1)
7498 /* linux_perf_event_open */
7500 /* linux_recvmmsg */
7502 if (ndx == 0 || ndx == 1)
7505 /* linux_fanotify_init */
7507 /* linux_fanotify_mark */
7509 /* linux_prlimit64 */
7511 if (ndx == 0 || ndx == 1)
7514 /* linux_name_to_handle_at */
7516 /* linux_open_by_handle_at */
7518 /* linux_clock_adjtime */
7522 if (ndx == 0 || ndx == 1)
7525 /* linux_sendmmsg */
7527 if (ndx == 0 || ndx == 1)
7532 if (ndx == 0 || ndx == 1)
7537 if (ndx == 0 || ndx == 1)
7540 /* linux_process_vm_readv */
7542 if (ndx == 0 || ndx == 1)
7545 /* linux_process_vm_writev */
7547 if (ndx == 0 || ndx == 1)
7552 if (ndx == 0 || ndx == 1)
7555 /* linux_finit_module */
7557 if (ndx == 0 || ndx == 1)
7560 /* linux_sched_setattr */
7562 if (ndx == 0 || ndx == 1)
7565 /* linux_sched_getattr */
7567 if (ndx == 0 || ndx == 1)
7570 /* linux_renameat2 */
7572 if (ndx == 0 || ndx == 1)
7577 if (ndx == 0 || ndx == 1)
7580 /* linux_getrandom */
7582 if (ndx == 0 || ndx == 1)
7585 /* linux_memfd_create */
7587 if (ndx == 0 || ndx == 1)
7590 /* linux_kexec_file_load */
7592 if (ndx == 0 || ndx == 1)
7597 if (ndx == 0 || ndx == 1)
7600 /* linux_execveat */
7602 if (ndx == 0 || ndx == 1)
7605 /* linux_userfaultfd */
7607 if (ndx == 0 || ndx == 1)
7610 /* linux_membarrier */
7612 if (ndx == 0 || ndx == 1)
7617 if (ndx == 0 || ndx == 1)
7620 /* linux_copy_file_range */
7622 if (ndx == 0 || ndx == 1)
7627 if (ndx == 0 || ndx == 1)
7630 /* linux_pwritev2 */
7632 if (ndx == 0 || ndx == 1)
7635 /* linux_pkey_mprotect */
7637 if (ndx == 0 || ndx == 1)
7640 /* linux_pkey_alloc */
7642 if (ndx == 0 || ndx == 1)
7645 /* linux_pkey_free */
7647 if (ndx == 0 || ndx == 1)
7654 strlcpy(desc, p, descsz);