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 iarg[2] = p->nbyte; /* l_size_t */
26 struct write_args *p = params;
27 iarg[0] = p->fd; /* int */
28 uarg[1] = (intptr_t) p->buf; /* char * */
29 iarg[2] = p->nbyte; /* l_size_t */
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_mode_t */
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 iarg[0] = p->addr; /* l_ulong */
107 iarg[1] = p->len; /* l_size_t */
108 iarg[2] = p->prot; /* l_ulong */
114 struct munmap_args *p = params;
115 uarg[0] = (intptr_t) p->addr; /* void * */
116 iarg[1] = p->len; /* l_size_t */
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 iarg[2] = p->arg; /* l_ulong */
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_int * */
218 struct linux_select_args *p = params;
219 iarg[0] = p->nfds; /* l_int */
220 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
221 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
222 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
223 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */
234 struct linux_mremap_args *p = params;
235 iarg[0] = p->addr; /* l_ulong */
236 iarg[1] = p->old_len; /* l_ulong */
237 iarg[2] = p->new_len; /* l_ulong */
238 iarg[3] = p->flags; /* l_ulong */
239 iarg[4] = p->new_addr; /* l_ulong */
245 struct linux_msync_args *p = params;
246 iarg[0] = p->addr; /* l_ulong */
247 iarg[1] = p->len; /* l_size_t */
248 iarg[2] = p->fl; /* l_int */
254 struct linux_mincore_args *p = params;
255 iarg[0] = p->start; /* l_ulong */
256 iarg[1] = p->len; /* l_size_t */
257 uarg[2] = (intptr_t) p->vec; /* u_char * */
263 struct linux_madvise_args *p = params;
264 iarg[0] = p->addr; /* l_ulong */
265 iarg[1] = p->len; /* l_size_t */
266 iarg[2] = p->behav; /* l_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_off_t * */
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_size_t */
397 iarg[3] = p->flags; /* l_uint */
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_uint */
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_uint */
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_uint */
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_ulong */
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_pid_t */
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_long */
682 /* linux_ftruncate */
684 struct linux_ftruncate_args *p = params;
685 iarg[0] = p->fd; /* l_int */
686 iarg[1] = p->length; /* l_ulong */
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_mode_t */
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_mode_t */
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_mode_t */
1116 iarg[2] = p->dev; /* l_uint */
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_uint */
1131 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */
1137 struct linux_statfs_args *p = params;
1138 uarg[0] = (intptr_t) p->path; /* char * */
1139 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
1145 struct linux_fstatfs_args *p = params;
1146 iarg[0] = p->fd; /* l_uint */
1147 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */
1153 struct linux_sysfs_args *p = params;
1154 iarg[0] = p->option; /* l_int */
1155 iarg[1] = p->arg1; /* l_ulong */
1156 iarg[2] = p->arg2; /* l_ulong */
1160 /* linux_getpriority */
1162 struct linux_getpriority_args *p = params;
1163 iarg[0] = p->which; /* l_int */
1164 iarg[1] = p->who; /* l_int */
1170 struct setpriority_args *p = params;
1171 iarg[0] = p->which; /* int */
1172 iarg[1] = p->who; /* int */
1173 iarg[2] = p->prio; /* int */
1177 /* linux_sched_setparam */
1179 struct linux_sched_setparam_args *p = params;
1180 iarg[0] = p->pid; /* l_pid_t */
1181 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1185 /* linux_sched_getparam */
1187 struct linux_sched_getparam_args *p = params;
1188 iarg[0] = p->pid; /* l_pid_t */
1189 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1193 /* linux_sched_setscheduler */
1195 struct linux_sched_setscheduler_args *p = params;
1196 iarg[0] = p->pid; /* l_pid_t */
1197 iarg[1] = p->policy; /* l_int */
1198 uarg[2] = (intptr_t) p->param; /* struct sched_param * */
1202 /* linux_sched_getscheduler */
1204 struct linux_sched_getscheduler_args *p = params;
1205 iarg[0] = p->pid; /* l_pid_t */
1209 /* linux_sched_get_priority_max */
1211 struct linux_sched_get_priority_max_args *p = params;
1212 iarg[0] = p->policy; /* l_int */
1216 /* linux_sched_get_priority_min */
1218 struct linux_sched_get_priority_min_args *p = params;
1219 iarg[0] = p->policy; /* l_int */
1223 /* linux_sched_rr_get_interval */
1225 struct linux_sched_rr_get_interval_args *p = params;
1226 iarg[0] = p->pid; /* l_pid_t */
1227 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */
1233 struct mlock_args *p = params;
1234 uarg[0] = (intptr_t) p->addr; /* const void * */
1235 uarg[1] = p->len; /* size_t */
1241 struct munlock_args *p = params;
1242 uarg[0] = (intptr_t) p->addr; /* const void * */
1243 uarg[1] = p->len; /* size_t */
1249 struct mlockall_args *p = params;
1250 iarg[0] = p->how; /* int */
1264 /* linux_modify_ldt */
1269 /* linux_pivot_root */
1276 struct linux_sysctl_args *p = params;
1277 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */
1283 struct linux_prctl_args *p = params;
1284 iarg[0] = p->option; /* l_int */
1285 iarg[1] = p->arg2; /* l_uintptr_t */
1286 iarg[2] = p->arg3; /* l_uintptr_t */
1287 iarg[3] = p->arg4; /* l_uintptr_t */
1288 iarg[4] = p->arg5; /* l_uintptr_t */
1292 /* linux_arch_prctl */
1294 struct linux_arch_prctl_args *p = params;
1295 iarg[0] = p->code; /* l_int */
1296 iarg[1] = p->addr; /* l_ulong */
1300 /* linux_adjtimex */
1305 /* linux_setrlimit */
1307 struct linux_setrlimit_args *p = params;
1308 iarg[0] = p->resource; /* l_uint */
1309 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */
1315 struct chroot_args *p = params;
1316 uarg[0] = (intptr_t) p->path; /* char * */
1327 struct acct_args *p = params;
1328 uarg[0] = (intptr_t) p->path; /* char * */
1334 struct settimeofday_args *p = params;
1335 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */
1336 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1342 struct linux_mount_args *p = params;
1343 uarg[0] = (intptr_t) p->specialfile; /* char * */
1344 uarg[1] = (intptr_t) p->dir; /* char * */
1345 uarg[2] = (intptr_t) p->filesystemtype; /* char * */
1346 iarg[3] = p->rwflag; /* l_ulong */
1347 uarg[4] = (intptr_t) p->data; /* void * */
1353 struct linux_umount_args *p = params;
1354 uarg[0] = (intptr_t) p->path; /* char * */
1355 iarg[1] = p->flags; /* l_int */
1361 struct swapon_args *p = params;
1362 uarg[0] = (intptr_t) p->name; /* char * */
1373 struct linux_reboot_args *p = params;
1374 iarg[0] = p->magic1; /* l_int */
1375 iarg[1] = p->magic2; /* l_int */
1376 iarg[2] = p->cmd; /* l_uint */
1377 uarg[3] = (intptr_t) p->arg; /* void * */
1381 /* linux_sethostname */
1383 struct linux_sethostname_args *p = params;
1384 uarg[0] = (intptr_t) p->hostname; /* char * */
1385 iarg[1] = p->len; /* l_int */
1389 /* linux_setdomainname */
1391 struct linux_setdomainname_args *p = params;
1392 uarg[0] = (intptr_t) p->name; /* char * */
1393 iarg[1] = p->len; /* l_int */
1399 struct linux_iopl_args *p = params;
1400 iarg[0] = p->level; /* l_uint */
1409 /* linux_init_module */
1414 /* linux_delete_module */
1419 /* linux_quotactl */
1429 /* linux_readahead */
1434 /* linux_setxattr */
1436 struct linux_setxattr_args *p = params;
1437 uarg[0] = (intptr_t) p->path; /* const char * */
1438 uarg[1] = (intptr_t) p->name; /* const char * */
1439 uarg[2] = (intptr_t) p->value; /* const char * */
1440 iarg[3] = p->size; /* l_size_t */
1441 iarg[4] = p->flags; /* l_int */
1445 /* linux_lsetxattr */
1447 struct linux_lsetxattr_args *p = params;
1448 uarg[0] = (intptr_t) p->path; /* const char * */
1449 uarg[1] = (intptr_t) p->name; /* const char * */
1450 uarg[2] = (intptr_t) p->value; /* const char * */
1451 iarg[3] = p->size; /* l_size_t */
1452 iarg[4] = p->flags; /* l_int */
1456 /* linux_fsetxattr */
1458 struct linux_fsetxattr_args *p = params;
1459 iarg[0] = p->fd; /* l_int */
1460 uarg[1] = (intptr_t) p->name; /* const char * */
1461 uarg[2] = (intptr_t) p->value; /* const char * */
1462 iarg[3] = p->size; /* l_size_t */
1463 iarg[4] = p->flags; /* l_int */
1467 /* linux_getxattr */
1469 struct linux_getxattr_args *p = params;
1470 uarg[0] = (intptr_t) p->path; /* const char * */
1471 uarg[1] = (intptr_t) p->name; /* const char * */
1472 uarg[2] = (intptr_t) p->value; /* char * */
1473 iarg[3] = p->size; /* l_size_t */
1477 /* linux_lgetxattr */
1479 struct linux_lgetxattr_args *p = params;
1480 uarg[0] = (intptr_t) p->path; /* const char * */
1481 uarg[1] = (intptr_t) p->name; /* const char * */
1482 uarg[2] = (intptr_t) p->value; /* char * */
1483 iarg[3] = p->size; /* l_size_t */
1487 /* linux_fgetxattr */
1489 struct linux_fgetxattr_args *p = params;
1490 iarg[0] = p->fd; /* l_int */
1491 uarg[1] = (intptr_t) p->name; /* const char * */
1492 uarg[2] = (intptr_t) p->value; /* char * */
1493 iarg[3] = p->size; /* l_size_t */
1497 /* linux_listxattr */
1499 struct linux_listxattr_args *p = params;
1500 uarg[0] = (intptr_t) p->path; /* const char * */
1501 uarg[1] = (intptr_t) p->list; /* const char * */
1502 iarg[2] = p->size; /* l_size_t */
1506 /* linux_llistxattr */
1508 struct linux_llistxattr_args *p = params;
1509 uarg[0] = (intptr_t) p->path; /* const char * */
1510 uarg[1] = (intptr_t) p->list; /* const char * */
1511 iarg[2] = p->size; /* l_size_t */
1515 /* linux_flistxattr */
1517 struct linux_flistxattr_args *p = params;
1518 iarg[0] = p->fd; /* l_int */
1519 uarg[1] = (intptr_t) p->list; /* const char * */
1520 iarg[2] = p->size; /* l_size_t */
1524 /* linux_removexattr */
1526 struct linux_removexattr_args *p = params;
1527 uarg[0] = (intptr_t) p->path; /* const char * */
1528 uarg[1] = (intptr_t) p->name; /* const char * */
1532 /* linux_lremovexattr */
1534 struct linux_lremovexattr_args *p = params;
1535 uarg[0] = (intptr_t) p->path; /* const char * */
1536 uarg[1] = (intptr_t) p->name; /* const char * */
1540 /* linux_fremovexattr */
1542 struct linux_fremovexattr_args *p = params;
1543 iarg[0] = p->fd; /* l_int */
1544 uarg[1] = (intptr_t) p->name; /* const char * */
1550 struct linux_tkill_args *p = params;
1551 iarg[0] = p->tid; /* l_pid_t */
1552 iarg[1] = p->sig; /* l_int */
1558 struct linux_time_args *p = params;
1559 uarg[0] = (intptr_t) p->tm; /* l_time_t * */
1563 /* linux_sys_futex */
1565 struct linux_sys_futex_args *p = params;
1566 uarg[0] = (intptr_t) p->uaddr; /* void * */
1567 iarg[1] = p->op; /* l_int */
1568 iarg[2] = p->val; /* l_int */
1569 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */
1570 uarg[4] = (intptr_t) p->uaddr2; /* void * */
1571 iarg[5] = p->val3; /* l_int */
1575 /* linux_sched_setaffinity */
1577 struct linux_sched_setaffinity_args *p = params;
1578 iarg[0] = p->pid; /* l_pid_t */
1579 iarg[1] = p->len; /* l_uint */
1580 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1584 /* linux_sched_getaffinity */
1586 struct linux_sched_getaffinity_args *p = params;
1587 iarg[0] = p->pid; /* l_pid_t */
1588 iarg[1] = p->len; /* l_uint */
1589 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */
1593 /* linux_io_setup */
1598 /* linux_io_destroy */
1603 /* linux_io_getevents */
1608 /* linux_io_submit */
1613 /* linux_io_cancel */
1618 /* linux_lookup_dcookie */
1623 /* linux_epoll_create */
1625 struct linux_epoll_create_args *p = params;
1626 iarg[0] = p->size; /* l_int */
1630 /* linux_remap_file_pages */
1635 /* linux_getdents64 */
1637 struct linux_getdents64_args *p = params;
1638 iarg[0] = p->fd; /* l_uint */
1639 uarg[1] = (intptr_t) p->dirent; /* void * */
1640 iarg[2] = p->count; /* l_uint */
1644 /* linux_set_tid_address */
1646 struct linux_set_tid_address_args *p = params;
1647 uarg[0] = (intptr_t) p->tidptr; /* l_int * */
1651 /* linux_restart_syscall */
1656 /* linux_semtimedop */
1661 /* linux_fadvise64 */
1663 struct linux_fadvise64_args *p = params;
1664 iarg[0] = p->fd; /* l_int */
1665 iarg[1] = p->offset; /* l_loff_t */
1666 iarg[2] = p->len; /* l_size_t */
1667 iarg[3] = p->advice; /* l_int */
1671 /* linux_timer_create */
1673 struct linux_timer_create_args *p = params;
1674 iarg[0] = p->clock_id; /* clockid_t */
1675 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1676 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */
1680 /* linux_timer_settime */
1682 struct linux_timer_settime_args *p = params;
1683 iarg[0] = p->timerid; /* l_timer_t */
1684 iarg[1] = p->flags; /* l_int */
1685 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */
1686 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */
1690 /* linux_timer_gettime */
1692 struct linux_timer_gettime_args *p = params;
1693 iarg[0] = p->timerid; /* l_timer_t */
1694 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */
1698 /* linux_timer_getoverrun */
1700 struct linux_timer_getoverrun_args *p = params;
1701 iarg[0] = p->timerid; /* l_timer_t */
1705 /* linux_timer_delete */
1707 struct linux_timer_delete_args *p = params;
1708 iarg[0] = p->timerid; /* l_timer_t */
1712 /* linux_clock_settime */
1714 struct linux_clock_settime_args *p = params;
1715 iarg[0] = p->which; /* clockid_t */
1716 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1720 /* linux_clock_gettime */
1722 struct linux_clock_gettime_args *p = params;
1723 iarg[0] = p->which; /* clockid_t */
1724 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1728 /* linux_clock_getres */
1730 struct linux_clock_getres_args *p = params;
1731 iarg[0] = p->which; /* clockid_t */
1732 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */
1736 /* linux_clock_nanosleep */
1738 struct linux_clock_nanosleep_args *p = params;
1739 iarg[0] = p->which; /* clockid_t */
1740 iarg[1] = p->flags; /* l_int */
1741 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */
1742 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */
1746 /* linux_exit_group */
1748 struct linux_exit_group_args *p = params;
1749 iarg[0] = p->error_code; /* l_int */
1753 /* linux_epoll_wait */
1755 struct linux_epoll_wait_args *p = params;
1756 iarg[0] = p->epfd; /* l_int */
1757 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
1758 iarg[2] = p->maxevents; /* l_int */
1759 iarg[3] = p->timeout; /* l_int */
1763 /* linux_epoll_ctl */
1765 struct linux_epoll_ctl_args *p = params;
1766 iarg[0] = p->epfd; /* l_int */
1767 iarg[1] = p->op; /* l_int */
1768 iarg[2] = p->fd; /* l_int */
1769 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */
1775 struct linux_tgkill_args *p = params;
1776 iarg[0] = p->tgid; /* l_pid_t */
1777 iarg[1] = p->pid; /* l_pid_t */
1778 iarg[2] = p->sig; /* l_int */
1784 struct linux_utimes_args *p = params;
1785 uarg[0] = (intptr_t) p->fname; /* char * */
1786 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */
1795 /* linux_set_mempolicy */
1800 /* linux_get_mempolicy */
1807 struct linux_mq_open_args *p = params;
1808 uarg[0] = (intptr_t) p->name; /* const char * */
1809 iarg[1] = p->oflag; /* l_int */
1810 iarg[2] = p->mode; /* l_mode_t */
1811 uarg[3] = (intptr_t) p->attr; /* struct mq_attr * */
1815 /* linux_mq_unlink */
1817 struct linux_mq_unlink_args *p = params;
1818 uarg[0] = (intptr_t) p->name; /* const char * */
1822 /* linux_mq_timedsend */
1824 struct linux_mq_timedsend_args *p = params;
1825 iarg[0] = p->mqd; /* l_mqd_t */
1826 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
1827 iarg[2] = p->msg_len; /* l_size_t */
1828 iarg[3] = p->msg_prio; /* l_uint */
1829 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1833 /* linux_mq_timedreceive */
1835 struct linux_mq_timedreceive_args *p = params;
1836 iarg[0] = p->mqd; /* l_mqd_t */
1837 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
1838 iarg[2] = p->msg_len; /* l_size_t */
1839 uarg[3] = (intptr_t) p->msg_prio; /* l_uint * */
1840 uarg[4] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1844 /* linux_mq_notify */
1846 struct linux_mq_notify_args *p = params;
1847 iarg[0] = p->mqd; /* l_mqd_t */
1848 uarg[1] = (intptr_t) p->abs_timeout; /* const struct l_timespec * */
1852 /* linux_mq_getsetattr */
1854 struct linux_mq_getsetattr_args *p = params;
1855 iarg[0] = p->mqd; /* l_mqd_t */
1856 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
1857 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
1861 /* linux_kexec_load */
1868 struct linux_waitid_args *p = params;
1869 iarg[0] = p->idtype; /* l_int */
1870 iarg[1] = p->id; /* l_pid_t */
1871 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
1872 iarg[3] = p->options; /* l_int */
1873 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */
1882 /* linux_request_key */
1892 /* linux_ioprio_set */
1897 /* linux_ioprio_get */
1902 /* linux_inotify_init */
1907 /* linux_inotify_add_watch */
1912 /* linux_inotify_rm_watch */
1917 /* linux_migrate_pages */
1924 struct linux_openat_args *p = params;
1925 iarg[0] = p->dfd; /* l_int */
1926 uarg[1] = (intptr_t) p->filename; /* const char * */
1927 iarg[2] = p->flags; /* l_int */
1928 iarg[3] = p->mode; /* l_mode_t */
1934 struct linux_mkdirat_args *p = params;
1935 iarg[0] = p->dfd; /* l_int */
1936 uarg[1] = (intptr_t) p->pathname; /* const char * */
1937 iarg[2] = p->mode; /* l_mode_t */
1943 struct linux_mknodat_args *p = params;
1944 iarg[0] = p->dfd; /* l_int */
1945 uarg[1] = (intptr_t) p->filename; /* const char * */
1946 iarg[2] = p->mode; /* l_mode_t */
1947 iarg[3] = p->dev; /* l_uint */
1951 /* linux_fchownat */
1953 struct linux_fchownat_args *p = params;
1954 iarg[0] = p->dfd; /* l_int */
1955 uarg[1] = (intptr_t) p->filename; /* const char * */
1956 iarg[2] = p->uid; /* l_uid_t */
1957 iarg[3] = p->gid; /* l_gid_t */
1958 iarg[4] = p->flag; /* l_int */
1962 /* linux_futimesat */
1964 struct linux_futimesat_args *p = params;
1965 iarg[0] = p->dfd; /* l_int */
1966 uarg[1] = (intptr_t) p->filename; /* char * */
1967 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */
1971 /* linux_newfstatat */
1973 struct linux_newfstatat_args *p = params;
1974 iarg[0] = p->dfd; /* l_int */
1975 uarg[1] = (intptr_t) p->pathname; /* char * */
1976 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */
1977 iarg[3] = p->flag; /* l_int */
1981 /* linux_unlinkat */
1983 struct linux_unlinkat_args *p = params;
1984 iarg[0] = p->dfd; /* l_int */
1985 uarg[1] = (intptr_t) p->pathname; /* const char * */
1986 iarg[2] = p->flag; /* l_int */
1990 /* linux_renameat */
1992 struct linux_renameat_args *p = params;
1993 iarg[0] = p->olddfd; /* l_int */
1994 uarg[1] = (intptr_t) p->oldname; /* const char * */
1995 iarg[2] = p->newdfd; /* l_int */
1996 uarg[3] = (intptr_t) p->newname; /* const char * */
2002 struct linux_linkat_args *p = params;
2003 iarg[0] = p->olddfd; /* l_int */
2004 uarg[1] = (intptr_t) p->oldname; /* const char * */
2005 iarg[2] = p->newdfd; /* l_int */
2006 uarg[3] = (intptr_t) p->newname; /* const char * */
2007 iarg[4] = p->flag; /* l_int */
2011 /* linux_symlinkat */
2013 struct linux_symlinkat_args *p = params;
2014 uarg[0] = (intptr_t) p->oldname; /* const char * */
2015 iarg[1] = p->newdfd; /* l_int */
2016 uarg[2] = (intptr_t) p->newname; /* const char * */
2020 /* linux_readlinkat */
2022 struct linux_readlinkat_args *p = params;
2023 iarg[0] = p->dfd; /* l_int */
2024 uarg[1] = (intptr_t) p->path; /* const char * */
2025 uarg[2] = (intptr_t) p->buf; /* char * */
2026 iarg[3] = p->bufsiz; /* l_int */
2030 /* linux_fchmodat */
2032 struct linux_fchmodat_args *p = params;
2033 iarg[0] = p->dfd; /* l_int */
2034 uarg[1] = (intptr_t) p->filename; /* const char * */
2035 iarg[2] = p->mode; /* l_mode_t */
2039 /* linux_faccessat */
2041 struct linux_faccessat_args *p = params;
2042 iarg[0] = p->dfd; /* l_int */
2043 uarg[1] = (intptr_t) p->filename; /* const char * */
2044 iarg[2] = p->amode; /* l_int */
2048 /* linux_pselect6 */
2050 struct linux_pselect6_args *p = params;
2051 iarg[0] = p->nfds; /* l_int */
2052 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */
2053 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */
2054 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */
2055 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */
2056 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */
2062 struct linux_ppoll_args *p = params;
2063 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
2064 iarg[1] = p->nfds; /* l_uint */
2065 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */
2066 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */
2067 iarg[4] = p->ssize; /* l_size_t */
2076 /* linux_set_robust_list */
2078 struct linux_set_robust_list_args *p = params;
2079 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */
2080 iarg[1] = p->len; /* l_size_t */
2084 /* linux_get_robust_list */
2086 struct linux_get_robust_list_args *p = params;
2087 iarg[0] = p->pid; /* l_int */
2088 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */
2089 uarg[2] = (intptr_t) p->len; /* l_size_t * */
2095 struct linux_splice_args *p = params;
2096 iarg[0] = p->fd_in; /* int */
2097 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2098 iarg[2] = p->fd_out; /* int */
2099 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2100 iarg[4] = p->len; /* l_size_t */
2101 iarg[5] = p->flags; /* l_uint */
2110 /* linux_sync_file_range */
2112 struct linux_sync_file_range_args *p = params;
2113 iarg[0] = p->fd; /* l_int */
2114 iarg[1] = p->offset; /* l_loff_t */
2115 iarg[2] = p->nbytes; /* l_loff_t */
2116 iarg[3] = p->flags; /* l_uint */
2120 /* linux_vmsplice */
2125 /* linux_move_pages */
2130 /* linux_utimensat */
2132 struct linux_utimensat_args *p = params;
2133 iarg[0] = p->dfd; /* l_int */
2134 uarg[1] = (intptr_t) p->pathname; /* const char * */
2135 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */
2136 iarg[3] = p->flags; /* l_int */
2140 /* linux_epoll_pwait */
2142 struct linux_epoll_pwait_args *p = params;
2143 iarg[0] = p->epfd; /* l_int */
2144 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */
2145 iarg[2] = p->maxevents; /* l_int */
2146 iarg[3] = p->timeout; /* l_int */
2147 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */
2148 iarg[5] = p->sigsetsize; /* l_size_t */
2152 /* linux_signalfd */
2157 /* linux_timerfd_create */
2159 struct linux_timerfd_create_args *p = params;
2160 iarg[0] = p->clockid; /* l_int */
2161 iarg[1] = p->flags; /* l_int */
2167 struct linux_eventfd_args *p = params;
2168 iarg[0] = p->initval; /* l_uint */
2172 /* linux_fallocate */
2174 struct linux_fallocate_args *p = params;
2175 iarg[0] = p->fd; /* l_int */
2176 iarg[1] = p->mode; /* l_int */
2177 iarg[2] = p->offset; /* l_loff_t */
2178 iarg[3] = p->len; /* l_loff_t */
2182 /* linux_timerfd_settime */
2184 struct linux_timerfd_settime_args *p = params;
2185 iarg[0] = p->fd; /* l_int */
2186 iarg[1] = p->flags; /* l_int */
2187 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */
2188 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2192 /* linux_timerfd_gettime */
2194 struct linux_timerfd_gettime_args *p = params;
2195 iarg[0] = p->fd; /* l_int */
2196 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */
2202 struct linux_accept4_args *p = params;
2203 iarg[0] = p->s; /* l_int */
2204 iarg[1] = p->addr; /* l_uintptr_t */
2205 iarg[2] = p->namelen; /* l_uintptr_t */
2206 iarg[3] = p->flags; /* l_int */
2210 /* linux_signalfd4 */
2215 /* linux_eventfd2 */
2217 struct linux_eventfd2_args *p = params;
2218 iarg[0] = p->initval; /* l_uint */
2219 iarg[1] = p->flags; /* l_int */
2223 /* linux_epoll_create1 */
2225 struct linux_epoll_create1_args *p = params;
2226 iarg[0] = p->flags; /* l_int */
2232 struct linux_dup3_args *p = params;
2233 iarg[0] = p->oldfd; /* l_uint */
2234 iarg[1] = p->newfd; /* l_uint */
2235 iarg[2] = p->flags; /* l_int */
2241 struct linux_pipe2_args *p = params;
2242 uarg[0] = (intptr_t) p->pipefds; /* l_int * */
2243 iarg[1] = p->flags; /* l_int */
2247 /* linux_inotify_init1 */
2249 struct linux_inotify_init1_args *p = params;
2250 iarg[0] = p->flags; /* l_int */
2256 struct linux_preadv_args *p = params;
2257 iarg[0] = p->fd; /* l_ulong */
2258 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2259 iarg[2] = p->vlen; /* l_ulong */
2260 iarg[3] = p->pos_l; /* l_ulong */
2261 iarg[4] = p->pos_h; /* l_ulong */
2267 struct linux_pwritev_args *p = params;
2268 iarg[0] = p->fd; /* l_ulong */
2269 uarg[1] = (intptr_t) p->vec; /* struct iovec * */
2270 iarg[2] = p->vlen; /* l_ulong */
2271 iarg[3] = p->pos_l; /* l_ulong */
2272 iarg[4] = p->pos_h; /* l_ulong */
2276 /* linux_rt_tgsigqueueinfo */
2278 struct linux_rt_tgsigqueueinfo_args *p = params;
2279 iarg[0] = p->tgid; /* l_pid_t */
2280 iarg[1] = p->tid; /* l_pid_t */
2281 iarg[2] = p->sig; /* l_int */
2282 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */
2286 /* linux_perf_event_open */
2291 /* linux_recvmmsg */
2293 struct linux_recvmmsg_args *p = params;
2294 iarg[0] = p->s; /* l_int */
2295 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2296 iarg[2] = p->vlen; /* l_uint */
2297 iarg[3] = p->flags; /* l_uint */
2298 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */
2302 /* linux_fanotify_init */
2307 /* linux_fanotify_mark */
2312 /* linux_prlimit64 */
2314 struct linux_prlimit64_args *p = params;
2315 iarg[0] = p->pid; /* l_pid_t */
2316 iarg[1] = p->resource; /* l_uint */
2317 uarg[2] = (intptr_t) p->new; /* struct rlimit * */
2318 uarg[3] = (intptr_t) p->old; /* struct rlimit * */
2322 /* linux_name_to_handle_at */
2327 /* linux_open_by_handle_at */
2332 /* linux_clock_adjtime */
2339 struct linux_syncfs_args *p = params;
2340 iarg[0] = p->fd; /* l_int */
2344 /* linux_sendmmsg */
2346 struct linux_sendmmsg_args *p = params;
2347 iarg[0] = p->s; /* l_int */
2348 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */
2349 iarg[2] = p->vlen; /* l_uint */
2350 iarg[3] = p->flags; /* l_uint */
2356 struct linux_setns_args *p = params;
2357 iarg[0] = p->fd; /* l_int */
2358 iarg[1] = p->nstype; /* l_int */
2364 struct linux_getcpu_args *p = params;
2365 uarg[0] = (intptr_t) p->cpu; /* l_uint * */
2366 uarg[1] = (intptr_t) p->node; /* l_uint * */
2367 uarg[2] = (intptr_t) p->cache; /* void * */
2371 /* linux_process_vm_readv */
2373 struct linux_process_vm_readv_args *p = params;
2374 iarg[0] = p->pid; /* l_pid_t */
2375 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2376 iarg[2] = p->liovcnt; /* l_ulong */
2377 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2378 iarg[4] = p->riovcnt; /* l_ulong */
2379 iarg[5] = p->flags; /* l_ulong */
2383 /* linux_process_vm_writev */
2385 struct linux_process_vm_writev_args *p = params;
2386 iarg[0] = p->pid; /* l_pid_t */
2387 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */
2388 iarg[2] = p->liovcnt; /* l_ulong */
2389 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */
2390 iarg[4] = p->riovcnt; /* l_ulong */
2391 iarg[5] = p->flags; /* l_ulong */
2397 struct linux_kcmp_args *p = params;
2398 iarg[0] = p->pid1; /* l_pid_t */
2399 iarg[1] = p->pid2; /* l_pid_t */
2400 iarg[2] = p->type; /* l_int */
2401 iarg[3] = p->idx1; /* l_ulong */
2402 iarg[4] = p->idx; /* l_ulong */
2406 /* linux_finit_module */
2408 struct linux_finit_module_args *p = params;
2409 iarg[0] = p->fd; /* l_int */
2410 uarg[1] = (intptr_t) p->uargs; /* const char * */
2411 iarg[2] = p->flags; /* l_int */
2415 /* linux_sched_setattr */
2417 struct linux_sched_setattr_args *p = params;
2418 iarg[0] = p->pid; /* l_pid_t */
2419 uarg[1] = (intptr_t) p->attr; /* void * */
2420 iarg[2] = p->flags; /* l_uint */
2424 /* linux_sched_getattr */
2426 struct linux_sched_getattr_args *p = params;
2427 iarg[0] = p->pid; /* l_pid_t */
2428 uarg[1] = (intptr_t) p->attr; /* void * */
2429 iarg[2] = p->size; /* l_uint */
2430 iarg[3] = p->flags; /* l_uint */
2434 /* linux_renameat2 */
2436 struct linux_renameat2_args *p = params;
2437 iarg[0] = p->olddfd; /* l_int */
2438 uarg[1] = (intptr_t) p->oldname; /* const char * */
2439 iarg[2] = p->newdfd; /* l_int */
2440 uarg[3] = (intptr_t) p->newname; /* const char * */
2441 iarg[4] = p->flags; /* l_uint */
2447 struct linux_seccomp_args *p = params;
2448 iarg[0] = p->op; /* l_uint */
2449 iarg[1] = p->flags; /* l_uint */
2450 uarg[2] = (intptr_t) p->uargs; /* const char * */
2454 /* linux_getrandom */
2456 struct linux_getrandom_args *p = params;
2457 uarg[0] = (intptr_t) p->buf; /* char * */
2458 iarg[1] = p->count; /* l_size_t */
2459 iarg[2] = p->flags; /* l_uint */
2463 /* linux_memfd_create */
2465 struct linux_memfd_create_args *p = params;
2466 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */
2467 iarg[1] = p->flags; /* l_uint */
2471 /* linux_kexec_file_load */
2473 struct linux_kexec_file_load_args *p = params;
2474 iarg[0] = p->kernel_fd; /* l_int */
2475 iarg[1] = p->initrd_fd; /* l_int */
2476 iarg[2] = p->cmdline_len; /* l_ulong */
2477 uarg[3] = (intptr_t) p->cmdline_ptr; /* const char * */
2478 iarg[4] = p->flags; /* l_ulong */
2484 struct linux_bpf_args *p = params;
2485 iarg[0] = p->cmd; /* l_int */
2486 uarg[1] = (intptr_t) p->attr; /* void * */
2487 iarg[2] = p->size; /* l_uint */
2491 /* linux_execveat */
2493 struct linux_execveat_args *p = params;
2494 iarg[0] = p->dfd; /* l_int */
2495 uarg[1] = (intptr_t) p->filename; /* const char * */
2496 uarg[2] = (intptr_t) p->argv; /* const char ** */
2497 uarg[3] = (intptr_t) p->envp; /* const char ** */
2498 iarg[4] = p->flags; /* l_int */
2502 /* linux_userfaultfd */
2504 struct linux_userfaultfd_args *p = params;
2505 iarg[0] = p->flags; /* l_int */
2509 /* linux_membarrier */
2511 struct linux_membarrier_args *p = params;
2512 iarg[0] = p->cmd; /* l_int */
2513 iarg[1] = p->flags; /* l_int */
2519 struct linux_mlock2_args *p = params;
2520 iarg[0] = p->start; /* l_ulong */
2521 iarg[1] = p->len; /* l_size_t */
2522 iarg[2] = p->flags; /* l_int */
2526 /* linux_copy_file_range */
2528 struct linux_copy_file_range_args *p = params;
2529 iarg[0] = p->fd_in; /* l_int */
2530 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */
2531 iarg[2] = p->fd_out; /* l_int */
2532 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */
2533 iarg[4] = p->len; /* l_size_t */
2534 iarg[5] = p->flags; /* l_uint */
2540 struct linux_preadv2_args *p = params;
2541 iarg[0] = p->fd; /* l_ulong */
2542 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2543 iarg[2] = p->vlen; /* l_ulong */
2544 iarg[3] = p->pos_l; /* l_ulong */
2545 iarg[4] = p->pos_h; /* l_ulong */
2546 iarg[5] = p->flags; /* l_int */
2550 /* linux_pwritev2 */
2552 struct linux_pwritev2_args *p = params;
2553 iarg[0] = p->fd; /* l_ulong */
2554 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */
2555 iarg[2] = p->vlen; /* l_ulong */
2556 iarg[3] = p->pos_l; /* l_ulong */
2557 iarg[4] = p->pos_h; /* l_ulong */
2558 iarg[5] = p->flags; /* l_int */
2562 /* linux_pkey_mprotect */
2564 struct linux_pkey_mprotect_args *p = params;
2565 iarg[0] = p->start; /* l_ulong */
2566 iarg[1] = p->len; /* l_size_t */
2567 iarg[2] = p->prot; /* l_ulong */
2568 iarg[3] = p->pkey; /* l_int */
2572 /* linux_pkey_alloc */
2574 struct linux_pkey_alloc_args *p = params;
2575 iarg[0] = p->flags; /* l_ulong */
2576 iarg[1] = p->init_val; /* l_ulong */
2580 /* linux_pkey_free */
2582 struct linux_pkey_free_args *p = params;
2583 iarg[0] = p->pkey; /* l_int */
2589 struct linux_statx_args *p = params;
2590 iarg[0] = p->dirfd; /* l_int */
2591 uarg[1] = (intptr_t) p->pathname; /* const char * */
2592 iarg[2] = p->flags; /* l_uint */
2593 iarg[3] = p->mask; /* l_uint */
2594 uarg[4] = (intptr_t) p->statxbuf; /* void * */
2598 /* linux_io_pgetevents */
2608 /* linux_pidfd_send_signal */
2610 struct linux_pidfd_send_signal_args *p = params;
2611 iarg[0] = p->pidfd; /* l_int */
2612 iarg[1] = p->sig; /* l_int */
2613 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */
2614 iarg[3] = p->flags; /* l_uint */
2618 /* linux_io_uring_setup */
2623 /* linux_io_uring_enter */
2628 /* linux_io_uring_register */
2639 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2641 const char *p = NULL;
2643 #define nosys linux_nosys
2651 p = "userland char *";
2667 p = "userland char *";
2680 p = "userland char *";
2706 p = "userland char *";
2709 p = "userland struct l_newstat *";
2715 /* linux_newfstat */
2722 p = "userland struct l_newstat *";
2728 /* linux_newlstat */
2732 p = "userland char *";
2735 p = "userland struct l_newstat *";
2745 p = "userland struct pollfd *";
2798 /* linux_mprotect */
2818 p = "userland void *";
2837 /* linux_rt_sigaction */
2844 p = "userland l_sigaction_t *";
2847 p = "userland l_sigaction_t *";
2856 /* linux_rt_sigprocmask */
2863 p = "userland l_sigset_t *";
2866 p = "userland l_sigset_t *";
2875 /* linux_rt_sigreturn */
2879 p = "userland struct l_ucontext *";
2908 p = "userland char *";
2927 p = "userland char *";
2946 p = "userland struct iovec *";
2962 p = "userland struct iovec *";
2975 p = "userland char *";
2988 p = "userland l_int *";
3001 p = "userland l_fd_set *";
3004 p = "userland l_fd_set *";
3007 p = "userland l_fd_set *";
3010 p = "userland struct l_timeval *";
3067 p = "userland u_char *";
3112 p = "userland char *";
3131 p = "userland struct l_shmid_ds *";
3163 /* linux_nanosleep */
3167 p = "userland const struct l_timespec *";
3170 p = "userland struct l_timespec *";
3176 /* linux_getitimer */
3183 p = "userland struct l_itimerval *";
3199 /* linux_setitimer */
3206 p = "userland struct l_itimerval *";
3209 p = "userland struct l_itimerval *";
3218 /* linux_sendfile */
3228 p = "userland l_off_t *";
3310 /* linux_recvfrom */
3367 /* linux_shutdown */
3409 /* linux_getsockname */
3425 /* linux_getpeername */
3441 /* linux_socketpair */
3460 /* linux_setsockopt */
3482 /* linux_getsockopt */
3511 p = "userland void *";
3514 p = "userland void *";
3517 p = "userland void *";
3520 p = "userland void *";
3536 p = "userland char *";
3539 p = "userland char **";
3542 p = "userland char **";
3565 p = "userland l_int *";
3571 p = "userland struct rusage *";
3590 /* linux_newuname */
3594 p = "userland struct l_new_utsname *";
3623 p = "userland struct l_sembuf *";
3645 p = "union l_semun";
3655 p = "userland char *";
3681 p = "userland struct l_msgbuf *";
3700 p = "userland struct l_msgbuf *";
3725 p = "userland struct l_msqid_ds *";
3770 /* linux_fdatasync */
3780 /* linux_truncate */
3784 p = "userland char *";
3793 /* linux_ftruncate */
3806 /* linux_getdents */
3813 p = "userland void *";
3826 p = "userland char *";
3839 p = "userland char *";
3859 p = "userland char *";
3862 p = "userland char *";
3872 p = "userland char *";
3885 p = "userland char *";
3895 p = "userland char *";
3908 p = "userland char *";
3911 p = "userland char *";
3921 p = "userland char *";
3931 p = "userland char *";
3934 p = "userland char *";
3940 /* linux_readlink */
3944 p = "userland char *";
3947 p = "userland char *";
3960 p = "userland char *";
3986 p = "userland char *";
4018 p = "userland char *";
4044 p = "userland struct l_timeval *";
4047 p = "userland struct timezone *";
4053 /* linux_getrlimit */
4060 p = "userland struct l_rlimit *";
4073 p = "userland struct rusage *";
4083 p = "userland struct l_sysinfo *";
4093 p = "userland struct l_times_argv *";
4128 p = "userland char *";
4214 /* linux_getgroups */
4221 p = "userland l_gid_t *";
4227 /* linux_setgroups */
4234 p = "userland l_gid_t *";
4260 p = "userland uid_t *";
4263 p = "userland uid_t *";
4266 p = "userland uid_t *";
4292 p = "userland gid_t *";
4295 p = "userland gid_t *";
4298 p = "userland gid_t *";
4314 /* linux_setfsuid */
4324 /* linux_setfsgid */
4348 p = "userland struct l_user_cap_header *";
4351 p = "userland struct l_user_cap_data *";
4361 p = "userland struct l_user_cap_header *";
4364 p = "userland struct l_user_cap_data *";
4370 /* linux_rt_sigpending */
4374 p = "userland l_sigset_t *";
4383 /* linux_rt_sigtimedwait */
4387 p = "userland l_sigset_t *";
4390 p = "userland l_siginfo_t *";
4393 p = "userland struct l_timeval *";
4402 /* linux_rt_sigqueueinfo */
4412 p = "userland l_siginfo_t *";
4418 /* linux_rt_sigsuspend */
4422 p = "userland l_sigset_t *";
4431 /* linux_sigaltstack */
4435 p = "userland l_stack_t *";
4438 p = "userland l_stack_t *";
4448 p = "userland char *";
4451 p = "userland struct l_utimbuf *";
4461 p = "userland char *";
4473 /* linux_personality */
4490 p = "userland struct l_ustat *";
4500 p = "userland char *";
4503 p = "userland struct l_statfs_buf *";
4516 p = "userland struct l_statfs_buf *";
4538 /* linux_getpriority */
4567 /* linux_sched_setparam */
4574 p = "userland struct sched_param *";
4580 /* linux_sched_getparam */
4587 p = "userland struct sched_param *";
4593 /* linux_sched_setscheduler */
4603 p = "userland struct sched_param *";
4609 /* linux_sched_getscheduler */
4619 /* linux_sched_get_priority_max */
4629 /* linux_sched_get_priority_min */
4639 /* linux_sched_rr_get_interval */
4646 p = "userland struct l_timespec *";
4656 p = "userland const void *";
4669 p = "userland const void *";
4694 /* linux_modify_ldt */
4697 /* linux_pivot_root */
4704 p = "userland struct l___sysctl_args *";
4732 /* linux_arch_prctl */
4745 /* linux_adjtimex */
4748 /* linux_setrlimit */
4755 p = "userland struct l_rlimit *";
4765 p = "userland char *";
4778 p = "userland char *";
4788 p = "userland struct l_timeval *";
4791 p = "userland struct timezone *";
4801 p = "userland char *";
4804 p = "userland char *";
4807 p = "userland char *";
4813 p = "userland void *";
4823 p = "userland char *";
4836 p = "userland char *";
4858 p = "userland void *";
4864 /* linux_sethostname */
4868 p = "userland char *";
4877 /* linux_setdomainname */
4881 p = "userland char *";
4903 /* linux_init_module */
4906 /* linux_delete_module */
4909 /* linux_quotactl */
4915 /* linux_readahead */
4918 /* linux_setxattr */
4922 p = "userland const char *";
4925 p = "userland const char *";
4928 p = "userland const char *";
4940 /* linux_lsetxattr */
4944 p = "userland const char *";
4947 p = "userland const char *";
4950 p = "userland const char *";
4962 /* linux_fsetxattr */
4969 p = "userland const char *";
4972 p = "userland const char *";
4984 /* linux_getxattr */
4988 p = "userland const char *";
4991 p = "userland const char *";
4994 p = "userland char *";
5003 /* linux_lgetxattr */
5007 p = "userland const char *";
5010 p = "userland const char *";
5013 p = "userland char *";
5022 /* linux_fgetxattr */
5029 p = "userland const char *";
5032 p = "userland char *";
5041 /* linux_listxattr */
5045 p = "userland const char *";
5048 p = "userland const char *";
5057 /* linux_llistxattr */
5061 p = "userland const char *";
5064 p = "userland const char *";
5073 /* linux_flistxattr */
5080 p = "userland const char *";
5089 /* linux_removexattr */
5093 p = "userland const char *";
5096 p = "userland const char *";
5102 /* linux_lremovexattr */
5106 p = "userland const char *";
5109 p = "userland const char *";
5115 /* linux_fremovexattr */
5122 p = "userland const char *";
5145 p = "userland l_time_t *";
5151 /* linux_sys_futex */
5155 p = "userland void *";
5164 p = "userland struct l_timespec *";
5167 p = "userland void *";
5176 /* linux_sched_setaffinity */
5186 p = "userland l_ulong *";
5192 /* linux_sched_getaffinity */
5202 p = "userland l_ulong *";
5208 /* linux_io_setup */
5211 /* linux_io_destroy */
5214 /* linux_io_getevents */
5217 /* linux_io_submit */
5220 /* linux_io_cancel */
5223 /* linux_lookup_dcookie */
5226 /* linux_epoll_create */
5236 /* linux_remap_file_pages */
5239 /* linux_getdents64 */
5246 p = "userland void *";
5255 /* linux_set_tid_address */
5259 p = "userland l_int *";
5265 /* linux_restart_syscall */
5268 /* linux_semtimedop */
5271 /* linux_fadvise64 */
5290 /* linux_timer_create */
5297 p = "userland struct sigevent *";
5300 p = "userland l_timer_t *";
5306 /* linux_timer_settime */
5316 p = "userland const struct itimerspec *";
5319 p = "userland struct itimerspec *";
5325 /* linux_timer_gettime */
5332 p = "userland struct itimerspec *";
5338 /* linux_timer_getoverrun */
5348 /* linux_timer_delete */
5358 /* linux_clock_settime */
5365 p = "userland struct l_timespec *";
5371 /* linux_clock_gettime */
5378 p = "userland struct l_timespec *";
5384 /* linux_clock_getres */
5391 p = "userland struct l_timespec *";
5397 /* linux_clock_nanosleep */
5407 p = "userland struct l_timespec *";
5410 p = "userland struct l_timespec *";
5416 /* linux_exit_group */
5426 /* linux_epoll_wait */
5433 p = "userland struct epoll_event *";
5445 /* linux_epoll_ctl */
5458 p = "userland struct epoll_event *";
5484 p = "userland char *";
5487 p = "userland struct l_timeval *";
5496 /* linux_set_mempolicy */
5499 /* linux_get_mempolicy */
5506 p = "userland const char *";
5515 p = "userland struct mq_attr *";
5521 /* linux_mq_unlink */
5525 p = "userland const char *";
5531 /* linux_mq_timedsend */
5538 p = "userland const char *";
5547 p = "userland const struct l_timespec *";
5553 /* linux_mq_timedreceive */
5560 p = "userland char *";
5566 p = "userland l_uint *";
5569 p = "userland const struct l_timespec *";
5575 /* linux_mq_notify */
5582 p = "userland const struct l_timespec *";
5588 /* linux_mq_getsetattr */
5595 p = "userland const struct mq_attr *";
5598 p = "userland struct mq_attr *";
5604 /* linux_kexec_load */
5617 p = "userland l_siginfo_t *";
5623 p = "userland struct rusage *";
5632 /* linux_request_key */
5638 /* linux_ioprio_set */
5641 /* linux_ioprio_get */
5644 /* linux_inotify_init */
5647 /* linux_inotify_add_watch */
5650 /* linux_inotify_rm_watch */
5653 /* linux_migrate_pages */
5663 p = "userland const char *";
5682 p = "userland const char *";
5698 p = "userland const char *";
5710 /* linux_fchownat */
5717 p = "userland const char *";
5732 /* linux_futimesat */
5739 p = "userland char *";
5742 p = "userland struct l_timeval *";
5748 /* linux_newfstatat */
5755 p = "userland char *";
5758 p = "userland struct l_stat64 *";
5767 /* linux_unlinkat */
5774 p = "userland const char *";
5783 /* linux_renameat */
5790 p = "userland const char *";
5796 p = "userland const char *";
5809 p = "userland const char *";
5815 p = "userland const char *";
5824 /* linux_symlinkat */
5828 p = "userland const char *";
5834 p = "userland const char *";
5840 /* linux_readlinkat */
5847 p = "userland const char *";
5850 p = "userland char *";
5859 /* linux_fchmodat */
5866 p = "userland const char *";
5875 /* linux_faccessat */
5882 p = "userland const char *";
5891 /* linux_pselect6 */
5898 p = "userland l_fd_set *";
5901 p = "userland l_fd_set *";
5904 p = "userland l_fd_set *";
5907 p = "userland struct l_timespec *";
5910 p = "userland l_uintptr_t *";
5920 p = "userland struct pollfd *";
5926 p = "userland struct l_timespec *";
5929 p = "userland l_sigset_t *";
5941 /* linux_set_robust_list */
5945 p = "userland struct linux_robust_list_head *";
5954 /* linux_get_robust_list */
5961 p = "userland struct linux_robust_list_head **";
5964 p = "userland l_size_t *";
5977 p = "userland l_loff_t *";
5983 p = "userland l_loff_t *";
5998 /* linux_sync_file_range */
6017 /* linux_vmsplice */
6020 /* linux_move_pages */
6023 /* linux_utimensat */
6030 p = "userland const char *";
6033 p = "userland const struct l_timespec *";
6042 /* linux_epoll_pwait */
6049 p = "userland struct epoll_event *";
6058 p = "userland l_sigset_t *";
6067 /* linux_signalfd */
6070 /* linux_timerfd_create */
6093 /* linux_fallocate */
6112 /* linux_timerfd_settime */
6122 p = "userland const struct l_itimerspec *";
6125 p = "userland struct l_itimerspec *";
6131 /* linux_timerfd_gettime */
6138 p = "userland struct l_itimerspec *";
6163 /* linux_signalfd4 */
6166 /* linux_eventfd2 */
6179 /* linux_epoll_create1 */
6209 p = "userland l_int *";
6218 /* linux_inotify_init1 */
6235 p = "userland struct iovec *";
6257 p = "userland struct iovec *";
6272 /* linux_rt_tgsigqueueinfo */
6285 p = "userland l_siginfo_t *";
6291 /* linux_perf_event_open */
6294 /* linux_recvmmsg */
6301 p = "userland struct l_mmsghdr *";
6310 p = "userland struct l_timespec *";
6316 /* linux_fanotify_init */
6319 /* linux_fanotify_mark */
6322 /* linux_prlimit64 */
6332 p = "userland struct rlimit *";
6335 p = "userland struct rlimit *";
6341 /* linux_name_to_handle_at */
6344 /* linux_open_by_handle_at */
6347 /* linux_clock_adjtime */
6360 /* linux_sendmmsg */
6367 p = "userland struct l_mmsghdr *";
6396 p = "userland l_uint *";
6399 p = "userland l_uint *";
6402 p = "userland void *";
6408 /* linux_process_vm_readv */
6415 p = "userland const struct iovec *";
6421 p = "userland const struct iovec *";
6433 /* linux_process_vm_writev */
6440 p = "userland const struct iovec *";
6446 p = "userland const struct iovec *";
6480 /* linux_finit_module */
6487 p = "userland const char *";
6496 /* linux_sched_setattr */
6503 p = "userland void *";
6512 /* linux_sched_getattr */
6519 p = "userland void *";
6531 /* linux_renameat2 */
6538 p = "userland const char *";
6544 p = "userland const char *";
6563 p = "userland const char *";
6569 /* linux_getrandom */
6573 p = "userland char *";
6585 /* linux_memfd_create */
6589 p = "userland const char *";
6598 /* linux_kexec_file_load */
6611 p = "userland const char *";
6627 p = "userland void *";
6636 /* linux_execveat */
6643 p = "userland const char *";
6646 p = "userland const char **";
6649 p = "userland const char **";
6658 /* linux_userfaultfd */
6668 /* linux_membarrier */
6697 /* linux_copy_file_range */
6704 p = "userland l_loff_t *";
6710 p = "userland l_loff_t *";
6729 p = "userland const struct iovec *";
6747 /* linux_pwritev2 */
6754 p = "userland const struct iovec *";
6772 /* linux_pkey_mprotect */
6791 /* linux_pkey_alloc */
6804 /* linux_pkey_free */
6821 p = "userland const char *";
6830 p = "userland void *";
6836 /* linux_io_pgetevents */
6842 /* linux_pidfd_send_signal */
6852 p = "userland l_siginfo_t *";
6861 /* linux_io_uring_setup */
6864 /* linux_io_uring_enter */
6867 /* linux_io_uring_register */
6874 strlcpy(desc, p, descsz);
6877 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
6879 const char *p = NULL;
6881 #define nosys linux_nosys
6884 if (ndx == 0 || ndx == 1)
6889 if (ndx == 0 || ndx == 1)
6894 if (ndx == 0 || ndx == 1)
6899 if (ndx == 0 || ndx == 1)
6904 if (ndx == 0 || ndx == 1)
6907 /* linux_newfstat */
6909 if (ndx == 0 || ndx == 1)
6912 /* linux_newlstat */
6914 if (ndx == 0 || ndx == 1)
6919 if (ndx == 0 || ndx == 1)
6924 if (ndx == 0 || ndx == 1)
6929 if (ndx == 0 || ndx == 1)
6932 /* linux_mprotect */
6934 if (ndx == 0 || ndx == 1)
6939 if (ndx == 0 || ndx == 1)
6944 if (ndx == 0 || ndx == 1)
6947 /* linux_rt_sigaction */
6949 if (ndx == 0 || ndx == 1)
6952 /* linux_rt_sigprocmask */
6954 if (ndx == 0 || ndx == 1)
6957 /* linux_rt_sigreturn */
6959 if (ndx == 0 || ndx == 1)
6964 if (ndx == 0 || ndx == 1)
6969 if (ndx == 0 || ndx == 1)
6974 if (ndx == 0 || ndx == 1)
6979 if (ndx == 0 || ndx == 1)
6984 if (ndx == 0 || ndx == 1)
6989 if (ndx == 0 || ndx == 1)
6994 if (ndx == 0 || ndx == 1)
6999 if (ndx == 0 || ndx == 1)
7006 if (ndx == 0 || ndx == 1)
7011 if (ndx == 0 || ndx == 1)
7016 if (ndx == 0 || ndx == 1)
7021 if (ndx == 0 || ndx == 1)
7026 if (ndx == 0 || ndx == 1)
7031 if (ndx == 0 || ndx == 1)
7036 if (ndx == 0 || ndx == 1)
7041 if (ndx == 0 || ndx == 1)
7046 if (ndx == 0 || ndx == 1)
7051 /* linux_nanosleep */
7053 if (ndx == 0 || ndx == 1)
7056 /* linux_getitimer */
7058 if (ndx == 0 || ndx == 1)
7063 if (ndx == 0 || ndx == 1)
7066 /* linux_setitimer */
7068 if (ndx == 0 || ndx == 1)
7073 /* linux_sendfile */
7075 if (ndx == 0 || ndx == 1)
7080 if (ndx == 0 || ndx == 1)
7085 if (ndx == 0 || ndx == 1)
7090 if (ndx == 0 || ndx == 1)
7095 if (ndx == 0 || ndx == 1)
7098 /* linux_recvfrom */
7100 if (ndx == 0 || ndx == 1)
7105 if (ndx == 0 || ndx == 1)
7110 if (ndx == 0 || ndx == 1)
7113 /* linux_shutdown */
7115 if (ndx == 0 || ndx == 1)
7120 if (ndx == 0 || ndx == 1)
7125 if (ndx == 0 || ndx == 1)
7128 /* linux_getsockname */
7130 if (ndx == 0 || ndx == 1)
7133 /* linux_getpeername */
7135 if (ndx == 0 || ndx == 1)
7138 /* linux_socketpair */
7140 if (ndx == 0 || ndx == 1)
7143 /* linux_setsockopt */
7145 if (ndx == 0 || ndx == 1)
7148 /* linux_getsockopt */
7150 if (ndx == 0 || ndx == 1)
7155 if (ndx == 0 || ndx == 1)
7164 if (ndx == 0 || ndx == 1)
7169 if (ndx == 0 || ndx == 1)
7174 if (ndx == 0 || ndx == 1)
7179 if (ndx == 0 || ndx == 1)
7182 /* linux_newuname */
7184 if (ndx == 0 || ndx == 1)
7189 if (ndx == 0 || ndx == 1)
7194 if (ndx == 0 || ndx == 1)
7199 if (ndx == 0 || ndx == 1)
7204 if (ndx == 0 || ndx == 1)
7209 if (ndx == 0 || ndx == 1)
7214 if (ndx == 0 || ndx == 1)
7219 if (ndx == 0 || ndx == 1)
7224 if (ndx == 0 || ndx == 1)
7229 if (ndx == 0 || ndx == 1)
7234 if (ndx == 0 || ndx == 1)
7239 if (ndx == 0 || ndx == 1)
7242 /* linux_fdatasync */
7244 if (ndx == 0 || ndx == 1)
7247 /* linux_truncate */
7249 if (ndx == 0 || ndx == 1)
7252 /* linux_ftruncate */
7254 if (ndx == 0 || ndx == 1)
7257 /* linux_getdents */
7259 if (ndx == 0 || ndx == 1)
7264 if (ndx == 0 || ndx == 1)
7269 if (ndx == 0 || ndx == 1)
7274 if (ndx == 0 || ndx == 1)
7279 if (ndx == 0 || ndx == 1)
7284 if (ndx == 0 || ndx == 1)
7289 if (ndx == 0 || ndx == 1)
7294 if (ndx == 0 || ndx == 1)
7299 if (ndx == 0 || ndx == 1)
7304 if (ndx == 0 || ndx == 1)
7309 if (ndx == 0 || ndx == 1)
7312 /* linux_readlink */
7314 if (ndx == 0 || ndx == 1)
7319 if (ndx == 0 || ndx == 1)
7324 if (ndx == 0 || ndx == 1)
7329 if (ndx == 0 || ndx == 1)
7334 if (ndx == 0 || ndx == 1)
7339 if (ndx == 0 || ndx == 1)
7344 if (ndx == 0 || ndx == 1)
7349 if (ndx == 0 || ndx == 1)
7352 /* linux_getrlimit */
7354 if (ndx == 0 || ndx == 1)
7359 if (ndx == 0 || ndx == 1)
7364 if (ndx == 0 || ndx == 1)
7369 if (ndx == 0 || ndx == 1)
7374 if (ndx == 0 || ndx == 1)
7381 if (ndx == 0 || ndx == 1)
7388 if (ndx == 0 || ndx == 1)
7393 if (ndx == 0 || ndx == 1)
7402 if (ndx == 0 || ndx == 1)
7413 if (ndx == 0 || ndx == 1)
7418 if (ndx == 0 || ndx == 1)
7421 /* linux_getgroups */
7423 if (ndx == 0 || ndx == 1)
7426 /* linux_setgroups */
7428 if (ndx == 0 || ndx == 1)
7433 if (ndx == 0 || ndx == 1)
7438 if (ndx == 0 || ndx == 1)
7443 if (ndx == 0 || ndx == 1)
7448 if (ndx == 0 || ndx == 1)
7453 if (ndx == 0 || ndx == 1)
7456 /* linux_setfsuid */
7458 if (ndx == 0 || ndx == 1)
7461 /* linux_setfsgid */
7463 if (ndx == 0 || ndx == 1)
7468 if (ndx == 0 || ndx == 1)
7473 if (ndx == 0 || ndx == 1)
7478 if (ndx == 0 || ndx == 1)
7481 /* linux_rt_sigpending */
7483 if (ndx == 0 || ndx == 1)
7486 /* linux_rt_sigtimedwait */
7488 if (ndx == 0 || ndx == 1)
7491 /* linux_rt_sigqueueinfo */
7493 if (ndx == 0 || ndx == 1)
7496 /* linux_rt_sigsuspend */
7498 if (ndx == 0 || ndx == 1)
7501 /* linux_sigaltstack */
7503 if (ndx == 0 || ndx == 1)
7508 if (ndx == 0 || ndx == 1)
7513 if (ndx == 0 || ndx == 1)
7516 /* linux_personality */
7518 if (ndx == 0 || ndx == 1)
7523 if (ndx == 0 || ndx == 1)
7528 if (ndx == 0 || ndx == 1)
7533 if (ndx == 0 || ndx == 1)
7538 if (ndx == 0 || ndx == 1)
7541 /* linux_getpriority */
7543 if (ndx == 0 || ndx == 1)
7548 if (ndx == 0 || ndx == 1)
7551 /* linux_sched_setparam */
7553 if (ndx == 0 || ndx == 1)
7556 /* linux_sched_getparam */
7558 if (ndx == 0 || ndx == 1)
7561 /* linux_sched_setscheduler */
7563 if (ndx == 0 || ndx == 1)
7566 /* linux_sched_getscheduler */
7568 if (ndx == 0 || ndx == 1)
7571 /* linux_sched_get_priority_max */
7573 if (ndx == 0 || ndx == 1)
7576 /* linux_sched_get_priority_min */
7578 if (ndx == 0 || ndx == 1)
7581 /* linux_sched_rr_get_interval */
7583 if (ndx == 0 || ndx == 1)
7588 if (ndx == 0 || ndx == 1)
7593 if (ndx == 0 || ndx == 1)
7598 if (ndx == 0 || ndx == 1)
7605 /* linux_modify_ldt */
7607 /* linux_pivot_root */
7611 if (ndx == 0 || ndx == 1)
7616 if (ndx == 0 || ndx == 1)
7619 /* linux_arch_prctl */
7621 if (ndx == 0 || ndx == 1)
7624 /* linux_adjtimex */
7626 /* linux_setrlimit */
7628 if (ndx == 0 || ndx == 1)
7633 if (ndx == 0 || ndx == 1)
7640 if (ndx == 0 || ndx == 1)
7645 if (ndx == 0 || ndx == 1)
7650 if (ndx == 0 || ndx == 1)
7655 if (ndx == 0 || ndx == 1)
7660 if (ndx == 0 || ndx == 1)
7667 if (ndx == 0 || ndx == 1)
7670 /* linux_sethostname */
7672 if (ndx == 0 || ndx == 1)
7675 /* linux_setdomainname */
7677 if (ndx == 0 || ndx == 1)
7682 if (ndx == 0 || ndx == 1)
7687 /* linux_init_module */
7689 /* linux_delete_module */
7691 /* linux_quotactl */
7695 /* linux_readahead */
7697 /* linux_setxattr */
7699 if (ndx == 0 || ndx == 1)
7702 /* linux_lsetxattr */
7704 if (ndx == 0 || ndx == 1)
7707 /* linux_fsetxattr */
7709 if (ndx == 0 || ndx == 1)
7712 /* linux_getxattr */
7714 if (ndx == 0 || ndx == 1)
7717 /* linux_lgetxattr */
7719 if (ndx == 0 || ndx == 1)
7722 /* linux_fgetxattr */
7724 if (ndx == 0 || ndx == 1)
7727 /* linux_listxattr */
7729 if (ndx == 0 || ndx == 1)
7732 /* linux_llistxattr */
7734 if (ndx == 0 || ndx == 1)
7737 /* linux_flistxattr */
7739 if (ndx == 0 || ndx == 1)
7742 /* linux_removexattr */
7744 if (ndx == 0 || ndx == 1)
7747 /* linux_lremovexattr */
7749 if (ndx == 0 || ndx == 1)
7752 /* linux_fremovexattr */
7754 if (ndx == 0 || ndx == 1)
7759 if (ndx == 0 || ndx == 1)
7764 if (ndx == 0 || ndx == 1)
7767 /* linux_sys_futex */
7769 if (ndx == 0 || ndx == 1)
7772 /* linux_sched_setaffinity */
7774 if (ndx == 0 || ndx == 1)
7777 /* linux_sched_getaffinity */
7779 if (ndx == 0 || ndx == 1)
7782 /* linux_io_setup */
7784 /* linux_io_destroy */
7786 /* linux_io_getevents */
7788 /* linux_io_submit */
7790 /* linux_io_cancel */
7792 /* linux_lookup_dcookie */
7794 /* linux_epoll_create */
7796 if (ndx == 0 || ndx == 1)
7799 /* linux_remap_file_pages */
7801 /* linux_getdents64 */
7803 if (ndx == 0 || ndx == 1)
7806 /* linux_set_tid_address */
7808 if (ndx == 0 || ndx == 1)
7811 /* linux_restart_syscall */
7813 /* linux_semtimedop */
7815 /* linux_fadvise64 */
7817 if (ndx == 0 || ndx == 1)
7820 /* linux_timer_create */
7822 if (ndx == 0 || ndx == 1)
7825 /* linux_timer_settime */
7827 if (ndx == 0 || ndx == 1)
7830 /* linux_timer_gettime */
7832 if (ndx == 0 || ndx == 1)
7835 /* linux_timer_getoverrun */
7837 if (ndx == 0 || ndx == 1)
7840 /* linux_timer_delete */
7842 if (ndx == 0 || ndx == 1)
7845 /* linux_clock_settime */
7847 if (ndx == 0 || ndx == 1)
7850 /* linux_clock_gettime */
7852 if (ndx == 0 || ndx == 1)
7855 /* linux_clock_getres */
7857 if (ndx == 0 || ndx == 1)
7860 /* linux_clock_nanosleep */
7862 if (ndx == 0 || ndx == 1)
7865 /* linux_exit_group */
7867 if (ndx == 0 || ndx == 1)
7870 /* linux_epoll_wait */
7872 if (ndx == 0 || ndx == 1)
7875 /* linux_epoll_ctl */
7877 if (ndx == 0 || ndx == 1)
7882 if (ndx == 0 || ndx == 1)
7887 if (ndx == 0 || ndx == 1)
7892 /* linux_set_mempolicy */
7894 /* linux_get_mempolicy */
7898 if (ndx == 0 || ndx == 1)
7901 /* linux_mq_unlink */
7903 if (ndx == 0 || ndx == 1)
7906 /* linux_mq_timedsend */
7908 if (ndx == 0 || ndx == 1)
7911 /* linux_mq_timedreceive */
7913 if (ndx == 0 || ndx == 1)
7916 /* linux_mq_notify */
7918 if (ndx == 0 || ndx == 1)
7921 /* linux_mq_getsetattr */
7923 if (ndx == 0 || ndx == 1)
7926 /* linux_kexec_load */
7930 if (ndx == 0 || ndx == 1)
7935 /* linux_request_key */
7939 /* linux_ioprio_set */
7941 /* linux_ioprio_get */
7943 /* linux_inotify_init */
7945 /* linux_inotify_add_watch */
7947 /* linux_inotify_rm_watch */
7949 /* linux_migrate_pages */
7953 if (ndx == 0 || ndx == 1)
7958 if (ndx == 0 || ndx == 1)
7963 if (ndx == 0 || ndx == 1)
7966 /* linux_fchownat */
7968 if (ndx == 0 || ndx == 1)
7971 /* linux_futimesat */
7973 if (ndx == 0 || ndx == 1)
7976 /* linux_newfstatat */
7978 if (ndx == 0 || ndx == 1)
7981 /* linux_unlinkat */
7983 if (ndx == 0 || ndx == 1)
7986 /* linux_renameat */
7988 if (ndx == 0 || ndx == 1)
7993 if (ndx == 0 || ndx == 1)
7996 /* linux_symlinkat */
7998 if (ndx == 0 || ndx == 1)
8001 /* linux_readlinkat */
8003 if (ndx == 0 || ndx == 1)
8006 /* linux_fchmodat */
8008 if (ndx == 0 || ndx == 1)
8011 /* linux_faccessat */
8013 if (ndx == 0 || ndx == 1)
8016 /* linux_pselect6 */
8018 if (ndx == 0 || ndx == 1)
8023 if (ndx == 0 || ndx == 1)
8028 /* linux_set_robust_list */
8030 if (ndx == 0 || ndx == 1)
8033 /* linux_get_robust_list */
8035 if (ndx == 0 || ndx == 1)
8040 if (ndx == 0 || ndx == 1)
8045 /* linux_sync_file_range */
8047 if (ndx == 0 || ndx == 1)
8050 /* linux_vmsplice */
8052 /* linux_move_pages */
8054 /* linux_utimensat */
8056 if (ndx == 0 || ndx == 1)
8059 /* linux_epoll_pwait */
8061 if (ndx == 0 || ndx == 1)
8064 /* linux_signalfd */
8066 /* linux_timerfd_create */
8068 if (ndx == 0 || ndx == 1)
8073 if (ndx == 0 || ndx == 1)
8076 /* linux_fallocate */
8078 if (ndx == 0 || ndx == 1)
8081 /* linux_timerfd_settime */
8083 if (ndx == 0 || ndx == 1)
8086 /* linux_timerfd_gettime */
8088 if (ndx == 0 || ndx == 1)
8093 if (ndx == 0 || ndx == 1)
8096 /* linux_signalfd4 */
8098 /* linux_eventfd2 */
8100 if (ndx == 0 || ndx == 1)
8103 /* linux_epoll_create1 */
8105 if (ndx == 0 || ndx == 1)
8110 if (ndx == 0 || ndx == 1)
8115 if (ndx == 0 || ndx == 1)
8118 /* linux_inotify_init1 */
8120 if (ndx == 0 || ndx == 1)
8125 if (ndx == 0 || ndx == 1)
8130 if (ndx == 0 || ndx == 1)
8133 /* linux_rt_tgsigqueueinfo */
8135 if (ndx == 0 || ndx == 1)
8138 /* linux_perf_event_open */
8140 /* linux_recvmmsg */
8142 if (ndx == 0 || ndx == 1)
8145 /* linux_fanotify_init */
8147 /* linux_fanotify_mark */
8149 /* linux_prlimit64 */
8151 if (ndx == 0 || ndx == 1)
8154 /* linux_name_to_handle_at */
8156 /* linux_open_by_handle_at */
8158 /* linux_clock_adjtime */
8162 if (ndx == 0 || ndx == 1)
8165 /* linux_sendmmsg */
8167 if (ndx == 0 || ndx == 1)
8172 if (ndx == 0 || ndx == 1)
8177 if (ndx == 0 || ndx == 1)
8180 /* linux_process_vm_readv */
8182 if (ndx == 0 || ndx == 1)
8185 /* linux_process_vm_writev */
8187 if (ndx == 0 || ndx == 1)
8192 if (ndx == 0 || ndx == 1)
8195 /* linux_finit_module */
8197 if (ndx == 0 || ndx == 1)
8200 /* linux_sched_setattr */
8202 if (ndx == 0 || ndx == 1)
8205 /* linux_sched_getattr */
8207 if (ndx == 0 || ndx == 1)
8210 /* linux_renameat2 */
8212 if (ndx == 0 || ndx == 1)
8217 if (ndx == 0 || ndx == 1)
8220 /* linux_getrandom */
8222 if (ndx == 0 || ndx == 1)
8225 /* linux_memfd_create */
8227 if (ndx == 0 || ndx == 1)
8230 /* linux_kexec_file_load */
8232 if (ndx == 0 || ndx == 1)
8237 if (ndx == 0 || ndx == 1)
8240 /* linux_execveat */
8242 if (ndx == 0 || ndx == 1)
8245 /* linux_userfaultfd */
8247 if (ndx == 0 || ndx == 1)
8250 /* linux_membarrier */
8252 if (ndx == 0 || ndx == 1)
8257 if (ndx == 0 || ndx == 1)
8260 /* linux_copy_file_range */
8262 if (ndx == 0 || ndx == 1)
8267 if (ndx == 0 || ndx == 1)
8270 /* linux_pwritev2 */
8272 if (ndx == 0 || ndx == 1)
8275 /* linux_pkey_mprotect */
8277 if (ndx == 0 || ndx == 1)
8280 /* linux_pkey_alloc */
8282 if (ndx == 0 || ndx == 1)
8285 /* linux_pkey_free */
8287 if (ndx == 0 || ndx == 1)
8292 if (ndx == 0 || ndx == 1)
8295 /* linux_io_pgetevents */
8299 /* linux_pidfd_send_signal */
8301 if (ndx == 0 || ndx == 1)
8304 /* linux_io_uring_setup */
8306 /* linux_io_uring_enter */
8308 /* linux_io_uring_register */
8314 strlcpy(desc, p, descsz);