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