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