freebsd_syscallargs.h revision 1.52.2.2 1 1.52.2.1 skrll /* $NetBSD: freebsd_syscallargs.h,v 1.52.2.2 2004/09/18 14:43:15 skrll 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.52.2.1 skrll * created from NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp
8 1.1 mycroft */
9 1.26 tron
10 1.28 christos #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
11 1.45 mrg #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.47 lukem struct { /* LINTED zero array dimension */ \
22 1.47 lukem int8_t pad[ /* CONSTCOND */ \
23 1.47 lukem (sizeof (register_t) < sizeof (x)) \
24 1.31 thorpej ? 0 \
25 1.31 thorpej : sizeof (register_t) - sizeof (x)]; \
26 1.31 thorpej x datum; \
27 1.31 thorpej } be; \
28 1.31 thorpej }
29 1.1 mycroft
30 1.1 mycroft struct freebsd_sys_open_args {
31 1.28 christos syscallarg(const char *) path;
32 1.1 mycroft syscallarg(int) flags;
33 1.1 mycroft syscallarg(int) mode;
34 1.1 mycroft };
35 1.1 mycroft
36 1.1 mycroft struct compat_43_freebsd_sys_creat_args {
37 1.28 christos syscallarg(const char *) path;
38 1.1 mycroft syscallarg(int) mode;
39 1.1 mycroft };
40 1.1 mycroft
41 1.1 mycroft struct freebsd_sys_link_args {
42 1.28 christos syscallarg(const char *) path;
43 1.28 christos syscallarg(const char *) link;
44 1.1 mycroft };
45 1.1 mycroft
46 1.1 mycroft struct freebsd_sys_unlink_args {
47 1.28 christos syscallarg(const char *) path;
48 1.1 mycroft };
49 1.1 mycroft
50 1.1 mycroft struct freebsd_sys_chdir_args {
51 1.28 christos syscallarg(const char *) path;
52 1.1 mycroft };
53 1.1 mycroft
54 1.1 mycroft struct freebsd_sys_mknod_args {
55 1.28 christos syscallarg(const char *) path;
56 1.1 mycroft syscallarg(int) mode;
57 1.1 mycroft syscallarg(int) dev;
58 1.1 mycroft };
59 1.1 mycroft
60 1.1 mycroft struct freebsd_sys_chmod_args {
61 1.28 christos syscallarg(const char *) path;
62 1.1 mycroft syscallarg(int) mode;
63 1.1 mycroft };
64 1.1 mycroft
65 1.1 mycroft struct freebsd_sys_chown_args {
66 1.28 christos syscallarg(const char *) path;
67 1.1 mycroft syscallarg(int) uid;
68 1.1 mycroft syscallarg(int) gid;
69 1.1 mycroft };
70 1.1 mycroft
71 1.1 mycroft struct freebsd_sys_mount_args {
72 1.1 mycroft syscallarg(int) type;
73 1.28 christos syscallarg(const char *) path;
74 1.1 mycroft syscallarg(int) flags;
75 1.1 mycroft syscallarg(caddr_t) data;
76 1.1 mycroft };
77 1.1 mycroft
78 1.1 mycroft struct freebsd_sys_unmount_args {
79 1.28 christos syscallarg(const char *) path;
80 1.1 mycroft syscallarg(int) flags;
81 1.1 mycroft };
82 1.1 mycroft
83 1.1 mycroft struct freebsd_sys_ptrace_args {
84 1.1 mycroft syscallarg(int) req;
85 1.1 mycroft syscallarg(pid_t) pid;
86 1.1 mycroft syscallarg(caddr_t) addr;
87 1.1 mycroft syscallarg(int) data;
88 1.1 mycroft };
89 1.1 mycroft
90 1.1 mycroft struct freebsd_sys_access_args {
91 1.28 christos syscallarg(const char *) path;
92 1.1 mycroft syscallarg(int) flags;
93 1.1 mycroft };
94 1.1 mycroft
95 1.1 mycroft struct freebsd_sys_chflags_args {
96 1.28 christos syscallarg(const char *) path;
97 1.1 mycroft syscallarg(int) flags;
98 1.1 mycroft };
99 1.1 mycroft
100 1.1 mycroft struct compat_43_freebsd_sys_stat_args {
101 1.28 christos syscallarg(const char *) path;
102 1.11 christos syscallarg(struct stat43 *) ub;
103 1.1 mycroft };
104 1.1 mycroft
105 1.1 mycroft struct compat_43_freebsd_sys_lstat_args {
106 1.28 christos syscallarg(const char *) path;
107 1.11 christos syscallarg(struct stat43 *) ub;
108 1.1 mycroft };
109 1.52.2.1 skrll #ifdef KTRACE
110 1.52.2.1 skrll #else
111 1.52.2.1 skrll #endif
112 1.1 mycroft
113 1.1 mycroft struct freebsd_sys_ioctl_args {
114 1.1 mycroft syscallarg(int) fd;
115 1.1 mycroft syscallarg(u_long) com;
116 1.1 mycroft syscallarg(caddr_t) data;
117 1.1 mycroft };
118 1.1 mycroft
119 1.1 mycroft struct freebsd_sys_revoke_args {
120 1.28 christos syscallarg(const char *) path;
121 1.1 mycroft };
122 1.1 mycroft
123 1.1 mycroft struct freebsd_sys_symlink_args {
124 1.28 christos syscallarg(const char *) path;
125 1.28 christos syscallarg(const char *) link;
126 1.1 mycroft };
127 1.1 mycroft
128 1.1 mycroft struct freebsd_sys_readlink_args {
129 1.28 christos syscallarg(const char *) path;
130 1.1 mycroft syscallarg(char *) buf;
131 1.1 mycroft syscallarg(int) count;
132 1.1 mycroft };
133 1.1 mycroft
134 1.1 mycroft struct freebsd_sys_execve_args {
135 1.28 christos syscallarg(const char *) path;
136 1.1 mycroft syscallarg(char **) argp;
137 1.1 mycroft syscallarg(char **) envp;
138 1.1 mycroft };
139 1.1 mycroft
140 1.1 mycroft struct freebsd_sys_chroot_args {
141 1.28 christos syscallarg(const char *) path;
142 1.1 mycroft };
143 1.1 mycroft
144 1.1 mycroft struct freebsd_sys_msync_args {
145 1.1 mycroft syscallarg(caddr_t) addr;
146 1.1 mycroft syscallarg(size_t) len;
147 1.1 mycroft syscallarg(int) flags;
148 1.1 mycroft };
149 1.1 mycroft
150 1.1 mycroft struct freebsd_sys_sigreturn_args {
151 1.1 mycroft syscallarg(struct freebsd_sigcontext *) scp;
152 1.1 mycroft };
153 1.52.2.1 skrll #ifdef TRACE
154 1.52.2.1 skrll #else
155 1.52.2.1 skrll #endif
156 1.1 mycroft
157 1.1 mycroft struct freebsd_sys_rename_args {
158 1.28 christos syscallarg(const char *) from;
159 1.28 christos syscallarg(const char *) to;
160 1.1 mycroft };
161 1.1 mycroft
162 1.1 mycroft struct compat_43_freebsd_sys_truncate_args {
163 1.28 christos syscallarg(const char *) path;
164 1.1 mycroft syscallarg(long) length;
165 1.1 mycroft };
166 1.1 mycroft
167 1.1 mycroft struct freebsd_sys_mkfifo_args {
168 1.28 christos syscallarg(const char *) path;
169 1.1 mycroft syscallarg(int) mode;
170 1.1 mycroft };
171 1.1 mycroft
172 1.1 mycroft struct freebsd_sys_mkdir_args {
173 1.28 christos syscallarg(const char *) path;
174 1.1 mycroft syscallarg(int) mode;
175 1.1 mycroft };
176 1.1 mycroft
177 1.1 mycroft struct freebsd_sys_rmdir_args {
178 1.28 christos syscallarg(const char *) path;
179 1.1 mycroft };
180 1.52.2.1 skrll #if defined(NFS) || defined(NFSSERVER)
181 1.52.2.1 skrll #else
182 1.52.2.1 skrll #endif
183 1.1 mycroft
184 1.1 mycroft struct freebsd_sys_statfs_args {
185 1.28 christos syscallarg(const char *) path;
186 1.52.2.1 skrll syscallarg(struct statfs12 *) buf;
187 1.1 mycroft };
188 1.52.2.1 skrll #ifdef NFS
189 1.1 mycroft
190 1.1 mycroft struct freebsd_sys_getfh_args {
191 1.28 christos syscallarg(const char *) fname;
192 1.1 mycroft syscallarg(fhandle_t *) fhp;
193 1.1 mycroft };
194 1.52.2.1 skrll #else
195 1.52.2.1 skrll #endif
196 1.1 mycroft
197 1.1 mycroft struct freebsd_sys_rtprio_args {
198 1.1 mycroft syscallarg(int) function;
199 1.1 mycroft syscallarg(pid_t) pid;
200 1.1 mycroft syscallarg(struct freebsd_rtprio *) rtp;
201 1.1 mycroft };
202 1.52.2.1 skrll #if defined(SYSVSEM) && !defined(_LP64)
203 1.1 mycroft
204 1.17 mycroft struct freebsd_sys_semsys_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 syscallarg(int) a5;
210 1.17 mycroft };
211 1.52.2.1 skrll #else
212 1.52.2.1 skrll #endif
213 1.52.2.1 skrll #if defined(SYSVMSG) && !defined(_LP64)
214 1.17 mycroft
215 1.17 mycroft struct freebsd_sys_msgsys_args {
216 1.17 mycroft syscallarg(int) which;
217 1.17 mycroft syscallarg(int) a2;
218 1.17 mycroft syscallarg(int) a3;
219 1.17 mycroft syscallarg(int) a4;
220 1.17 mycroft syscallarg(int) a5;
221 1.17 mycroft syscallarg(int) a6;
222 1.17 mycroft };
223 1.52.2.1 skrll #else
224 1.52.2.1 skrll #endif
225 1.52.2.1 skrll #if defined(SYSVSHM) && !defined(_LP64)
226 1.17 mycroft
227 1.17 mycroft struct freebsd_sys_shmsys_args {
228 1.17 mycroft syscallarg(int) which;
229 1.17 mycroft syscallarg(int) a2;
230 1.17 mycroft syscallarg(int) a3;
231 1.17 mycroft syscallarg(int) a4;
232 1.17 mycroft };
233 1.52.2.1 skrll #else
234 1.52.2.1 skrll #endif
235 1.52.2.1 skrll #ifdef NTP
236 1.17 mycroft
237 1.1 mycroft struct freebsd_ntp_adjtime_args {
238 1.1 mycroft syscallarg(struct freebsd_timex *) tp;
239 1.1 mycroft };
240 1.52.2.1 skrll #else
241 1.52.2.1 skrll #endif
242 1.52.2.1 skrll #ifdef LFS
243 1.52.2.1 skrll #else
244 1.52.2.1 skrll #endif
245 1.1 mycroft
246 1.1 mycroft struct freebsd_sys_stat_args {
247 1.28 christos syscallarg(const char *) path;
248 1.12 christos syscallarg(struct stat12 *) ub;
249 1.1 mycroft };
250 1.1 mycroft
251 1.1 mycroft struct freebsd_sys_lstat_args {
252 1.28 christos syscallarg(const char *) path;
253 1.12 christos syscallarg(struct stat12 *) ub;
254 1.1 mycroft };
255 1.1 mycroft
256 1.1 mycroft struct freebsd_sys_pathconf_args {
257 1.28 christos syscallarg(const char *) path;
258 1.1 mycroft syscallarg(int) name;
259 1.1 mycroft };
260 1.1 mycroft
261 1.52.2.1 skrll struct freebsd_sys_mmap_args {
262 1.52.2.1 skrll syscallarg(caddr_t) addr;
263 1.52.2.1 skrll syscallarg(size_t) len;
264 1.52.2.1 skrll syscallarg(int) prot;
265 1.52.2.1 skrll syscallarg(int) flags;
266 1.52.2.1 skrll syscallarg(int) fd;
267 1.52.2.1 skrll syscallarg(long) pad;
268 1.52.2.1 skrll syscallarg(off_t) pos;
269 1.52.2.1 skrll };
270 1.52.2.1 skrll
271 1.1 mycroft struct freebsd_sys_truncate_args {
272 1.28 christos syscallarg(const char *) path;
273 1.1 mycroft syscallarg(int) pad;
274 1.1 mycroft syscallarg(off_t) length;
275 1.1 mycroft };
276 1.52.2.1 skrll #ifdef FREEBSD_BASED_ON_44LITE_R2
277 1.1 mycroft
278 1.1 mycroft struct freebsd_sys_undelete_args {
279 1.1 mycroft syscallarg(char *) path;
280 1.1 mycroft };
281 1.52.2.1 skrll #else
282 1.52.2.1 skrll #endif
283 1.52.2.1 skrll #if 0
284 1.52.2.1 skrll #else
285 1.52.2.1 skrll #endif
286 1.52.2.1 skrll #ifdef SYSVSEM
287 1.52.2.1 skrll #else
288 1.52.2.1 skrll #endif
289 1.52.2.1 skrll #ifdef SYSVMSG
290 1.52.2.1 skrll #else
291 1.52.2.1 skrll #endif
292 1.52.2.1 skrll #ifdef SYSVSHM
293 1.52.2.1 skrll #else
294 1.52.2.1 skrll #endif
295 1.1 mycroft
296 1.49 pooka struct freebsd_sys_rfork_args {
297 1.49 pooka syscallarg(int) flags;
298 1.49 pooka };
299 1.49 pooka
300 1.9 enami struct freebsd_sys_lchown_args {
301 1.28 christos syscallarg(const char *) path;
302 1.9 enami syscallarg(int) uid;
303 1.9 enami syscallarg(int) gid;
304 1.9 enami };
305 1.9 enami
306 1.50 gmcgarry struct freebsd_sys_sched_setparam_args {
307 1.50 gmcgarry syscallarg(pid_t) pid;
308 1.50 gmcgarry syscallarg(const struct freebsd_sched_param *) sp;
309 1.50 gmcgarry };
310 1.50 gmcgarry
311 1.50 gmcgarry struct freebsd_sys_sched_getparam_args {
312 1.50 gmcgarry syscallarg(pid_t) pid;
313 1.50 gmcgarry syscallarg(struct freebsd_sched_param *) sp;
314 1.50 gmcgarry };
315 1.50 gmcgarry
316 1.50 gmcgarry struct freebsd_sys_sched_setscheduler_args {
317 1.50 gmcgarry syscallarg(pid_t) pid;
318 1.50 gmcgarry syscallarg(int) policy;
319 1.50 gmcgarry syscallarg(const struct sched_param *) sp;
320 1.50 gmcgarry };
321 1.50 gmcgarry
322 1.50 gmcgarry struct freebsd_sys_sched_getscheduler_args {
323 1.50 gmcgarry syscallarg(pid_t) pid;
324 1.50 gmcgarry };
325 1.50 gmcgarry
326 1.50 gmcgarry struct freebsd_sys_sched_get_priority_max_args {
327 1.50 gmcgarry syscallarg(int) policy;
328 1.50 gmcgarry };
329 1.50 gmcgarry
330 1.50 gmcgarry struct freebsd_sys_sched_get_priority_min_args {
331 1.50 gmcgarry syscallarg(int) policy;
332 1.50 gmcgarry };
333 1.50 gmcgarry
334 1.43 jdolecek struct freebsd_sys_utrace_args {
335 1.43 jdolecek syscallarg(void *) addr;
336 1.43 jdolecek syscallarg(size_t) len;
337 1.43 jdolecek };
338 1.43 jdolecek
339 1.34 onoe struct freebsd_sys_sigaction4_args {
340 1.34 onoe syscallarg(int) signum;
341 1.34 onoe syscallarg(const struct freebsd_sigaction4 *) nsa;
342 1.34 onoe syscallarg(struct freebsd_sigaction4 *) osa;
343 1.34 onoe };
344 1.52.2.1 skrll #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
345 1.52.2.1 skrll #else
346 1.52.2.1 skrll #endif
347 1.34 onoe
348 1.1 mycroft /*
349 1.1 mycroft * System call prototypes.
350 1.1 mycroft */
351 1.1 mycroft
352 1.51 thorpej int sys_nosys(struct lwp *, void *, register_t *);
353 1.52.2.1 skrll
354 1.51 thorpej int sys_exit(struct lwp *, void *, register_t *);
355 1.52.2.1 skrll
356 1.51 thorpej int sys_fork(struct lwp *, void *, register_t *);
357 1.52.2.1 skrll
358 1.51 thorpej int sys_read(struct lwp *, void *, register_t *);
359 1.52.2.1 skrll
360 1.51 thorpej int sys_write(struct lwp *, void *, register_t *);
361 1.52.2.1 skrll
362 1.51 thorpej int freebsd_sys_open(struct lwp *, void *, register_t *);
363 1.52.2.1 skrll
364 1.51 thorpej int sys_close(struct lwp *, void *, register_t *);
365 1.52.2.1 skrll
366 1.51 thorpej int sys_wait4(struct lwp *, void *, register_t *);
367 1.52.2.1 skrll
368 1.51 thorpej int compat_43_freebsd_sys_creat(struct lwp *, void *, register_t *);
369 1.52.2.1 skrll
370 1.51 thorpej int freebsd_sys_link(struct lwp *, void *, register_t *);
371 1.52.2.1 skrll
372 1.51 thorpej int freebsd_sys_unlink(struct lwp *, void *, register_t *);
373 1.52.2.1 skrll
374 1.51 thorpej int freebsd_sys_chdir(struct lwp *, void *, register_t *);
375 1.52.2.1 skrll
376 1.51 thorpej int sys_fchdir(struct lwp *, void *, register_t *);
377 1.52.2.1 skrll
378 1.51 thorpej int freebsd_sys_mknod(struct lwp *, void *, register_t *);
379 1.52.2.1 skrll
380 1.51 thorpej int freebsd_sys_chmod(struct lwp *, void *, register_t *);
381 1.52.2.1 skrll
382 1.51 thorpej int freebsd_sys_chown(struct lwp *, void *, register_t *);
383 1.52.2.1 skrll
384 1.51 thorpej int sys_obreak(struct lwp *, void *, register_t *);
385 1.52.2.1 skrll
386 1.52.2.1 skrll int compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
387 1.52.2.1 skrll
388 1.51 thorpej int compat_43_sys_lseek(struct lwp *, void *, register_t *);
389 1.52.2.1 skrll
390 1.51 thorpej int sys_getpid_with_ppid(struct lwp *, void *, register_t *);
391 1.52.2.1 skrll
392 1.51 thorpej int freebsd_sys_mount(struct lwp *, void *, register_t *);
393 1.52.2.1 skrll
394 1.51 thorpej int freebsd_sys_unmount(struct lwp *, void *, register_t *);
395 1.52.2.1 skrll
396 1.51 thorpej int sys_setuid(struct lwp *, void *, register_t *);
397 1.52.2.1 skrll
398 1.51 thorpej int sys_getuid_with_euid(struct lwp *, void *, register_t *);
399 1.52.2.1 skrll
400 1.51 thorpej int sys_geteuid(struct lwp *, void *, register_t *);
401 1.52.2.1 skrll
402 1.51 thorpej int freebsd_sys_ptrace(struct lwp *, void *, register_t *);
403 1.52.2.1 skrll
404 1.51 thorpej int sys_recvmsg(struct lwp *, void *, register_t *);
405 1.52.2.1 skrll
406 1.51 thorpej int sys_sendmsg(struct lwp *, void *, register_t *);
407 1.52.2.1 skrll
408 1.51 thorpej int sys_recvfrom(struct lwp *, void *, register_t *);
409 1.52.2.1 skrll
410 1.51 thorpej int sys_accept(struct lwp *, void *, register_t *);
411 1.52.2.1 skrll
412 1.51 thorpej int sys_getpeername(struct lwp *, void *, register_t *);
413 1.52.2.1 skrll
414 1.51 thorpej int sys_getsockname(struct lwp *, void *, register_t *);
415 1.52.2.1 skrll
416 1.51 thorpej int freebsd_sys_access(struct lwp *, void *, register_t *);
417 1.52.2.1 skrll
418 1.51 thorpej int freebsd_sys_chflags(struct lwp *, void *, register_t *);
419 1.52.2.1 skrll
420 1.51 thorpej int sys_fchflags(struct lwp *, void *, register_t *);
421 1.52.2.1 skrll
422 1.51 thorpej int sys_sync(struct lwp *, void *, register_t *);
423 1.52.2.1 skrll
424 1.51 thorpej int sys_kill(struct lwp *, void *, register_t *);
425 1.52.2.1 skrll
426 1.51 thorpej int compat_43_freebsd_sys_stat(struct lwp *, void *, register_t *);
427 1.52.2.1 skrll
428 1.51 thorpej int sys_getppid(struct lwp *, void *, register_t *);
429 1.52.2.1 skrll
430 1.51 thorpej int compat_43_freebsd_sys_lstat(struct lwp *, void *, register_t *);
431 1.52.2.1 skrll
432 1.51 thorpej int sys_dup(struct lwp *, void *, register_t *);
433 1.52.2.1 skrll
434 1.51 thorpej int sys_pipe(struct lwp *, void *, register_t *);
435 1.52.2.1 skrll
436 1.51 thorpej int sys_getegid(struct lwp *, void *, register_t *);
437 1.52.2.1 skrll
438 1.51 thorpej int sys_profil(struct lwp *, void *, register_t *);
439 1.52.2.1 skrll
440 1.1 mycroft #ifdef KTRACE
441 1.51 thorpej int sys_ktrace(struct lwp *, void *, register_t *);
442 1.52.2.1 skrll
443 1.1 mycroft #else
444 1.1 mycroft #endif
445 1.51 thorpej int compat_13_sys_sigaction(struct lwp *, void *, register_t *);
446 1.52.2.1 skrll
447 1.51 thorpej int sys_getgid_with_egid(struct lwp *, void *, register_t *);
448 1.52.2.1 skrll
449 1.51 thorpej int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
450 1.52.2.1 skrll
451 1.51 thorpej int sys___getlogin(struct lwp *, void *, register_t *);
452 1.52.2.1 skrll
453 1.51 thorpej int sys___setlogin(struct lwp *, void *, register_t *);
454 1.52.2.1 skrll
455 1.51 thorpej int sys_acct(struct lwp *, void *, register_t *);
456 1.52.2.1 skrll
457 1.51 thorpej int compat_13_sys_sigpending(struct lwp *, void *, register_t *);
458 1.52.2.1 skrll
459 1.51 thorpej int compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
460 1.52.2.1 skrll
461 1.51 thorpej int freebsd_sys_ioctl(struct lwp *, void *, register_t *);
462 1.52.2.1 skrll
463 1.51 thorpej int sys_reboot(struct lwp *, void *, register_t *);
464 1.52.2.1 skrll
465 1.51 thorpej int freebsd_sys_revoke(struct lwp *, void *, register_t *);
466 1.52.2.1 skrll
467 1.51 thorpej int freebsd_sys_symlink(struct lwp *, void *, register_t *);
468 1.52.2.1 skrll
469 1.51 thorpej int freebsd_sys_readlink(struct lwp *, void *, register_t *);
470 1.52.2.1 skrll
471 1.51 thorpej int freebsd_sys_execve(struct lwp *, void *, register_t *);
472 1.52.2.1 skrll
473 1.51 thorpej int sys_umask(struct lwp *, void *, register_t *);
474 1.52.2.1 skrll
475 1.51 thorpej int freebsd_sys_chroot(struct lwp *, void *, register_t *);
476 1.52.2.1 skrll
477 1.51 thorpej int compat_43_sys_fstat(struct lwp *, void *, register_t *);
478 1.52.2.1 skrll
479 1.51 thorpej int compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
480 1.52.2.1 skrll
481 1.51 thorpej int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
482 1.52.2.1 skrll
483 1.51 thorpej int freebsd_sys_msync(struct lwp *, void *, register_t *);
484 1.52.2.1 skrll
485 1.51 thorpej int sys_vfork(struct lwp *, void *, register_t *);
486 1.52.2.1 skrll
487 1.51 thorpej int sys_sbrk(struct lwp *, void *, register_t *);
488 1.52.2.1 skrll
489 1.51 thorpej int sys_sstk(struct lwp *, void *, register_t *);
490 1.52.2.1 skrll
491 1.51 thorpej int compat_43_sys_mmap(struct lwp *, void *, register_t *);
492 1.52.2.1 skrll
493 1.51 thorpej int sys_ovadvise(struct lwp *, void *, register_t *);
494 1.52.2.1 skrll
495 1.51 thorpej int sys_munmap(struct lwp *, void *, register_t *);
496 1.52.2.1 skrll
497 1.51 thorpej int sys_mprotect(struct lwp *, void *, register_t *);
498 1.52.2.1 skrll
499 1.51 thorpej int sys_madvise(struct lwp *, void *, register_t *);
500 1.52.2.1 skrll
501 1.51 thorpej int sys_mincore(struct lwp *, void *, register_t *);
502 1.52.2.1 skrll
503 1.51 thorpej int sys_getgroups(struct lwp *, void *, register_t *);
504 1.52.2.1 skrll
505 1.51 thorpej int sys_setgroups(struct lwp *, void *, register_t *);
506 1.52.2.1 skrll
507 1.51 thorpej int sys_getpgrp(struct lwp *, void *, register_t *);
508 1.52.2.1 skrll
509 1.51 thorpej int sys_setpgid(struct lwp *, void *, register_t *);
510 1.52.2.1 skrll
511 1.51 thorpej int sys_setitimer(struct lwp *, void *, register_t *);
512 1.52.2.1 skrll
513 1.51 thorpej int compat_43_sys_wait(struct lwp *, void *, register_t *);
514 1.52.2.1 skrll
515 1.51 thorpej int compat_12_sys_swapon(struct lwp *, void *, register_t *);
516 1.52.2.1 skrll
517 1.51 thorpej int sys_getitimer(struct lwp *, void *, register_t *);
518 1.52.2.1 skrll
519 1.51 thorpej int compat_43_sys_gethostname(struct lwp *, void *, register_t *);
520 1.52.2.1 skrll
521 1.51 thorpej int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
522 1.52.2.1 skrll
523 1.51 thorpej int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
524 1.52.2.1 skrll
525 1.51 thorpej int sys_dup2(struct lwp *, void *, register_t *);
526 1.52.2.1 skrll
527 1.51 thorpej int sys_fcntl(struct lwp *, void *, register_t *);
528 1.52.2.1 skrll
529 1.51 thorpej int sys_select(struct lwp *, void *, register_t *);
530 1.52.2.1 skrll
531 1.51 thorpej int sys_fsync(struct lwp *, void *, register_t *);
532 1.52.2.1 skrll
533 1.51 thorpej int sys_setpriority(struct lwp *, void *, register_t *);
534 1.52.2.1 skrll
535 1.51 thorpej int sys_socket(struct lwp *, void *, register_t *);
536 1.52.2.1 skrll
537 1.51 thorpej int sys_connect(struct lwp *, void *, register_t *);
538 1.52.2.1 skrll
539 1.51 thorpej int compat_43_sys_accept(struct lwp *, void *, register_t *);
540 1.52.2.1 skrll
541 1.51 thorpej int sys_getpriority(struct lwp *, void *, register_t *);
542 1.52.2.1 skrll
543 1.51 thorpej int compat_43_sys_send(struct lwp *, void *, register_t *);
544 1.52.2.1 skrll
545 1.51 thorpej int compat_43_sys_recv(struct lwp *, void *, register_t *);
546 1.52.2.1 skrll
547 1.51 thorpej int freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
548 1.52.2.1 skrll
549 1.51 thorpej int sys_bind(struct lwp *, void *, register_t *);
550 1.52.2.1 skrll
551 1.51 thorpej int sys_setsockopt(struct lwp *, void *, register_t *);
552 1.52.2.1 skrll
553 1.51 thorpej int sys_listen(struct lwp *, void *, register_t *);
554 1.52.2.1 skrll
555 1.51 thorpej int compat_43_sys_sigvec(struct lwp *, void *, register_t *);
556 1.52.2.1 skrll
557 1.51 thorpej int compat_43_sys_sigblock(struct lwp *, void *, register_t *);
558 1.52.2.1 skrll
559 1.51 thorpej int compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
560 1.52.2.1 skrll
561 1.51 thorpej int compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
562 1.52.2.1 skrll
563 1.51 thorpej int compat_43_sys_sigstack(struct lwp *, void *, register_t *);
564 1.52.2.1 skrll
565 1.51 thorpej int compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
566 1.52.2.1 skrll
567 1.51 thorpej int compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
568 1.52.2.1 skrll
569 1.1 mycroft #ifdef TRACE
570 1.51 thorpej int sys_vtrace(struct lwp *, void *, register_t *);
571 1.52.2.1 skrll
572 1.1 mycroft #else
573 1.1 mycroft #endif
574 1.51 thorpej int sys_gettimeofday(struct lwp *, void *, register_t *);
575 1.52.2.1 skrll
576 1.51 thorpej int sys_getrusage(struct lwp *, void *, register_t *);
577 1.52.2.1 skrll
578 1.51 thorpej int sys_getsockopt(struct lwp *, void *, register_t *);
579 1.52.2.1 skrll
580 1.51 thorpej int sys_readv(struct lwp *, void *, register_t *);
581 1.52.2.1 skrll
582 1.51 thorpej int sys_writev(struct lwp *, void *, register_t *);
583 1.52.2.1 skrll
584 1.51 thorpej int sys_settimeofday(struct lwp *, void *, register_t *);
585 1.52.2.1 skrll
586 1.51 thorpej int sys_fchown(struct lwp *, void *, register_t *);
587 1.52.2.1 skrll
588 1.51 thorpej int sys_fchmod(struct lwp *, void *, register_t *);
589 1.52.2.1 skrll
590 1.51 thorpej int compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
591 1.52.2.1 skrll
592 1.51 thorpej int sys_setreuid(struct lwp *, void *, register_t *);
593 1.52.2.1 skrll
594 1.51 thorpej int sys_setregid(struct lwp *, void *, register_t *);
595 1.52.2.1 skrll
596 1.51 thorpej int freebsd_sys_rename(struct lwp *, void *, register_t *);
597 1.52.2.1 skrll
598 1.51 thorpej int compat_43_freebsd_sys_truncate(struct lwp *, void *, register_t *);
599 1.52.2.1 skrll
600 1.51 thorpej int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
601 1.52.2.1 skrll
602 1.51 thorpej int sys_flock(struct lwp *, void *, register_t *);
603 1.52.2.1 skrll
604 1.51 thorpej int freebsd_sys_mkfifo(struct lwp *, void *, register_t *);
605 1.52.2.1 skrll
606 1.51 thorpej int sys_sendto(struct lwp *, void *, register_t *);
607 1.52.2.1 skrll
608 1.51 thorpej int sys_shutdown(struct lwp *, void *, register_t *);
609 1.52.2.1 skrll
610 1.51 thorpej int sys_socketpair(struct lwp *, void *, register_t *);
611 1.52.2.1 skrll
612 1.51 thorpej int freebsd_sys_mkdir(struct lwp *, void *, register_t *);
613 1.52.2.1 skrll
614 1.51 thorpej int freebsd_sys_rmdir(struct lwp *, void *, register_t *);
615 1.52.2.1 skrll
616 1.51 thorpej int sys_utimes(struct lwp *, void *, register_t *);
617 1.52.2.1 skrll
618 1.51 thorpej int sys_adjtime(struct lwp *, void *, register_t *);
619 1.52.2.1 skrll
620 1.51 thorpej int compat_43_sys_getpeername(struct lwp *, void *, register_t *);
621 1.52.2.1 skrll
622 1.51 thorpej int compat_43_sys_gethostid(struct lwp *, void *, register_t *);
623 1.52.2.1 skrll
624 1.51 thorpej int compat_43_sys_sethostid(struct lwp *, void *, register_t *);
625 1.52.2.1 skrll
626 1.51 thorpej int compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
627 1.52.2.1 skrll
628 1.51 thorpej int compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
629 1.52.2.1 skrll
630 1.51 thorpej int compat_43_sys_killpg(struct lwp *, void *, register_t *);
631 1.52.2.1 skrll
632 1.51 thorpej int sys_setsid(struct lwp *, void *, register_t *);
633 1.52.2.1 skrll
634 1.51 thorpej int sys_quotactl(struct lwp *, void *, register_t *);
635 1.52.2.1 skrll
636 1.51 thorpej int compat_43_sys_quota(struct lwp *, void *, register_t *);
637 1.52.2.1 skrll
638 1.51 thorpej int compat_43_sys_getsockname(struct lwp *, void *, register_t *);
639 1.52.2.1 skrll
640 1.6 thorpej #if defined(NFS) || defined(NFSSERVER)
641 1.51 thorpej int sys_nfssvc(struct lwp *, void *, register_t *);
642 1.52.2.1 skrll
643 1.1 mycroft #else
644 1.1 mycroft #endif
645 1.51 thorpej int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
646 1.52.2.1 skrll
647 1.51 thorpej int freebsd_sys_statfs(struct lwp *, void *, register_t *);
648 1.52.2.1 skrll
649 1.52.2.1 skrll int compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
650 1.52.2.1 skrll
651 1.6 thorpej #ifdef NFS
652 1.51 thorpej int freebsd_sys_getfh(struct lwp *, void *, register_t *);
653 1.52.2.1 skrll
654 1.1 mycroft #else
655 1.1 mycroft #endif
656 1.51 thorpej int compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
657 1.52.2.1 skrll
658 1.51 thorpej int compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
659 1.52.2.1 skrll
660 1.51 thorpej int compat_09_sys_uname(struct lwp *, void *, register_t *);
661 1.52.2.1 skrll
662 1.51 thorpej int sys_sysarch(struct lwp *, void *, register_t *);
663 1.52.2.1 skrll
664 1.51 thorpej int freebsd_sys_rtprio(struct lwp *, void *, register_t *);
665 1.52.2.1 skrll
666 1.48 eeh #if defined(SYSVSEM) && !defined(_LP64)
667 1.51 thorpej int freebsd_sys_semsys(struct lwp *, void *, register_t *);
668 1.52.2.1 skrll
669 1.1 mycroft #else
670 1.1 mycroft #endif
671 1.48 eeh #if defined(SYSVMSG) && !defined(_LP64)
672 1.51 thorpej int freebsd_sys_msgsys(struct lwp *, void *, register_t *);
673 1.52.2.1 skrll
674 1.1 mycroft #else
675 1.1 mycroft #endif
676 1.48 eeh #if defined(SYSVSHM) && !defined(_LP64)
677 1.51 thorpej int freebsd_sys_shmsys(struct lwp *, void *, register_t *);
678 1.52.2.1 skrll
679 1.1 mycroft #else
680 1.1 mycroft #endif
681 1.51 thorpej int sys_pread(struct lwp *, void *, register_t *);
682 1.52.2.1 skrll
683 1.51 thorpej int sys_pwrite(struct lwp *, void *, register_t *);
684 1.52.2.1 skrll
685 1.36 itojun #ifdef NTP
686 1.51 thorpej int freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
687 1.52.2.1 skrll
688 1.35 bjh21 #else
689 1.35 bjh21 #endif
690 1.51 thorpej int sys_setgid(struct lwp *, void *, register_t *);
691 1.52.2.1 skrll
692 1.51 thorpej int sys_setegid(struct lwp *, void *, register_t *);
693 1.52.2.1 skrll
694 1.51 thorpej int sys_seteuid(struct lwp *, void *, register_t *);
695 1.52.2.1 skrll
696 1.1 mycroft #ifdef LFS
697 1.51 thorpej int sys_lfs_bmapv(struct lwp *, void *, register_t *);
698 1.52.2.1 skrll
699 1.51 thorpej int sys_lfs_markv(struct lwp *, void *, register_t *);
700 1.52.2.1 skrll
701 1.51 thorpej int sys_lfs_segclean(struct lwp *, void *, register_t *);
702 1.52.2.1 skrll
703 1.51 thorpej int sys_lfs_segwait(struct lwp *, void *, register_t *);
704 1.52.2.1 skrll
705 1.51 thorpej #else
706 1.51 thorpej #endif
707 1.51 thorpej int freebsd_sys_stat(struct lwp *, void *, register_t *);
708 1.52.2.1 skrll
709 1.51 thorpej int compat_12_sys_fstat(struct lwp *, void *, register_t *);
710 1.52.2.1 skrll
711 1.51 thorpej int freebsd_sys_lstat(struct lwp *, void *, register_t *);
712 1.52.2.1 skrll
713 1.51 thorpej int freebsd_sys_pathconf(struct lwp *, void *, register_t *);
714 1.52.2.1 skrll
715 1.51 thorpej int sys_fpathconf(struct lwp *, void *, register_t *);
716 1.52.2.1 skrll
717 1.51 thorpej int sys_getrlimit(struct lwp *, void *, register_t *);
718 1.52.2.1 skrll
719 1.51 thorpej int sys_setrlimit(struct lwp *, void *, register_t *);
720 1.52.2.1 skrll
721 1.51 thorpej int compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
722 1.52.2.1 skrll
723 1.52.2.1 skrll int freebsd_sys_mmap(struct lwp *, void *, register_t *);
724 1.52.2.1 skrll
725 1.51 thorpej int sys_lseek(struct lwp *, void *, register_t *);
726 1.52.2.1 skrll
727 1.51 thorpej int freebsd_sys_truncate(struct lwp *, void *, register_t *);
728 1.52.2.1 skrll
729 1.51 thorpej int sys_ftruncate(struct lwp *, void *, register_t *);
730 1.52.2.1 skrll
731 1.51 thorpej int sys___sysctl(struct lwp *, void *, register_t *);
732 1.52.2.1 skrll
733 1.51 thorpej int sys_mlock(struct lwp *, void *, register_t *);
734 1.52.2.1 skrll
735 1.51 thorpej int sys_munlock(struct lwp *, void *, register_t *);
736 1.52.2.1 skrll
737 1.1 mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
738 1.51 thorpej int freebsd_sys_undelete(struct lwp *, void *, register_t *);
739 1.52.2.1 skrll
740 1.1 mycroft #else
741 1.1 mycroft #endif
742 1.51 thorpej int sys_futimes(struct lwp *, void *, register_t *);
743 1.52.2.1 skrll
744 1.51 thorpej int sys_getpgid(struct lwp *, void *, register_t *);
745 1.52.2.1 skrll
746 1.28 christos #if 0
747 1.28 christos #else
748 1.28 christos #endif
749 1.51 thorpej int sys_poll(struct lwp *, void *, register_t *);
750 1.52.2.1 skrll
751 1.28 christos #ifdef SYSVSEM
752 1.51 thorpej int compat_14_sys___semctl(struct lwp *, void *, register_t *);
753 1.52.2.1 skrll
754 1.51 thorpej int sys_semget(struct lwp *, void *, register_t *);
755 1.52.2.1 skrll
756 1.51 thorpej int sys_semop(struct lwp *, void *, register_t *);
757 1.52.2.1 skrll
758 1.51 thorpej int sys_semconfig(struct lwp *, void *, register_t *);
759 1.52.2.1 skrll
760 1.28 christos #else
761 1.28 christos #endif
762 1.28 christos #ifdef SYSVMSG
763 1.51 thorpej int compat_14_sys_msgctl(struct lwp *, void *, register_t *);
764 1.52.2.1 skrll
765 1.51 thorpej int sys_msgget(struct lwp *, void *, register_t *);
766 1.52.2.1 skrll
767 1.51 thorpej int sys_msgsnd(struct lwp *, void *, register_t *);
768 1.52.2.1 skrll
769 1.51 thorpej int sys_msgrcv(struct lwp *, void *, register_t *);
770 1.52.2.1 skrll
771 1.28 christos #else
772 1.28 christos #endif
773 1.28 christos #ifdef SYSVSHM
774 1.51 thorpej int sys_shmat(struct lwp *, void *, register_t *);
775 1.52.2.1 skrll
776 1.51 thorpej int compat_14_sys_shmctl(struct lwp *, void *, register_t *);
777 1.52.2.1 skrll
778 1.51 thorpej int sys_shmdt(struct lwp *, void *, register_t *);
779 1.52.2.1 skrll
780 1.51 thorpej int sys_shmget(struct lwp *, void *, register_t *);
781 1.52.2.1 skrll
782 1.51 thorpej #else
783 1.51 thorpej #endif
784 1.51 thorpej int sys_clock_gettime(struct lwp *, void *, register_t *);
785 1.52.2.1 skrll
786 1.51 thorpej int sys_clock_settime(struct lwp *, void *, register_t *);
787 1.52.2.1 skrll
788 1.51 thorpej int sys_clock_getres(struct lwp *, void *, register_t *);
789 1.52.2.1 skrll
790 1.51 thorpej int sys_nanosleep(struct lwp *, void *, register_t *);
791 1.52.2.1 skrll
792 1.51 thorpej int sys_minherit(struct lwp *, void *, register_t *);
793 1.52.2.1 skrll
794 1.51 thorpej int freebsd_sys_rfork(struct lwp *, void *, register_t *);
795 1.52.2.1 skrll
796 1.51 thorpej int sys_issetugid(struct lwp *, void *, register_t *);
797 1.52.2.1 skrll
798 1.51 thorpej int freebsd_sys_lchown(struct lwp *, void *, register_t *);
799 1.52.2.1 skrll
800 1.51 thorpej int sys_getdents(struct lwp *, void *, register_t *);
801 1.52.2.1 skrll
802 1.51 thorpej int sys_lchmod(struct lwp *, void *, register_t *);
803 1.52.2.1 skrll
804 1.51 thorpej int sys_lchown(struct lwp *, void *, register_t *);
805 1.52.2.1 skrll
806 1.51 thorpej int sys_lutimes(struct lwp *, void *, register_t *);
807 1.52.2.1 skrll
808 1.51 thorpej int sys___msync13(struct lwp *, void *, register_t *);
809 1.52.2.1 skrll
810 1.51 thorpej int sys___stat13(struct lwp *, void *, register_t *);
811 1.52.2.1 skrll
812 1.51 thorpej int sys___fstat13(struct lwp *, void *, register_t *);
813 1.52.2.1 skrll
814 1.51 thorpej int sys___lstat13(struct lwp *, void *, register_t *);
815 1.52.2.1 skrll
816 1.52.2.1 skrll int compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
817 1.52.2.1 skrll
818 1.51 thorpej int sys_fhopen(struct lwp *, void *, register_t *);
819 1.52.2.1 skrll
820 1.51 thorpej int sys_fhstat(struct lwp *, void *, register_t *);
821 1.52.2.1 skrll
822 1.51 thorpej int sys_getsid(struct lwp *, void *, register_t *);
823 1.52.2.1 skrll
824 1.51 thorpej int freebsd_sys_yield(struct lwp *, void *, register_t *);
825 1.52.2.1 skrll
826 1.51 thorpej int sys_mlockall(struct lwp *, void *, register_t *);
827 1.52.2.1 skrll
828 1.51 thorpej int sys_munlockall(struct lwp *, void *, register_t *);
829 1.52.2.1 skrll
830 1.51 thorpej int sys___getcwd(struct lwp *, void *, register_t *);
831 1.52.2.1 skrll
832 1.51 thorpej int freebsd_sys_sched_setparam(struct lwp *, void *, register_t *);
833 1.52.2.1 skrll
834 1.51 thorpej int freebsd_sys_sched_getparam(struct lwp *, void *, register_t *);
835 1.52.2.1 skrll
836 1.51 thorpej int freebsd_sys_sched_setscheduler(struct lwp *, void *, register_t *);
837 1.52.2.1 skrll
838 1.51 thorpej int freebsd_sys_sched_getscheduler(struct lwp *, void *, register_t *);
839 1.52.2.1 skrll
840 1.51 thorpej int freebsd_sys_sched_yield(struct lwp *, void *, register_t *);
841 1.52.2.1 skrll
842 1.51 thorpej int freebsd_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
843 1.52.2.1 skrll
844 1.51 thorpej int freebsd_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
845 1.52.2.1 skrll
846 1.51 thorpej int freebsd_sys_utrace(struct lwp *, void *, register_t *);
847 1.52.2.1 skrll
848 1.51 thorpej int sys___sigprocmask14(struct lwp *, void *, register_t *);
849 1.52.2.1 skrll
850 1.51 thorpej int sys___sigsuspend14(struct lwp *, void *, register_t *);
851 1.52.2.1 skrll
852 1.51 thorpej int freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
853 1.52.2.1 skrll
854 1.51 thorpej int sys___sigpending14(struct lwp *, void *, register_t *);
855 1.52.2.1 skrll
856 1.52.2.1 skrll int sys_lchflags(struct lwp *, void *, register_t *);
857 1.52.2.1 skrll
858 1.52.2.1 skrll int sys_uuidgen(struct lwp *, void *, register_t *);
859 1.52.2.1 skrll
860 1.52.2.1 skrll #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
861 1.52.2.1 skrll int sys__ksem_close(struct lwp *, void *, register_t *);
862 1.52.2.1 skrll
863 1.52.2.1 skrll int sys__ksem_post(struct lwp *, void *, register_t *);
864 1.52.2.1 skrll
865 1.52.2.1 skrll int sys__ksem_wait(struct lwp *, void *, register_t *);
866 1.52.2.1 skrll
867 1.52.2.1 skrll int sys__ksem_trywait(struct lwp *, void *, register_t *);
868 1.52.2.1 skrll
869 1.52.2.1 skrll int sys__ksem_unlink(struct lwp *, void *, register_t *);
870 1.52.2.1 skrll
871 1.52.2.1 skrll int sys__ksem_getvalue(struct lwp *, void *, register_t *);
872 1.52.2.1 skrll
873 1.52.2.1 skrll int sys__ksem_destroy(struct lwp *, void *, register_t *);
874 1.52.2.1 skrll
875 1.52.2.1 skrll #else
876 1.52.2.1 skrll #endif
877 1.28 christos #endif /* _FREEBSD_SYS__SYSCALLARGS_H_ */
878