4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.19 2009/01/13 22:27:44 pooka Exp
10 #ifndef _SVR4_32_SYS_SYSCALLARGS_H_
11 #define _SVR4_32_SYS_SYSCALLARGS_H_
13 #define SVR4_32_SYS_MAXSYSARGS 8
16 #define syscallarg(x) \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register32_t) < sizeof (x)) \
24 : sizeof (register32_t) - sizeof (x)]; \
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= SVR4_32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
34 struct netbsd32_exit_args
;
36 struct netbsd32_read_args
;
38 struct netbsd32_write_args
;
40 struct svr4_32_sys_open_args
{
41 syscallarg(netbsd32_charp
) path
;
42 syscallarg(int) flags
;
45 check_syscall_args(svr4_32_sys_open
)
47 struct netbsd32_close_args
;
49 struct svr4_32_sys_wait_args
{
50 syscallarg(netbsd32_intp
) status
;
52 check_syscall_args(svr4_32_sys_wait
)
54 struct svr4_32_sys_creat_args
{
55 syscallarg(netbsd32_charp
) path
;
58 check_syscall_args(svr4_32_sys_creat
)
60 struct netbsd32_link_args
;
62 struct netbsd32_unlink_args
;
64 struct svr4_32_sys_execv_args
{
65 syscallarg(netbsd32_charp
) path
;
66 syscallarg(netbsd32_charpp
) argp
;
68 check_syscall_args(svr4_32_sys_execv
)
70 struct netbsd32_chdir_args
;
72 struct svr4_32_sys_time_args
{
73 syscallarg(svr4_32_time_tp
) t
;
75 check_syscall_args(svr4_32_sys_time
)
77 struct svr4_32_sys_mknod_args
{
78 syscallarg(netbsd32_charp
) path
;
82 check_syscall_args(svr4_32_sys_mknod
)
84 struct netbsd32_chmod_args
;
86 struct netbsd32___posix_chown_args
;
88 struct svr4_32_sys_break_args
{
89 syscallarg(netbsd32_caddr_t
) nsize
;
91 check_syscall_args(svr4_32_sys_break
)
93 struct svr4_32_sys_stat_args
{
94 syscallarg(netbsd32_charp
) path
;
95 syscallarg(svr4_32_statp
) ub
;
97 check_syscall_args(svr4_32_sys_stat
)
99 struct compat_43_netbsd32_olseek_args
;
101 struct netbsd32_setuid_args
;
103 struct svr4_32_sys_alarm_args
{
104 syscallarg(unsigned) sec
;
106 check_syscall_args(svr4_32_sys_alarm
)
108 struct svr4_32_sys_fstat_args
{
110 syscallarg(svr4_32_statp
) sb
;
112 check_syscall_args(svr4_32_sys_fstat
)
114 struct svr4_32_sys_utime_args
{
115 syscallarg(netbsd32_charp
) path
;
116 syscallarg(svr4_32_utimbufp
) ubuf
;
118 check_syscall_args(svr4_32_sys_utime
)
120 struct svr4_32_sys_access_args
{
121 syscallarg(netbsd32_charp
) path
;
122 syscallarg(int) flags
;
124 check_syscall_args(svr4_32_sys_access
)
126 struct svr4_32_sys_nice_args
{
127 syscallarg(int) prio
;
129 check_syscall_args(svr4_32_sys_nice
)
131 struct svr4_32_sys_kill_args
{
133 syscallarg(int) signum
;
135 check_syscall_args(svr4_32_sys_kill
)
137 struct svr4_32_sys_pgrpsys_args
{
140 syscallarg(int) pgid
;
142 check_syscall_args(svr4_32_sys_pgrpsys
)
144 struct netbsd32_dup_args
;
146 struct svr4_32_sys_times_args
{
147 syscallarg(svr4_32_tms_tp
) tp
;
149 check_syscall_args(svr4_32_sys_times
)
151 struct netbsd32_setgid_args
;
153 struct svr4_32_sys_signal_args
{
154 syscallarg(int) signum
;
155 syscallarg(svr4_sig_t
) handler
;
157 check_syscall_args(svr4_32_sys_signal
)
160 struct svr4_32_sys_msgsys_args
{
161 syscallarg(int) what
;
167 check_syscall_args(svr4_32_sys_msgsys
)
171 struct svr4_32_sys_sysarch_args
{
173 syscallarg(netbsd32_voidp
) a1
;
175 check_syscall_args(svr4_32_sys_sysarch
)
178 struct svr4_32_sys_shmsys_args
{
179 syscallarg(int) what
;
184 check_syscall_args(svr4_32_sys_shmsys
)
189 struct svr4_32_sys_semsys_args
{
190 syscallarg(int) what
;
196 check_syscall_args(svr4_32_sys_semsys
)
200 struct svr4_32_sys_ioctl_args
{
202 syscallarg(netbsd32_u_long
) com
;
203 syscallarg(netbsd32_caddr_t
) data
;
205 check_syscall_args(svr4_32_sys_ioctl
)
207 struct svr4_32_sys_utssys_args
{
208 syscallarg(netbsd32_voidp
) a1
;
209 syscallarg(netbsd32_voidp
) a2
;
211 syscallarg(netbsd32_voidp
) a3
;
213 check_syscall_args(svr4_32_sys_utssys
)
215 struct netbsd32_fsync_args
;
217 struct netbsd32_execve_args
;
219 struct netbsd32_umask_args
;
221 struct netbsd32_chroot_args
;
223 struct svr4_32_sys_fcntl_args
{
226 syscallarg(netbsd32_charp
) arg
;
228 check_syscall_args(svr4_32_sys_fcntl
)
230 struct svr4_32_sys_ulimit_args
{
232 syscallarg(netbsd32_long
) newlimit
;
234 check_syscall_args(svr4_32_sys_ulimit
)
236 struct netbsd32_rmdir_args
;
238 struct netbsd32_mkdir_args
;
240 struct svr4_32_sys_getdents_args
{
242 syscallarg(netbsd32_charp
) buf
;
243 syscallarg(int) nbytes
;
245 check_syscall_args(svr4_32_sys_getdents
)
247 struct svr4_32_sys_getmsg_args
{
249 syscallarg(svr4_32_strbuf_tp
) ctl
;
250 syscallarg(svr4_32_strbuf_tp
) dat
;
251 syscallarg(netbsd32_intp
) flags
;
253 check_syscall_args(svr4_32_sys_getmsg
)
255 struct svr4_32_sys_putmsg_args
{
257 syscallarg(svr4_32_strbuf_tp
) ctl
;
258 syscallarg(svr4_32_strbuf_tp
) dat
;
259 syscallarg(int) flags
;
261 check_syscall_args(svr4_32_sys_putmsg
)
263 struct netbsd32_poll_args
;
265 struct svr4_32_sys_lstat_args
{
266 syscallarg(netbsd32_charp
) path
;
267 syscallarg(svr4_32_stat_tp
) ub
;
269 check_syscall_args(svr4_32_sys_lstat
)
271 struct netbsd32_symlink_args
;
273 struct netbsd32_readlink_args
;
275 struct netbsd32_getgroups_args
;
277 struct netbsd32_setgroups_args
;
279 struct netbsd32_fchmod_args
;
281 struct netbsd32___posix_fchown_args
;
283 struct svr4_32_sys_sigprocmask_args
{
285 syscallarg(svr4_32_sigset_tp
) set
;
286 syscallarg(svr4_32_sigset_tp
) oset
;
288 check_syscall_args(svr4_32_sys_sigprocmask
)
290 struct svr4_32_sys_sigsuspend_args
{
291 syscallarg(svr4_32_sigset_tp
) set
;
293 check_syscall_args(svr4_32_sys_sigsuspend
)
295 struct svr4_32_sys_sigaltstack_args
{
296 syscallarg(svr4_32_sigaltstack_tp
) nss
;
297 syscallarg(svr4_32_sigaltstack_tp
) oss
;
299 check_syscall_args(svr4_32_sys_sigaltstack
)
301 struct svr4_32_sys_sigaction_args
{
302 syscallarg(int) signum
;
303 syscallarg(svr4_32_sigaction_tp
) nsa
;
304 syscallarg(svr4_32_sigaction_tp
) osa
;
306 check_syscall_args(svr4_32_sys_sigaction
)
308 struct svr4_32_sys_sigpending_args
{
309 syscallarg(int) what
;
310 syscallarg(svr4_32_sigset_tp
) set
;
312 check_syscall_args(svr4_32_sys_sigpending
)
314 struct svr4_32_sys_context_args
{
315 syscallarg(int) func
;
316 syscallarg(svr4_32_ucontext_tp
) uc
;
318 check_syscall_args(svr4_32_sys_context
)
320 struct svr4_32_sys_statvfs_args
{
321 syscallarg(netbsd32_charp
) path
;
322 syscallarg(svr4_32_statvfs_tp
) fs
;
324 check_syscall_args(svr4_32_sys_statvfs
)
326 struct svr4_32_sys_fstatvfs_args
{
328 syscallarg(svr4_32_statvfs_tp
) fs
;
330 check_syscall_args(svr4_32_sys_fstatvfs
)
332 struct svr4_32_sys_waitsys_args
{
335 syscallarg(svr4_32_siginfo_tp
) info
;
336 syscallarg(int) options
;
338 check_syscall_args(svr4_32_sys_waitsys
)
340 struct svr4_32_sys_hrtsys_args
{
344 syscallarg(netbsd32_voidp
) rv1
;
345 syscallarg(netbsd32_voidp
) rv2
;
347 check_syscall_args(svr4_32_sys_hrtsys
)
349 struct svr4_32_sys_pathconf_args
{
350 syscallarg(netbsd32_charp
) path
;
351 syscallarg(int) name
;
353 check_syscall_args(svr4_32_sys_pathconf
)
355 struct svr4_32_sys_mmap_args
{
356 syscallarg(netbsd32_voidp
) addr
;
357 syscallarg(svr4_32_size_t
) len
;
358 syscallarg(int) prot
;
359 syscallarg(int) flags
;
361 syscallarg(svr4_32_off_t
) pos
;
363 check_syscall_args(svr4_32_sys_mmap
)
365 struct netbsd32_mprotect_args
;
367 struct netbsd32_munmap_args
;
369 struct svr4_32_sys_fpathconf_args
{
371 syscallarg(int) name
;
373 check_syscall_args(svr4_32_sys_fpathconf
)
375 struct netbsd32_fchdir_args
;
377 struct netbsd32_readv_args
;
379 struct netbsd32_writev_args
;
381 struct svr4_32_sys_xstat_args
{
383 syscallarg(netbsd32_charp
) path
;
384 syscallarg(svr4_32_xstat_tp
) ub
;
386 check_syscall_args(svr4_32_sys_xstat
)
388 struct svr4_32_sys_lxstat_args
{
390 syscallarg(netbsd32_charp
) path
;
391 syscallarg(svr4_32_xstat_tp
) ub
;
393 check_syscall_args(svr4_32_sys_lxstat
)
395 struct svr4_32_sys_fxstat_args
{
398 syscallarg(svr4_32_xstat_tp
) sb
;
400 check_syscall_args(svr4_32_sys_fxstat
)
402 struct svr4_32_sys_xmknod_args
{
404 syscallarg(netbsd32_charp
) path
;
405 syscallarg(svr4_32_mode_t
) mode
;
406 syscallarg(svr4_dev_t
) dev
;
408 check_syscall_args(svr4_32_sys_xmknod
)
410 struct svr4_32_sys_setrlimit_args
{
411 syscallarg(int) which
;
412 syscallarg(svr4_32_rlimit_tp
) rlp
;
414 check_syscall_args(svr4_32_sys_setrlimit
)
416 struct svr4_32_sys_getrlimit_args
{
417 syscallarg(int) which
;
418 syscallarg(svr4_32_rlimit_tp
) rlp
;
420 check_syscall_args(svr4_32_sys_getrlimit
)
422 struct netbsd32_lchown_args
;
424 struct svr4_32_sys_memcntl_args
{
425 syscallarg(netbsd32_voidp
) addr
;
426 syscallarg(svr4_32_size_t
) len
;
428 syscallarg(netbsd32_voidp
) arg
;
429 syscallarg(int) attr
;
430 syscallarg(int) mask
;
432 check_syscall_args(svr4_32_sys_memcntl
)
434 struct netbsd32___posix_rename_args
;
436 struct svr4_32_sys_uname_args
{
437 syscallarg(svr4_32_utsnamep
) name
;
438 syscallarg(int) dummy
;
440 check_syscall_args(svr4_32_sys_uname
)
442 struct netbsd32_setegid_args
;
444 struct svr4_32_sys_sysconfig_args
{
445 syscallarg(int) name
;
447 check_syscall_args(svr4_32_sys_sysconfig
)
449 struct compat_50_netbsd32_adjtime_args
;
451 struct svr4_32_sys_systeminfo_args
{
452 syscallarg(int) what
;
453 syscallarg(netbsd32_charp
) buf
;
454 syscallarg(netbsd32_long
) len
;
456 check_syscall_args(svr4_32_sys_systeminfo
)
458 struct netbsd32_seteuid_args
;
460 struct svr4_32_sys__lwp_info_args
{
461 syscallarg(svr4_32_lwpinfop
) lwpinfo
;
463 check_syscall_args(svr4_32_sys__lwp_info
)
465 struct netbsd32_fchroot_args
;
467 struct svr4_32_sys_utimes_args
{
468 syscallarg(netbsd32_charp
) path
;
469 syscallarg(netbsd32_timevalp_t
) tptr
;
471 check_syscall_args(svr4_32_sys_utimes
)
473 struct svr4_32_sys_gettimeofday_args
{
474 syscallarg(netbsd32_timevalp_t
) tp
;
476 check_syscall_args(svr4_32_sys_gettimeofday
)
478 struct compat_50_netbsd32_getitimer_args
;
480 struct compat_50_netbsd32_setitimer_args
;
482 struct svr4_32_sys__lwp_create_args
{
483 syscallarg(svr4_32_ucontext_tp
) uc
;
484 syscallarg(netbsd32_u_long
) flags
;
485 syscallarg(svr4_32_lwpid_tp
) lwpid
;
487 check_syscall_args(svr4_32_sys__lwp_create
)
489 struct svr4_32_sys__lwp_suspend_args
{
490 syscallarg(svr4_lwpid_t
) lwpid
;
492 check_syscall_args(svr4_32_sys__lwp_suspend
)
494 struct svr4_32_sys__lwp_continue_args
{
495 syscallarg(svr4_lwpid_t
) lwpid
;
497 check_syscall_args(svr4_32_sys__lwp_continue
)
499 struct svr4_32_sys__lwp_kill_args
{
500 syscallarg(svr4_lwpid_t
) lwpid
;
501 syscallarg(int) signum
;
503 check_syscall_args(svr4_32_sys__lwp_kill
)
505 struct svr4_32_sys__lwp_setprivate_args
{
506 syscallarg(netbsd32_voidp
) buffer
;
508 check_syscall_args(svr4_32_sys__lwp_setprivate
)
510 struct svr4_32_sys__lwp_wait_args
{
511 syscallarg(svr4_lwpid_t
) wait_for
;
512 syscallarg(svr4_32_lwpid_tp
) departed_lwp
;
514 check_syscall_args(svr4_32_sys__lwp_wait
)
516 struct svr4_32_sys_pread_args
{
518 syscallarg(netbsd32_voidp
) buf
;
519 syscallarg(netbsd32_size_t
) nbyte
;
520 syscallarg(svr4_32_off_t
) off
;
522 check_syscall_args(svr4_32_sys_pread
)
524 struct svr4_32_sys_pwrite_args
{
526 syscallarg(netbsd32_voidp
) buf
;
527 syscallarg(netbsd32_size_t
) nbyte
;
528 syscallarg(svr4_32_off_t
) off
;
530 check_syscall_args(svr4_32_sys_pwrite
)
532 struct svr4_32_sys_llseek_args
{
534 syscallarg(netbsd32_long
) offset1
;
535 syscallarg(netbsd32_long
) offset2
;
536 syscallarg(int) whence
;
538 check_syscall_args(svr4_32_sys_llseek
)
540 struct svr4_32_sys_acl_args
{
541 syscallarg(netbsd32_charp
) path
;
544 syscallarg(svr4_32_aclent_tp
) buf
;
546 check_syscall_args(svr4_32_sys_acl
)
548 struct svr4_32_sys_auditsys_args
{
549 syscallarg(int) code
;
556 check_syscall_args(svr4_32_sys_auditsys
)
558 struct compat_50_netbsd32_nanosleep_args
;
560 struct svr4_32_sys_facl_args
{
564 syscallarg(svr4_32_aclent_tp
) buf
;
566 check_syscall_args(svr4_32_sys_facl
)
568 struct netbsd32_setreuid_args
;
570 struct netbsd32_setregid_args
;
572 struct svr4_32_sys_schedctl_args
{
573 syscallarg(unsigned int) x
;
575 syscallarg(void **) z
;
577 check_syscall_args(svr4_32_sys_schedctl
)
579 struct svr4_32_sys_resolvepath_args
{
580 syscallarg(netbsd32_charp
) path
;
581 syscallarg(netbsd32_charp
) buf
;
582 syscallarg(netbsd32_size_t
) bufsiz
;
584 check_syscall_args(svr4_32_sys_resolvepath
)
586 struct svr4_32_sys_getdents64_args
{
588 syscallarg(svr4_32_dirent64_tp
) dp
;
589 syscallarg(int) nbytes
;
591 check_syscall_args(svr4_32_sys_getdents64
)
593 struct svr4_32_sys_mmap64_args
{
594 syscallarg(netbsd32_voidp
) addr
;
595 syscallarg(svr4_32_size_t
) len
;
596 syscallarg(int) prot
;
597 syscallarg(int) flags
;
599 syscallarg(svr4_32_off64_t
) pos
;
601 check_syscall_args(svr4_32_sys_mmap64
)
603 struct svr4_32_sys_stat64_args
{
604 syscallarg(netbsd32_charp
) path
;
605 syscallarg(svr4_32_stat64_tp
) sb
;
607 check_syscall_args(svr4_32_sys_stat64
)
609 struct svr4_32_sys_lstat64_args
{
610 syscallarg(netbsd32_charp
) path
;
611 syscallarg(svr4_32_stat64_tp
) sb
;
613 check_syscall_args(svr4_32_sys_lstat64
)
615 struct svr4_32_sys_fstat64_args
{
617 syscallarg(svr4_32_stat64_tp
) sb
;
619 check_syscall_args(svr4_32_sys_fstat64
)
621 struct svr4_32_sys_statvfs64_args
{
622 syscallarg(netbsd32_charp
) path
;
623 syscallarg(svr4_32_statvfs64_tp
) fs
;
625 check_syscall_args(svr4_32_sys_statvfs64
)
627 struct svr4_32_sys_fstatvfs64_args
{
629 syscallarg(svr4_32_statvfs64_tp
) fs
;
631 check_syscall_args(svr4_32_sys_fstatvfs64
)
633 struct svr4_32_sys_setrlimit64_args
{
634 syscallarg(int) which
;
635 syscallarg(svr4_32_rlimit64_tp
) rlp
;
637 check_syscall_args(svr4_32_sys_setrlimit64
)
639 struct svr4_32_sys_getrlimit64_args
{
640 syscallarg(int) which
;
641 syscallarg(svr4_32_rlimit64_tp
) rlp
;
643 check_syscall_args(svr4_32_sys_getrlimit64
)
645 struct svr4_32_sys_pread64_args
{
647 syscallarg(netbsd32_voidp
) buf
;
648 syscallarg(netbsd32_size_t
) nbyte
;
649 syscallarg(svr4_32_off64_t
) off
;
651 check_syscall_args(svr4_32_sys_pread64
)
653 struct svr4_32_sys_pwrite64_args
{
655 syscallarg(netbsd32_voidp
) buf
;
656 syscallarg(netbsd32_size_t
) nbyte
;
657 syscallarg(svr4_32_off64_t
) off
;
659 check_syscall_args(svr4_32_sys_pwrite64
)
660 #define svr4_32_sys_creat64 svr4_32_sys_creat
661 #define svr4_32_sys_creat64_args svr4_32_sys_creat_args
663 struct svr4_32_sys_creat64_args
;
664 #define svr4_32_sys_open64 svr4_32_sys_open
665 #define svr4_32_sys_open64_args svr4_32_sys_open_args
667 struct svr4_32_sys_open64_args
;
669 struct svr4_32_sys_socket_args
{
670 syscallarg(int) domain
;
671 syscallarg(int) type
;
672 syscallarg(int) protocol
;
674 check_syscall_args(svr4_32_sys_socket
)
676 struct netbsd32_socketpair_args
;
678 struct netbsd32_bind_args
;
680 struct netbsd32_listen_args
;
682 struct compat_43_netbsd32_oaccept_args
;
684 struct netbsd32_connect_args
;
686 struct netbsd32_shutdown_args
;
688 struct compat_43_netbsd32_orecv_args
;
690 struct compat_43_netbsd32_orecvfrom_args
;
692 struct compat_43_netbsd32_orecvmsg_args
;
694 struct compat_43_netbsd32_osend_args
;
696 struct compat_43_netbsd32_osendmsg_args
;
698 struct netbsd32_sendto_args
;
700 struct compat_43_netbsd32_ogetpeername_args
;
702 struct compat_43_netbsd32_ogetsockname_args
;
704 struct netbsd32_getsockopt_args
;
706 struct netbsd32_setsockopt_args
;
707 #if defined(NTP) || !defined(_KERNEL)
709 struct netbsd32_ntp_adjtime_args
;
714 * System call prototypes.
717 int sys_nosys(struct lwp
*, const void *, register_t
*);
719 int netbsd32_exit(struct lwp
*, const struct netbsd32_exit_args
*, register_t
*);
721 int sys_fork(struct lwp
*, const void *, register_t
*);
723 int netbsd32_read(struct lwp
*, const struct netbsd32_read_args
*, register_t
*);
725 int netbsd32_write(struct lwp
*, const struct netbsd32_write_args
*, register_t
*);
727 int svr4_32_sys_open(struct lwp
*, const struct svr4_32_sys_open_args
*, register_t
*);
729 int netbsd32_close(struct lwp
*, const struct netbsd32_close_args
*, register_t
*);
731 int svr4_32_sys_wait(struct lwp
*, const struct svr4_32_sys_wait_args
*, register_t
*);
733 int svr4_32_sys_creat(struct lwp
*, const struct svr4_32_sys_creat_args
*, register_t
*);
735 int netbsd32_link(struct lwp
*, const struct netbsd32_link_args
*, register_t
*);
737 int netbsd32_unlink(struct lwp
*, const struct netbsd32_unlink_args
*, register_t
*);
739 int svr4_32_sys_execv(struct lwp
*, const struct svr4_32_sys_execv_args
*, register_t
*);
741 int netbsd32_chdir(struct lwp
*, const struct netbsd32_chdir_args
*, register_t
*);
743 int svr4_32_sys_time(struct lwp
*, const struct svr4_32_sys_time_args
*, register_t
*);
745 int svr4_32_sys_mknod(struct lwp
*, const struct svr4_32_sys_mknod_args
*, register_t
*);
747 int netbsd32_chmod(struct lwp
*, const struct netbsd32_chmod_args
*, register_t
*);
749 int netbsd32___posix_chown(struct lwp
*, const struct netbsd32___posix_chown_args
*, register_t
*);
751 int svr4_32_sys_break(struct lwp
*, const struct svr4_32_sys_break_args
*, register_t
*);
753 int svr4_32_sys_stat(struct lwp
*, const struct svr4_32_sys_stat_args
*, register_t
*);
755 int compat_43_netbsd32_olseek(struct lwp
*, const struct compat_43_netbsd32_olseek_args
*, register_t
*);
757 int sys_getpid(struct lwp
*, const void *, register_t
*);
759 int netbsd32_setuid(struct lwp
*, const struct netbsd32_setuid_args
*, register_t
*);
761 int sys_getuid_with_euid(struct lwp
*, const void *, register_t
*);
763 int svr4_32_sys_alarm(struct lwp
*, const struct svr4_32_sys_alarm_args
*, register_t
*);
765 int svr4_32_sys_fstat(struct lwp
*, const struct svr4_32_sys_fstat_args
*, register_t
*);
767 int svr4_32_sys_pause(struct lwp
*, const void *, register_t
*);
769 int svr4_32_sys_utime(struct lwp
*, const struct svr4_32_sys_utime_args
*, register_t
*);
771 int svr4_32_sys_access(struct lwp
*, const struct svr4_32_sys_access_args
*, register_t
*);
773 int svr4_32_sys_nice(struct lwp
*, const struct svr4_32_sys_nice_args
*, register_t
*);
775 int sys_sync(struct lwp
*, const void *, register_t
*);
777 int svr4_32_sys_kill(struct lwp
*, const struct svr4_32_sys_kill_args
*, register_t
*);
779 int svr4_32_sys_pgrpsys(struct lwp
*, const struct svr4_32_sys_pgrpsys_args
*, register_t
*);
781 int netbsd32_dup(struct lwp
*, const struct netbsd32_dup_args
*, register_t
*);
783 int sys_pipe(struct lwp
*, const void *, register_t
*);
785 int svr4_32_sys_times(struct lwp
*, const struct svr4_32_sys_times_args
*, register_t
*);
787 int netbsd32_setgid(struct lwp
*, const struct netbsd32_setgid_args
*, register_t
*);
789 int sys_getgid_with_egid(struct lwp
*, const void *, register_t
*);
791 int svr4_32_sys_signal(struct lwp
*, const struct svr4_32_sys_signal_args
*, register_t
*);
794 int svr4_32_sys_msgsys(struct lwp
*, const struct svr4_32_sys_msgsys_args
*, register_t
*);
798 int svr4_32_sys_sysarch(struct lwp
*, const struct svr4_32_sys_sysarch_args
*, register_t
*);
801 int svr4_32_sys_shmsys(struct lwp
*, const struct svr4_32_sys_shmsys_args
*, register_t
*);
806 int svr4_32_sys_semsys(struct lwp
*, const struct svr4_32_sys_semsys_args
*, register_t
*);
810 int svr4_32_sys_ioctl(struct lwp
*, const struct svr4_32_sys_ioctl_args
*, register_t
*);
812 int svr4_32_sys_utssys(struct lwp
*, const struct svr4_32_sys_utssys_args
*, register_t
*);
814 int netbsd32_fsync(struct lwp
*, const struct netbsd32_fsync_args
*, register_t
*);
816 int netbsd32_execve(struct lwp
*, const struct netbsd32_execve_args
*, register_t
*);
818 int netbsd32_umask(struct lwp
*, const struct netbsd32_umask_args
*, register_t
*);
820 int netbsd32_chroot(struct lwp
*, const struct netbsd32_chroot_args
*, register_t
*);
822 int svr4_32_sys_fcntl(struct lwp
*, const struct svr4_32_sys_fcntl_args
*, register_t
*);
824 int svr4_32_sys_ulimit(struct lwp
*, const struct svr4_32_sys_ulimit_args
*, register_t
*);
826 int netbsd32_rmdir(struct lwp
*, const struct netbsd32_rmdir_args
*, register_t
*);
828 int netbsd32_mkdir(struct lwp
*, const struct netbsd32_mkdir_args
*, register_t
*);
830 int svr4_32_sys_getdents(struct lwp
*, const struct svr4_32_sys_getdents_args
*, register_t
*);
832 int svr4_32_sys_getmsg(struct lwp
*, const struct svr4_32_sys_getmsg_args
*, register_t
*);
834 int svr4_32_sys_putmsg(struct lwp
*, const struct svr4_32_sys_putmsg_args
*, register_t
*);
836 int netbsd32_poll(struct lwp
*, const struct netbsd32_poll_args
*, register_t
*);
838 int svr4_32_sys_lstat(struct lwp
*, const struct svr4_32_sys_lstat_args
*, register_t
*);
840 int netbsd32_symlink(struct lwp
*, const struct netbsd32_symlink_args
*, register_t
*);
842 int netbsd32_readlink(struct lwp
*, const struct netbsd32_readlink_args
*, register_t
*);
844 int netbsd32_getgroups(struct lwp
*, const struct netbsd32_getgroups_args
*, register_t
*);
846 int netbsd32_setgroups(struct lwp
*, const struct netbsd32_setgroups_args
*, register_t
*);
848 int netbsd32_fchmod(struct lwp
*, const struct netbsd32_fchmod_args
*, register_t
*);
850 int netbsd32___posix_fchown(struct lwp
*, const struct netbsd32___posix_fchown_args
*, register_t
*);
852 int svr4_32_sys_sigprocmask(struct lwp
*, const struct svr4_32_sys_sigprocmask_args
*, register_t
*);
854 int svr4_32_sys_sigsuspend(struct lwp
*, const struct svr4_32_sys_sigsuspend_args
*, register_t
*);
856 int svr4_32_sys_sigaltstack(struct lwp
*, const struct svr4_32_sys_sigaltstack_args
*, register_t
*);
858 int svr4_32_sys_sigaction(struct lwp
*, const struct svr4_32_sys_sigaction_args
*, register_t
*);
860 int svr4_32_sys_sigpending(struct lwp
*, const struct svr4_32_sys_sigpending_args
*, register_t
*);
862 int svr4_32_sys_context(struct lwp
*, const struct svr4_32_sys_context_args
*, register_t
*);
864 int svr4_32_sys_statvfs(struct lwp
*, const struct svr4_32_sys_statvfs_args
*, register_t
*);
866 int svr4_32_sys_fstatvfs(struct lwp
*, const struct svr4_32_sys_fstatvfs_args
*, register_t
*);
868 int svr4_32_sys_waitsys(struct lwp
*, const struct svr4_32_sys_waitsys_args
*, register_t
*);
870 int svr4_32_sys_hrtsys(struct lwp
*, const struct svr4_32_sys_hrtsys_args
*, register_t
*);
872 int svr4_32_sys_pathconf(struct lwp
*, const struct svr4_32_sys_pathconf_args
*, register_t
*);
874 int svr4_32_sys_mmap(struct lwp
*, const struct svr4_32_sys_mmap_args
*, register_t
*);
876 int netbsd32_mprotect(struct lwp
*, const struct netbsd32_mprotect_args
*, register_t
*);
878 int netbsd32_munmap(struct lwp
*, const struct netbsd32_munmap_args
*, register_t
*);
880 int svr4_32_sys_fpathconf(struct lwp
*, const struct svr4_32_sys_fpathconf_args
*, register_t
*);
882 int sys_vfork(struct lwp
*, const void *, register_t
*);
884 int netbsd32_fchdir(struct lwp
*, const struct netbsd32_fchdir_args
*, register_t
*);
886 int netbsd32_readv(struct lwp
*, const struct netbsd32_readv_args
*, register_t
*);
888 int netbsd32_writev(struct lwp
*, const struct netbsd32_writev_args
*, register_t
*);
890 int svr4_32_sys_xstat(struct lwp
*, const struct svr4_32_sys_xstat_args
*, register_t
*);
892 int svr4_32_sys_lxstat(struct lwp
*, const struct svr4_32_sys_lxstat_args
*, register_t
*);
894 int svr4_32_sys_fxstat(struct lwp
*, const struct svr4_32_sys_fxstat_args
*, register_t
*);
896 int svr4_32_sys_xmknod(struct lwp
*, const struct svr4_32_sys_xmknod_args
*, register_t
*);
898 int svr4_32_sys_setrlimit(struct lwp
*, const struct svr4_32_sys_setrlimit_args
*, register_t
*);
900 int svr4_32_sys_getrlimit(struct lwp
*, const struct svr4_32_sys_getrlimit_args
*, register_t
*);
902 int netbsd32_lchown(struct lwp
*, const struct netbsd32_lchown_args
*, register_t
*);
904 int svr4_32_sys_memcntl(struct lwp
*, const struct svr4_32_sys_memcntl_args
*, register_t
*);
906 int netbsd32___posix_rename(struct lwp
*, const struct netbsd32___posix_rename_args
*, register_t
*);
908 int svr4_32_sys_uname(struct lwp
*, const struct svr4_32_sys_uname_args
*, register_t
*);
910 int netbsd32_setegid(struct lwp
*, const struct netbsd32_setegid_args
*, register_t
*);
912 int svr4_32_sys_sysconfig(struct lwp
*, const struct svr4_32_sys_sysconfig_args
*, register_t
*);
914 int compat_50_netbsd32_adjtime(struct lwp
*, const struct compat_50_netbsd32_adjtime_args
*, register_t
*);
916 int svr4_32_sys_systeminfo(struct lwp
*, const struct svr4_32_sys_systeminfo_args
*, register_t
*);
918 int netbsd32_seteuid(struct lwp
*, const struct netbsd32_seteuid_args
*, register_t
*);
920 int svr4_32_sys__lwp_info(struct lwp
*, const struct svr4_32_sys__lwp_info_args
*, register_t
*);
922 int netbsd32_fchroot(struct lwp
*, const struct netbsd32_fchroot_args
*, register_t
*);
924 int svr4_32_sys_utimes(struct lwp
*, const struct svr4_32_sys_utimes_args
*, register_t
*);
926 int svr4_32_sys_vhangup(struct lwp
*, const void *, register_t
*);
928 int svr4_32_sys_gettimeofday(struct lwp
*, const struct svr4_32_sys_gettimeofday_args
*, register_t
*);
930 int compat_50_netbsd32_getitimer(struct lwp
*, const struct compat_50_netbsd32_getitimer_args
*, register_t
*);
932 int compat_50_netbsd32_setitimer(struct lwp
*, const struct compat_50_netbsd32_setitimer_args
*, register_t
*);
934 int svr4_32_sys__lwp_create(struct lwp
*, const struct svr4_32_sys__lwp_create_args
*, register_t
*);
936 int svr4_32_sys__lwp_exit(struct lwp
*, const void *, register_t
*);
938 int svr4_32_sys__lwp_suspend(struct lwp
*, const struct svr4_32_sys__lwp_suspend_args
*, register_t
*);
940 int svr4_32_sys__lwp_continue(struct lwp
*, const struct svr4_32_sys__lwp_continue_args
*, register_t
*);
942 int svr4_32_sys__lwp_kill(struct lwp
*, const struct svr4_32_sys__lwp_kill_args
*, register_t
*);
944 int svr4_sys__lwp_self(struct lwp
*, const void *, register_t
*);
946 int svr4_32_sys__lwp_getprivate(struct lwp
*, const void *, register_t
*);
948 int svr4_32_sys__lwp_setprivate(struct lwp
*, const struct svr4_32_sys__lwp_setprivate_args
*, register_t
*);
950 int svr4_32_sys__lwp_wait(struct lwp
*, const struct svr4_32_sys__lwp_wait_args
*, register_t
*);
952 int svr4_32_sys_pread(struct lwp
*, const struct svr4_32_sys_pread_args
*, register_t
*);
954 int svr4_32_sys_pwrite(struct lwp
*, const struct svr4_32_sys_pwrite_args
*, register_t
*);
956 int svr4_32_sys_llseek(struct lwp
*, const struct svr4_32_sys_llseek_args
*, register_t
*);
958 int svr4_32_sys_acl(struct lwp
*, const struct svr4_32_sys_acl_args
*, register_t
*);
960 int svr4_32_sys_auditsys(struct lwp
*, const struct svr4_32_sys_auditsys_args
*, register_t
*);
962 int compat_50_netbsd32_nanosleep(struct lwp
*, const struct compat_50_netbsd32_nanosleep_args
*, register_t
*);
964 int svr4_32_sys_facl(struct lwp
*, const struct svr4_32_sys_facl_args
*, register_t
*);
966 int netbsd32_setreuid(struct lwp
*, const struct netbsd32_setreuid_args
*, register_t
*);
968 int netbsd32_setregid(struct lwp
*, const struct netbsd32_setregid_args
*, register_t
*);
970 int svr4_32_sys_schedctl(struct lwp
*, const struct svr4_32_sys_schedctl_args
*, register_t
*);
972 int svr4_32_sys_resolvepath(struct lwp
*, const struct svr4_32_sys_resolvepath_args
*, register_t
*);
974 int svr4_32_sys_getdents64(struct lwp
*, const struct svr4_32_sys_getdents64_args
*, register_t
*);
976 int svr4_32_sys_mmap64(struct lwp
*, const struct svr4_32_sys_mmap64_args
*, register_t
*);
978 int svr4_32_sys_stat64(struct lwp
*, const struct svr4_32_sys_stat64_args
*, register_t
*);
980 int svr4_32_sys_lstat64(struct lwp
*, const struct svr4_32_sys_lstat64_args
*, register_t
*);
982 int svr4_32_sys_fstat64(struct lwp
*, const struct svr4_32_sys_fstat64_args
*, register_t
*);
984 int svr4_32_sys_statvfs64(struct lwp
*, const struct svr4_32_sys_statvfs64_args
*, register_t
*);
986 int svr4_32_sys_fstatvfs64(struct lwp
*, const struct svr4_32_sys_fstatvfs64_args
*, register_t
*);
988 int svr4_32_sys_setrlimit64(struct lwp
*, const struct svr4_32_sys_setrlimit64_args
*, register_t
*);
990 int svr4_32_sys_getrlimit64(struct lwp
*, const struct svr4_32_sys_getrlimit64_args
*, register_t
*);
992 int svr4_32_sys_pread64(struct lwp
*, const struct svr4_32_sys_pread64_args
*, register_t
*);
994 int svr4_32_sys_pwrite64(struct lwp
*, const struct svr4_32_sys_pwrite64_args
*, register_t
*);
996 #define svr4_32_sys_creat64 svr4_32_sys_creat
997 #define svr4_32_sys_creat64_args svr4_32_sys_creat_args
998 int svr4_32_sys_creat64(struct lwp
*, const struct svr4_32_sys_creat64_args
*, register_t
*);
1000 #define svr4_32_sys_open64 svr4_32_sys_open
1001 #define svr4_32_sys_open64_args svr4_32_sys_open_args
1002 int svr4_32_sys_open64(struct lwp
*, const struct svr4_32_sys_open64_args
*, register_t
*);
1004 int svr4_32_sys_socket(struct lwp
*, const struct svr4_32_sys_socket_args
*, register_t
*);
1006 int netbsd32_socketpair(struct lwp
*, const struct netbsd32_socketpair_args
*, register_t
*);
1008 int netbsd32_bind(struct lwp
*, const struct netbsd32_bind_args
*, register_t
*);
1010 int netbsd32_listen(struct lwp
*, const struct netbsd32_listen_args
*, register_t
*);
1012 int compat_43_netbsd32_oaccept(struct lwp
*, const struct compat_43_netbsd32_oaccept_args
*, register_t
*);
1014 int netbsd32_connect(struct lwp
*, const struct netbsd32_connect_args
*, register_t
*);
1016 int netbsd32_shutdown(struct lwp
*, const struct netbsd32_shutdown_args
*, register_t
*);
1018 int compat_43_netbsd32_orecv(struct lwp
*, const struct compat_43_netbsd32_orecv_args
*, register_t
*);
1020 int compat_43_netbsd32_orecvfrom(struct lwp
*, const struct compat_43_netbsd32_orecvfrom_args
*, register_t
*);
1022 int compat_43_netbsd32_orecvmsg(struct lwp
*, const struct compat_43_netbsd32_orecvmsg_args
*, register_t
*);
1024 int compat_43_netbsd32_osend(struct lwp
*, const struct compat_43_netbsd32_osend_args
*, register_t
*);
1026 int compat_43_netbsd32_osendmsg(struct lwp
*, const struct compat_43_netbsd32_osendmsg_args
*, register_t
*);
1028 int netbsd32_sendto(struct lwp
*, const struct netbsd32_sendto_args
*, register_t
*);
1030 int compat_43_netbsd32_ogetpeername(struct lwp
*, const struct compat_43_netbsd32_ogetpeername_args
*, register_t
*);
1032 int compat_43_netbsd32_ogetsockname(struct lwp
*, const struct compat_43_netbsd32_ogetsockname_args
*, register_t
*);
1034 int netbsd32_getsockopt(struct lwp
*, const struct netbsd32_getsockopt_args
*, register_t
*);
1036 int netbsd32_setsockopt(struct lwp
*, const struct netbsd32_setsockopt_args
*, register_t
*);
1038 #if defined(NTP) || !defined(_KERNEL)
1039 int netbsd32_ntp_adjtime(struct lwp
*, const struct netbsd32_ntp_adjtime_args
*, register_t
*);
1043 #endif /* _SVR4_32_SYS_SYSCALLARGS_H_ */