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_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 */
2683 /* linux_close_range */
2693 /* linux_pidfd_getfd */
2698 /* linux_faccessat2 */
2703 /* linux_process_madvise */
2708 /* linux_epoll_pwait2 */
2713 /* linux_mount_setattr */
2724 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
2726 const char *p = NULL;
2728 #define nosys linux_nosys
2736 p = "userland char *";
2752 p = "userland char *";
2765 p = "userland char *";
2791 p = "userland char *";
2794 p = "userland struct l_newstat *";
2800 /* linux_newfstat */
2807 p = "userland struct l_newstat *";
2813 /* linux_newlstat */
2817 p = "userland char *";
2820 p = "userland struct l_newstat *";
2830 p = "userland struct pollfd *";
2883 /* linux_mprotect */
2903 p = "userland void *";
2922 /* linux_rt_sigaction */
2929 p = "userland l_sigaction_t *";
2932 p = "userland l_sigaction_t *";
2941 /* linux_rt_sigprocmask */
2948 p = "userland l_sigset_t *";
2951 p = "userland l_sigset_t *";
2960 /* linux_rt_sigreturn */
2964 p = "userland struct l_ucontext *";
2993 p = "userland char *";
3012 p = "userland char *";
3031 p = "userland struct iovec *";
3047 p = "userland struct iovec *";
3060 p = "userland char *";
3073 p = "userland l_int *";
3086 p = "userland l_fd_set *";
3089 p = "userland l_fd_set *";
3092 p = "userland l_fd_set *";
3095 p = "userland struct l_timeval *";
3152 p = "userland u_char *";
3197 p = "userland char *";
3216 p = "userland struct l_shmid_ds *";
3248 /* linux_nanosleep */
3252 p = "userland const struct l_timespec *";
3255 p = "userland struct l_timespec *";
3261 /* linux_getitimer */
3268 p = "userland struct l_itimerval *";
3284 /* linux_setitimer */
3291 p = "userland struct l_itimerval *";
3294 p = "userland struct l_itimerval *";
3303 /* linux_sendfile */
3313 p = "userland l_off_t *";
3395 /* linux_recvfrom */
3452 /* linux_shutdown */
3494 /* linux_getsockname */
3510 /* linux_getpeername */
3526 /* linux_socketpair */
3545 /* linux_setsockopt */
3567 /* linux_getsockopt */
3596 p = "userland void *";
3599 p = "userland void *";
3602 p = "userland void *";
3605 p = "userland void *";
3621 p = "userland char *";
3624 p = "userland char **";
3627 p = "userland char **";
3650 p = "userland l_int *";
3656 p = "userland struct rusage *";
3675 /* linux_newuname */
3679 p = "userland struct l_new_utsname *";
3708 p = "userland struct l_sembuf *";
3730 p = "union l_semun";
3740 p = "userland char *";
3766 p = "userland struct l_msgbuf *";
3785 p = "userland struct l_msgbuf *";
3810 p = "userland struct l_msqid_ds *";
3855 /* linux_fdatasync */
3865 /* linux_truncate */
3869 p = "userland char *";
3878 /* linux_ftruncate */
3891 /* linux_getdents */
3898 p = "userland void *";
3911 p = "userland char *";
3924 p = "userland char *";
3944 p = "userland char *";
3947 p = "userland char *";
3957 p = "userland char *";
3970 p = "userland char *";
3980 p = "userland char *";
3993 p = "userland char *";
3996 p = "userland char *";
4006 p = "userland char *";
4016 p = "userland char *";
4019 p = "userland char *";
4025 /* linux_readlink */
4029 p = "userland char *";
4032 p = "userland char *";
4045 p = "userland char *";
4071 p = "userland char *";
4103 p = "userland char *";
4129 p = "userland struct l_timeval *";
4132 p = "userland struct timezone *";
4138 /* linux_getrlimit */
4145 p = "userland struct l_rlimit *";
4158 p = "userland struct rusage *";
4168 p = "userland struct l_sysinfo *";
4178 p = "userland struct l_times_argv *";
4213 p = "userland char *";
4299 /* linux_getgroups */
4306 p = "userland l_gid_t *";
4312 /* linux_setgroups */
4319 p = "userland l_gid_t *";
4345 p = "userland uid_t *";
4348 p = "userland uid_t *";
4351 p = "userland uid_t *";
4377 p = "userland gid_t *";
4380 p = "userland gid_t *";
4383 p = "userland gid_t *";
4399 /* linux_setfsuid */
4409 /* linux_setfsgid */
4433 p = "userland struct l_user_cap_header *";
4436 p = "userland struct l_user_cap_data *";
4446 p = "userland struct l_user_cap_header *";
4449 p = "userland struct l_user_cap_data *";
4455 /* linux_rt_sigpending */
4459 p = "userland l_sigset_t *";
4468 /* linux_rt_sigtimedwait */
4472 p = "userland l_sigset_t *";
4475 p = "userland l_siginfo_t *";
4478 p = "userland struct l_timespec *";
4487 /* linux_rt_sigqueueinfo */
4497 p = "userland l_siginfo_t *";
4503 /* linux_rt_sigsuspend */
4507 p = "userland l_sigset_t *";
4516 /* linux_sigaltstack */
4520 p = "userland l_stack_t *";
4523 p = "userland l_stack_t *";
4533 p = "userland char *";
4536 p = "userland struct l_utimbuf *";
4546 p = "userland char *";
4558 /* linux_personality */
4575 p = "userland struct l_ustat *";
4585 p = "userland char *";
4588 p = "userland struct l_statfs_buf *";
4601 p = "userland struct l_statfs_buf *";
4623 /* linux_getpriority */
4652 /* linux_sched_setparam */
4659 p = "userland struct sched_param *";
4665 /* linux_sched_getparam */
4672 p = "userland struct sched_param *";
4678 /* linux_sched_setscheduler */
4688 p = "userland struct sched_param *";
4694 /* linux_sched_getscheduler */
4704 /* linux_sched_get_priority_max */
4714 /* linux_sched_get_priority_min */
4724 /* linux_sched_rr_get_interval */
4731 p = "userland struct l_timespec *";
4741 p = "userland const void *";
4754 p = "userland const void *";
4779 /* linux_modify_ldt */
4782 /* linux_pivot_root */
4789 p = "userland struct l___sysctl_args *";
4817 /* linux_arch_prctl */
4830 /* linux_adjtimex */
4833 /* linux_setrlimit */
4840 p = "userland struct l_rlimit *";
4850 p = "userland char *";
4863 p = "userland char *";
4873 p = "userland struct l_timeval *";
4876 p = "userland struct timezone *";
4886 p = "userland char *";
4889 p = "userland char *";
4892 p = "userland char *";
4898 p = "userland void *";
4908 p = "userland char *";
4921 p = "userland char *";
4943 p = "userland void *";
4949 /* linux_sethostname */
4953 p = "userland char *";
4962 /* linux_setdomainname */
4966 p = "userland char *";
4988 /* linux_init_module */
4991 /* linux_delete_module */
4994 /* linux_quotactl */
5000 /* linux_readahead */
5003 /* linux_setxattr */
5007 p = "userland const char *";
5010 p = "userland const char *";
5013 p = "userland const char *";
5025 /* linux_lsetxattr */
5029 p = "userland const char *";
5032 p = "userland const char *";
5035 p = "userland const char *";
5047 /* linux_fsetxattr */
5054 p = "userland const char *";
5057 p = "userland const char *";
5069 /* linux_getxattr */
5073 p = "userland const char *";
5076 p = "userland const char *";
5079 p = "userland char *";
5088 /* linux_lgetxattr */
5092 p = "userland const char *";
5095 p = "userland const char *";
5098 p = "userland char *";
5107 /* linux_fgetxattr */
5114 p = "userland const char *";
5117 p = "userland char *";
5126 /* linux_listxattr */
5130 p = "userland const char *";
5133 p = "userland const char *";
5142 /* linux_llistxattr */
5146 p = "userland const char *";
5149 p = "userland const char *";
5158 /* linux_flistxattr */
5165 p = "userland const char *";
5174 /* linux_removexattr */
5178 p = "userland const char *";
5181 p = "userland const char *";
5187 /* linux_lremovexattr */
5191 p = "userland const char *";
5194 p = "userland const char *";
5200 /* linux_fremovexattr */
5207 p = "userland const char *";
5230 p = "userland l_time_t *";
5236 /* linux_sys_futex */
5240 p = "userland uint32_t *";
5249 p = "userland struct l_timespec *";
5252 p = "userland uint32_t *";
5261 /* linux_sched_setaffinity */
5271 p = "userland l_ulong *";
5277 /* linux_sched_getaffinity */
5287 p = "userland l_ulong *";
5293 /* linux_io_setup */
5296 /* linux_io_destroy */
5299 /* linux_io_getevents */
5302 /* linux_io_submit */
5305 /* linux_io_cancel */
5308 /* linux_lookup_dcookie */
5311 /* linux_epoll_create */
5321 /* linux_remap_file_pages */
5324 /* linux_getdents64 */
5331 p = "userland void *";
5340 /* linux_set_tid_address */
5344 p = "userland l_int *";
5350 /* linux_restart_syscall */
5353 /* linux_semtimedop */
5356 /* linux_fadvise64 */
5375 /* linux_timer_create */
5382 p = "userland struct sigevent *";
5385 p = "userland l_timer_t *";
5391 /* linux_timer_settime */
5401 p = "userland const struct itimerspec *";
5404 p = "userland struct itimerspec *";
5410 /* linux_timer_gettime */
5417 p = "userland struct itimerspec *";
5423 /* linux_timer_getoverrun */
5433 /* linux_timer_delete */
5443 /* linux_clock_settime */
5450 p = "userland struct l_timespec *";
5456 /* linux_clock_gettime */
5463 p = "userland struct l_timespec *";
5469 /* linux_clock_getres */
5476 p = "userland struct l_timespec *";
5482 /* linux_clock_nanosleep */
5492 p = "userland struct l_timespec *";
5495 p = "userland struct l_timespec *";
5501 /* linux_exit_group */
5511 /* linux_epoll_wait */
5518 p = "userland struct epoll_event *";
5530 /* linux_epoll_ctl */
5543 p = "userland struct epoll_event *";
5569 p = "userland char *";
5572 p = "userland struct l_timeval *";
5581 /* linux_set_mempolicy */
5584 /* linux_get_mempolicy */
5591 p = "userland const char *";
5600 p = "userland struct mq_attr *";
5606 /* linux_mq_unlink */
5610 p = "userland const char *";
5616 /* linux_mq_timedsend */
5623 p = "userland const char *";
5632 p = "userland const struct l_timespec *";
5638 /* linux_mq_timedreceive */
5645 p = "userland char *";
5651 p = "userland l_uint *";
5654 p = "userland const struct l_timespec *";
5660 /* linux_mq_notify */
5667 p = "userland const struct l_timespec *";
5673 /* linux_mq_getsetattr */
5680 p = "userland const struct mq_attr *";
5683 p = "userland struct mq_attr *";
5689 /* linux_kexec_load */
5702 p = "userland l_siginfo_t *";
5708 p = "userland struct rusage *";
5717 /* linux_request_key */
5723 /* linux_ioprio_set */
5726 /* linux_ioprio_get */
5729 /* linux_inotify_init */
5732 /* linux_inotify_add_watch */
5735 /* linux_inotify_rm_watch */
5738 /* linux_migrate_pages */
5748 p = "userland const char *";
5767 p = "userland const char *";
5783 p = "userland const char *";
5795 /* linux_fchownat */
5802 p = "userland const char *";
5817 /* linux_futimesat */
5824 p = "userland char *";
5827 p = "userland struct l_timeval *";
5833 /* linux_newfstatat */
5840 p = "userland char *";
5843 p = "userland struct l_stat64 *";
5852 /* linux_unlinkat */
5859 p = "userland const char *";
5868 /* linux_renameat */
5875 p = "userland const char *";
5881 p = "userland const char *";
5894 p = "userland const char *";
5900 p = "userland const char *";
5909 /* linux_symlinkat */
5913 p = "userland const char *";
5919 p = "userland const char *";
5925 /* linux_readlinkat */
5932 p = "userland const char *";
5935 p = "userland char *";
5944 /* linux_fchmodat */
5951 p = "userland const char *";
5960 /* linux_faccessat */
5967 p = "userland const char *";
5976 /* linux_pselect6 */
5983 p = "userland l_fd_set *";
5986 p = "userland l_fd_set *";
5989 p = "userland l_fd_set *";
5992 p = "userland struct l_timespec *";
5995 p = "userland l_uintptr_t *";
6005 p = "userland struct pollfd *";
6011 p = "userland struct l_timespec *";
6014 p = "userland l_sigset_t *";
6026 /* linux_set_robust_list */
6030 p = "userland struct linux_robust_list_head *";
6039 /* linux_get_robust_list */
6046 p = "userland struct linux_robust_list_head **";
6049 p = "userland l_size_t *";
6062 p = "userland l_loff_t *";
6068 p = "userland l_loff_t *";
6083 /* linux_sync_file_range */
6102 /* linux_vmsplice */
6105 /* linux_move_pages */
6108 /* linux_utimensat */
6115 p = "userland const char *";
6118 p = "userland const struct l_timespec *";
6127 /* linux_epoll_pwait */
6134 p = "userland struct epoll_event *";
6143 p = "userland l_sigset_t *";
6152 /* linux_signalfd */
6155 /* linux_timerfd_create */
6178 /* linux_fallocate */
6197 /* linux_timerfd_settime */
6207 p = "userland const struct l_itimerspec *";
6210 p = "userland struct l_itimerspec *";
6216 /* linux_timerfd_gettime */
6223 p = "userland struct l_itimerspec *";
6248 /* linux_signalfd4 */
6251 /* linux_eventfd2 */
6264 /* linux_epoll_create1 */
6294 p = "userland l_int *";
6303 /* linux_inotify_init1 */
6320 p = "userland struct iovec *";
6342 p = "userland struct iovec *";
6357 /* linux_rt_tgsigqueueinfo */
6370 p = "userland l_siginfo_t *";
6376 /* linux_perf_event_open */
6379 /* linux_recvmmsg */
6386 p = "userland struct l_mmsghdr *";
6395 p = "userland struct l_timespec *";
6401 /* linux_fanotify_init */
6404 /* linux_fanotify_mark */
6407 /* linux_prlimit64 */
6417 p = "userland struct rlimit *";
6420 p = "userland struct rlimit *";
6426 /* linux_name_to_handle_at */
6433 p = "userland const char *";
6436 p = "userland struct l_file_handle *";
6439 p = "userland l_int *";
6448 /* linux_open_by_handle_at */
6455 p = "userland struct l_file_handle *";
6464 /* linux_clock_adjtime */
6477 /* linux_sendmmsg */
6484 p = "userland struct l_mmsghdr *";
6513 p = "userland l_uint *";
6516 p = "userland l_uint *";
6519 p = "userland void *";
6525 /* linux_process_vm_readv */
6532 p = "userland const struct iovec *";
6538 p = "userland const struct iovec *";
6550 /* linux_process_vm_writev */
6557 p = "userland const struct iovec *";
6563 p = "userland const struct iovec *";
6597 /* linux_finit_module */
6604 p = "userland const char *";
6613 /* linux_sched_setattr */
6620 p = "userland void *";
6629 /* linux_sched_getattr */
6636 p = "userland void *";
6648 /* linux_renameat2 */
6655 p = "userland const char *";
6661 p = "userland const char *";
6680 p = "userland const char *";
6686 /* linux_getrandom */
6690 p = "userland char *";
6702 /* linux_memfd_create */
6706 p = "userland const char *";
6715 /* linux_kexec_file_load */
6728 p = "userland const char *";
6744 p = "userland void *";
6753 /* linux_execveat */
6760 p = "userland const char *";
6763 p = "userland const char **";
6766 p = "userland const char **";
6775 /* linux_userfaultfd */
6785 /* linux_membarrier */
6814 /* linux_copy_file_range */
6821 p = "userland l_loff_t *";
6827 p = "userland l_loff_t *";
6846 p = "userland const struct iovec *";
6864 /* linux_pwritev2 */
6871 p = "userland const struct iovec *";
6889 /* linux_pkey_mprotect */
6908 /* linux_pkey_alloc */
6921 /* linux_pkey_free */
6938 p = "userland const char *";
6947 p = "userland void *";
6953 /* linux_io_pgetevents */
6959 /* linux_pidfd_send_signal */
6969 p = "userland l_siginfo_t *";
6978 /* linux_io_uring_setup */
6981 /* linux_io_uring_enter */
6984 /* linux_io_uring_register */
6987 /* linux_open_tree */
6990 /* linux_move_mount */
6996 /* linux_fsconfig */
7005 /* linux_pidfd_open */
7011 /* linux_close_range */
7017 /* linux_pidfd_getfd */
7020 /* linux_faccessat2 */
7023 /* linux_process_madvise */
7026 /* linux_epoll_pwait2 */
7029 /* linux_mount_setattr */
7036 strlcpy(desc, p, descsz);
7039 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
7041 const char *p = NULL;
7043 #define nosys linux_nosys
7046 if (ndx == 0 || ndx == 1)
7051 if (ndx == 0 || ndx == 1)
7056 if (ndx == 0 || ndx == 1)
7061 if (ndx == 0 || ndx == 1)
7066 if (ndx == 0 || ndx == 1)
7069 /* linux_newfstat */
7071 if (ndx == 0 || ndx == 1)
7074 /* linux_newlstat */
7076 if (ndx == 0 || ndx == 1)
7081 if (ndx == 0 || ndx == 1)
7086 if (ndx == 0 || ndx == 1)
7091 if (ndx == 0 || ndx == 1)
7094 /* linux_mprotect */
7096 if (ndx == 0 || ndx == 1)
7101 if (ndx == 0 || ndx == 1)
7106 if (ndx == 0 || ndx == 1)
7109 /* linux_rt_sigaction */
7111 if (ndx == 0 || ndx == 1)
7114 /* linux_rt_sigprocmask */
7116 if (ndx == 0 || ndx == 1)
7119 /* linux_rt_sigreturn */
7121 if (ndx == 0 || ndx == 1)
7126 if (ndx == 0 || ndx == 1)
7131 if (ndx == 0 || ndx == 1)
7136 if (ndx == 0 || ndx == 1)
7141 if (ndx == 0 || ndx == 1)
7146 if (ndx == 0 || ndx == 1)
7151 if (ndx == 0 || ndx == 1)
7156 if (ndx == 0 || ndx == 1)
7161 if (ndx == 0 || ndx == 1)
7168 if (ndx == 0 || ndx == 1)
7173 if (ndx == 0 || ndx == 1)
7178 if (ndx == 0 || ndx == 1)
7183 if (ndx == 0 || ndx == 1)
7188 if (ndx == 0 || ndx == 1)
7193 if (ndx == 0 || ndx == 1)
7198 if (ndx == 0 || ndx == 1)
7203 if (ndx == 0 || ndx == 1)
7208 if (ndx == 0 || ndx == 1)
7213 /* linux_nanosleep */
7215 if (ndx == 0 || ndx == 1)
7218 /* linux_getitimer */
7220 if (ndx == 0 || ndx == 1)
7225 if (ndx == 0 || ndx == 1)
7228 /* linux_setitimer */
7230 if (ndx == 0 || ndx == 1)
7235 /* linux_sendfile */
7237 if (ndx == 0 || ndx == 1)
7242 if (ndx == 0 || ndx == 1)
7247 if (ndx == 0 || ndx == 1)
7252 if (ndx == 0 || ndx == 1)
7257 if (ndx == 0 || ndx == 1)
7260 /* linux_recvfrom */
7262 if (ndx == 0 || ndx == 1)
7267 if (ndx == 0 || ndx == 1)
7272 if (ndx == 0 || ndx == 1)
7275 /* linux_shutdown */
7277 if (ndx == 0 || ndx == 1)
7282 if (ndx == 0 || ndx == 1)
7287 if (ndx == 0 || ndx == 1)
7290 /* linux_getsockname */
7292 if (ndx == 0 || ndx == 1)
7295 /* linux_getpeername */
7297 if (ndx == 0 || ndx == 1)
7300 /* linux_socketpair */
7302 if (ndx == 0 || ndx == 1)
7305 /* linux_setsockopt */
7307 if (ndx == 0 || ndx == 1)
7310 /* linux_getsockopt */
7312 if (ndx == 0 || ndx == 1)
7317 if (ndx == 0 || ndx == 1)
7326 if (ndx == 0 || ndx == 1)
7331 if (ndx == 0 || ndx == 1)
7336 if (ndx == 0 || ndx == 1)
7341 if (ndx == 0 || ndx == 1)
7344 /* linux_newuname */
7346 if (ndx == 0 || ndx == 1)
7351 if (ndx == 0 || ndx == 1)
7356 if (ndx == 0 || ndx == 1)
7361 if (ndx == 0 || ndx == 1)
7366 if (ndx == 0 || ndx == 1)
7371 if (ndx == 0 || ndx == 1)
7376 if (ndx == 0 || ndx == 1)
7381 if (ndx == 0 || ndx == 1)
7386 if (ndx == 0 || ndx == 1)
7391 if (ndx == 0 || ndx == 1)
7396 if (ndx == 0 || ndx == 1)
7401 if (ndx == 0 || ndx == 1)
7404 /* linux_fdatasync */
7406 if (ndx == 0 || ndx == 1)
7409 /* linux_truncate */
7411 if (ndx == 0 || ndx == 1)
7414 /* linux_ftruncate */
7416 if (ndx == 0 || ndx == 1)
7419 /* linux_getdents */
7421 if (ndx == 0 || ndx == 1)
7426 if (ndx == 0 || ndx == 1)
7431 if (ndx == 0 || ndx == 1)
7436 if (ndx == 0 || ndx == 1)
7441 if (ndx == 0 || ndx == 1)
7446 if (ndx == 0 || ndx == 1)
7451 if (ndx == 0 || ndx == 1)
7456 if (ndx == 0 || ndx == 1)
7461 if (ndx == 0 || ndx == 1)
7466 if (ndx == 0 || ndx == 1)
7471 if (ndx == 0 || ndx == 1)
7474 /* linux_readlink */
7476 if (ndx == 0 || ndx == 1)
7481 if (ndx == 0 || ndx == 1)
7486 if (ndx == 0 || ndx == 1)
7491 if (ndx == 0 || ndx == 1)
7496 if (ndx == 0 || ndx == 1)
7501 if (ndx == 0 || ndx == 1)
7506 if (ndx == 0 || ndx == 1)
7511 if (ndx == 0 || ndx == 1)
7514 /* linux_getrlimit */
7516 if (ndx == 0 || ndx == 1)
7521 if (ndx == 0 || ndx == 1)
7526 if (ndx == 0 || ndx == 1)
7531 if (ndx == 0 || ndx == 1)
7536 if (ndx == 0 || ndx == 1)
7543 if (ndx == 0 || ndx == 1)
7550 if (ndx == 0 || ndx == 1)
7555 if (ndx == 0 || ndx == 1)
7564 if (ndx == 0 || ndx == 1)
7575 if (ndx == 0 || ndx == 1)
7580 if (ndx == 0 || ndx == 1)
7583 /* linux_getgroups */
7585 if (ndx == 0 || ndx == 1)
7588 /* linux_setgroups */
7590 if (ndx == 0 || ndx == 1)
7595 if (ndx == 0 || ndx == 1)
7600 if (ndx == 0 || ndx == 1)
7605 if (ndx == 0 || ndx == 1)
7610 if (ndx == 0 || ndx == 1)
7615 if (ndx == 0 || ndx == 1)
7618 /* linux_setfsuid */
7620 if (ndx == 0 || ndx == 1)
7623 /* linux_setfsgid */
7625 if (ndx == 0 || ndx == 1)
7630 if (ndx == 0 || ndx == 1)
7635 if (ndx == 0 || ndx == 1)
7640 if (ndx == 0 || ndx == 1)
7643 /* linux_rt_sigpending */
7645 if (ndx == 0 || ndx == 1)
7648 /* linux_rt_sigtimedwait */
7650 if (ndx == 0 || ndx == 1)
7653 /* linux_rt_sigqueueinfo */
7655 if (ndx == 0 || ndx == 1)
7658 /* linux_rt_sigsuspend */
7660 if (ndx == 0 || ndx == 1)
7663 /* linux_sigaltstack */
7665 if (ndx == 0 || ndx == 1)
7670 if (ndx == 0 || ndx == 1)
7675 if (ndx == 0 || ndx == 1)
7678 /* linux_personality */
7680 if (ndx == 0 || ndx == 1)
7685 if (ndx == 0 || ndx == 1)
7690 if (ndx == 0 || ndx == 1)
7695 if (ndx == 0 || ndx == 1)
7700 if (ndx == 0 || ndx == 1)
7703 /* linux_getpriority */
7705 if (ndx == 0 || ndx == 1)
7710 if (ndx == 0 || ndx == 1)
7713 /* linux_sched_setparam */
7715 if (ndx == 0 || ndx == 1)
7718 /* linux_sched_getparam */
7720 if (ndx == 0 || ndx == 1)
7723 /* linux_sched_setscheduler */
7725 if (ndx == 0 || ndx == 1)
7728 /* linux_sched_getscheduler */
7730 if (ndx == 0 || ndx == 1)
7733 /* linux_sched_get_priority_max */
7735 if (ndx == 0 || ndx == 1)
7738 /* linux_sched_get_priority_min */
7740 if (ndx == 0 || ndx == 1)
7743 /* linux_sched_rr_get_interval */
7745 if (ndx == 0 || ndx == 1)
7750 if (ndx == 0 || ndx == 1)
7755 if (ndx == 0 || ndx == 1)
7760 if (ndx == 0 || ndx == 1)
7767 /* linux_modify_ldt */
7769 /* linux_pivot_root */
7773 if (ndx == 0 || ndx == 1)
7778 if (ndx == 0 || ndx == 1)
7781 /* linux_arch_prctl */
7783 if (ndx == 0 || ndx == 1)
7786 /* linux_adjtimex */
7788 /* linux_setrlimit */
7790 if (ndx == 0 || ndx == 1)
7795 if (ndx == 0 || ndx == 1)
7802 if (ndx == 0 || ndx == 1)
7807 if (ndx == 0 || ndx == 1)
7812 if (ndx == 0 || ndx == 1)
7817 if (ndx == 0 || ndx == 1)
7822 if (ndx == 0 || ndx == 1)
7829 if (ndx == 0 || ndx == 1)
7832 /* linux_sethostname */
7834 if (ndx == 0 || ndx == 1)
7837 /* linux_setdomainname */
7839 if (ndx == 0 || ndx == 1)
7844 if (ndx == 0 || ndx == 1)
7849 /* linux_init_module */
7851 /* linux_delete_module */
7853 /* linux_quotactl */
7857 /* linux_readahead */
7859 /* linux_setxattr */
7861 if (ndx == 0 || ndx == 1)
7864 /* linux_lsetxattr */
7866 if (ndx == 0 || ndx == 1)
7869 /* linux_fsetxattr */
7871 if (ndx == 0 || ndx == 1)
7874 /* linux_getxattr */
7876 if (ndx == 0 || ndx == 1)
7879 /* linux_lgetxattr */
7881 if (ndx == 0 || ndx == 1)
7884 /* linux_fgetxattr */
7886 if (ndx == 0 || ndx == 1)
7889 /* linux_listxattr */
7891 if (ndx == 0 || ndx == 1)
7894 /* linux_llistxattr */
7896 if (ndx == 0 || ndx == 1)
7899 /* linux_flistxattr */
7901 if (ndx == 0 || ndx == 1)
7904 /* linux_removexattr */
7906 if (ndx == 0 || ndx == 1)
7909 /* linux_lremovexattr */
7911 if (ndx == 0 || ndx == 1)
7914 /* linux_fremovexattr */
7916 if (ndx == 0 || ndx == 1)
7921 if (ndx == 0 || ndx == 1)
7926 if (ndx == 0 || ndx == 1)
7929 /* linux_sys_futex */
7931 if (ndx == 0 || ndx == 1)
7934 /* linux_sched_setaffinity */
7936 if (ndx == 0 || ndx == 1)
7939 /* linux_sched_getaffinity */
7941 if (ndx == 0 || ndx == 1)
7944 /* linux_io_setup */
7946 /* linux_io_destroy */
7948 /* linux_io_getevents */
7950 /* linux_io_submit */
7952 /* linux_io_cancel */
7954 /* linux_lookup_dcookie */
7956 /* linux_epoll_create */
7958 if (ndx == 0 || ndx == 1)
7961 /* linux_remap_file_pages */
7963 /* linux_getdents64 */
7965 if (ndx == 0 || ndx == 1)
7968 /* linux_set_tid_address */
7970 if (ndx == 0 || ndx == 1)
7973 /* linux_restart_syscall */
7975 /* linux_semtimedop */
7977 /* linux_fadvise64 */
7979 if (ndx == 0 || ndx == 1)
7982 /* linux_timer_create */
7984 if (ndx == 0 || ndx == 1)
7987 /* linux_timer_settime */
7989 if (ndx == 0 || ndx == 1)
7992 /* linux_timer_gettime */
7994 if (ndx == 0 || ndx == 1)
7997 /* linux_timer_getoverrun */
7999 if (ndx == 0 || ndx == 1)
8002 /* linux_timer_delete */
8004 if (ndx == 0 || ndx == 1)
8007 /* linux_clock_settime */
8009 if (ndx == 0 || ndx == 1)
8012 /* linux_clock_gettime */
8014 if (ndx == 0 || ndx == 1)
8017 /* linux_clock_getres */
8019 if (ndx == 0 || ndx == 1)
8022 /* linux_clock_nanosleep */
8024 if (ndx == 0 || ndx == 1)
8027 /* linux_exit_group */
8029 if (ndx == 0 || ndx == 1)
8032 /* linux_epoll_wait */
8034 if (ndx == 0 || ndx == 1)
8037 /* linux_epoll_ctl */
8039 if (ndx == 0 || ndx == 1)
8044 if (ndx == 0 || ndx == 1)
8049 if (ndx == 0 || ndx == 1)
8054 /* linux_set_mempolicy */
8056 /* linux_get_mempolicy */
8060 if (ndx == 0 || ndx == 1)
8063 /* linux_mq_unlink */
8065 if (ndx == 0 || ndx == 1)
8068 /* linux_mq_timedsend */
8070 if (ndx == 0 || ndx == 1)
8073 /* linux_mq_timedreceive */
8075 if (ndx == 0 || ndx == 1)
8078 /* linux_mq_notify */
8080 if (ndx == 0 || ndx == 1)
8083 /* linux_mq_getsetattr */
8085 if (ndx == 0 || ndx == 1)
8088 /* linux_kexec_load */
8092 if (ndx == 0 || ndx == 1)
8097 /* linux_request_key */
8101 /* linux_ioprio_set */
8103 /* linux_ioprio_get */
8105 /* linux_inotify_init */
8107 /* linux_inotify_add_watch */
8109 /* linux_inotify_rm_watch */
8111 /* linux_migrate_pages */
8115 if (ndx == 0 || ndx == 1)
8120 if (ndx == 0 || ndx == 1)
8125 if (ndx == 0 || ndx == 1)
8128 /* linux_fchownat */
8130 if (ndx == 0 || ndx == 1)
8133 /* linux_futimesat */
8135 if (ndx == 0 || ndx == 1)
8138 /* linux_newfstatat */
8140 if (ndx == 0 || ndx == 1)
8143 /* linux_unlinkat */
8145 if (ndx == 0 || ndx == 1)
8148 /* linux_renameat */
8150 if (ndx == 0 || ndx == 1)
8155 if (ndx == 0 || ndx == 1)
8158 /* linux_symlinkat */
8160 if (ndx == 0 || ndx == 1)
8163 /* linux_readlinkat */
8165 if (ndx == 0 || ndx == 1)
8168 /* linux_fchmodat */
8170 if (ndx == 0 || ndx == 1)
8173 /* linux_faccessat */
8175 if (ndx == 0 || ndx == 1)
8178 /* linux_pselect6 */
8180 if (ndx == 0 || ndx == 1)
8185 if (ndx == 0 || ndx == 1)
8190 /* linux_set_robust_list */
8192 if (ndx == 0 || ndx == 1)
8195 /* linux_get_robust_list */
8197 if (ndx == 0 || ndx == 1)
8202 if (ndx == 0 || ndx == 1)
8207 /* linux_sync_file_range */
8209 if (ndx == 0 || ndx == 1)
8212 /* linux_vmsplice */
8214 /* linux_move_pages */
8216 /* linux_utimensat */
8218 if (ndx == 0 || ndx == 1)
8221 /* linux_epoll_pwait */
8223 if (ndx == 0 || ndx == 1)
8226 /* linux_signalfd */
8228 /* linux_timerfd_create */
8230 if (ndx == 0 || ndx == 1)
8235 if (ndx == 0 || ndx == 1)
8238 /* linux_fallocate */
8240 if (ndx == 0 || ndx == 1)
8243 /* linux_timerfd_settime */
8245 if (ndx == 0 || ndx == 1)
8248 /* linux_timerfd_gettime */
8250 if (ndx == 0 || ndx == 1)
8255 if (ndx == 0 || ndx == 1)
8258 /* linux_signalfd4 */
8260 /* linux_eventfd2 */
8262 if (ndx == 0 || ndx == 1)
8265 /* linux_epoll_create1 */
8267 if (ndx == 0 || ndx == 1)
8272 if (ndx == 0 || ndx == 1)
8277 if (ndx == 0 || ndx == 1)
8280 /* linux_inotify_init1 */
8282 if (ndx == 0 || ndx == 1)
8287 if (ndx == 0 || ndx == 1)
8292 if (ndx == 0 || ndx == 1)
8295 /* linux_rt_tgsigqueueinfo */
8297 if (ndx == 0 || ndx == 1)
8300 /* linux_perf_event_open */
8302 /* linux_recvmmsg */
8304 if (ndx == 0 || ndx == 1)
8307 /* linux_fanotify_init */
8309 /* linux_fanotify_mark */
8311 /* linux_prlimit64 */
8313 if (ndx == 0 || ndx == 1)
8316 /* linux_name_to_handle_at */
8318 if (ndx == 0 || ndx == 1)
8321 /* linux_open_by_handle_at */
8323 if (ndx == 0 || ndx == 1)
8326 /* linux_clock_adjtime */
8330 if (ndx == 0 || ndx == 1)
8333 /* linux_sendmmsg */
8335 if (ndx == 0 || ndx == 1)
8340 if (ndx == 0 || ndx == 1)
8345 if (ndx == 0 || ndx == 1)
8348 /* linux_process_vm_readv */
8350 if (ndx == 0 || ndx == 1)
8353 /* linux_process_vm_writev */
8355 if (ndx == 0 || ndx == 1)
8360 if (ndx == 0 || ndx == 1)
8363 /* linux_finit_module */
8365 if (ndx == 0 || ndx == 1)
8368 /* linux_sched_setattr */
8370 if (ndx == 0 || ndx == 1)
8373 /* linux_sched_getattr */
8375 if (ndx == 0 || ndx == 1)
8378 /* linux_renameat2 */
8380 if (ndx == 0 || ndx == 1)
8385 if (ndx == 0 || ndx == 1)
8388 /* linux_getrandom */
8390 if (ndx == 0 || ndx == 1)
8393 /* linux_memfd_create */
8395 if (ndx == 0 || ndx == 1)
8398 /* linux_kexec_file_load */
8400 if (ndx == 0 || ndx == 1)
8405 if (ndx == 0 || ndx == 1)
8408 /* linux_execveat */
8410 if (ndx == 0 || ndx == 1)
8413 /* linux_userfaultfd */
8415 if (ndx == 0 || ndx == 1)
8418 /* linux_membarrier */
8420 if (ndx == 0 || ndx == 1)
8425 if (ndx == 0 || ndx == 1)
8428 /* linux_copy_file_range */
8430 if (ndx == 0 || ndx == 1)
8435 if (ndx == 0 || ndx == 1)
8438 /* linux_pwritev2 */
8440 if (ndx == 0 || ndx == 1)
8443 /* linux_pkey_mprotect */
8445 if (ndx == 0 || ndx == 1)
8448 /* linux_pkey_alloc */
8450 if (ndx == 0 || ndx == 1)
8453 /* linux_pkey_free */
8455 if (ndx == 0 || ndx == 1)
8460 if (ndx == 0 || ndx == 1)
8463 /* linux_io_pgetevents */
8467 /* linux_pidfd_send_signal */
8469 if (ndx == 0 || ndx == 1)
8472 /* linux_io_uring_setup */
8474 /* linux_io_uring_enter */
8476 /* linux_io_uring_register */
8478 /* linux_open_tree */
8480 /* linux_move_mount */
8484 /* linux_fsconfig */
8490 /* linux_pidfd_open */
8494 /* linux_close_range */
8498 /* linux_pidfd_getfd */
8500 /* linux_faccessat2 */
8502 /* linux_process_madvise */
8504 /* linux_epoll_pwait2 */
8506 /* linux_mount_setattr */
8512 strlcpy(desc, p, descsz);