freebsd_syscallargs.h revision 1.44.2.7 1 1.44.2.3 nathanw /* $NetBSD: freebsd_syscallargs.h,v 1.44.2.7 2002/10/18 02:40:57 nathanw 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.44.2.7 nathanw * created from NetBSD
8 1.1 mycroft */
9 1.26 tron
10 1.28 christos #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
11 1.44.2.2 nathanw #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.44.2.3 nathanw struct { /* LINTED zero array dimension */ \
22 1.44.2.3 nathanw int8_t pad[ /* CONSTCOND */ \
23 1.44.2.3 nathanw (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.1 mycroft
110 1.1 mycroft struct freebsd_sys_ioctl_args {
111 1.1 mycroft syscallarg(int) fd;
112 1.1 mycroft syscallarg(u_long) com;
113 1.1 mycroft syscallarg(caddr_t) data;
114 1.1 mycroft };
115 1.1 mycroft
116 1.1 mycroft struct freebsd_sys_revoke_args {
117 1.28 christos syscallarg(const char *) path;
118 1.1 mycroft };
119 1.1 mycroft
120 1.1 mycroft struct freebsd_sys_symlink_args {
121 1.28 christos syscallarg(const char *) path;
122 1.28 christos syscallarg(const char *) link;
123 1.1 mycroft };
124 1.1 mycroft
125 1.1 mycroft struct freebsd_sys_readlink_args {
126 1.28 christos syscallarg(const char *) path;
127 1.1 mycroft syscallarg(char *) buf;
128 1.1 mycroft syscallarg(int) count;
129 1.1 mycroft };
130 1.1 mycroft
131 1.1 mycroft struct freebsd_sys_execve_args {
132 1.28 christos syscallarg(const char *) path;
133 1.1 mycroft syscallarg(char **) argp;
134 1.1 mycroft syscallarg(char **) envp;
135 1.1 mycroft };
136 1.1 mycroft
137 1.1 mycroft struct freebsd_sys_chroot_args {
138 1.28 christos syscallarg(const char *) path;
139 1.1 mycroft };
140 1.1 mycroft
141 1.1 mycroft struct freebsd_sys_msync_args {
142 1.1 mycroft syscallarg(caddr_t) addr;
143 1.1 mycroft syscallarg(size_t) len;
144 1.1 mycroft syscallarg(int) flags;
145 1.1 mycroft };
146 1.1 mycroft
147 1.1 mycroft struct freebsd_sys_sigreturn_args {
148 1.1 mycroft syscallarg(struct freebsd_sigcontext *) scp;
149 1.1 mycroft };
150 1.1 mycroft
151 1.1 mycroft struct freebsd_sys_rename_args {
152 1.28 christos syscallarg(const char *) from;
153 1.28 christos syscallarg(const char *) to;
154 1.1 mycroft };
155 1.1 mycroft
156 1.1 mycroft struct compat_43_freebsd_sys_truncate_args {
157 1.28 christos syscallarg(const char *) path;
158 1.1 mycroft syscallarg(long) length;
159 1.1 mycroft };
160 1.1 mycroft
161 1.1 mycroft struct freebsd_sys_mkfifo_args {
162 1.28 christos syscallarg(const char *) path;
163 1.1 mycroft syscallarg(int) mode;
164 1.1 mycroft };
165 1.1 mycroft
166 1.1 mycroft struct freebsd_sys_mkdir_args {
167 1.28 christos syscallarg(const char *) path;
168 1.1 mycroft syscallarg(int) mode;
169 1.1 mycroft };
170 1.1 mycroft
171 1.1 mycroft struct freebsd_sys_rmdir_args {
172 1.28 christos syscallarg(const char *) path;
173 1.1 mycroft };
174 1.1 mycroft
175 1.1 mycroft struct freebsd_sys_statfs_args {
176 1.28 christos syscallarg(const char *) path;
177 1.1 mycroft syscallarg(struct statfs *) buf;
178 1.1 mycroft };
179 1.1 mycroft
180 1.1 mycroft struct freebsd_sys_getfh_args {
181 1.28 christos syscallarg(const char *) fname;
182 1.1 mycroft syscallarg(fhandle_t *) fhp;
183 1.1 mycroft };
184 1.1 mycroft
185 1.1 mycroft struct freebsd_sys_rtprio_args {
186 1.1 mycroft syscallarg(int) function;
187 1.1 mycroft syscallarg(pid_t) pid;
188 1.1 mycroft syscallarg(struct freebsd_rtprio *) rtp;
189 1.1 mycroft };
190 1.1 mycroft
191 1.17 mycroft struct freebsd_sys_semsys_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 };
198 1.17 mycroft
199 1.17 mycroft struct freebsd_sys_msgsys_args {
200 1.17 mycroft syscallarg(int) which;
201 1.17 mycroft syscallarg(int) a2;
202 1.17 mycroft syscallarg(int) a3;
203 1.17 mycroft syscallarg(int) a4;
204 1.17 mycroft syscallarg(int) a5;
205 1.17 mycroft syscallarg(int) a6;
206 1.17 mycroft };
207 1.17 mycroft
208 1.17 mycroft struct freebsd_sys_shmsys_args {
209 1.17 mycroft syscallarg(int) which;
210 1.17 mycroft syscallarg(int) a2;
211 1.17 mycroft syscallarg(int) a3;
212 1.17 mycroft syscallarg(int) a4;
213 1.17 mycroft };
214 1.17 mycroft
215 1.1 mycroft struct freebsd_ntp_adjtime_args {
216 1.1 mycroft syscallarg(struct freebsd_timex *) tp;
217 1.1 mycroft };
218 1.1 mycroft
219 1.1 mycroft struct freebsd_sys_stat_args {
220 1.28 christos syscallarg(const char *) path;
221 1.12 christos syscallarg(struct stat12 *) ub;
222 1.1 mycroft };
223 1.1 mycroft
224 1.1 mycroft struct freebsd_sys_lstat_args {
225 1.28 christos syscallarg(const char *) path;
226 1.12 christos syscallarg(struct stat12 *) ub;
227 1.1 mycroft };
228 1.1 mycroft
229 1.1 mycroft struct freebsd_sys_pathconf_args {
230 1.28 christos syscallarg(const char *) path;
231 1.1 mycroft syscallarg(int) name;
232 1.1 mycroft };
233 1.1 mycroft
234 1.1 mycroft struct freebsd_sys_truncate_args {
235 1.28 christos syscallarg(const char *) path;
236 1.1 mycroft syscallarg(int) pad;
237 1.1 mycroft syscallarg(off_t) length;
238 1.1 mycroft };
239 1.1 mycroft
240 1.1 mycroft struct freebsd_sys_undelete_args {
241 1.1 mycroft syscallarg(char *) path;
242 1.1 mycroft };
243 1.1 mycroft
244 1.44.2.7 nathanw struct freebsd_sys_rfork_args {
245 1.44.2.7 nathanw syscallarg(int) flags;
246 1.44.2.7 nathanw };
247 1.44.2.7 nathanw
248 1.9 enami struct freebsd_sys_lchown_args {
249 1.28 christos syscallarg(const char *) path;
250 1.9 enami syscallarg(int) uid;
251 1.9 enami syscallarg(int) gid;
252 1.9 enami };
253 1.9 enami
254 1.43 jdolecek struct freebsd_sys_utrace_args {
255 1.43 jdolecek syscallarg(void *) addr;
256 1.43 jdolecek syscallarg(size_t) len;
257 1.43 jdolecek };
258 1.43 jdolecek
259 1.34 onoe struct freebsd_sys_sigaction4_args {
260 1.34 onoe syscallarg(int) signum;
261 1.34 onoe syscallarg(const struct freebsd_sigaction4 *) nsa;
262 1.34 onoe syscallarg(struct freebsd_sigaction4 *) osa;
263 1.34 onoe };
264 1.34 onoe
265 1.1 mycroft /*
266 1.1 mycroft * System call prototypes.
267 1.1 mycroft */
268 1.1 mycroft
269 1.44.2.1 nathanw int sys_nosys(struct lwp *, void *, register_t *);
270 1.44.2.1 nathanw int sys_exit(struct lwp *, void *, register_t *);
271 1.44.2.1 nathanw int sys_fork(struct lwp *, void *, register_t *);
272 1.44.2.1 nathanw int sys_read(struct lwp *, void *, register_t *);
273 1.44.2.1 nathanw int sys_write(struct lwp *, void *, register_t *);
274 1.44.2.1 nathanw int freebsd_sys_open(struct lwp *, void *, register_t *);
275 1.44.2.1 nathanw int sys_close(struct lwp *, void *, register_t *);
276 1.44.2.1 nathanw int sys_wait4(struct lwp *, void *, register_t *);
277 1.44.2.1 nathanw int compat_43_freebsd_sys_creat(struct lwp *, void *, register_t *);
278 1.44.2.1 nathanw int freebsd_sys_link(struct lwp *, void *, register_t *);
279 1.44.2.1 nathanw int freebsd_sys_unlink(struct lwp *, void *, register_t *);
280 1.44.2.1 nathanw int freebsd_sys_chdir(struct lwp *, void *, register_t *);
281 1.44.2.1 nathanw int sys_fchdir(struct lwp *, void *, register_t *);
282 1.44.2.1 nathanw int freebsd_sys_mknod(struct lwp *, void *, register_t *);
283 1.44.2.1 nathanw int freebsd_sys_chmod(struct lwp *, void *, register_t *);
284 1.44.2.1 nathanw int freebsd_sys_chown(struct lwp *, void *, register_t *);
285 1.44.2.1 nathanw int sys_obreak(struct lwp *, void *, register_t *);
286 1.44.2.1 nathanw int sys_getfsstat(struct lwp *, void *, register_t *);
287 1.44.2.1 nathanw int compat_43_sys_lseek(struct lwp *, void *, register_t *);
288 1.44.2.1 nathanw int sys_getpid_with_ppid(struct lwp *, void *, register_t *);
289 1.44.2.1 nathanw int freebsd_sys_mount(struct lwp *, void *, register_t *);
290 1.44.2.1 nathanw int freebsd_sys_unmount(struct lwp *, void *, register_t *);
291 1.44.2.1 nathanw int sys_setuid(struct lwp *, void *, register_t *);
292 1.44.2.1 nathanw int sys_getuid_with_euid(struct lwp *, void *, register_t *);
293 1.44.2.1 nathanw int sys_geteuid(struct lwp *, void *, register_t *);
294 1.44.2.1 nathanw int freebsd_sys_ptrace(struct lwp *, void *, register_t *);
295 1.44.2.1 nathanw int sys_recvmsg(struct lwp *, void *, register_t *);
296 1.44.2.1 nathanw int sys_sendmsg(struct lwp *, void *, register_t *);
297 1.44.2.1 nathanw int sys_recvfrom(struct lwp *, void *, register_t *);
298 1.44.2.1 nathanw int sys_accept(struct lwp *, void *, register_t *);
299 1.44.2.1 nathanw int sys_getpeername(struct lwp *, void *, register_t *);
300 1.44.2.1 nathanw int sys_getsockname(struct lwp *, void *, register_t *);
301 1.44.2.1 nathanw int freebsd_sys_access(struct lwp *, void *, register_t *);
302 1.44.2.1 nathanw int freebsd_sys_chflags(struct lwp *, void *, register_t *);
303 1.44.2.1 nathanw int sys_fchflags(struct lwp *, void *, register_t *);
304 1.44.2.1 nathanw int sys_sync(struct lwp *, void *, register_t *);
305 1.44.2.1 nathanw int sys_kill(struct lwp *, void *, register_t *);
306 1.44.2.1 nathanw int compat_43_freebsd_sys_stat(struct lwp *, void *, register_t *);
307 1.44.2.1 nathanw int sys_getppid(struct lwp *, void *, register_t *);
308 1.44.2.1 nathanw int compat_43_freebsd_sys_lstat(struct lwp *, void *, register_t *);
309 1.44.2.1 nathanw int sys_dup(struct lwp *, void *, register_t *);
310 1.44.2.1 nathanw int sys_pipe(struct lwp *, void *, register_t *);
311 1.44.2.1 nathanw int sys_getegid(struct lwp *, void *, register_t *);
312 1.44.2.1 nathanw int sys_profil(struct lwp *, void *, register_t *);
313 1.1 mycroft #ifdef KTRACE
314 1.44.2.1 nathanw int sys_ktrace(struct lwp *, void *, register_t *);
315 1.1 mycroft #else
316 1.1 mycroft #endif
317 1.44.2.1 nathanw int compat_13_sys_sigaction(struct lwp *, void *, register_t *);
318 1.44.2.1 nathanw int sys_getgid_with_egid(struct lwp *, void *, register_t *);
319 1.44.2.1 nathanw int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
320 1.44.2.1 nathanw int sys___getlogin(struct lwp *, void *, register_t *);
321 1.44.2.4 nathanw int sys___setlogin(struct lwp *, void *, register_t *);
322 1.44.2.1 nathanw int sys_acct(struct lwp *, void *, register_t *);
323 1.44.2.1 nathanw int compat_13_sys_sigpending(struct lwp *, void *, register_t *);
324 1.44.2.1 nathanw int compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
325 1.44.2.1 nathanw int freebsd_sys_ioctl(struct lwp *, void *, register_t *);
326 1.44.2.1 nathanw int sys_reboot(struct lwp *, void *, register_t *);
327 1.44.2.1 nathanw int freebsd_sys_revoke(struct lwp *, void *, register_t *);
328 1.44.2.1 nathanw int freebsd_sys_symlink(struct lwp *, void *, register_t *);
329 1.44.2.1 nathanw int freebsd_sys_readlink(struct lwp *, void *, register_t *);
330 1.44.2.1 nathanw int freebsd_sys_execve(struct lwp *, void *, register_t *);
331 1.44.2.1 nathanw int sys_umask(struct lwp *, void *, register_t *);
332 1.44.2.1 nathanw int freebsd_sys_chroot(struct lwp *, void *, register_t *);
333 1.44.2.1 nathanw int compat_43_sys_fstat(struct lwp *, void *, register_t *);
334 1.44.2.1 nathanw int compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
335 1.44.2.1 nathanw int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
336 1.44.2.1 nathanw int freebsd_sys_msync(struct lwp *, void *, register_t *);
337 1.44.2.1 nathanw int sys_vfork(struct lwp *, void *, register_t *);
338 1.44.2.1 nathanw int sys_sbrk(struct lwp *, void *, register_t *);
339 1.44.2.1 nathanw int sys_sstk(struct lwp *, void *, register_t *);
340 1.44.2.1 nathanw int compat_43_sys_mmap(struct lwp *, void *, register_t *);
341 1.44.2.1 nathanw int sys_ovadvise(struct lwp *, void *, register_t *);
342 1.44.2.1 nathanw int sys_munmap(struct lwp *, void *, register_t *);
343 1.44.2.1 nathanw int sys_mprotect(struct lwp *, void *, register_t *);
344 1.44.2.1 nathanw int sys_madvise(struct lwp *, void *, register_t *);
345 1.44.2.1 nathanw int sys_mincore(struct lwp *, void *, register_t *);
346 1.44.2.1 nathanw int sys_getgroups(struct lwp *, void *, register_t *);
347 1.44.2.1 nathanw int sys_setgroups(struct lwp *, void *, register_t *);
348 1.44.2.1 nathanw int sys_getpgrp(struct lwp *, void *, register_t *);
349 1.44.2.1 nathanw int sys_setpgid(struct lwp *, void *, register_t *);
350 1.44.2.1 nathanw int sys_setitimer(struct lwp *, void *, register_t *);
351 1.44.2.1 nathanw int compat_43_sys_wait(struct lwp *, void *, register_t *);
352 1.44.2.1 nathanw int compat_12_sys_swapon(struct lwp *, void *, register_t *);
353 1.44.2.1 nathanw int sys_getitimer(struct lwp *, void *, register_t *);
354 1.44.2.1 nathanw int compat_43_sys_gethostname(struct lwp *, void *, register_t *);
355 1.44.2.1 nathanw int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
356 1.44.2.1 nathanw int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
357 1.44.2.1 nathanw int sys_dup2(struct lwp *, void *, register_t *);
358 1.44.2.1 nathanw int sys_fcntl(struct lwp *, void *, register_t *);
359 1.44.2.1 nathanw int sys_select(struct lwp *, void *, register_t *);
360 1.44.2.1 nathanw int sys_fsync(struct lwp *, void *, register_t *);
361 1.44.2.1 nathanw int sys_setpriority(struct lwp *, void *, register_t *);
362 1.44.2.1 nathanw int sys_socket(struct lwp *, void *, register_t *);
363 1.44.2.1 nathanw int sys_connect(struct lwp *, void *, register_t *);
364 1.44.2.1 nathanw int compat_43_sys_accept(struct lwp *, void *, register_t *);
365 1.44.2.1 nathanw int sys_getpriority(struct lwp *, void *, register_t *);
366 1.44.2.1 nathanw int compat_43_sys_send(struct lwp *, void *, register_t *);
367 1.44.2.1 nathanw int compat_43_sys_recv(struct lwp *, void *, register_t *);
368 1.44.2.1 nathanw int freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
369 1.44.2.1 nathanw int sys_bind(struct lwp *, void *, register_t *);
370 1.44.2.1 nathanw int sys_setsockopt(struct lwp *, void *, register_t *);
371 1.44.2.1 nathanw int sys_listen(struct lwp *, void *, register_t *);
372 1.44.2.1 nathanw int compat_43_sys_sigvec(struct lwp *, void *, register_t *);
373 1.44.2.1 nathanw int compat_43_sys_sigblock(struct lwp *, void *, register_t *);
374 1.44.2.1 nathanw int compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
375 1.44.2.1 nathanw int compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
376 1.44.2.1 nathanw int compat_43_sys_sigstack(struct lwp *, void *, register_t *);
377 1.44.2.1 nathanw int compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
378 1.44.2.1 nathanw int compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
379 1.1 mycroft #ifdef TRACE
380 1.44.2.1 nathanw int sys_vtrace(struct lwp *, void *, register_t *);
381 1.1 mycroft #else
382 1.1 mycroft #endif
383 1.44.2.1 nathanw int sys_gettimeofday(struct lwp *, void *, register_t *);
384 1.44.2.1 nathanw int sys_getrusage(struct lwp *, void *, register_t *);
385 1.44.2.1 nathanw int sys_getsockopt(struct lwp *, void *, register_t *);
386 1.44.2.1 nathanw int sys_readv(struct lwp *, void *, register_t *);
387 1.44.2.1 nathanw int sys_writev(struct lwp *, void *, register_t *);
388 1.44.2.1 nathanw int sys_settimeofday(struct lwp *, void *, register_t *);
389 1.44.2.1 nathanw int sys_fchown(struct lwp *, void *, register_t *);
390 1.44.2.1 nathanw int sys_fchmod(struct lwp *, void *, register_t *);
391 1.44.2.1 nathanw int compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
392 1.44.2.1 nathanw int sys_setreuid(struct lwp *, void *, register_t *);
393 1.44.2.1 nathanw int sys_setregid(struct lwp *, void *, register_t *);
394 1.44.2.1 nathanw int freebsd_sys_rename(struct lwp *, void *, register_t *);
395 1.44.2.1 nathanw int compat_43_freebsd_sys_truncate(struct lwp *, void *, register_t *);
396 1.44.2.1 nathanw int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
397 1.44.2.1 nathanw int sys_flock(struct lwp *, void *, register_t *);
398 1.44.2.1 nathanw int freebsd_sys_mkfifo(struct lwp *, void *, register_t *);
399 1.44.2.1 nathanw int sys_sendto(struct lwp *, void *, register_t *);
400 1.44.2.1 nathanw int sys_shutdown(struct lwp *, void *, register_t *);
401 1.44.2.1 nathanw int sys_socketpair(struct lwp *, void *, register_t *);
402 1.44.2.1 nathanw int freebsd_sys_mkdir(struct lwp *, void *, register_t *);
403 1.44.2.1 nathanw int freebsd_sys_rmdir(struct lwp *, void *, register_t *);
404 1.44.2.1 nathanw int sys_utimes(struct lwp *, void *, register_t *);
405 1.44.2.1 nathanw int sys_adjtime(struct lwp *, void *, register_t *);
406 1.44.2.1 nathanw int compat_43_sys_getpeername(struct lwp *, void *, register_t *);
407 1.44.2.1 nathanw int compat_43_sys_gethostid(struct lwp *, void *, register_t *);
408 1.44.2.1 nathanw int compat_43_sys_sethostid(struct lwp *, void *, register_t *);
409 1.44.2.1 nathanw int compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
410 1.44.2.1 nathanw int compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
411 1.44.2.1 nathanw int compat_43_sys_killpg(struct lwp *, void *, register_t *);
412 1.44.2.1 nathanw int sys_setsid(struct lwp *, void *, register_t *);
413 1.44.2.1 nathanw int sys_quotactl(struct lwp *, void *, register_t *);
414 1.44.2.1 nathanw int compat_43_sys_quota(struct lwp *, void *, register_t *);
415 1.44.2.1 nathanw int compat_43_sys_getsockname(struct lwp *, void *, register_t *);
416 1.6 thorpej #if defined(NFS) || defined(NFSSERVER)
417 1.44.2.1 nathanw int sys_nfssvc(struct lwp *, void *, register_t *);
418 1.1 mycroft #else
419 1.1 mycroft #endif
420 1.44.2.1 nathanw int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
421 1.44.2.1 nathanw int freebsd_sys_statfs(struct lwp *, void *, register_t *);
422 1.44.2.1 nathanw int sys_fstatfs(struct lwp *, void *, register_t *);
423 1.6 thorpej #ifdef NFS
424 1.44.2.1 nathanw int freebsd_sys_getfh(struct lwp *, void *, register_t *);
425 1.1 mycroft #else
426 1.1 mycroft #endif
427 1.44.2.1 nathanw int compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
428 1.44.2.1 nathanw int compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
429 1.44.2.1 nathanw int compat_09_sys_uname(struct lwp *, void *, register_t *);
430 1.44.2.1 nathanw int sys_sysarch(struct lwp *, void *, register_t *);
431 1.44.2.1 nathanw int freebsd_sys_rtprio(struct lwp *, void *, register_t *);
432 1.44.2.6 nathanw #if defined(SYSVSEM) && !defined(_LP64)
433 1.44.2.1 nathanw int freebsd_sys_semsys(struct lwp *, void *, register_t *);
434 1.1 mycroft #else
435 1.1 mycroft #endif
436 1.44.2.6 nathanw #if defined(SYSVMSG) && !defined(_LP64)
437 1.44.2.1 nathanw int freebsd_sys_msgsys(struct lwp *, void *, register_t *);
438 1.1 mycroft #else
439 1.1 mycroft #endif
440 1.44.2.6 nathanw #if defined(SYSVSHM) && !defined(_LP64)
441 1.44.2.1 nathanw int freebsd_sys_shmsys(struct lwp *, void *, register_t *);
442 1.1 mycroft #else
443 1.1 mycroft #endif
444 1.44.2.1 nathanw int sys_pread(struct lwp *, void *, register_t *);
445 1.44.2.1 nathanw int sys_pwrite(struct lwp *, void *, register_t *);
446 1.36 itojun #ifdef NTP
447 1.44.2.1 nathanw int freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
448 1.35 bjh21 #else
449 1.35 bjh21 #endif
450 1.44.2.1 nathanw int sys_setgid(struct lwp *, void *, register_t *);
451 1.44.2.1 nathanw int sys_setegid(struct lwp *, void *, register_t *);
452 1.44.2.1 nathanw int sys_seteuid(struct lwp *, void *, register_t *);
453 1.1 mycroft #ifdef LFS
454 1.44.2.1 nathanw int sys_lfs_bmapv(struct lwp *, void *, register_t *);
455 1.44.2.1 nathanw int sys_lfs_markv(struct lwp *, void *, register_t *);
456 1.44.2.1 nathanw int sys_lfs_segclean(struct lwp *, void *, register_t *);
457 1.44.2.1 nathanw int sys_lfs_segwait(struct lwp *, void *, register_t *);
458 1.44.2.1 nathanw #else
459 1.44.2.1 nathanw #endif
460 1.44.2.1 nathanw int freebsd_sys_stat(struct lwp *, void *, register_t *);
461 1.44.2.1 nathanw int compat_12_sys_fstat(struct lwp *, void *, register_t *);
462 1.44.2.1 nathanw int freebsd_sys_lstat(struct lwp *, void *, register_t *);
463 1.44.2.1 nathanw int freebsd_sys_pathconf(struct lwp *, void *, register_t *);
464 1.44.2.1 nathanw int sys_fpathconf(struct lwp *, void *, register_t *);
465 1.44.2.1 nathanw int sys_getrlimit(struct lwp *, void *, register_t *);
466 1.44.2.1 nathanw int sys_setrlimit(struct lwp *, void *, register_t *);
467 1.44.2.1 nathanw int compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
468 1.44.2.1 nathanw int sys_mmap(struct lwp *, void *, register_t *);
469 1.44.2.1 nathanw int sys_nosys(struct lwp *, void *, register_t *);
470 1.44.2.1 nathanw int sys_lseek(struct lwp *, void *, register_t *);
471 1.44.2.1 nathanw int freebsd_sys_truncate(struct lwp *, void *, register_t *);
472 1.44.2.1 nathanw int sys_ftruncate(struct lwp *, void *, register_t *);
473 1.44.2.1 nathanw int sys___sysctl(struct lwp *, void *, register_t *);
474 1.44.2.1 nathanw int sys_mlock(struct lwp *, void *, register_t *);
475 1.44.2.1 nathanw int sys_munlock(struct lwp *, void *, register_t *);
476 1.1 mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
477 1.44.2.1 nathanw int freebsd_sys_undelete(struct lwp *, void *, register_t *);
478 1.1 mycroft #else
479 1.1 mycroft #endif
480 1.44.2.1 nathanw int sys_futimes(struct lwp *, void *, register_t *);
481 1.44.2.1 nathanw int sys_getpgid(struct lwp *, void *, register_t *);
482 1.28 christos #if 0
483 1.44.2.1 nathanw int sys_reboot(struct lwp *, void *, register_t *);
484 1.28 christos #else
485 1.28 christos #endif
486 1.44.2.1 nathanw int sys_poll(struct lwp *, void *, register_t *);
487 1.28 christos #ifdef SYSVSEM
488 1.44.2.1 nathanw int compat_14_sys___semctl(struct lwp *, void *, register_t *);
489 1.44.2.1 nathanw int sys_semget(struct lwp *, void *, register_t *);
490 1.44.2.1 nathanw int sys_semop(struct lwp *, void *, register_t *);
491 1.44.2.1 nathanw int sys_semconfig(struct lwp *, void *, register_t *);
492 1.28 christos #else
493 1.28 christos #endif
494 1.28 christos #ifdef SYSVMSG
495 1.44.2.1 nathanw int compat_14_sys_msgctl(struct lwp *, void *, register_t *);
496 1.44.2.1 nathanw int sys_msgget(struct lwp *, void *, register_t *);
497 1.44.2.1 nathanw int sys_msgsnd(struct lwp *, void *, register_t *);
498 1.44.2.1 nathanw int sys_msgrcv(struct lwp *, void *, register_t *);
499 1.28 christos #else
500 1.28 christos #endif
501 1.28 christos #ifdef SYSVSHM
502 1.44.2.1 nathanw int sys_shmat(struct lwp *, void *, register_t *);
503 1.44.2.1 nathanw int compat_14_sys_shmctl(struct lwp *, void *, register_t *);
504 1.44.2.1 nathanw int sys_shmdt(struct lwp *, void *, register_t *);
505 1.44.2.1 nathanw int sys_shmget(struct lwp *, void *, register_t *);
506 1.44.2.1 nathanw #else
507 1.44.2.1 nathanw #endif
508 1.44.2.1 nathanw int sys_clock_gettime(struct lwp *, void *, register_t *);
509 1.44.2.1 nathanw int sys_clock_settime(struct lwp *, void *, register_t *);
510 1.44.2.1 nathanw int sys_clock_getres(struct lwp *, void *, register_t *);
511 1.44.2.1 nathanw int sys_nanosleep(struct lwp *, void *, register_t *);
512 1.44.2.3 nathanw int sys_minherit(struct lwp *, void *, register_t *);
513 1.44.2.7 nathanw int freebsd_sys_rfork(struct lwp *, void *, register_t *);
514 1.44.2.1 nathanw int sys_issetugid(struct lwp *, void *, register_t *);
515 1.44.2.1 nathanw int freebsd_sys_lchown(struct lwp *, void *, register_t *);
516 1.44.2.1 nathanw int sys_getdents(struct lwp *, void *, register_t *);
517 1.44.2.1 nathanw int sys_lchmod(struct lwp *, void *, register_t *);
518 1.44.2.1 nathanw int sys_lchown(struct lwp *, void *, register_t *);
519 1.44.2.1 nathanw int sys_lutimes(struct lwp *, void *, register_t *);
520 1.44.2.1 nathanw int sys___msync13(struct lwp *, void *, register_t *);
521 1.44.2.1 nathanw int sys___stat13(struct lwp *, void *, register_t *);
522 1.44.2.1 nathanw int sys___fstat13(struct lwp *, void *, register_t *);
523 1.44.2.1 nathanw int sys___lstat13(struct lwp *, void *, register_t *);
524 1.44.2.3 nathanw int sys_fhstatfs(struct lwp *, void *, register_t *);
525 1.44.2.3 nathanw int sys_fhopen(struct lwp *, void *, register_t *);
526 1.44.2.3 nathanw int sys_fhstat(struct lwp *, void *, register_t *);
527 1.44.2.1 nathanw int sys_getsid(struct lwp *, void *, register_t *);
528 1.44.2.1 nathanw int sys_mlockall(struct lwp *, void *, register_t *);
529 1.44.2.1 nathanw int sys_munlockall(struct lwp *, void *, register_t *);
530 1.44.2.1 nathanw int sys___getcwd(struct lwp *, void *, register_t *);
531 1.44.2.1 nathanw int freebsd_sys_utrace(struct lwp *, void *, register_t *);
532 1.44.2.1 nathanw int sys___sigprocmask14(struct lwp *, void *, register_t *);
533 1.44.2.1 nathanw int sys___sigsuspend14(struct lwp *, void *, register_t *);
534 1.44.2.1 nathanw int freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
535 1.44.2.1 nathanw int sys___sigpending14(struct lwp *, void *, register_t *);
536 1.28 christos #endif /* _FREEBSD_SYS__SYSCALLARGS_H_ */
537