Home | History | Annotate | Line # | Download | only in aarch64
      1 /* $NetBSD: linux32_syscallargs.h,v 1.3 2021/12/02 04:39:45 ryo Exp $ */
      2 
      3 /*
      4  * System call argument lists.
      5  *
      6  * DO NOT EDIT-- this file is automatically generated.
      7  * created from	NetBSD: syscalls.master,v 1.2 2021/11/27 21:15:07 ryo Exp
      8  */
      9 
     10 #ifndef _LINUX32_SYS_SYSCALLARGS_H_
     11 #define	_LINUX32_SYS_SYSCALLARGS_H_
     12 
     13 /* Forward declaration */
     14 struct lwp;
     15 
     16 #define	LINUX32_SYS_MAXSYSARGS	8
     17 
     18 #undef	syscallarg
     19 #define	syscallarg(x)							\
     20 	union {								\
     21 		register32_t pad;						\
     22 		struct { x datum; } le;					\
     23 		struct { /* LINTED zero array dimension */		\
     24 			int8_t pad[  /* CONSTCOND */			\
     25 				(sizeof (register32_t) < sizeof (x))	\
     26 				? 0					\
     27 				: sizeof (register32_t) - sizeof (x)];	\
     28 			x datum;					\
     29 		} be;							\
     30 	}
     31 
     32 #undef check_syscall_args
     33 #define check_syscall_args(call) /*LINTED*/ \
     34 	typedef char call##_check_args[sizeof (struct call##_args) \
     35 		<= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
     36 
     37 struct linux32_sys_exit_args {
     38 	syscallarg(int) rval;
     39 };
     40 check_syscall_args(linux32_sys_exit)
     41 
     42 struct netbsd32_read_args;
     43 
     44 struct netbsd32_write_args;
     45 
     46 struct linux32_sys_open_args {
     47 	syscallarg(netbsd32_charp) path;
     48 	syscallarg(int) flags;
     49 	syscallarg(linux_umode_t) mode;
     50 };
     51 check_syscall_args(linux32_sys_open)
     52 
     53 struct netbsd32_close_args;
     54 
     55 struct linux32_sys_waitpid_args {
     56 	syscallarg(int) pid;
     57 	syscallarg(netbsd32_intp) status;
     58 	syscallarg(int) options;
     59 };
     60 check_syscall_args(linux32_sys_waitpid)
     61 
     62 struct linux32_sys_creat_args {
     63 	syscallarg(netbsd32_charp) path;
     64 	syscallarg(linux_umode_t) mode;
     65 };
     66 check_syscall_args(linux32_sys_creat)
     67 
     68 struct netbsd32_link_args;
     69 
     70 struct linux32_sys_unlink_args {
     71 	syscallarg(netbsd32_charp) path;
     72 };
     73 check_syscall_args(linux32_sys_unlink)
     74 
     75 struct netbsd32_execve_args;
     76 
     77 struct netbsd32_chdir_args;
     78 
     79 struct linux32_sys_time_args {
     80 	syscallarg(linux32_timep_t) t;
     81 };
     82 check_syscall_args(linux32_sys_time)
     83 
     84 struct linux32_sys_mknod_args {
     85 	syscallarg(netbsd32_charp) path;
     86 	syscallarg(linux_umode_t) mode;
     87 	syscallarg(unsigned) dev;
     88 };
     89 check_syscall_args(linux32_sys_mknod)
     90 
     91 struct netbsd32_chmod_args;
     92 
     93 struct linux32_sys_lchown16_args {
     94 	syscallarg(netbsd32_charp) path;
     95 	syscallarg(linux32_uid16_t) uid;
     96 	syscallarg(linux32_gid16_t) gid;
     97 };
     98 check_syscall_args(linux32_sys_lchown16)
     99 
    100 struct compat_43_netbsd32_olseek_args;
    101 
    102 struct netbsd32_setuid_args;
    103 
    104 struct linux32_sys_stime_args {
    105 	syscallarg(linux32_timep_t) t;
    106 };
    107 check_syscall_args(linux32_sys_stime)
    108 
    109 struct linux32_sys_ptrace_args {
    110 	syscallarg(int) request;
    111 	syscallarg(int) pid;
    112 	syscallarg(int) addr;
    113 	syscallarg(int) data;
    114 };
    115 check_syscall_args(linux32_sys_ptrace)
    116 
    117 struct linux32_sys_alarm_args {
    118 	syscallarg(unsigned int) secs;
    119 };
    120 check_syscall_args(linux32_sys_alarm)
    121 
    122 struct linux32_sys_utime_args {
    123 	syscallarg(netbsd32_charp) path;
    124 	syscallarg(linux32_utimbufp_t) times;
    125 };
    126 check_syscall_args(linux32_sys_utime)
    127 
    128 struct netbsd32_access_args;
    129 
    130 struct linux32_sys_nice_args {
    131 	syscallarg(int) incr;
    132 };
    133 check_syscall_args(linux32_sys_nice)
    134 
    135 struct linux32_sys_kill_args {
    136 	syscallarg(int) pid;
    137 	syscallarg(int) signum;
    138 };
    139 check_syscall_args(linux32_sys_kill)
    140 
    141 struct netbsd32___posix_rename_args;
    142 
    143 struct netbsd32_mkdir_args;
    144 
    145 struct netbsd32_rmdir_args;
    146 
    147 struct netbsd32_dup_args;
    148 
    149 struct linux32_sys_pipe_args {
    150 	syscallarg(netbsd32_intp) fd;
    151 };
    152 check_syscall_args(linux32_sys_pipe)
    153 
    154 struct linux32_sys_times_args {
    155 	syscallarg(linux32_tmsp_t) tms;
    156 };
    157 check_syscall_args(linux32_sys_times)
    158 
    159 struct linux32_sys_brk_args {
    160 	syscallarg(netbsd32_charp) nsize;
    161 };
    162 check_syscall_args(linux32_sys_brk)
    163 
    164 struct netbsd32_setgid_args;
    165 
    166 struct linux32_sys_signal_args {
    167 	syscallarg(int) signum;
    168 	syscallarg(linux32_handlerp_t) handler;
    169 };
    170 check_syscall_args(linux32_sys_signal)
    171 
    172 struct netbsd32_acct_args;
    173 
    174 struct linux32_sys_ioctl_args {
    175 	syscallarg(int) fd;
    176 	syscallarg(netbsd32_u_long) com;
    177 	syscallarg(netbsd32_charp) data;
    178 };
    179 check_syscall_args(linux32_sys_ioctl)
    180 
    181 struct linux32_sys_fcntl_args {
    182 	syscallarg(int) fd;
    183 	syscallarg(int) cmd;
    184 	syscallarg(netbsd32_voidp) arg;
    185 };
    186 check_syscall_args(linux32_sys_fcntl)
    187 
    188 struct netbsd32_setpgid_args;
    189 
    190 struct linux32_sys_oldolduname_args {
    191 	syscallarg(linux32_oldold_utsnamep_t) up;
    192 };
    193 check_syscall_args(linux32_sys_oldolduname)
    194 
    195 struct netbsd32_umask_args;
    196 
    197 struct netbsd32_chroot_args;
    198 
    199 struct netbsd32_dup2_args;
    200 
    201 struct linux32_sys_sigsetmask_args {
    202 	syscallarg(linux32_old_sigset_t) mask;
    203 };
    204 check_syscall_args(linux32_sys_sigsetmask)
    205 
    206 struct linux32_sys_setreuid16_args {
    207 	syscallarg(linux32_uid16_t) ruid;
    208 	syscallarg(linux32_uid16_t) euid;
    209 };
    210 check_syscall_args(linux32_sys_setreuid16)
    211 
    212 struct linux32_sys_setregid16_args {
    213 	syscallarg(linux32_gid16_t) rgid;
    214 	syscallarg(linux32_gid16_t) egid;
    215 };
    216 check_syscall_args(linux32_sys_setregid16)
    217 
    218 struct compat_43_netbsd32_osethostname_args;
    219 
    220 struct linux32_sys_setrlimit_args {
    221 	syscallarg(u_int) which;
    222 	syscallarg(netbsd32_orlimitp_t) rlp;
    223 };
    224 check_syscall_args(linux32_sys_setrlimit)
    225 
    226 struct linux32_sys_getrlimit_args {
    227 	syscallarg(u_int) which;
    228 	syscallarg(netbsd32_orlimitp_t) rlp;
    229 };
    230 check_syscall_args(linux32_sys_getrlimit)
    231 
    232 struct compat_50_netbsd32_getrusage_args;
    233 
    234 struct linux32_sys_gettimeofday_args {
    235 	syscallarg(netbsd32_timeval50p_t) tp;
    236 	syscallarg(netbsd32_timezonep_t) tzp;
    237 };
    238 check_syscall_args(linux32_sys_gettimeofday)
    239 
    240 struct linux32_sys_settimeofday_args {
    241 	syscallarg(netbsd32_timeval50p_t) tp;
    242 	syscallarg(netbsd32_timezonep_t) tzp;
    243 };
    244 check_syscall_args(linux32_sys_settimeofday)
    245 
    246 struct linux32_sys_getgroups16_args {
    247 	syscallarg(int) gidsetsize;
    248 	syscallarg(linux32_gid16p_t) gidset;
    249 };
    250 check_syscall_args(linux32_sys_getgroups16)
    251 
    252 struct linux32_sys_setgroups16_args {
    253 	syscallarg(int) gidsetsize;
    254 	syscallarg(linux32_gid16p_t) gidset;
    255 };
    256 check_syscall_args(linux32_sys_setgroups16)
    257 
    258 struct linux32_sys_oldselect_args {
    259 	syscallarg(linux32_oldselectp_t) lsp;
    260 };
    261 check_syscall_args(linux32_sys_oldselect)
    262 
    263 struct netbsd32_symlink_args;
    264 
    265 struct compat_43_netbsd32_lstat43_args;
    266 
    267 struct netbsd32_readlink_args;
    268 
    269 struct linux32_sys_swapon_args {
    270 	syscallarg(netbsd32_charp) name;
    271 };
    272 check_syscall_args(linux32_sys_swapon)
    273 
    274 struct linux32_sys_reboot_args {
    275 	syscallarg(int) magic1;
    276 	syscallarg(int) magic2;
    277 	syscallarg(int) cmd;
    278 	syscallarg(netbsd32_voidp) arg;
    279 };
    280 check_syscall_args(linux32_sys_reboot)
    281 
    282 struct linux32_sys_readdir_args {
    283 	syscallarg(int) fd;
    284 	syscallarg(netbsd32_voidp) dent;
    285 	syscallarg(unsigned int) count;
    286 };
    287 check_syscall_args(linux32_sys_readdir)
    288 
    289 struct linux32_sys_old_mmap_args {
    290 	syscallarg(linux32_oldmmapp) lmp;
    291 };
    292 check_syscall_args(linux32_sys_old_mmap)
    293 
    294 struct netbsd32_munmap_args;
    295 
    296 struct compat_43_netbsd32_otruncate_args;
    297 
    298 struct compat_43_netbsd32_oftruncate_args;
    299 
    300 struct netbsd32_fchmod_args;
    301 
    302 struct linux32_sys_fchown16_args {
    303 	syscallarg(int) fd;
    304 	syscallarg(linux32_uid16_t) uid;
    305 	syscallarg(linux32_gid16_t) gid;
    306 };
    307 check_syscall_args(linux32_sys_fchown16)
    308 
    309 struct linux32_sys_getpriority_args {
    310 	syscallarg(int) which;
    311 	syscallarg(int) who;
    312 };
    313 check_syscall_args(linux32_sys_getpriority)
    314 
    315 struct netbsd32_setpriority_args;
    316 
    317 struct netbsd32_profil_args;
    318 
    319 struct linux32_sys_statfs_args {
    320 	syscallarg(netbsd32_charp) path;
    321 	syscallarg(linux32_statfsp) sp;
    322 };
    323 check_syscall_args(linux32_sys_statfs)
    324 
    325 struct linux32_sys_fstatfs_args {
    326 	syscallarg(int) fd;
    327 	syscallarg(linux32_statfsp) sp;
    328 };
    329 check_syscall_args(linux32_sys_fstatfs)
    330 
    331 struct linux32_sys_socketcall_args {
    332 	syscallarg(int) what;
    333 	syscallarg(netbsd32_voidp) args;
    334 };
    335 check_syscall_args(linux32_sys_socketcall)
    336 
    337 struct compat_50_netbsd32_setitimer_args;
    338 
    339 struct compat_50_netbsd32_getitimer_args;
    340 
    341 struct linux32_sys_stat_args {
    342 	syscallarg(netbsd32_charp) path;
    343 	syscallarg(linux32_statp) sp;
    344 };
    345 check_syscall_args(linux32_sys_stat)
    346 
    347 struct linux32_sys_lstat_args {
    348 	syscallarg(netbsd32_charp) path;
    349 	syscallarg(linux32_statp) sp;
    350 };
    351 check_syscall_args(linux32_sys_lstat)
    352 
    353 struct linux32_sys_fstat_args {
    354 	syscallarg(int) fd;
    355 	syscallarg(linux32_statp) sp;
    356 };
    357 check_syscall_args(linux32_sys_fstat)
    358 
    359 struct linux32_sys_olduname_args {
    360 	syscallarg(linux32_oldutsnamep_t) up;
    361 };
    362 check_syscall_args(linux32_sys_olduname)
    363 
    364 struct linux32_sys_wait4_args {
    365 	syscallarg(int) pid;
    366 	syscallarg(netbsd32_intp) status;
    367 	syscallarg(int) options;
    368 	syscallarg(netbsd32_rusage50p_t) rusage;
    369 };
    370 check_syscall_args(linux32_sys_wait4)
    371 
    372 struct linux32_sys_swapoff_args {
    373 	syscallarg(netbsd32_charp) path;
    374 };
    375 check_syscall_args(linux32_sys_swapoff)
    376 
    377 struct linux32_sys_sysinfo_args {
    378 	syscallarg(linux32_sysinfop_t) arg;
    379 };
    380 check_syscall_args(linux32_sys_sysinfo)
    381 
    382 struct linux32_sys_ipc_args {
    383 	syscallarg(int) what;
    384 	syscallarg(int) a1;
    385 	syscallarg(int) a2;
    386 	syscallarg(int) a3;
    387 	syscallarg(netbsd32_voidp) ptr;
    388 };
    389 check_syscall_args(linux32_sys_ipc)
    390 
    391 struct netbsd32_fsync_args;
    392 
    393 struct linux32_sys_sigreturn_args {
    394 	syscallarg(linux32_sigcontextp_t) scp;
    395 };
    396 check_syscall_args(linux32_sys_sigreturn)
    397 
    398 struct linux32_sys_clone_args {
    399 	syscallarg(int) flags;
    400 	syscallarg(netbsd32_voidp) stack;
    401 	syscallarg(netbsd32_voidp) parent_tidptr;
    402 	syscallarg(netbsd32_voidp) tls;
    403 	syscallarg(netbsd32_voidp) child_tidptr;
    404 };
    405 check_syscall_args(linux32_sys_clone)
    406 
    407 struct linux32_sys_setdomainname_args {
    408 	syscallarg(netbsd32_charp) domainname;
    409 	syscallarg(int) len;
    410 };
    411 check_syscall_args(linux32_sys_setdomainname)
    412 
    413 struct linux32_sys_uname_args {
    414 	syscallarg(linux32_utsnamep) up;
    415 };
    416 check_syscall_args(linux32_sys_uname)
    417 
    418 struct linux32_sys_mprotect_args {
    419 	syscallarg(netbsd32_voidp) start;
    420 	syscallarg(netbsd32_size_t) len;
    421 	syscallarg(int) prot;
    422 };
    423 check_syscall_args(linux32_sys_mprotect)
    424 
    425 struct netbsd32_getpgid_args;
    426 
    427 struct netbsd32_fchdir_args;
    428 
    429 struct linux32_sys_personality_args {
    430 	syscallarg(netbsd32_u_long) per;
    431 };
    432 check_syscall_args(linux32_sys_personality)
    433 
    434 struct linux32_sys_setfsuid_args;
    435 
    436 struct linux32_sys_setfsgid_args;
    437 
    438 struct linux32_sys_llseek_args {
    439 	syscallarg(int) fd;
    440 	syscallarg(u_int32_t) ohigh;
    441 	syscallarg(u_int32_t) olow;
    442 	syscallarg(netbsd32_voidp) res;
    443 	syscallarg(int) whence;
    444 };
    445 check_syscall_args(linux32_sys_llseek)
    446 
    447 struct linux32_sys_getdents_args {
    448 	syscallarg(int) fd;
    449 	syscallarg(linux32_direntp_t) dent;
    450 	syscallarg(unsigned int) count;
    451 };
    452 check_syscall_args(linux32_sys_getdents)
    453 
    454 struct linux32_sys_select_args {
    455 	syscallarg(int) nfds;
    456 	syscallarg(netbsd32_fd_setp_t) readfds;
    457 	syscallarg(netbsd32_fd_setp_t) writefds;
    458 	syscallarg(netbsd32_fd_setp_t) exceptfds;
    459 	syscallarg(netbsd32_timeval50p_t) timeout;
    460 };
    461 check_syscall_args(linux32_sys_select)
    462 
    463 struct netbsd32_flock_args;
    464 
    465 struct netbsd32___msync13_args;
    466 
    467 struct netbsd32_readv_args;
    468 
    469 struct netbsd32_writev_args;
    470 
    471 struct netbsd32_getsid_args;
    472 
    473 struct linux32_sys_fdatasync_args {
    474 	syscallarg(int) fd;
    475 };
    476 check_syscall_args(linux32_sys_fdatasync)
    477 
    478 struct linux32_sys___sysctl_args {
    479 	syscallarg(linux32___sysctlp_t) lsp;
    480 };
    481 check_syscall_args(linux32_sys___sysctl)
    482 
    483 struct netbsd32_mlock_args;
    484 
    485 struct netbsd32_munlock_args;
    486 
    487 struct netbsd32_mlockall_args;
    488 
    489 struct linux32_sys_sched_setparam_args {
    490 	syscallarg(pid_t) pid;
    491 	syscallarg(const linux32_sched_paramp_t) sp;
    492 };
    493 check_syscall_args(linux32_sys_sched_setparam)
    494 
    495 struct linux32_sys_sched_getparam_args {
    496 	syscallarg(pid_t) pid;
    497 	syscallarg(linux32_sched_paramp_t) sp;
    498 };
    499 check_syscall_args(linux32_sys_sched_getparam)
    500 
    501 struct linux32_sys_sched_setscheduler_args {
    502 	syscallarg(pid_t) pid;
    503 	syscallarg(int) policy;
    504 	syscallarg(linux32_sched_paramp_t) sp;
    505 };
    506 check_syscall_args(linux32_sys_sched_setscheduler)
    507 
    508 struct linux32_sys_sched_getscheduler_args {
    509 	syscallarg(pid_t) pid;
    510 };
    511 check_syscall_args(linux32_sys_sched_getscheduler)
    512 
    513 struct linux32_sys_sched_get_priority_max_args {
    514 	syscallarg(int) policy;
    515 };
    516 check_syscall_args(linux32_sys_sched_get_priority_max)
    517 
    518 struct linux32_sys_sched_get_priority_min_args {
    519 	syscallarg(int) policy;
    520 };
    521 check_syscall_args(linux32_sys_sched_get_priority_min)
    522 
    523 struct linux32_sys_nanosleep_args {
    524 	syscallarg(linux32_timespecp_t) rqtp;
    525 	syscallarg(linux32_timespecp_t) rmtp;
    526 };
    527 check_syscall_args(linux32_sys_nanosleep)
    528 
    529 struct linux32_sys_mremap_args {
    530 	syscallarg(netbsd32_voidp) old_address;
    531 	syscallarg(netbsd32_size_t) old_size;
    532 	syscallarg(netbsd32_size_t) new_size;
    533 	syscallarg(netbsd32_u_long) flags;
    534 };
    535 check_syscall_args(linux32_sys_mremap)
    536 
    537 struct linux32_sys_setresuid16_args {
    538 	syscallarg(linux32_uid16_t) ruid;
    539 	syscallarg(linux32_uid16_t) euid;
    540 	syscallarg(linux32_uid16_t) suid;
    541 };
    542 check_syscall_args(linux32_sys_setresuid16)
    543 
    544 struct linux32_sys_getresuid16_args {
    545 	syscallarg(linux32_uid16p_t) ruid;
    546 	syscallarg(linux32_uid16p_t) euid;
    547 	syscallarg(linux32_uid16p_t) suid;
    548 };
    549 check_syscall_args(linux32_sys_getresuid16)
    550 
    551 struct netbsd32_poll_args;
    552 
    553 struct linux32_sys_setresgid16_args {
    554 	syscallarg(linux32_gid16_t) rgid;
    555 	syscallarg(linux32_gid16_t) egid;
    556 	syscallarg(linux32_gid16_t) sgid;
    557 };
    558 check_syscall_args(linux32_sys_setresgid16)
    559 
    560 struct linux32_sys_getresgid16_args {
    561 	syscallarg(linux32_gid16p_t) rgid;
    562 	syscallarg(linux32_gid16p_t) egid;
    563 	syscallarg(linux32_gid16p_t) sgid;
    564 };
    565 check_syscall_args(linux32_sys_getresgid16)
    566 
    567 struct linux32_sys_rt_sigreturn_args {
    568 	syscallarg(linux32_ucontextp_t) ucp;
    569 };
    570 check_syscall_args(linux32_sys_rt_sigreturn)
    571 
    572 struct linux32_sys_rt_sigaction_args {
    573 	syscallarg(int) signum;
    574 	syscallarg(linux32_sigactionp_t) nsa;
    575 	syscallarg(linux32_sigactionp_t) osa;
    576 	syscallarg(netbsd32_size_t) sigsetsize;
    577 };
    578 check_syscall_args(linux32_sys_rt_sigaction)
    579 
    580 struct linux32_sys_rt_sigprocmask_args {
    581 	syscallarg(int) how;
    582 	syscallarg(linux32_sigsetp_t) set;
    583 	syscallarg(linux32_sigsetp_t) oset;
    584 	syscallarg(netbsd32_size_t) sigsetsize;
    585 };
    586 check_syscall_args(linux32_sys_rt_sigprocmask)
    587 
    588 struct linux32_sys_rt_sigpending_args {
    589 	syscallarg(linux32_sigsetp_t) set;
    590 	syscallarg(netbsd32_size_t) sigsetsize;
    591 };
    592 check_syscall_args(linux32_sys_rt_sigpending)
    593 
    594 struct linux32_sys_rt_sigtimedwait_args {
    595 	syscallarg(const linux32_sigsetp_t) set;
    596 	syscallarg(linux32_siginfop_t) info;
    597 	syscallarg(const linux32_timespecp_t) timeout;
    598 };
    599 check_syscall_args(linux32_sys_rt_sigtimedwait)
    600 
    601 struct linux32_sys_rt_queueinfo_args {
    602 	syscallarg(int) pid;
    603 	syscallarg(int) sig;
    604 	syscallarg(linux32_siginfop_t) uinfo;
    605 };
    606 check_syscall_args(linux32_sys_rt_queueinfo)
    607 
    608 struct linux32_sys_rt_sigsuspend_args {
    609 	syscallarg(linux32_sigsetp_t) unewset;
    610 	syscallarg(netbsd32_size_t) sigsetsize;
    611 };
    612 check_syscall_args(linux32_sys_rt_sigsuspend)
    613 
    614 struct linux32_sys_pread_args {
    615 	syscallarg(int) fd;
    616 	syscallarg(netbsd32_voidp) buf;
    617 	syscallarg(netbsd32_size_t) nbyte;
    618 	syscallarg(netbsd32_off_t) offset;
    619 };
    620 check_syscall_args(linux32_sys_pread)
    621 
    622 struct linux32_sys_pwrite_args {
    623 	syscallarg(int) fd;
    624 	syscallarg(netbsd32_voidp) buf;
    625 	syscallarg(netbsd32_size_t) nbyte;
    626 	syscallarg(netbsd32_off_t) offset;
    627 };
    628 check_syscall_args(linux32_sys_pwrite)
    629 
    630 struct linux32_sys_chown16_args {
    631 	syscallarg(netbsd32_charp) path;
    632 	syscallarg(linux32_uid16_t) uid;
    633 	syscallarg(linux32_gid16_t) gid;
    634 };
    635 check_syscall_args(linux32_sys_chown16)
    636 
    637 struct netbsd32___getcwd_args;
    638 
    639 struct linux32_sys_ugetrlimit_args {
    640 	syscallarg(int) which;
    641 	syscallarg(netbsd32_orlimitp_t) rlp;
    642 };
    643 check_syscall_args(linux32_sys_ugetrlimit)
    644 
    645 struct linux32_sys_mmap2_args {
    646 	syscallarg(netbsd32_u_long) addr;
    647 	syscallarg(netbsd32_size_t) len;
    648 	syscallarg(int) prot;
    649 	syscallarg(int) flags;
    650 	syscallarg(int) fd;
    651 	syscallarg(linux32_off_t) offset;
    652 };
    653 check_syscall_args(linux32_sys_mmap2)
    654 
    655 struct linux32_sys_truncate64_args {
    656 	syscallarg(netbsd32_charp) path;
    657 	syscallarg(uint32_t) lenlo;
    658 	syscallarg(uint32_t) lenhi;
    659 };
    660 check_syscall_args(linux32_sys_truncate64)
    661 
    662 struct linux32_sys_ftruncate64_args {
    663 	syscallarg(unsigned int) fd;
    664 	syscallarg(uint32_t) lenlo;
    665 	syscallarg(uint32_t) lenhi;
    666 };
    667 check_syscall_args(linux32_sys_ftruncate64)
    668 
    669 struct linux32_sys_stat64_args {
    670 	syscallarg(netbsd32_charp) path;
    671 	syscallarg(linux32_stat64p) sp;
    672 };
    673 check_syscall_args(linux32_sys_stat64)
    674 
    675 struct linux32_sys_lstat64_args {
    676 	syscallarg(netbsd32_charp) path;
    677 	syscallarg(linux32_stat64p) sp;
    678 };
    679 check_syscall_args(linux32_sys_lstat64)
    680 
    681 struct linux32_sys_fstat64_args {
    682 	syscallarg(int) fd;
    683 	syscallarg(linux32_stat64p) sp;
    684 };
    685 check_syscall_args(linux32_sys_fstat64)
    686 
    687 struct netbsd32___posix_lchown_args;
    688 
    689 struct netbsd32_setreuid_args;
    690 
    691 struct netbsd32_setregid_args;
    692 
    693 struct netbsd32_getgroups_args;
    694 
    695 struct netbsd32_setgroups_args;
    696 
    697 struct netbsd32___posix_fchown_args;
    698 
    699 struct linux32_sys_setresuid_args {
    700 	syscallarg(uid_t) ruid;
    701 	syscallarg(uid_t) euid;
    702 	syscallarg(uid_t) suid;
    703 };
    704 check_syscall_args(linux32_sys_setresuid)
    705 
    706 struct linux32_sys_getresuid_args {
    707 	syscallarg(linux32_uidp_t) ruid;
    708 	syscallarg(linux32_uidp_t) euid;
    709 	syscallarg(linux32_uidp_t) suid;
    710 };
    711 check_syscall_args(linux32_sys_getresuid)
    712 
    713 struct linux32_sys_setresgid_args {
    714 	syscallarg(gid_t) rgid;
    715 	syscallarg(gid_t) egid;
    716 	syscallarg(gid_t) sgid;
    717 };
    718 check_syscall_args(linux32_sys_setresgid)
    719 
    720 struct linux32_sys_getresgid_args {
    721 	syscallarg(linux32_gidp_t) rgid;
    722 	syscallarg(linux32_gidp_t) egid;
    723 	syscallarg(linux32_gidp_t) sgid;
    724 };
    725 check_syscall_args(linux32_sys_getresgid)
    726 
    727 struct netbsd32___posix_chown_args;
    728 
    729 struct netbsd32_setuid_args;
    730 
    731 struct netbsd32_setgid_args;
    732 
    733 struct linux32_sys_setfsuid_args {
    734 	syscallarg(uid_t) uid;
    735 };
    736 check_syscall_args(linux32_sys_setfsuid)
    737 
    738 struct linux32_sys_setfsgid_args {
    739 	syscallarg(gid_t) gid;
    740 };
    741 check_syscall_args(linux32_sys_setfsgid)
    742 
    743 struct linux32_sys_getdents64_args {
    744 	syscallarg(int) fd;
    745 	syscallarg(linux32_dirent64p_t) dent;
    746 	syscallarg(unsigned int) count;
    747 };
    748 check_syscall_args(linux32_sys_getdents64)
    749 
    750 struct netbsd32_mincore_args;
    751 
    752 struct netbsd32_madvise_args;
    753 #define linux32_sys_fcntl64 linux32_sys_fcntl
    754 #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
    755 
    756 struct linux32_sys_fcntl64_args;
    757 
    758 struct netbsd32_setxattr_args;
    759 
    760 struct netbsd32_lsetxattr_args;
    761 
    762 struct netbsd32_fsetxattr_args;
    763 
    764 struct netbsd32_getxattr_args;
    765 
    766 struct netbsd32_lgetxattr_args;
    767 
    768 struct netbsd32_fgetxattr_args;
    769 
    770 struct netbsd32_listxattr_args;
    771 
    772 struct netbsd32_llistxattr_args;
    773 
    774 struct netbsd32_flistxattr_args;
    775 
    776 struct netbsd32_removexattr_args;
    777 
    778 struct netbsd32_lremovexattr_args;
    779 
    780 struct netbsd32_fremovexattr_args;
    781 
    782 struct linux32_sys_tkill_args {
    783 	syscallarg(int) tid;
    784 	syscallarg(int) sig;
    785 };
    786 check_syscall_args(linux32_sys_tkill)
    787 
    788 struct linux32_sys_futex_args {
    789 	syscallarg(linux32_intp_t) uaddr;
    790 	syscallarg(int) op;
    791 	syscallarg(int) val;
    792 	syscallarg(linux32_timespecp_t) timeout;
    793 	syscallarg(linux32_intp_t) uaddr2;
    794 	syscallarg(int) val3;
    795 };
    796 check_syscall_args(linux32_sys_futex)
    797 
    798 struct linux32_sys_sched_setaffinity_args {
    799 	syscallarg(pid_t) pid;
    800 	syscallarg(unsigned int) len;
    801 	syscallarg(linux32_ulongp_t) mask;
    802 };
    803 check_syscall_args(linux32_sys_sched_setaffinity)
    804 
    805 struct linux32_sys_sched_getaffinity_args {
    806 	syscallarg(pid_t) pid;
    807 	syscallarg(unsigned int) len;
    808 	syscallarg(linux32_ulongp_t) mask;
    809 };
    810 check_syscall_args(linux32_sys_sched_getaffinity)
    811 
    812 struct linux32_sys_exit_group_args {
    813 	syscallarg(int) error_code;
    814 };
    815 check_syscall_args(linux32_sys_exit_group)
    816 
    817 struct linux32_sys_set_tid_address_args {
    818 	syscallarg(linux32_intp_t) tid;
    819 };
    820 check_syscall_args(linux32_sys_set_tid_address)
    821 
    822 struct linux32_sys_timer_create_args {
    823 	syscallarg(clockid_t) clockid;
    824 	syscallarg(struct linux32_sigevent *) evp;
    825 	syscallarg(timer_t *) timerid;
    826 };
    827 check_syscall_args(linux32_sys_timer_create)
    828 
    829 struct linux32_sys_timer_settime_args {
    830 	syscallarg(timer_t) timerid;
    831 	syscallarg(int) flags;
    832 	syscallarg(const struct linux32_itimerspec *) tim;
    833 	syscallarg(struct linux32_itimerspec *) otim;
    834 };
    835 check_syscall_args(linux32_sys_timer_settime)
    836 
    837 struct linux32_sys_timer_gettime_args {
    838 	syscallarg(timer_t) timerid;
    839 	syscallarg(struct linux32_itimerspec *) tim;
    840 };
    841 check_syscall_args(linux32_sys_timer_gettime)
    842 
    843 struct sys_timer_getoverrun_args;
    844 
    845 struct sys_timer_delete_args;
    846 
    847 struct linux32_sys_clock_settime_args {
    848 	syscallarg(clockid_t) which;
    849 	syscallarg(linux32_timespecp_t) tp;
    850 };
    851 check_syscall_args(linux32_sys_clock_settime)
    852 
    853 struct linux32_sys_clock_gettime_args {
    854 	syscallarg(clockid_t) which;
    855 	syscallarg(linux32_timespecp_t) tp;
    856 };
    857 check_syscall_args(linux32_sys_clock_gettime)
    858 
    859 struct linux32_sys_clock_getres_args {
    860 	syscallarg(clockid_t) which;
    861 	syscallarg(linux32_timespecp_t) tp;
    862 };
    863 check_syscall_args(linux32_sys_clock_getres)
    864 
    865 struct linux32_sys_clock_nanosleep_args {
    866 	syscallarg(clockid_t) which;
    867 	syscallarg(int) flags;
    868 	syscallarg(linux32_timespecp_t) rqtp;
    869 	syscallarg(linux32_timespecp_t) rmtp;
    870 };
    871 check_syscall_args(linux32_sys_clock_nanosleep)
    872 
    873 struct linux32_sys_statfs64_args {
    874 	syscallarg(netbsd32_charp) path;
    875 	syscallarg(netbsd32_size_t) sz;
    876 	syscallarg(linux32_statfs64p) sp;
    877 };
    878 check_syscall_args(linux32_sys_statfs64)
    879 
    880 struct linux32_sys_fstatfs64_args {
    881 	syscallarg(int) fd;
    882 	syscallarg(netbsd32_size_t) sz;
    883 	syscallarg(linux32_statfs64p) sp;
    884 };
    885 check_syscall_args(linux32_sys_fstatfs64)
    886 
    887 struct linux32_sys_tgkill_args {
    888 	syscallarg(int) tgid;
    889 	syscallarg(int) tid;
    890 	syscallarg(int) sig;
    891 };
    892 check_syscall_args(linux32_sys_tgkill)
    893 
    894 struct compat_50_netbsd32_utimes_args;
    895 
    896 struct linux32_sys_fadvise64_64_args {
    897 	syscallarg(int) fd;
    898 	syscallarg(uint32_t) offlo;
    899 	syscallarg(uint32_t) offhi;
    900 	syscallarg(uint32_t) lenlo;
    901 	syscallarg(uint32_t) lenhi;
    902 	syscallarg(int) advice;
    903 };
    904 check_syscall_args(linux32_sys_fadvise64_64)
    905 
    906 struct linux32_sys_socket_args;
    907 
    908 struct linux32_sys_bind_args;
    909 
    910 struct linux32_sys_connect_args;
    911 
    912 struct linux32_sys_accept_args;
    913 
    914 struct linux32_sys_getsockname_args;
    915 
    916 struct linux32_sys_getpeername_args;
    917 
    918 struct linux32_sys_socketpair_args;
    919 
    920 struct linux32_sys_send_args;
    921 
    922 struct linux32_sys_sendto_args;
    923 
    924 struct linux32_sys_recv_args;
    925 
    926 struct linux32_sys_recvfrom_args;
    927 
    928 struct linux32_sys_setsockopt_args;
    929 
    930 struct linux32_sys_getsockopt_args;
    931 
    932 struct linux32_sys_openat_args {
    933 	syscallarg(int) fd;
    934 	syscallarg(netbsd32_charp) path;
    935 	syscallarg(int) flags;
    936 	syscallarg(linux_umode_t) mode;
    937 };
    938 check_syscall_args(linux32_sys_openat)
    939 
    940 struct netbsd32_mkdirat_args;
    941 
    942 struct linux32_sys_mknodat_args {
    943 	syscallarg(int) fd;
    944 	syscallarg(netbsd32_charp) path;
    945 	syscallarg(linux_umode_t) mode;
    946 	syscallarg(unsigned) dev;
    947 };
    948 check_syscall_args(linux32_sys_mknodat)
    949 
    950 struct linux32_sys_fchownat_args {
    951 	syscallarg(int) fd;
    952 	syscallarg(netbsd32_charp) path;
    953 	syscallarg(uid_t) owner;
    954 	syscallarg(gid_t) group;
    955 	syscallarg(int) flag;
    956 };
    957 check_syscall_args(linux32_sys_fchownat)
    958 
    959 struct linux32_sys_fstatat64_args {
    960 	syscallarg(int) fd;
    961 	syscallarg(netbsd32_charp) path;
    962 	syscallarg(linux32_stat64p) sp;
    963 	syscallarg(int) flag;
    964 };
    965 check_syscall_args(linux32_sys_fstatat64)
    966 
    967 struct linux32_sys_unlinkat_args {
    968 	syscallarg(int) fd;
    969 	syscallarg(netbsd32_charp) path;
    970 	syscallarg(int) flag;
    971 };
    972 check_syscall_args(linux32_sys_unlinkat)
    973 
    974 struct netbsd32_renameat_args;
    975 
    976 struct linux32_sys_linkat_args {
    977 	syscallarg(int) fd1;
    978 	syscallarg(netbsd32_charp) name1;
    979 	syscallarg(int) fd2;
    980 	syscallarg(netbsd32_charp) name2;
    981 	syscallarg(int) flags;
    982 };
    983 check_syscall_args(linux32_sys_linkat)
    984 
    985 struct netbsd32_symlinkat_args;
    986 
    987 struct netbsd32_readlinkat_args;
    988 
    989 struct linux32_sys_fchmodat_args {
    990 	syscallarg(int) fd;
    991 	syscallarg(netbsd32_charp) path;
    992 	syscallarg(linux_umode_t) mode;
    993 };
    994 check_syscall_args(linux32_sys_fchmodat)
    995 
    996 struct linux32_sys_faccessat_args {
    997 	syscallarg(int) fd;
    998 	syscallarg(netbsd32_charp) path;
    999 	syscallarg(int) amode;
   1000 };
   1001 check_syscall_args(linux32_sys_faccessat)
   1002 
   1003 struct linux32_sys_pselect6_args {
   1004 	syscallarg(int) nfds;
   1005 	syscallarg(netbsd32_fd_setp_t) readfds;
   1006 	syscallarg(netbsd32_fd_setp_t) writefds;
   1007 	syscallarg(netbsd32_fd_setp_t) exceptfds;
   1008 	syscallarg(linux32_timespecp_t) timeout;
   1009 	syscallarg(linux32_sized_sigsetp_t) ss;
   1010 };
   1011 check_syscall_args(linux32_sys_pselect6)
   1012 
   1013 struct linux32_sys_ppoll_args {
   1014 	syscallarg(netbsd32_pollfdp_t) fds;
   1015 	syscallarg(u_int) nfds;
   1016 	syscallarg(linux32_timespecp_t) timeout;
   1017 	syscallarg(linux32_sigsetp_t) sigset;
   1018 };
   1019 check_syscall_args(linux32_sys_ppoll)
   1020 
   1021 struct netbsd32___futex_set_robust_list_args;
   1022 
   1023 struct netbsd32___futex_get_robust_list_args;
   1024 
   1025 struct linux32_sys_utimensat_args {
   1026 	syscallarg(int) fd;
   1027 	syscallarg(netbsd32_charp) path;
   1028 	syscallarg(linux32_timespecp_t) times;
   1029 	syscallarg(int) flag;
   1030 };
   1031 check_syscall_args(linux32_sys_utimensat)
   1032 
   1033 struct linux_sys_timerfd_create_args;
   1034 
   1035 struct linux32_sys_eventfd_args {
   1036 	syscallarg(unsigned int) initval;
   1037 };
   1038 check_syscall_args(linux32_sys_eventfd)
   1039 
   1040 struct linux32_sys_fallocate_args {
   1041 	syscallarg(int) fd;
   1042 	syscallarg(int) mode;
   1043 	syscallarg(off_t) offset;
   1044 	syscallarg(off_t) len;
   1045 };
   1046 check_syscall_args(linux32_sys_fallocate)
   1047 
   1048 struct linux32_sys_timerfd_settime_args {
   1049 	syscallarg(int) fd;
   1050 	syscallarg(int) flags;
   1051 	syscallarg(const struct linux32_itimerspec *) tim;
   1052 	syscallarg(struct linux32_itimerspec *) otim;
   1053 };
   1054 check_syscall_args(linux32_sys_timerfd_settime)
   1055 
   1056 struct linux32_sys_timerfd_gettime_args {
   1057 	syscallarg(int) fd;
   1058 	syscallarg(struct linux32_itimerspec *) tim;
   1059 };
   1060 check_syscall_args(linux32_sys_timerfd_gettime)
   1061 
   1062 struct linux32_sys_eventfd2_args {
   1063 	syscallarg(unsigned int) initval;
   1064 	syscallarg(int) flags;
   1065 };
   1066 check_syscall_args(linux32_sys_eventfd2)
   1067 
   1068 struct linux32_sys_dup3_args {
   1069 	syscallarg(int) from;
   1070 	syscallarg(int) to;
   1071 	syscallarg(int) flags;
   1072 };
   1073 check_syscall_args(linux32_sys_dup3)
   1074 
   1075 struct linux32_sys_pipe2_args {
   1076 	syscallarg(netbsd32_intp) fd;
   1077 	syscallarg(int) flags;
   1078 };
   1079 check_syscall_args(linux32_sys_pipe2)
   1080 
   1081 struct linux32_sys_preadv_args {
   1082 	syscallarg(int) fd;
   1083 	syscallarg(const netbsd32_iovecp_t) iovp;
   1084 	syscallarg(int) iovcnt;
   1085 	syscallarg(netbsd32_u_long) off_lo;
   1086 	syscallarg(netbsd32_u_long) off_hi;
   1087 };
   1088 check_syscall_args(linux32_sys_preadv)
   1089 
   1090 struct linux32_sys_pwritev_args {
   1091 	syscallarg(int) fd;
   1092 	syscallarg(const netbsd32_iovecp_t) iovp;
   1093 	syscallarg(int) iovcnt;
   1094 	syscallarg(netbsd32_u_long) off_lo;
   1095 	syscallarg(netbsd32_u_long) off_hi;
   1096 };
   1097 check_syscall_args(linux32_sys_pwritev)
   1098 
   1099 struct linux32_sys_prlimit64_args {
   1100 	syscallarg(pid_t) pid;
   1101 	syscallarg(int) which;
   1102 	syscallarg(netbsd32_rlimitp_t) new_rlp;
   1103 	syscallarg(netbsd32_rlimitp_t) old_rlp;
   1104 };
   1105 check_syscall_args(linux32_sys_prlimit64)
   1106 
   1107 struct netbsd32_getrandom_args;
   1108 
   1109 struct linux32_sys_statx_args {
   1110 	syscallarg(int) fd;
   1111 	syscallarg(netbsd32_charp) path;
   1112 	syscallarg(int) flag;
   1113 	syscallarg(unsigned int) mask;
   1114 	syscallarg(linux32_statxp) sp;
   1115 };
   1116 check_syscall_args(linux32_sys_statx)
   1117 
   1118 struct linux32_sys_set_tls_args {
   1119 	syscallarg(netbsd32_voidp) tls;
   1120 };
   1121 check_syscall_args(linux32_sys_set_tls)
   1122 
   1123 /*
   1124  * System call prototypes.
   1125  */
   1126 
   1127 int	linux_sys_nosys(struct lwp *, const void *, register_t *);
   1128 
   1129 int	linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *);
   1130 
   1131 int	sys_fork(struct lwp *, const void *, register_t *);
   1132 
   1133 int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
   1134 
   1135 int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
   1136 
   1137 int	linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *);
   1138 
   1139 int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
   1140 
   1141 int	linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *);
   1142 
   1143 int	linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *);
   1144 
   1145 int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
   1146 
   1147 int	linux32_sys_unlink(struct lwp *, const struct linux32_sys_unlink_args *, register_t *);
   1148 
   1149 int	netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
   1150 
   1151 int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
   1152 
   1153 int	linux32_sys_time(struct lwp *, const struct linux32_sys_time_args *, register_t *);
   1154 
   1155 int	linux32_sys_mknod(struct lwp *, const struct linux32_sys_mknod_args *, register_t *);
   1156 
   1157 int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
   1158 
   1159 int	linux32_sys_lchown16(struct lwp *, const struct linux32_sys_lchown16_args *, register_t *);
   1160 
   1161 int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
   1162 
   1163 int	sys_getpid(struct lwp *, const void *, register_t *);
   1164 
   1165 int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
   1166 
   1167 int	sys_getuid(struct lwp *, const void *, register_t *);
   1168 
   1169 int	linux32_sys_stime(struct lwp *, const struct linux32_sys_stime_args *, register_t *);
   1170 
   1171 int	linux32_sys_ptrace(struct lwp *, const struct linux32_sys_ptrace_args *, register_t *);
   1172 
   1173 int	linux32_sys_alarm(struct lwp *, const struct linux32_sys_alarm_args *, register_t *);
   1174 
   1175 int	linux_sys_pause(struct lwp *, const void *, register_t *);
   1176 
   1177 int	linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
   1178 
   1179 int	netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
   1180 
   1181 int	linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
   1182 
   1183 int	sys_sync(struct lwp *, const void *, register_t *);
   1184 
   1185 int	linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
   1186 
   1187 int	netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
   1188 
   1189 int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
   1190 
   1191 int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
   1192 
   1193 int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
   1194 
   1195 int	linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
   1196 
   1197 int	linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
   1198 
   1199 int	linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
   1200 
   1201 int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
   1202 
   1203 int	sys_getgid(struct lwp *, const void *, register_t *);
   1204 
   1205 int	linux32_sys_signal(struct lwp *, const struct linux32_sys_signal_args *, register_t *);
   1206 
   1207 int	sys_geteuid(struct lwp *, const void *, register_t *);
   1208 
   1209 int	sys_getegid(struct lwp *, const void *, register_t *);
   1210 
   1211 int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
   1212 
   1213 int	linux32_sys_ioctl(struct lwp *, const struct linux32_sys_ioctl_args *, register_t *);
   1214 
   1215 int	linux32_sys_fcntl(struct lwp *, const struct linux32_sys_fcntl_args *, register_t *);
   1216 
   1217 int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
   1218 
   1219 int	linux32_sys_oldolduname(struct lwp *, const struct linux32_sys_oldolduname_args *, register_t *);
   1220 
   1221 int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
   1222 
   1223 int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
   1224 
   1225 int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
   1226 
   1227 int	sys_getppid(struct lwp *, const void *, register_t *);
   1228 
   1229 int	sys_getpgrp(struct lwp *, const void *, register_t *);
   1230 
   1231 int	sys_setsid(struct lwp *, const void *, register_t *);
   1232 
   1233 int	linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
   1234 
   1235 int	linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
   1236 
   1237 int	linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
   1238 
   1239 int	linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);
   1240 
   1241 int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
   1242 
   1243 int	linux32_sys_setrlimit(struct lwp *, const struct linux32_sys_setrlimit_args *, register_t *);
   1244 
   1245 int	linux32_sys_getrlimit(struct lwp *, const struct linux32_sys_getrlimit_args *, register_t *);
   1246 
   1247 int	compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
   1248 
   1249 int	linux32_sys_gettimeofday(struct lwp *, const struct linux32_sys_gettimeofday_args *, register_t *);
   1250 
   1251 int	linux32_sys_settimeofday(struct lwp *, const struct linux32_sys_settimeofday_args *, register_t *);
   1252 
   1253 int	linux32_sys_getgroups16(struct lwp *, const struct linux32_sys_getgroups16_args *, register_t *);
   1254 
   1255 int	linux32_sys_setgroups16(struct lwp *, const struct linux32_sys_setgroups16_args *, register_t *);
   1256 
   1257 int	linux32_sys_oldselect(struct lwp *, const struct linux32_sys_oldselect_args *, register_t *);
   1258 
   1259 int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
   1260 
   1261 int	compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
   1262 
   1263 int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
   1264 
   1265 int	linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
   1266 
   1267 int	linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
   1268 
   1269 int	linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
   1270 
   1271 int	linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
   1272 
   1273 int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
   1274 
   1275 int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
   1276 
   1277 int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
   1278 
   1279 int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
   1280 
   1281 int	linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
   1282 
   1283 int	linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
   1284 
   1285 int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
   1286 
   1287 int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
   1288 
   1289 int	linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
   1290 
   1291 int	linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
   1292 
   1293 int	linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
   1294 
   1295 int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
   1296 
   1297 int	compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
   1298 
   1299 int	linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *);
   1300 
   1301 int	linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *);
   1302 
   1303 int	linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *);
   1304 
   1305 int	linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
   1306 
   1307 int	linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
   1308 
   1309 int	linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
   1310 
   1311 int	linux32_sys_sysinfo(struct lwp *, const struct linux32_sys_sysinfo_args *, register_t *);
   1312 
   1313 int	linux32_sys_ipc(struct lwp *, const struct linux32_sys_ipc_args *, register_t *);
   1314 
   1315 int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
   1316 
   1317 int	linux32_sys_sigreturn(struct lwp *, const struct linux32_sys_sigreturn_args *, register_t *);
   1318 
   1319 int	linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
   1320 
   1321 int	linux32_sys_setdomainname(struct lwp *, const struct linux32_sys_setdomainname_args *, register_t *);
   1322 
   1323 int	linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
   1324 
   1325 int	linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
   1326 
   1327 int	netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
   1328 
   1329 int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
   1330 
   1331 int	linux32_sys_personality(struct lwp *, const struct linux32_sys_personality_args *, register_t *);
   1332 
   1333 int	linux32_sys_setfsuid(struct lwp *, const struct linux32_sys_setfsuid_args *, register_t *);
   1334 
   1335 int	linux32_sys_setfsgid(struct lwp *, const struct linux32_sys_setfsgid_args *, register_t *);
   1336 
   1337 int	linux32_sys_llseek(struct lwp *, const struct linux32_sys_llseek_args *, register_t *);
   1338 
   1339 int	linux32_sys_getdents(struct lwp *, const struct linux32_sys_getdents_args *, register_t *);
   1340 
   1341 int	linux32_sys_select(struct lwp *, const struct linux32_sys_select_args *, register_t *);
   1342 
   1343 int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
   1344 
   1345 int	netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
   1346 
   1347 int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
   1348 
   1349 int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
   1350 
   1351 int	netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
   1352 
   1353 int	linux32_sys_fdatasync(struct lwp *, const struct linux32_sys_fdatasync_args *, register_t *);
   1354 
   1355 int	linux32_sys___sysctl(struct lwp *, const struct linux32_sys___sysctl_args *, register_t *);
   1356 
   1357 int	netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
   1358 
   1359 int	netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
   1360 
   1361 int	netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
   1362 
   1363 int	sys_munlockall(struct lwp *, const void *, register_t *);
   1364 
   1365 int	linux32_sys_sched_setparam(struct lwp *, const struct linux32_sys_sched_setparam_args *, register_t *);
   1366 
   1367 int	linux32_sys_sched_getparam(struct lwp *, const struct linux32_sys_sched_getparam_args *, register_t *);
   1368 
   1369 int	linux32_sys_sched_setscheduler(struct lwp *, const struct linux32_sys_sched_setscheduler_args *, register_t *);
   1370 
   1371 int	linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_getscheduler_args *, register_t *);
   1372 
   1373 int	linux_sys_sched_yield(struct lwp *, const void *, register_t *);
   1374 
   1375 int	linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
   1376 
   1377 int	linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
   1378 
   1379 int	linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
   1380 
   1381 int	linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
   1382 
   1383 int	linux32_sys_setresuid16(struct lwp *, const struct linux32_sys_setresuid16_args *, register_t *);
   1384 
   1385 int	linux32_sys_getresuid16(struct lwp *, const struct linux32_sys_getresuid16_args *, register_t *);
   1386 
   1387 int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
   1388 
   1389 int	linux32_sys_setresgid16(struct lwp *, const struct linux32_sys_setresgid16_args *, register_t *);
   1390 
   1391 int	linux32_sys_getresgid16(struct lwp *, const struct linux32_sys_getresgid16_args *, register_t *);
   1392 
   1393 int	linux32_sys_rt_sigreturn(struct lwp *, const struct linux32_sys_rt_sigreturn_args *, register_t *);
   1394 
   1395 int	linux32_sys_rt_sigaction(struct lwp *, const struct linux32_sys_rt_sigaction_args *, register_t *);
   1396 
   1397 int	linux32_sys_rt_sigprocmask(struct lwp *, const struct linux32_sys_rt_sigprocmask_args *, register_t *);
   1398 
   1399 int	linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *);
   1400 
   1401 int	linux32_sys_rt_sigtimedwait(struct lwp *, const struct linux32_sys_rt_sigtimedwait_args *, register_t *);
   1402 
   1403 int	linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *);
   1404 
   1405 int	linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *);
   1406 
   1407 int	linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *);
   1408 
   1409 int	linux32_sys_pwrite(struct lwp *, const struct linux32_sys_pwrite_args *, register_t *);
   1410 
   1411 int	linux32_sys_chown16(struct lwp *, const struct linux32_sys_chown16_args *, register_t *);
   1412 
   1413 int	netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
   1414 
   1415 int	sys___vfork14(struct lwp *, const void *, register_t *);
   1416 
   1417 int	linux32_sys_ugetrlimit(struct lwp *, const struct linux32_sys_ugetrlimit_args *, register_t *);
   1418 
   1419 int	linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
   1420 
   1421 int	linux32_sys_truncate64(struct lwp *, const struct linux32_sys_truncate64_args *, register_t *);
   1422 
   1423 int	linux32_sys_ftruncate64(struct lwp *, const struct linux32_sys_ftruncate64_args *, register_t *);
   1424 
   1425 int	linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
   1426 
   1427 int	linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
   1428 
   1429 int	linux32_sys_fstat64(struct lwp *, const struct linux32_sys_fstat64_args *, register_t *);
   1430 
   1431 int	netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
   1432 
   1433 int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
   1434 
   1435 int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
   1436 
   1437 int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
   1438 
   1439 int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
   1440 
   1441 int	netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
   1442 
   1443 int	linux32_sys_setresuid(struct lwp *, const struct linux32_sys_setresuid_args *, register_t *);
   1444 
   1445 int	linux32_sys_getresuid(struct lwp *, const struct linux32_sys_getresuid_args *, register_t *);
   1446 
   1447 int	linux32_sys_setresgid(struct lwp *, const struct linux32_sys_setresgid_args *, register_t *);
   1448 
   1449 int	linux32_sys_getresgid(struct lwp *, const struct linux32_sys_getresgid_args *, register_t *);
   1450 
   1451 int	netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
   1452 
   1453 int	linux32_sys_getdents64(struct lwp *, const struct linux32_sys_getdents64_args *, register_t *);
   1454 
   1455 int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
   1456 
   1457 int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
   1458 
   1459 #define linux32_sys_fcntl64 linux32_sys_fcntl
   1460 #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
   1461 int	linux32_sys_fcntl64(struct lwp *, const struct linux32_sys_fcntl64_args *, register_t *);
   1462 
   1463 int	linux_sys_gettid(struct lwp *, const void *, register_t *);
   1464 
   1465 int	netbsd32_setxattr(struct lwp *, const struct netbsd32_setxattr_args *, register_t *);
   1466 
   1467 int	netbsd32_lsetxattr(struct lwp *, const struct netbsd32_lsetxattr_args *, register_t *);
   1468 
   1469 int	netbsd32_fsetxattr(struct lwp *, const struct netbsd32_fsetxattr_args *, register_t *);
   1470 
   1471 int	netbsd32_getxattr(struct lwp *, const struct netbsd32_getxattr_args *, register_t *);
   1472 
   1473 int	netbsd32_lgetxattr(struct lwp *, const struct netbsd32_lgetxattr_args *, register_t *);
   1474 
   1475 int	netbsd32_fgetxattr(struct lwp *, const struct netbsd32_fgetxattr_args *, register_t *);
   1476 
   1477 int	netbsd32_listxattr(struct lwp *, const struct netbsd32_listxattr_args *, register_t *);
   1478 
   1479 int	netbsd32_llistxattr(struct lwp *, const struct netbsd32_llistxattr_args *, register_t *);
   1480 
   1481 int	netbsd32_flistxattr(struct lwp *, const struct netbsd32_flistxattr_args *, register_t *);
   1482 
   1483 int	netbsd32_removexattr(struct lwp *, const struct netbsd32_removexattr_args *, register_t *);
   1484 
   1485 int	netbsd32_lremovexattr(struct lwp *, const struct netbsd32_lremovexattr_args *, register_t *);
   1486 
   1487 int	netbsd32_fremovexattr(struct lwp *, const struct netbsd32_fremovexattr_args *, register_t *);
   1488 
   1489 int	linux32_sys_tkill(struct lwp *, const struct linux32_sys_tkill_args *, register_t *);
   1490 
   1491 int	linux32_sys_futex(struct lwp *, const struct linux32_sys_futex_args *, register_t *);
   1492 
   1493 int	linux32_sys_sched_setaffinity(struct lwp *, const struct linux32_sys_sched_setaffinity_args *, register_t *);
   1494 
   1495 int	linux32_sys_sched_getaffinity(struct lwp *, const struct linux32_sys_sched_getaffinity_args *, register_t *);
   1496 
   1497 int	linux32_sys_exit_group(struct lwp *, const struct linux32_sys_exit_group_args *, register_t *);
   1498 
   1499 int	linux32_sys_set_tid_address(struct lwp *, const struct linux32_sys_set_tid_address_args *, register_t *);
   1500 
   1501 int	linux32_sys_timer_create(struct lwp *, const struct linux32_sys_timer_create_args *, register_t *);
   1502 
   1503 int	linux32_sys_timer_settime(struct lwp *, const struct linux32_sys_timer_settime_args *, register_t *);
   1504 
   1505 int	linux32_sys_timer_gettime(struct lwp *, const struct linux32_sys_timer_gettime_args *, register_t *);
   1506 
   1507 int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
   1508 
   1509 int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
   1510 
   1511 int	linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
   1512 
   1513 int	linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
   1514 
   1515 int	linux32_sys_clock_getres(struct lwp *, const struct linux32_sys_clock_getres_args *, register_t *);
   1516 
   1517 int	linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
   1518 
   1519 int	linux32_sys_statfs64(struct lwp *, const struct linux32_sys_statfs64_args *, register_t *);
   1520 
   1521 int	linux32_sys_fstatfs64(struct lwp *, const struct linux32_sys_fstatfs64_args *, register_t *);
   1522 
   1523 int	linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
   1524 
   1525 int	compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
   1526 
   1527 int	linux32_sys_fadvise64_64(struct lwp *, const struct linux32_sys_fadvise64_64_args *, register_t *);
   1528 
   1529 int	linux32_sys_socket(struct lwp *, const struct linux32_sys_socket_args *, register_t *);
   1530 
   1531 int	linux32_sys_bind(struct lwp *, const struct linux32_sys_bind_args *, register_t *);
   1532 
   1533 int	linux32_sys_connect(struct lwp *, const struct linux32_sys_connect_args *, register_t *);
   1534 
   1535 int	linux32_sys_accept(struct lwp *, const struct linux32_sys_accept_args *, register_t *);
   1536 
   1537 int	linux32_sys_getsockname(struct lwp *, const struct linux32_sys_getsockname_args *, register_t *);
   1538 
   1539 int	linux32_sys_getpeername(struct lwp *, const struct linux32_sys_getpeername_args *, register_t *);
   1540 
   1541 int	linux32_sys_socketpair(struct lwp *, const struct linux32_sys_socketpair_args *, register_t *);
   1542 
   1543 int	linux32_sys_send(struct lwp *, const struct linux32_sys_send_args *, register_t *);
   1544 
   1545 int	linux32_sys_sendto(struct lwp *, const struct linux32_sys_sendto_args *, register_t *);
   1546 
   1547 int	linux32_sys_recv(struct lwp *, const struct linux32_sys_recv_args *, register_t *);
   1548 
   1549 int	linux32_sys_recvfrom(struct lwp *, const struct linux32_sys_recvfrom_args *, register_t *);
   1550 
   1551 int	linux32_sys_setsockopt(struct lwp *, const struct linux32_sys_setsockopt_args *, register_t *);
   1552 
   1553 int	linux32_sys_getsockopt(struct lwp *, const struct linux32_sys_getsockopt_args *, register_t *);
   1554 
   1555 int	linux32_sys_openat(struct lwp *, const struct linux32_sys_openat_args *, register_t *);
   1556 
   1557 int	netbsd32_mkdirat(struct lwp *, const struct netbsd32_mkdirat_args *, register_t *);
   1558 
   1559 int	linux32_sys_mknodat(struct lwp *, const struct linux32_sys_mknodat_args *, register_t *);
   1560 
   1561 int	linux32_sys_fchownat(struct lwp *, const struct linux32_sys_fchownat_args *, register_t *);
   1562 
   1563 int	linux32_sys_fstatat64(struct lwp *, const struct linux32_sys_fstatat64_args *, register_t *);
   1564 
   1565 int	linux32_sys_unlinkat(struct lwp *, const struct linux32_sys_unlinkat_args *, register_t *);
   1566 
   1567 int	netbsd32_renameat(struct lwp *, const struct netbsd32_renameat_args *, register_t *);
   1568 
   1569 int	linux32_sys_linkat(struct lwp *, const struct linux32_sys_linkat_args *, register_t *);
   1570 
   1571 int	netbsd32_symlinkat(struct lwp *, const struct netbsd32_symlinkat_args *, register_t *);
   1572 
   1573 int	netbsd32_readlinkat(struct lwp *, const struct netbsd32_readlinkat_args *, register_t *);
   1574 
   1575 int	linux32_sys_fchmodat(struct lwp *, const struct linux32_sys_fchmodat_args *, register_t *);
   1576 
   1577 int	linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *);
   1578 
   1579 int	linux32_sys_pselect6(struct lwp *, const struct linux32_sys_pselect6_args *, register_t *);
   1580 
   1581 int	linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *);
   1582 
   1583 int	netbsd32___futex_set_robust_list(struct lwp *, const struct netbsd32___futex_set_robust_list_args *, register_t *);
   1584 
   1585 int	netbsd32___futex_get_robust_list(struct lwp *, const struct netbsd32___futex_get_robust_list_args *, register_t *);
   1586 
   1587 int	linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *);
   1588 
   1589 int	linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
   1590 
   1591 int	linux32_sys_eventfd(struct lwp *, const struct linux32_sys_eventfd_args *, register_t *);
   1592 
   1593 int	linux32_sys_fallocate(struct lwp *, const struct linux32_sys_fallocate_args *, register_t *);
   1594 
   1595 int	linux32_sys_timerfd_settime(struct lwp *, const struct linux32_sys_timerfd_settime_args *, register_t *);
   1596 
   1597 int	linux32_sys_timerfd_gettime(struct lwp *, const struct linux32_sys_timerfd_gettime_args *, register_t *);
   1598 
   1599 int	linux32_sys_eventfd2(struct lwp *, const struct linux32_sys_eventfd2_args *, register_t *);
   1600 
   1601 int	linux32_sys_dup3(struct lwp *, const struct linux32_sys_dup3_args *, register_t *);
   1602 
   1603 int	linux32_sys_pipe2(struct lwp *, const struct linux32_sys_pipe2_args *, register_t *);
   1604 
   1605 int	linux32_sys_preadv(struct lwp *, const struct linux32_sys_preadv_args *, register_t *);
   1606 
   1607 int	linux32_sys_pwritev(struct lwp *, const struct linux32_sys_pwritev_args *, register_t *);
   1608 
   1609 int	linux32_sys_prlimit64(struct lwp *, const struct linux32_sys_prlimit64_args *, register_t *);
   1610 
   1611 int	netbsd32_getrandom(struct lwp *, const struct netbsd32_getrandom_args *, register_t *);
   1612 
   1613 int	linux32_sys_statx(struct lwp *, const struct linux32_sys_statx_args *, register_t *);
   1614 
   1615 int	linux32_sys_set_tls(struct lwp *, const struct linux32_sys_set_tls_args *, register_t *);
   1616 
   1617 int	linux32_sys_get_tls(struct lwp *, const void *, register_t *);
   1618 
   1619 #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
   1620