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