4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.33 2009/01/13 22:27:43 pooka Exp
10 #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
11 #define _AOUTM68K_SYS_SYSCALLARGS_H_
13 #define AOUTM68K_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 (register_t) < sizeof (x)) \
24 : sizeof (register_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 <= AOUTM68K_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
34 struct sys_syscall_args
;
40 struct sys_write_args
;
44 struct sys_close_args
;
46 struct compat_50_sys_wait4_args
;
47 #if defined(COMPAT_43) || !defined(_KERNEL)
49 struct compat_43_sys_creat_args
;
55 struct sys_unlink_args
;
57 struct sys_chdir_args
;
59 struct sys_fchdir_args
;
61 struct compat_50_sys_mknod_args
;
63 struct sys_chmod_args
;
65 struct sys_chown_args
;
67 struct sys_obreak_args
;
68 #if defined(COMPAT_20) || !defined(_KERNEL)
70 struct compat_20_sys_getfsstat_args
;
73 #if defined(COMPAT_43) || !defined(_KERNEL)
75 struct compat_43_sys_lseek_args
;
79 struct compat_40_sys_mount_args
;
81 struct sys_unmount_args
;
83 struct sys_setuid_args
;
85 struct sys_ptrace_args
;
87 struct sys_recvmsg_args
;
89 struct sys_sendmsg_args
;
91 struct sys_recvfrom_args
;
93 struct sys_accept_args
;
95 struct sys_getpeername_args
;
97 struct sys_getsockname_args
;
99 struct sys_access_args
;
101 struct sys_chflags_args
;
103 struct sys_fchflags_args
;
105 struct sys_kill_args
;
106 #if defined(COMPAT_43) || !defined(_KERNEL)
108 struct aoutm68k_compat_43_sys_stat_args
{
109 syscallarg(const char *) path
;
110 syscallarg(struct aoutm68k_stat43
*) ub
;
112 check_syscall_args(aoutm68k_compat_43_sys_stat
)
115 #if defined(COMPAT_43) || !defined(_KERNEL)
117 struct aoutm68k_compat_43_sys_lstat_args
{
118 syscallarg(const char *) path
;
119 syscallarg(struct aoutm68k_stat43
*) ub
;
121 check_syscall_args(aoutm68k_compat_43_sys_lstat
)
127 struct sys_profil_args
;
128 #if defined(KTRACE) || !defined(_KERNEL)
130 struct sys_ktrace_args
;
133 #if defined(COMPAT_13) || !defined(_KERNEL)
135 struct compat_13_sys_sigaction_args
;
138 #if defined(COMPAT_13) || !defined(_KERNEL)
140 struct compat_13_sys_sigprocmask_args
;
144 struct sys___getlogin_args
;
146 struct sys___setlogin_args
;
148 struct sys_acct_args
;
149 #if defined(COMPAT_13) || !defined(_KERNEL)
151 struct compat_13_sys_sigaltstack_args
;
155 struct sys_ioctl_args
;
156 #if defined(COMPAT_12) || !defined(_KERNEL)
158 struct compat_12_sys_reboot_args
;
162 struct sys_revoke_args
;
164 struct sys_symlink_args
;
166 struct sys_readlink_args
;
168 struct sys_execve_args
;
170 struct sys_umask_args
;
172 struct sys_chroot_args
;
173 #if defined(COMPAT_43) || !defined(_KERNEL)
175 struct aoutm68k_compat_43_sys_fstat_args
{
177 syscallarg(struct aoutm68k_stat43
*) sb
;
179 check_syscall_args(aoutm68k_compat_43_sys_fstat
)
181 struct compat_43_sys_getkerninfo_args
;
184 #if defined(COMPAT_12) || !defined(_KERNEL)
186 struct compat_12_sys_msync_args
;
190 struct sys_sbrk_args
;
192 struct sys_sstk_args
;
193 #if defined(COMPAT_43) || !defined(_KERNEL)
195 struct compat_43_sys_mmap_args
;
199 struct sys_ovadvise_args
;
201 struct sys_munmap_args
;
203 struct sys_mprotect_args
;
205 struct sys_madvise_args
;
207 struct sys_mincore_args
;
209 struct sys_getgroups_args
;
211 struct sys_setgroups_args
;
213 struct sys_setpgid_args
;
215 struct compat_50_sys_setitimer_args
;
216 #if defined(COMPAT_43) || !defined(_KERNEL)
219 #if defined(COMPAT_12) || !defined(_KERNEL)
221 struct compat_12_sys_swapon_args
;
225 struct compat_50_sys_getitimer_args
;
226 #if defined(COMPAT_43) || !defined(_KERNEL)
228 struct compat_43_sys_gethostname_args
;
230 struct compat_43_sys_sethostname_args
;
234 struct sys_dup2_args
;
236 struct sys_fcntl_args
;
238 struct compat_50_sys_select_args
;
240 struct sys_fsync_args
;
242 struct sys_setpriority_args
;
244 struct compat_30_sys_socket_args
;
246 struct sys_connect_args
;
247 #if defined(COMPAT_43) || !defined(_KERNEL)
249 struct compat_43_sys_accept_args
;
253 struct sys_getpriority_args
;
254 #if defined(COMPAT_43) || !defined(_KERNEL)
256 struct compat_43_sys_send_args
;
258 struct compat_43_sys_recv_args
;
261 #if defined(COMPAT_13) || !defined(_KERNEL)
263 struct compat_13_sys_sigreturn_args
;
267 struct sys_bind_args
;
269 struct sys_setsockopt_args
;
271 struct sys_listen_args
;
272 #if defined(COMPAT_43) || !defined(_KERNEL)
274 struct compat_43_sys_sigvec_args
;
276 struct compat_43_sys_sigblock_args
;
278 struct compat_43_sys_sigsetmask_args
;
281 #if defined(COMPAT_13) || !defined(_KERNEL)
283 struct compat_13_sys_sigsuspend_args
;
286 #if defined(COMPAT_43) || !defined(_KERNEL)
288 struct compat_43_sys_sigstack_args
;
290 struct compat_43_sys_recvmsg_args
;
292 struct compat_43_sys_sendmsg_args
;
296 struct compat_50_sys_gettimeofday_args
;
298 struct compat_50_sys_getrusage_args
;
300 struct sys_getsockopt_args
;
302 struct sys_readv_args
;
304 struct sys_writev_args
;
306 struct compat_50_sys_settimeofday_args
;
308 struct sys_fchown_args
;
310 struct sys_fchmod_args
;
311 #if defined(COMPAT_43) || !defined(_KERNEL)
313 struct compat_43_sys_recvfrom_args
;
317 struct sys_setreuid_args
;
319 struct sys_setregid_args
;
321 struct sys_rename_args
;
322 #if defined(COMPAT_43) || !defined(_KERNEL)
324 struct compat_43_sys_truncate_args
;
326 struct compat_43_sys_ftruncate_args
;
330 struct sys_flock_args
;
332 struct sys_mkfifo_args
;
334 struct sys_sendto_args
;
336 struct sys_shutdown_args
;
338 struct sys_socketpair_args
;
340 struct sys_mkdir_args
;
342 struct sys_rmdir_args
;
344 struct compat_50_sys_utimes_args
;
346 struct compat_50_sys_adjtime_args
;
347 #if defined(COMPAT_43) || !defined(_KERNEL)
349 struct compat_43_sys_getpeername_args
;
351 struct compat_43_sys_sethostid_args
;
353 struct compat_43_sys_getrlimit_args
;
355 struct compat_43_sys_setrlimit_args
;
357 struct compat_43_sys_killpg_args
;
361 struct sys_quotactl_args
;
362 #if defined(COMPAT_43) || !defined(_KERNEL)
364 struct compat_43_sys_getsockname_args
;
367 #if defined(NFSSERVER) || !defined(_KERNEL)
369 struct sys_nfssvc_args
;
372 #if defined(COMPAT_43) || !defined(_KERNEL)
374 struct compat_43_sys_getdirentries_args
;
377 #if defined(COMPAT_20) || !defined(_KERNEL)
379 struct compat_20_sys_statfs_args
;
382 #if defined(COMPAT_20) || !defined(_KERNEL)
384 struct compat_20_sys_fstatfs_args
;
388 struct compat_30_sys_getfh_args
;
389 #if defined(COMPAT_09) || !defined(_KERNEL)
391 struct compat_09_sys_getdomainname_args
;
393 struct compat_09_sys_setdomainname_args
;
395 struct compat_09_sys_uname_args
;
399 struct sys_sysarch_args
;
400 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
402 struct compat_10_sys_semsys_args
;
405 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
407 struct compat_10_sys_msgsys_args
;
410 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
412 struct compat_10_sys_shmsys_args
;
416 struct sys_pread_args
;
418 struct sys_pwrite_args
;
419 #if defined(NTP) || !defined(_KERNEL)
421 struct sys_ntp_adjtime_args
;
425 struct sys_setgid_args
;
427 struct sys_setegid_args
;
429 struct sys_seteuid_args
;
430 #if defined(LFS) || !defined(_KERNEL)
432 struct sys_lfs_bmapv_args
;
434 struct sys_lfs_markv_args
;
436 struct sys_lfs_segclean_args
;
438 struct compat_50_sys_lfs_segwait_args
;
441 #if defined(COMPAT_12) || !defined(_KERNEL)
443 struct aoutm68k_compat_12_sys_stat_args
{
444 syscallarg(const char *) path
;
445 syscallarg(struct aoutm68k_stat12
*) ub
;
447 check_syscall_args(aoutm68k_compat_12_sys_stat
)
449 struct aoutm68k_compat_12_sys_fstat_args
{
451 syscallarg(struct aoutm68k_stat12
*) sb
;
453 check_syscall_args(aoutm68k_compat_12_sys_fstat
)
455 struct aoutm68k_compat_12_sys_lstat_args
{
456 syscallarg(const char *) path
;
457 syscallarg(struct aoutm68k_stat12
*) ub
;
459 check_syscall_args(aoutm68k_compat_12_sys_lstat
)
463 struct sys_pathconf_args
;
465 struct sys_fpathconf_args
;
467 struct sys_getrlimit_args
;
469 struct sys_setrlimit_args
;
470 #if defined(COMPAT_12) || !defined(_KERNEL)
472 struct compat_12_sys_getdirentries_args
;
476 struct sys_mmap_args
;
478 struct sys___syscall_args
;
480 struct sys_lseek_args
;
482 struct sys_truncate_args
;
484 struct sys_ftruncate_args
;
486 struct sys___sysctl_args
;
488 struct sys_mlock_args
;
490 struct sys_munlock_args
;
492 struct sys_undelete_args
;
494 struct compat_50_sys_futimes_args
;
496 struct sys_getpgid_args
;
498 struct sys_reboot_args
;
500 struct sys_poll_args
;
501 #if defined(SYSVSEM) || !defined(_KERNEL)
502 #if defined(COMPAT_14) || !defined(_KERNEL)
504 struct compat_14_sys___semctl_args
;
508 struct sys_semget_args
;
510 struct sys_semop_args
;
512 struct sys_semconfig_args
;
515 #if defined(SYSVMSG) || !defined(_KERNEL)
516 #if defined(COMPAT_14) || !defined(_KERNEL)
518 struct compat_14_sys_msgctl_args
;
522 struct sys_msgget_args
;
524 struct sys_msgsnd_args
;
526 struct sys_msgrcv_args
;
529 #if defined(SYSVSHM) || !defined(_KERNEL)
531 struct sys_shmat_args
;
532 #if defined(COMPAT_14) || !defined(_KERNEL)
534 struct compat_14_sys_shmctl_args
;
538 struct sys_shmdt_args
;
540 struct sys_shmget_args
;
544 struct compat_50_sys_clock_gettime_args
;
546 struct compat_50_sys_clock_settime_args
;
548 struct compat_50_sys_clock_getres_args
;
550 struct compat_50_sys_nanosleep_args
;
552 struct sys_fdatasync_args
;
554 struct sys_mlockall_args
;
556 struct sys___posix_rename_args
;
558 struct sys_swapctl_args
;
559 #if defined(COMPAT_30) || !defined(_KERNEL)
561 struct compat_30_sys_getdents_args
;
565 struct sys_minherit_args
;
567 struct sys_lchmod_args
;
569 struct sys_lchown_args
;
571 struct compat_50_sys_lutimes_args
;
573 struct sys___msync13_args
;
575 struct aoutm68k_sys___stat13_args
{
576 syscallarg(const char *) path
;
577 syscallarg(struct aoutm68k_stat
*) ub
;
579 check_syscall_args(aoutm68k_sys___stat13
)
581 struct aoutm68k_sys___fstat13_args
{
583 syscallarg(struct aoutm68k_stat
*) sb
;
585 check_syscall_args(aoutm68k_sys___fstat13
)
587 struct aoutm68k_sys___lstat13_args
{
588 syscallarg(const char *) path
;
589 syscallarg(struct aoutm68k_stat
*) ub
;
591 check_syscall_args(aoutm68k_sys___lstat13
)
593 struct sys___sigaltstack14_args
;
595 struct sys___posix_chown_args
;
597 struct sys___posix_fchown_args
;
599 struct sys___posix_lchown_args
;
601 struct sys_getsid_args
;
602 #if defined(KTRACE) || !defined(_KERNEL)
604 struct sys_fktrace_args
;
608 struct sys_preadv_args
;
610 struct sys_pwritev_args
;
611 #if defined(COMPAT_16) || !defined(_KERNEL)
613 struct compat_16_sys___sigaction14_args
;
617 struct sys___sigpending14_args
;
619 struct sys___sigprocmask14_args
;
621 struct sys___sigsuspend14_args
;
622 #if defined(COMPAT_16) || !defined(_KERNEL)
624 struct compat_16_sys___sigreturn14_args
;
628 struct sys___getcwd_args
;
630 struct sys_fchroot_args
;
632 struct compat_30_sys_fhopen_args
;
634 struct aoutm68k_sys_fhstat_args
{
635 syscallarg(const struct compat_30_fhandle
*) fhp
;
636 syscallarg(struct aoutm68k_stat
*) sb
;
638 check_syscall_args(aoutm68k_sys_fhstat
)
639 #if defined(COMPAT_20) || !defined(_KERNEL)
641 struct compat_20_sys_fhstatfs_args
;
644 #if defined(SYSVSEM) || !defined(_KERNEL)
646 struct compat_50_sys_____semctl13_args
;
649 #if defined(SYSVMSG) || !defined(_KERNEL)
651 struct compat_50_sys___msgctl13_args
;
654 #if defined(SYSVSHM) || !defined(_KERNEL)
656 struct compat_50_sys___shmctl13_args
;
660 struct sys_lchflags_args
;
662 struct sys_getcontext_args
;
664 struct sys_setcontext_args
;
667 * System call prototypes.
670 int sys_syscall(struct lwp
*, const struct sys_syscall_args
*, register_t
*);
672 int sys_exit(struct lwp
*, const struct sys_exit_args
*, register_t
*);
674 int sys_fork(struct lwp
*, const void *, register_t
*);
676 int sys_read(struct lwp
*, const struct sys_read_args
*, register_t
*);
678 int sys_write(struct lwp
*, const struct sys_write_args
*, register_t
*);
680 int sys_open(struct lwp
*, const struct sys_open_args
*, register_t
*);
682 int sys_close(struct lwp
*, const struct sys_close_args
*, register_t
*);
684 int compat_50_sys_wait4(struct lwp
*, const struct compat_50_sys_wait4_args
*, register_t
*);
686 #if defined(COMPAT_43) || !defined(_KERNEL)
687 int compat_43_sys_creat(struct lwp
*, const struct compat_43_sys_creat_args
*, register_t
*);
691 int sys_link(struct lwp
*, const struct sys_link_args
*, register_t
*);
693 int sys_unlink(struct lwp
*, const struct sys_unlink_args
*, register_t
*);
695 int sys_chdir(struct lwp
*, const struct sys_chdir_args
*, register_t
*);
697 int sys_fchdir(struct lwp
*, const struct sys_fchdir_args
*, register_t
*);
699 int compat_50_sys_mknod(struct lwp
*, const struct compat_50_sys_mknod_args
*, register_t
*);
701 int sys_chmod(struct lwp
*, const struct sys_chmod_args
*, register_t
*);
703 int sys_chown(struct lwp
*, const struct sys_chown_args
*, register_t
*);
705 int sys_obreak(struct lwp
*, const struct sys_obreak_args
*, register_t
*);
707 #if defined(COMPAT_20) || !defined(_KERNEL)
708 int compat_20_sys_getfsstat(struct lwp
*, const struct compat_20_sys_getfsstat_args
*, register_t
*);
712 #if defined(COMPAT_43) || !defined(_KERNEL)
713 int compat_43_sys_lseek(struct lwp
*, const struct compat_43_sys_lseek_args
*, register_t
*);
717 int sys_getpid(struct lwp
*, const void *, register_t
*);
719 int compat_40_sys_mount(struct lwp
*, const struct compat_40_sys_mount_args
*, register_t
*);
721 int sys_unmount(struct lwp
*, const struct sys_unmount_args
*, register_t
*);
723 int sys_setuid(struct lwp
*, const struct sys_setuid_args
*, register_t
*);
725 int sys_getuid(struct lwp
*, const void *, register_t
*);
727 int sys_geteuid(struct lwp
*, const void *, register_t
*);
729 int sys_ptrace(struct lwp
*, const struct sys_ptrace_args
*, register_t
*);
731 int sys_recvmsg(struct lwp
*, const struct sys_recvmsg_args
*, register_t
*);
733 int sys_sendmsg(struct lwp
*, const struct sys_sendmsg_args
*, register_t
*);
735 int sys_recvfrom(struct lwp
*, const struct sys_recvfrom_args
*, register_t
*);
737 int sys_accept(struct lwp
*, const struct sys_accept_args
*, register_t
*);
739 int sys_getpeername(struct lwp
*, const struct sys_getpeername_args
*, register_t
*);
741 int sys_getsockname(struct lwp
*, const struct sys_getsockname_args
*, register_t
*);
743 int sys_access(struct lwp
*, const struct sys_access_args
*, register_t
*);
745 int sys_chflags(struct lwp
*, const struct sys_chflags_args
*, register_t
*);
747 int sys_fchflags(struct lwp
*, const struct sys_fchflags_args
*, register_t
*);
749 int sys_sync(struct lwp
*, const void *, register_t
*);
751 int sys_kill(struct lwp
*, const struct sys_kill_args
*, register_t
*);
753 #if defined(COMPAT_43) || !defined(_KERNEL)
754 int aoutm68k_compat_43_sys_stat(struct lwp
*, const struct aoutm68k_compat_43_sys_stat_args
*, register_t
*);
758 int sys_getppid(struct lwp
*, const void *, register_t
*);
760 #if defined(COMPAT_43) || !defined(_KERNEL)
761 int aoutm68k_compat_43_sys_lstat(struct lwp
*, const struct aoutm68k_compat_43_sys_lstat_args
*, register_t
*);
765 int sys_dup(struct lwp
*, const struct sys_dup_args
*, register_t
*);
767 int sys_pipe(struct lwp
*, const void *, register_t
*);
769 int sys_getegid(struct lwp
*, const void *, register_t
*);
771 int sys_profil(struct lwp
*, const struct sys_profil_args
*, register_t
*);
773 #if defined(KTRACE) || !defined(_KERNEL)
774 int sys_ktrace(struct lwp
*, const struct sys_ktrace_args
*, register_t
*);
778 #if defined(COMPAT_13) || !defined(_KERNEL)
779 int compat_13_sys_sigaction(struct lwp
*, const struct compat_13_sys_sigaction_args
*, register_t
*);
783 int sys_getgid(struct lwp
*, const void *, register_t
*);
785 #if defined(COMPAT_13) || !defined(_KERNEL)
786 int compat_13_sys_sigprocmask(struct lwp
*, const struct compat_13_sys_sigprocmask_args
*, register_t
*);
790 int sys___getlogin(struct lwp
*, const struct sys___getlogin_args
*, register_t
*);
792 int sys___setlogin(struct lwp
*, const struct sys___setlogin_args
*, register_t
*);
794 int sys_acct(struct lwp
*, const struct sys_acct_args
*, register_t
*);
796 #if defined(COMPAT_13) || !defined(_KERNEL)
797 int compat_13_sys_sigpending(struct lwp
*, const void *, register_t
*);
799 int compat_13_sys_sigaltstack(struct lwp
*, const struct compat_13_sys_sigaltstack_args
*, register_t
*);
803 int sys_ioctl(struct lwp
*, const struct sys_ioctl_args
*, register_t
*);
805 #if defined(COMPAT_12) || !defined(_KERNEL)
806 int compat_12_sys_reboot(struct lwp
*, const struct compat_12_sys_reboot_args
*, register_t
*);
810 int sys_revoke(struct lwp
*, const struct sys_revoke_args
*, register_t
*);
812 int sys_symlink(struct lwp
*, const struct sys_symlink_args
*, register_t
*);
814 int sys_readlink(struct lwp
*, const struct sys_readlink_args
*, register_t
*);
816 int sys_execve(struct lwp
*, const struct sys_execve_args
*, register_t
*);
818 int sys_umask(struct lwp
*, const struct sys_umask_args
*, register_t
*);
820 int sys_chroot(struct lwp
*, const struct sys_chroot_args
*, register_t
*);
822 #if defined(COMPAT_43) || !defined(_KERNEL)
823 int aoutm68k_compat_43_sys_fstat(struct lwp
*, const struct aoutm68k_compat_43_sys_fstat_args
*, register_t
*);
825 int compat_43_sys_getkerninfo(struct lwp
*, const struct compat_43_sys_getkerninfo_args
*, register_t
*);
827 int compat_43_sys_getpagesize(struct lwp
*, const void *, register_t
*);
831 #if defined(COMPAT_12) || !defined(_KERNEL)
832 int compat_12_sys_msync(struct lwp
*, const struct compat_12_sys_msync_args
*, register_t
*);
836 int sys_vfork(struct lwp
*, const void *, register_t
*);
838 int sys_sbrk(struct lwp
*, const struct sys_sbrk_args
*, register_t
*);
840 int sys_sstk(struct lwp
*, const struct sys_sstk_args
*, register_t
*);
842 #if defined(COMPAT_43) || !defined(_KERNEL)
843 int compat_43_sys_mmap(struct lwp
*, const struct compat_43_sys_mmap_args
*, register_t
*);
847 int sys_ovadvise(struct lwp
*, const struct sys_ovadvise_args
*, register_t
*);
849 int sys_munmap(struct lwp
*, const struct sys_munmap_args
*, register_t
*);
851 int sys_mprotect(struct lwp
*, const struct sys_mprotect_args
*, register_t
*);
853 int sys_madvise(struct lwp
*, const struct sys_madvise_args
*, register_t
*);
855 int sys_mincore(struct lwp
*, const struct sys_mincore_args
*, register_t
*);
857 int sys_getgroups(struct lwp
*, const struct sys_getgroups_args
*, register_t
*);
859 int sys_setgroups(struct lwp
*, const struct sys_setgroups_args
*, register_t
*);
861 int sys_getpgrp(struct lwp
*, const void *, register_t
*);
863 int sys_setpgid(struct lwp
*, const struct sys_setpgid_args
*, register_t
*);
865 int compat_50_sys_setitimer(struct lwp
*, const struct compat_50_sys_setitimer_args
*, register_t
*);
867 #if defined(COMPAT_43) || !defined(_KERNEL)
868 int compat_43_sys_wait(struct lwp
*, const void *, register_t
*);
872 #if defined(COMPAT_12) || !defined(_KERNEL)
873 int compat_12_sys_swapon(struct lwp
*, const struct compat_12_sys_swapon_args
*, register_t
*);
877 int compat_50_sys_getitimer(struct lwp
*, const struct compat_50_sys_getitimer_args
*, register_t
*);
879 #if defined(COMPAT_43) || !defined(_KERNEL)
880 int compat_43_sys_gethostname(struct lwp
*, const struct compat_43_sys_gethostname_args
*, register_t
*);
882 int compat_43_sys_sethostname(struct lwp
*, const struct compat_43_sys_sethostname_args
*, register_t
*);
884 int compat_43_sys_getdtablesize(struct lwp
*, const void *, register_t
*);
888 int sys_dup2(struct lwp
*, const struct sys_dup2_args
*, register_t
*);
890 int sys_fcntl(struct lwp
*, const struct sys_fcntl_args
*, register_t
*);
892 int compat_50_sys_select(struct lwp
*, const struct compat_50_sys_select_args
*, register_t
*);
894 int sys_fsync(struct lwp
*, const struct sys_fsync_args
*, register_t
*);
896 int sys_setpriority(struct lwp
*, const struct sys_setpriority_args
*, register_t
*);
898 int compat_30_sys_socket(struct lwp
*, const struct compat_30_sys_socket_args
*, register_t
*);
900 int sys_connect(struct lwp
*, const struct sys_connect_args
*, register_t
*);
902 #if defined(COMPAT_43) || !defined(_KERNEL)
903 int compat_43_sys_accept(struct lwp
*, const struct compat_43_sys_accept_args
*, register_t
*);
907 int sys_getpriority(struct lwp
*, const struct sys_getpriority_args
*, register_t
*);
909 #if defined(COMPAT_43) || !defined(_KERNEL)
910 int compat_43_sys_send(struct lwp
*, const struct compat_43_sys_send_args
*, register_t
*);
912 int compat_43_sys_recv(struct lwp
*, const struct compat_43_sys_recv_args
*, register_t
*);
916 #if defined(COMPAT_13) || !defined(_KERNEL)
917 int compat_13_sys_sigreturn(struct lwp
*, const struct compat_13_sys_sigreturn_args
*, register_t
*);
921 int sys_bind(struct lwp
*, const struct sys_bind_args
*, register_t
*);
923 int sys_setsockopt(struct lwp
*, const struct sys_setsockopt_args
*, register_t
*);
925 int sys_listen(struct lwp
*, const struct sys_listen_args
*, register_t
*);
927 #if defined(COMPAT_43) || !defined(_KERNEL)
928 int compat_43_sys_sigvec(struct lwp
*, const struct compat_43_sys_sigvec_args
*, register_t
*);
930 int compat_43_sys_sigblock(struct lwp
*, const struct compat_43_sys_sigblock_args
*, register_t
*);
932 int compat_43_sys_sigsetmask(struct lwp
*, const struct compat_43_sys_sigsetmask_args
*, register_t
*);
936 #if defined(COMPAT_13) || !defined(_KERNEL)
937 int compat_13_sys_sigsuspend(struct lwp
*, const struct compat_13_sys_sigsuspend_args
*, register_t
*);
941 #if defined(COMPAT_43) || !defined(_KERNEL)
942 int compat_43_sys_sigstack(struct lwp
*, const struct compat_43_sys_sigstack_args
*, register_t
*);
944 int compat_43_sys_recvmsg(struct lwp
*, const struct compat_43_sys_recvmsg_args
*, register_t
*);
946 int compat_43_sys_sendmsg(struct lwp
*, const struct compat_43_sys_sendmsg_args
*, register_t
*);
950 int compat_50_sys_gettimeofday(struct lwp
*, const struct compat_50_sys_gettimeofday_args
*, register_t
*);
952 int compat_50_sys_getrusage(struct lwp
*, const struct compat_50_sys_getrusage_args
*, register_t
*);
954 int sys_getsockopt(struct lwp
*, const struct sys_getsockopt_args
*, register_t
*);
956 int sys_readv(struct lwp
*, const struct sys_readv_args
*, register_t
*);
958 int sys_writev(struct lwp
*, const struct sys_writev_args
*, register_t
*);
960 int compat_50_sys_settimeofday(struct lwp
*, const struct compat_50_sys_settimeofday_args
*, register_t
*);
962 int sys_fchown(struct lwp
*, const struct sys_fchown_args
*, register_t
*);
964 int sys_fchmod(struct lwp
*, const struct sys_fchmod_args
*, register_t
*);
966 #if defined(COMPAT_43) || !defined(_KERNEL)
967 int compat_43_sys_recvfrom(struct lwp
*, const struct compat_43_sys_recvfrom_args
*, register_t
*);
971 int sys_setreuid(struct lwp
*, const struct sys_setreuid_args
*, register_t
*);
973 int sys_setregid(struct lwp
*, const struct sys_setregid_args
*, register_t
*);
975 int sys_rename(struct lwp
*, const struct sys_rename_args
*, register_t
*);
977 #if defined(COMPAT_43) || !defined(_KERNEL)
978 int compat_43_sys_truncate(struct lwp
*, const struct compat_43_sys_truncate_args
*, register_t
*);
980 int compat_43_sys_ftruncate(struct lwp
*, const struct compat_43_sys_ftruncate_args
*, register_t
*);
984 int sys_flock(struct lwp
*, const struct sys_flock_args
*, register_t
*);
986 int sys_mkfifo(struct lwp
*, const struct sys_mkfifo_args
*, register_t
*);
988 int sys_sendto(struct lwp
*, const struct sys_sendto_args
*, register_t
*);
990 int sys_shutdown(struct lwp
*, const struct sys_shutdown_args
*, register_t
*);
992 int sys_socketpair(struct lwp
*, const struct sys_socketpair_args
*, register_t
*);
994 int sys_mkdir(struct lwp
*, const struct sys_mkdir_args
*, register_t
*);
996 int sys_rmdir(struct lwp
*, const struct sys_rmdir_args
*, register_t
*);
998 int compat_50_sys_utimes(struct lwp
*, const struct compat_50_sys_utimes_args
*, register_t
*);
1000 int compat_50_sys_adjtime(struct lwp
*, const struct compat_50_sys_adjtime_args
*, register_t
*);
1002 #if defined(COMPAT_43) || !defined(_KERNEL)
1003 int compat_43_sys_getpeername(struct lwp
*, const struct compat_43_sys_getpeername_args
*, register_t
*);
1005 int compat_43_sys_gethostid(struct lwp
*, const void *, register_t
*);
1007 int compat_43_sys_sethostid(struct lwp
*, const struct compat_43_sys_sethostid_args
*, register_t
*);
1009 int compat_43_sys_getrlimit(struct lwp
*, const struct compat_43_sys_getrlimit_args
*, register_t
*);
1011 int compat_43_sys_setrlimit(struct lwp
*, const struct compat_43_sys_setrlimit_args
*, register_t
*);
1013 int compat_43_sys_killpg(struct lwp
*, const struct compat_43_sys_killpg_args
*, register_t
*);
1017 int sys_setsid(struct lwp
*, const void *, register_t
*);
1019 int sys_quotactl(struct lwp
*, const struct sys_quotactl_args
*, register_t
*);
1021 #if defined(COMPAT_43) || !defined(_KERNEL)
1022 int compat_43_sys_quota(struct lwp
*, const void *, register_t
*);
1024 int compat_43_sys_getsockname(struct lwp
*, const struct compat_43_sys_getsockname_args
*, register_t
*);
1028 #if defined(NFSSERVER) || !defined(_KERNEL)
1029 int sys_nfssvc(struct lwp
*, const struct sys_nfssvc_args
*, register_t
*);
1033 #if defined(COMPAT_43) || !defined(_KERNEL)
1034 int compat_43_sys_getdirentries(struct lwp
*, const struct compat_43_sys_getdirentries_args
*, register_t
*);
1038 #if defined(COMPAT_20) || !defined(_KERNEL)
1039 int compat_20_sys_statfs(struct lwp
*, const struct compat_20_sys_statfs_args
*, register_t
*);
1043 #if defined(COMPAT_20) || !defined(_KERNEL)
1044 int compat_20_sys_fstatfs(struct lwp
*, const struct compat_20_sys_fstatfs_args
*, register_t
*);
1048 int compat_30_sys_getfh(struct lwp
*, const struct compat_30_sys_getfh_args
*, register_t
*);
1050 #if defined(COMPAT_09) || !defined(_KERNEL)
1051 int compat_09_sys_getdomainname(struct lwp
*, const struct compat_09_sys_getdomainname_args
*, register_t
*);
1053 int compat_09_sys_setdomainname(struct lwp
*, const struct compat_09_sys_setdomainname_args
*, register_t
*);
1055 int compat_09_sys_uname(struct lwp
*, const struct compat_09_sys_uname_args
*, register_t
*);
1059 int sys_sysarch(struct lwp
*, const struct sys_sysarch_args
*, register_t
*);
1061 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
1062 int compat_10_sys_semsys(struct lwp
*, const struct compat_10_sys_semsys_args
*, register_t
*);
1066 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
1067 int compat_10_sys_msgsys(struct lwp
*, const struct compat_10_sys_msgsys_args
*, register_t
*);
1071 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
1072 int compat_10_sys_shmsys(struct lwp
*, const struct compat_10_sys_shmsys_args
*, register_t
*);
1076 int sys_pread(struct lwp
*, const struct sys_pread_args
*, register_t
*);
1078 int sys_pwrite(struct lwp
*, const struct sys_pwrite_args
*, register_t
*);
1080 #if defined(NTP) || !defined(_KERNEL)
1081 int sys_ntp_adjtime(struct lwp
*, const struct sys_ntp_adjtime_args
*, register_t
*);
1085 int sys_setgid(struct lwp
*, const struct sys_setgid_args
*, register_t
*);
1087 int sys_setegid(struct lwp
*, const struct sys_setegid_args
*, register_t
*);
1089 int sys_seteuid(struct lwp
*, const struct sys_seteuid_args
*, register_t
*);
1091 #if defined(LFS) || !defined(_KERNEL)
1092 int sys_lfs_bmapv(struct lwp
*, const struct sys_lfs_bmapv_args
*, register_t
*);
1094 int sys_lfs_markv(struct lwp
*, const struct sys_lfs_markv_args
*, register_t
*);
1096 int sys_lfs_segclean(struct lwp
*, const struct sys_lfs_segclean_args
*, register_t
*);
1098 int compat_50_sys_lfs_segwait(struct lwp
*, const struct compat_50_sys_lfs_segwait_args
*, register_t
*);
1102 #if defined(COMPAT_12) || !defined(_KERNEL)
1103 int aoutm68k_compat_12_sys_stat(struct lwp
*, const struct aoutm68k_compat_12_sys_stat_args
*, register_t
*);
1105 int aoutm68k_compat_12_sys_fstat(struct lwp
*, const struct aoutm68k_compat_12_sys_fstat_args
*, register_t
*);
1107 int aoutm68k_compat_12_sys_lstat(struct lwp
*, const struct aoutm68k_compat_12_sys_lstat_args
*, register_t
*);
1111 int sys_pathconf(struct lwp
*, const struct sys_pathconf_args
*, register_t
*);
1113 int sys_fpathconf(struct lwp
*, const struct sys_fpathconf_args
*, register_t
*);
1115 int sys_getrlimit(struct lwp
*, const struct sys_getrlimit_args
*, register_t
*);
1117 int sys_setrlimit(struct lwp
*, const struct sys_setrlimit_args
*, register_t
*);
1119 #if defined(COMPAT_12) || !defined(_KERNEL)
1120 int compat_12_sys_getdirentries(struct lwp
*, const struct compat_12_sys_getdirentries_args
*, register_t
*);
1124 int sys_mmap(struct lwp
*, const struct sys_mmap_args
*, register_t
*);
1126 int sys___syscall(struct lwp
*, const struct sys___syscall_args
*, register_t
*);
1128 int sys_lseek(struct lwp
*, const struct sys_lseek_args
*, register_t
*);
1130 int sys_truncate(struct lwp
*, const struct sys_truncate_args
*, register_t
*);
1132 int sys_ftruncate(struct lwp
*, const struct sys_ftruncate_args
*, register_t
*);
1134 int sys___sysctl(struct lwp
*, const struct sys___sysctl_args
*, register_t
*);
1136 int sys_mlock(struct lwp
*, const struct sys_mlock_args
*, register_t
*);
1138 int sys_munlock(struct lwp
*, const struct sys_munlock_args
*, register_t
*);
1140 int sys_undelete(struct lwp
*, const struct sys_undelete_args
*, register_t
*);
1142 int compat_50_sys_futimes(struct lwp
*, const struct compat_50_sys_futimes_args
*, register_t
*);
1144 int sys_getpgid(struct lwp
*, const struct sys_getpgid_args
*, register_t
*);
1146 int sys_reboot(struct lwp
*, const struct sys_reboot_args
*, register_t
*);
1148 int sys_poll(struct lwp
*, const struct sys_poll_args
*, register_t
*);
1150 #if defined(SYSVSEM) || !defined(_KERNEL)
1151 #if defined(COMPAT_14) || !defined(_KERNEL)
1152 int compat_14_sys___semctl(struct lwp
*, const struct compat_14_sys___semctl_args
*, register_t
*);
1156 int sys_semget(struct lwp
*, const struct sys_semget_args
*, register_t
*);
1158 int sys_semop(struct lwp
*, const struct sys_semop_args
*, register_t
*);
1160 int sys_semconfig(struct lwp
*, const struct sys_semconfig_args
*, register_t
*);
1164 #if defined(SYSVMSG) || !defined(_KERNEL)
1165 #if defined(COMPAT_14) || !defined(_KERNEL)
1166 int compat_14_sys_msgctl(struct lwp
*, const struct compat_14_sys_msgctl_args
*, register_t
*);
1170 int sys_msgget(struct lwp
*, const struct sys_msgget_args
*, register_t
*);
1172 int sys_msgsnd(struct lwp
*, const struct sys_msgsnd_args
*, register_t
*);
1174 int sys_msgrcv(struct lwp
*, const struct sys_msgrcv_args
*, register_t
*);
1178 #if defined(SYSVSHM) || !defined(_KERNEL)
1179 int sys_shmat(struct lwp
*, const struct sys_shmat_args
*, register_t
*);
1181 #if defined(COMPAT_14) || !defined(_KERNEL)
1182 int compat_14_sys_shmctl(struct lwp
*, const struct compat_14_sys_shmctl_args
*, register_t
*);
1186 int sys_shmdt(struct lwp
*, const struct sys_shmdt_args
*, register_t
*);
1188 int sys_shmget(struct lwp
*, const struct sys_shmget_args
*, register_t
*);
1192 int compat_50_sys_clock_gettime(struct lwp
*, const struct compat_50_sys_clock_gettime_args
*, register_t
*);
1194 int compat_50_sys_clock_settime(struct lwp
*, const struct compat_50_sys_clock_settime_args
*, register_t
*);
1196 int compat_50_sys_clock_getres(struct lwp
*, const struct compat_50_sys_clock_getres_args
*, register_t
*);
1198 int compat_50_sys_nanosleep(struct lwp
*, const struct compat_50_sys_nanosleep_args
*, register_t
*);
1200 int sys_fdatasync(struct lwp
*, const struct sys_fdatasync_args
*, register_t
*);
1202 int sys_mlockall(struct lwp
*, const struct sys_mlockall_args
*, register_t
*);
1204 int sys_munlockall(struct lwp
*, const void *, register_t
*);
1206 int sys___posix_rename(struct lwp
*, const struct sys___posix_rename_args
*, register_t
*);
1208 int sys_swapctl(struct lwp
*, const struct sys_swapctl_args
*, register_t
*);
1210 #if defined(COMPAT_30) || !defined(_KERNEL)
1211 int compat_30_sys_getdents(struct lwp
*, const struct compat_30_sys_getdents_args
*, register_t
*);
1215 int sys_minherit(struct lwp
*, const struct sys_minherit_args
*, register_t
*);
1217 int sys_lchmod(struct lwp
*, const struct sys_lchmod_args
*, register_t
*);
1219 int sys_lchown(struct lwp
*, const struct sys_lchown_args
*, register_t
*);
1221 int compat_50_sys_lutimes(struct lwp
*, const struct compat_50_sys_lutimes_args
*, register_t
*);
1223 int sys___msync13(struct lwp
*, const struct sys___msync13_args
*, register_t
*);
1225 int aoutm68k_sys___stat13(struct lwp
*, const struct aoutm68k_sys___stat13_args
*, register_t
*);
1227 int aoutm68k_sys___fstat13(struct lwp
*, const struct aoutm68k_sys___fstat13_args
*, register_t
*);
1229 int aoutm68k_sys___lstat13(struct lwp
*, const struct aoutm68k_sys___lstat13_args
*, register_t
*);
1231 int sys___sigaltstack14(struct lwp
*, const struct sys___sigaltstack14_args
*, register_t
*);
1233 int sys___vfork14(struct lwp
*, const void *, register_t
*);
1235 int sys___posix_chown(struct lwp
*, const struct sys___posix_chown_args
*, register_t
*);
1237 int sys___posix_fchown(struct lwp
*, const struct sys___posix_fchown_args
*, register_t
*);
1239 int sys___posix_lchown(struct lwp
*, const struct sys___posix_lchown_args
*, register_t
*);
1241 int sys_getsid(struct lwp
*, const struct sys_getsid_args
*, register_t
*);
1243 #if defined(KTRACE) || !defined(_KERNEL)
1244 int sys_fktrace(struct lwp
*, const struct sys_fktrace_args
*, register_t
*);
1248 int sys_preadv(struct lwp
*, const struct sys_preadv_args
*, register_t
*);
1250 int sys_pwritev(struct lwp
*, const struct sys_pwritev_args
*, register_t
*);
1252 #if defined(COMPAT_16) || !defined(_KERNEL)
1253 int compat_16_sys___sigaction14(struct lwp
*, const struct compat_16_sys___sigaction14_args
*, register_t
*);
1257 int sys___sigpending14(struct lwp
*, const struct sys___sigpending14_args
*, register_t
*);
1259 int sys___sigprocmask14(struct lwp
*, const struct sys___sigprocmask14_args
*, register_t
*);
1261 int sys___sigsuspend14(struct lwp
*, const struct sys___sigsuspend14_args
*, register_t
*);
1263 #if defined(COMPAT_16) || !defined(_KERNEL)
1264 int compat_16_sys___sigreturn14(struct lwp
*, const struct compat_16_sys___sigreturn14_args
*, register_t
*);
1268 int sys___getcwd(struct lwp
*, const struct sys___getcwd_args
*, register_t
*);
1270 int sys_fchroot(struct lwp
*, const struct sys_fchroot_args
*, register_t
*);
1272 int compat_30_sys_fhopen(struct lwp
*, const struct compat_30_sys_fhopen_args
*, register_t
*);
1274 int aoutm68k_sys_fhstat(struct lwp
*, const struct aoutm68k_sys_fhstat_args
*, register_t
*);
1276 #if defined(COMPAT_20) || !defined(_KERNEL)
1277 int compat_20_sys_fhstatfs(struct lwp
*, const struct compat_20_sys_fhstatfs_args
*, register_t
*);
1281 #if defined(SYSVSEM) || !defined(_KERNEL)
1282 int compat_50_sys_____semctl13(struct lwp
*, const struct compat_50_sys_____semctl13_args
*, register_t
*);
1286 #if defined(SYSVMSG) || !defined(_KERNEL)
1287 int compat_50_sys___msgctl13(struct lwp
*, const struct compat_50_sys___msgctl13_args
*, register_t
*);
1291 #if defined(SYSVSHM) || !defined(_KERNEL)
1292 int compat_50_sys___shmctl13(struct lwp
*, const struct compat_50_sys___shmctl13_args
*, register_t
*);
1296 int sys_lchflags(struct lwp
*, const struct sys_lchflags_args
*, register_t
*);
1298 int sys_issetugid(struct lwp
*, const void *, register_t
*);
1300 int sys_getcontext(struct lwp
*, const struct sys_getcontext_args
*, register_t
*);
1302 int sys_setcontext(struct lwp
*, const struct sys_setcontext_args
*, register_t
*);
1304 #endif /* _AOUTM68K_SYS_SYSCALLARGS_H_ */