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