Home | History | Annotate | Line # | Download | only in amd64
linux32_syscallargs.h revision 1.17.6.5
      1 /* $NetBSD: linux32_syscallargs.h,v 1.17.6.5 2007/11/14 19:04:20 joerg 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.19 2007/11/07 00:24:30 njoly Exp
      8  */
      9 
     10 #ifndef _LINUX32_SYS_SYSCALLARGS_H_
     11 #define	_LINUX32_SYS_SYSCALLARGS_H_
     12 
     13 #define	LINUX32_SYS_MAXSYSARGS	8
     14 
     15 #undef	syscallarg
     16 #define	syscallarg(x)							\
     17 	union {								\
     18 		register32_t pad;						\
     19 		struct { x datum; } le;					\
     20 		struct { /* LINTED zero array dimension */		\
     21 			int8_t pad[  /* CONSTCOND */			\
     22 				(sizeof (register32_t) < sizeof (x))	\
     23 				? 0					\
     24 				: sizeof (register32_t) - sizeof (x)];	\
     25 			x datum;					\
     26 		} be;							\
     27 	}
     28 
     29 #undef check_syscall_args
     30 #define check_syscall_args(call) \
     31 	typedef char call##_check_args[sizeof (struct call##_args) \
     32 		<= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
     33 
     34 struct linux32_sys_open_args {
     35 	syscallarg(const netbsd32_charp) path;
     36 	syscallarg(int) flags;
     37 	syscallarg(int) mode;
     38 };
     39 check_syscall_args(linux32_sys_open)
     40 
     41 struct linux32_sys_waitpid_args {
     42 	syscallarg(int) pid;
     43 	syscallarg(netbsd32_intp) status;
     44 	syscallarg(int) options;
     45 };
     46 check_syscall_args(linux32_sys_waitpid)
     47 
     48 struct linux32_sys_creat_args {
     49 	syscallarg(const netbsd32_charp) path;
     50 	syscallarg(int) mode;
     51 };
     52 check_syscall_args(linux32_sys_creat)
     53 
     54 struct linux32_sys_unlink_args {
     55 	syscallarg(const netbsd32_charp) path;
     56 };
     57 check_syscall_args(linux32_sys_unlink)
     58 
     59 struct linux32_sys_time_args {
     60 	syscallarg(linux32_timep_t) t;
     61 };
     62 check_syscall_args(linux32_sys_time)
     63 
     64 struct linux32_sys_mknod_args {
     65 	syscallarg(const netbsd32_charp) path;
     66 	syscallarg(int) mode;
     67 	syscallarg(int) dev;
     68 };
     69 check_syscall_args(linux32_sys_mknod)
     70 
     71 struct linux32_sys_lchown16_args {
     72 	syscallarg(const netbsd32_charp) path;
     73 	syscallarg(int) uid;
     74 	syscallarg(int) gid;
     75 };
     76 check_syscall_args(linux32_sys_lchown16)
     77 
     78 struct linux32_sys_break_args {
     79 	syscallarg(netbsd32_charp) nsize;
     80 };
     81 check_syscall_args(linux32_sys_break)
     82 
     83 struct linux32_sys_stime_args {
     84 	syscallarg(linux32_timep_t) t;
     85 };
     86 check_syscall_args(linux32_sys_stime)
     87 
     88 struct linux32_sys_alarm_args {
     89 	syscallarg(unsigned int) secs;
     90 };
     91 check_syscall_args(linux32_sys_alarm)
     92 
     93 struct linux32_sys_utime_args {
     94 	syscallarg(const netbsd32_charp) path;
     95 	syscallarg(linux32_utimbufp_t) times;
     96 };
     97 check_syscall_args(linux32_sys_utime)
     98 
     99 struct linux32_sys_nice_args {
    100 	syscallarg(int) incr;
    101 };
    102 check_syscall_args(linux32_sys_nice)
    103 
    104 struct linux32_sys_kill_args {
    105 	syscallarg(int) pid;
    106 	syscallarg(int) signum;
    107 };
    108 check_syscall_args(linux32_sys_kill)
    109 
    110 struct linux32_sys_rename_args {
    111 	syscallarg(const netbsd32_charp) from;
    112 	syscallarg(const netbsd32_charp) to;
    113 };
    114 check_syscall_args(linux32_sys_rename)
    115 
    116 struct linux32_sys_pipe_args {
    117 	syscallarg(netbsd32_intp) fd;
    118 };
    119 check_syscall_args(linux32_sys_pipe)
    120 
    121 struct linux32_sys_times_args {
    122 	syscallarg(linux32_tmsp_t) tms;
    123 };
    124 check_syscall_args(linux32_sys_times)
    125 
    126 struct linux32_sys_brk_args {
    127 	syscallarg(netbsd32_charp) nsize;
    128 };
    129 check_syscall_args(linux32_sys_brk)
    130 
    131 struct linux32_sys_signal_args {
    132 	syscallarg(int) signum;
    133 	syscallarg(linux32_handler_t) handler;
    134 };
    135 check_syscall_args(linux32_sys_signal)
    136 
    137 struct linux32_sys_ioctl_args {
    138 	syscallarg(int) fd;
    139 	syscallarg(netbsd32_u_long) com;
    140 	syscallarg(netbsd32_charp) data;
    141 };
    142 check_syscall_args(linux32_sys_ioctl)
    143 
    144 struct linux32_sys_fcntl_args {
    145 	syscallarg(int) fd;
    146 	syscallarg(int) cmd;
    147 	syscallarg(netbsd32_voidp) arg;
    148 };
    149 check_syscall_args(linux32_sys_fcntl)
    150 
    151 struct linux32_sys_oldolduname_args {
    152 	syscallarg(linux32_oldold_utsnamep_t) up;
    153 };
    154 check_syscall_args(linux32_sys_oldolduname)
    155 
    156 struct linux32_sys_setreuid16_args {
    157 	syscallarg(int) ruid;
    158 	syscallarg(int) euid;
    159 };
    160 check_syscall_args(linux32_sys_setreuid16)
    161 
    162 struct linux32_sys_setregid16_args {
    163 	syscallarg(int) rgid;
    164 	syscallarg(int) egid;
    165 };
    166 check_syscall_args(linux32_sys_setregid16)
    167 
    168 struct linux32_sys_setrlimit_args {
    169 	syscallarg(u_int) which;
    170 	syscallarg(netbsd32_orlimitp_t) rlp;
    171 };
    172 check_syscall_args(linux32_sys_setrlimit)
    173 
    174 struct linux32_sys_getrlimit_args {
    175 	syscallarg(u_int) which;
    176 	syscallarg(netbsd32_orlimitp_t) rlp;
    177 };
    178 check_syscall_args(linux32_sys_getrlimit)
    179 
    180 struct linux32_sys_gettimeofday_args {
    181 	syscallarg(netbsd32_timevalp_t) tp;
    182 	syscallarg(netbsd32_timezonep_t) tzp;
    183 };
    184 check_syscall_args(linux32_sys_gettimeofday)
    185 
    186 struct linux32_sys_settimeofday_args {
    187 	syscallarg(netbsd32_timevalp_t) tp;
    188 	syscallarg(netbsd32_timezonep_t) tzp;
    189 };
    190 check_syscall_args(linux32_sys_settimeofday)
    191 
    192 struct linux32_sys_getgroups16_args {
    193 	syscallarg(int) gidsetsize;
    194 	syscallarg(linux32_gidp_t) gidset;
    195 };
    196 check_syscall_args(linux32_sys_getgroups16)
    197 
    198 struct linux32_sys_setgroups16_args {
    199 	syscallarg(int) gidsetsize;
    200 	syscallarg(linux32_gidp_t) gidset;
    201 };
    202 check_syscall_args(linux32_sys_setgroups16)
    203 
    204 struct linux32_sys_oldselect_args {
    205 	syscallarg(linux32_oldselectp_t) lsp;
    206 };
    207 check_syscall_args(linux32_sys_oldselect)
    208 
    209 struct linux32_sys_readlink_args {
    210 	syscallarg(const netbsd32_charp) name;
    211 	syscallarg(netbsd32_charp) buf;
    212 	syscallarg(int) count;
    213 };
    214 check_syscall_args(linux32_sys_readlink)
    215 
    216 struct linux32_sys_swapon_args {
    217 	syscallarg(netbsd32_charp) name;
    218 };
    219 check_syscall_args(linux32_sys_swapon)
    220 
    221 struct linux32_sys_reboot_args {
    222 	syscallarg(int) magic1;
    223 	syscallarg(int) magic2;
    224 	syscallarg(int) cmd;
    225 	syscallarg(netbsd32_voidp) arg;
    226 };
    227 check_syscall_args(linux32_sys_reboot)
    228 
    229 struct linux32_sys_old_mmap_args {
    230 	syscallarg(linux32_oldmmapp) lmp;
    231 };
    232 check_syscall_args(linux32_sys_old_mmap)
    233 
    234 struct linux32_sys_truncate_args {
    235 	syscallarg(const netbsd32_charp) path;
    236 	syscallarg(netbsd32_long) length;
    237 };
    238 check_syscall_args(linux32_sys_truncate)
    239 
    240 struct linux32_sys_fchown16_args {
    241 	syscallarg(int) fd;
    242 	syscallarg(int) uid;
    243 	syscallarg(int) gid;
    244 };
    245 check_syscall_args(linux32_sys_fchown16)
    246 
    247 struct linux32_sys_getpriority_args {
    248 	syscallarg(int) which;
    249 	syscallarg(int) who;
    250 };
    251 check_syscall_args(linux32_sys_getpriority)
    252 
    253 struct linux32_sys_setpriority_args {
    254 	syscallarg(int) which;
    255 	syscallarg(int) who;
    256 	syscallarg(int) prio;
    257 };
    258 check_syscall_args(linux32_sys_setpriority)
    259 
    260 struct linux32_sys_statfs_args {
    261 	syscallarg(const netbsd32_charp) path;
    262 	syscallarg(linux32_statfsp) sp;
    263 };
    264 check_syscall_args(linux32_sys_statfs)
    265 
    266 struct linux32_sys_socketcall_args {
    267 	syscallarg(int) what;
    268 	syscallarg(netbsd32_voidp) args;
    269 };
    270 check_syscall_args(linux32_sys_socketcall)
    271 
    272 struct linux32_sys_wait4_args {
    273 	syscallarg(int) pid;
    274 	syscallarg(netbsd32_intp) status;
    275 	syscallarg(int) options;
    276 	syscallarg(netbsd32_rusagep_t) rusage;
    277 };
    278 check_syscall_args(linux32_sys_wait4)
    279 
    280 struct linux32_sys_swapoff_args {
    281 	syscallarg(const netbsd32_charp) path;
    282 };
    283 check_syscall_args(linux32_sys_swapoff)
    284 
    285 struct linux32_sys_sysinfo_args {
    286 	syscallarg(linux32_sysinfop_t) arg;
    287 };
    288 check_syscall_args(linux32_sys_sysinfo)
    289 
    290 struct linux32_sys_sigreturn_args {
    291 	syscallarg(linux32_sigcontextp_t) scp;
    292 };
    293 check_syscall_args(linux32_sys_sigreturn)
    294 
    295 struct linux32_sys_clone_args {
    296 	syscallarg(int) flags;
    297 	syscallarg(netbsd32_voidp) stack;
    298 };
    299 check_syscall_args(linux32_sys_clone)
    300 
    301 struct linux32_sys_uname_args {
    302 	syscallarg(linux32_utsnamep) up;
    303 };
    304 check_syscall_args(linux32_sys_uname)
    305 
    306 struct linux32_sys_mprotect_args {
    307 	syscallarg(netbsd32_voidp) addr;
    308 	syscallarg(netbsd32_size_t) len;
    309 	syscallarg(int) prot;
    310 };
    311 check_syscall_args(linux32_sys_mprotect)
    312 
    313 struct linux32_sys_llseek_args {
    314 	syscallarg(int) fd;
    315 	syscallarg(u_int32_t) ohigh;
    316 	syscallarg(u_int32_t) olow;
    317 	syscallarg(netbsd32_caddr_t) res;
    318 	syscallarg(int) whence;
    319 };
    320 check_syscall_args(linux32_sys_llseek)
    321 
    322 struct linux32_sys_getdents_args {
    323 	syscallarg(int) fd;
    324 	syscallarg(linux32_direntp_t) dent;
    325 	syscallarg(unsigned int) count;
    326 };
    327 check_syscall_args(linux32_sys_getdents)
    328 
    329 struct linux32_sys_select_args {
    330 	syscallarg(int) nfds;
    331 	syscallarg(netbsd32_fd_setp_t) readfds;
    332 	syscallarg(netbsd32_fd_setp_t) writefds;
    333 	syscallarg(netbsd32_fd_setp_t) exceptfds;
    334 	syscallarg(netbsd32_timevalp_t) timeout;
    335 };
    336 check_syscall_args(linux32_sys_select)
    337 
    338 struct linux32_sys_fdatasync_args {
    339 	syscallarg(int) fd;
    340 };
    341 check_syscall_args(linux32_sys_fdatasync)
    342 
    343 struct linux32_sys___sysctl_args {
    344 	syscallarg(linux32___sysctlp_t) lsp;
    345 };
    346 check_syscall_args(linux32_sys___sysctl)
    347 
    348 struct linux32_sys_sched_getparam_args {
    349 	syscallarg(pid_t) pid;
    350 	syscallarg(linux32_sched_paramp_t) sp;
    351 };
    352 check_syscall_args(linux32_sys_sched_getparam)
    353 
    354 struct linux32_sys_sched_setscheduler_args {
    355 	syscallarg(pid_t) pid;
    356 	syscallarg(int) policy;
    357 	syscallarg(const linux32_sched_paramp_t) sp;
    358 };
    359 check_syscall_args(linux32_sys_sched_setscheduler)
    360 
    361 struct linux32_sys_sched_getscheduler_args {
    362 	syscallarg(pid_t) pid;
    363 };
    364 check_syscall_args(linux32_sys_sched_getscheduler)
    365 
    366 struct linux32_sys_mremap_args {
    367 	syscallarg(netbsd32_voidp) old_address;
    368 	syscallarg(netbsd32_size_t) old_size;
    369 	syscallarg(netbsd32_size_t) new_size;
    370 	syscallarg(netbsd32_u_long) flags;
    371 };
    372 check_syscall_args(linux32_sys_mremap)
    373 
    374 struct linux32_sys_setresuid16_args {
    375 	syscallarg(uid_t) ruid;
    376 	syscallarg(uid_t) euid;
    377 	syscallarg(uid_t) suid;
    378 };
    379 check_syscall_args(linux32_sys_setresuid16)
    380 
    381 struct linux32_sys_setresgid16_args {
    382 	syscallarg(gid_t) rgid;
    383 	syscallarg(gid_t) egid;
    384 	syscallarg(gid_t) sgid;
    385 };
    386 check_syscall_args(linux32_sys_setresgid16)
    387 
    388 struct linux32_sys_rt_sigreturn_args {
    389 	syscallarg(linux32_ucontextp_t) ucp;
    390 };
    391 check_syscall_args(linux32_sys_rt_sigreturn)
    392 
    393 struct linux32_sys_rt_sigaction_args {
    394 	syscallarg(int) signum;
    395 	syscallarg(const linux32_sigactionp_t) nsa;
    396 	syscallarg(linux32_sigactionp_t) osa;
    397 	syscallarg(netbsd32_size_t) sigsetsize;
    398 };
    399 check_syscall_args(linux32_sys_rt_sigaction)
    400 
    401 struct linux32_sys_rt_sigprocmask_args {
    402 	syscallarg(int) how;
    403 	syscallarg(const linux32_sigsetp_t) set;
    404 	syscallarg(linux32_sigsetp_t) oset;
    405 	syscallarg(netbsd32_size_t) sigsetsize;
    406 };
    407 check_syscall_args(linux32_sys_rt_sigprocmask)
    408 
    409 struct linux32_sys_rt_sigsuspend_args {
    410 	syscallarg(linux32_sigsetp_t) unewset;
    411 	syscallarg(netbsd32_size_t) sigsetsize;
    412 };
    413 check_syscall_args(linux32_sys_rt_sigsuspend)
    414 
    415 struct linux32_sys_chown16_args {
    416 	syscallarg(const netbsd32_charp) path;
    417 	syscallarg(int) uid;
    418 	syscallarg(int) gid;
    419 };
    420 check_syscall_args(linux32_sys_chown16)
    421 
    422 struct linux32_sys_ugetrlimit_args {
    423 	syscallarg(int) which;
    424 	syscallarg(netbsd32_orlimitp_t) rlp;
    425 };
    426 check_syscall_args(linux32_sys_ugetrlimit)
    427 
    428 struct linux32_sys_mmap2_args {
    429 	syscallarg(netbsd32_u_long) addr;
    430 	syscallarg(netbsd32_size_t) len;
    431 	syscallarg(int) prot;
    432 	syscallarg(int) flags;
    433 	syscallarg(int) fd;
    434 	syscallarg(linux32_off_t) offset;
    435 };
    436 check_syscall_args(linux32_sys_mmap2)
    437 
    438 struct linux32_sys_stat64_args {
    439 	syscallarg(const netbsd32_charp) path;
    440 	syscallarg(linux32_stat64p) sp;
    441 };
    442 check_syscall_args(linux32_sys_stat64)
    443 
    444 struct linux32_sys_lstat64_args {
    445 	syscallarg(const netbsd32_charp) path;
    446 	syscallarg(linux32_stat64p) sp;
    447 };
    448 check_syscall_args(linux32_sys_lstat64)
    449 
    450 struct linux32_sys_fstat64_args {
    451 	syscallarg(int) fd;
    452 	syscallarg(linux32_stat64p) sp;
    453 };
    454 check_syscall_args(linux32_sys_fstat64)
    455 
    456 struct linux32_sys_setresuid_args {
    457 	syscallarg(uid_t) ruid;
    458 	syscallarg(uid_t) euid;
    459 	syscallarg(uid_t) suid;
    460 };
    461 check_syscall_args(linux32_sys_setresuid)
    462 
    463 struct linux32_sys_setresgid_args {
    464 	syscallarg(gid_t) rgid;
    465 	syscallarg(gid_t) egid;
    466 	syscallarg(gid_t) sgid;
    467 };
    468 check_syscall_args(linux32_sys_setresgid)
    469 
    470 struct linux32_sys_setfsuid_args {
    471 	syscallarg(uid_t) uid;
    472 };
    473 check_syscall_args(linux32_sys_setfsuid)
    474 
    475 struct linux32_sys_getdents64_args {
    476 	syscallarg(int) fd;
    477 	syscallarg(linux32_dirent64p_t) dent;
    478 	syscallarg(unsigned int) count;
    479 };
    480 check_syscall_args(linux32_sys_getdents64)
    481 
    482 struct linux32_sys_fcntl64_args {
    483 	syscallarg(int) fd;
    484 	syscallarg(int) cmd;
    485 	syscallarg(netbsd32_voidp) arg;
    486 };
    487 check_syscall_args(linux32_sys_fcntl64)
    488 
    489 struct linux32_sys_exit_group_args {
    490 	syscallarg(int) error_code;
    491 };
    492 check_syscall_args(linux32_sys_exit_group)
    493 
    494 /*
    495  * System call prototypes.
    496  */
    497 
    498 int	linux_sys_nosys(struct lwp *, void *, register_t *);
    499 
    500 int	netbsd32_exit(struct lwp *, void *, register_t *);
    501 
    502 int	sys_fork(struct lwp *, void *, register_t *);
    503 
    504 int	netbsd32_read(struct lwp *, void *, register_t *);
    505 
    506 int	netbsd32_write(struct lwp *, void *, register_t *);
    507 
    508 int	linux32_sys_open(struct lwp *, void *, register_t *);
    509 
    510 int	netbsd32_close(struct lwp *, void *, register_t *);
    511 
    512 int	linux32_sys_waitpid(struct lwp *, void *, register_t *);
    513 
    514 int	linux32_sys_creat(struct lwp *, void *, register_t *);
    515 
    516 int	netbsd32_link(struct lwp *, void *, register_t *);
    517 
    518 int	linux32_sys_unlink(struct lwp *, void *, register_t *);
    519 
    520 int	netbsd32_execve(struct lwp *, void *, register_t *);
    521 
    522 int	netbsd32_chdir(struct lwp *, void *, register_t *);
    523 
    524 int	linux32_sys_time(struct lwp *, void *, register_t *);
    525 
    526 int	linux32_sys_mknod(struct lwp *, void *, register_t *);
    527 
    528 int	netbsd32_chmod(struct lwp *, void *, register_t *);
    529 
    530 int	linux32_sys_lchown16(struct lwp *, void *, register_t *);
    531 
    532 int	linux32_sys_break(struct lwp *, void *, register_t *);
    533 
    534 int	compat_43_netbsd32_olseek(struct lwp *, void *, register_t *);
    535 
    536 int	linux_sys_getpid(struct lwp *, void *, register_t *);
    537 
    538 int	netbsd32_setuid(struct lwp *, void *, register_t *);
    539 
    540 int	sys_getuid(struct lwp *, void *, register_t *);
    541 
    542 int	linux32_sys_stime(struct lwp *, void *, register_t *);
    543 
    544 int	linux32_sys_alarm(struct lwp *, void *, register_t *);
    545 
    546 int	linux_sys_pause(struct lwp *, void *, register_t *);
    547 
    548 int	linux32_sys_utime(struct lwp *, void *, register_t *);
    549 
    550 int	netbsd32_access(struct lwp *, void *, register_t *);
    551 
    552 int	linux32_sys_nice(struct lwp *, void *, register_t *);
    553 
    554 int	sys_sync(struct lwp *, void *, register_t *);
    555 
    556 int	linux32_sys_kill(struct lwp *, void *, register_t *);
    557 
    558 int	linux32_sys_rename(struct lwp *, void *, register_t *);
    559 
    560 int	netbsd32_mkdir(struct lwp *, void *, register_t *);
    561 
    562 int	netbsd32_rmdir(struct lwp *, void *, register_t *);
    563 
    564 int	netbsd32_dup(struct lwp *, void *, register_t *);
    565 
    566 int	linux32_sys_pipe(struct lwp *, void *, register_t *);
    567 
    568 int	linux32_sys_times(struct lwp *, void *, register_t *);
    569 
    570 int	linux32_sys_brk(struct lwp *, void *, register_t *);
    571 
    572 int	netbsd32_setgid(struct lwp *, void *, register_t *);
    573 
    574 int	sys_getgid(struct lwp *, void *, register_t *);
    575 
    576 int	linux32_sys_signal(struct lwp *, void *, register_t *);
    577 
    578 int	sys_geteuid(struct lwp *, void *, register_t *);
    579 
    580 int	sys_getegid(struct lwp *, void *, register_t *);
    581 
    582 int	netbsd32_acct(struct lwp *, void *, register_t *);
    583 
    584 int	linux32_sys_ioctl(struct lwp *, void *, register_t *);
    585 
    586 int	linux32_sys_fcntl(struct lwp *, void *, register_t *);
    587 
    588 int	netbsd32_setpgid(struct lwp *, void *, register_t *);
    589 
    590 int	linux32_sys_oldolduname(struct lwp *, void *, register_t *);
    591 
    592 int	netbsd32_umask(struct lwp *, void *, register_t *);
    593 
    594 int	netbsd32_chroot(struct lwp *, void *, register_t *);
    595 
    596 int	netbsd32_dup2(struct lwp *, void *, register_t *);
    597 
    598 int	linux_sys_getppid(struct lwp *, void *, register_t *);
    599 
    600 int	sys_getpgrp(struct lwp *, void *, register_t *);
    601 
    602 int	sys_setsid(struct lwp *, void *, register_t *);
    603 
    604 int	linux32_sys_setreuid16(struct lwp *, void *, register_t *);
    605 
    606 int	linux32_sys_setregid16(struct lwp *, void *, register_t *);
    607 
    608 int	compat_43_netbsd32_osethostname(struct lwp *, void *, register_t *);
    609 
    610 int	linux32_sys_setrlimit(struct lwp *, void *, register_t *);
    611 
    612 int	linux32_sys_getrlimit(struct lwp *, void *, register_t *);
    613 
    614 int	netbsd32_getrusage(struct lwp *, void *, register_t *);
    615 
    616 int	linux32_sys_gettimeofday(struct lwp *, void *, register_t *);
    617 
    618 int	linux32_sys_settimeofday(struct lwp *, void *, register_t *);
    619 
    620 int	linux32_sys_getgroups16(struct lwp *, void *, register_t *);
    621 
    622 int	linux32_sys_setgroups16(struct lwp *, void *, register_t *);
    623 
    624 int	linux32_sys_oldselect(struct lwp *, void *, register_t *);
    625 
    626 int	netbsd32_symlink(struct lwp *, void *, register_t *);
    627 
    628 int	compat_43_netbsd32_lstat43(struct lwp *, void *, register_t *);
    629 
    630 int	linux32_sys_readlink(struct lwp *, void *, register_t *);
    631 
    632 int	linux32_sys_swapon(struct lwp *, void *, register_t *);
    633 
    634 int	linux32_sys_reboot(struct lwp *, void *, register_t *);
    635 
    636 int	linux32_sys_old_mmap(struct lwp *, void *, register_t *);
    637 
    638 int	netbsd32_munmap(struct lwp *, void *, register_t *);
    639 
    640 int	linux32_sys_truncate(struct lwp *, void *, register_t *);
    641 
    642 int	compat_43_netbsd32_oftruncate(struct lwp *, void *, register_t *);
    643 
    644 int	netbsd32_fchmod(struct lwp *, void *, register_t *);
    645 
    646 int	linux32_sys_fchown16(struct lwp *, void *, register_t *);
    647 
    648 int	linux32_sys_getpriority(struct lwp *, void *, register_t *);
    649 
    650 int	linux32_sys_setpriority(struct lwp *, void *, register_t *);
    651 
    652 int	linux32_sys_statfs(struct lwp *, void *, register_t *);
    653 
    654 int	linux32_sys_socketcall(struct lwp *, void *, register_t *);
    655 
    656 int	netbsd32_setitimer(struct lwp *, void *, register_t *);
    657 
    658 int	netbsd32_getitimer(struct lwp *, void *, register_t *);
    659 
    660 int	linux32_sys_wait4(struct lwp *, void *, register_t *);
    661 
    662 int	linux32_sys_swapoff(struct lwp *, void *, register_t *);
    663 
    664 int	linux32_sys_sysinfo(struct lwp *, void *, register_t *);
    665 
    666 int	netbsd32_fsync(struct lwp *, void *, register_t *);
    667 
    668 int	linux32_sys_sigreturn(struct lwp *, void *, register_t *);
    669 
    670 int	linux32_sys_clone(struct lwp *, void *, register_t *);
    671 
    672 int	linux32_sys_uname(struct lwp *, void *, register_t *);
    673 
    674 int	linux32_sys_mprotect(struct lwp *, void *, register_t *);
    675 
    676 int	netbsd32_fchdir(struct lwp *, void *, register_t *);
    677 
    678 int	linux32_sys_setfsuid(struct lwp *, void *, register_t *);
    679 
    680 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
    681 
    682 int	linux32_sys_llseek(struct lwp *, void *, register_t *);
    683 
    684 int	linux32_sys_getdents(struct lwp *, void *, register_t *);
    685 
    686 int	linux32_sys_select(struct lwp *, void *, register_t *);
    687 
    688 int	netbsd32_flock(struct lwp *, void *, register_t *);
    689 
    690 int	netbsd32_readv(struct lwp *, void *, register_t *);
    691 
    692 int	netbsd32_writev(struct lwp *, void *, register_t *);
    693 
    694 int	netbsd32_getsid(struct lwp *, void *, register_t *);
    695 
    696 int	linux32_sys_fdatasync(struct lwp *, void *, register_t *);
    697 
    698 int	linux32_sys___sysctl(struct lwp *, void *, register_t *);
    699 
    700 int	netbsd32_mlockall(struct lwp *, void *, register_t *);
    701 
    702 int	sys_munlockall(struct lwp *, void *, register_t *);
    703 
    704 int	linux32_sys_sched_getparam(struct lwp *, void *, register_t *);
    705 
    706 int	linux32_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    707 
    708 int	linux32_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    709 
    710 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
    711 
    712 int	netbsd32_nanosleep(struct lwp *, void *, register_t *);
    713 
    714 int	linux32_sys_mremap(struct lwp *, void *, register_t *);
    715 
    716 int	linux32_sys_setresuid16(struct lwp *, void *, register_t *);
    717 
    718 int	netbsd32_poll(struct lwp *, void *, register_t *);
    719 
    720 int	linux32_sys_setresgid16(struct lwp *, void *, register_t *);
    721 
    722 int	linux32_sys_rt_sigreturn(struct lwp *, void *, register_t *);
    723 
    724 int	linux32_sys_rt_sigaction(struct lwp *, void *, register_t *);
    725 
    726 int	linux32_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
    727 
    728 int	linux32_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
    729 
    730 int	linux32_sys_chown16(struct lwp *, void *, register_t *);
    731 
    732 int	netbsd32___getcwd(struct lwp *, void *, register_t *);
    733 
    734 int	sys___vfork14(struct lwp *, void *, register_t *);
    735 
    736 int	linux32_sys_ugetrlimit(struct lwp *, void *, register_t *);
    737 
    738 int	linux32_sys_mmap2(struct lwp *, void *, register_t *);
    739 
    740 int	linux32_sys_stat64(struct lwp *, void *, register_t *);
    741 
    742 int	linux32_sys_lstat64(struct lwp *, void *, register_t *);
    743 
    744 int	linux32_sys_fstat64(struct lwp *, void *, register_t *);
    745 
    746 int	netbsd32___posix_lchown(struct lwp *, void *, register_t *);
    747 
    748 int	netbsd32_setreuid(struct lwp *, void *, register_t *);
    749 
    750 int	netbsd32_setregid(struct lwp *, void *, register_t *);
    751 
    752 int	netbsd32_getgroups(struct lwp *, void *, register_t *);
    753 
    754 int	netbsd32_setgroups(struct lwp *, void *, register_t *);
    755 
    756 int	netbsd32___posix_fchown(struct lwp *, void *, register_t *);
    757 
    758 int	linux32_sys_setresuid(struct lwp *, void *, register_t *);
    759 
    760 int	linux32_sys_setresgid(struct lwp *, void *, register_t *);
    761 
    762 int	netbsd32___posix_chown(struct lwp *, void *, register_t *);
    763 
    764 int	netbsd32_madvise(struct lwp *, void *, register_t *);
    765 
    766 int	linux32_sys_getdents64(struct lwp *, void *, register_t *);
    767 
    768 int	linux32_sys_fcntl64(struct lwp *, void *, register_t *);
    769 
    770 int	linux_sys_gettid(struct lwp *, void *, register_t *);
    771 
    772 int	linux32_sys_exit_group(struct lwp *, void *, register_t *);
    773 
    774 #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
    775