aoutm68k_syscallargs.h revision 1.50 1 /* $NetBSD: aoutm68k_syscallargs.h,v 1.50 2018/01/06 16:41:23 kamil 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.38 2017/12/19 08:09:36 kamil Exp
8 */
9
10 #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
11 #define _AOUTM68K_SYS_SYSCALLARGS_H_
12
13 /* Forward declaration */
14 struct lwp;
15
16 #define AOUTM68K_SYS_MAXSYSARGS 8
17
18 #undef syscallarg
19 #define syscallarg(x) \
20 union { \
21 register_t pad; \
22 struct { x datum; } le; \
23 struct { /* LINTED zero array dimension */ \
24 int8_t pad[ /* CONSTCOND */ \
25 (sizeof (register_t) < sizeof (x)) \
26 ? 0 \
27 : sizeof (register_t) - sizeof (x)]; \
28 x datum; \
29 } be; \
30 }
31
32 #undef check_syscall_args
33 #define check_syscall_args(call) /*LINTED*/ \
34 typedef char call##_check_args[sizeof (struct call##_args) \
35 <= AOUTM68K_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
36
37 struct sys_syscall_args;
38
39 struct sys_exit_args;
40
41 struct sys_read_args;
42
43 struct sys_write_args;
44
45 struct sys_open_args;
46
47 struct sys_close_args;
48
49 struct compat_50_sys_wait4_args;
50 #if defined(COMPAT_43) || !defined(_KERNEL)
51
52 struct compat_43_sys_creat_args;
53 #else
54 #endif
55
56 struct sys_link_args;
57
58 struct sys_unlink_args;
59
60 struct sys_chdir_args;
61
62 struct sys_fchdir_args;
63
64 struct compat_50_sys_mknod_args;
65
66 struct sys_chmod_args;
67
68 struct sys_chown_args;
69
70 struct sys_obreak_args;
71 #if defined(COMPAT_20) || !defined(_KERNEL)
72
73 struct compat_20_sys_getfsstat_args;
74 #else
75 #endif
76 #if defined(COMPAT_43) || !defined(_KERNEL)
77
78 struct compat_43_sys_lseek_args;
79 #else
80 #endif
81
82 struct compat_40_sys_mount_args;
83
84 struct sys_unmount_args;
85
86 struct sys_setuid_args;
87
88 struct sys_ptrace_args;
89
90 struct sys_recvmsg_args;
91
92 struct sys_sendmsg_args;
93
94 struct sys_recvfrom_args;
95
96 struct sys_accept_args;
97
98 struct sys_getpeername_args;
99
100 struct sys_getsockname_args;
101
102 struct sys_access_args;
103
104 struct sys_chflags_args;
105
106 struct sys_fchflags_args;
107
108 struct sys_kill_args;
109 #if defined(COMPAT_43) || !defined(_KERNEL)
110
111 struct aoutm68k_compat_43_sys_stat_args {
112 syscallarg(const char *) path;
113 syscallarg(struct aoutm68k_stat43 *) ub;
114 };
115 check_syscall_args(aoutm68k_compat_43_sys_stat)
116 #else
117 #endif
118 #if defined(COMPAT_43) || !defined(_KERNEL)
119
120 struct aoutm68k_compat_43_sys_lstat_args {
121 syscallarg(const char *) path;
122 syscallarg(struct aoutm68k_stat43 *) ub;
123 };
124 check_syscall_args(aoutm68k_compat_43_sys_lstat)
125 #else
126 #endif
127
128 struct sys_dup_args;
129
130 struct sys_profil_args;
131 #if defined(KTRACE) || !defined(_KERNEL)
132
133 struct sys_ktrace_args;
134 #else
135 #endif
136 #if defined(COMPAT_13) || !defined(_KERNEL)
137
138 struct compat_13_sys_sigaction_args;
139 #else
140 #endif
141 #if defined(COMPAT_13) || !defined(_KERNEL)
142
143 struct compat_13_sys_sigprocmask_args;
144 #else
145 #endif
146
147 struct sys___getlogin_args;
148
149 struct sys___setlogin_args;
150
151 struct sys_acct_args;
152 #if defined(COMPAT_13) || !defined(_KERNEL)
153
154 struct compat_13_sys_sigaltstack_args;
155 #else
156 #endif
157
158 struct sys_ioctl_args;
159 #if defined(COMPAT_12) || !defined(_KERNEL)
160
161 struct compat_12_sys_reboot_args;
162 #else
163 #endif
164
165 struct sys_revoke_args;
166
167 struct sys_symlink_args;
168
169 struct sys_readlink_args;
170
171 struct sys_execve_args;
172
173 struct sys_umask_args;
174
175 struct sys_chroot_args;
176 #if defined(COMPAT_43) || !defined(_KERNEL)
177
178 struct aoutm68k_compat_43_sys_fstat_args {
179 syscallarg(int) fd;
180 syscallarg(struct aoutm68k_stat43 *) sb;
181 };
182 check_syscall_args(aoutm68k_compat_43_sys_fstat)
183
184 struct compat_43_sys_getkerninfo_args;
185 #else
186 #endif
187 #if defined(COMPAT_12) || !defined(_KERNEL)
188
189 struct compat_12_sys_msync_args;
190 #else
191 #endif
192 #if defined(COMPAT_43) || !defined(_KERNEL)
193
194 struct compat_43_sys_mmap_args;
195 #else
196 #endif
197
198 struct sys_ovadvise_args;
199
200 struct sys_munmap_args;
201
202 struct sys_mprotect_args;
203
204 struct sys_madvise_args;
205
206 struct sys_mincore_args;
207
208 struct sys_getgroups_args;
209
210 struct sys_setgroups_args;
211
212 struct sys_setpgid_args;
213
214 struct compat_50_sys_setitimer_args;
215 #if defined(COMPAT_43) || !defined(_KERNEL)
216 #else
217 #endif
218 #if defined(COMPAT_12) || !defined(_KERNEL)
219
220 struct compat_12_sys_swapon_args;
221 #else
222 #endif
223
224 struct compat_50_sys_getitimer_args;
225 #if defined(COMPAT_43) || !defined(_KERNEL)
226
227 struct compat_43_sys_gethostname_args;
228
229 struct compat_43_sys_sethostname_args;
230 #else
231 #endif
232
233 struct sys_dup2_args;
234
235 struct sys_fcntl_args;
236
237 struct compat_50_sys_select_args;
238
239 struct sys_fsync_args;
240
241 struct sys_setpriority_args;
242
243 struct compat_30_sys_socket_args;
244
245 struct sys_connect_args;
246 #if defined(COMPAT_43) || !defined(_KERNEL)
247
248 struct compat_43_sys_accept_args;
249 #else
250 #endif
251
252 struct sys_getpriority_args;
253 #if defined(COMPAT_43) || !defined(_KERNEL)
254
255 struct compat_43_sys_send_args;
256
257 struct compat_43_sys_recv_args;
258 #else
259 #endif
260 #if defined(COMPAT_13) || !defined(_KERNEL)
261
262 struct compat_13_sys_sigreturn_args;
263 #else
264 #endif
265
266 struct sys_bind_args;
267
268 struct sys_setsockopt_args;
269
270 struct sys_listen_args;
271 #if defined(COMPAT_43) || !defined(_KERNEL)
272
273 struct compat_43_sys_sigvec_args;
274
275 struct compat_43_sys_sigblock_args;
276
277 struct compat_43_sys_sigsetmask_args;
278 #else
279 #endif
280 #if defined(COMPAT_13) || !defined(_KERNEL)
281
282 struct compat_13_sys_sigsuspend_args;
283 #else
284 #endif
285 #if defined(COMPAT_43) || !defined(_KERNEL)
286
287 struct compat_43_sys_sigstack_args;
288
289 struct compat_43_sys_recvmsg_args;
290
291 struct compat_43_sys_sendmsg_args;
292 #else
293 #endif
294
295 struct compat_50_sys_gettimeofday_args;
296
297 struct compat_50_sys_getrusage_args;
298
299 struct sys_getsockopt_args;
300
301 struct sys_readv_args;
302
303 struct sys_writev_args;
304
305 struct compat_50_sys_settimeofday_args;
306
307 struct sys_fchown_args;
308
309 struct sys_fchmod_args;
310 #if defined(COMPAT_43) || !defined(_KERNEL)
311
312 struct compat_43_sys_recvfrom_args;
313 #else
314 #endif
315
316 struct sys_setreuid_args;
317
318 struct sys_setregid_args;
319
320 struct sys_rename_args;
321 #if defined(COMPAT_43) || !defined(_KERNEL)
322
323 struct compat_43_sys_truncate_args;
324
325 struct compat_43_sys_ftruncate_args;
326 #else
327 #endif
328
329 struct sys_flock_args;
330
331 struct sys_mkfifo_args;
332
333 struct sys_sendto_args;
334
335 struct sys_shutdown_args;
336
337 struct sys_socketpair_args;
338
339 struct sys_mkdir_args;
340
341 struct sys_rmdir_args;
342
343 struct compat_50_sys_utimes_args;
344
345 struct compat_50_sys_adjtime_args;
346 #if defined(COMPAT_43) || !defined(_KERNEL)
347
348 struct compat_43_sys_getpeername_args;
349
350 struct compat_43_sys_sethostid_args;
351
352 struct compat_43_sys_getrlimit_args;
353
354 struct compat_43_sys_setrlimit_args;
355
356 struct compat_43_sys_killpg_args;
357 #else
358 #endif
359
360 struct compat_50_sys_quotactl_args;
361 #if defined(COMPAT_43) || !defined(_KERNEL)
362
363 struct compat_43_sys_getsockname_args;
364 #else
365 #endif
366 #if defined(COMPAT_43) || !defined(_KERNEL)
367
368 struct compat_43_sys_getdirentries_args;
369 #else
370 #endif
371 #if defined(COMPAT_20) || !defined(_KERNEL)
372
373 struct compat_20_sys_statfs_args;
374 #else
375 #endif
376 #if defined(COMPAT_20) || !defined(_KERNEL)
377
378 struct compat_20_sys_fstatfs_args;
379 #else
380 #endif
381
382 struct compat_30_sys_getfh_args;
383 #if defined(COMPAT_09) || !defined(_KERNEL)
384
385 struct compat_09_sys_getdomainname_args;
386
387 struct compat_09_sys_setdomainname_args;
388
389 struct compat_09_sys_uname_args;
390 #else
391 #endif
392
393 struct sys_sysarch_args;
394 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
395
396 struct compat_10_sys_semsys_args;
397 #else
398 #endif
399 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
400
401 struct compat_10_sys_msgsys_args;
402 #else
403 #endif
404 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
405
406 struct compat_10_sys_shmsys_args;
407 #else
408 #endif
409
410 struct sys_pread_args;
411
412 struct sys_pwrite_args;
413 #if defined(NTP) || !defined(_KERNEL)
414
415 struct sys_ntp_adjtime_args;
416 #else
417 #endif
418
419 struct sys_setgid_args;
420
421 struct sys_setegid_args;
422
423 struct sys_seteuid_args;
424 #if defined(COMPAT_12) || !defined(_KERNEL)
425
426 struct aoutm68k_compat_12_sys_stat_args {
427 syscallarg(const char *) path;
428 syscallarg(struct aoutm68k_stat12 *) ub;
429 };
430 check_syscall_args(aoutm68k_compat_12_sys_stat)
431
432 struct aoutm68k_compat_12_sys_fstat_args {
433 syscallarg(int) fd;
434 syscallarg(struct aoutm68k_stat12 *) sb;
435 };
436 check_syscall_args(aoutm68k_compat_12_sys_fstat)
437
438 struct aoutm68k_compat_12_sys_lstat_args {
439 syscallarg(const char *) path;
440 syscallarg(struct aoutm68k_stat12 *) ub;
441 };
442 check_syscall_args(aoutm68k_compat_12_sys_lstat)
443 #else
444 #endif
445
446 struct sys_pathconf_args;
447
448 struct sys_fpathconf_args;
449
450 struct sys_getrlimit_args;
451
452 struct sys_setrlimit_args;
453 #if defined(COMPAT_12) || !defined(_KERNEL)
454
455 struct compat_12_sys_getdirentries_args;
456 #else
457 #endif
458
459 struct sys_mmap_args;
460
461 struct sys___syscall_args;
462
463 struct sys_lseek_args;
464
465 struct sys_truncate_args;
466
467 struct sys_ftruncate_args;
468
469 struct sys___sysctl_args;
470
471 struct sys_mlock_args;
472
473 struct sys_munlock_args;
474
475 struct sys_undelete_args;
476
477 struct compat_50_sys_futimes_args;
478
479 struct sys_getpgid_args;
480
481 struct sys_reboot_args;
482
483 struct sys_poll_args;
484 #if defined(SYSVSEM) || !defined(_KERNEL)
485 #if defined(COMPAT_14) || !defined(_KERNEL)
486
487 struct compat_14_sys___semctl_args;
488 #else
489 #endif
490
491 struct sys_semget_args;
492
493 struct sys_semop_args;
494
495 struct sys_semconfig_args;
496 #else
497 #endif
498 #if defined(SYSVMSG) || !defined(_KERNEL)
499 #if defined(COMPAT_14) || !defined(_KERNEL)
500
501 struct compat_14_sys_msgctl_args;
502 #else
503 #endif
504
505 struct sys_msgget_args;
506
507 struct sys_msgsnd_args;
508
509 struct sys_msgrcv_args;
510 #else
511 #endif
512 #if defined(SYSVSHM) || !defined(_KERNEL)
513
514 struct sys_shmat_args;
515 #if defined(COMPAT_14) || !defined(_KERNEL)
516
517 struct compat_14_sys_shmctl_args;
518 #else
519 #endif
520
521 struct sys_shmdt_args;
522
523 struct sys_shmget_args;
524 #else
525 #endif
526
527 struct compat_50_sys_clock_gettime_args;
528
529 struct compat_50_sys_clock_settime_args;
530
531 struct compat_50_sys_clock_getres_args;
532
533 struct compat_50_sys_nanosleep_args;
534
535 struct sys_fdatasync_args;
536
537 struct sys_mlockall_args;
538
539 struct sys___posix_rename_args;
540
541 struct sys_swapctl_args;
542 #if defined(COMPAT_30) || !defined(_KERNEL)
543
544 struct compat_30_sys_getdents_args;
545 #else
546 #endif
547
548 struct sys_minherit_args;
549
550 struct sys_lchmod_args;
551
552 struct sys_lchown_args;
553
554 struct compat_50_sys_lutimes_args;
555
556 struct sys___msync13_args;
557
558 struct aoutm68k_sys___stat13_args {
559 syscallarg(const char *) path;
560 syscallarg(struct aoutm68k_stat *) ub;
561 };
562 check_syscall_args(aoutm68k_sys___stat13)
563
564 struct aoutm68k_sys___fstat13_args {
565 syscallarg(int) fd;
566 syscallarg(struct aoutm68k_stat *) sb;
567 };
568 check_syscall_args(aoutm68k_sys___fstat13)
569
570 struct aoutm68k_sys___lstat13_args {
571 syscallarg(const char *) path;
572 syscallarg(struct aoutm68k_stat *) ub;
573 };
574 check_syscall_args(aoutm68k_sys___lstat13)
575
576 struct sys___sigaltstack14_args;
577
578 struct sys___posix_chown_args;
579
580 struct sys___posix_fchown_args;
581
582 struct sys___posix_lchown_args;
583
584 struct sys_getsid_args;
585 #if defined(KTRACE) || !defined(_KERNEL)
586
587 struct sys_fktrace_args;
588 #else
589 #endif
590
591 struct sys_preadv_args;
592
593 struct sys_pwritev_args;
594 #if defined(COMPAT_16) || !defined(_KERNEL)
595
596 struct compat_16_sys___sigaction14_args;
597 #else
598 #endif
599
600 struct sys___sigpending14_args;
601
602 struct sys___sigprocmask14_args;
603
604 struct sys___sigsuspend14_args;
605 #if defined(COMPAT_16) || !defined(_KERNEL)
606
607 struct compat_16_sys___sigreturn14_args;
608 #else
609 #endif
610
611 struct sys___getcwd_args;
612
613 struct sys_fchroot_args;
614
615 struct compat_30_sys_fhopen_args;
616
617 struct aoutm68k_sys_fhstat_args {
618 syscallarg(const struct compat_30_fhandle *) fhp;
619 syscallarg(struct aoutm68k_stat *) sb;
620 };
621 check_syscall_args(aoutm68k_sys_fhstat)
622 #if defined(COMPAT_20) || !defined(_KERNEL)
623
624 struct compat_20_sys_fhstatfs_args;
625 #else
626 #endif
627 #if defined(SYSVSEM) || !defined(_KERNEL)
628
629 struct compat_50_sys_____semctl13_args;
630 #else
631 #endif
632 #if defined(SYSVMSG) || !defined(_KERNEL)
633
634 struct compat_50_sys___msgctl13_args;
635 #else
636 #endif
637 #if defined(SYSVSHM) || !defined(_KERNEL)
638
639 struct compat_50_sys___shmctl13_args;
640 #else
641 #endif
642
643 struct sys_lchflags_args;
644
645 struct sys_getcontext_args;
646
647 struct sys_setcontext_args;
648
649 /*
650 * System call prototypes.
651 */
652
653 int sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *);
654
655 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
656
657 int sys_fork(struct lwp *, const void *, register_t *);
658
659 int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
660
661 int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
662
663 int sys_open(struct lwp *, const struct sys_open_args *, register_t *);
664
665 int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
666
667 int compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *);
668
669 #if defined(COMPAT_43) || !defined(_KERNEL)
670 int compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *);
671
672 #else
673 #endif
674 int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
675
676 int sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
677
678 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
679
680 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
681
682 int compat_50_sys_mknod(struct lwp *, const struct compat_50_sys_mknod_args *, register_t *);
683
684 int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
685
686 int sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
687
688 int sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
689
690 #if defined(COMPAT_20) || !defined(_KERNEL)
691 int compat_20_sys_getfsstat(struct lwp *, const struct compat_20_sys_getfsstat_args *, register_t *);
692
693 #else
694 #endif
695 #if defined(COMPAT_43) || !defined(_KERNEL)
696 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
697
698 #else
699 #endif
700 int sys_getpid(struct lwp *, const void *, register_t *);
701
702 int compat_40_sys_mount(struct lwp *, const struct compat_40_sys_mount_args *, register_t *);
703
704 int sys_unmount(struct lwp *, const struct sys_unmount_args *, register_t *);
705
706 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
707
708 int sys_getuid(struct lwp *, const void *, register_t *);
709
710 int sys_geteuid(struct lwp *, const void *, register_t *);
711
712 int sys_ptrace(struct lwp *, const struct sys_ptrace_args *, register_t *);
713
714 int sys_recvmsg(struct lwp *, const struct sys_recvmsg_args *, register_t *);
715
716 int sys_sendmsg(struct lwp *, const struct sys_sendmsg_args *, register_t *);
717
718 int sys_recvfrom(struct lwp *, const struct sys_recvfrom_args *, register_t *);
719
720 int sys_accept(struct lwp *, const struct sys_accept_args *, register_t *);
721
722 int sys_getpeername(struct lwp *, const struct sys_getpeername_args *, register_t *);
723
724 int sys_getsockname(struct lwp *, const struct sys_getsockname_args *, register_t *);
725
726 int sys_access(struct lwp *, const struct sys_access_args *, register_t *);
727
728 int sys_chflags(struct lwp *, const struct sys_chflags_args *, register_t *);
729
730 int sys_fchflags(struct lwp *, const struct sys_fchflags_args *, register_t *);
731
732 int sys_sync(struct lwp *, const void *, register_t *);
733
734 int sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
735
736 #if defined(COMPAT_43) || !defined(_KERNEL)
737 int aoutm68k_compat_43_sys_stat(struct lwp *, const struct aoutm68k_compat_43_sys_stat_args *, register_t *);
738
739 #else
740 #endif
741 int sys_getppid(struct lwp *, const void *, register_t *);
742
743 #if defined(COMPAT_43) || !defined(_KERNEL)
744 int aoutm68k_compat_43_sys_lstat(struct lwp *, const struct aoutm68k_compat_43_sys_lstat_args *, register_t *);
745
746 #else
747 #endif
748 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
749
750 int sys_pipe(struct lwp *, const void *, register_t *);
751
752 int sys_getegid(struct lwp *, const void *, register_t *);
753
754 int sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
755
756 #if defined(KTRACE) || !defined(_KERNEL)
757 int sys_ktrace(struct lwp *, const struct sys_ktrace_args *, register_t *);
758
759 #else
760 #endif
761 #if defined(COMPAT_13) || !defined(_KERNEL)
762 int compat_13_sys_sigaction(struct lwp *, const struct compat_13_sys_sigaction_args *, register_t *);
763
764 #else
765 #endif
766 int sys_getgid(struct lwp *, const void *, register_t *);
767
768 #if defined(COMPAT_13) || !defined(_KERNEL)
769 int compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *);
770
771 #else
772 #endif
773 int sys___getlogin(struct lwp *, const struct sys___getlogin_args *, register_t *);
774
775 int sys___setlogin(struct lwp *, const struct sys___setlogin_args *, register_t *);
776
777 int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
778
779 #if defined(COMPAT_13) || !defined(_KERNEL)
780 int compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
781
782 int compat_13_sys_sigaltstack(struct lwp *, const struct compat_13_sys_sigaltstack_args *, register_t *);
783
784 #else
785 #endif
786 int sys_ioctl(struct lwp *, const struct sys_ioctl_args *, register_t *);
787
788 #if defined(COMPAT_12) || !defined(_KERNEL)
789 int compat_12_sys_reboot(struct lwp *, const struct compat_12_sys_reboot_args *, register_t *);
790
791 #else
792 #endif
793 int sys_revoke(struct lwp *, const struct sys_revoke_args *, register_t *);
794
795 int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
796
797 int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
798
799 int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
800
801 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
802
803 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
804
805 #if defined(COMPAT_43) || !defined(_KERNEL)
806 int aoutm68k_compat_43_sys_fstat(struct lwp *, const struct aoutm68k_compat_43_sys_fstat_args *, register_t *);
807
808 int compat_43_sys_getkerninfo(struct lwp *, const struct compat_43_sys_getkerninfo_args *, register_t *);
809
810 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
811
812 #else
813 #endif
814 #if defined(COMPAT_12) || !defined(_KERNEL)
815 int compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *);
816
817 #else
818 #endif
819 int sys_vfork(struct lwp *, const void *, register_t *);
820
821 #if defined(COMPAT_43) || !defined(_KERNEL)
822 int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
823
824 #else
825 #endif
826 int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
827
828 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
829
830 int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
831
832 int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
833
834 int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
835
836 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
837
838 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
839
840 int sys_getpgrp(struct lwp *, const void *, register_t *);
841
842 int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
843
844 int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
845
846 #if defined(COMPAT_43) || !defined(_KERNEL)
847 int compat_43_sys_wait(struct lwp *, const void *, register_t *);
848
849 #else
850 #endif
851 #if defined(COMPAT_12) || !defined(_KERNEL)
852 int compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
853
854 #else
855 #endif
856 int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
857
858 #if defined(COMPAT_43) || !defined(_KERNEL)
859 int compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
860
861 int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
862
863 int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
864
865 #else
866 #endif
867 int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
868
869 int sys_fcntl(struct lwp *, const struct sys_fcntl_args *, register_t *);
870
871 int compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
872
873 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
874
875 int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
876
877 int compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *);
878
879 int sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
880
881 #if defined(COMPAT_43) || !defined(_KERNEL)
882 int compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
883
884 #else
885 #endif
886 int sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
887
888 #if defined(COMPAT_43) || !defined(_KERNEL)
889 int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
890
891 int compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
892
893 #else
894 #endif
895 #if defined(COMPAT_13) || !defined(_KERNEL)
896 int compat_13_sys_sigreturn(struct lwp *, const struct compat_13_sys_sigreturn_args *, register_t *);
897
898 #else
899 #endif
900 int sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
901
902 int sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
903
904 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
905
906 #if defined(COMPAT_43) || !defined(_KERNEL)
907 int compat_43_sys_sigvec(struct lwp *, const struct compat_43_sys_sigvec_args *, register_t *);
908
909 int compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
910
911 int compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
912
913 #else
914 #endif
915 #if defined(COMPAT_13) || !defined(_KERNEL)
916 int compat_13_sys_sigsuspend(struct lwp *, const struct compat_13_sys_sigsuspend_args *, register_t *);
917
918 #else
919 #endif
920 #if defined(COMPAT_43) || !defined(_KERNEL)
921 int compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
922
923 int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
924
925 int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
926
927 #else
928 #endif
929 int compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
930
931 int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
932
933 int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
934
935 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
936
937 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
938
939 int compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
940
941 int sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
942
943 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
944
945 #if defined(COMPAT_43) || !defined(_KERNEL)
946 int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
947
948 #else
949 #endif
950 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
951
952 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
953
954 int sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
955
956 #if defined(COMPAT_43) || !defined(_KERNEL)
957 int compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
958
959 int compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
960
961 #else
962 #endif
963 int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
964
965 int sys_mkfifo(struct lwp *, const struct sys_mkfifo_args *, register_t *);
966
967 int sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
968
969 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
970
971 int sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
972
973 int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
974
975 int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
976
977 int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
978
979 int compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
980
981 #if defined(COMPAT_43) || !defined(_KERNEL)
982 int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
983
984 int compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
985
986 int compat_43_sys_sethostid(struct lwp *, const struct compat_43_sys_sethostid_args *, register_t *);
987
988 int compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
989
990 int compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
991
992 int compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
993
994 #else
995 #endif
996 int sys_setsid(struct lwp *, const void *, register_t *);
997
998 int compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
999
1000 #if defined(COMPAT_43) || !defined(_KERNEL)
1001 int compat_43_sys_quota(struct lwp *, const void *, register_t *);
1002
1003 int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
1004
1005 #else
1006 #endif
1007 #if defined(COMPAT_43) || !defined(_KERNEL)
1008 int compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
1009
1010 #else
1011 #endif
1012 #if defined(COMPAT_20) || !defined(_KERNEL)
1013 int compat_20_sys_statfs(struct lwp *, const struct compat_20_sys_statfs_args *, register_t *);
1014
1015 #else
1016 #endif
1017 #if defined(COMPAT_20) || !defined(_KERNEL)
1018 int compat_20_sys_fstatfs(struct lwp *, const struct compat_20_sys_fstatfs_args *, register_t *);
1019
1020 #else
1021 #endif
1022 int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
1023
1024 #if defined(COMPAT_09) || !defined(_KERNEL)
1025 int compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
1026
1027 int compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
1028
1029 int compat_09_sys_uname(struct lwp *, const struct compat_09_sys_uname_args *, register_t *);
1030
1031 #else
1032 #endif
1033 int sys_sysarch(struct lwp *, const struct sys_sysarch_args *, register_t *);
1034
1035 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
1036 int compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
1037
1038 #else
1039 #endif
1040 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
1041 int compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
1042
1043 #else
1044 #endif
1045 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
1046 int compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
1047
1048 #else
1049 #endif
1050 int sys_pread(struct lwp *, const struct sys_pread_args *, register_t *);
1051
1052 int sys_pwrite(struct lwp *, const struct sys_pwrite_args *, register_t *);
1053
1054 #if defined(NTP) || !defined(_KERNEL)
1055 int sys_ntp_adjtime(struct lwp *, const struct sys_ntp_adjtime_args *, register_t *);
1056
1057 #else
1058 #endif
1059 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
1060
1061 int sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
1062
1063 int sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
1064
1065 #if defined(COMPAT_12) || !defined(_KERNEL)
1066 int aoutm68k_compat_12_sys_stat(struct lwp *, const struct aoutm68k_compat_12_sys_stat_args *, register_t *);
1067
1068 int aoutm68k_compat_12_sys_fstat(struct lwp *, const struct aoutm68k_compat_12_sys_fstat_args *, register_t *);
1069
1070 int aoutm68k_compat_12_sys_lstat(struct lwp *, const struct aoutm68k_compat_12_sys_lstat_args *, register_t *);
1071
1072 #else
1073 #endif
1074 int sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
1075
1076 int sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
1077
1078 int sys_getrlimit(struct lwp *, const struct sys_getrlimit_args *, register_t *);
1079
1080 int sys_setrlimit(struct lwp *, const struct sys_setrlimit_args *, register_t *);
1081
1082 #if defined(COMPAT_12) || !defined(_KERNEL)
1083 int compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
1084
1085 #else
1086 #endif
1087 int sys_mmap(struct lwp *, const struct sys_mmap_args *, register_t *);
1088
1089 int sys___syscall(struct lwp *, const struct sys___syscall_args *, register_t *);
1090
1091 int sys_lseek(struct lwp *, const struct sys_lseek_args *, register_t *);
1092
1093 int sys_truncate(struct lwp *, const struct sys_truncate_args *, register_t *);
1094
1095 int sys_ftruncate(struct lwp *, const struct sys_ftruncate_args *, register_t *);
1096
1097 int sys___sysctl(struct lwp *, const struct sys___sysctl_args *, register_t *);
1098
1099 int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
1100
1101 int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
1102
1103 int sys_undelete(struct lwp *, const struct sys_undelete_args *, register_t *);
1104
1105 int compat_50_sys_futimes(struct lwp *, const struct compat_50_sys_futimes_args *, register_t *);
1106
1107 int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
1108
1109 int sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
1110
1111 int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
1112
1113 #if defined(SYSVSEM) || !defined(_KERNEL)
1114 #if defined(COMPAT_14) || !defined(_KERNEL)
1115 int compat_14_sys___semctl(struct lwp *, const struct compat_14_sys___semctl_args *, register_t *);
1116
1117 #else
1118 #endif
1119 int sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
1120
1121 int sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
1122
1123 int sys_semconfig(struct lwp *, const struct sys_semconfig_args *, register_t *);
1124
1125 #else
1126 #endif
1127 #if defined(SYSVMSG) || !defined(_KERNEL)
1128 #if defined(COMPAT_14) || !defined(_KERNEL)
1129 int compat_14_sys_msgctl(struct lwp *, const struct compat_14_sys_msgctl_args *, register_t *);
1130
1131 #else
1132 #endif
1133 int sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
1134
1135 int sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
1136
1137 int sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
1138
1139 #else
1140 #endif
1141 #if defined(SYSVSHM) || !defined(_KERNEL)
1142 int sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
1143
1144 #if defined(COMPAT_14) || !defined(_KERNEL)
1145 int compat_14_sys_shmctl(struct lwp *, const struct compat_14_sys_shmctl_args *, register_t *);
1146
1147 #else
1148 #endif
1149 int sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
1150
1151 int sys_shmget(struct lwp *, const struct sys_shmget_args *, register_t *);
1152
1153 #else
1154 #endif
1155 int compat_50_sys_clock_gettime(struct lwp *, const struct compat_50_sys_clock_gettime_args *, register_t *);
1156
1157 int compat_50_sys_clock_settime(struct lwp *, const struct compat_50_sys_clock_settime_args *, register_t *);
1158
1159 int compat_50_sys_clock_getres(struct lwp *, const struct compat_50_sys_clock_getres_args *, register_t *);
1160
1161 int compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
1162
1163 int sys_fdatasync(struct lwp *, const struct sys_fdatasync_args *, register_t *);
1164
1165 int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
1166
1167 int sys_munlockall(struct lwp *, const void *, register_t *);
1168
1169 int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
1170
1171 int sys_swapctl(struct lwp *, const struct sys_swapctl_args *, register_t *);
1172
1173 #if defined(COMPAT_30) || !defined(_KERNEL)
1174 int compat_30_sys_getdents(struct lwp *, const struct compat_30_sys_getdents_args *, register_t *);
1175
1176 #else
1177 #endif
1178 int sys_minherit(struct lwp *, const struct sys_minherit_args *, register_t *);
1179
1180 int sys_lchmod(struct lwp *, const struct sys_lchmod_args *, register_t *);
1181
1182 int sys_lchown(struct lwp *, const struct sys_lchown_args *, register_t *);
1183
1184 int compat_50_sys_lutimes(struct lwp *, const struct compat_50_sys_lutimes_args *, register_t *);
1185
1186 int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
1187
1188 int aoutm68k_sys___stat13(struct lwp *, const struct aoutm68k_sys___stat13_args *, register_t *);
1189
1190 int aoutm68k_sys___fstat13(struct lwp *, const struct aoutm68k_sys___fstat13_args *, register_t *);
1191
1192 int aoutm68k_sys___lstat13(struct lwp *, const struct aoutm68k_sys___lstat13_args *, register_t *);
1193
1194 int sys___sigaltstack14(struct lwp *, const struct sys___sigaltstack14_args *, register_t *);
1195
1196 int sys___vfork14(struct lwp *, const void *, register_t *);
1197
1198 int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
1199
1200 int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
1201
1202 int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
1203
1204 int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
1205
1206 #if defined(KTRACE) || !defined(_KERNEL)
1207 int sys_fktrace(struct lwp *, const struct sys_fktrace_args *, register_t *);
1208
1209 #else
1210 #endif
1211 int sys_preadv(struct lwp *, const struct sys_preadv_args *, register_t *);
1212
1213 int sys_pwritev(struct lwp *, const struct sys_pwritev_args *, register_t *);
1214
1215 #if defined(COMPAT_16) || !defined(_KERNEL)
1216 int compat_16_sys___sigaction14(struct lwp *, const struct compat_16_sys___sigaction14_args *, register_t *);
1217
1218 #else
1219 #endif
1220 int sys___sigpending14(struct lwp *, const struct sys___sigpending14_args *, register_t *);
1221
1222 int sys___sigprocmask14(struct lwp *, const struct sys___sigprocmask14_args *, register_t *);
1223
1224 int sys___sigsuspend14(struct lwp *, const struct sys___sigsuspend14_args *, register_t *);
1225
1226 #if defined(COMPAT_16) || !defined(_KERNEL)
1227 int compat_16_sys___sigreturn14(struct lwp *, const struct compat_16_sys___sigreturn14_args *, register_t *);
1228
1229 #else
1230 #endif
1231 int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
1232
1233 int sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
1234
1235 int compat_30_sys_fhopen(struct lwp *, const struct compat_30_sys_fhopen_args *, register_t *);
1236
1237 int aoutm68k_sys_fhstat(struct lwp *, const struct aoutm68k_sys_fhstat_args *, register_t *);
1238
1239 #if defined(COMPAT_20) || !defined(_KERNEL)
1240 int compat_20_sys_fhstatfs(struct lwp *, const struct compat_20_sys_fhstatfs_args *, register_t *);
1241
1242 #else
1243 #endif
1244 #if defined(SYSVSEM) || !defined(_KERNEL)
1245 int compat_50_sys_____semctl13(struct lwp *, const struct compat_50_sys_____semctl13_args *, register_t *);
1246
1247 #else
1248 #endif
1249 #if defined(SYSVMSG) || !defined(_KERNEL)
1250 int compat_50_sys___msgctl13(struct lwp *, const struct compat_50_sys___msgctl13_args *, register_t *);
1251
1252 #else
1253 #endif
1254 #if defined(SYSVSHM) || !defined(_KERNEL)
1255 int compat_50_sys___shmctl13(struct lwp *, const struct compat_50_sys___shmctl13_args *, register_t *);
1256
1257 #else
1258 #endif
1259 int sys_lchflags(struct lwp *, const struct sys_lchflags_args *, register_t *);
1260
1261 int sys_issetugid(struct lwp *, const void *, register_t *);
1262
1263 int sys_getcontext(struct lwp *, const struct sys_getcontext_args *, register_t *);
1264
1265 int sys_setcontext(struct lwp *, const struct sys_setcontext_args *, register_t *);
1266
1267 #endif /* _AOUTM68K_SYS_SYSCALLARGS_H_ */
1268