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 linux_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 iarg[1] = p->stack; /* l_ulong */
513 uarg[2] = (intptr_t)p->parent_tidptr; /* l_int * */
514 uarg[3] = (intptr_t)p->child_tidptr; /* l_int * */
515 iarg[4] = p->tls; /* l_ulong */
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_timespec * */
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; /* uint32_t * */
1567 iarg[1] = p->op; /* l_int */
1568 uarg[2] = p->val; /* uint32_t */
1569 uarg[3] = (intptr_t)p->timeout; /* struct l_timespec * */
1570 uarg[4] = (intptr_t)p->uaddr2; /* uint32_t * */
1571 uarg[5] = p->val3; /* uint32_t */
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 */
2324 struct linux_name_to_handle_at_args *p = params;
2325 iarg[0] = p->dirfd; /* l_int */
2326 uarg[1] = (intptr_t)p->name; /* const char * */
2327 uarg[2] = (intptr_t)p->handle; /* struct l_file_handle * */
2328 uarg[3] = (intptr_t)p->mnt_id; /* l_int * */
2329 iarg[4] = p->flags; /* l_int */
2333 /* linux_open_by_handle_at */
2335 struct linux_open_by_handle_at_args *p = params;
2336 iarg[0] = p->mountdirfd; /* l_int */
2337 uarg[1] = (intptr_t)p->handle; /* struct l_file_handle * */
2338 iarg[2] = p->flags; /* l_int */
2342 /* linux_clock_adjtime */
2349 struct linux_syncfs_args *p = params;
2350 iarg[0] = p->fd; /* l_int */
2354 /* linux_sendmmsg */
2356 struct linux_sendmmsg_args *p = params;
2357 iarg[0] = p->s; /* l_int */
2358 uarg[1] = (intptr_t)p->msg; /* struct l_mmsghdr * */
2359 iarg[2] = p->vlen; /* l_uint */
2360 iarg[3] = p->flags; /* l_uint */
2366 struct linux_setns_args *p = params;
2367 iarg[0] = p->fd; /* l_int */
2368 iarg[1] = p->nstype; /* l_int */
2374 struct linux_getcpu_args *p = params;
2375 uarg[0] = (intptr_t)p->cpu; /* l_uint * */
2376 uarg[1] = (intptr_t)p->node; /* l_uint * */
2377 uarg[2] = (intptr_t)p->cache; /* void * */
2381 /* linux_process_vm_readv */
2383 struct linux_process_vm_readv_args *p = params;
2384 iarg[0] = p->pid; /* l_pid_t */
2385 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2386 iarg[2] = p->liovcnt; /* l_ulong */
2387 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2388 iarg[4] = p->riovcnt; /* l_ulong */
2389 iarg[5] = p->flags; /* l_ulong */
2393 /* linux_process_vm_writev */
2395 struct linux_process_vm_writev_args *p = params;
2396 iarg[0] = p->pid; /* l_pid_t */
2397 uarg[1] = (intptr_t)p->lvec; /* const struct iovec * */
2398 iarg[2] = p->liovcnt; /* l_ulong */
2399 uarg[3] = (intptr_t)p->rvec; /* const struct iovec * */
2400 iarg[4] = p->riovcnt; /* l_ulong */
2401 iarg[5] = p->flags; /* l_ulong */
2407 struct linux_kcmp_args *p = params;
2408 iarg[0] = p->pid1; /* l_pid_t */
2409 iarg[1] = p->pid2; /* l_pid_t */
2410 iarg[2] = p->type; /* l_int */
2411 iarg[3] = p->idx1; /* l_ulong */
2412 iarg[4] = p->idx; /* l_ulong */
2416 /* linux_finit_module */
2418 struct linux_finit_module_args *p = params;
2419 iarg[0] = p->fd; /* l_int */
2420 uarg[1] = (intptr_t)p->uargs; /* const char * */
2421 iarg[2] = p->flags; /* l_int */
2425 /* linux_sched_setattr */
2427 struct linux_sched_setattr_args *p = params;
2428 iarg[0] = p->pid; /* l_pid_t */
2429 uarg[1] = (intptr_t)p->attr; /* void * */
2430 iarg[2] = p->flags; /* l_uint */
2434 /* linux_sched_getattr */
2436 struct linux_sched_getattr_args *p = params;
2437 iarg[0] = p->pid; /* l_pid_t */
2438 uarg[1] = (intptr_t)p->attr; /* void * */
2439 iarg[2] = p->size; /* l_uint */
2440 iarg[3] = p->flags; /* l_uint */
2444 /* linux_renameat2 */
2446 struct linux_renameat2_args *p = params;
2447 iarg[0] = p->olddfd; /* l_int */
2448 uarg[1] = (intptr_t)p->oldname; /* const char * */
2449 iarg[2] = p->newdfd; /* l_int */
2450 uarg[3] = (intptr_t)p->newname; /* const char * */
2451 iarg[4] = p->flags; /* l_uint */
2457 struct linux_seccomp_args *p = params;
2458 iarg[0] = p->op; /* l_uint */
2459 iarg[1] = p->flags; /* l_uint */
2460 uarg[2] = (intptr_t)p->uargs; /* const char * */
2464 /* linux_getrandom */
2466 struct linux_getrandom_args *p = params;
2467 uarg[0] = (intptr_t)p->buf; /* char * */
2468 iarg[1] = p->count; /* l_size_t */
2469 iarg[2] = p->flags; /* l_uint */
2473 /* linux_memfd_create */
2475 struct linux_memfd_create_args *p = params;
2476 uarg[0] = (intptr_t)p->uname_ptr; /* const char * */
2477 iarg[1] = p->flags; /* l_uint */
2481 /* linux_kexec_file_load */
2483 struct linux_kexec_file_load_args *p = params;
2484 iarg[0] = p->kernel_fd; /* l_int */
2485 iarg[1] = p->initrd_fd; /* l_int */
2486 iarg[2] = p->cmdline_len; /* l_ulong */
2487 uarg[3] = (intptr_t)p->cmdline_ptr; /* const char * */
2488 iarg[4] = p->flags; /* l_ulong */
2494 struct linux_bpf_args *p = params;
2495 iarg[0] = p->cmd; /* l_int */
2496 uarg[1] = (intptr_t)p->attr; /* void * */
2497 iarg[2] = p->size; /* l_uint */
2501 /* linux_execveat */
2503 struct linux_execveat_args *p = params;
2504 iarg[0] = p->dfd; /* l_int */
2505 uarg[1] = (intptr_t)p->filename; /* const char * */
2506 uarg[2] = (intptr_t)p->argv; /* const char ** */
2507 uarg[3] = (intptr_t)p->envp; /* const char ** */
2508 iarg[4] = p->flags; /* l_int */
2512 /* linux_userfaultfd */
2514 struct linux_userfaultfd_args *p = params;
2515 iarg[0] = p->flags; /* l_int */
2519 /* linux_membarrier */
2521 struct linux_membarrier_args *p = params;
2522 iarg[0] = p->cmd; /* l_int */
2523 iarg[1] = p->flags; /* l_int */
2529 struct linux_mlock2_args *p = params;
2530 iarg[0] = p->start; /* l_ulong */
2531 iarg[1] = p->len; /* l_size_t */
2532 iarg[2] = p->flags; /* l_int */
2536 /* linux_copy_file_range */
2538 struct linux_copy_file_range_args *p = params;
2539 iarg[0] = p->fd_in; /* l_int */
2540 uarg[1] = (intptr_t)p->off_in; /* l_loff_t * */
2541 iarg[2] = p->fd_out; /* l_int */
2542 uarg[3] = (intptr_t)p->off_out; /* l_loff_t * */
2543 iarg[4] = p->len; /* l_size_t */
2544 iarg[5] = p->flags; /* l_uint */
2550 struct linux_preadv2_args *p = params;
2551 iarg[0] = p->fd; /* l_ulong */
2552 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2553 iarg[2] = p->vlen; /* l_ulong */
2554 iarg[3] = p->pos_l; /* l_ulong */
2555 iarg[4] = p->pos_h; /* l_ulong */
2556 iarg[5] = p->flags; /* l_int */
2560 /* linux_pwritev2 */
2562 struct linux_pwritev2_args *p = params;
2563 iarg[0] = p->fd; /* l_ulong */
2564 uarg[1] = (intptr_t)p->vec; /* const struct iovec * */
2565 iarg[2] = p->vlen; /* l_ulong */
2566 iarg[3] = p->pos_l; /* l_ulong */
2567 iarg[4] = p->pos_h; /* l_ulong */
2568 iarg[5] = p->flags; /* l_int */
2572 /* linux_pkey_mprotect */
2574 struct linux_pkey_mprotect_args *p = params;
2575 iarg[0] = p->start; /* l_ulong */
2576 iarg[1] = p->len; /* l_size_t */
2577 iarg[2] = p->prot; /* l_ulong */
2578 iarg[3] = p->pkey; /* l_int */
2582 /* linux_pkey_alloc */
2584 struct linux_pkey_alloc_args *p = params;
2585 iarg[0] = p->flags; /* l_ulong */
2586 iarg[1] = p->init_val; /* l_ulong */
2590 /* linux_pkey_free */
2592 struct linux_pkey_free_args *p = params;
2593 iarg[0] = p->pkey; /* l_int */
2599 struct linux_statx_args *p = params;
2600 iarg[0] = p->dirfd; /* l_int */
2601 uarg[1] = (intptr_t)p->pathname; /* const char * */
2602 iarg[2] = p->flags; /* l_uint */
2603 iarg[3] = p->mask; /* l_uint */
2604 uarg[4] = (intptr_t)p->statxbuf; /* void * */
2608 /* linux_io_pgetevents */
2618 /* linux_pidfd_send_signal */
2620 struct linux_pidfd_send_signal_args *p = params;
2621 iarg[0] = p->pidfd; /* l_int */
2622 iarg[1] = p->sig; /* l_int */
2623 uarg[2] = (intptr_t)p->info; /* l_siginfo_t * */
2624 iarg[3] = p->flags; /* l_uint */
2628 /* linux_io_uring_setup */
2633 /* linux_io_uring_enter */
2638 /* linux_io_uring_register */
2643 /* linux_open_tree */
2648 /* linux_move_mount */
2658 /* linux_fsconfig */
2673 /* linux_pidfd_open */
2680 struct linux_clone3_args *p = params;
2681 uarg[0] = (intptr_t)p->uargs; /* struct l_user_clone_args * */
2682 iarg[1] = p->usize; /* l_size_t */
2686 /* linux_close_range */
2696 /* linux_pidfd_getfd */
2701 /* linux_faccessat2 */
2703 struct linux_faccessat2_args *p = params;
2704 iarg[0] = p->dfd; /* l_int */
2705 uarg[1] = (intptr_t)p->filename; /* const char * */
2706 iarg[2] = p->amode; /* l_int */
2707 iarg[3] = p->flags; /* l_int */
2711 /* linux_process_madvise */
2716 /* linux_epoll_pwait2 */
2721 /* linux_mount_setattr */
2732 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2734 const char *p = NULL;
2736 #define nosys linux_nosys
2744 p = "userland char *";
2760 p = "userland char *";
2773 p = "userland char *";
2799 p = "userland char *";
2802 p = "userland struct l_newstat *";
2808 /* linux_newfstat */
2815 p = "userland struct l_newstat *";
2821 /* linux_newlstat */
2825 p = "userland char *";
2828 p = "userland struct l_newstat *";
2838 p = "userland struct pollfd *";
2891 /* linux_mprotect */
2911 p = "userland void *";
2930 /* linux_rt_sigaction */
2937 p = "userland l_sigaction_t *";
2940 p = "userland l_sigaction_t *";
2949 /* linux_rt_sigprocmask */
2956 p = "userland l_sigset_t *";
2959 p = "userland l_sigset_t *";
2968 /* linux_rt_sigreturn */
2972 p = "userland struct l_ucontext *";
3001 p = "userland char *";
3020 p = "userland char *";
3039 p = "userland struct iovec *";
3055 p = "userland struct iovec *";
3068 p = "userland char *";
3081 p = "userland l_int *";
3094 p = "userland l_fd_set *";
3097 p = "userland l_fd_set *";
3100 p = "userland l_fd_set *";
3103 p = "userland struct l_timeval *";
3160 p = "userland u_char *";
3205 p = "userland char *";
3224 p = "userland struct l_shmid_ds *";
3256 /* linux_nanosleep */
3260 p = "userland const struct l_timespec *";
3263 p = "userland struct l_timespec *";
3269 /* linux_getitimer */
3276 p = "userland struct l_itimerval *";
3292 /* linux_setitimer */
3299 p = "userland struct l_itimerval *";
3302 p = "userland struct l_itimerval *";
3311 /* linux_sendfile */
3321 p = "userland l_off_t *";
3403 /* linux_recvfrom */
3460 /* linux_shutdown */
3502 /* linux_getsockname */
3518 /* linux_getpeername */
3534 /* linux_socketpair */
3553 /* linux_setsockopt */
3575 /* linux_getsockopt */
3607 p = "userland l_int *";
3610 p = "userland l_int *";
3629 p = "userland char *";
3632 p = "userland char **";
3635 p = "userland char **";
3658 p = "userland l_int *";
3664 p = "userland struct rusage *";
3683 /* linux_newuname */
3687 p = "userland struct l_new_utsname *";
3716 p = "userland struct l_sembuf *";
3738 p = "union l_semun";
3748 p = "userland char *";
3774 p = "userland struct l_msgbuf *";
3793 p = "userland struct l_msgbuf *";
3818 p = "userland struct l_msqid_ds *";
3863 /* linux_fdatasync */
3873 /* linux_truncate */
3877 p = "userland char *";
3886 /* linux_ftruncate */
3899 /* linux_getdents */
3906 p = "userland void *";
3919 p = "userland char *";
3932 p = "userland char *";
3952 p = "userland char *";
3955 p = "userland char *";
3965 p = "userland char *";
3978 p = "userland char *";
3988 p = "userland char *";
4001 p = "userland char *";
4004 p = "userland char *";
4014 p = "userland char *";
4024 p = "userland char *";
4027 p = "userland char *";
4033 /* linux_readlink */
4037 p = "userland char *";
4040 p = "userland char *";
4053 p = "userland char *";
4079 p = "userland char *";
4111 p = "userland char *";
4137 p = "userland struct l_timeval *";
4140 p = "userland struct timezone *";
4146 /* linux_getrlimit */
4153 p = "userland struct l_rlimit *";
4166 p = "userland struct rusage *";
4176 p = "userland struct l_sysinfo *";
4186 p = "userland struct l_times_argv *";
4221 p = "userland char *";
4307 /* linux_getgroups */
4314 p = "userland l_gid_t *";
4320 /* linux_setgroups */
4327 p = "userland l_gid_t *";
4353 p = "userland uid_t *";
4356 p = "userland uid_t *";
4359 p = "userland uid_t *";
4385 p = "userland gid_t *";
4388 p = "userland gid_t *";
4391 p = "userland gid_t *";
4407 /* linux_setfsuid */
4417 /* linux_setfsgid */
4441 p = "userland struct l_user_cap_header *";
4444 p = "userland struct l_user_cap_data *";
4454 p = "userland struct l_user_cap_header *";
4457 p = "userland struct l_user_cap_data *";
4463 /* linux_rt_sigpending */
4467 p = "userland l_sigset_t *";
4476 /* linux_rt_sigtimedwait */
4480 p = "userland l_sigset_t *";
4483 p = "userland l_siginfo_t *";
4486 p = "userland struct l_timespec *";
4495 /* linux_rt_sigqueueinfo */
4505 p = "userland l_siginfo_t *";
4511 /* linux_rt_sigsuspend */
4515 p = "userland l_sigset_t *";
4524 /* linux_sigaltstack */
4528 p = "userland l_stack_t *";
4531 p = "userland l_stack_t *";
4541 p = "userland char *";
4544 p = "userland struct l_utimbuf *";
4554 p = "userland char *";
4566 /* linux_personality */
4583 p = "userland struct l_ustat *";
4593 p = "userland char *";
4596 p = "userland struct l_statfs_buf *";
4609 p = "userland struct l_statfs_buf *";
4631 /* linux_getpriority */
4660 /* linux_sched_setparam */
4667 p = "userland struct sched_param *";
4673 /* linux_sched_getparam */
4680 p = "userland struct sched_param *";
4686 /* linux_sched_setscheduler */
4696 p = "userland struct sched_param *";
4702 /* linux_sched_getscheduler */
4712 /* linux_sched_get_priority_max */
4722 /* linux_sched_get_priority_min */
4732 /* linux_sched_rr_get_interval */
4739 p = "userland struct l_timespec *";
4749 p = "userland const void *";
4762 p = "userland const void *";
4787 /* linux_modify_ldt */
4790 /* linux_pivot_root */
4797 p = "userland struct l___sysctl_args *";
4825 /* linux_arch_prctl */
4838 /* linux_adjtimex */
4841 /* linux_setrlimit */
4848 p = "userland struct l_rlimit *";
4858 p = "userland char *";
4871 p = "userland char *";
4881 p = "userland struct l_timeval *";
4884 p = "userland struct timezone *";
4894 p = "userland char *";
4897 p = "userland char *";
4900 p = "userland char *";
4906 p = "userland void *";
4916 p = "userland char *";
4929 p = "userland char *";
4951 p = "userland void *";
4957 /* linux_sethostname */
4961 p = "userland char *";
4970 /* linux_setdomainname */
4974 p = "userland char *";
4996 /* linux_init_module */
4999 /* linux_delete_module */
5002 /* linux_quotactl */
5008 /* linux_readahead */
5011 /* linux_setxattr */
5015 p = "userland const char *";
5018 p = "userland const char *";
5021 p = "userland const char *";
5033 /* linux_lsetxattr */
5037 p = "userland const char *";
5040 p = "userland const char *";
5043 p = "userland const char *";
5055 /* linux_fsetxattr */
5062 p = "userland const char *";
5065 p = "userland const char *";
5077 /* linux_getxattr */
5081 p = "userland const char *";
5084 p = "userland const char *";
5087 p = "userland char *";
5096 /* linux_lgetxattr */
5100 p = "userland const char *";
5103 p = "userland const char *";
5106 p = "userland char *";
5115 /* linux_fgetxattr */
5122 p = "userland const char *";
5125 p = "userland char *";
5134 /* linux_listxattr */
5138 p = "userland const char *";
5141 p = "userland const char *";
5150 /* linux_llistxattr */
5154 p = "userland const char *";
5157 p = "userland const char *";
5166 /* linux_flistxattr */
5173 p = "userland const char *";
5182 /* linux_removexattr */
5186 p = "userland const char *";
5189 p = "userland const char *";
5195 /* linux_lremovexattr */
5199 p = "userland const char *";
5202 p = "userland const char *";
5208 /* linux_fremovexattr */
5215 p = "userland const char *";
5238 p = "userland l_time_t *";
5244 /* linux_sys_futex */
5248 p = "userland uint32_t *";
5257 p = "userland struct l_timespec *";
5260 p = "userland uint32_t *";
5269 /* linux_sched_setaffinity */
5279 p = "userland l_ulong *";
5285 /* linux_sched_getaffinity */
5295 p = "userland l_ulong *";
5301 /* linux_io_setup */
5304 /* linux_io_destroy */
5307 /* linux_io_getevents */
5310 /* linux_io_submit */
5313 /* linux_io_cancel */
5316 /* linux_lookup_dcookie */
5319 /* linux_epoll_create */
5329 /* linux_remap_file_pages */
5332 /* linux_getdents64 */
5339 p = "userland void *";
5348 /* linux_set_tid_address */
5352 p = "userland l_int *";
5358 /* linux_restart_syscall */
5361 /* linux_semtimedop */
5364 /* linux_fadvise64 */
5383 /* linux_timer_create */
5390 p = "userland struct sigevent *";
5393 p = "userland l_timer_t *";
5399 /* linux_timer_settime */
5409 p = "userland const struct itimerspec *";
5412 p = "userland struct itimerspec *";
5418 /* linux_timer_gettime */
5425 p = "userland struct itimerspec *";
5431 /* linux_timer_getoverrun */
5441 /* linux_timer_delete */
5451 /* linux_clock_settime */
5458 p = "userland struct l_timespec *";
5464 /* linux_clock_gettime */
5471 p = "userland struct l_timespec *";
5477 /* linux_clock_getres */
5484 p = "userland struct l_timespec *";
5490 /* linux_clock_nanosleep */
5500 p = "userland struct l_timespec *";
5503 p = "userland struct l_timespec *";
5509 /* linux_exit_group */
5519 /* linux_epoll_wait */
5526 p = "userland struct epoll_event *";
5538 /* linux_epoll_ctl */
5551 p = "userland struct epoll_event *";
5577 p = "userland char *";
5580 p = "userland struct l_timeval *";
5589 /* linux_set_mempolicy */
5592 /* linux_get_mempolicy */
5599 p = "userland const char *";
5608 p = "userland struct mq_attr *";
5614 /* linux_mq_unlink */
5618 p = "userland const char *";
5624 /* linux_mq_timedsend */
5631 p = "userland const char *";
5640 p = "userland const struct l_timespec *";
5646 /* linux_mq_timedreceive */
5653 p = "userland char *";
5659 p = "userland l_uint *";
5662 p = "userland const struct l_timespec *";
5668 /* linux_mq_notify */
5675 p = "userland const struct l_timespec *";
5681 /* linux_mq_getsetattr */
5688 p = "userland const struct mq_attr *";
5691 p = "userland struct mq_attr *";
5697 /* linux_kexec_load */
5710 p = "userland l_siginfo_t *";
5716 p = "userland struct rusage *";
5725 /* linux_request_key */
5731 /* linux_ioprio_set */
5734 /* linux_ioprio_get */
5737 /* linux_inotify_init */
5740 /* linux_inotify_add_watch */
5743 /* linux_inotify_rm_watch */
5746 /* linux_migrate_pages */
5756 p = "userland const char *";
5775 p = "userland const char *";
5791 p = "userland const char *";
5803 /* linux_fchownat */
5810 p = "userland const char *";
5825 /* linux_futimesat */
5832 p = "userland char *";
5835 p = "userland struct l_timeval *";
5841 /* linux_newfstatat */
5848 p = "userland char *";
5851 p = "userland struct l_stat64 *";
5860 /* linux_unlinkat */
5867 p = "userland const char *";
5876 /* linux_renameat */
5883 p = "userland const char *";
5889 p = "userland const char *";
5902 p = "userland const char *";
5908 p = "userland const char *";
5917 /* linux_symlinkat */
5921 p = "userland const char *";
5927 p = "userland const char *";
5933 /* linux_readlinkat */
5940 p = "userland const char *";
5943 p = "userland char *";
5952 /* linux_fchmodat */
5959 p = "userland const char *";
5968 /* linux_faccessat */
5975 p = "userland const char *";
5984 /* linux_pselect6 */
5991 p = "userland l_fd_set *";
5994 p = "userland l_fd_set *";
5997 p = "userland l_fd_set *";
6000 p = "userland struct l_timespec *";
6003 p = "userland l_uintptr_t *";
6013 p = "userland struct pollfd *";
6019 p = "userland struct l_timespec *";
6022 p = "userland l_sigset_t *";
6034 /* linux_set_robust_list */
6038 p = "userland struct linux_robust_list_head *";
6047 /* linux_get_robust_list */
6054 p = "userland struct linux_robust_list_head **";
6057 p = "userland l_size_t *";
6070 p = "userland l_loff_t *";
6076 p = "userland l_loff_t *";
6091 /* linux_sync_file_range */
6110 /* linux_vmsplice */
6113 /* linux_move_pages */
6116 /* linux_utimensat */
6123 p = "userland const char *";
6126 p = "userland const struct l_timespec *";
6135 /* linux_epoll_pwait */
6142 p = "userland struct epoll_event *";
6151 p = "userland l_sigset_t *";
6160 /* linux_signalfd */
6163 /* linux_timerfd_create */
6186 /* linux_fallocate */
6205 /* linux_timerfd_settime */
6215 p = "userland const struct l_itimerspec *";
6218 p = "userland struct l_itimerspec *";
6224 /* linux_timerfd_gettime */
6231 p = "userland struct l_itimerspec *";
6256 /* linux_signalfd4 */
6259 /* linux_eventfd2 */
6272 /* linux_epoll_create1 */
6302 p = "userland l_int *";
6311 /* linux_inotify_init1 */
6328 p = "userland struct iovec *";
6350 p = "userland struct iovec *";
6365 /* linux_rt_tgsigqueueinfo */
6378 p = "userland l_siginfo_t *";
6384 /* linux_perf_event_open */
6387 /* linux_recvmmsg */
6394 p = "userland struct l_mmsghdr *";
6403 p = "userland struct l_timespec *";
6409 /* linux_fanotify_init */
6412 /* linux_fanotify_mark */
6415 /* linux_prlimit64 */
6425 p = "userland struct rlimit *";
6428 p = "userland struct rlimit *";
6434 /* linux_name_to_handle_at */
6441 p = "userland const char *";
6444 p = "userland struct l_file_handle *";
6447 p = "userland l_int *";
6456 /* linux_open_by_handle_at */
6463 p = "userland struct l_file_handle *";
6472 /* linux_clock_adjtime */
6485 /* linux_sendmmsg */
6492 p = "userland struct l_mmsghdr *";
6521 p = "userland l_uint *";
6524 p = "userland l_uint *";
6527 p = "userland void *";
6533 /* linux_process_vm_readv */
6540 p = "userland const struct iovec *";
6546 p = "userland const struct iovec *";
6558 /* linux_process_vm_writev */
6565 p = "userland const struct iovec *";
6571 p = "userland const struct iovec *";
6605 /* linux_finit_module */
6612 p = "userland const char *";
6621 /* linux_sched_setattr */
6628 p = "userland void *";
6637 /* linux_sched_getattr */
6644 p = "userland void *";
6656 /* linux_renameat2 */
6663 p = "userland const char *";
6669 p = "userland const char *";
6688 p = "userland const char *";
6694 /* linux_getrandom */
6698 p = "userland char *";
6710 /* linux_memfd_create */
6714 p = "userland const char *";
6723 /* linux_kexec_file_load */
6736 p = "userland const char *";
6752 p = "userland void *";
6761 /* linux_execveat */
6768 p = "userland const char *";
6771 p = "userland const char **";
6774 p = "userland const char **";
6783 /* linux_userfaultfd */
6793 /* linux_membarrier */
6822 /* linux_copy_file_range */
6829 p = "userland l_loff_t *";
6835 p = "userland l_loff_t *";
6854 p = "userland const struct iovec *";
6872 /* linux_pwritev2 */
6879 p = "userland const struct iovec *";
6897 /* linux_pkey_mprotect */
6916 /* linux_pkey_alloc */
6929 /* linux_pkey_free */
6946 p = "userland const char *";
6955 p = "userland void *";
6961 /* linux_io_pgetevents */
6967 /* linux_pidfd_send_signal */
6977 p = "userland l_siginfo_t *";
6986 /* linux_io_uring_setup */
6989 /* linux_io_uring_enter */
6992 /* linux_io_uring_register */
6995 /* linux_open_tree */
6998 /* linux_move_mount */
7004 /* linux_fsconfig */
7013 /* linux_pidfd_open */
7020 p = "userland struct l_user_clone_args *";
7029 /* linux_close_range */
7035 /* linux_pidfd_getfd */
7038 /* linux_faccessat2 */
7045 p = "userland const char *";
7057 /* linux_process_madvise */
7060 /* linux_epoll_pwait2 */
7063 /* linux_mount_setattr */
7070 strlcpy(desc, p, descsz);
7073 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7075 const char *p = NULL;
7077 #define nosys linux_nosys
7080 if (ndx == 0 || ndx == 1)
7085 if (ndx == 0 || ndx == 1)
7090 if (ndx == 0 || ndx == 1)
7095 if (ndx == 0 || ndx == 1)
7100 if (ndx == 0 || ndx == 1)
7103 /* linux_newfstat */
7105 if (ndx == 0 || ndx == 1)
7108 /* linux_newlstat */
7110 if (ndx == 0 || ndx == 1)
7115 if (ndx == 0 || ndx == 1)
7120 if (ndx == 0 || ndx == 1)
7125 if (ndx == 0 || ndx == 1)
7128 /* linux_mprotect */
7130 if (ndx == 0 || ndx == 1)
7135 if (ndx == 0 || ndx == 1)
7140 if (ndx == 0 || ndx == 1)
7143 /* linux_rt_sigaction */
7145 if (ndx == 0 || ndx == 1)
7148 /* linux_rt_sigprocmask */
7150 if (ndx == 0 || ndx == 1)
7153 /* linux_rt_sigreturn */
7155 if (ndx == 0 || ndx == 1)
7160 if (ndx == 0 || ndx == 1)
7165 if (ndx == 0 || ndx == 1)
7170 if (ndx == 0 || ndx == 1)
7175 if (ndx == 0 || ndx == 1)
7180 if (ndx == 0 || ndx == 1)
7185 if (ndx == 0 || ndx == 1)
7190 if (ndx == 0 || ndx == 1)
7195 if (ndx == 0 || ndx == 1)
7202 if (ndx == 0 || ndx == 1)
7207 if (ndx == 0 || ndx == 1)
7212 if (ndx == 0 || ndx == 1)
7217 if (ndx == 0 || ndx == 1)
7222 if (ndx == 0 || ndx == 1)
7227 if (ndx == 0 || ndx == 1)
7232 if (ndx == 0 || ndx == 1)
7237 if (ndx == 0 || ndx == 1)
7242 if (ndx == 0 || ndx == 1)
7247 /* linux_nanosleep */
7249 if (ndx == 0 || ndx == 1)
7252 /* linux_getitimer */
7254 if (ndx == 0 || ndx == 1)
7259 if (ndx == 0 || ndx == 1)
7262 /* linux_setitimer */
7264 if (ndx == 0 || ndx == 1)
7269 /* linux_sendfile */
7271 if (ndx == 0 || ndx == 1)
7276 if (ndx == 0 || ndx == 1)
7281 if (ndx == 0 || ndx == 1)
7286 if (ndx == 0 || ndx == 1)
7291 if (ndx == 0 || ndx == 1)
7294 /* linux_recvfrom */
7296 if (ndx == 0 || ndx == 1)
7301 if (ndx == 0 || ndx == 1)
7306 if (ndx == 0 || ndx == 1)
7309 /* linux_shutdown */
7311 if (ndx == 0 || ndx == 1)
7316 if (ndx == 0 || ndx == 1)
7321 if (ndx == 0 || ndx == 1)
7324 /* linux_getsockname */
7326 if (ndx == 0 || ndx == 1)
7329 /* linux_getpeername */
7331 if (ndx == 0 || ndx == 1)
7334 /* linux_socketpair */
7336 if (ndx == 0 || ndx == 1)
7339 /* linux_setsockopt */
7341 if (ndx == 0 || ndx == 1)
7344 /* linux_getsockopt */
7346 if (ndx == 0 || ndx == 1)
7351 if (ndx == 0 || ndx == 1)
7360 if (ndx == 0 || ndx == 1)
7365 if (ndx == 0 || ndx == 1)
7370 if (ndx == 0 || ndx == 1)
7375 if (ndx == 0 || ndx == 1)
7378 /* linux_newuname */
7380 if (ndx == 0 || ndx == 1)
7385 if (ndx == 0 || ndx == 1)
7390 if (ndx == 0 || ndx == 1)
7395 if (ndx == 0 || ndx == 1)
7400 if (ndx == 0 || ndx == 1)
7405 if (ndx == 0 || ndx == 1)
7410 if (ndx == 0 || ndx == 1)
7415 if (ndx == 0 || ndx == 1)
7420 if (ndx == 0 || ndx == 1)
7425 if (ndx == 0 || ndx == 1)
7430 if (ndx == 0 || ndx == 1)
7435 if (ndx == 0 || ndx == 1)
7438 /* linux_fdatasync */
7440 if (ndx == 0 || ndx == 1)
7443 /* linux_truncate */
7445 if (ndx == 0 || ndx == 1)
7448 /* linux_ftruncate */
7450 if (ndx == 0 || ndx == 1)
7453 /* linux_getdents */
7455 if (ndx == 0 || ndx == 1)
7460 if (ndx == 0 || ndx == 1)
7465 if (ndx == 0 || ndx == 1)
7470 if (ndx == 0 || ndx == 1)
7475 if (ndx == 0 || ndx == 1)
7480 if (ndx == 0 || ndx == 1)
7485 if (ndx == 0 || ndx == 1)
7490 if (ndx == 0 || ndx == 1)
7495 if (ndx == 0 || ndx == 1)
7500 if (ndx == 0 || ndx == 1)
7505 if (ndx == 0 || ndx == 1)
7508 /* linux_readlink */
7510 if (ndx == 0 || ndx == 1)
7515 if (ndx == 0 || ndx == 1)
7520 if (ndx == 0 || ndx == 1)
7525 if (ndx == 0 || ndx == 1)
7530 if (ndx == 0 || ndx == 1)
7535 if (ndx == 0 || ndx == 1)
7540 if (ndx == 0 || ndx == 1)
7545 if (ndx == 0 || ndx == 1)
7548 /* linux_getrlimit */
7550 if (ndx == 0 || ndx == 1)
7555 if (ndx == 0 || ndx == 1)
7560 if (ndx == 0 || ndx == 1)
7565 if (ndx == 0 || ndx == 1)
7570 if (ndx == 0 || ndx == 1)
7577 if (ndx == 0 || ndx == 1)
7584 if (ndx == 0 || ndx == 1)
7589 if (ndx == 0 || ndx == 1)
7598 if (ndx == 0 || ndx == 1)
7609 if (ndx == 0 || ndx == 1)
7614 if (ndx == 0 || ndx == 1)
7617 /* linux_getgroups */
7619 if (ndx == 0 || ndx == 1)
7622 /* linux_setgroups */
7624 if (ndx == 0 || ndx == 1)
7629 if (ndx == 0 || ndx == 1)
7634 if (ndx == 0 || ndx == 1)
7639 if (ndx == 0 || ndx == 1)
7644 if (ndx == 0 || ndx == 1)
7649 if (ndx == 0 || ndx == 1)
7652 /* linux_setfsuid */
7654 if (ndx == 0 || ndx == 1)
7657 /* linux_setfsgid */
7659 if (ndx == 0 || ndx == 1)
7664 if (ndx == 0 || ndx == 1)
7669 if (ndx == 0 || ndx == 1)
7674 if (ndx == 0 || ndx == 1)
7677 /* linux_rt_sigpending */
7679 if (ndx == 0 || ndx == 1)
7682 /* linux_rt_sigtimedwait */
7684 if (ndx == 0 || ndx == 1)
7687 /* linux_rt_sigqueueinfo */
7689 if (ndx == 0 || ndx == 1)
7692 /* linux_rt_sigsuspend */
7694 if (ndx == 0 || ndx == 1)
7697 /* linux_sigaltstack */
7699 if (ndx == 0 || ndx == 1)
7704 if (ndx == 0 || ndx == 1)
7709 if (ndx == 0 || ndx == 1)
7712 /* linux_personality */
7714 if (ndx == 0 || ndx == 1)
7719 if (ndx == 0 || ndx == 1)
7724 if (ndx == 0 || ndx == 1)
7729 if (ndx == 0 || ndx == 1)
7734 if (ndx == 0 || ndx == 1)
7737 /* linux_getpriority */
7739 if (ndx == 0 || ndx == 1)
7744 if (ndx == 0 || ndx == 1)
7747 /* linux_sched_setparam */
7749 if (ndx == 0 || ndx == 1)
7752 /* linux_sched_getparam */
7754 if (ndx == 0 || ndx == 1)
7757 /* linux_sched_setscheduler */
7759 if (ndx == 0 || ndx == 1)
7762 /* linux_sched_getscheduler */
7764 if (ndx == 0 || ndx == 1)
7767 /* linux_sched_get_priority_max */
7769 if (ndx == 0 || ndx == 1)
7772 /* linux_sched_get_priority_min */
7774 if (ndx == 0 || ndx == 1)
7777 /* linux_sched_rr_get_interval */
7779 if (ndx == 0 || ndx == 1)
7784 if (ndx == 0 || ndx == 1)
7789 if (ndx == 0 || ndx == 1)
7794 if (ndx == 0 || ndx == 1)
7801 /* linux_modify_ldt */
7803 /* linux_pivot_root */
7807 if (ndx == 0 || ndx == 1)
7812 if (ndx == 0 || ndx == 1)
7815 /* linux_arch_prctl */
7817 if (ndx == 0 || ndx == 1)
7820 /* linux_adjtimex */
7822 /* linux_setrlimit */
7824 if (ndx == 0 || ndx == 1)
7829 if (ndx == 0 || ndx == 1)
7836 if (ndx == 0 || ndx == 1)
7841 if (ndx == 0 || ndx == 1)
7846 if (ndx == 0 || ndx == 1)
7851 if (ndx == 0 || ndx == 1)
7856 if (ndx == 0 || ndx == 1)
7863 if (ndx == 0 || ndx == 1)
7866 /* linux_sethostname */
7868 if (ndx == 0 || ndx == 1)
7871 /* linux_setdomainname */
7873 if (ndx == 0 || ndx == 1)
7878 if (ndx == 0 || ndx == 1)
7883 /* linux_init_module */
7885 /* linux_delete_module */
7887 /* linux_quotactl */
7891 /* linux_readahead */
7893 /* linux_setxattr */
7895 if (ndx == 0 || ndx == 1)
7898 /* linux_lsetxattr */
7900 if (ndx == 0 || ndx == 1)
7903 /* linux_fsetxattr */
7905 if (ndx == 0 || ndx == 1)
7908 /* linux_getxattr */
7910 if (ndx == 0 || ndx == 1)
7913 /* linux_lgetxattr */
7915 if (ndx == 0 || ndx == 1)
7918 /* linux_fgetxattr */
7920 if (ndx == 0 || ndx == 1)
7923 /* linux_listxattr */
7925 if (ndx == 0 || ndx == 1)
7928 /* linux_llistxattr */
7930 if (ndx == 0 || ndx == 1)
7933 /* linux_flistxattr */
7935 if (ndx == 0 || ndx == 1)
7938 /* linux_removexattr */
7940 if (ndx == 0 || ndx == 1)
7943 /* linux_lremovexattr */
7945 if (ndx == 0 || ndx == 1)
7948 /* linux_fremovexattr */
7950 if (ndx == 0 || ndx == 1)
7955 if (ndx == 0 || ndx == 1)
7960 if (ndx == 0 || ndx == 1)
7963 /* linux_sys_futex */
7965 if (ndx == 0 || ndx == 1)
7968 /* linux_sched_setaffinity */
7970 if (ndx == 0 || ndx == 1)
7973 /* linux_sched_getaffinity */
7975 if (ndx == 0 || ndx == 1)
7978 /* linux_io_setup */
7980 /* linux_io_destroy */
7982 /* linux_io_getevents */
7984 /* linux_io_submit */
7986 /* linux_io_cancel */
7988 /* linux_lookup_dcookie */
7990 /* linux_epoll_create */
7992 if (ndx == 0 || ndx == 1)
7995 /* linux_remap_file_pages */
7997 /* linux_getdents64 */
7999 if (ndx == 0 || ndx == 1)
8002 /* linux_set_tid_address */
8004 if (ndx == 0 || ndx == 1)
8007 /* linux_restart_syscall */
8009 /* linux_semtimedop */
8011 /* linux_fadvise64 */
8013 if (ndx == 0 || ndx == 1)
8016 /* linux_timer_create */
8018 if (ndx == 0 || ndx == 1)
8021 /* linux_timer_settime */
8023 if (ndx == 0 || ndx == 1)
8026 /* linux_timer_gettime */
8028 if (ndx == 0 || ndx == 1)
8031 /* linux_timer_getoverrun */
8033 if (ndx == 0 || ndx == 1)
8036 /* linux_timer_delete */
8038 if (ndx == 0 || ndx == 1)
8041 /* linux_clock_settime */
8043 if (ndx == 0 || ndx == 1)
8046 /* linux_clock_gettime */
8048 if (ndx == 0 || ndx == 1)
8051 /* linux_clock_getres */
8053 if (ndx == 0 || ndx == 1)
8056 /* linux_clock_nanosleep */
8058 if (ndx == 0 || ndx == 1)
8061 /* linux_exit_group */
8063 if (ndx == 0 || ndx == 1)
8066 /* linux_epoll_wait */
8068 if (ndx == 0 || ndx == 1)
8071 /* linux_epoll_ctl */
8073 if (ndx == 0 || ndx == 1)
8078 if (ndx == 0 || ndx == 1)
8083 if (ndx == 0 || ndx == 1)
8088 /* linux_set_mempolicy */
8090 /* linux_get_mempolicy */
8094 if (ndx == 0 || ndx == 1)
8097 /* linux_mq_unlink */
8099 if (ndx == 0 || ndx == 1)
8102 /* linux_mq_timedsend */
8104 if (ndx == 0 || ndx == 1)
8107 /* linux_mq_timedreceive */
8109 if (ndx == 0 || ndx == 1)
8112 /* linux_mq_notify */
8114 if (ndx == 0 || ndx == 1)
8117 /* linux_mq_getsetattr */
8119 if (ndx == 0 || ndx == 1)
8122 /* linux_kexec_load */
8126 if (ndx == 0 || ndx == 1)
8131 /* linux_request_key */
8135 /* linux_ioprio_set */
8137 /* linux_ioprio_get */
8139 /* linux_inotify_init */
8141 /* linux_inotify_add_watch */
8143 /* linux_inotify_rm_watch */
8145 /* linux_migrate_pages */
8149 if (ndx == 0 || ndx == 1)
8154 if (ndx == 0 || ndx == 1)
8159 if (ndx == 0 || ndx == 1)
8162 /* linux_fchownat */
8164 if (ndx == 0 || ndx == 1)
8167 /* linux_futimesat */
8169 if (ndx == 0 || ndx == 1)
8172 /* linux_newfstatat */
8174 if (ndx == 0 || ndx == 1)
8177 /* linux_unlinkat */
8179 if (ndx == 0 || ndx == 1)
8182 /* linux_renameat */
8184 if (ndx == 0 || ndx == 1)
8189 if (ndx == 0 || ndx == 1)
8192 /* linux_symlinkat */
8194 if (ndx == 0 || ndx == 1)
8197 /* linux_readlinkat */
8199 if (ndx == 0 || ndx == 1)
8202 /* linux_fchmodat */
8204 if (ndx == 0 || ndx == 1)
8207 /* linux_faccessat */
8209 if (ndx == 0 || ndx == 1)
8212 /* linux_pselect6 */
8214 if (ndx == 0 || ndx == 1)
8219 if (ndx == 0 || ndx == 1)
8224 /* linux_set_robust_list */
8226 if (ndx == 0 || ndx == 1)
8229 /* linux_get_robust_list */
8231 if (ndx == 0 || ndx == 1)
8236 if (ndx == 0 || ndx == 1)
8241 /* linux_sync_file_range */
8243 if (ndx == 0 || ndx == 1)
8246 /* linux_vmsplice */
8248 /* linux_move_pages */
8250 /* linux_utimensat */
8252 if (ndx == 0 || ndx == 1)
8255 /* linux_epoll_pwait */
8257 if (ndx == 0 || ndx == 1)
8260 /* linux_signalfd */
8262 /* linux_timerfd_create */
8264 if (ndx == 0 || ndx == 1)
8269 if (ndx == 0 || ndx == 1)
8272 /* linux_fallocate */
8274 if (ndx == 0 || ndx == 1)
8277 /* linux_timerfd_settime */
8279 if (ndx == 0 || ndx == 1)
8282 /* linux_timerfd_gettime */
8284 if (ndx == 0 || ndx == 1)
8289 if (ndx == 0 || ndx == 1)
8292 /* linux_signalfd4 */
8294 /* linux_eventfd2 */
8296 if (ndx == 0 || ndx == 1)
8299 /* linux_epoll_create1 */
8301 if (ndx == 0 || ndx == 1)
8306 if (ndx == 0 || ndx == 1)
8311 if (ndx == 0 || ndx == 1)
8314 /* linux_inotify_init1 */
8316 if (ndx == 0 || ndx == 1)
8321 if (ndx == 0 || ndx == 1)
8326 if (ndx == 0 || ndx == 1)
8329 /* linux_rt_tgsigqueueinfo */
8331 if (ndx == 0 || ndx == 1)
8334 /* linux_perf_event_open */
8336 /* linux_recvmmsg */
8338 if (ndx == 0 || ndx == 1)
8341 /* linux_fanotify_init */
8343 /* linux_fanotify_mark */
8345 /* linux_prlimit64 */
8347 if (ndx == 0 || ndx == 1)
8350 /* linux_name_to_handle_at */
8352 if (ndx == 0 || ndx == 1)
8355 /* linux_open_by_handle_at */
8357 if (ndx == 0 || ndx == 1)
8360 /* linux_clock_adjtime */
8364 if (ndx == 0 || ndx == 1)
8367 /* linux_sendmmsg */
8369 if (ndx == 0 || ndx == 1)
8374 if (ndx == 0 || ndx == 1)
8379 if (ndx == 0 || ndx == 1)
8382 /* linux_process_vm_readv */
8384 if (ndx == 0 || ndx == 1)
8387 /* linux_process_vm_writev */
8389 if (ndx == 0 || ndx == 1)
8394 if (ndx == 0 || ndx == 1)
8397 /* linux_finit_module */
8399 if (ndx == 0 || ndx == 1)
8402 /* linux_sched_setattr */
8404 if (ndx == 0 || ndx == 1)
8407 /* linux_sched_getattr */
8409 if (ndx == 0 || ndx == 1)
8412 /* linux_renameat2 */
8414 if (ndx == 0 || ndx == 1)
8419 if (ndx == 0 || ndx == 1)
8422 /* linux_getrandom */
8424 if (ndx == 0 || ndx == 1)
8427 /* linux_memfd_create */
8429 if (ndx == 0 || ndx == 1)
8432 /* linux_kexec_file_load */
8434 if (ndx == 0 || ndx == 1)
8439 if (ndx == 0 || ndx == 1)
8442 /* linux_execveat */
8444 if (ndx == 0 || ndx == 1)
8447 /* linux_userfaultfd */
8449 if (ndx == 0 || ndx == 1)
8452 /* linux_membarrier */
8454 if (ndx == 0 || ndx == 1)
8459 if (ndx == 0 || ndx == 1)
8462 /* linux_copy_file_range */
8464 if (ndx == 0 || ndx == 1)
8469 if (ndx == 0 || ndx == 1)
8472 /* linux_pwritev2 */
8474 if (ndx == 0 || ndx == 1)
8477 /* linux_pkey_mprotect */
8479 if (ndx == 0 || ndx == 1)
8482 /* linux_pkey_alloc */
8484 if (ndx == 0 || ndx == 1)
8487 /* linux_pkey_free */
8489 if (ndx == 0 || ndx == 1)
8494 if (ndx == 0 || ndx == 1)
8497 /* linux_io_pgetevents */
8501 /* linux_pidfd_send_signal */
8503 if (ndx == 0 || ndx == 1)
8506 /* linux_io_uring_setup */
8508 /* linux_io_uring_enter */
8510 /* linux_io_uring_register */
8512 /* linux_open_tree */
8514 /* linux_move_mount */
8518 /* linux_fsconfig */
8524 /* linux_pidfd_open */
8528 if (ndx == 0 || ndx == 1)
8531 /* linux_close_range */
8535 /* linux_pidfd_getfd */
8537 /* linux_faccessat2 */
8539 if (ndx == 0 || ndx == 1)
8542 /* linux_process_madvise */
8544 /* linux_epoll_pwait2 */
8546 /* linux_mount_setattr */
8552 strlcpy(desc, p, descsz);