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 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_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; /* l_int */
1483 iarg[1] = p->sig; /* l_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; /* l_int */
1499 iarg[2] = p->val; /* l_int */
1500 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1501 uarg[4] = (intptr_t) p->uaddr2; /* void * */
1502 iarg[5] = p->val3; /* l_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; /* l_int * */
1557 /* linux_semtimedop */
1562 /* linux_fadvise64 */
1564 struct linux_fadvise64_args *p = params;
1565 iarg[0] = p->fd; /* l_int */
1566 iarg[1] = p->offset; /* l_loff_t */
1567 iarg[2] = p->len; /* l_size_t */
1568 iarg[3] = p->advice; /* l_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; /* l_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; /* l_int */
1678 iarg[1] = p->pid; /* l_int */
1679 iarg[2] = p->sig; /* l_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; /* l_int */
1745 iarg[1] = p->id; /* l_pid_t */
1746 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1747 iarg[3] = p->options; /* l_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 */
2452 struct linux_statx_args *p = params;
2453 iarg[0] = p->dirfd; /* l_int */
2454 uarg[1] = (intptr_t) p->pathname; /* const char * */
2455 iarg[2] = p->flags; /* l_uint */
2456 iarg[3] = p->mask; /* l_uint */
2457 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2461 /* linux_io_pgetevents */
2471 /* linux_pidfd_send_signal */
2473 struct linux_pidfd_send_signal_args *p = params;
2474 iarg[0] = p->pidfd; /* l_int */
2475 iarg[1] = p->sig; /* l_int */
2476 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2477 iarg[3] = p->flags; /* l_uint */
2481 /* linux_io_uring_setup */
2486 /* linux_io_uring_enter */
2491 /* linux_io_uring_register */
2502 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2504 const char *p = NULL;
2506 #define nosys linux_nosys
2514 p = "userland char *";
2530 p = "userland char *";
2543 p = "userland char *";
2569 p = "userland char *";
2572 p = "userland struct l_newstat *";
2578 /* linux_newfstat */
2585 p = "userland struct l_newstat *";
2591 /* linux_newlstat */
2595 p = "userland char *";
2598 p = "userland struct l_newstat *";
2608 p = "userland struct pollfd *";
2661 /* linux_mprotect */
2700 /* linux_rt_sigaction */
2707 p = "userland l_sigaction_t *";
2710 p = "userland l_sigaction_t *";
2719 /* linux_rt_sigprocmask */
2726 p = "userland l_sigset_t *";
2729 p = "userland l_sigset_t *";
2738 /* linux_rt_sigreturn */
2742 p = "userland struct l_ucontext *";
2771 p = "userland char *";
2790 p = "userland char *";
2809 p = "userland struct iovec *";
2825 p = "userland struct iovec *";
2838 p = "userland char *";
2851 p = "userland l_ulong *";
2864 p = "userland l_fd_set *";
2867 p = "userland l_fd_set *";
2870 p = "userland l_fd_set *";
2873 p = "userland struct l_timeval *";
2930 p = "userland u_char *";
2940 p = "userland void *";
2975 p = "userland char *";
2994 p = "userland struct l_shmid_ds *";
3026 /* linux_nanosleep */
3030 p = "userland const struct l_timespec *";
3033 p = "userland struct l_timespec *";
3039 /* linux_getitimer */
3046 p = "userland struct l_itimerval *";
3062 /* linux_setitimer */
3069 p = "userland struct l_itimerval *";
3072 p = "userland struct l_itimerval *";
3081 /* linux_sendfile */
3091 p = "userland l_long *";
3173 /* linux_recvfrom */
3230 /* linux_shutdown */
3272 /* linux_getsockname */
3288 /* linux_getpeername */
3304 /* linux_socketpair */
3323 /* linux_setsockopt */
3345 /* linux_getsockopt */
3374 p = "userland void *";
3377 p = "userland void *";
3380 p = "userland void *";
3383 p = "userland void *";
3399 p = "userland char *";
3402 p = "userland char **";
3405 p = "userland char **";
3428 p = "userland l_int *";
3434 p = "userland struct rusage *";
3453 /* linux_newuname */
3457 p = "userland struct l_new_utsname *";
3486 p = "userland struct l_sembuf *";
3508 p = "union l_semun";
3518 p = "userland char *";
3544 p = "userland struct l_msgbuf *";
3563 p = "userland struct l_msgbuf *";
3588 p = "userland struct l_msqid_ds *";
3633 /* linux_fdatasync */
3643 /* linux_truncate */
3647 p = "userland char *";
3656 /* linux_ftruncate */
3669 /* linux_getdents */
3676 p = "userland void *";
3689 p = "userland char *";
3702 p = "userland char *";
3722 p = "userland char *";
3725 p = "userland char *";
3735 p = "userland char *";
3748 p = "userland char *";
3758 p = "userland char *";
3771 p = "userland char *";
3774 p = "userland char *";
3784 p = "userland char *";
3794 p = "userland char *";
3797 p = "userland char *";
3803 /* linux_readlink */
3807 p = "userland char *";
3810 p = "userland char *";
3823 p = "userland char *";
3849 p = "userland char *";
3881 p = "userland char *";
3907 p = "userland struct l_timeval *";
3910 p = "userland struct timezone *";
3916 /* linux_getrlimit */
3923 p = "userland struct l_rlimit *";
3936 p = "userland struct rusage *";
3946 p = "userland struct l_sysinfo *";
3956 p = "userland struct l_times_argv *";
3991 p = "userland char *";
4077 /* linux_getgroups */
4084 p = "userland l_gid_t *";
4090 /* linux_setgroups */
4097 p = "userland l_gid_t *";
4123 p = "userland uid_t *";
4126 p = "userland uid_t *";
4129 p = "userland uid_t *";
4155 p = "userland gid_t *";
4158 p = "userland gid_t *";
4161 p = "userland gid_t *";
4177 /* linux_setfsuid */
4187 /* linux_setfsgid */
4211 p = "userland struct l_user_cap_header *";
4214 p = "userland struct l_user_cap_data *";
4224 p = "userland struct l_user_cap_header *";
4227 p = "userland struct l_user_cap_data *";
4233 /* linux_rt_sigpending */
4237 p = "userland l_sigset_t *";
4246 /* linux_rt_sigtimedwait */
4250 p = "userland l_sigset_t *";
4253 p = "userland l_siginfo_t *";
4256 p = "userland struct l_timeval *";
4265 /* linux_rt_sigqueueinfo */
4275 p = "userland l_siginfo_t *";
4281 /* linux_rt_sigsuspend */
4285 p = "userland l_sigset_t *";
4294 /* linux_sigaltstack */
4298 p = "userland l_stack_t *";
4301 p = "userland l_stack_t *";
4311 p = "userland char *";
4314 p = "userland struct l_utimbuf *";
4324 p = "userland char *";
4336 /* linux_personality */
4353 p = "userland struct l_ustat *";
4363 p = "userland char *";
4366 p = "userland struct l_statfs_buf *";
4379 p = "userland struct l_statfs_buf *";
4401 /* linux_getpriority */
4430 /* linux_sched_setparam */
4437 p = "userland struct sched_param *";
4443 /* linux_sched_getparam */
4450 p = "userland struct sched_param *";
4456 /* linux_sched_setscheduler */
4466 p = "userland struct sched_param *";
4472 /* linux_sched_getscheduler */
4482 /* linux_sched_get_priority_max */
4492 /* linux_sched_get_priority_min */
4502 /* linux_sched_rr_get_interval */
4509 p = "userland struct l_timespec *";
4519 p = "userland const void *";
4532 p = "userland const void *";
4557 /* linux_pivot_root */
4564 p = "userland struct l___sysctl_args *";
4592 /* linux_arch_prctl */
4605 /* linux_adjtimex */
4608 /* linux_setrlimit */
4615 p = "userland struct l_rlimit *";
4625 p = "userland char *";
4638 p = "userland char *";
4648 p = "userland struct l_timeval *";
4651 p = "userland struct timezone *";
4661 p = "userland char *";
4664 p = "userland char *";
4667 p = "userland char *";
4673 p = "userland void *";
4683 p = "userland char *";
4696 p = "userland char *";
4718 p = "userland void *";
4724 /* linux_sethostname */
4728 p = "userland char *";
4737 /* linux_setdomainname */
4741 p = "userland char *";
4760 /* linux_init_module */
4763 /* linux_delete_module */
4766 /* linux_quotactl */
4772 /* linux_setxattr */
4775 /* linux_lsetxattr */
4778 /* linux_fsetxattr */
4781 /* linux_getxattr */
4784 /* linux_lgetxattr */
4787 /* linux_fgetxattr */
4790 /* linux_listxattr */
4793 /* linux_llistxattr */
4796 /* linux_flistxattr */
4799 /* linux_removexattr */
4802 /* linux_lremovexattr */
4805 /* linux_fremovexattr */
4825 p = "userland l_time_t *";
4831 /* linux_sys_futex */
4835 p = "userland void *";
4844 p = "userland struct l_timespec *";
4847 p = "userland void *";
4856 /* linux_sched_setaffinity */
4866 p = "userland l_ulong *";
4872 /* linux_sched_getaffinity */
4882 p = "userland l_ulong *";
4888 /* linux_lookup_dcookie */
4891 /* linux_epoll_create */
4901 /* linux_remap_file_pages */
4904 /* linux_getdents64 */
4911 p = "userland void *";
4920 /* linux_set_tid_address */
4924 p = "userland l_int *";
4930 /* linux_semtimedop */
4933 /* linux_fadvise64 */
4952 /* linux_timer_create */
4959 p = "userland struct sigevent *";
4962 p = "userland l_timer_t *";
4968 /* linux_timer_settime */
4978 p = "userland const struct itimerspec *";
4981 p = "userland struct itimerspec *";
4987 /* linux_timer_gettime */
4994 p = "userland struct itimerspec *";
5000 /* linux_timer_getoverrun */
5010 /* linux_timer_delete */
5020 /* linux_clock_settime */
5027 p = "userland struct l_timespec *";
5033 /* linux_clock_gettime */
5040 p = "userland struct l_timespec *";
5046 /* linux_clock_getres */
5053 p = "userland struct l_timespec *";
5059 /* linux_clock_nanosleep */
5069 p = "userland struct l_timespec *";
5072 p = "userland struct l_timespec *";
5078 /* linux_exit_group */
5088 /* linux_epoll_wait */
5095 p = "userland struct epoll_event *";
5107 /* linux_epoll_ctl */
5120 p = "userland struct epoll_event *";
5146 p = "userland char *";
5149 p = "userland struct l_timeval *";
5158 /* linux_set_mempolicy */
5161 /* linux_get_mempolicy */
5167 /* linux_mq_unlink */
5170 /* linux_mq_timedsend */
5173 /* linux_mq_timedreceive */
5176 /* linux_mq_notify */
5179 /* linux_mq_getsetattr */
5182 /* linux_kexec_load */
5195 p = "userland l_siginfo_t *";
5201 p = "userland struct rusage *";
5210 /* linux_request_key */
5216 /* linux_ioprio_set */
5219 /* linux_ioprio_get */
5222 /* linux_inotify_init */
5225 /* linux_inotify_add_watch */
5228 /* linux_inotify_rm_watch */
5231 /* linux_migrate_pages */
5241 p = "userland const char *";
5260 p = "userland const char *";
5276 p = "userland const char *";
5288 /* linux_fchownat */
5295 p = "userland const char *";
5310 /* linux_futimesat */
5317 p = "userland char *";
5320 p = "userland struct l_timeval *";
5326 /* linux_newfstatat */
5333 p = "userland char *";
5336 p = "userland struct l_stat64 *";
5345 /* linux_unlinkat */
5352 p = "userland const char *";
5361 /* linux_renameat */
5368 p = "userland const char *";
5374 p = "userland const char *";
5387 p = "userland const char *";
5393 p = "userland const char *";
5402 /* linux_symlinkat */
5406 p = "userland const char *";
5412 p = "userland const char *";
5418 /* linux_readlinkat */
5425 p = "userland const char *";
5428 p = "userland char *";
5437 /* linux_fchmodat */
5444 p = "userland const char *";
5453 /* linux_faccessat */
5460 p = "userland const char *";
5469 /* linux_pselect6 */
5476 p = "userland l_fd_set *";
5479 p = "userland l_fd_set *";
5482 p = "userland l_fd_set *";
5485 p = "userland struct l_timespec *";
5488 p = "userland l_uintptr_t *";
5498 p = "userland struct pollfd *";
5504 p = "userland struct l_timespec *";
5507 p = "userland l_sigset_t *";
5519 /* linux_set_robust_list */
5523 p = "userland struct linux_robust_list_head *";
5532 /* linux_get_robust_list */
5539 p = "userland struct linux_robust_list_head **";
5542 p = "userland l_size_t *";
5554 /* linux_sync_file_range */
5557 /* linux_vmsplice */
5560 /* linux_move_pages */
5563 /* linux_utimensat */
5570 p = "userland const char *";
5573 p = "userland const struct l_timespec *";
5582 /* linux_epoll_pwait */
5589 p = "userland struct epoll_event *";
5598 p = "userland l_sigset_t *";
5607 /* linux_signalfd */
5610 /* linux_timerfd_create */
5633 /* linux_fallocate */
5652 /* linux_timerfd_settime */
5662 p = "userland const struct l_itimerspec *";
5665 p = "userland struct l_itimerspec *";
5671 /* linux_timerfd_gettime */
5678 p = "userland struct l_itimerspec *";
5703 /* linux_signalfd4 */
5706 /* linux_eventfd2 */
5719 /* linux_epoll_create1 */
5749 p = "userland l_int *";
5758 /* linux_inotify_init1 */
5775 p = "userland struct iovec *";
5797 p = "userland struct iovec *";
5812 /* linux_rt_tgsigqueueinfo */
5825 p = "userland l_siginfo_t *";
5831 /* linux_perf_event_open */
5834 /* linux_recvmmsg */
5841 p = "userland struct l_mmsghdr *";
5850 p = "userland struct l_timespec *";
5856 /* linux_fanotify_init */
5859 /* linux_fanotify_mark */
5862 /* linux_prlimit64 */
5872 p = "userland struct rlimit *";
5875 p = "userland struct rlimit *";
5881 /* linux_name_to_handle_at */
5884 /* linux_open_by_handle_at */
5887 /* linux_clock_adjtime */
5900 /* linux_sendmmsg */
5907 p = "userland struct l_mmsghdr *";
5936 p = "userland l_uint *";
5939 p = "userland l_uint *";
5942 p = "userland void *";
5948 /* linux_process_vm_readv */
5955 p = "userland const struct iovec *";
5961 p = "userland const struct iovec *";
5973 /* linux_process_vm_writev */
5980 p = "userland const struct iovec *";
5986 p = "userland const struct iovec *";
6020 /* linux_finit_module */
6027 p = "userland const char *";
6036 /* linux_sched_setattr */
6043 p = "userland void *";
6052 /* linux_sched_getattr */
6059 p = "userland void *";
6071 /* linux_renameat2 */
6078 p = "userland const char *";
6084 p = "userland const char *";
6103 p = "userland const char *";
6109 /* linux_getrandom */
6113 p = "userland char *";
6125 /* linux_memfd_create */
6129 p = "userland const char *";
6138 /* linux_kexec_file_load */
6151 p = "userland const char *";
6167 p = "userland void *";
6176 /* linux_execveat */
6183 p = "userland const char *";
6186 p = "userland const char **";
6189 p = "userland const char **";
6198 /* linux_userfaultfd */
6208 /* linux_membarrier */
6237 /* linux_copy_file_range */
6244 p = "userland l_loff_t *";
6250 p = "userland l_loff_t *";
6269 p = "userland const struct iovec *";
6287 /* linux_pwritev2 */
6294 p = "userland const struct iovec *";
6312 /* linux_pkey_mprotect */
6331 /* linux_pkey_alloc */
6344 /* linux_pkey_free */
6361 p = "userland const char *";
6370 p = "userland void *";
6376 /* linux_io_pgetevents */
6382 /* linux_pidfd_send_signal */
6392 p = "userland l_siginfo_t *";
6401 /* linux_io_uring_setup */
6404 /* linux_io_uring_enter */
6407 /* linux_io_uring_register */
6414 strlcpy(desc, p, descsz);
6417 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6419 const char *p = NULL;
6421 #define nosys linux_nosys
6424 if (ndx == 0 || ndx == 1)
6429 if (ndx == 0 || ndx == 1)
6434 if (ndx == 0 || ndx == 1)
6439 if (ndx == 0 || ndx == 1)
6444 if (ndx == 0 || ndx == 1)
6447 /* linux_newfstat */
6449 if (ndx == 0 || ndx == 1)
6452 /* linux_newlstat */
6454 if (ndx == 0 || ndx == 1)
6459 if (ndx == 0 || ndx == 1)
6464 if (ndx == 0 || ndx == 1)
6469 if (ndx == 0 || ndx == 1)
6472 /* linux_mprotect */
6474 if (ndx == 0 || ndx == 1)
6479 if (ndx == 0 || ndx == 1)
6484 if (ndx == 0 || ndx == 1)
6487 /* linux_rt_sigaction */
6489 if (ndx == 0 || ndx == 1)
6492 /* linux_rt_sigprocmask */
6494 if (ndx == 0 || ndx == 1)
6497 /* linux_rt_sigreturn */
6499 if (ndx == 0 || ndx == 1)
6504 if (ndx == 0 || ndx == 1)
6509 if (ndx == 0 || ndx == 1)
6514 if (ndx == 0 || ndx == 1)
6519 if (ndx == 0 || ndx == 1)
6524 if (ndx == 0 || ndx == 1)
6529 if (ndx == 0 || ndx == 1)
6534 if (ndx == 0 || ndx == 1)
6539 if (ndx == 0 || ndx == 1)
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)
6571 if (ndx == 0 || ndx == 1)
6576 if (ndx == 0 || ndx == 1)
6581 if (ndx == 0 || ndx == 1)
6586 if (ndx == 0 || ndx == 1)
6591 /* linux_nanosleep */
6593 if (ndx == 0 || ndx == 1)
6596 /* linux_getitimer */
6598 if (ndx == 0 || ndx == 1)
6603 if (ndx == 0 || ndx == 1)
6606 /* linux_setitimer */
6608 if (ndx == 0 || ndx == 1)
6613 /* linux_sendfile */
6615 if (ndx == 0 || ndx == 1)
6620 if (ndx == 0 || ndx == 1)
6625 if (ndx == 0 || ndx == 1)
6630 if (ndx == 0 || ndx == 1)
6635 if (ndx == 0 || ndx == 1)
6638 /* linux_recvfrom */
6640 if (ndx == 0 || ndx == 1)
6645 if (ndx == 0 || ndx == 1)
6650 if (ndx == 0 || ndx == 1)
6653 /* linux_shutdown */
6655 if (ndx == 0 || ndx == 1)
6660 if (ndx == 0 || ndx == 1)
6665 if (ndx == 0 || ndx == 1)
6668 /* linux_getsockname */
6670 if (ndx == 0 || ndx == 1)
6673 /* linux_getpeername */
6675 if (ndx == 0 || ndx == 1)
6678 /* linux_socketpair */
6680 if (ndx == 0 || ndx == 1)
6683 /* linux_setsockopt */
6685 if (ndx == 0 || ndx == 1)
6688 /* linux_getsockopt */
6690 if (ndx == 0 || ndx == 1)
6695 if (ndx == 0 || ndx == 1)
6704 if (ndx == 0 || ndx == 1)
6709 if (ndx == 0 || ndx == 1)
6714 if (ndx == 0 || ndx == 1)
6719 if (ndx == 0 || ndx == 1)
6722 /* linux_newuname */
6724 if (ndx == 0 || ndx == 1)
6729 if (ndx == 0 || ndx == 1)
6734 if (ndx == 0 || ndx == 1)
6739 if (ndx == 0 || ndx == 1)
6744 if (ndx == 0 || ndx == 1)
6749 if (ndx == 0 || ndx == 1)
6754 if (ndx == 0 || ndx == 1)
6759 if (ndx == 0 || ndx == 1)
6764 if (ndx == 0 || ndx == 1)
6769 if (ndx == 0 || ndx == 1)
6774 if (ndx == 0 || ndx == 1)
6779 if (ndx == 0 || ndx == 1)
6782 /* linux_fdatasync */
6784 if (ndx == 0 || ndx == 1)
6787 /* linux_truncate */
6789 if (ndx == 0 || ndx == 1)
6792 /* linux_ftruncate */
6794 if (ndx == 0 || ndx == 1)
6797 /* linux_getdents */
6799 if (ndx == 0 || ndx == 1)
6804 if (ndx == 0 || ndx == 1)
6809 if (ndx == 0 || ndx == 1)
6814 if (ndx == 0 || ndx == 1)
6819 if (ndx == 0 || ndx == 1)
6824 if (ndx == 0 || ndx == 1)
6829 if (ndx == 0 || ndx == 1)
6834 if (ndx == 0 || ndx == 1)
6839 if (ndx == 0 || ndx == 1)
6844 if (ndx == 0 || ndx == 1)
6849 if (ndx == 0 || ndx == 1)
6852 /* linux_readlink */
6854 if (ndx == 0 || ndx == 1)
6859 if (ndx == 0 || ndx == 1)
6864 if (ndx == 0 || ndx == 1)
6869 if (ndx == 0 || ndx == 1)
6874 if (ndx == 0 || ndx == 1)
6879 if (ndx == 0 || ndx == 1)
6884 if (ndx == 0 || ndx == 1)
6889 if (ndx == 0 || ndx == 1)
6892 /* linux_getrlimit */
6894 if (ndx == 0 || ndx == 1)
6899 if (ndx == 0 || ndx == 1)
6904 if (ndx == 0 || ndx == 1)
6909 if (ndx == 0 || ndx == 1)
6914 if (ndx == 0 || ndx == 1)
6921 if (ndx == 0 || ndx == 1)
6928 if (ndx == 0 || ndx == 1)
6933 if (ndx == 0 || ndx == 1)
6942 if (ndx == 0 || ndx == 1)
6953 if (ndx == 0 || ndx == 1)
6958 if (ndx == 0 || ndx == 1)
6961 /* linux_getgroups */
6963 if (ndx == 0 || ndx == 1)
6966 /* linux_setgroups */
6968 if (ndx == 0 || ndx == 1)
6973 if (ndx == 0 || ndx == 1)
6978 if (ndx == 0 || ndx == 1)
6983 if (ndx == 0 || ndx == 1)
6988 if (ndx == 0 || ndx == 1)
6993 if (ndx == 0 || ndx == 1)
6996 /* linux_setfsuid */
6998 if (ndx == 0 || ndx == 1)
7001 /* linux_setfsgid */
7003 if (ndx == 0 || ndx == 1)
7008 if (ndx == 0 || ndx == 1)
7013 if (ndx == 0 || ndx == 1)
7018 if (ndx == 0 || ndx == 1)
7021 /* linux_rt_sigpending */
7023 if (ndx == 0 || ndx == 1)
7026 /* linux_rt_sigtimedwait */
7028 if (ndx == 0 || ndx == 1)
7031 /* linux_rt_sigqueueinfo */
7033 if (ndx == 0 || ndx == 1)
7036 /* linux_rt_sigsuspend */
7038 if (ndx == 0 || ndx == 1)
7041 /* linux_sigaltstack */
7043 if (ndx == 0 || ndx == 1)
7048 if (ndx == 0 || ndx == 1)
7053 if (ndx == 0 || ndx == 1)
7056 /* linux_personality */
7058 if (ndx == 0 || ndx == 1)
7063 if (ndx == 0 || ndx == 1)
7068 if (ndx == 0 || ndx == 1)
7073 if (ndx == 0 || ndx == 1)
7078 if (ndx == 0 || ndx == 1)
7081 /* linux_getpriority */
7083 if (ndx == 0 || ndx == 1)
7088 if (ndx == 0 || ndx == 1)
7091 /* linux_sched_setparam */
7093 if (ndx == 0 || ndx == 1)
7096 /* linux_sched_getparam */
7098 if (ndx == 0 || ndx == 1)
7101 /* linux_sched_setscheduler */
7103 if (ndx == 0 || ndx == 1)
7106 /* linux_sched_getscheduler */
7108 if (ndx == 0 || ndx == 1)
7111 /* linux_sched_get_priority_max */
7113 if (ndx == 0 || ndx == 1)
7116 /* linux_sched_get_priority_min */
7118 if (ndx == 0 || ndx == 1)
7121 /* linux_sched_rr_get_interval */
7123 if (ndx == 0 || ndx == 1)
7128 if (ndx == 0 || ndx == 1)
7133 if (ndx == 0 || ndx == 1)
7138 if (ndx == 0 || ndx == 1)
7145 /* linux_pivot_root */
7149 if (ndx == 0 || ndx == 1)
7154 if (ndx == 0 || ndx == 1)
7157 /* linux_arch_prctl */
7159 if (ndx == 0 || ndx == 1)
7162 /* linux_adjtimex */
7164 /* linux_setrlimit */
7166 if (ndx == 0 || ndx == 1)
7171 if (ndx == 0 || ndx == 1)
7178 if (ndx == 0 || ndx == 1)
7183 if (ndx == 0 || ndx == 1)
7188 if (ndx == 0 || ndx == 1)
7193 if (ndx == 0 || ndx == 1)
7198 if (ndx == 0 || ndx == 1)
7205 if (ndx == 0 || ndx == 1)
7208 /* linux_sethostname */
7210 if (ndx == 0 || ndx == 1)
7213 /* linux_setdomainname */
7215 if (ndx == 0 || ndx == 1)
7220 if (ndx == 0 || ndx == 1)
7223 /* linux_init_module */
7225 /* linux_delete_module */
7227 /* linux_quotactl */
7231 /* linux_setxattr */
7233 /* linux_lsetxattr */
7235 /* linux_fsetxattr */
7237 /* linux_getxattr */
7239 /* linux_lgetxattr */
7241 /* linux_fgetxattr */
7243 /* linux_listxattr */
7245 /* linux_llistxattr */
7247 /* linux_flistxattr */
7249 /* linux_removexattr */
7251 /* linux_lremovexattr */
7253 /* linux_fremovexattr */
7257 if (ndx == 0 || ndx == 1)
7262 if (ndx == 0 || ndx == 1)
7265 /* linux_sys_futex */
7267 if (ndx == 0 || ndx == 1)
7270 /* linux_sched_setaffinity */
7272 if (ndx == 0 || ndx == 1)
7275 /* linux_sched_getaffinity */
7277 if (ndx == 0 || ndx == 1)
7280 /* linux_lookup_dcookie */
7282 /* linux_epoll_create */
7284 if (ndx == 0 || ndx == 1)
7287 /* linux_remap_file_pages */
7289 /* linux_getdents64 */
7291 if (ndx == 0 || ndx == 1)
7294 /* linux_set_tid_address */
7296 if (ndx == 0 || ndx == 1)
7299 /* linux_semtimedop */
7301 /* linux_fadvise64 */
7303 if (ndx == 0 || ndx == 1)
7306 /* linux_timer_create */
7308 if (ndx == 0 || ndx == 1)
7311 /* linux_timer_settime */
7313 if (ndx == 0 || ndx == 1)
7316 /* linux_timer_gettime */
7318 if (ndx == 0 || ndx == 1)
7321 /* linux_timer_getoverrun */
7323 if (ndx == 0 || ndx == 1)
7326 /* linux_timer_delete */
7328 if (ndx == 0 || ndx == 1)
7331 /* linux_clock_settime */
7333 if (ndx == 0 || ndx == 1)
7336 /* linux_clock_gettime */
7338 if (ndx == 0 || ndx == 1)
7341 /* linux_clock_getres */
7343 if (ndx == 0 || ndx == 1)
7346 /* linux_clock_nanosleep */
7348 if (ndx == 0 || ndx == 1)
7351 /* linux_exit_group */
7353 if (ndx == 0 || ndx == 1)
7356 /* linux_epoll_wait */
7358 if (ndx == 0 || ndx == 1)
7361 /* linux_epoll_ctl */
7363 if (ndx == 0 || ndx == 1)
7368 if (ndx == 0 || ndx == 1)
7373 if (ndx == 0 || ndx == 1)
7378 /* linux_set_mempolicy */
7380 /* linux_get_mempolicy */
7384 /* linux_mq_unlink */
7386 /* linux_mq_timedsend */
7388 /* linux_mq_timedreceive */
7390 /* linux_mq_notify */
7392 /* linux_mq_getsetattr */
7394 /* linux_kexec_load */
7398 if (ndx == 0 || ndx == 1)
7403 /* linux_request_key */
7407 /* linux_ioprio_set */
7409 /* linux_ioprio_get */
7411 /* linux_inotify_init */
7413 /* linux_inotify_add_watch */
7415 /* linux_inotify_rm_watch */
7417 /* linux_migrate_pages */
7421 if (ndx == 0 || ndx == 1)
7426 if (ndx == 0 || ndx == 1)
7431 if (ndx == 0 || ndx == 1)
7434 /* linux_fchownat */
7436 if (ndx == 0 || ndx == 1)
7439 /* linux_futimesat */
7441 if (ndx == 0 || ndx == 1)
7444 /* linux_newfstatat */
7446 if (ndx == 0 || ndx == 1)
7449 /* linux_unlinkat */
7451 if (ndx == 0 || ndx == 1)
7454 /* linux_renameat */
7456 if (ndx == 0 || ndx == 1)
7461 if (ndx == 0 || ndx == 1)
7464 /* linux_symlinkat */
7466 if (ndx == 0 || ndx == 1)
7469 /* linux_readlinkat */
7471 if (ndx == 0 || ndx == 1)
7474 /* linux_fchmodat */
7476 if (ndx == 0 || ndx == 1)
7479 /* linux_faccessat */
7481 if (ndx == 0 || ndx == 1)
7484 /* linux_pselect6 */
7486 if (ndx == 0 || ndx == 1)
7491 if (ndx == 0 || ndx == 1)
7496 /* linux_set_robust_list */
7498 if (ndx == 0 || ndx == 1)
7501 /* linux_get_robust_list */
7503 if (ndx == 0 || ndx == 1)
7510 /* linux_sync_file_range */
7512 /* linux_vmsplice */
7514 /* linux_move_pages */
7516 /* linux_utimensat */
7518 if (ndx == 0 || ndx == 1)
7521 /* linux_epoll_pwait */
7523 if (ndx == 0 || ndx == 1)
7526 /* linux_signalfd */
7528 /* linux_timerfd_create */
7530 if (ndx == 0 || ndx == 1)
7535 if (ndx == 0 || ndx == 1)
7538 /* linux_fallocate */
7540 if (ndx == 0 || ndx == 1)
7543 /* linux_timerfd_settime */
7545 if (ndx == 0 || ndx == 1)
7548 /* linux_timerfd_gettime */
7550 if (ndx == 0 || ndx == 1)
7555 if (ndx == 0 || ndx == 1)
7558 /* linux_signalfd4 */
7560 /* linux_eventfd2 */
7562 if (ndx == 0 || ndx == 1)
7565 /* linux_epoll_create1 */
7567 if (ndx == 0 || ndx == 1)
7572 if (ndx == 0 || ndx == 1)
7577 if (ndx == 0 || ndx == 1)
7580 /* linux_inotify_init1 */
7582 if (ndx == 0 || ndx == 1)
7587 if (ndx == 0 || ndx == 1)
7592 if (ndx == 0 || ndx == 1)
7595 /* linux_rt_tgsigqueueinfo */
7597 if (ndx == 0 || ndx == 1)
7600 /* linux_perf_event_open */
7602 /* linux_recvmmsg */
7604 if (ndx == 0 || ndx == 1)
7607 /* linux_fanotify_init */
7609 /* linux_fanotify_mark */
7611 /* linux_prlimit64 */
7613 if (ndx == 0 || ndx == 1)
7616 /* linux_name_to_handle_at */
7618 /* linux_open_by_handle_at */
7620 /* linux_clock_adjtime */
7624 if (ndx == 0 || ndx == 1)
7627 /* linux_sendmmsg */
7629 if (ndx == 0 || ndx == 1)
7634 if (ndx == 0 || ndx == 1)
7639 if (ndx == 0 || ndx == 1)
7642 /* linux_process_vm_readv */
7644 if (ndx == 0 || ndx == 1)
7647 /* linux_process_vm_writev */
7649 if (ndx == 0 || ndx == 1)
7654 if (ndx == 0 || ndx == 1)
7657 /* linux_finit_module */
7659 if (ndx == 0 || ndx == 1)
7662 /* linux_sched_setattr */
7664 if (ndx == 0 || ndx == 1)
7667 /* linux_sched_getattr */
7669 if (ndx == 0 || ndx == 1)
7672 /* linux_renameat2 */
7674 if (ndx == 0 || ndx == 1)
7679 if (ndx == 0 || ndx == 1)
7682 /* linux_getrandom */
7684 if (ndx == 0 || ndx == 1)
7687 /* linux_memfd_create */
7689 if (ndx == 0 || ndx == 1)
7692 /* linux_kexec_file_load */
7694 if (ndx == 0 || ndx == 1)
7699 if (ndx == 0 || ndx == 1)
7702 /* linux_execveat */
7704 if (ndx == 0 || ndx == 1)
7707 /* linux_userfaultfd */
7709 if (ndx == 0 || ndx == 1)
7712 /* linux_membarrier */
7714 if (ndx == 0 || ndx == 1)
7719 if (ndx == 0 || ndx == 1)
7722 /* linux_copy_file_range */
7724 if (ndx == 0 || ndx == 1)
7729 if (ndx == 0 || ndx == 1)
7732 /* linux_pwritev2 */
7734 if (ndx == 0 || ndx == 1)
7737 /* linux_pkey_mprotect */
7739 if (ndx == 0 || ndx == 1)
7742 /* linux_pkey_alloc */
7744 if (ndx == 0 || ndx == 1)
7747 /* linux_pkey_free */
7749 if (ndx == 0 || ndx == 1)
7754 if (ndx == 0 || ndx == 1)
7757 /* linux_io_pgetevents */
7761 /* linux_pidfd_send_signal */
7763 if (ndx == 0 || ndx == 1)
7766 /* linux_io_uring_setup */
7768 /* linux_io_uring_enter */
7770 /* linux_io_uring_register */
7776 strlcpy(desc, p, descsz);