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