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 linux_exit_args
*p
= params
;
18 iarg
[0] = p
->rval
; /* int */
29 struct read_args
*p
= params
;
30 iarg
[0] = p
->fd
; /* int */
31 uarg
[1] = (intptr_t) p
->buf
; /* char * */
32 uarg
[2] = p
->nbyte
; /* u_int */
38 struct write_args
*p
= params
;
39 iarg
[0] = p
->fd
; /* int */
40 uarg
[1] = (intptr_t) p
->buf
; /* char * */
41 uarg
[2] = p
->nbyte
; /* u_int */
47 struct linux_open_args
*p
= params
;
48 uarg
[0] = (intptr_t) p
->path
; /* char * */
49 iarg
[1] = p
->flags
; /* l_int */
50 iarg
[2] = p
->mode
; /* l_int */
56 struct close_args
*p
= params
;
57 iarg
[0] = p
->fd
; /* int */
63 struct linux_waitpid_args
*p
= params
;
64 iarg
[0] = p
->pid
; /* l_pid_t */
65 uarg
[1] = (intptr_t) p
->status
; /* l_int * */
66 iarg
[2] = p
->options
; /* l_int */
72 struct linux_creat_args
*p
= params
;
73 uarg
[0] = (intptr_t) p
->path
; /* char * */
74 iarg
[1] = p
->mode
; /* l_int */
80 struct linux_link_args
*p
= params
;
81 uarg
[0] = (intptr_t) p
->path
; /* char * */
82 uarg
[1] = (intptr_t) p
->to
; /* char * */
88 struct linux_unlink_args
*p
= params
;
89 uarg
[0] = (intptr_t) p
->path
; /* char * */
95 struct linux_execve_args
*p
= params
;
96 uarg
[0] = (intptr_t) p
->path
; /* char * */
97 uarg
[1] = (intptr_t) p
->argp
; /* char ** */
98 uarg
[2] = (intptr_t) p
->envp
; /* char ** */
104 struct linux_chdir_args
*p
= params
;
105 uarg
[0] = (intptr_t) p
->path
; /* char * */
111 struct linux_time_args
*p
= params
;
112 uarg
[0] = (intptr_t) p
->tm
; /* l_time_t * */
118 struct linux_mknod_args
*p
= params
;
119 uarg
[0] = (intptr_t) p
->path
; /* char * */
120 iarg
[1] = p
->mode
; /* l_int */
121 iarg
[2] = p
->dev
; /* l_dev_t */
127 struct linux_chmod_args
*p
= params
;
128 uarg
[0] = (intptr_t) p
->path
; /* char * */
129 iarg
[1] = p
->mode
; /* l_mode_t */
135 struct linux_lchown16_args
*p
= params
;
136 uarg
[0] = (intptr_t) p
->path
; /* char * */
137 iarg
[1] = p
->uid
; /* l_uid16_t */
138 iarg
[2] = p
->gid
; /* l_gid16_t */
144 struct linux_stat_args
*p
= params
;
145 uarg
[0] = (intptr_t) p
->path
; /* char * */
146 uarg
[1] = (intptr_t) p
->up
; /* struct linux_stat * */
152 struct linux_lseek_args
*p
= params
;
153 iarg
[0] = p
->fdes
; /* l_uint */
154 iarg
[1] = p
->off
; /* l_off_t */
155 iarg
[2] = p
->whence
; /* l_int */
166 struct linux_mount_args
*p
= params
;
167 uarg
[0] = (intptr_t) p
->specialfile
; /* char * */
168 uarg
[1] = (intptr_t) p
->dir
; /* char * */
169 uarg
[2] = (intptr_t) p
->filesystemtype
; /* char * */
170 iarg
[3] = p
->rwflag
; /* l_ulong */
171 uarg
[4] = (intptr_t) p
->data
; /* void * */
175 /* linux_oldumount */
177 struct linux_oldumount_args
*p
= params
;
178 uarg
[0] = (intptr_t) p
->path
; /* char * */
184 struct linux_setuid16_args
*p
= params
;
185 iarg
[0] = p
->uid
; /* l_uid16_t */
201 struct linux_ptrace_args
*p
= params
;
202 iarg
[0] = p
->req
; /* l_long */
203 iarg
[1] = p
->pid
; /* l_long */
204 iarg
[2] = p
->addr
; /* l_long */
205 iarg
[3] = p
->data
; /* l_long */
211 struct linux_alarm_args
*p
= params
;
212 iarg
[0] = p
->secs
; /* l_uint */
218 struct linux_fstat_args
*p
= params
;
219 iarg
[0] = p
->fd
; /* l_uint */
220 uarg
[1] = (intptr_t) p
->up
; /* struct linux_stat * */
231 struct linux_utime_args
*p
= params
;
232 uarg
[0] = (intptr_t) p
->fname
; /* char * */
233 uarg
[1] = (intptr_t) p
->times
; /* struct l_utimbuf * */
239 struct linux_access_args
*p
= params
;
240 uarg
[0] = (intptr_t) p
->path
; /* char * */
241 iarg
[1] = p
->amode
; /* l_int */
247 struct linux_nice_args
*p
= params
;
248 iarg
[0] = p
->inc
; /* l_int */
259 struct linux_kill_args
*p
= params
;
260 iarg
[0] = p
->pid
; /* l_int */
261 iarg
[1] = p
->signum
; /* l_int */
267 struct linux_rename_args
*p
= params
;
268 uarg
[0] = (intptr_t) p
->from
; /* char * */
269 uarg
[1] = (intptr_t) p
->to
; /* char * */
275 struct linux_mkdir_args
*p
= params
;
276 uarg
[0] = (intptr_t) p
->path
; /* char * */
277 iarg
[1] = p
->mode
; /* l_int */
283 struct linux_rmdir_args
*p
= params
;
284 uarg
[0] = (intptr_t) p
->path
; /* char * */
290 struct dup_args
*p
= params
;
291 uarg
[0] = p
->fd
; /* u_int */
297 struct linux_pipe_args
*p
= params
;
298 uarg
[0] = (intptr_t) p
->pipefds
; /* l_int * */
304 struct linux_times_args
*p
= params
;
305 uarg
[0] = (intptr_t) p
->buf
; /* struct l_times_argv * */
311 struct linux_brk_args
*p
= params
;
312 iarg
[0] = p
->dsend
; /* l_ulong */
318 struct linux_setgid16_args
*p
= params
;
319 iarg
[0] = p
->gid
; /* l_gid16_t */
330 struct linux_signal_args
*p
= params
;
331 iarg
[0] = p
->sig
; /* l_int */
332 uarg
[1] = (intptr_t) p
->handler
; /* void * */
336 /* linux_geteuid16 */
341 /* linux_getegid16 */
348 struct acct_args
*p
= params
;
349 uarg
[0] = (intptr_t) p
->path
; /* char * */
355 struct linux_umount_args
*p
= params
;
356 uarg
[0] = (intptr_t) p
->path
; /* char * */
357 iarg
[1] = p
->flags
; /* l_int */
363 struct linux_ioctl_args
*p
= params
;
364 iarg
[0] = p
->fd
; /* l_uint */
365 iarg
[1] = p
->cmd
; /* l_uint */
366 iarg
[2] = p
->arg
; /* l_ulong */
372 struct linux_fcntl_args
*p
= params
;
373 iarg
[0] = p
->fd
; /* l_uint */
374 iarg
[1] = p
->cmd
; /* l_uint */
375 iarg
[2] = p
->arg
; /* l_ulong */
381 struct setpgid_args
*p
= params
;
382 iarg
[0] = p
->pid
; /* int */
383 iarg
[1] = p
->pgid
; /* int */
394 struct umask_args
*p
= params
;
395 iarg
[0] = p
->newmask
; /* int */
401 struct chroot_args
*p
= params
;
402 uarg
[0] = (intptr_t) p
->path
; /* char * */
408 struct linux_ustat_args
*p
= params
;
409 iarg
[0] = p
->dev
; /* l_dev_t */
410 uarg
[1] = (intptr_t) p
->ubuf
; /* struct l_ustat * */
416 struct dup2_args
*p
= params
;
417 uarg
[0] = p
->from
; /* u_int */
418 uarg
[1] = p
->to
; /* u_int */
437 /* linux_sigaction */
439 struct linux_sigaction_args
*p
= params
;
440 iarg
[0] = p
->sig
; /* l_int */
441 uarg
[1] = (intptr_t) p
->nsa
; /* l_osigaction_t * */
442 uarg
[2] = (intptr_t) p
->osa
; /* l_osigaction_t * */
453 struct linux_ssetmask_args
*p
= params
;
454 iarg
[0] = p
->mask
; /* l_osigset_t */
458 /* linux_setreuid16 */
460 struct linux_setreuid16_args
*p
= params
;
461 iarg
[0] = p
->ruid
; /* l_uid16_t */
462 iarg
[1] = p
->euid
; /* l_uid16_t */
466 /* linux_setregid16 */
468 struct linux_setregid16_args
*p
= params
;
469 iarg
[0] = p
->rgid
; /* l_gid16_t */
470 iarg
[1] = p
->egid
; /* l_gid16_t */
474 /* linux_sigsuspend */
476 struct linux_sigsuspend_args
*p
= params
;
477 iarg
[0] = p
->hist0
; /* l_int */
478 iarg
[1] = p
->hist1
; /* l_int */
479 iarg
[2] = p
->mask
; /* l_osigset_t */
483 /* linux_sigpending */
485 struct linux_sigpending_args
*p
= params
;
486 uarg
[0] = (intptr_t) p
->mask
; /* l_osigset_t * */
490 /* linux_sethostname */
492 struct linux_sethostname_args
*p
= params
;
493 uarg
[0] = (intptr_t) p
->hostname
; /* char * */
494 uarg
[1] = p
->len
; /* u_int */
498 /* linux_setrlimit */
500 struct linux_setrlimit_args
*p
= params
;
501 iarg
[0] = p
->resource
; /* l_uint */
502 uarg
[1] = (intptr_t) p
->rlim
; /* struct l_rlimit * */
506 /* linux_old_getrlimit */
508 struct linux_old_getrlimit_args
*p
= params
;
509 iarg
[0] = p
->resource
; /* l_uint */
510 uarg
[1] = (intptr_t) p
->rlim
; /* struct l_rlimit * */
516 struct getrusage_args
*p
= params
;
517 iarg
[0] = p
->who
; /* int */
518 uarg
[1] = (intptr_t) p
->rusage
; /* struct rusage * */
524 struct gettimeofday_args
*p
= params
;
525 uarg
[0] = (intptr_t) p
->tp
; /* struct timeval * */
526 uarg
[1] = (intptr_t) p
->tzp
; /* struct timezone * */
532 struct settimeofday_args
*p
= params
;
533 uarg
[0] = (intptr_t) p
->tv
; /* struct timeval * */
534 uarg
[1] = (intptr_t) p
->tzp
; /* struct timezone * */
538 /* linux_getgroups16 */
540 struct linux_getgroups16_args
*p
= params
;
541 iarg
[0] = p
->gidsetsize
; /* l_uint */
542 uarg
[1] = (intptr_t) p
->gidset
; /* l_gid16_t * */
546 /* linux_setgroups16 */
548 struct linux_setgroups16_args
*p
= params
;
549 iarg
[0] = p
->gidsetsize
; /* l_uint */
550 uarg
[1] = (intptr_t) p
->gidset
; /* l_gid16_t * */
554 /* linux_old_select */
556 struct linux_old_select_args
*p
= params
;
557 uarg
[0] = (intptr_t) p
->ptr
; /* struct l_old_select_argv * */
563 struct linux_symlink_args
*p
= params
;
564 uarg
[0] = (intptr_t) p
->path
; /* char * */
565 uarg
[1] = (intptr_t) p
->to
; /* char * */
571 struct linux_lstat_args
*p
= params
;
572 uarg
[0] = (intptr_t) p
->path
; /* char * */
573 uarg
[1] = (intptr_t) p
->up
; /* struct l_stat * */
579 struct linux_readlink_args
*p
= params
;
580 uarg
[0] = (intptr_t) p
->name
; /* char * */
581 uarg
[1] = (intptr_t) p
->buf
; /* char * */
582 iarg
[2] = p
->count
; /* l_int */
588 struct linux_uselib_args
*p
= params
;
589 uarg
[0] = (intptr_t) p
->library
; /* char * */
595 struct swapon_args
*p
= params
;
596 uarg
[0] = (intptr_t) p
->name
; /* char * */
602 struct linux_reboot_args
*p
= params
;
603 iarg
[0] = p
->magic1
; /* l_int */
604 iarg
[1] = p
->magic2
; /* l_int */
605 iarg
[2] = p
->cmd
; /* l_uint */
606 uarg
[3] = (intptr_t) p
->arg
; /* void * */
612 struct linux_readdir_args
*p
= params
;
613 iarg
[0] = p
->fd
; /* l_uint */
614 uarg
[1] = (intptr_t) p
->dent
; /* struct l_dirent * */
615 iarg
[2] = p
->count
; /* l_uint */
621 struct linux_mmap_args
*p
= params
;
622 uarg
[0] = (intptr_t) p
->ptr
; /* struct l_mmap_argv * */
628 struct munmap_args
*p
= params
;
629 uarg
[0] = (intptr_t) p
->addr
; /* caddr_t */
630 iarg
[1] = p
->len
; /* int */
636 struct linux_truncate_args
*p
= params
;
637 uarg
[0] = (intptr_t) p
->path
; /* char * */
638 iarg
[1] = p
->length
; /* l_ulong */
642 /* linux_ftruncate */
644 struct linux_ftruncate_args
*p
= params
;
645 iarg
[0] = p
->fd
; /* int */
646 iarg
[1] = p
->length
; /* long */
652 struct fchmod_args
*p
= params
;
653 iarg
[0] = p
->fd
; /* int */
654 iarg
[1] = p
->mode
; /* int */
660 struct fchown_args
*p
= params
;
661 iarg
[0] = p
->fd
; /* int */
662 iarg
[1] = p
->uid
; /* int */
663 iarg
[2] = p
->gid
; /* int */
667 /* linux_getpriority */
669 struct linux_getpriority_args
*p
= params
;
670 iarg
[0] = p
->which
; /* int */
671 iarg
[1] = p
->who
; /* int */
677 struct setpriority_args
*p
= params
;
678 iarg
[0] = p
->which
; /* int */
679 iarg
[1] = p
->who
; /* int */
680 iarg
[2] = p
->prio
; /* int */
686 struct linux_statfs_args
*p
= params
;
687 uarg
[0] = (intptr_t) p
->path
; /* char * */
688 uarg
[1] = (intptr_t) p
->buf
; /* struct l_statfs_buf * */
694 struct linux_fstatfs_args
*p
= params
;
695 iarg
[0] = p
->fd
; /* l_uint */
696 uarg
[1] = (intptr_t) p
->buf
; /* struct l_statfs_buf * */
702 struct linux_ioperm_args
*p
= params
;
703 iarg
[0] = p
->start
; /* l_ulong */
704 iarg
[1] = p
->length
; /* l_ulong */
705 iarg
[2] = p
->enable
; /* l_int */
709 /* linux_socketcall */
711 struct linux_socketcall_args
*p
= params
;
712 iarg
[0] = p
->what
; /* l_int */
713 iarg
[1] = p
->args
; /* l_ulong */
719 struct linux_syslog_args
*p
= params
;
720 iarg
[0] = p
->type
; /* l_int */
721 uarg
[1] = (intptr_t) p
->buf
; /* char * */
722 iarg
[2] = p
->len
; /* l_int */
726 /* linux_setitimer */
728 struct linux_setitimer_args
*p
= params
;
729 iarg
[0] = p
->which
; /* l_int */
730 uarg
[1] = (intptr_t) p
->itv
; /* struct l_itimerval * */
731 uarg
[2] = (intptr_t) p
->oitv
; /* struct l_itimerval * */
735 /* linux_getitimer */
737 struct linux_getitimer_args
*p
= params
;
738 iarg
[0] = p
->which
; /* l_int */
739 uarg
[1] = (intptr_t) p
->itv
; /* struct l_itimerval * */
745 struct linux_newstat_args
*p
= params
;
746 uarg
[0] = (intptr_t) p
->path
; /* char * */
747 uarg
[1] = (intptr_t) p
->buf
; /* struct l_newstat * */
753 struct linux_newlstat_args
*p
= params
;
754 uarg
[0] = (intptr_t) p
->path
; /* char * */
755 uarg
[1] = (intptr_t) p
->buf
; /* struct l_newstat * */
761 struct linux_newfstat_args
*p
= params
;
762 iarg
[0] = p
->fd
; /* l_uint */
763 uarg
[1] = (intptr_t) p
->buf
; /* struct l_newstat * */
774 struct linux_iopl_args
*p
= params
;
775 iarg
[0] = p
->level
; /* l_int */
791 struct linux_wait4_args
*p
= params
;
792 iarg
[0] = p
->pid
; /* l_pid_t */
793 uarg
[1] = (intptr_t) p
->status
; /* l_int * */
794 iarg
[2] = p
->options
; /* l_int */
795 uarg
[3] = (intptr_t) p
->rusage
; /* void * */
806 struct linux_sysinfo_args
*p
= params
;
807 uarg
[0] = (intptr_t) p
->info
; /* struct l_sysinfo * */
813 struct linux_ipc_args
*p
= params
;
814 iarg
[0] = p
->what
; /* l_uint */
815 iarg
[1] = p
->arg1
; /* l_int */
816 iarg
[2] = p
->arg2
; /* l_int */
817 iarg
[3] = p
->arg3
; /* l_int */
818 uarg
[4] = (intptr_t) p
->ptr
; /* void * */
819 iarg
[5] = p
->arg5
; /* l_long */
825 struct fsync_args
*p
= params
;
826 iarg
[0] = p
->fd
; /* int */
830 /* linux_sigreturn */
832 struct linux_sigreturn_args
*p
= params
;
833 uarg
[0] = (intptr_t) p
->sfp
; /* struct l_sigframe * */
839 struct linux_clone_args
*p
= params
;
840 iarg
[0] = p
->flags
; /* l_int */
841 uarg
[1] = (intptr_t) p
->stack
; /* void * */
842 uarg
[2] = (intptr_t) p
->parent_tidptr
; /* void * */
843 uarg
[3] = (intptr_t) p
->tls
; /* void * */
844 uarg
[4] = (intptr_t) p
->child_tidptr
; /* void * */
848 /* linux_setdomainname */
850 struct linux_setdomainname_args
*p
= params
;
851 uarg
[0] = (intptr_t) p
->name
; /* char * */
852 iarg
[1] = p
->len
; /* int */
858 struct linux_newuname_args
*p
= params
;
859 uarg
[0] = (intptr_t) p
->buf
; /* struct l_new_utsname * */
863 /* linux_modify_ldt */
865 struct linux_modify_ldt_args
*p
= params
;
866 iarg
[0] = p
->func
; /* l_int */
867 uarg
[1] = (intptr_t) p
->ptr
; /* void * */
868 iarg
[2] = p
->bytecount
; /* l_ulong */
879 struct linux_mprotect_args
*p
= params
;
880 uarg
[0] = (intptr_t) p
->addr
; /* caddr_t */
881 iarg
[1] = p
->len
; /* int */
882 iarg
[2] = p
->prot
; /* int */
886 /* linux_sigprocmask */
888 struct linux_sigprocmask_args
*p
= params
;
889 iarg
[0] = p
->how
; /* l_int */
890 uarg
[1] = (intptr_t) p
->mask
; /* l_osigset_t * */
891 uarg
[2] = (intptr_t) p
->omask
; /* l_osigset_t * */
895 /* linux_create_module */
900 /* linux_init_module */
905 /* linux_delete_module */
910 /* linux_get_kernel_syms */
922 struct getpgid_args
*p
= params
;
923 iarg
[0] = p
->pid
; /* int */
929 struct fchdir_args
*p
= params
;
930 iarg
[0] = p
->fd
; /* int */
941 struct linux_sysfs_args
*p
= params
;
942 iarg
[0] = p
->option
; /* l_int */
943 iarg
[1] = p
->arg1
; /* l_ulong */
944 iarg
[2] = p
->arg2
; /* l_ulong */
948 /* linux_personality */
950 struct linux_personality_args
*p
= params
;
951 iarg
[0] = p
->per
; /* l_uint */
955 /* linux_setfsuid16 */
957 struct linux_setfsuid16_args
*p
= params
;
958 iarg
[0] = p
->uid
; /* l_uid16_t */
962 /* linux_setfsgid16 */
964 struct linux_setfsgid16_args
*p
= params
;
965 iarg
[0] = p
->gid
; /* l_gid16_t */
971 struct linux_llseek_args
*p
= params
;
972 iarg
[0] = p
->fd
; /* l_int */
973 iarg
[1] = p
->ohigh
; /* l_ulong */
974 iarg
[2] = p
->olow
; /* l_ulong */
975 uarg
[3] = (intptr_t) p
->res
; /* l_loff_t * */
976 iarg
[4] = p
->whence
; /* l_uint */
982 struct linux_getdents_args
*p
= params
;
983 iarg
[0] = p
->fd
; /* l_uint */
984 uarg
[1] = (intptr_t) p
->dent
; /* void * */
985 iarg
[2] = p
->count
; /* l_uint */
991 struct linux_select_args
*p
= params
;
992 iarg
[0] = p
->nfds
; /* l_int */
993 uarg
[1] = (intptr_t) p
->readfds
; /* l_fd_set * */
994 uarg
[2] = (intptr_t) p
->writefds
; /* l_fd_set * */
995 uarg
[3] = (intptr_t) p
->exceptfds
; /* l_fd_set * */
996 uarg
[4] = (intptr_t) p
->timeout
; /* struct l_timeval * */
1002 struct flock_args
*p
= params
;
1003 iarg
[0] = p
->fd
; /* int */
1004 iarg
[1] = p
->how
; /* int */
1010 struct linux_msync_args
*p
= params
;
1011 iarg
[0] = p
->addr
; /* l_ulong */
1012 iarg
[1] = p
->len
; /* l_size_t */
1013 iarg
[2] = p
->fl
; /* l_int */
1019 struct readv_args
*p
= params
;
1020 iarg
[0] = p
->fd
; /* int */
1021 uarg
[1] = (intptr_t) p
->iovp
; /* struct iovec * */
1022 uarg
[2] = p
->iovcnt
; /* u_int */
1028 struct writev_args
*p
= params
;
1029 iarg
[0] = p
->fd
; /* int */
1030 uarg
[1] = (intptr_t) p
->iovp
; /* struct iovec * */
1031 uarg
[2] = p
->iovcnt
; /* u_int */
1037 struct linux_getsid_args
*p
= params
;
1038 iarg
[0] = p
->pid
; /* l_pid_t */
1042 /* linux_fdatasync */
1044 struct linux_fdatasync_args
*p
= params
;
1045 iarg
[0] = p
->fd
; /* l_uint */
1051 struct linux_sysctl_args
*p
= params
;
1052 uarg
[0] = (intptr_t) p
->args
; /* struct l___sysctl_args * */
1058 struct mlock_args
*p
= params
;
1059 uarg
[0] = (intptr_t) p
->addr
; /* const void * */
1060 uarg
[1] = p
->len
; /* size_t */
1066 struct munlock_args
*p
= params
;
1067 uarg
[0] = (intptr_t) p
->addr
; /* const void * */
1068 uarg
[1] = p
->len
; /* size_t */
1074 struct mlockall_args
*p
= params
;
1075 iarg
[0] = p
->how
; /* int */
1084 /* linux_sched_setparam */
1086 struct linux_sched_setparam_args
*p
= params
;
1087 iarg
[0] = p
->pid
; /* l_pid_t */
1088 uarg
[1] = (intptr_t) p
->param
; /* struct sched_param * */
1092 /* linux_sched_getparam */
1094 struct linux_sched_getparam_args
*p
= params
;
1095 iarg
[0] = p
->pid
; /* l_pid_t */
1096 uarg
[1] = (intptr_t) p
->param
; /* struct sched_param * */
1100 /* linux_sched_setscheduler */
1102 struct linux_sched_setscheduler_args
*p
= params
;
1103 iarg
[0] = p
->pid
; /* l_pid_t */
1104 iarg
[1] = p
->policy
; /* l_int */
1105 uarg
[2] = (intptr_t) p
->param
; /* struct sched_param * */
1109 /* linux_sched_getscheduler */
1111 struct linux_sched_getscheduler_args
*p
= params
;
1112 iarg
[0] = p
->pid
; /* l_pid_t */
1121 /* linux_sched_get_priority_max */
1123 struct linux_sched_get_priority_max_args
*p
= params
;
1124 iarg
[0] = p
->policy
; /* l_int */
1128 /* linux_sched_get_priority_min */
1130 struct linux_sched_get_priority_min_args
*p
= params
;
1131 iarg
[0] = p
->policy
; /* l_int */
1135 /* linux_sched_rr_get_interval */
1137 struct linux_sched_rr_get_interval_args
*p
= params
;
1138 iarg
[0] = p
->pid
; /* l_pid_t */
1139 uarg
[1] = (intptr_t) p
->interval
; /* struct l_timespec * */
1143 /* linux_nanosleep */
1145 struct linux_nanosleep_args
*p
= params
;
1146 uarg
[0] = (intptr_t) p
->rqtp
; /* const struct l_timespec * */
1147 uarg
[1] = (intptr_t) p
->rmtp
; /* struct l_timespec * */
1153 struct linux_mremap_args
*p
= params
;
1154 iarg
[0] = p
->addr
; /* l_ulong */
1155 iarg
[1] = p
->old_len
; /* l_ulong */
1156 iarg
[2] = p
->new_len
; /* l_ulong */
1157 iarg
[3] = p
->flags
; /* l_ulong */
1158 iarg
[4] = p
->new_addr
; /* l_ulong */
1162 /* linux_setresuid16 */
1164 struct linux_setresuid16_args
*p
= params
;
1165 iarg
[0] = p
->ruid
; /* l_uid16_t */
1166 iarg
[1] = p
->euid
; /* l_uid16_t */
1167 iarg
[2] = p
->suid
; /* l_uid16_t */
1171 /* linux_getresuid16 */
1173 struct linux_getresuid16_args
*p
= params
;
1174 uarg
[0] = (intptr_t) p
->ruid
; /* l_uid16_t * */
1175 uarg
[1] = (intptr_t) p
->euid
; /* l_uid16_t * */
1176 uarg
[2] = (intptr_t) p
->suid
; /* l_uid16_t * */
1185 /* linux_query_module */
1192 struct poll_args
*p
= params
;
1193 uarg
[0] = (intptr_t) p
->fds
; /* struct pollfd * */
1194 uarg
[1] = p
->nfds
; /* unsigned int */
1195 iarg
[2] = p
->timeout
; /* long */
1199 /* linux_nfsservctl */
1204 /* linux_setresgid16 */
1206 struct linux_setresgid16_args
*p
= params
;
1207 iarg
[0] = p
->rgid
; /* l_gid16_t */
1208 iarg
[1] = p
->egid
; /* l_gid16_t */
1209 iarg
[2] = p
->sgid
; /* l_gid16_t */
1213 /* linux_getresgid16 */
1215 struct linux_getresgid16_args
*p
= params
;
1216 uarg
[0] = (intptr_t) p
->rgid
; /* l_gid16_t * */
1217 uarg
[1] = (intptr_t) p
->egid
; /* l_gid16_t * */
1218 uarg
[2] = (intptr_t) p
->sgid
; /* l_gid16_t * */
1224 struct linux_prctl_args
*p
= params
;
1225 iarg
[0] = p
->option
; /* l_int */
1226 iarg
[1] = p
->arg2
; /* l_int */
1227 iarg
[2] = p
->arg3
; /* l_int */
1228 iarg
[3] = p
->arg4
; /* l_int */
1229 iarg
[4] = p
->arg5
; /* l_int */
1233 /* linux_rt_sigreturn */
1235 struct linux_rt_sigreturn_args
*p
= params
;
1236 uarg
[0] = (intptr_t) p
->ucp
; /* struct l_ucontext * */
1240 /* linux_rt_sigaction */
1242 struct linux_rt_sigaction_args
*p
= params
;
1243 iarg
[0] = p
->sig
; /* l_int */
1244 uarg
[1] = (intptr_t) p
->act
; /* l_sigaction_t * */
1245 uarg
[2] = (intptr_t) p
->oact
; /* l_sigaction_t * */
1246 iarg
[3] = p
->sigsetsize
; /* l_size_t */
1250 /* linux_rt_sigprocmask */
1252 struct linux_rt_sigprocmask_args
*p
= params
;
1253 iarg
[0] = p
->how
; /* l_int */
1254 uarg
[1] = (intptr_t) p
->mask
; /* l_sigset_t * */
1255 uarg
[2] = (intptr_t) p
->omask
; /* l_sigset_t * */
1256 iarg
[3] = p
->sigsetsize
; /* l_size_t */
1260 /* linux_rt_sigpending */
1262 struct linux_rt_sigpending_args
*p
= params
;
1263 uarg
[0] = (intptr_t) p
->set
; /* l_sigset_t * */
1264 iarg
[1] = p
->sigsetsize
; /* l_size_t */
1268 /* linux_rt_sigtimedwait */
1270 struct linux_rt_sigtimedwait_args
*p
= params
;
1271 uarg
[0] = (intptr_t) p
->mask
; /* l_sigset_t * */
1272 uarg
[1] = (intptr_t) p
->ptr
; /* l_siginfo_t * */
1273 uarg
[2] = (intptr_t) p
->timeout
; /* struct l_timeval * */
1274 iarg
[3] = p
->sigsetsize
; /* l_size_t */
1278 /* linux_rt_sigqueueinfo */
1280 struct linux_rt_sigqueueinfo_args
*p
= params
;
1281 iarg
[0] = p
->pid
; /* l_pid_t */
1282 iarg
[1] = p
->sig
; /* l_int */
1283 uarg
[2] = (intptr_t) p
->info
; /* l_siginfo_t * */
1287 /* linux_rt_sigsuspend */
1289 struct linux_rt_sigsuspend_args
*p
= params
;
1290 uarg
[0] = (intptr_t) p
->newset
; /* l_sigset_t * */
1291 iarg
[1] = p
->sigsetsize
; /* l_size_t */
1297 struct linux_pread_args
*p
= params
;
1298 iarg
[0] = p
->fd
; /* l_uint */
1299 uarg
[1] = (intptr_t) p
->buf
; /* char * */
1300 iarg
[2] = p
->nbyte
; /* l_size_t */
1301 iarg
[3] = p
->offset
; /* l_loff_t */
1307 struct linux_pwrite_args
*p
= params
;
1308 iarg
[0] = p
->fd
; /* l_uint */
1309 uarg
[1] = (intptr_t) p
->buf
; /* char * */
1310 iarg
[2] = p
->nbyte
; /* l_size_t */
1311 iarg
[3] = p
->offset
; /* l_loff_t */
1317 struct linux_chown16_args
*p
= params
;
1318 uarg
[0] = (intptr_t) p
->path
; /* char * */
1319 iarg
[1] = p
->uid
; /* l_uid16_t */
1320 iarg
[2] = p
->gid
; /* l_gid16_t */
1326 struct linux_getcwd_args
*p
= params
;
1327 uarg
[0] = (intptr_t) p
->buf
; /* char * */
1328 iarg
[1] = p
->bufsize
; /* l_ulong */
1334 struct linux_capget_args
*p
= params
;
1335 uarg
[0] = (intptr_t) p
->hdrp
; /* struct l_user_cap_header * */
1336 uarg
[1] = (intptr_t) p
->datap
; /* struct l_user_cap_data * */
1342 struct linux_capset_args
*p
= params
;
1343 uarg
[0] = (intptr_t) p
->hdrp
; /* struct l_user_cap_header * */
1344 uarg
[1] = (intptr_t) p
->datap
; /* struct l_user_cap_data * */
1348 /* linux_sigaltstack */
1350 struct linux_sigaltstack_args
*p
= params
;
1351 uarg
[0] = (intptr_t) p
->uss
; /* l_stack_t * */
1352 uarg
[1] = (intptr_t) p
->uoss
; /* l_stack_t * */
1356 /* linux_sendfile */
1366 /* linux_getrlimit */
1368 struct linux_getrlimit_args
*p
= params
;
1369 iarg
[0] = p
->resource
; /* l_uint */
1370 uarg
[1] = (intptr_t) p
->rlim
; /* struct l_rlimit * */
1376 struct linux_mmap2_args
*p
= params
;
1377 iarg
[0] = p
->addr
; /* l_ulong */
1378 iarg
[1] = p
->len
; /* l_ulong */
1379 iarg
[2] = p
->prot
; /* l_ulong */
1380 iarg
[3] = p
->flags
; /* l_ulong */
1381 iarg
[4] = p
->fd
; /* l_ulong */
1382 iarg
[5] = p
->pgoff
; /* l_ulong */
1386 /* linux_truncate64 */
1388 struct linux_truncate64_args
*p
= params
;
1389 uarg
[0] = (intptr_t) p
->path
; /* char * */
1390 iarg
[1] = p
->length
; /* l_loff_t */
1394 /* linux_ftruncate64 */
1396 struct linux_ftruncate64_args
*p
= params
;
1397 iarg
[0] = p
->fd
; /* l_uint */
1398 iarg
[1] = p
->length
; /* l_loff_t */
1404 struct linux_stat64_args
*p
= params
;
1405 uarg
[0] = (intptr_t) p
->filename
; /* const char * */
1406 uarg
[1] = (intptr_t) p
->statbuf
; /* struct l_stat64 * */
1412 struct linux_lstat64_args
*p
= params
;
1413 uarg
[0] = (intptr_t) p
->filename
; /* const char * */
1414 uarg
[1] = (intptr_t) p
->statbuf
; /* struct l_stat64 * */
1420 struct linux_fstat64_args
*p
= params
;
1421 iarg
[0] = p
->fd
; /* l_int */
1422 uarg
[1] = (intptr_t) p
->statbuf
; /* struct l_stat64 * */
1428 struct linux_lchown_args
*p
= params
;
1429 uarg
[0] = (intptr_t) p
->path
; /* char * */
1430 iarg
[1] = p
->uid
; /* l_uid_t */
1431 iarg
[2] = p
->gid
; /* l_gid_t */
1457 struct setreuid_args
*p
= params
;
1458 uarg
[0] = p
->ruid
; /* uid_t */
1459 uarg
[1] = p
->euid
; /* uid_t */
1465 struct setregid_args
*p
= params
;
1466 iarg
[0] = p
->rgid
; /* gid_t */
1467 iarg
[1] = p
->egid
; /* gid_t */
1471 /* linux_getgroups */
1473 struct linux_getgroups_args
*p
= params
;
1474 iarg
[0] = p
->gidsetsize
; /* l_int */
1475 uarg
[1] = (intptr_t) p
->grouplist
; /* l_gid_t * */
1479 /* linux_setgroups */
1481 struct linux_setgroups_args
*p
= params
;
1482 iarg
[0] = p
->gidsetsize
; /* l_int */
1483 uarg
[1] = (intptr_t) p
->grouplist
; /* l_gid_t * */
1494 struct setresuid_args
*p
= params
;
1495 uarg
[0] = p
->ruid
; /* uid_t */
1496 uarg
[1] = p
->euid
; /* uid_t */
1497 uarg
[2] = p
->suid
; /* uid_t */
1503 struct getresuid_args
*p
= params
;
1504 uarg
[0] = (intptr_t) p
->ruid
; /* uid_t * */
1505 uarg
[1] = (intptr_t) p
->euid
; /* uid_t * */
1506 uarg
[2] = (intptr_t) p
->suid
; /* uid_t * */
1512 struct setresgid_args
*p
= params
;
1513 iarg
[0] = p
->rgid
; /* gid_t */
1514 iarg
[1] = p
->egid
; /* gid_t */
1515 iarg
[2] = p
->sgid
; /* gid_t */
1521 struct getresgid_args
*p
= params
;
1522 uarg
[0] = (intptr_t) p
->rgid
; /* gid_t * */
1523 uarg
[1] = (intptr_t) p
->egid
; /* gid_t * */
1524 uarg
[2] = (intptr_t) p
->sgid
; /* gid_t * */
1530 struct linux_chown_args
*p
= params
;
1531 uarg
[0] = (intptr_t) p
->path
; /* char * */
1532 iarg
[1] = p
->uid
; /* l_uid_t */
1533 iarg
[2] = p
->gid
; /* l_gid_t */
1539 struct setuid_args
*p
= params
;
1540 uarg
[0] = p
->uid
; /* uid_t */
1546 struct setgid_args
*p
= params
;
1547 iarg
[0] = p
->gid
; /* gid_t */
1551 /* linux_setfsuid */
1553 struct linux_setfsuid_args
*p
= params
;
1554 iarg
[0] = p
->uid
; /* l_uid_t */
1558 /* linux_setfsgid */
1560 struct linux_setfsgid_args
*p
= params
;
1561 iarg
[0] = p
->gid
; /* l_gid_t */
1565 /* linux_pivot_root */
1567 struct linux_pivot_root_args
*p
= params
;
1568 uarg
[0] = (intptr_t) p
->new_root
; /* char * */
1569 uarg
[1] = (intptr_t) p
->put_old
; /* char * */
1575 struct linux_mincore_args
*p
= params
;
1576 iarg
[0] = p
->start
; /* l_ulong */
1577 iarg
[1] = p
->len
; /* l_size_t */
1578 uarg
[2] = (intptr_t) p
->vec
; /* u_char * */
1584 struct madvise_args
*p
= params
;
1585 uarg
[0] = (intptr_t) p
->addr
; /* void * */
1586 uarg
[1] = p
->len
; /* size_t */
1587 iarg
[2] = p
->behav
; /* int */
1591 /* linux_getdents64 */
1593 struct linux_getdents64_args
*p
= params
;
1594 iarg
[0] = p
->fd
; /* l_uint */
1595 uarg
[1] = (intptr_t) p
->dirent
; /* void * */
1596 iarg
[2] = p
->count
; /* l_uint */
1602 struct linux_fcntl64_args
*p
= params
;
1603 iarg
[0] = p
->fd
; /* l_uint */
1604 iarg
[1] = p
->cmd
; /* l_uint */
1605 iarg
[2] = p
->arg
; /* l_ulong */
1614 /* linux_setxattr */
1619 /* linux_lsetxattr */
1624 /* linux_fsetxattr */
1629 /* linux_getxattr */
1634 /* linux_lgetxattr */
1639 /* linux_fgetxattr */
1644 /* linux_listxattr */
1649 /* linux_llistxattr */
1654 /* linux_flistxattr */
1659 /* linux_removexattr */
1664 /* linux_lremovexattr */
1669 /* linux_fremovexattr */
1676 struct linux_tkill_args
*p
= params
;
1677 iarg
[0] = p
->tid
; /* int */
1678 iarg
[1] = p
->sig
; /* int */
1682 /* linux_sys_futex */
1684 struct linux_sys_futex_args
*p
= params
;
1685 uarg
[0] = (intptr_t) p
->uaddr
; /* void * */
1686 iarg
[1] = p
->op
; /* int */
1687 uarg
[2] = p
->val
; /* uint32_t */
1688 uarg
[3] = (intptr_t) p
->timeout
; /* struct l_timespec * */
1689 uarg
[4] = (intptr_t) p
->uaddr2
; /* uint32_t * */
1690 uarg
[5] = p
->val3
; /* uint32_t */
1694 /* linux_sched_setaffinity */
1696 struct linux_sched_setaffinity_args
*p
= params
;
1697 iarg
[0] = p
->pid
; /* l_pid_t */
1698 iarg
[1] = p
->len
; /* l_uint */
1699 uarg
[2] = (intptr_t) p
->user_mask_ptr
; /* l_ulong * */
1703 /* linux_sched_getaffinity */
1705 struct linux_sched_getaffinity_args
*p
= params
;
1706 iarg
[0] = p
->pid
; /* l_pid_t */
1707 iarg
[1] = p
->len
; /* l_uint */
1708 uarg
[2] = (intptr_t) p
->user_mask_ptr
; /* l_ulong * */
1712 /* linux_set_thread_area */
1714 struct linux_set_thread_area_args
*p
= params
;
1715 uarg
[0] = (intptr_t) p
->desc
; /* struct l_user_desc * */
1719 /* linux_get_thread_area */
1721 struct linux_get_thread_area_args
*p
= params
;
1722 uarg
[0] = (intptr_t) p
->desc
; /* struct l_user_desc * */
1726 /* linux_fadvise64 */
1728 struct linux_fadvise64_args
*p
= params
;
1729 iarg
[0] = p
->fd
; /* int */
1730 iarg
[1] = p
->offset
; /* l_loff_t */
1731 iarg
[2] = p
->len
; /* l_size_t */
1732 iarg
[3] = p
->advice
; /* int */
1736 /* linux_exit_group */
1738 struct linux_exit_group_args
*p
= params
;
1739 iarg
[0] = p
->error_code
; /* int */
1743 /* linux_lookup_dcookie */
1748 /* linux_epoll_create */
1750 struct linux_epoll_create_args
*p
= params
;
1751 iarg
[0] = p
->size
; /* l_int */
1755 /* linux_epoll_ctl */
1757 struct linux_epoll_ctl_args
*p
= params
;
1758 iarg
[0] = p
->epfd
; /* l_int */
1759 iarg
[1] = p
->op
; /* l_int */
1760 iarg
[2] = p
->fd
; /* l_int */
1761 uarg
[3] = (intptr_t) p
->event
; /* struct epoll_event * */
1765 /* linux_epoll_wait */
1767 struct linux_epoll_wait_args
*p
= params
;
1768 iarg
[0] = p
->epfd
; /* l_int */
1769 uarg
[1] = (intptr_t) p
->events
; /* struct epoll_event * */
1770 iarg
[2] = p
->maxevents
; /* l_int */
1771 iarg
[3] = p
->timeout
; /* l_int */
1775 /* linux_remap_file_pages */
1780 /* linux_set_tid_address */
1782 struct linux_set_tid_address_args
*p
= params
;
1783 uarg
[0] = (intptr_t) p
->tidptr
; /* int * */
1787 /* linux_timer_create */
1789 struct linux_timer_create_args
*p
= params
;
1790 iarg
[0] = p
->clock_id
; /* clockid_t */
1791 uarg
[1] = (intptr_t) p
->evp
; /* struct sigevent * */
1792 uarg
[2] = (intptr_t) p
->timerid
; /* l_timer_t * */
1796 /* linux_timer_settime */
1798 struct linux_timer_settime_args
*p
= params
;
1799 iarg
[0] = p
->timerid
; /* l_timer_t */
1800 iarg
[1] = p
->flags
; /* l_int */
1801 uarg
[2] = (intptr_t) p
->new; /* const struct itimerspec * */
1802 uarg
[3] = (intptr_t) p
->old
; /* struct itimerspec * */
1806 /* linux_timer_gettime */
1808 struct linux_timer_gettime_args
*p
= params
;
1809 iarg
[0] = p
->timerid
; /* l_timer_t */
1810 uarg
[1] = (intptr_t) p
->setting
; /* struct itimerspec * */
1814 /* linux_timer_getoverrun */
1816 struct linux_timer_getoverrun_args
*p
= params
;
1817 iarg
[0] = p
->timerid
; /* l_timer_t */
1821 /* linux_timer_delete */
1823 struct linux_timer_delete_args
*p
= params
;
1824 iarg
[0] = p
->timerid
; /* l_timer_t */
1828 /* linux_clock_settime */
1830 struct linux_clock_settime_args
*p
= params
;
1831 iarg
[0] = p
->which
; /* clockid_t */
1832 uarg
[1] = (intptr_t) p
->tp
; /* struct l_timespec * */
1836 /* linux_clock_gettime */
1838 struct linux_clock_gettime_args
*p
= params
;
1839 iarg
[0] = p
->which
; /* clockid_t */
1840 uarg
[1] = (intptr_t) p
->tp
; /* struct l_timespec * */
1844 /* linux_clock_getres */
1846 struct linux_clock_getres_args
*p
= params
;
1847 iarg
[0] = p
->which
; /* clockid_t */
1848 uarg
[1] = (intptr_t) p
->tp
; /* struct l_timespec * */
1852 /* linux_clock_nanosleep */
1854 struct linux_clock_nanosleep_args
*p
= params
;
1855 iarg
[0] = p
->which
; /* clockid_t */
1856 iarg
[1] = p
->flags
; /* int */
1857 uarg
[2] = (intptr_t) p
->rqtp
; /* struct l_timespec * */
1858 uarg
[3] = (intptr_t) p
->rmtp
; /* struct l_timespec * */
1862 /* linux_statfs64 */
1864 struct linux_statfs64_args
*p
= params
;
1865 uarg
[0] = (intptr_t) p
->path
; /* char * */
1866 uarg
[1] = p
->bufsize
; /* size_t */
1867 uarg
[2] = (intptr_t) p
->buf
; /* struct l_statfs64_buf * */
1871 /* linux_fstatfs64 */
1873 struct linux_fstatfs64_args
*p
= params
;
1874 iarg
[0] = p
->fd
; /* l_uint */
1875 uarg
[1] = p
->bufsize
; /* size_t */
1876 uarg
[2] = (intptr_t) p
->buf
; /* struct l_statfs64_buf * */
1882 struct linux_tgkill_args
*p
= params
;
1883 iarg
[0] = p
->tgid
; /* int */
1884 iarg
[1] = p
->pid
; /* int */
1885 iarg
[2] = p
->sig
; /* int */
1891 struct linux_utimes_args
*p
= params
;
1892 uarg
[0] = (intptr_t) p
->fname
; /* char * */
1893 uarg
[1] = (intptr_t) p
->tptr
; /* struct l_timeval * */
1897 /* linux_fadvise64_64 */
1899 struct linux_fadvise64_64_args
*p
= params
;
1900 iarg
[0] = p
->fd
; /* int */
1901 iarg
[1] = p
->offset
; /* l_loff_t */
1902 iarg
[2] = p
->len
; /* l_loff_t */
1903 iarg
[3] = p
->advice
; /* int */
1912 /* linux_get_mempolicy */
1917 /* linux_set_mempolicy */
1924 struct linux_mq_open_args
*p
= params
;
1925 uarg
[0] = (intptr_t) p
->name
; /* const char * */
1926 iarg
[1] = p
->oflag
; /* int */
1927 iarg
[2] = p
->mode
; /* mode_t */
1928 uarg
[3] = (intptr_t) p
->attr
; /* struct mq_attr * */
1932 /* linux_mq_unlink */
1934 struct linux_mq_unlink_args
*p
= params
;
1935 uarg
[0] = (intptr_t) p
->name
; /* const char * */
1939 /* linux_mq_timedsend */
1941 struct linux_mq_timedsend_args
*p
= params
;
1942 iarg
[0] = p
->mqd
; /* l_mqd_t */
1943 uarg
[1] = (intptr_t) p
->msg_ptr
; /* const char * */
1944 uarg
[2] = p
->msg_len
; /* size_t */
1945 uarg
[3] = p
->msg_prio
; /* unsigned int */
1946 uarg
[4] = (intptr_t) p
->abs_timeout
; /* const struct l_timespec * */
1950 /* linux_mq_timedreceive */
1952 struct linux_mq_timedreceive_args
*p
= params
;
1953 iarg
[0] = p
->mqd
; /* l_mqd_t */
1954 uarg
[1] = (intptr_t) p
->msg_ptr
; /* char * */
1955 uarg
[2] = p
->msg_len
; /* size_t */
1956 uarg
[3] = p
->msg_prio
; /* unsigned int */
1957 uarg
[4] = (intptr_t) p
->abs_timeout
; /* const struct l_timespec * */
1961 /* linux_mq_notify */
1963 struct linux_mq_notify_args
*p
= params
;
1964 iarg
[0] = p
->mqd
; /* l_mqd_t */
1965 uarg
[1] = (intptr_t) p
->abs_timeout
; /* const struct l_timespec * */
1969 /* linux_mq_getsetattr */
1971 struct linux_mq_getsetattr_args
*p
= params
;
1972 iarg
[0] = p
->mqd
; /* l_mqd_t */
1973 uarg
[1] = (intptr_t) p
->attr
; /* const struct mq_attr * */
1974 uarg
[2] = (intptr_t) p
->oattr
; /* struct mq_attr * */
1978 /* linux_kexec_load */
1985 struct linux_waitid_args
*p
= params
;
1986 iarg
[0] = p
->idtype
; /* int */
1987 iarg
[1] = p
->id
; /* l_pid_t */
1988 uarg
[2] = (intptr_t) p
->info
; /* l_siginfo_t * */
1989 iarg
[3] = p
->options
; /* int */
1990 uarg
[4] = (intptr_t) p
->rusage
; /* void * */
1999 /* linux_request_key */
2009 /* linux_ioprio_set */
2014 /* linux_ioprio_get */
2019 /* linux_inotify_init */
2024 /* linux_inotify_add_watch */
2029 /* linux_inotify_rm_watch */
2034 /* linux_migrate_pages */
2041 struct linux_openat_args
*p
= params
;
2042 iarg
[0] = p
->dfd
; /* l_int */
2043 uarg
[1] = (intptr_t) p
->filename
; /* const char * */
2044 iarg
[2] = p
->flags
; /* l_int */
2045 iarg
[3] = p
->mode
; /* l_int */
2051 struct linux_mkdirat_args
*p
= params
;
2052 iarg
[0] = p
->dfd
; /* l_int */
2053 uarg
[1] = (intptr_t) p
->pathname
; /* const char * */
2054 iarg
[2] = p
->mode
; /* l_int */
2060 struct linux_mknodat_args
*p
= params
;
2061 iarg
[0] = p
->dfd
; /* l_int */
2062 uarg
[1] = (intptr_t) p
->filename
; /* const char * */
2063 iarg
[2] = p
->mode
; /* l_int */
2064 iarg
[3] = p
->dev
; /* l_uint */
2068 /* linux_fchownat */
2070 struct linux_fchownat_args
*p
= params
;
2071 iarg
[0] = p
->dfd
; /* l_int */
2072 uarg
[1] = (intptr_t) p
->filename
; /* const char * */
2073 iarg
[2] = p
->uid
; /* l_uid16_t */
2074 iarg
[3] = p
->gid
; /* l_gid16_t */
2075 iarg
[4] = p
->flag
; /* l_int */
2079 /* linux_futimesat */
2081 struct linux_futimesat_args
*p
= params
;
2082 iarg
[0] = p
->dfd
; /* l_int */
2083 uarg
[1] = (intptr_t) p
->filename
; /* char * */
2084 uarg
[2] = (intptr_t) p
->utimes
; /* struct l_timeval * */
2088 /* linux_fstatat64 */
2090 struct linux_fstatat64_args
*p
= params
;
2091 iarg
[0] = p
->dfd
; /* l_int */
2092 uarg
[1] = (intptr_t) p
->pathname
; /* char * */
2093 uarg
[2] = (intptr_t) p
->statbuf
; /* struct l_stat64 * */
2094 iarg
[3] = p
->flag
; /* l_int */
2098 /* linux_unlinkat */
2100 struct linux_unlinkat_args
*p
= params
;
2101 iarg
[0] = p
->dfd
; /* l_int */
2102 uarg
[1] = (intptr_t) p
->pathname
; /* const char * */
2103 iarg
[2] = p
->flag
; /* l_int */
2107 /* linux_renameat */
2109 struct linux_renameat_args
*p
= params
;
2110 iarg
[0] = p
->olddfd
; /* l_int */
2111 uarg
[1] = (intptr_t) p
->oldname
; /* const char * */
2112 iarg
[2] = p
->newdfd
; /* l_int */
2113 uarg
[3] = (intptr_t) p
->newname
; /* const char * */
2119 struct linux_linkat_args
*p
= params
;
2120 iarg
[0] = p
->olddfd
; /* l_int */
2121 uarg
[1] = (intptr_t) p
->oldname
; /* const char * */
2122 iarg
[2] = p
->newdfd
; /* l_int */
2123 uarg
[3] = (intptr_t) p
->newname
; /* const char * */
2124 iarg
[4] = p
->flag
; /* l_int */
2128 /* linux_symlinkat */
2130 struct linux_symlinkat_args
*p
= params
;
2131 uarg
[0] = (intptr_t) p
->oldname
; /* const char * */
2132 iarg
[1] = p
->newdfd
; /* l_int */
2133 uarg
[2] = (intptr_t) p
->newname
; /* const char * */
2137 /* linux_readlinkat */
2139 struct linux_readlinkat_args
*p
= params
;
2140 iarg
[0] = p
->dfd
; /* l_int */
2141 uarg
[1] = (intptr_t) p
->path
; /* const char * */
2142 uarg
[2] = (intptr_t) p
->buf
; /* char * */
2143 iarg
[3] = p
->bufsiz
; /* l_int */
2147 /* linux_fchmodat */
2149 struct linux_fchmodat_args
*p
= params
;
2150 iarg
[0] = p
->dfd
; /* l_int */
2151 uarg
[1] = (intptr_t) p
->filename
; /* const char * */
2152 iarg
[2] = p
->mode
; /* l_mode_t */
2156 /* linux_faccessat */
2158 struct linux_faccessat_args
*p
= params
;
2159 iarg
[0] = p
->dfd
; /* l_int */
2160 uarg
[1] = (intptr_t) p
->filename
; /* const char * */
2161 iarg
[2] = p
->amode
; /* l_int */
2165 /* linux_pselect6 */
2167 struct linux_pselect6_args
*p
= params
;
2168 iarg
[0] = p
->nfds
; /* l_int */
2169 uarg
[1] = (intptr_t) p
->readfds
; /* l_fd_set * */
2170 uarg
[2] = (intptr_t) p
->writefds
; /* l_fd_set * */
2171 uarg
[3] = (intptr_t) p
->exceptfds
; /* l_fd_set * */
2172 uarg
[4] = (intptr_t) p
->tsp
; /* struct l_timespec * */
2173 uarg
[5] = (intptr_t) p
->sig
; /* l_uintptr_t * */
2179 struct linux_ppoll_args
*p
= params
;
2180 uarg
[0] = (intptr_t) p
->fds
; /* struct pollfd * */
2181 uarg
[1] = p
->nfds
; /* uint32_t */
2182 uarg
[2] = (intptr_t) p
->tsp
; /* struct l_timespec * */
2183 uarg
[3] = (intptr_t) p
->sset
; /* l_sigset_t * */
2184 iarg
[4] = p
->ssize
; /* l_size_t */
2193 /* linux_set_robust_list */
2195 struct linux_set_robust_list_args
*p
= params
;
2196 uarg
[0] = (intptr_t) p
->head
; /* struct linux_robust_list_head * */
2197 iarg
[1] = p
->len
; /* l_size_t */
2201 /* linux_get_robust_list */
2203 struct linux_get_robust_list_args
*p
= params
;
2204 iarg
[0] = p
->pid
; /* l_int */
2205 uarg
[1] = (intptr_t) p
->head
; /* struct linux_robust_list_head ** */
2206 uarg
[2] = (intptr_t) p
->len
; /* l_size_t * */
2215 /* linux_sync_file_range */
2225 /* linux_vmsplice */
2230 /* linux_move_pages */
2240 /* linux_epoll_pwait */
2242 struct linux_epoll_pwait_args
*p
= params
;
2243 iarg
[0] = p
->epfd
; /* l_int */
2244 uarg
[1] = (intptr_t) p
->events
; /* struct epoll_event * */
2245 iarg
[2] = p
->maxevents
; /* l_int */
2246 iarg
[3] = p
->timeout
; /* l_int */
2247 uarg
[4] = (intptr_t) p
->mask
; /* l_sigset_t * */
2251 /* linux_utimensat */
2253 struct linux_utimensat_args
*p
= params
;
2254 iarg
[0] = p
->dfd
; /* l_int */
2255 uarg
[1] = (intptr_t) p
->pathname
; /* const char * */
2256 uarg
[2] = (intptr_t) p
->times
; /* const struct l_timespec * */
2257 iarg
[3] = p
->flags
; /* l_int */
2261 /* linux_signalfd */
2266 /* linux_timerfd_create */
2273 struct linux_eventfd_args
*p
= params
;
2274 iarg
[0] = p
->initval
; /* l_uint */
2278 /* linux_fallocate */
2280 struct linux_fallocate_args
*p
= params
;
2281 iarg
[0] = p
->fd
; /* l_int */
2282 iarg
[1] = p
->mode
; /* l_int */
2283 iarg
[2] = p
->offset
; /* l_loff_t */
2284 iarg
[3] = p
->len
; /* l_loff_t */
2288 /* linux_timerfd_settime */
2293 /* linux_timerfd_gettime */
2298 /* linux_signalfd4 */
2303 /* linux_eventfd2 */
2305 struct linux_eventfd2_args
*p
= params
;
2306 iarg
[0] = p
->initval
; /* l_uint */
2307 iarg
[1] = p
->flags
; /* l_int */
2311 /* linux_epoll_create1 */
2313 struct linux_epoll_create1_args
*p
= params
;
2314 iarg
[0] = p
->flags
; /* l_int */
2320 struct linux_dup3_args
*p
= params
;
2321 iarg
[0] = p
->oldfd
; /* l_int */
2322 iarg
[1] = p
->newfd
; /* l_int */
2323 iarg
[2] = p
->flags
; /* l_int */
2329 struct linux_pipe2_args
*p
= params
;
2330 uarg
[0] = (intptr_t) p
->pipefds
; /* l_int * */
2331 iarg
[1] = p
->flags
; /* l_int */
2335 /* linux_inotify_init1 */
2350 /* linux_rt_tsigqueueinfo */
2355 /* linux_perf_event_open */
2360 /* linux_recvmmsg */
2362 struct linux_recvmmsg_args
*p
= params
;
2363 iarg
[0] = p
->s
; /* l_int */
2364 uarg
[1] = (intptr_t) p
->msg
; /* struct l_mmsghdr * */
2365 iarg
[2] = p
->vlen
; /* l_uint */
2366 iarg
[3] = p
->flags
; /* l_uint */
2367 uarg
[4] = (intptr_t) p
->timeout
; /* struct l_timespec * */
2371 /* linux_fanotify_init */
2376 /* linux_fanotify_mark */
2381 /* linux_prlimit64 */
2383 struct linux_prlimit64_args
*p
= params
;
2384 iarg
[0] = p
->pid
; /* l_pid_t */
2385 iarg
[1] = p
->resource
; /* l_uint */
2386 uarg
[2] = (intptr_t) p
->new; /* struct rlimit * */
2387 uarg
[3] = (intptr_t) p
->old
; /* struct rlimit * */
2391 /* linux_name_to_handle_at */
2396 /* linux_open_by_handle_at */
2401 /* linux_clock_adjtime */
2408 struct linux_syncfs_args
*p
= params
;
2409 iarg
[0] = p
->fd
; /* l_int */
2413 /* linux_sendmmsg */
2415 struct linux_sendmmsg_args
*p
= params
;
2416 iarg
[0] = p
->s
; /* l_int */
2417 uarg
[1] = (intptr_t) p
->msg
; /* struct l_mmsghdr * */
2418 iarg
[2] = p
->vlen
; /* l_uint */
2419 iarg
[3] = p
->flags
; /* l_uint */
2428 /* linux_process_vm_readv */
2433 /* linux_process_vm_writev */
2444 systrace_entry_setargdesc(int sysnum
, int ndx
, char *desc
, size_t descsz
)
2446 const char *p
= NULL
;
2448 #define nosys linux_nosys
2637 /* linux_lchown16 */
2660 p
= "struct linux_stat *";
2707 /* linux_oldumount */
2717 /* linux_setuid16 */
2727 /* linux_getuid16 */
2769 p
= "struct linux_stat *";
2785 p
= "struct l_utimbuf *";
2890 p
= "struct l_times_argv *";
2906 /* linux_setgid16 */
2916 /* linux_getgid16 */
2932 /* linux_geteuid16 */
2935 /* linux_getegid16 */
3006 /* linux_olduname */
3036 p
= "struct l_ustat *";
3064 /* linux_sigaction */
3071 p
= "l_osigaction_t *";
3074 p
= "l_osigaction_t *";
3080 /* linux_sgetmask */
3083 /* linux_ssetmask */
3093 /* linux_setreuid16 */
3106 /* linux_setregid16 */
3119 /* linux_sigsuspend */
3135 /* linux_sigpending */
3139 p
= "l_osigset_t *";
3145 /* linux_sethostname */
3158 /* linux_setrlimit */
3165 p
= "struct l_rlimit *";
3171 /* linux_old_getrlimit */
3178 p
= "struct l_rlimit *";
3191 p
= "struct rusage *";
3201 p
= "struct timeval *";
3204 p
= "struct timezone *";
3214 p
= "struct timeval *";
3217 p
= "struct timezone *";
3223 /* linux_getgroups16 */
3236 /* linux_setgroups16 */
3249 /* linux_old_select */
3253 p
= "struct l_old_select_argv *";
3279 p
= "struct l_stat *";
3285 /* linux_readlink */
3347 p
= "struct l_dirent *";
3360 p
= "struct l_mmap_argv *";
3379 /* linux_truncate */
3392 /* linux_ftruncate */
3434 /* linux_getpriority */
3470 p
= "struct l_statfs_buf *";
3483 p
= "struct l_statfs_buf *";
3505 /* linux_socketcall */
3534 /* linux_setitimer */
3541 p
= "struct l_itimerval *";
3544 p
= "struct l_itimerval *";
3550 /* linux_getitimer */
3557 p
= "struct l_itimerval *";
3570 p
= "struct l_newstat *";
3576 /* linux_newlstat */
3583 p
= "struct l_newstat *";
3589 /* linux_newfstat */
3596 p
= "struct l_newstat *";
3647 p
= "struct l_sysinfo *";
3688 /* linux_sigreturn */
3692 p
= "struct l_sigframe *";
3720 /* linux_setdomainname */
3733 /* linux_newuname */
3737 p
= "struct l_new_utsname *";
3743 /* linux_modify_ldt */
3759 /* linux_adjtimex */
3762 /* linux_mprotect */
3778 /* linux_sigprocmask */
3785 p
= "l_osigset_t *";
3788 p
= "l_osigset_t *";
3794 /* linux_create_module */
3797 /* linux_init_module */
3800 /* linux_delete_module */
3803 /* linux_get_kernel_syms */
3806 /* linux_quotactl */
3848 /* linux_personality */
3858 /* linux_setfsuid16 */
3868 /* linux_setfsgid16 */
3900 /* linux_getdents */
3932 p
= "struct l_timeval *";
3974 p
= "struct iovec *";
3990 p
= "struct iovec *";
4009 /* linux_fdatasync */
4023 p
= "struct l___sysctl_args *";
4068 /* linux_sched_setparam */
4075 p
= "struct sched_param *";
4081 /* linux_sched_getparam */
4088 p
= "struct sched_param *";
4094 /* linux_sched_setscheduler */
4104 p
= "struct sched_param *";
4110 /* linux_sched_getscheduler */
4123 /* linux_sched_get_priority_max */
4133 /* linux_sched_get_priority_min */
4143 /* linux_sched_rr_get_interval */
4150 p
= "struct l_timespec *";
4156 /* linux_nanosleep */
4160 p
= "const struct l_timespec *";
4163 p
= "struct l_timespec *";
4191 /* linux_setresuid16 */
4207 /* linux_getresuid16 */
4226 /* linux_query_module */
4233 p
= "struct pollfd *";
4245 /* linux_nfsservctl */
4248 /* linux_setresgid16 */
4264 /* linux_getresgid16 */
4302 /* linux_rt_sigreturn */
4306 p
= "struct l_ucontext *";
4312 /* linux_rt_sigaction */
4319 p
= "l_sigaction_t *";
4322 p
= "l_sigaction_t *";
4331 /* linux_rt_sigprocmask */
4350 /* linux_rt_sigpending */
4363 /* linux_rt_sigtimedwait */
4370 p
= "l_siginfo_t *";
4373 p
= "struct l_timeval *";
4382 /* linux_rt_sigqueueinfo */
4392 p
= "l_siginfo_t *";
4398 /* linux_rt_sigsuspend */
4482 p
= "struct l_user_cap_header *";
4485 p
= "struct l_user_cap_data *";
4495 p
= "struct l_user_cap_header *";
4498 p
= "struct l_user_cap_data *";
4504 /* linux_sigaltstack */
4517 /* linux_sendfile */
4523 /* linux_getrlimit */
4530 p
= "struct l_rlimit *";
4561 /* linux_truncate64 */
4574 /* linux_ftruncate64 */
4594 p
= "struct l_stat64 *";
4607 p
= "struct l_stat64 *";
4620 p
= "struct l_stat64 *";
4680 /* linux_getgroups */
4693 /* linux_setgroups */
4809 /* linux_setfsuid */
4819 /* linux_setfsgid */
4829 /* linux_pivot_root */
4874 /* linux_getdents64 */
4909 /* linux_setxattr */
4912 /* linux_lsetxattr */
4915 /* linux_fsetxattr */
4918 /* linux_getxattr */
4921 /* linux_lgetxattr */
4924 /* linux_fgetxattr */
4927 /* linux_listxattr */
4930 /* linux_llistxattr */
4933 /* linux_flistxattr */
4936 /* linux_removexattr */
4939 /* linux_lremovexattr */
4942 /* linux_fremovexattr */
4958 /* linux_sys_futex */
4971 p
= "struct l_timespec *";
4983 /* linux_sched_setaffinity */
4999 /* linux_sched_getaffinity */
5015 /* linux_set_thread_area */
5019 p
= "struct l_user_desc *";
5025 /* linux_get_thread_area */
5029 p
= "struct l_user_desc *";
5035 /* linux_fadvise64 */
5054 /* linux_exit_group */
5064 /* linux_lookup_dcookie */
5067 /* linux_epoll_create */
5077 /* linux_epoll_ctl */
5090 p
= "struct epoll_event *";
5096 /* linux_epoll_wait */
5103 p
= "struct epoll_event *";
5115 /* linux_remap_file_pages */
5118 /* linux_set_tid_address */
5128 /* linux_timer_create */
5135 p
= "struct sigevent *";
5144 /* linux_timer_settime */
5154 p
= "const struct itimerspec *";
5157 p
= "struct itimerspec *";
5163 /* linux_timer_gettime */
5170 p
= "struct itimerspec *";
5176 /* linux_timer_getoverrun */
5186 /* linux_timer_delete */
5196 /* linux_clock_settime */
5203 p
= "struct l_timespec *";
5209 /* linux_clock_gettime */
5216 p
= "struct l_timespec *";
5222 /* linux_clock_getres */
5229 p
= "struct l_timespec *";
5235 /* linux_clock_nanosleep */
5245 p
= "struct l_timespec *";
5248 p
= "struct l_timespec *";
5254 /* linux_statfs64 */
5264 p
= "struct l_statfs64_buf *";
5270 /* linux_fstatfs64 */
5280 p
= "struct l_statfs64_buf *";
5309 p
= "struct l_timeval *";
5315 /* linux_fadvise64_64 */
5337 /* linux_get_mempolicy */
5340 /* linux_set_mempolicy */
5356 p
= "struct mq_attr *";
5362 /* linux_mq_unlink */
5372 /* linux_mq_timedsend */
5388 p
= "const struct l_timespec *";
5394 /* linux_mq_timedreceive */
5410 p
= "const struct l_timespec *";
5416 /* linux_mq_notify */
5423 p
= "const struct l_timespec *";
5429 /* linux_mq_getsetattr */
5436 p
= "const struct mq_attr *";
5439 p
= "struct mq_attr *";
5445 /* linux_kexec_load */
5458 p
= "l_siginfo_t *";
5473 /* linux_request_key */
5479 /* linux_ioprio_set */
5482 /* linux_ioprio_get */
5485 /* linux_inotify_init */
5488 /* linux_inotify_add_watch */
5491 /* linux_inotify_rm_watch */
5494 /* linux_migrate_pages */
5551 /* linux_fchownat */
5573 /* linux_futimesat */
5583 p
= "struct l_timeval *";
5589 /* linux_fstatat64 */
5599 p
= "struct l_stat64 *";
5608 /* linux_unlinkat */
5624 /* linux_renameat */
5665 /* linux_symlinkat */
5681 /* linux_readlinkat */
5700 /* linux_fchmodat */
5716 /* linux_faccessat */
5732 /* linux_pselect6 */
5748 p
= "struct l_timespec *";
5751 p
= "l_uintptr_t *";
5761 p
= "struct pollfd *";
5767 p
= "struct l_timespec *";
5782 /* linux_set_robust_list */
5786 p
= "struct linux_robust_list_head *";
5795 /* linux_get_robust_list */
5802 p
= "struct linux_robust_list_head **";
5814 /* linux_sync_file_range */
5820 /* linux_vmsplice */
5823 /* linux_move_pages */
5829 /* linux_epoll_pwait */
5836 p
= "struct epoll_event *";
5851 /* linux_utimensat */
5861 p
= "const struct l_timespec *";
5870 /* linux_signalfd */
5873 /* linux_timerfd_create */
5886 /* linux_fallocate */
5905 /* linux_timerfd_settime */
5908 /* linux_timerfd_gettime */
5911 /* linux_signalfd4 */
5914 /* linux_eventfd2 */
5927 /* linux_epoll_create1 */
5966 /* linux_inotify_init1 */
5975 /* linux_rt_tsigqueueinfo */
5978 /* linux_perf_event_open */
5981 /* linux_recvmmsg */
5988 p
= "struct l_mmsghdr *";
5997 p
= "struct l_timespec *";
6003 /* linux_fanotify_init */
6006 /* linux_fanotify_mark */
6009 /* linux_prlimit64 */
6019 p
= "struct rlimit *";
6022 p
= "struct rlimit *";
6028 /* linux_name_to_handle_at */
6031 /* linux_open_by_handle_at */
6034 /* linux_clock_adjtime */
6047 /* linux_sendmmsg */
6054 p
= "struct l_mmsghdr *";
6069 /* linux_process_vm_readv */
6072 /* linux_process_vm_writev */
6079 strlcpy(desc
, p
, descsz
);
6082 systrace_return_setargdesc(int sysnum
, int ndx
, char *desc
, size_t descsz
)
6084 const char *p
= NULL
;
6086 #define nosys linux_nosys
6089 if (ndx
== 0 || ndx
== 1)
6096 if (ndx
== 0 || ndx
== 1)
6101 if (ndx
== 0 || ndx
== 1)
6106 if (ndx
== 0 || ndx
== 1)
6111 if (ndx
== 0 || ndx
== 1)
6116 if (ndx
== 0 || ndx
== 1)
6121 if (ndx
== 0 || ndx
== 1)
6126 if (ndx
== 0 || ndx
== 1)
6131 if (ndx
== 0 || ndx
== 1)
6136 if (ndx
== 0 || ndx
== 1)
6141 if (ndx
== 0 || ndx
== 1)
6146 if (ndx
== 0 || ndx
== 1)
6151 if (ndx
== 0 || ndx
== 1)
6156 if (ndx
== 0 || ndx
== 1)
6159 /* linux_lchown16 */
6161 if (ndx
== 0 || ndx
== 1)
6166 if (ndx
== 0 || ndx
== 1)
6171 if (ndx
== 0 || ndx
== 1)
6178 if (ndx
== 0 || ndx
== 1)
6181 /* linux_oldumount */
6183 if (ndx
== 0 || ndx
== 1)
6186 /* linux_setuid16 */
6188 if (ndx
== 0 || ndx
== 1)
6191 /* linux_getuid16 */
6197 if (ndx
== 0 || ndx
== 1)
6202 if (ndx
== 0 || ndx
== 1)
6207 if (ndx
== 0 || ndx
== 1)
6214 if (ndx
== 0 || ndx
== 1)
6219 if (ndx
== 0 || ndx
== 1)
6224 if (ndx
== 0 || ndx
== 1)
6231 if (ndx
== 0 || ndx
== 1)
6236 if (ndx
== 0 || ndx
== 1)
6241 if (ndx
== 0 || ndx
== 1)
6246 if (ndx
== 0 || ndx
== 1)
6251 if (ndx
== 0 || ndx
== 1)
6256 if (ndx
== 0 || ndx
== 1)
6261 if (ndx
== 0 || ndx
== 1)
6266 if (ndx
== 0 || ndx
== 1)
6269 /* linux_setgid16 */
6271 if (ndx
== 0 || ndx
== 1)
6274 /* linux_getgid16 */
6278 if (ndx
== 0 || ndx
== 1)
6281 /* linux_geteuid16 */
6283 /* linux_getegid16 */
6287 if (ndx
== 0 || ndx
== 1)
6292 if (ndx
== 0 || ndx
== 1)
6297 if (ndx
== 0 || ndx
== 1)
6302 if (ndx
== 0 || ndx
== 1)
6307 if (ndx
== 0 || ndx
== 1)
6310 /* linux_olduname */
6314 if (ndx
== 0 || ndx
== 1)
6319 if (ndx
== 0 || ndx
== 1)
6324 if (ndx
== 0 || ndx
== 1)
6329 if (ndx
== 0 || ndx
== 1)
6338 /* linux_sigaction */
6340 if (ndx
== 0 || ndx
== 1)
6343 /* linux_sgetmask */
6345 /* linux_ssetmask */
6347 if (ndx
== 0 || ndx
== 1)
6350 /* linux_setreuid16 */
6352 if (ndx
== 0 || ndx
== 1)
6355 /* linux_setregid16 */
6357 if (ndx
== 0 || ndx
== 1)
6360 /* linux_sigsuspend */
6362 if (ndx
== 0 || ndx
== 1)
6365 /* linux_sigpending */
6367 if (ndx
== 0 || ndx
== 1)
6370 /* linux_sethostname */
6372 if (ndx
== 0 || ndx
== 1)
6375 /* linux_setrlimit */
6377 if (ndx
== 0 || ndx
== 1)
6380 /* linux_old_getrlimit */
6382 if (ndx
== 0 || ndx
== 1)
6387 if (ndx
== 0 || ndx
== 1)
6392 if (ndx
== 0 || ndx
== 1)
6397 if (ndx
== 0 || ndx
== 1)
6400 /* linux_getgroups16 */
6402 if (ndx
== 0 || ndx
== 1)
6405 /* linux_setgroups16 */
6407 if (ndx
== 0 || ndx
== 1)
6410 /* linux_old_select */
6412 if (ndx
== 0 || ndx
== 1)
6417 if (ndx
== 0 || ndx
== 1)
6422 if (ndx
== 0 || ndx
== 1)
6425 /* linux_readlink */
6427 if (ndx
== 0 || ndx
== 1)
6432 if (ndx
== 0 || ndx
== 1)
6437 if (ndx
== 0 || ndx
== 1)
6442 if (ndx
== 0 || ndx
== 1)
6447 if (ndx
== 0 || ndx
== 1)
6452 if (ndx
== 0 || ndx
== 1)
6457 if (ndx
== 0 || ndx
== 1)
6460 /* linux_truncate */
6462 if (ndx
== 0 || ndx
== 1)
6465 /* linux_ftruncate */
6467 if (ndx
== 0 || ndx
== 1)
6472 if (ndx
== 0 || ndx
== 1)
6477 if (ndx
== 0 || ndx
== 1)
6480 /* linux_getpriority */
6482 if (ndx
== 0 || ndx
== 1)
6487 if (ndx
== 0 || ndx
== 1)
6492 if (ndx
== 0 || ndx
== 1)
6497 if (ndx
== 0 || ndx
== 1)
6502 if (ndx
== 0 || ndx
== 1)
6505 /* linux_socketcall */
6507 if (ndx
== 0 || ndx
== 1)
6512 if (ndx
== 0 || ndx
== 1)
6515 /* linux_setitimer */
6517 if (ndx
== 0 || ndx
== 1)
6520 /* linux_getitimer */
6522 if (ndx
== 0 || ndx
== 1)
6527 if (ndx
== 0 || ndx
== 1)
6530 /* linux_newlstat */
6532 if (ndx
== 0 || ndx
== 1)
6535 /* linux_newfstat */
6537 if (ndx
== 0 || ndx
== 1)
6544 if (ndx
== 0 || ndx
== 1)
6553 if (ndx
== 0 || ndx
== 1)
6560 if (ndx
== 0 || ndx
== 1)
6565 if (ndx
== 0 || ndx
== 1)
6570 if (ndx
== 0 || ndx
== 1)
6573 /* linux_sigreturn */
6575 if (ndx
== 0 || ndx
== 1)
6580 if (ndx
== 0 || ndx
== 1)
6583 /* linux_setdomainname */
6585 if (ndx
== 0 || ndx
== 1)
6588 /* linux_newuname */
6590 if (ndx
== 0 || ndx
== 1)
6593 /* linux_modify_ldt */
6595 if (ndx
== 0 || ndx
== 1)
6598 /* linux_adjtimex */
6600 /* linux_mprotect */
6602 if (ndx
== 0 || ndx
== 1)
6605 /* linux_sigprocmask */
6607 if (ndx
== 0 || ndx
== 1)
6610 /* linux_create_module */
6612 /* linux_init_module */
6614 /* linux_delete_module */
6616 /* linux_get_kernel_syms */
6618 /* linux_quotactl */
6622 if (ndx
== 0 || ndx
== 1)
6627 if (ndx
== 0 || ndx
== 1)
6634 if (ndx
== 0 || ndx
== 1)
6637 /* linux_personality */
6639 if (ndx
== 0 || ndx
== 1)
6642 /* linux_setfsuid16 */
6644 if (ndx
== 0 || ndx
== 1)
6647 /* linux_setfsgid16 */
6649 if (ndx
== 0 || ndx
== 1)
6654 if (ndx
== 0 || ndx
== 1)
6657 /* linux_getdents */
6659 if (ndx
== 0 || ndx
== 1)
6664 if (ndx
== 0 || ndx
== 1)
6669 if (ndx
== 0 || ndx
== 1)
6674 if (ndx
== 0 || ndx
== 1)
6679 if (ndx
== 0 || ndx
== 1)
6684 if (ndx
== 0 || ndx
== 1)
6689 if (ndx
== 0 || ndx
== 1)
6692 /* linux_fdatasync */
6694 if (ndx
== 0 || ndx
== 1)
6699 if (ndx
== 0 || ndx
== 1)
6704 if (ndx
== 0 || ndx
== 1)
6709 if (ndx
== 0 || ndx
== 1)
6714 if (ndx
== 0 || ndx
== 1)
6719 /* linux_sched_setparam */
6721 if (ndx
== 0 || ndx
== 1)
6724 /* linux_sched_getparam */
6726 if (ndx
== 0 || ndx
== 1)
6729 /* linux_sched_setscheduler */
6731 if (ndx
== 0 || ndx
== 1)
6734 /* linux_sched_getscheduler */
6736 if (ndx
== 0 || ndx
== 1)
6741 /* linux_sched_get_priority_max */
6743 if (ndx
== 0 || ndx
== 1)
6746 /* linux_sched_get_priority_min */
6748 if (ndx
== 0 || ndx
== 1)
6751 /* linux_sched_rr_get_interval */
6753 if (ndx
== 0 || ndx
== 1)
6756 /* linux_nanosleep */
6758 if (ndx
== 0 || ndx
== 1)
6763 if (ndx
== 0 || ndx
== 1)
6766 /* linux_setresuid16 */
6768 if (ndx
== 0 || ndx
== 1)
6771 /* linux_getresuid16 */
6773 if (ndx
== 0 || ndx
== 1)
6778 /* linux_query_module */
6782 if (ndx
== 0 || ndx
== 1)
6785 /* linux_nfsservctl */
6787 /* linux_setresgid16 */
6789 if (ndx
== 0 || ndx
== 1)
6792 /* linux_getresgid16 */
6794 if (ndx
== 0 || ndx
== 1)
6799 if (ndx
== 0 || ndx
== 1)
6802 /* linux_rt_sigreturn */
6804 if (ndx
== 0 || ndx
== 1)
6807 /* linux_rt_sigaction */
6809 if (ndx
== 0 || ndx
== 1)
6812 /* linux_rt_sigprocmask */
6814 if (ndx
== 0 || ndx
== 1)
6817 /* linux_rt_sigpending */
6819 if (ndx
== 0 || ndx
== 1)
6822 /* linux_rt_sigtimedwait */
6824 if (ndx
== 0 || ndx
== 1)
6827 /* linux_rt_sigqueueinfo */
6829 if (ndx
== 0 || ndx
== 1)
6832 /* linux_rt_sigsuspend */
6834 if (ndx
== 0 || ndx
== 1)
6839 if (ndx
== 0 || ndx
== 1)
6844 if (ndx
== 0 || ndx
== 1)
6849 if (ndx
== 0 || ndx
== 1)
6854 if (ndx
== 0 || ndx
== 1)
6859 if (ndx
== 0 || ndx
== 1)
6864 if (ndx
== 0 || ndx
== 1)
6867 /* linux_sigaltstack */
6869 if (ndx
== 0 || ndx
== 1)
6872 /* linux_sendfile */
6876 /* linux_getrlimit */
6878 if (ndx
== 0 || ndx
== 1)
6883 if (ndx
== 0 || ndx
== 1)
6886 /* linux_truncate64 */
6888 if (ndx
== 0 || ndx
== 1)
6891 /* linux_ftruncate64 */
6893 if (ndx
== 0 || ndx
== 1)
6898 if (ndx
== 0 || ndx
== 1)
6903 if (ndx
== 0 || ndx
== 1)
6908 if (ndx
== 0 || ndx
== 1)
6913 if (ndx
== 0 || ndx
== 1)
6926 if (ndx
== 0 || ndx
== 1)
6931 if (ndx
== 0 || ndx
== 1)
6934 /* linux_getgroups */
6936 if (ndx
== 0 || ndx
== 1)
6939 /* linux_setgroups */
6941 if (ndx
== 0 || ndx
== 1)
6948 if (ndx
== 0 || ndx
== 1)
6953 if (ndx
== 0 || ndx
== 1)
6958 if (ndx
== 0 || ndx
== 1)
6963 if (ndx
== 0 || ndx
== 1)
6968 if (ndx
== 0 || ndx
== 1)
6973 if (ndx
== 0 || ndx
== 1)
6978 if (ndx
== 0 || ndx
== 1)
6981 /* linux_setfsuid */
6983 if (ndx
== 0 || ndx
== 1)
6986 /* linux_setfsgid */
6988 if (ndx
== 0 || ndx
== 1)
6991 /* linux_pivot_root */
6993 if (ndx
== 0 || ndx
== 1)
6998 if (ndx
== 0 || ndx
== 1)
7003 if (ndx
== 0 || ndx
== 1)
7006 /* linux_getdents64 */
7008 if (ndx
== 0 || ndx
== 1)
7013 if (ndx
== 0 || ndx
== 1)
7018 /* linux_setxattr */
7020 /* linux_lsetxattr */
7022 /* linux_fsetxattr */
7024 /* linux_getxattr */
7026 /* linux_lgetxattr */
7028 /* linux_fgetxattr */
7030 /* linux_listxattr */
7032 /* linux_llistxattr */
7034 /* linux_flistxattr */
7036 /* linux_removexattr */
7038 /* linux_lremovexattr */
7040 /* linux_fremovexattr */
7044 if (ndx
== 0 || ndx
== 1)
7047 /* linux_sys_futex */
7049 if (ndx
== 0 || ndx
== 1)
7052 /* linux_sched_setaffinity */
7054 if (ndx
== 0 || ndx
== 1)
7057 /* linux_sched_getaffinity */
7059 if (ndx
== 0 || ndx
== 1)
7062 /* linux_set_thread_area */
7064 if (ndx
== 0 || ndx
== 1)
7067 /* linux_get_thread_area */
7069 if (ndx
== 0 || ndx
== 1)
7072 /* linux_fadvise64 */
7074 if (ndx
== 0 || ndx
== 1)
7077 /* linux_exit_group */
7079 if (ndx
== 0 || ndx
== 1)
7082 /* linux_lookup_dcookie */
7084 /* linux_epoll_create */
7086 if (ndx
== 0 || ndx
== 1)
7089 /* linux_epoll_ctl */
7091 if (ndx
== 0 || ndx
== 1)
7094 /* linux_epoll_wait */
7096 if (ndx
== 0 || ndx
== 1)
7099 /* linux_remap_file_pages */
7101 /* linux_set_tid_address */
7103 if (ndx
== 0 || ndx
== 1)
7106 /* linux_timer_create */
7108 if (ndx
== 0 || ndx
== 1)
7111 /* linux_timer_settime */
7113 if (ndx
== 0 || ndx
== 1)
7116 /* linux_timer_gettime */
7118 if (ndx
== 0 || ndx
== 1)
7121 /* linux_timer_getoverrun */
7123 if (ndx
== 0 || ndx
== 1)
7126 /* linux_timer_delete */
7128 if (ndx
== 0 || ndx
== 1)
7131 /* linux_clock_settime */
7133 if (ndx
== 0 || ndx
== 1)
7136 /* linux_clock_gettime */
7138 if (ndx
== 0 || ndx
== 1)
7141 /* linux_clock_getres */
7143 if (ndx
== 0 || ndx
== 1)
7146 /* linux_clock_nanosleep */
7148 if (ndx
== 0 || ndx
== 1)
7151 /* linux_statfs64 */
7153 if (ndx
== 0 || ndx
== 1)
7156 /* linux_fstatfs64 */
7158 if (ndx
== 0 || ndx
== 1)
7163 if (ndx
== 0 || ndx
== 1)
7168 if (ndx
== 0 || ndx
== 1)
7171 /* linux_fadvise64_64 */
7173 if (ndx
== 0 || ndx
== 1)
7178 /* linux_get_mempolicy */
7180 /* linux_set_mempolicy */
7184 if (ndx
== 0 || ndx
== 1)
7187 /* linux_mq_unlink */
7189 if (ndx
== 0 || ndx
== 1)
7192 /* linux_mq_timedsend */
7194 if (ndx
== 0 || ndx
== 1)
7197 /* linux_mq_timedreceive */
7199 if (ndx
== 0 || ndx
== 1)
7202 /* linux_mq_notify */
7204 if (ndx
== 0 || ndx
== 1)
7207 /* linux_mq_getsetattr */
7209 if (ndx
== 0 || ndx
== 1)
7212 /* linux_kexec_load */
7216 if (ndx
== 0 || ndx
== 1)
7221 /* linux_request_key */
7225 /* linux_ioprio_set */
7227 /* linux_ioprio_get */
7229 /* linux_inotify_init */
7231 /* linux_inotify_add_watch */
7233 /* linux_inotify_rm_watch */
7235 /* linux_migrate_pages */
7239 if (ndx
== 0 || ndx
== 1)
7244 if (ndx
== 0 || ndx
== 1)
7249 if (ndx
== 0 || ndx
== 1)
7252 /* linux_fchownat */
7254 if (ndx
== 0 || ndx
== 1)
7257 /* linux_futimesat */
7259 if (ndx
== 0 || ndx
== 1)
7262 /* linux_fstatat64 */
7264 if (ndx
== 0 || ndx
== 1)
7267 /* linux_unlinkat */
7269 if (ndx
== 0 || ndx
== 1)
7272 /* linux_renameat */
7274 if (ndx
== 0 || ndx
== 1)
7279 if (ndx
== 0 || ndx
== 1)
7282 /* linux_symlinkat */
7284 if (ndx
== 0 || ndx
== 1)
7287 /* linux_readlinkat */
7289 if (ndx
== 0 || ndx
== 1)
7292 /* linux_fchmodat */
7294 if (ndx
== 0 || ndx
== 1)
7297 /* linux_faccessat */
7299 if (ndx
== 0 || ndx
== 1)
7302 /* linux_pselect6 */
7304 if (ndx
== 0 || ndx
== 1)
7309 if (ndx
== 0 || ndx
== 1)
7314 /* linux_set_robust_list */
7316 if (ndx
== 0 || ndx
== 1)
7319 /* linux_get_robust_list */
7321 if (ndx
== 0 || ndx
== 1)
7326 /* linux_sync_file_range */
7330 /* linux_vmsplice */
7332 /* linux_move_pages */
7336 /* linux_epoll_pwait */
7338 if (ndx
== 0 || ndx
== 1)
7341 /* linux_utimensat */
7343 if (ndx
== 0 || ndx
== 1)
7346 /* linux_signalfd */
7348 /* linux_timerfd_create */
7352 if (ndx
== 0 || ndx
== 1)
7355 /* linux_fallocate */
7357 if (ndx
== 0 || ndx
== 1)
7360 /* linux_timerfd_settime */
7362 /* linux_timerfd_gettime */
7364 /* linux_signalfd4 */
7366 /* linux_eventfd2 */
7368 if (ndx
== 0 || ndx
== 1)
7371 /* linux_epoll_create1 */
7373 if (ndx
== 0 || ndx
== 1)
7378 if (ndx
== 0 || ndx
== 1)
7383 if (ndx
== 0 || ndx
== 1)
7386 /* linux_inotify_init1 */
7392 /* linux_rt_tsigqueueinfo */
7394 /* linux_perf_event_open */
7396 /* linux_recvmmsg */
7398 if (ndx
== 0 || ndx
== 1)
7401 /* linux_fanotify_init */
7403 /* linux_fanotify_mark */
7405 /* linux_prlimit64 */
7407 if (ndx
== 0 || ndx
== 1)
7410 /* linux_name_to_handle_at */
7412 /* linux_open_by_handle_at */
7414 /* linux_clock_adjtime */
7418 if (ndx
== 0 || ndx
== 1)
7421 /* linux_sendmmsg */
7423 if (ndx
== 0 || ndx
== 1)
7428 /* linux_process_vm_readv */
7430 /* linux_process_vm_writev */
7436 strlcpy(desc
, p
, descsz
);