freebsd_syscallargs.h revision 1.26 1 1.16 thorpej /* $NetBSD: freebsd_syscallargs.h,v 1.26 1998/10/19 22:28:16 tron Exp $ */
2 1.16 thorpej
3 1.1 mycroft /*
4 1.1 mycroft * System call argument lists.
5 1.1 mycroft *
6 1.1 mycroft * DO NOT EDIT-- this file is automatically generated.
7 1.26 tron * created from NetBSD: syscalls.master,v 1.20 1998/10/19 22:27:38 tron Exp
8 1.1 mycroft */
9 1.26 tron
10 1.26 tron #ifdef syscallarg
11 1.26 tron #undef syscallarg
12 1.26 tron #endif
13 1.1 mycroft
14 1.25 eeh #define syscallarg(x) \
15 1.25 eeh union { \
16 1.25 eeh register_t pad; \
17 1.25 eeh struct { x datum; } le; \
18 1.25 eeh struct { \
19 1.25 eeh int8_t pad[ (sizeof (register_t) < sizeof (x)) \
20 1.25 eeh ? 0 \
21 1.25 eeh : sizeof (register_t) - sizeof (x)]; \
22 1.25 eeh x datum; \
23 1.25 eeh } be; \
24 1.25 eeh }
25 1.1 mycroft
26 1.1 mycroft struct freebsd_sys_open_args {
27 1.1 mycroft syscallarg(char *) path;
28 1.1 mycroft syscallarg(int) flags;
29 1.1 mycroft syscallarg(int) mode;
30 1.1 mycroft };
31 1.1 mycroft
32 1.1 mycroft struct compat_43_freebsd_sys_creat_args {
33 1.1 mycroft syscallarg(char *) path;
34 1.1 mycroft syscallarg(int) mode;
35 1.1 mycroft };
36 1.1 mycroft
37 1.1 mycroft struct freebsd_sys_link_args {
38 1.1 mycroft syscallarg(char *) path;
39 1.1 mycroft syscallarg(char *) link;
40 1.1 mycroft };
41 1.1 mycroft
42 1.1 mycroft struct freebsd_sys_unlink_args {
43 1.1 mycroft syscallarg(char *) path;
44 1.1 mycroft };
45 1.1 mycroft
46 1.1 mycroft struct freebsd_sys_chdir_args {
47 1.1 mycroft syscallarg(char *) path;
48 1.1 mycroft };
49 1.1 mycroft
50 1.1 mycroft struct freebsd_sys_mknod_args {
51 1.1 mycroft syscallarg(char *) path;
52 1.1 mycroft syscallarg(int) mode;
53 1.1 mycroft syscallarg(int) dev;
54 1.1 mycroft };
55 1.1 mycroft
56 1.1 mycroft struct freebsd_sys_chmod_args {
57 1.1 mycroft syscallarg(char *) path;
58 1.1 mycroft syscallarg(int) mode;
59 1.1 mycroft };
60 1.1 mycroft
61 1.1 mycroft struct freebsd_sys_chown_args {
62 1.1 mycroft syscallarg(char *) path;
63 1.1 mycroft syscallarg(int) uid;
64 1.1 mycroft syscallarg(int) gid;
65 1.1 mycroft };
66 1.1 mycroft
67 1.1 mycroft struct freebsd_sys_mount_args {
68 1.1 mycroft syscallarg(int) type;
69 1.1 mycroft syscallarg(char *) path;
70 1.1 mycroft syscallarg(int) flags;
71 1.1 mycroft syscallarg(caddr_t) data;
72 1.1 mycroft };
73 1.1 mycroft
74 1.1 mycroft struct freebsd_sys_unmount_args {
75 1.1 mycroft syscallarg(char *) path;
76 1.1 mycroft syscallarg(int) flags;
77 1.1 mycroft };
78 1.1 mycroft
79 1.1 mycroft struct freebsd_sys_ptrace_args {
80 1.1 mycroft syscallarg(int) req;
81 1.1 mycroft syscallarg(pid_t) pid;
82 1.1 mycroft syscallarg(caddr_t) addr;
83 1.1 mycroft syscallarg(int) data;
84 1.1 mycroft };
85 1.1 mycroft
86 1.1 mycroft struct freebsd_sys_access_args {
87 1.1 mycroft syscallarg(char *) path;
88 1.1 mycroft syscallarg(int) flags;
89 1.1 mycroft };
90 1.1 mycroft
91 1.1 mycroft struct freebsd_sys_chflags_args {
92 1.1 mycroft syscallarg(char *) path;
93 1.1 mycroft syscallarg(int) flags;
94 1.1 mycroft };
95 1.1 mycroft
96 1.1 mycroft struct compat_43_freebsd_sys_stat_args {
97 1.1 mycroft syscallarg(char *) path;
98 1.11 christos syscallarg(struct stat43 *) ub;
99 1.1 mycroft };
100 1.1 mycroft
101 1.1 mycroft struct compat_43_freebsd_sys_lstat_args {
102 1.1 mycroft syscallarg(char *) path;
103 1.11 christos syscallarg(struct stat43 *) ub;
104 1.1 mycroft };
105 1.1 mycroft
106 1.1 mycroft struct freebsd_sys_ioctl_args {
107 1.1 mycroft syscallarg(int) fd;
108 1.1 mycroft syscallarg(u_long) com;
109 1.1 mycroft syscallarg(caddr_t) data;
110 1.1 mycroft };
111 1.1 mycroft
112 1.1 mycroft struct freebsd_sys_revoke_args {
113 1.1 mycroft syscallarg(char *) path;
114 1.1 mycroft };
115 1.1 mycroft
116 1.1 mycroft struct freebsd_sys_symlink_args {
117 1.1 mycroft syscallarg(char *) path;
118 1.1 mycroft syscallarg(char *) link;
119 1.1 mycroft };
120 1.1 mycroft
121 1.1 mycroft struct freebsd_sys_readlink_args {
122 1.1 mycroft syscallarg(char *) path;
123 1.1 mycroft syscallarg(char *) buf;
124 1.1 mycroft syscallarg(int) count;
125 1.1 mycroft };
126 1.1 mycroft
127 1.1 mycroft struct freebsd_sys_execve_args {
128 1.1 mycroft syscallarg(char *) path;
129 1.1 mycroft syscallarg(char **) argp;
130 1.1 mycroft syscallarg(char **) envp;
131 1.1 mycroft };
132 1.1 mycroft
133 1.1 mycroft struct freebsd_sys_chroot_args {
134 1.1 mycroft syscallarg(char *) path;
135 1.1 mycroft };
136 1.1 mycroft
137 1.1 mycroft struct freebsd_sys_msync_args {
138 1.1 mycroft syscallarg(caddr_t) addr;
139 1.1 mycroft syscallarg(size_t) len;
140 1.1 mycroft syscallarg(int) flags;
141 1.1 mycroft };
142 1.1 mycroft
143 1.1 mycroft struct freebsd_sys_sigreturn_args {
144 1.1 mycroft syscallarg(struct freebsd_sigcontext *) scp;
145 1.1 mycroft };
146 1.1 mycroft
147 1.1 mycroft struct freebsd_sys_rename_args {
148 1.1 mycroft syscallarg(char *) from;
149 1.1 mycroft syscallarg(char *) to;
150 1.1 mycroft };
151 1.1 mycroft
152 1.1 mycroft struct compat_43_freebsd_sys_truncate_args {
153 1.1 mycroft syscallarg(char *) path;
154 1.1 mycroft syscallarg(long) length;
155 1.1 mycroft };
156 1.1 mycroft
157 1.1 mycroft struct freebsd_sys_mkfifo_args {
158 1.1 mycroft syscallarg(char *) path;
159 1.1 mycroft syscallarg(int) mode;
160 1.1 mycroft };
161 1.1 mycroft
162 1.1 mycroft struct freebsd_sys_mkdir_args {
163 1.1 mycroft syscallarg(char *) path;
164 1.1 mycroft syscallarg(int) mode;
165 1.1 mycroft };
166 1.1 mycroft
167 1.1 mycroft struct freebsd_sys_rmdir_args {
168 1.1 mycroft syscallarg(char *) path;
169 1.1 mycroft };
170 1.1 mycroft
171 1.1 mycroft struct freebsd_sys_statfs_args {
172 1.1 mycroft syscallarg(char *) path;
173 1.1 mycroft syscallarg(struct statfs *) buf;
174 1.1 mycroft };
175 1.1 mycroft
176 1.1 mycroft struct freebsd_sys_getfh_args {
177 1.1 mycroft syscallarg(char *) fname;
178 1.1 mycroft syscallarg(fhandle_t *) fhp;
179 1.1 mycroft };
180 1.1 mycroft
181 1.1 mycroft struct freebsd_sys_rtprio_args {
182 1.1 mycroft syscallarg(int) function;
183 1.1 mycroft syscallarg(pid_t) pid;
184 1.1 mycroft syscallarg(struct freebsd_rtprio *) rtp;
185 1.1 mycroft };
186 1.1 mycroft
187 1.17 mycroft struct freebsd_sys_semsys_args {
188 1.17 mycroft syscallarg(int) which;
189 1.17 mycroft syscallarg(int) a2;
190 1.17 mycroft syscallarg(int) a3;
191 1.17 mycroft syscallarg(int) a4;
192 1.17 mycroft syscallarg(int) a5;
193 1.17 mycroft };
194 1.17 mycroft
195 1.17 mycroft struct freebsd_sys_msgsys_args {
196 1.17 mycroft syscallarg(int) which;
197 1.17 mycroft syscallarg(int) a2;
198 1.17 mycroft syscallarg(int) a3;
199 1.17 mycroft syscallarg(int) a4;
200 1.17 mycroft syscallarg(int) a5;
201 1.17 mycroft syscallarg(int) a6;
202 1.17 mycroft };
203 1.17 mycroft
204 1.17 mycroft struct freebsd_sys_shmsys_args {
205 1.17 mycroft syscallarg(int) which;
206 1.17 mycroft syscallarg(int) a2;
207 1.17 mycroft syscallarg(int) a3;
208 1.17 mycroft syscallarg(int) a4;
209 1.17 mycroft };
210 1.17 mycroft
211 1.1 mycroft struct freebsd_ntp_adjtime_args {
212 1.1 mycroft syscallarg(struct freebsd_timex *) tp;
213 1.1 mycroft };
214 1.1 mycroft
215 1.1 mycroft struct freebsd_sys_stat_args {
216 1.1 mycroft syscallarg(char *) path;
217 1.12 christos syscallarg(struct stat12 *) ub;
218 1.1 mycroft };
219 1.1 mycroft
220 1.1 mycroft struct freebsd_sys_lstat_args {
221 1.1 mycroft syscallarg(char *) path;
222 1.12 christos syscallarg(struct stat12 *) ub;
223 1.1 mycroft };
224 1.1 mycroft
225 1.1 mycroft struct freebsd_sys_pathconf_args {
226 1.1 mycroft syscallarg(char *) path;
227 1.1 mycroft syscallarg(int) name;
228 1.1 mycroft };
229 1.1 mycroft
230 1.1 mycroft struct freebsd_sys_truncate_args {
231 1.1 mycroft syscallarg(char *) path;
232 1.1 mycroft syscallarg(int) pad;
233 1.1 mycroft syscallarg(off_t) length;
234 1.1 mycroft };
235 1.1 mycroft
236 1.1 mycroft struct freebsd_sys_undelete_args {
237 1.1 mycroft syscallarg(char *) path;
238 1.1 mycroft };
239 1.1 mycroft
240 1.9 enami struct freebsd_sys_lchown_args {
241 1.9 enami syscallarg(char *) path;
242 1.9 enami syscallarg(int) uid;
243 1.9 enami syscallarg(int) gid;
244 1.9 enami };
245 1.9 enami
246 1.1 mycroft /*
247 1.1 mycroft * System call prototypes.
248 1.1 mycroft */
249 1.1 mycroft
250 1.1 mycroft int sys_nosys __P((struct proc *, void *, register_t *));
251 1.1 mycroft int sys_exit __P((struct proc *, void *, register_t *));
252 1.1 mycroft int sys_fork __P((struct proc *, void *, register_t *));
253 1.1 mycroft int sys_read __P((struct proc *, void *, register_t *));
254 1.1 mycroft int sys_write __P((struct proc *, void *, register_t *));
255 1.1 mycroft int freebsd_sys_open __P((struct proc *, void *, register_t *));
256 1.1 mycroft int sys_close __P((struct proc *, void *, register_t *));
257 1.1 mycroft int sys_wait4 __P((struct proc *, void *, register_t *));
258 1.1 mycroft int compat_43_freebsd_sys_creat __P((struct proc *, void *, register_t *));
259 1.1 mycroft int freebsd_sys_link __P((struct proc *, void *, register_t *));
260 1.1 mycroft int freebsd_sys_unlink __P((struct proc *, void *, register_t *));
261 1.1 mycroft int freebsd_sys_chdir __P((struct proc *, void *, register_t *));
262 1.1 mycroft int sys_fchdir __P((struct proc *, void *, register_t *));
263 1.1 mycroft int freebsd_sys_mknod __P((struct proc *, void *, register_t *));
264 1.1 mycroft int freebsd_sys_chmod __P((struct proc *, void *, register_t *));
265 1.1 mycroft int freebsd_sys_chown __P((struct proc *, void *, register_t *));
266 1.1 mycroft int sys_obreak __P((struct proc *, void *, register_t *));
267 1.1 mycroft int sys_getfsstat __P((struct proc *, void *, register_t *));
268 1.1 mycroft int compat_43_sys_lseek __P((struct proc *, void *, register_t *));
269 1.1 mycroft int sys_getpid __P((struct proc *, void *, register_t *));
270 1.1 mycroft int freebsd_sys_mount __P((struct proc *, void *, register_t *));
271 1.1 mycroft int freebsd_sys_unmount __P((struct proc *, void *, register_t *));
272 1.1 mycroft int sys_setuid __P((struct proc *, void *, register_t *));
273 1.1 mycroft int sys_getuid __P((struct proc *, void *, register_t *));
274 1.1 mycroft int sys_geteuid __P((struct proc *, void *, register_t *));
275 1.1 mycroft int freebsd_sys_ptrace __P((struct proc *, void *, register_t *));
276 1.1 mycroft int sys_recvmsg __P((struct proc *, void *, register_t *));
277 1.1 mycroft int sys_sendmsg __P((struct proc *, void *, register_t *));
278 1.1 mycroft int sys_recvfrom __P((struct proc *, void *, register_t *));
279 1.1 mycroft int sys_accept __P((struct proc *, void *, register_t *));
280 1.1 mycroft int sys_getpeername __P((struct proc *, void *, register_t *));
281 1.1 mycroft int sys_getsockname __P((struct proc *, void *, register_t *));
282 1.1 mycroft int freebsd_sys_access __P((struct proc *, void *, register_t *));
283 1.1 mycroft int freebsd_sys_chflags __P((struct proc *, void *, register_t *));
284 1.1 mycroft int sys_fchflags __P((struct proc *, void *, register_t *));
285 1.1 mycroft int sys_sync __P((struct proc *, void *, register_t *));
286 1.1 mycroft int sys_kill __P((struct proc *, void *, register_t *));
287 1.1 mycroft int compat_43_freebsd_sys_stat __P((struct proc *, void *, register_t *));
288 1.3 mycroft int sys_getppid __P((struct proc *, void *, register_t *));
289 1.1 mycroft int compat_43_freebsd_sys_lstat __P((struct proc *, void *, register_t *));
290 1.1 mycroft int sys_dup __P((struct proc *, void *, register_t *));
291 1.1 mycroft int sys_pipe __P((struct proc *, void *, register_t *));
292 1.1 mycroft int sys_getegid __P((struct proc *, void *, register_t *));
293 1.1 mycroft int sys_profil __P((struct proc *, void *, register_t *));
294 1.1 mycroft #ifdef KTRACE
295 1.1 mycroft int sys_ktrace __P((struct proc *, void *, register_t *));
296 1.1 mycroft #else
297 1.1 mycroft #endif
298 1.24 mycroft int compat_13_sys_sigaction __P((struct proc *, void *, register_t *));
299 1.1 mycroft int sys_getgid __P((struct proc *, void *, register_t *));
300 1.24 mycroft int compat_13_sys_sigprocmask __P((struct proc *, void *, register_t *));
301 1.5 christos int sys___getlogin __P((struct proc *, void *, register_t *));
302 1.1 mycroft int sys_setlogin __P((struct proc *, void *, register_t *));
303 1.1 mycroft int sys_acct __P((struct proc *, void *, register_t *));
304 1.24 mycroft int compat_13_sys_sigpending __P((struct proc *, void *, register_t *));
305 1.13 veego int compat_13_sys_sigaltstack __P((struct proc *, void *, register_t *));
306 1.1 mycroft int freebsd_sys_ioctl __P((struct proc *, void *, register_t *));
307 1.1 mycroft int sys_reboot __P((struct proc *, void *, register_t *));
308 1.1 mycroft int freebsd_sys_revoke __P((struct proc *, void *, register_t *));
309 1.1 mycroft int freebsd_sys_symlink __P((struct proc *, void *, register_t *));
310 1.1 mycroft int freebsd_sys_readlink __P((struct proc *, void *, register_t *));
311 1.1 mycroft int freebsd_sys_execve __P((struct proc *, void *, register_t *));
312 1.1 mycroft int sys_umask __P((struct proc *, void *, register_t *));
313 1.1 mycroft int freebsd_sys_chroot __P((struct proc *, void *, register_t *));
314 1.1 mycroft int compat_43_sys_fstat __P((struct proc *, void *, register_t *));
315 1.1 mycroft int compat_43_sys_getkerninfo __P((struct proc *, void *, register_t *));
316 1.1 mycroft int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *));
317 1.1 mycroft int freebsd_sys_msync __P((struct proc *, void *, register_t *));
318 1.1 mycroft int sys_vfork __P((struct proc *, void *, register_t *));
319 1.1 mycroft int sys_sbrk __P((struct proc *, void *, register_t *));
320 1.1 mycroft int sys_sstk __P((struct proc *, void *, register_t *));
321 1.1 mycroft int compat_43_sys_mmap __P((struct proc *, void *, register_t *));
322 1.1 mycroft int sys_ovadvise __P((struct proc *, void *, register_t *));
323 1.1 mycroft int sys_munmap __P((struct proc *, void *, register_t *));
324 1.1 mycroft int sys_mprotect __P((struct proc *, void *, register_t *));
325 1.1 mycroft int sys_madvise __P((struct proc *, void *, register_t *));
326 1.1 mycroft int sys_mincore __P((struct proc *, void *, register_t *));
327 1.1 mycroft int sys_getgroups __P((struct proc *, void *, register_t *));
328 1.1 mycroft int sys_setgroups __P((struct proc *, void *, register_t *));
329 1.1 mycroft int sys_getpgrp __P((struct proc *, void *, register_t *));
330 1.1 mycroft int sys_setpgid __P((struct proc *, void *, register_t *));
331 1.1 mycroft int sys_setitimer __P((struct proc *, void *, register_t *));
332 1.1 mycroft int compat_43_sys_wait __P((struct proc *, void *, register_t *));
333 1.7 thorpej int compat_12_sys_swapon __P((struct proc *, void *, register_t *));
334 1.1 mycroft int sys_getitimer __P((struct proc *, void *, register_t *));
335 1.1 mycroft int compat_43_sys_gethostname __P((struct proc *, void *, register_t *));
336 1.1 mycroft int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));
337 1.1 mycroft int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *));
338 1.1 mycroft int sys_dup2 __P((struct proc *, void *, register_t *));
339 1.1 mycroft int sys_fcntl __P((struct proc *, void *, register_t *));
340 1.1 mycroft int sys_select __P((struct proc *, void *, register_t *));
341 1.1 mycroft int sys_fsync __P((struct proc *, void *, register_t *));
342 1.1 mycroft int sys_setpriority __P((struct proc *, void *, register_t *));
343 1.1 mycroft int sys_socket __P((struct proc *, void *, register_t *));
344 1.1 mycroft int sys_connect __P((struct proc *, void *, register_t *));
345 1.1 mycroft int compat_43_sys_accept __P((struct proc *, void *, register_t *));
346 1.1 mycroft int sys_getpriority __P((struct proc *, void *, register_t *));
347 1.1 mycroft int compat_43_sys_send __P((struct proc *, void *, register_t *));
348 1.1 mycroft int compat_43_sys_recv __P((struct proc *, void *, register_t *));
349 1.1 mycroft int freebsd_sys_sigreturn __P((struct proc *, void *, register_t *));
350 1.1 mycroft int sys_bind __P((struct proc *, void *, register_t *));
351 1.1 mycroft int sys_setsockopt __P((struct proc *, void *, register_t *));
352 1.1 mycroft int sys_listen __P((struct proc *, void *, register_t *));
353 1.1 mycroft int compat_43_sys_sigvec __P((struct proc *, void *, register_t *));
354 1.1 mycroft int compat_43_sys_sigblock __P((struct proc *, void *, register_t *));
355 1.1 mycroft int compat_43_sys_sigsetmask __P((struct proc *, void *, register_t *));
356 1.24 mycroft int compat_13_sys_sigsuspend __P((struct proc *, void *, register_t *));
357 1.1 mycroft int compat_43_sys_sigstack __P((struct proc *, void *, register_t *));
358 1.1 mycroft int compat_43_sys_recvmsg __P((struct proc *, void *, register_t *));
359 1.1 mycroft int compat_43_sys_sendmsg __P((struct proc *, void *, register_t *));
360 1.1 mycroft #ifdef TRACE
361 1.1 mycroft int sys_vtrace __P((struct proc *, void *, register_t *));
362 1.1 mycroft #else
363 1.1 mycroft #endif
364 1.1 mycroft int sys_gettimeofday __P((struct proc *, void *, register_t *));
365 1.1 mycroft int sys_getrusage __P((struct proc *, void *, register_t *));
366 1.1 mycroft int sys_getsockopt __P((struct proc *, void *, register_t *));
367 1.1 mycroft int sys_readv __P((struct proc *, void *, register_t *));
368 1.1 mycroft int sys_writev __P((struct proc *, void *, register_t *));
369 1.1 mycroft int sys_settimeofday __P((struct proc *, void *, register_t *));
370 1.1 mycroft int sys_fchown __P((struct proc *, void *, register_t *));
371 1.1 mycroft int sys_fchmod __P((struct proc *, void *, register_t *));
372 1.1 mycroft int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *));
373 1.4 mycroft int sys_setreuid __P((struct proc *, void *, register_t *));
374 1.4 mycroft int sys_setregid __P((struct proc *, void *, register_t *));
375 1.1 mycroft int freebsd_sys_rename __P((struct proc *, void *, register_t *));
376 1.1 mycroft int compat_43_freebsd_sys_truncate __P((struct proc *, void *, register_t *));
377 1.1 mycroft int compat_43_sys_ftruncate __P((struct proc *, void *, register_t *));
378 1.1 mycroft int sys_flock __P((struct proc *, void *, register_t *));
379 1.1 mycroft int freebsd_sys_mkfifo __P((struct proc *, void *, register_t *));
380 1.1 mycroft int sys_sendto __P((struct proc *, void *, register_t *));
381 1.1 mycroft int sys_shutdown __P((struct proc *, void *, register_t *));
382 1.1 mycroft int sys_socketpair __P((struct proc *, void *, register_t *));
383 1.1 mycroft int freebsd_sys_mkdir __P((struct proc *, void *, register_t *));
384 1.1 mycroft int freebsd_sys_rmdir __P((struct proc *, void *, register_t *));
385 1.1 mycroft int sys_utimes __P((struct proc *, void *, register_t *));
386 1.1 mycroft int sys_adjtime __P((struct proc *, void *, register_t *));
387 1.1 mycroft int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
388 1.1 mycroft int compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
389 1.1 mycroft int compat_43_sys_sethostid __P((struct proc *, void *, register_t *));
390 1.1 mycroft int compat_43_sys_getrlimit __P((struct proc *, void *, register_t *));
391 1.1 mycroft int compat_43_sys_setrlimit __P((struct proc *, void *, register_t *));
392 1.1 mycroft int compat_43_sys_killpg __P((struct proc *, void *, register_t *));
393 1.1 mycroft int sys_setsid __P((struct proc *, void *, register_t *));
394 1.1 mycroft int sys_quotactl __P((struct proc *, void *, register_t *));
395 1.1 mycroft int compat_43_sys_quota __P((struct proc *, void *, register_t *));
396 1.1 mycroft int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
397 1.6 thorpej #if defined(NFS) || defined(NFSSERVER)
398 1.1 mycroft int sys_nfssvc __P((struct proc *, void *, register_t *));
399 1.1 mycroft #else
400 1.1 mycroft #endif
401 1.1 mycroft int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *));
402 1.1 mycroft int freebsd_sys_statfs __P((struct proc *, void *, register_t *));
403 1.1 mycroft int sys_fstatfs __P((struct proc *, void *, register_t *));
404 1.6 thorpej #ifdef NFS
405 1.1 mycroft int freebsd_sys_getfh __P((struct proc *, void *, register_t *));
406 1.1 mycroft #else
407 1.1 mycroft #endif
408 1.1 mycroft int compat_09_sys_getdomainname __P((struct proc *, void *, register_t *));
409 1.1 mycroft int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *));
410 1.1 mycroft int compat_09_sys_uname __P((struct proc *, void *, register_t *));
411 1.1 mycroft int sys_sysarch __P((struct proc *, void *, register_t *));
412 1.1 mycroft int freebsd_sys_rtprio __P((struct proc *, void *, register_t *));
413 1.1 mycroft #if defined(SYSVSEM) && !defined(alpha)
414 1.17 mycroft int freebsd_sys_semsys __P((struct proc *, void *, register_t *));
415 1.1 mycroft #else
416 1.1 mycroft #endif
417 1.1 mycroft #if defined(SYSVMSG) && !defined(alpha)
418 1.17 mycroft int freebsd_sys_msgsys __P((struct proc *, void *, register_t *));
419 1.1 mycroft #else
420 1.1 mycroft #endif
421 1.1 mycroft #if defined(SYSVSHM) && !defined(alpha)
422 1.17 mycroft int freebsd_sys_shmsys __P((struct proc *, void *, register_t *));
423 1.1 mycroft #else
424 1.1 mycroft #endif
425 1.1 mycroft int freebsd_ntp_adjtime __P((struct proc *, void *, register_t *));
426 1.1 mycroft int sys_setgid __P((struct proc *, void *, register_t *));
427 1.1 mycroft int sys_setegid __P((struct proc *, void *, register_t *));
428 1.1 mycroft int sys_seteuid __P((struct proc *, void *, register_t *));
429 1.1 mycroft #ifdef LFS
430 1.1 mycroft int lfs_bmapv __P((struct proc *, void *, register_t *));
431 1.1 mycroft int lfs_markv __P((struct proc *, void *, register_t *));
432 1.1 mycroft int lfs_segclean __P((struct proc *, void *, register_t *));
433 1.1 mycroft int lfs_segwait __P((struct proc *, void *, register_t *));
434 1.1 mycroft #else
435 1.1 mycroft #endif
436 1.1 mycroft int freebsd_sys_stat __P((struct proc *, void *, register_t *));
437 1.12 christos int compat_12_sys_fstat __P((struct proc *, void *, register_t *));
438 1.1 mycroft int freebsd_sys_lstat __P((struct proc *, void *, register_t *));
439 1.1 mycroft int freebsd_sys_pathconf __P((struct proc *, void *, register_t *));
440 1.1 mycroft int sys_fpathconf __P((struct proc *, void *, register_t *));
441 1.1 mycroft int sys_getrlimit __P((struct proc *, void *, register_t *));
442 1.1 mycroft int sys_setrlimit __P((struct proc *, void *, register_t *));
443 1.8 fvdl int compat_12_sys_getdirentries __P((struct proc *, void *, register_t *));
444 1.1 mycroft int sys_mmap __P((struct proc *, void *, register_t *));
445 1.1 mycroft int sys_nosys __P((struct proc *, void *, register_t *));
446 1.1 mycroft int sys_lseek __P((struct proc *, void *, register_t *));
447 1.1 mycroft int freebsd_sys_truncate __P((struct proc *, void *, register_t *));
448 1.1 mycroft int sys_ftruncate __P((struct proc *, void *, register_t *));
449 1.1 mycroft int sys___sysctl __P((struct proc *, void *, register_t *));
450 1.1 mycroft int sys_mlock __P((struct proc *, void *, register_t *));
451 1.1 mycroft int sys_munlock __P((struct proc *, void *, register_t *));
452 1.1 mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
453 1.1 mycroft int freebsd_sys_undelete __P((struct proc *, void *, register_t *));
454 1.1 mycroft #else
455 1.1 mycroft #endif
456 1.21 christos int freebsd_sys_issetugid __P((struct proc *, void *, register_t *));
457 1.9 enami int freebsd_sys_lchown __P((struct proc *, void *, register_t *));
458