1 |
786 |
skrzyp |
//==========================================================================
|
2 |
|
|
//
|
3 |
|
|
// include/sys/syscallargs.h
|
4 |
|
|
//
|
5 |
|
|
//
|
6 |
|
|
//
|
7 |
|
|
//==========================================================================
|
8 |
|
|
// ####BSDALTCOPYRIGHTBEGIN####
|
9 |
|
|
// -------------------------------------------
|
10 |
|
|
// Portions of this software may have been derived from OpenBSD
|
11 |
|
|
// or other sources, and if so are covered by the appropriate copyright
|
12 |
|
|
// and license included herein.
|
13 |
|
|
// -------------------------------------------
|
14 |
|
|
// ####BSDALTCOPYRIGHTEND####
|
15 |
|
|
//==========================================================================
|
16 |
|
|
//#####DESCRIPTIONBEGIN####
|
17 |
|
|
//
|
18 |
|
|
// Author(s): gthomas
|
19 |
|
|
// Contributors: gthomas
|
20 |
|
|
// Date: 2000-01-10
|
21 |
|
|
// Purpose:
|
22 |
|
|
// Description:
|
23 |
|
|
//
|
24 |
|
|
//
|
25 |
|
|
//####DESCRIPTIONEND####
|
26 |
|
|
//
|
27 |
|
|
//==========================================================================
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
/* $OpenBSD: syscallargs.h,v 1.41 1999/08/08 00:32:22 niklas Exp $ */
|
31 |
|
|
|
32 |
|
|
/*
|
33 |
|
|
* System call argument lists.
|
34 |
|
|
*
|
35 |
|
|
* DO NOT EDIT-- this file is automatically generated.
|
36 |
|
|
* created from; OpenBSD: syscalls.master,v 1.37 1999/06/07 07:17:42 deraadt Exp
|
37 |
|
|
*/
|
38 |
|
|
|
39 |
|
|
#ifndef _SYS_SYSCALLARGS_H_
|
40 |
|
|
#define _SYS_SYSCALLARGS_H_
|
41 |
|
|
|
42 |
|
|
#define syscallarg(x) union { x datum; register_t pad; }
|
43 |
|
|
|
44 |
|
|
#ifdef __ECOS
|
45 |
|
|
#define SYSCALLARG(a,t) a.t.datum
|
46 |
|
|
#endif
|
47 |
|
|
|
48 |
|
|
#ifndef __ECOS
|
49 |
|
|
struct sys_exit_args {
|
50 |
|
|
syscallarg(int) rval;
|
51 |
|
|
};
|
52 |
|
|
#endif
|
53 |
|
|
|
54 |
|
|
struct sys_read_args {
|
55 |
|
|
syscallarg(int) fd;
|
56 |
|
|
syscallarg(void *) buf;
|
57 |
|
|
syscallarg(size_t) nbyte;
|
58 |
|
|
};
|
59 |
|
|
extern int sys_read(struct sys_read_args *, register_t *);
|
60 |
|
|
|
61 |
|
|
struct sys_write_args {
|
62 |
|
|
syscallarg(int) fd;
|
63 |
|
|
syscallarg(const void *) buf;
|
64 |
|
|
syscallarg(size_t) nbyte;
|
65 |
|
|
};
|
66 |
|
|
extern int sys_write(struct sys_write_args *, register_t *);
|
67 |
|
|
|
68 |
|
|
struct sys_open_args {
|
69 |
|
|
syscallarg(const char *) path;
|
70 |
|
|
syscallarg(int) flags;
|
71 |
|
|
syscallarg(int) mode;
|
72 |
|
|
};
|
73 |
|
|
|
74 |
|
|
struct sys_close_args {
|
75 |
|
|
syscallarg(int) fd;
|
76 |
|
|
};
|
77 |
|
|
|
78 |
|
|
#ifndef __ECOS
|
79 |
|
|
struct sys_wait4_args {
|
80 |
|
|
syscallarg(int) pid;
|
81 |
|
|
syscallarg(int *) status;
|
82 |
|
|
syscallarg(int) options;
|
83 |
|
|
syscallarg(struct rusage *) rusage;
|
84 |
|
|
};
|
85 |
|
|
|
86 |
|
|
struct compat_43_sys_creat_args {
|
87 |
|
|
syscallarg(const char *) path;
|
88 |
|
|
syscallarg(int) mode;
|
89 |
|
|
};
|
90 |
|
|
|
91 |
|
|
struct sys_link_args {
|
92 |
|
|
syscallarg(const char *) path;
|
93 |
|
|
syscallarg(const char *) link;
|
94 |
|
|
};
|
95 |
|
|
|
96 |
|
|
struct sys_unlink_args {
|
97 |
|
|
syscallarg(const char *) path;
|
98 |
|
|
};
|
99 |
|
|
|
100 |
|
|
struct sys_chdir_args {
|
101 |
|
|
syscallarg(const char *) path;
|
102 |
|
|
};
|
103 |
|
|
|
104 |
|
|
struct sys_fchdir_args {
|
105 |
|
|
syscallarg(int) fd;
|
106 |
|
|
};
|
107 |
|
|
|
108 |
|
|
struct sys_mknod_args {
|
109 |
|
|
syscallarg(const char *) path;
|
110 |
|
|
syscallarg(int) mode;
|
111 |
|
|
syscallarg(dev_t) dev;
|
112 |
|
|
};
|
113 |
|
|
|
114 |
|
|
struct sys_chmod_args {
|
115 |
|
|
syscallarg(const char *) path;
|
116 |
|
|
syscallarg(int) mode;
|
117 |
|
|
};
|
118 |
|
|
|
119 |
|
|
struct sys_chown_args {
|
120 |
|
|
syscallarg(const char *) path;
|
121 |
|
|
syscallarg(uid_t) uid;
|
122 |
|
|
syscallarg(gid_t) gid;
|
123 |
|
|
};
|
124 |
|
|
|
125 |
|
|
struct sys_obreak_args {
|
126 |
|
|
syscallarg(char *) nsize;
|
127 |
|
|
};
|
128 |
|
|
|
129 |
|
|
struct sys_ogetfsstat_args {
|
130 |
|
|
syscallarg(struct statfs *) buf;
|
131 |
|
|
syscallarg(long) bufsize;
|
132 |
|
|
syscallarg(int) flags;
|
133 |
|
|
};
|
134 |
|
|
|
135 |
|
|
struct compat_43_sys_lseek_args {
|
136 |
|
|
syscallarg(int) fd;
|
137 |
|
|
syscallarg(long) offset;
|
138 |
|
|
syscallarg(int) whence;
|
139 |
|
|
};
|
140 |
|
|
|
141 |
|
|
struct sys_mount_args {
|
142 |
|
|
syscallarg(const char *) type;
|
143 |
|
|
syscallarg(const char *) path;
|
144 |
|
|
syscallarg(int) flags;
|
145 |
|
|
syscallarg(void *) data;
|
146 |
|
|
};
|
147 |
|
|
|
148 |
|
|
struct sys_unmount_args {
|
149 |
|
|
syscallarg(const char *) path;
|
150 |
|
|
syscallarg(int) flags;
|
151 |
|
|
};
|
152 |
|
|
|
153 |
|
|
struct sys_setuid_args {
|
154 |
|
|
syscallarg(uid_t) uid;
|
155 |
|
|
};
|
156 |
|
|
|
157 |
|
|
struct sys_ptrace_args {
|
158 |
|
|
syscallarg(int) req;
|
159 |
|
|
syscallarg(pid_t) pid;
|
160 |
|
|
syscallarg(caddr_t) addr;
|
161 |
|
|
syscallarg(int) data;
|
162 |
|
|
};
|
163 |
|
|
|
164 |
|
|
struct sys_recvmsg_args {
|
165 |
|
|
syscallarg(int) s;
|
166 |
|
|
syscallarg(struct msghdr *) msg;
|
167 |
|
|
syscallarg(int) flags;
|
168 |
|
|
};
|
169 |
|
|
|
170 |
|
|
struct sys_sendmsg_args {
|
171 |
|
|
syscallarg(int) s;
|
172 |
|
|
syscallarg(const struct msghdr *) msg;
|
173 |
|
|
syscallarg(int) flags;
|
174 |
|
|
};
|
175 |
|
|
#endif
|
176 |
|
|
|
177 |
|
|
struct sys_recvfrom_args {
|
178 |
|
|
syscallarg(int) s;
|
179 |
|
|
syscallarg(void *) buf;
|
180 |
|
|
syscallarg(size_t) len;
|
181 |
|
|
syscallarg(int) flags;
|
182 |
|
|
syscallarg(struct sockaddr *) from;
|
183 |
|
|
syscallarg(socklen_t *) fromlenaddr;
|
184 |
|
|
};
|
185 |
|
|
extern int sys_recvfrom(struct sys_recvfrom_args *, register_t *);
|
186 |
|
|
|
187 |
|
|
struct sys_accept_args {
|
188 |
|
|
syscallarg(int) s;
|
189 |
|
|
syscallarg(struct sockaddr *) name;
|
190 |
|
|
syscallarg(socklen_t *) anamelen;
|
191 |
|
|
};
|
192 |
|
|
extern int sys_accept(struct sys_accept_args *, register_t *);
|
193 |
|
|
|
194 |
|
|
struct sys_getpeername_args {
|
195 |
|
|
syscallarg(int) fdes;
|
196 |
|
|
syscallarg(struct sockaddr *) asa;
|
197 |
|
|
syscallarg(int *) alen;
|
198 |
|
|
};
|
199 |
|
|
extern int sys_getpeername(struct sys_getpeername_args *, register_t *);
|
200 |
|
|
|
201 |
|
|
struct sys_getsockname_args {
|
202 |
|
|
syscallarg(int) fdes;
|
203 |
|
|
syscallarg(struct sockaddr *) asa;
|
204 |
|
|
syscallarg(socklen_t *) alen;
|
205 |
|
|
};
|
206 |
|
|
extern int sys_getsockname(struct sys_getsockname_args *, register_t *);
|
207 |
|
|
|
208 |
|
|
struct sys_access_args {
|
209 |
|
|
syscallarg(const char *) path;
|
210 |
|
|
syscallarg(int) flags;
|
211 |
|
|
};
|
212 |
|
|
|
213 |
|
|
#ifndef __ECOS
|
214 |
|
|
struct sys_chflags_args {
|
215 |
|
|
syscallarg(const char *) path;
|
216 |
|
|
syscallarg(u_int) flags;
|
217 |
|
|
};
|
218 |
|
|
|
219 |
|
|
struct sys_fchflags_args {
|
220 |
|
|
syscallarg(int) fd;
|
221 |
|
|
syscallarg(u_int) flags;
|
222 |
|
|
};
|
223 |
|
|
|
224 |
|
|
struct sys_kill_args {
|
225 |
|
|
syscallarg(int) pid;
|
226 |
|
|
syscallarg(int) signum;
|
227 |
|
|
};
|
228 |
|
|
|
229 |
|
|
struct compat_43_sys_stat_args {
|
230 |
|
|
syscallarg(const char *) path;
|
231 |
|
|
syscallarg(struct ostat *) ub;
|
232 |
|
|
};
|
233 |
|
|
|
234 |
|
|
struct compat_43_sys_lstat_args {
|
235 |
|
|
syscallarg(char *) path;
|
236 |
|
|
syscallarg(struct ostat *) ub;
|
237 |
|
|
};
|
238 |
|
|
|
239 |
|
|
struct sys_dup_args {
|
240 |
|
|
syscallarg(int) fd;
|
241 |
|
|
};
|
242 |
|
|
|
243 |
|
|
struct sys_profil_args {
|
244 |
|
|
syscallarg(caddr_t) samples;
|
245 |
|
|
syscallarg(size_t) size;
|
246 |
|
|
syscallarg(u_long) offset;
|
247 |
|
|
syscallarg(u_int) scale;
|
248 |
|
|
};
|
249 |
|
|
|
250 |
|
|
struct sys_ktrace_args {
|
251 |
|
|
syscallarg(const char *) fname;
|
252 |
|
|
syscallarg(int) ops;
|
253 |
|
|
syscallarg(int) facs;
|
254 |
|
|
syscallarg(pid_t) pid;
|
255 |
|
|
};
|
256 |
|
|
|
257 |
|
|
struct sys_sigaction_args {
|
258 |
|
|
syscallarg(int) signum;
|
259 |
|
|
syscallarg(const struct sigaction *) nsa;
|
260 |
|
|
syscallarg(struct sigaction *) osa;
|
261 |
|
|
};
|
262 |
|
|
|
263 |
|
|
struct sys_sigprocmask_args {
|
264 |
|
|
syscallarg(int) how;
|
265 |
|
|
syscallarg(sigset_t) mask;
|
266 |
|
|
};
|
267 |
|
|
|
268 |
|
|
struct sys_getlogin_args {
|
269 |
|
|
syscallarg(char *) namebuf;
|
270 |
|
|
syscallarg(u_int) namelen;
|
271 |
|
|
};
|
272 |
|
|
|
273 |
|
|
struct sys_setlogin_args {
|
274 |
|
|
syscallarg(const char *) namebuf;
|
275 |
|
|
};
|
276 |
|
|
|
277 |
|
|
struct sys_acct_args {
|
278 |
|
|
syscallarg(const char *) path;
|
279 |
|
|
};
|
280 |
|
|
|
281 |
|
|
struct sys_sigaltstack_args {
|
282 |
|
|
syscallarg(const struct sigaltstack *) nss;
|
283 |
|
|
syscallarg(struct sigaltstack *) oss;
|
284 |
|
|
};
|
285 |
|
|
#endif
|
286 |
|
|
|
287 |
|
|
struct sys_ioctl_args {
|
288 |
|
|
syscallarg(int) fd;
|
289 |
|
|
syscallarg(u_long) com;
|
290 |
|
|
syscallarg(void *) data;
|
291 |
|
|
};
|
292 |
|
|
extern int sys_ioctl(struct sys_ioctl_args *, register_t *);
|
293 |
|
|
|
294 |
|
|
#ifndef __ECOS
|
295 |
|
|
struct sys_reboot_args {
|
296 |
|
|
syscallarg(int) opt;
|
297 |
|
|
};
|
298 |
|
|
|
299 |
|
|
struct sys_revoke_args {
|
300 |
|
|
syscallarg(const char *) path;
|
301 |
|
|
};
|
302 |
|
|
|
303 |
|
|
struct sys_symlink_args {
|
304 |
|
|
syscallarg(const char *) path;
|
305 |
|
|
syscallarg(const char *) link;
|
306 |
|
|
};
|
307 |
|
|
|
308 |
|
|
struct sys_readlink_args {
|
309 |
|
|
syscallarg(const char *) path;
|
310 |
|
|
syscallarg(char *) buf;
|
311 |
|
|
syscallarg(size_t) count;
|
312 |
|
|
};
|
313 |
|
|
|
314 |
|
|
struct sys_execve_args {
|
315 |
|
|
syscallarg(const char *) path;
|
316 |
|
|
syscallarg(char *const *) argp;
|
317 |
|
|
syscallarg(char *const *) envp;
|
318 |
|
|
};
|
319 |
|
|
|
320 |
|
|
struct sys_umask_args {
|
321 |
|
|
syscallarg(int) newmask;
|
322 |
|
|
};
|
323 |
|
|
|
324 |
|
|
struct sys_chroot_args {
|
325 |
|
|
syscallarg(const char *) path;
|
326 |
|
|
};
|
327 |
|
|
|
328 |
|
|
struct compat_43_sys_fstat_args {
|
329 |
|
|
syscallarg(int) fd;
|
330 |
|
|
syscallarg(struct ostat *) sb;
|
331 |
|
|
};
|
332 |
|
|
|
333 |
|
|
struct compat_43_sys_getkerninfo_args {
|
334 |
|
|
syscallarg(int) op;
|
335 |
|
|
syscallarg(char *) where;
|
336 |
|
|
syscallarg(int *) size;
|
337 |
|
|
syscallarg(int) arg;
|
338 |
|
|
};
|
339 |
|
|
|
340 |
|
|
struct sys_omsync_args {
|
341 |
|
|
syscallarg(caddr_t) addr;
|
342 |
|
|
syscallarg(size_t) len;
|
343 |
|
|
};
|
344 |
|
|
|
345 |
|
|
struct sys_sbrk_args {
|
346 |
|
|
syscallarg(int) incr;
|
347 |
|
|
};
|
348 |
|
|
|
349 |
|
|
struct sys_sstk_args {
|
350 |
|
|
syscallarg(int) incr;
|
351 |
|
|
};
|
352 |
|
|
|
353 |
|
|
struct compat_43_sys_mmap_args {
|
354 |
|
|
syscallarg(caddr_t) addr;
|
355 |
|
|
syscallarg(size_t) len;
|
356 |
|
|
syscallarg(int) prot;
|
357 |
|
|
syscallarg(int) flags;
|
358 |
|
|
syscallarg(int) fd;
|
359 |
|
|
syscallarg(long) pos;
|
360 |
|
|
};
|
361 |
|
|
|
362 |
|
|
struct sys_ovadvise_args {
|
363 |
|
|
syscallarg(int) anom;
|
364 |
|
|
};
|
365 |
|
|
|
366 |
|
|
struct sys_munmap_args {
|
367 |
|
|
syscallarg(void *) addr;
|
368 |
|
|
syscallarg(size_t) len;
|
369 |
|
|
};
|
370 |
|
|
|
371 |
|
|
struct sys_mprotect_args {
|
372 |
|
|
syscallarg(void *) addr;
|
373 |
|
|
syscallarg(size_t) len;
|
374 |
|
|
syscallarg(int) prot;
|
375 |
|
|
};
|
376 |
|
|
|
377 |
|
|
struct sys_madvise_args {
|
378 |
|
|
syscallarg(void *) addr;
|
379 |
|
|
syscallarg(size_t) len;
|
380 |
|
|
syscallarg(int) behav;
|
381 |
|
|
};
|
382 |
|
|
|
383 |
|
|
struct sys_mincore_args {
|
384 |
|
|
syscallarg(void *) addr;
|
385 |
|
|
syscallarg(size_t) len;
|
386 |
|
|
syscallarg(char *) vec;
|
387 |
|
|
};
|
388 |
|
|
|
389 |
|
|
struct sys_getgroups_args {
|
390 |
|
|
syscallarg(int) gidsetsize;
|
391 |
|
|
syscallarg(gid_t *) gidset;
|
392 |
|
|
};
|
393 |
|
|
|
394 |
|
|
struct sys_setgroups_args {
|
395 |
|
|
syscallarg(int) gidsetsize;
|
396 |
|
|
syscallarg(const gid_t *) gidset;
|
397 |
|
|
};
|
398 |
|
|
|
399 |
|
|
struct sys_setpgid_args {
|
400 |
|
|
syscallarg(pid_t) pid;
|
401 |
|
|
syscallarg(int) pgid;
|
402 |
|
|
};
|
403 |
|
|
|
404 |
|
|
struct sys_setitimer_args {
|
405 |
|
|
syscallarg(int) which;
|
406 |
|
|
syscallarg(const struct itimerval *) itv;
|
407 |
|
|
syscallarg(struct itimerval *) oitv;
|
408 |
|
|
};
|
409 |
|
|
|
410 |
|
|
struct sys_swapon_args {
|
411 |
|
|
syscallarg(const char *) name;
|
412 |
|
|
};
|
413 |
|
|
|
414 |
|
|
struct sys_getitimer_args {
|
415 |
|
|
syscallarg(int) which;
|
416 |
|
|
syscallarg(struct itimerval *) itv;
|
417 |
|
|
};
|
418 |
|
|
|
419 |
|
|
struct compat_43_sys_gethostname_args {
|
420 |
|
|
syscallarg(char *) hostname;
|
421 |
|
|
syscallarg(u_int) len;
|
422 |
|
|
};
|
423 |
|
|
|
424 |
|
|
struct compat_43_sys_sethostname_args {
|
425 |
|
|
syscallarg(char *) hostname;
|
426 |
|
|
syscallarg(u_int) len;
|
427 |
|
|
};
|
428 |
|
|
|
429 |
|
|
struct sys_dup2_args {
|
430 |
|
|
syscallarg(int) from;
|
431 |
|
|
syscallarg(int) to;
|
432 |
|
|
};
|
433 |
|
|
|
434 |
|
|
struct sys_fcntl_args {
|
435 |
|
|
syscallarg(int) fd;
|
436 |
|
|
syscallarg(int) cmd;
|
437 |
|
|
syscallarg(void *) arg;
|
438 |
|
|
};
|
439 |
|
|
#endif
|
440 |
|
|
|
441 |
|
|
struct sys_select_args {
|
442 |
|
|
syscallarg(int) nd;
|
443 |
|
|
syscallarg(fd_set *) in;
|
444 |
|
|
syscallarg(fd_set *) ou;
|
445 |
|
|
syscallarg(fd_set *) ex;
|
446 |
|
|
syscallarg(struct timeval *) tv;
|
447 |
|
|
};
|
448 |
|
|
extern int sys_select(struct sys_select_args *, register_t *);
|
449 |
|
|
|
450 |
|
|
#ifndef __ECOS
|
451 |
|
|
struct sys_fsync_args {
|
452 |
|
|
syscallarg(int) fd;
|
453 |
|
|
};
|
454 |
|
|
|
455 |
|
|
struct sys_setpriority_args {
|
456 |
|
|
syscallarg(int) which;
|
457 |
|
|
syscallarg(int) who;
|
458 |
|
|
syscallarg(int) prio;
|
459 |
|
|
};
|
460 |
|
|
#endif
|
461 |
|
|
|
462 |
|
|
struct sys_socket_args {
|
463 |
|
|
syscallarg(int) domain;
|
464 |
|
|
syscallarg(int) type;
|
465 |
|
|
syscallarg(int) protocol;
|
466 |
|
|
};
|
467 |
|
|
extern int sys_socket(struct sys_socket_args *, register_t *);
|
468 |
|
|
|
469 |
|
|
struct sys_connect_args {
|
470 |
|
|
syscallarg(int) s;
|
471 |
|
|
syscallarg(const struct sockaddr *) name;
|
472 |
|
|
syscallarg(socklen_t) namelen;
|
473 |
|
|
};
|
474 |
|
|
extern int sys_connect(struct sys_connect_args *, register_t *);
|
475 |
|
|
|
476 |
|
|
#ifndef __ECOS
|
477 |
|
|
struct compat_43_sys_accept_args {
|
478 |
|
|
syscallarg(int) s;
|
479 |
|
|
syscallarg(caddr_t) name;
|
480 |
|
|
syscallarg(int *) anamelen;
|
481 |
|
|
};
|
482 |
|
|
|
483 |
|
|
struct sys_getpriority_args {
|
484 |
|
|
syscallarg(int) which;
|
485 |
|
|
syscallarg(int) who;
|
486 |
|
|
};
|
487 |
|
|
|
488 |
|
|
struct compat_43_sys_send_args {
|
489 |
|
|
syscallarg(int) s;
|
490 |
|
|
syscallarg(caddr_t) buf;
|
491 |
|
|
syscallarg(int) len;
|
492 |
|
|
syscallarg(int) flags;
|
493 |
|
|
};
|
494 |
|
|
|
495 |
|
|
struct compat_43_sys_recv_args {
|
496 |
|
|
syscallarg(int) s;
|
497 |
|
|
syscallarg(caddr_t) buf;
|
498 |
|
|
syscallarg(int) len;
|
499 |
|
|
syscallarg(int) flags;
|
500 |
|
|
};
|
501 |
|
|
|
502 |
|
|
struct sys_sigreturn_args {
|
503 |
|
|
syscallarg(struct sigcontext *) sigcntxp;
|
504 |
|
|
};
|
505 |
|
|
#endif
|
506 |
|
|
|
507 |
|
|
struct sys_bind_args {
|
508 |
|
|
syscallarg(int) s;
|
509 |
|
|
syscallarg(const struct sockaddr *) name;
|
510 |
|
|
syscallarg(socklen_t) namelen;
|
511 |
|
|
};
|
512 |
|
|
extern int sys_bind(struct sys_bind_args *, register_t *);
|
513 |
|
|
|
514 |
|
|
struct sys_setsockopt_args {
|
515 |
|
|
syscallarg(int) s;
|
516 |
|
|
syscallarg(int) level;
|
517 |
|
|
syscallarg(int) name;
|
518 |
|
|
syscallarg(const void *) val;
|
519 |
|
|
syscallarg(socklen_t) valsize;
|
520 |
|
|
};
|
521 |
|
|
extern int sys_setsockopt(struct sys_setsockopt_args *, register_t *);
|
522 |
|
|
|
523 |
|
|
struct sys_listen_args {
|
524 |
|
|
syscallarg(int) s;
|
525 |
|
|
syscallarg(int) backlog;
|
526 |
|
|
};
|
527 |
|
|
extern int sys_listen(struct sys_listen_args *, register_t *);
|
528 |
|
|
|
529 |
|
|
#ifndef __ECOS
|
530 |
|
|
struct compat_43_sys_sigvec_args {
|
531 |
|
|
syscallarg(int) signum;
|
532 |
|
|
syscallarg(struct sigvec *) nsv;
|
533 |
|
|
syscallarg(struct sigvec *) osv;
|
534 |
|
|
};
|
535 |
|
|
|
536 |
|
|
struct compat_43_sys_sigblock_args {
|
537 |
|
|
syscallarg(int) mask;
|
538 |
|
|
};
|
539 |
|
|
|
540 |
|
|
struct compat_43_sys_sigsetmask_args {
|
541 |
|
|
syscallarg(int) mask;
|
542 |
|
|
};
|
543 |
|
|
|
544 |
|
|
struct sys_sigsuspend_args {
|
545 |
|
|
syscallarg(int) mask;
|
546 |
|
|
};
|
547 |
|
|
|
548 |
|
|
struct compat_43_sys_sigstack_args {
|
549 |
|
|
syscallarg(struct sigstack *) nss;
|
550 |
|
|
syscallarg(struct sigstack *) oss;
|
551 |
|
|
};
|
552 |
|
|
|
553 |
|
|
struct compat_43_sys_recvmsg_args {
|
554 |
|
|
syscallarg(int) s;
|
555 |
|
|
syscallarg(struct omsghdr *) msg;
|
556 |
|
|
syscallarg(int) flags;
|
557 |
|
|
};
|
558 |
|
|
|
559 |
|
|
struct compat_43_sys_sendmsg_args {
|
560 |
|
|
syscallarg(int) s;
|
561 |
|
|
syscallarg(caddr_t) msg;
|
562 |
|
|
syscallarg(int) flags;
|
563 |
|
|
};
|
564 |
|
|
|
565 |
|
|
struct sys_vtrace_args {
|
566 |
|
|
syscallarg(int) request;
|
567 |
|
|
syscallarg(int) value;
|
568 |
|
|
};
|
569 |
|
|
|
570 |
|
|
struct sys_gettimeofday_args {
|
571 |
|
|
syscallarg(struct timeval *) tp;
|
572 |
|
|
syscallarg(struct timezone *) tzp;
|
573 |
|
|
};
|
574 |
|
|
|
575 |
|
|
struct sys_getrusage_args {
|
576 |
|
|
syscallarg(int) who;
|
577 |
|
|
syscallarg(struct rusage *) rusage;
|
578 |
|
|
};
|
579 |
|
|
#endif
|
580 |
|
|
|
581 |
|
|
struct sys_getsockopt_args {
|
582 |
|
|
syscallarg(int) s;
|
583 |
|
|
syscallarg(int) level;
|
584 |
|
|
syscallarg(int) name;
|
585 |
|
|
syscallarg(void *) val;
|
586 |
|
|
syscallarg(socklen_t *) avalsize;
|
587 |
|
|
};
|
588 |
|
|
extern int sys_getsockopt(struct sys_getsockopt_args *, register_t *);
|
589 |
|
|
|
590 |
|
|
struct sys_readv_args {
|
591 |
|
|
syscallarg(int) fd;
|
592 |
|
|
syscallarg(const struct iovec *) iovp;
|
593 |
|
|
syscallarg(int) iovcnt;
|
594 |
|
|
};
|
595 |
|
|
|
596 |
|
|
struct sys_writev_args {
|
597 |
|
|
syscallarg(int) fd;
|
598 |
|
|
syscallarg(const struct iovec *) iovp;
|
599 |
|
|
syscallarg(int) iovcnt;
|
600 |
|
|
};
|
601 |
|
|
|
602 |
|
|
#ifndef __ECOS
|
603 |
|
|
struct sys_settimeofday_args {
|
604 |
|
|
syscallarg(const struct timeval *) tv;
|
605 |
|
|
syscallarg(const struct timezone *) tzp;
|
606 |
|
|
};
|
607 |
|
|
|
608 |
|
|
struct sys_fchown_args {
|
609 |
|
|
syscallarg(int) fd;
|
610 |
|
|
syscallarg(uid_t) uid;
|
611 |
|
|
syscallarg(gid_t) gid;
|
612 |
|
|
};
|
613 |
|
|
|
614 |
|
|
struct sys_fchmod_args {
|
615 |
|
|
syscallarg(int) fd;
|
616 |
|
|
syscallarg(int) mode;
|
617 |
|
|
};
|
618 |
|
|
|
619 |
|
|
struct compat_43_sys_recvfrom_args {
|
620 |
|
|
syscallarg(int) s;
|
621 |
|
|
syscallarg(caddr_t) buf;
|
622 |
|
|
syscallarg(size_t) len;
|
623 |
|
|
syscallarg(int) flags;
|
624 |
|
|
syscallarg(caddr_t) from;
|
625 |
|
|
syscallarg(int *) fromlenaddr;
|
626 |
|
|
};
|
627 |
|
|
|
628 |
|
|
struct compat_43_sys_setreuid_args {
|
629 |
|
|
syscallarg(int) ruid;
|
630 |
|
|
syscallarg(int) euid;
|
631 |
|
|
};
|
632 |
|
|
|
633 |
|
|
struct compat_43_sys_setregid_args {
|
634 |
|
|
syscallarg(int) rgid;
|
635 |
|
|
syscallarg(int) egid;
|
636 |
|
|
};
|
637 |
|
|
|
638 |
|
|
struct sys_rename_args {
|
639 |
|
|
syscallarg(const char *) from;
|
640 |
|
|
syscallarg(const char *) to;
|
641 |
|
|
};
|
642 |
|
|
|
643 |
|
|
struct compat_43_sys_truncate_args {
|
644 |
|
|
syscallarg(const char *) path;
|
645 |
|
|
syscallarg(long) length;
|
646 |
|
|
};
|
647 |
|
|
|
648 |
|
|
struct compat_43_sys_ftruncate_args {
|
649 |
|
|
syscallarg(int) fd;
|
650 |
|
|
syscallarg(long) length;
|
651 |
|
|
};
|
652 |
|
|
|
653 |
|
|
struct sys_flock_args {
|
654 |
|
|
syscallarg(int) fd;
|
655 |
|
|
syscallarg(int) how;
|
656 |
|
|
};
|
657 |
|
|
|
658 |
|
|
struct sys_mkfifo_args {
|
659 |
|
|
syscallarg(const char *) path;
|
660 |
|
|
syscallarg(int) mode;
|
661 |
|
|
};
|
662 |
|
|
#endif
|
663 |
|
|
|
664 |
|
|
struct sys_sendto_args {
|
665 |
|
|
syscallarg(int) s;
|
666 |
|
|
syscallarg(const void *) buf;
|
667 |
|
|
syscallarg(size_t) len;
|
668 |
|
|
syscallarg(int) flags;
|
669 |
|
|
syscallarg(const struct sockaddr *) to;
|
670 |
|
|
syscallarg(socklen_t) tolen;
|
671 |
|
|
};
|
672 |
|
|
extern int sys_sendto(struct sys_sendto_args *, register_t *);
|
673 |
|
|
|
674 |
|
|
struct sys_shutdown_args {
|
675 |
|
|
syscallarg(int) s;
|
676 |
|
|
syscallarg(int) how;
|
677 |
|
|
};
|
678 |
|
|
extern int sys_shutdown(struct sys_shutdown_args *, register_t *);
|
679 |
|
|
|
680 |
|
|
struct sys_socketpair_args {
|
681 |
|
|
syscallarg(int) domain;
|
682 |
|
|
syscallarg(int) type;
|
683 |
|
|
syscallarg(int) protocol;
|
684 |
|
|
syscallarg(int *) rsv;
|
685 |
|
|
};
|
686 |
|
|
|
687 |
|
|
#ifndef __ECOS
|
688 |
|
|
struct sys_mkdir_args {
|
689 |
|
|
syscallarg(const char *) path;
|
690 |
|
|
syscallarg(int) mode;
|
691 |
|
|
};
|
692 |
|
|
|
693 |
|
|
struct sys_rmdir_args {
|
694 |
|
|
syscallarg(const char *) path;
|
695 |
|
|
};
|
696 |
|
|
|
697 |
|
|
struct sys_utimes_args {
|
698 |
|
|
syscallarg(const char *) path;
|
699 |
|
|
syscallarg(const struct timeval *) tptr;
|
700 |
|
|
};
|
701 |
|
|
|
702 |
|
|
struct sys_adjtime_args {
|
703 |
|
|
syscallarg(const struct timeval *) delta;
|
704 |
|
|
syscallarg(struct timeval *) olddelta;
|
705 |
|
|
};
|
706 |
|
|
|
707 |
|
|
struct compat_43_sys_getpeername_args {
|
708 |
|
|
syscallarg(int) fdes;
|
709 |
|
|
syscallarg(caddr_t) asa;
|
710 |
|
|
syscallarg(socklen_t *) alen;
|
711 |
|
|
};
|
712 |
|
|
|
713 |
|
|
struct compat_43_sys_sethostid_args {
|
714 |
|
|
syscallarg(int32_t) hostid;
|
715 |
|
|
};
|
716 |
|
|
|
717 |
|
|
struct compat_43_sys_getrlimit_args {
|
718 |
|
|
syscallarg(int) which;
|
719 |
|
|
syscallarg(struct ogetrlimit *) rlp;
|
720 |
|
|
};
|
721 |
|
|
|
722 |
|
|
struct compat_43_sys_setrlimit_args {
|
723 |
|
|
syscallarg(int) which;
|
724 |
|
|
syscallarg(struct ogetrlimit *) rlp;
|
725 |
|
|
};
|
726 |
|
|
|
727 |
|
|
struct compat_43_sys_killpg_args {
|
728 |
|
|
syscallarg(int) pgid;
|
729 |
|
|
syscallarg(int) signum;
|
730 |
|
|
};
|
731 |
|
|
|
732 |
|
|
struct sys_quotactl_args {
|
733 |
|
|
syscallarg(const char *) path;
|
734 |
|
|
syscallarg(int) cmd;
|
735 |
|
|
syscallarg(int) uid;
|
736 |
|
|
syscallarg(char *) arg;
|
737 |
|
|
};
|
738 |
|
|
|
739 |
|
|
struct compat_43_sys_getsockname_args {
|
740 |
|
|
syscallarg(int) fdec;
|
741 |
|
|
syscallarg(caddr_t) asa;
|
742 |
|
|
syscallarg(int *) alen;
|
743 |
|
|
};
|
744 |
|
|
|
745 |
|
|
struct sys_nfssvc_args {
|
746 |
|
|
syscallarg(int) flag;
|
747 |
|
|
syscallarg(void *) argp;
|
748 |
|
|
};
|
749 |
|
|
|
750 |
|
|
struct compat_43_sys_getdirentries_args {
|
751 |
|
|
syscallarg(int) fd;
|
752 |
|
|
syscallarg(char *) buf;
|
753 |
|
|
syscallarg(int) count;
|
754 |
|
|
syscallarg(long *) basep;
|
755 |
|
|
};
|
756 |
|
|
|
757 |
|
|
struct sys_ostatfs_args {
|
758 |
|
|
syscallarg(const char *) path;
|
759 |
|
|
syscallarg(struct ostatfs *) buf;
|
760 |
|
|
};
|
761 |
|
|
|
762 |
|
|
struct sys_ofstatfs_args {
|
763 |
|
|
syscallarg(int) fd;
|
764 |
|
|
syscallarg(struct ostatfs *) buf;
|
765 |
|
|
};
|
766 |
|
|
|
767 |
|
|
struct sys_getfh_args {
|
768 |
|
|
syscallarg(const char *) fname;
|
769 |
|
|
syscallarg(fhandle_t *) fhp;
|
770 |
|
|
};
|
771 |
|
|
|
772 |
|
|
struct compat_09_sys_getdomainname_args {
|
773 |
|
|
syscallarg(char *) domainname;
|
774 |
|
|
syscallarg(int) len;
|
775 |
|
|
};
|
776 |
|
|
|
777 |
|
|
struct compat_09_sys_setdomainname_args {
|
778 |
|
|
syscallarg(char *) domainname;
|
779 |
|
|
syscallarg(int) len;
|
780 |
|
|
};
|
781 |
|
|
|
782 |
|
|
struct compat_09_sys_uname_args {
|
783 |
|
|
syscallarg(struct outsname *) name;
|
784 |
|
|
};
|
785 |
|
|
|
786 |
|
|
struct sys_sysarch_args {
|
787 |
|
|
syscallarg(int) op;
|
788 |
|
|
syscallarg(char *) parms;
|
789 |
|
|
};
|
790 |
|
|
|
791 |
|
|
struct compat_10_sys_semsys_args {
|
792 |
|
|
syscallarg(int) which;
|
793 |
|
|
syscallarg(int) a2;
|
794 |
|
|
syscallarg(int) a3;
|
795 |
|
|
syscallarg(int) a4;
|
796 |
|
|
syscallarg(int) a5;
|
797 |
|
|
};
|
798 |
|
|
|
799 |
|
|
struct compat_10_sys_msgsys_args {
|
800 |
|
|
syscallarg(int) which;
|
801 |
|
|
syscallarg(int) a2;
|
802 |
|
|
syscallarg(int) a3;
|
803 |
|
|
syscallarg(int) a4;
|
804 |
|
|
syscallarg(int) a5;
|
805 |
|
|
syscallarg(int) a6;
|
806 |
|
|
};
|
807 |
|
|
|
808 |
|
|
struct compat_10_sys_shmsys_args {
|
809 |
|
|
syscallarg(int) which;
|
810 |
|
|
syscallarg(int) a2;
|
811 |
|
|
syscallarg(int) a3;
|
812 |
|
|
syscallarg(int) a4;
|
813 |
|
|
};
|
814 |
|
|
|
815 |
|
|
struct sys_ntp_gettime_args {
|
816 |
|
|
syscallarg(struct ntptimeval *) ntvp;
|
817 |
|
|
};
|
818 |
|
|
|
819 |
|
|
struct sys_ntp_adjtime_args {
|
820 |
|
|
syscallarg(struct timex *) tp;
|
821 |
|
|
};
|
822 |
|
|
|
823 |
|
|
struct sys_setgid_args {
|
824 |
|
|
syscallarg(gid_t) gid;
|
825 |
|
|
};
|
826 |
|
|
|
827 |
|
|
struct sys_setegid_args {
|
828 |
|
|
syscallarg(gid_t) egid;
|
829 |
|
|
};
|
830 |
|
|
|
831 |
|
|
struct sys_seteuid_args {
|
832 |
|
|
syscallarg(uid_t) euid;
|
833 |
|
|
};
|
834 |
|
|
|
835 |
|
|
struct lfs_bmapv_args {
|
836 |
|
|
syscallarg(fsid_t *) fsidp;
|
837 |
|
|
syscallarg(struct block_info *) blkiov;
|
838 |
|
|
syscallarg(int) blkcnt;
|
839 |
|
|
};
|
840 |
|
|
|
841 |
|
|
struct lfs_markv_args {
|
842 |
|
|
syscallarg(fsid_t *) fsidp;
|
843 |
|
|
syscallarg(struct block_info *) blkiov;
|
844 |
|
|
syscallarg(int) blkcnt;
|
845 |
|
|
};
|
846 |
|
|
|
847 |
|
|
struct lfs_segclean_args {
|
848 |
|
|
syscallarg(fsid_t *) fsidp;
|
849 |
|
|
syscallarg(u_long) segment;
|
850 |
|
|
};
|
851 |
|
|
|
852 |
|
|
struct lfs_segwait_args {
|
853 |
|
|
syscallarg(fsid_t *) fsidp;
|
854 |
|
|
syscallarg(struct timeval *) tv;
|
855 |
|
|
};
|
856 |
|
|
|
857 |
|
|
struct sys_stat_args {
|
858 |
|
|
syscallarg(const char *) path;
|
859 |
|
|
syscallarg(struct stat *) ub;
|
860 |
|
|
};
|
861 |
|
|
|
862 |
|
|
struct sys_fstat_args {
|
863 |
|
|
syscallarg(int) fd;
|
864 |
|
|
syscallarg(struct stat *) sb;
|
865 |
|
|
};
|
866 |
|
|
|
867 |
|
|
struct sys_lstat_args {
|
868 |
|
|
syscallarg(const char *) path;
|
869 |
|
|
syscallarg(struct stat *) ub;
|
870 |
|
|
};
|
871 |
|
|
|
872 |
|
|
struct sys_pathconf_args {
|
873 |
|
|
syscallarg(const char *) path;
|
874 |
|
|
syscallarg(int) name;
|
875 |
|
|
};
|
876 |
|
|
|
877 |
|
|
struct sys_fpathconf_args {
|
878 |
|
|
syscallarg(int) fd;
|
879 |
|
|
syscallarg(int) name;
|
880 |
|
|
};
|
881 |
|
|
|
882 |
|
|
struct sys_swapctl_args {
|
883 |
|
|
syscallarg(int) cmd;
|
884 |
|
|
syscallarg(const void *) arg;
|
885 |
|
|
syscallarg(int) misc;
|
886 |
|
|
};
|
887 |
|
|
|
888 |
|
|
struct sys_getrlimit_args {
|
889 |
|
|
syscallarg(int) which;
|
890 |
|
|
syscallarg(struct rlimit *) rlp;
|
891 |
|
|
};
|
892 |
|
|
|
893 |
|
|
struct sys_setrlimit_args {
|
894 |
|
|
syscallarg(int) which;
|
895 |
|
|
syscallarg(const struct rlimit *) rlp;
|
896 |
|
|
};
|
897 |
|
|
|
898 |
|
|
struct sys_getdirentries_args {
|
899 |
|
|
syscallarg(int) fd;
|
900 |
|
|
syscallarg(char *) buf;
|
901 |
|
|
syscallarg(int) count;
|
902 |
|
|
syscallarg(long *) basep;
|
903 |
|
|
};
|
904 |
|
|
|
905 |
|
|
struct sys_mmap_args {
|
906 |
|
|
syscallarg(void *) addr;
|
907 |
|
|
syscallarg(size_t) len;
|
908 |
|
|
syscallarg(int) prot;
|
909 |
|
|
syscallarg(int) flags;
|
910 |
|
|
syscallarg(int) fd;
|
911 |
|
|
syscallarg(long) pad;
|
912 |
|
|
syscallarg(off_t) pos;
|
913 |
|
|
};
|
914 |
|
|
|
915 |
|
|
struct sys_lseek_args {
|
916 |
|
|
syscallarg(int) fd;
|
917 |
|
|
syscallarg(int) pad;
|
918 |
|
|
syscallarg(off_t) offset;
|
919 |
|
|
syscallarg(int) whence;
|
920 |
|
|
};
|
921 |
|
|
|
922 |
|
|
struct sys_truncate_args {
|
923 |
|
|
syscallarg(const char *) path;
|
924 |
|
|
syscallarg(int) pad;
|
925 |
|
|
syscallarg(off_t) length;
|
926 |
|
|
};
|
927 |
|
|
|
928 |
|
|
struct sys_ftruncate_args {
|
929 |
|
|
syscallarg(int) fd;
|
930 |
|
|
syscallarg(int) pad;
|
931 |
|
|
syscallarg(off_t) length;
|
932 |
|
|
};
|
933 |
|
|
|
934 |
|
|
struct sys___sysctl_args {
|
935 |
|
|
syscallarg(int *) name;
|
936 |
|
|
syscallarg(u_int) namelen;
|
937 |
|
|
syscallarg(void *) old;
|
938 |
|
|
syscallarg(size_t *) oldlenp;
|
939 |
|
|
syscallarg(void *) new;
|
940 |
|
|
syscallarg(size_t) newlen;
|
941 |
|
|
};
|
942 |
|
|
|
943 |
|
|
struct sys_mlock_args {
|
944 |
|
|
syscallarg(const void *) addr;
|
945 |
|
|
syscallarg(size_t) len;
|
946 |
|
|
};
|
947 |
|
|
|
948 |
|
|
struct sys_munlock_args {
|
949 |
|
|
syscallarg(const void *) addr;
|
950 |
|
|
syscallarg(size_t) len;
|
951 |
|
|
};
|
952 |
|
|
|
953 |
|
|
struct sys_undelete_args {
|
954 |
|
|
syscallarg(const char *) path;
|
955 |
|
|
};
|
956 |
|
|
|
957 |
|
|
struct sys_futimes_args {
|
958 |
|
|
syscallarg(int) fd;
|
959 |
|
|
syscallarg(const struct timeval *) tptr;
|
960 |
|
|
};
|
961 |
|
|
|
962 |
|
|
struct sys_getpgid_args {
|
963 |
|
|
syscallarg(pid_t) pid;
|
964 |
|
|
};
|
965 |
|
|
|
966 |
|
|
struct sys_xfspioctl_args {
|
967 |
|
|
syscallarg(int) operation;
|
968 |
|
|
syscallarg(char *) a_pathP;
|
969 |
|
|
syscallarg(int) a_opcode;
|
970 |
|
|
syscallarg(struct ViceIoctl *) a_paramsP;
|
971 |
|
|
syscallarg(int) a_followSymlinks;
|
972 |
|
|
};
|
973 |
|
|
|
974 |
|
|
struct sys___osemctl_args {
|
975 |
|
|
syscallarg(int) semid;
|
976 |
|
|
syscallarg(int) semnum;
|
977 |
|
|
syscallarg(int) cmd;
|
978 |
|
|
syscallarg(union semun *) arg;
|
979 |
|
|
};
|
980 |
|
|
|
981 |
|
|
struct sys_semget_args {
|
982 |
|
|
syscallarg(key_t) key;
|
983 |
|
|
syscallarg(int) nsems;
|
984 |
|
|
syscallarg(int) semflg;
|
985 |
|
|
};
|
986 |
|
|
|
987 |
|
|
struct sys_semop_args {
|
988 |
|
|
syscallarg(int) semid;
|
989 |
|
|
syscallarg(struct sembuf *) sops;
|
990 |
|
|
syscallarg(u_int) nsops;
|
991 |
|
|
};
|
992 |
|
|
|
993 |
|
|
struct sys_semconfig_args {
|
994 |
|
|
syscallarg(int) flag;
|
995 |
|
|
};
|
996 |
|
|
|
997 |
|
|
struct sys_omsgctl_args {
|
998 |
|
|
syscallarg(int) msqid;
|
999 |
|
|
syscallarg(int) cmd;
|
1000 |
|
|
syscallarg(struct omsqid_ds *) buf;
|
1001 |
|
|
};
|
1002 |
|
|
|
1003 |
|
|
struct sys_msgget_args {
|
1004 |
|
|
syscallarg(key_t) key;
|
1005 |
|
|
syscallarg(int) msgflg;
|
1006 |
|
|
};
|
1007 |
|
|
|
1008 |
|
|
struct sys_msgsnd_args {
|
1009 |
|
|
syscallarg(int) msqid;
|
1010 |
|
|
syscallarg(const void *) msgp;
|
1011 |
|
|
syscallarg(size_t) msgsz;
|
1012 |
|
|
syscallarg(int) msgflg;
|
1013 |
|
|
};
|
1014 |
|
|
|
1015 |
|
|
struct sys_msgrcv_args {
|
1016 |
|
|
syscallarg(int) msqid;
|
1017 |
|
|
syscallarg(void *) msgp;
|
1018 |
|
|
syscallarg(size_t) msgsz;
|
1019 |
|
|
syscallarg(long) msgtyp;
|
1020 |
|
|
syscallarg(int) msgflg;
|
1021 |
|
|
};
|
1022 |
|
|
|
1023 |
|
|
struct sys_shmat_args {
|
1024 |
|
|
syscallarg(int) shmid;
|
1025 |
|
|
syscallarg(const void *) shmaddr;
|
1026 |
|
|
syscallarg(int) shmflg;
|
1027 |
|
|
};
|
1028 |
|
|
|
1029 |
|
|
struct sys_oshmctl_args {
|
1030 |
|
|
syscallarg(int) shmid;
|
1031 |
|
|
syscallarg(int) cmd;
|
1032 |
|
|
syscallarg(struct oshmid_ds *) buf;
|
1033 |
|
|
};
|
1034 |
|
|
|
1035 |
|
|
struct sys_shmdt_args {
|
1036 |
|
|
syscallarg(const void *) shmaddr;
|
1037 |
|
|
};
|
1038 |
|
|
|
1039 |
|
|
struct sys_shmget_args {
|
1040 |
|
|
syscallarg(key_t) key;
|
1041 |
|
|
syscallarg(int) size;
|
1042 |
|
|
syscallarg(int) shmflg;
|
1043 |
|
|
};
|
1044 |
|
|
|
1045 |
|
|
struct sys_clock_gettime_args {
|
1046 |
|
|
syscallarg(clockid_t) clock_id;
|
1047 |
|
|
syscallarg(struct timespec *) tp;
|
1048 |
|
|
};
|
1049 |
|
|
|
1050 |
|
|
struct sys_clock_settime_args {
|
1051 |
|
|
syscallarg(clockid_t) clock_id;
|
1052 |
|
|
syscallarg(const struct timespec *) tp;
|
1053 |
|
|
};
|
1054 |
|
|
|
1055 |
|
|
struct sys_clock_getres_args {
|
1056 |
|
|
syscallarg(clockid_t) clock_id;
|
1057 |
|
|
syscallarg(struct timespec *) tp;
|
1058 |
|
|
};
|
1059 |
|
|
|
1060 |
|
|
struct sys_nanosleep_args {
|
1061 |
|
|
syscallarg(const struct timespec *) rqtp;
|
1062 |
|
|
syscallarg(struct timespec *) rmtp;
|
1063 |
|
|
};
|
1064 |
|
|
|
1065 |
|
|
struct sys_minherit_args {
|
1066 |
|
|
syscallarg(void *) addr;
|
1067 |
|
|
syscallarg(size_t) len;
|
1068 |
|
|
syscallarg(int) inherit;
|
1069 |
|
|
};
|
1070 |
|
|
|
1071 |
|
|
struct sys_rfork_args {
|
1072 |
|
|
syscallarg(int) flags;
|
1073 |
|
|
};
|
1074 |
|
|
|
1075 |
|
|
struct sys_poll_args {
|
1076 |
|
|
syscallarg(struct pollfd *) fds;
|
1077 |
|
|
syscallarg(unsigned long) nfds;
|
1078 |
|
|
syscallarg(int) timeout;
|
1079 |
|
|
};
|
1080 |
|
|
|
1081 |
|
|
struct sys_lchown_args {
|
1082 |
|
|
syscallarg(const char *) path;
|
1083 |
|
|
syscallarg(uid_t) uid;
|
1084 |
|
|
syscallarg(gid_t) gid;
|
1085 |
|
|
};
|
1086 |
|
|
|
1087 |
|
|
struct sys_getsid_args {
|
1088 |
|
|
syscallarg(pid_t) pid;
|
1089 |
|
|
};
|
1090 |
|
|
|
1091 |
|
|
struct sys_msync_args {
|
1092 |
|
|
syscallarg(void *) addr;
|
1093 |
|
|
syscallarg(size_t) len;
|
1094 |
|
|
syscallarg(int) flags;
|
1095 |
|
|
};
|
1096 |
|
|
|
1097 |
|
|
struct sys___semctl_args {
|
1098 |
|
|
syscallarg(int) semid;
|
1099 |
|
|
syscallarg(int) semnum;
|
1100 |
|
|
syscallarg(int) cmd;
|
1101 |
|
|
syscallarg(union semun *) arg;
|
1102 |
|
|
};
|
1103 |
|
|
|
1104 |
|
|
struct sys_shmctl_args {
|
1105 |
|
|
syscallarg(int) shmid;
|
1106 |
|
|
syscallarg(int) cmd;
|
1107 |
|
|
syscallarg(struct shmid_ds *) buf;
|
1108 |
|
|
};
|
1109 |
|
|
|
1110 |
|
|
struct sys_msgctl_args {
|
1111 |
|
|
syscallarg(int) msqid;
|
1112 |
|
|
syscallarg(int) cmd;
|
1113 |
|
|
syscallarg(struct msqid_ds *) buf;
|
1114 |
|
|
};
|
1115 |
|
|
|
1116 |
|
|
struct sys_getfsstat_args {
|
1117 |
|
|
syscallarg(struct statfs *) buf;
|
1118 |
|
|
syscallarg(size_t) bufsize;
|
1119 |
|
|
syscallarg(int) flags;
|
1120 |
|
|
};
|
1121 |
|
|
|
1122 |
|
|
struct sys_statfs_args {
|
1123 |
|
|
syscallarg(const char *) path;
|
1124 |
|
|
syscallarg(struct statfs *) buf;
|
1125 |
|
|
};
|
1126 |
|
|
|
1127 |
|
|
struct sys_fstatfs_args {
|
1128 |
|
|
syscallarg(int) fd;
|
1129 |
|
|
syscallarg(struct statfs *) buf;
|
1130 |
|
|
};
|
1131 |
|
|
|
1132 |
|
|
struct sys_pipe_args {
|
1133 |
|
|
syscallarg(int *) fdp;
|
1134 |
|
|
};
|
1135 |
|
|
|
1136 |
|
|
/*
|
1137 |
|
|
* System call prototypes.
|
1138 |
|
|
*/
|
1139 |
|
|
|
1140 |
|
|
int sys_exit __P((struct proc *, void *, register_t *));
|
1141 |
|
|
int sys_fork __P((struct proc *, void *, register_t *));
|
1142 |
|
|
int sys_read __P((struct proc *, void *, register_t *));
|
1143 |
|
|
int sys_write __P((struct proc *, void *, register_t *));
|
1144 |
|
|
int sys_open __P((struct proc *, void *, register_t *));
|
1145 |
|
|
int sys_close __P((struct proc *, void *, register_t *));
|
1146 |
|
|
int sys_wait4 __P((struct proc *, void *, register_t *));
|
1147 |
|
|
int compat_43_sys_creat __P((struct proc *, void *, register_t *));
|
1148 |
|
|
int sys_link __P((struct proc *, void *, register_t *));
|
1149 |
|
|
int sys_unlink __P((struct proc *, void *, register_t *));
|
1150 |
|
|
int sys_chdir __P((struct proc *, void *, register_t *));
|
1151 |
|
|
int sys_fchdir __P((struct proc *, void *, register_t *));
|
1152 |
|
|
int sys_mknod __P((struct proc *, void *, register_t *));
|
1153 |
|
|
int sys_chmod __P((struct proc *, void *, register_t *));
|
1154 |
|
|
int sys_chown __P((struct proc *, void *, register_t *));
|
1155 |
|
|
int sys_obreak __P((struct proc *, void *, register_t *));
|
1156 |
|
|
int sys_ogetfsstat __P((struct proc *, void *, register_t *));
|
1157 |
|
|
int compat_43_sys_lseek __P((struct proc *, void *, register_t *));
|
1158 |
|
|
int sys_getpid __P((struct proc *, void *, register_t *));
|
1159 |
|
|
int sys_mount __P((struct proc *, void *, register_t *));
|
1160 |
|
|
int sys_unmount __P((struct proc *, void *, register_t *));
|
1161 |
|
|
int sys_setuid __P((struct proc *, void *, register_t *));
|
1162 |
|
|
int sys_getuid __P((struct proc *, void *, register_t *));
|
1163 |
|
|
int sys_geteuid __P((struct proc *, void *, register_t *));
|
1164 |
|
|
int sys_ptrace __P((struct proc *, void *, register_t *));
|
1165 |
|
|
int sys_recvmsg __P((struct proc *, void *, register_t *));
|
1166 |
|
|
int sys_sendmsg __P((struct proc *, void *, register_t *));
|
1167 |
|
|
int sys_recvfrom __P((struct proc *, void *, register_t *));
|
1168 |
|
|
int sys_accept __P((struct proc *, void *, register_t *));
|
1169 |
|
|
int sys_getpeername __P((struct proc *, void *, register_t *));
|
1170 |
|
|
int sys_getsockname __P((struct proc *, void *, register_t *));
|
1171 |
|
|
int sys_access __P((struct proc *, void *, register_t *));
|
1172 |
|
|
int sys_chflags __P((struct proc *, void *, register_t *));
|
1173 |
|
|
int sys_fchflags __P((struct proc *, void *, register_t *));
|
1174 |
|
|
int sys_sync __P((struct proc *, void *, register_t *));
|
1175 |
|
|
int sys_kill __P((struct proc *, void *, register_t *));
|
1176 |
|
|
int compat_43_sys_stat __P((struct proc *, void *, register_t *));
|
1177 |
|
|
int sys_getppid __P((struct proc *, void *, register_t *));
|
1178 |
|
|
int compat_43_sys_lstat __P((struct proc *, void *, register_t *));
|
1179 |
|
|
int sys_dup __P((struct proc *, void *, register_t *));
|
1180 |
|
|
int sys_opipe __P((struct proc *, void *, register_t *));
|
1181 |
|
|
int sys_getegid __P((struct proc *, void *, register_t *));
|
1182 |
|
|
int sys_profil __P((struct proc *, void *, register_t *));
|
1183 |
|
|
#ifdef KTRACE
|
1184 |
|
|
int sys_ktrace __P((struct proc *, void *, register_t *));
|
1185 |
|
|
#else
|
1186 |
|
|
#endif
|
1187 |
|
|
int sys_sigaction __P((struct proc *, void *, register_t *));
|
1188 |
|
|
int sys_getgid __P((struct proc *, void *, register_t *));
|
1189 |
|
|
int sys_sigprocmask __P((struct proc *, void *, register_t *));
|
1190 |
|
|
int sys_getlogin __P((struct proc *, void *, register_t *));
|
1191 |
|
|
int sys_setlogin __P((struct proc *, void *, register_t *));
|
1192 |
|
|
int sys_acct __P((struct proc *, void *, register_t *));
|
1193 |
|
|
int sys_sigpending __P((struct proc *, void *, register_t *));
|
1194 |
|
|
int sys_sigaltstack __P((struct proc *, void *, register_t *));
|
1195 |
|
|
int sys_ioctl __P((struct proc *, void *, register_t *));
|
1196 |
|
|
int sys_reboot __P((struct proc *, void *, register_t *));
|
1197 |
|
|
int sys_revoke __P((struct proc *, void *, register_t *));
|
1198 |
|
|
int sys_symlink __P((struct proc *, void *, register_t *));
|
1199 |
|
|
int sys_readlink __P((struct proc *, void *, register_t *));
|
1200 |
|
|
int sys_execve __P((struct proc *, void *, register_t *));
|
1201 |
|
|
int sys_umask __P((struct proc *, void *, register_t *));
|
1202 |
|
|
int sys_chroot __P((struct proc *, void *, register_t *));
|
1203 |
|
|
int compat_43_sys_fstat __P((struct proc *, void *, register_t *));
|
1204 |
|
|
int compat_43_sys_getkerninfo __P((struct proc *, void *, register_t *));
|
1205 |
|
|
int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *));
|
1206 |
|
|
int sys_omsync __P((struct proc *, void *, register_t *));
|
1207 |
|
|
int sys_vfork __P((struct proc *, void *, register_t *));
|
1208 |
|
|
int sys_sbrk __P((struct proc *, void *, register_t *));
|
1209 |
|
|
int sys_sstk __P((struct proc *, void *, register_t *));
|
1210 |
|
|
int compat_43_sys_mmap __P((struct proc *, void *, register_t *));
|
1211 |
|
|
int sys_ovadvise __P((struct proc *, void *, register_t *));
|
1212 |
|
|
int sys_munmap __P((struct proc *, void *, register_t *));
|
1213 |
|
|
int sys_mprotect __P((struct proc *, void *, register_t *));
|
1214 |
|
|
int sys_madvise __P((struct proc *, void *, register_t *));
|
1215 |
|
|
int sys_mincore __P((struct proc *, void *, register_t *));
|
1216 |
|
|
int sys_getgroups __P((struct proc *, void *, register_t *));
|
1217 |
|
|
int sys_setgroups __P((struct proc *, void *, register_t *));
|
1218 |
|
|
int sys_getpgrp __P((struct proc *, void *, register_t *));
|
1219 |
|
|
int sys_setpgid __P((struct proc *, void *, register_t *));
|
1220 |
|
|
int sys_setitimer __P((struct proc *, void *, register_t *));
|
1221 |
|
|
int compat_43_sys_wait __P((struct proc *, void *, register_t *));
|
1222 |
|
|
int sys_swapon __P((struct proc *, void *, register_t *));
|
1223 |
|
|
int sys_getitimer __P((struct proc *, void *, register_t *));
|
1224 |
|
|
int compat_43_sys_gethostname __P((struct proc *, void *, register_t *));
|
1225 |
|
|
int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));
|
1226 |
|
|
int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *));
|
1227 |
|
|
int sys_dup2 __P((struct proc *, void *, register_t *));
|
1228 |
|
|
int sys_fcntl __P((struct proc *, void *, register_t *));
|
1229 |
|
|
int sys_select __P((struct proc *, void *, register_t *));
|
1230 |
|
|
int sys_fsync __P((struct proc *, void *, register_t *));
|
1231 |
|
|
int sys_setpriority __P((struct proc *, void *, register_t *));
|
1232 |
|
|
int sys_socket __P((struct proc *, void *, register_t *));
|
1233 |
|
|
int sys_connect __P((struct proc *, void *, register_t *));
|
1234 |
|
|
int compat_43_sys_accept __P((struct proc *, void *, register_t *));
|
1235 |
|
|
int sys_getpriority __P((struct proc *, void *, register_t *));
|
1236 |
|
|
int compat_43_sys_send __P((struct proc *, void *, register_t *));
|
1237 |
|
|
int compat_43_sys_recv __P((struct proc *, void *, register_t *));
|
1238 |
|
|
int sys_sigreturn __P((struct proc *, void *, register_t *));
|
1239 |
|
|
int sys_bind __P((struct proc *, void *, register_t *));
|
1240 |
|
|
int sys_setsockopt __P((struct proc *, void *, register_t *));
|
1241 |
|
|
int sys_listen __P((struct proc *, void *, register_t *));
|
1242 |
|
|
int compat_43_sys_sigvec __P((struct proc *, void *, register_t *));
|
1243 |
|
|
int compat_43_sys_sigblock __P((struct proc *, void *, register_t *));
|
1244 |
|
|
int compat_43_sys_sigsetmask __P((struct proc *, void *, register_t *));
|
1245 |
|
|
int sys_sigsuspend __P((struct proc *, void *, register_t *));
|
1246 |
|
|
int compat_43_sys_sigstack __P((struct proc *, void *, register_t *));
|
1247 |
|
|
int compat_43_sys_recvmsg __P((struct proc *, void *, register_t *));
|
1248 |
|
|
int compat_43_sys_sendmsg __P((struct proc *, void *, register_t *));
|
1249 |
|
|
#ifdef TRACE
|
1250 |
|
|
int sys_vtrace __P((struct proc *, void *, register_t *));
|
1251 |
|
|
#else
|
1252 |
|
|
#endif
|
1253 |
|
|
int sys_gettimeofday __P((struct proc *, void *, register_t *));
|
1254 |
|
|
int sys_getrusage __P((struct proc *, void *, register_t *));
|
1255 |
|
|
int sys_getsockopt __P((struct proc *, void *, register_t *));
|
1256 |
|
|
int sys_readv __P((struct proc *, void *, register_t *));
|
1257 |
|
|
int sys_writev __P((struct proc *, void *, register_t *));
|
1258 |
|
|
int sys_settimeofday __P((struct proc *, void *, register_t *));
|
1259 |
|
|
int sys_fchown __P((struct proc *, void *, register_t *));
|
1260 |
|
|
int sys_fchmod __P((struct proc *, void *, register_t *));
|
1261 |
|
|
int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *));
|
1262 |
|
|
int compat_43_sys_setreuid __P((struct proc *, void *, register_t *));
|
1263 |
|
|
int compat_43_sys_setregid __P((struct proc *, void *, register_t *));
|
1264 |
|
|
int sys_rename __P((struct proc *, void *, register_t *));
|
1265 |
|
|
int compat_43_sys_truncate __P((struct proc *, void *, register_t *));
|
1266 |
|
|
int compat_43_sys_ftruncate __P((struct proc *, void *, register_t *));
|
1267 |
|
|
int sys_flock __P((struct proc *, void *, register_t *));
|
1268 |
|
|
int sys_mkfifo __P((struct proc *, void *, register_t *));
|
1269 |
|
|
int sys_sendto __P((struct proc *, void *, register_t *));
|
1270 |
|
|
int sys_shutdown __P((struct proc *, void *, register_t *));
|
1271 |
|
|
int sys_socketpair __P((struct proc *, void *, register_t *));
|
1272 |
|
|
int sys_mkdir __P((struct proc *, void *, register_t *));
|
1273 |
|
|
int sys_rmdir __P((struct proc *, void *, register_t *));
|
1274 |
|
|
int sys_utimes __P((struct proc *, void *, register_t *));
|
1275 |
|
|
int sys_adjtime __P((struct proc *, void *, register_t *));
|
1276 |
|
|
int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
|
1277 |
|
|
int compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
|
1278 |
|
|
int compat_43_sys_sethostid __P((struct proc *, void *, register_t *));
|
1279 |
|
|
int compat_43_sys_getrlimit __P((struct proc *, void *, register_t *));
|
1280 |
|
|
int compat_43_sys_setrlimit __P((struct proc *, void *, register_t *));
|
1281 |
|
|
int compat_43_sys_killpg __P((struct proc *, void *, register_t *));
|
1282 |
|
|
int sys_setsid __P((struct proc *, void *, register_t *));
|
1283 |
|
|
int sys_quotactl __P((struct proc *, void *, register_t *));
|
1284 |
|
|
int compat_43_sys_quota __P((struct proc *, void *, register_t *));
|
1285 |
|
|
int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
|
1286 |
|
|
#if defined(NFSCLIENT) || defined(NFSSERVER)
|
1287 |
|
|
int sys_nfssvc __P((struct proc *, void *, register_t *));
|
1288 |
|
|
#else
|
1289 |
|
|
#endif
|
1290 |
|
|
int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *));
|
1291 |
|
|
int sys_ostatfs __P((struct proc *, void *, register_t *));
|
1292 |
|
|
int sys_ofstatfs __P((struct proc *, void *, register_t *));
|
1293 |
|
|
#if defined(NFSCLIENT) || defined(NFSSERVER)
|
1294 |
|
|
int sys_getfh __P((struct proc *, void *, register_t *));
|
1295 |
|
|
#else
|
1296 |
|
|
#endif
|
1297 |
|
|
int compat_09_sys_getdomainname __P((struct proc *, void *, register_t *));
|
1298 |
|
|
int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *));
|
1299 |
|
|
int compat_09_sys_uname __P((struct proc *, void *, register_t *));
|
1300 |
|
|
int sys_sysarch __P((struct proc *, void *, register_t *));
|
1301 |
|
|
#if defined(SYSVSEM) && !defined(alpha)
|
1302 |
|
|
int compat_10_sys_semsys __P((struct proc *, void *, register_t *));
|
1303 |
|
|
#else
|
1304 |
|
|
#endif
|
1305 |
|
|
#if defined(SYSVMSG) && !defined(alpha)
|
1306 |
|
|
int compat_10_sys_msgsys __P((struct proc *, void *, register_t *));
|
1307 |
|
|
#else
|
1308 |
|
|
#endif
|
1309 |
|
|
#if defined(SYSVSHM) && !defined(alpha)
|
1310 |
|
|
int compat_10_sys_shmsys __P((struct proc *, void *, register_t *));
|
1311 |
|
|
#else
|
1312 |
|
|
#endif
|
1313 |
|
|
#ifdef NTP
|
1314 |
|
|
int sys_ntp_gettime __P((struct proc *, void *, register_t *));
|
1315 |
|
|
int sys_ntp_adjtime __P((struct proc *, void *, register_t *));
|
1316 |
|
|
#else
|
1317 |
|
|
#endif
|
1318 |
|
|
int sys_setgid __P((struct proc *, void *, register_t *));
|
1319 |
|
|
int sys_setegid __P((struct proc *, void *, register_t *));
|
1320 |
|
|
int sys_seteuid __P((struct proc *, void *, register_t *));
|
1321 |
|
|
#ifdef LFS
|
1322 |
|
|
int lfs_bmapv __P((struct proc *, void *, register_t *));
|
1323 |
|
|
int lfs_markv __P((struct proc *, void *, register_t *));
|
1324 |
|
|
int lfs_segclean __P((struct proc *, void *, register_t *));
|
1325 |
|
|
int lfs_segwait __P((struct proc *, void *, register_t *));
|
1326 |
|
|
#else
|
1327 |
|
|
#endif
|
1328 |
|
|
int sys_stat __P((struct proc *, void *, register_t *));
|
1329 |
|
|
int sys_fstat __P((struct proc *, void *, register_t *));
|
1330 |
|
|
int sys_lstat __P((struct proc *, void *, register_t *));
|
1331 |
|
|
int sys_pathconf __P((struct proc *, void *, register_t *));
|
1332 |
|
|
int sys_fpathconf __P((struct proc *, void *, register_t *));
|
1333 |
|
|
int sys_swapctl __P((struct proc *, void *, register_t *));
|
1334 |
|
|
int sys_getrlimit __P((struct proc *, void *, register_t *));
|
1335 |
|
|
int sys_setrlimit __P((struct proc *, void *, register_t *));
|
1336 |
|
|
int sys_getdirentries __P((struct proc *, void *, register_t *));
|
1337 |
|
|
int sys_mmap __P((struct proc *, void *, register_t *));
|
1338 |
|
|
int sys_lseek __P((struct proc *, void *, register_t *));
|
1339 |
|
|
int sys_truncate __P((struct proc *, void *, register_t *));
|
1340 |
|
|
int sys_ftruncate __P((struct proc *, void *, register_t *));
|
1341 |
|
|
int sys___sysctl __P((struct proc *, void *, register_t *));
|
1342 |
|
|
int sys_mlock __P((struct proc *, void *, register_t *));
|
1343 |
|
|
int sys_munlock __P((struct proc *, void *, register_t *));
|
1344 |
|
|
int sys_undelete __P((struct proc *, void *, register_t *));
|
1345 |
|
|
int sys_futimes __P((struct proc *, void *, register_t *));
|
1346 |
|
|
int sys_getpgid __P((struct proc *, void *, register_t *));
|
1347 |
|
|
int sys_xfspioctl __P((struct proc *, void *, register_t *));
|
1348 |
|
|
#ifdef LKM
|
1349 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1350 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1351 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1352 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1353 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1354 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1355 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1356 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1357 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1358 |
|
|
int sys_lkmnosys __P((struct proc *, void *, register_t *));
|
1359 |
|
|
#else /* !LKM */
|
1360 |
|
|
#endif /* !LKM */
|
1361 |
|
|
#ifdef SYSVSEM
|
1362 |
|
|
int sys___osemctl __P((struct proc *, void *, register_t *));
|
1363 |
|
|
int sys_semget __P((struct proc *, void *, register_t *));
|
1364 |
|
|
int sys_semop __P((struct proc *, void *, register_t *));
|
1365 |
|
|
int sys_semconfig __P((struct proc *, void *, register_t *));
|
1366 |
|
|
#else
|
1367 |
|
|
#endif
|
1368 |
|
|
#ifdef SYSVMSG
|
1369 |
|
|
int sys_omsgctl __P((struct proc *, void *, register_t *));
|
1370 |
|
|
int sys_msgget __P((struct proc *, void *, register_t *));
|
1371 |
|
|
int sys_msgsnd __P((struct proc *, void *, register_t *));
|
1372 |
|
|
int sys_msgrcv __P((struct proc *, void *, register_t *));
|
1373 |
|
|
#else
|
1374 |
|
|
#endif
|
1375 |
|
|
#ifdef SYSVSHM
|
1376 |
|
|
int sys_shmat __P((struct proc *, void *, register_t *));
|
1377 |
|
|
int sys_oshmctl __P((struct proc *, void *, register_t *));
|
1378 |
|
|
int sys_shmdt __P((struct proc *, void *, register_t *));
|
1379 |
|
|
int sys_shmget __P((struct proc *, void *, register_t *));
|
1380 |
|
|
#else
|
1381 |
|
|
#endif
|
1382 |
|
|
int sys_clock_gettime __P((struct proc *, void *, register_t *));
|
1383 |
|
|
int sys_clock_settime __P((struct proc *, void *, register_t *));
|
1384 |
|
|
int sys_clock_getres __P((struct proc *, void *, register_t *));
|
1385 |
|
|
int sys_nanosleep __P((struct proc *, void *, register_t *));
|
1386 |
|
|
int sys_minherit __P((struct proc *, void *, register_t *));
|
1387 |
|
|
int sys_rfork __P((struct proc *, void *, register_t *));
|
1388 |
|
|
int sys_poll __P((struct proc *, void *, register_t *));
|
1389 |
|
|
int sys_issetugid __P((struct proc *, void *, register_t *));
|
1390 |
|
|
int sys_lchown __P((struct proc *, void *, register_t *));
|
1391 |
|
|
int sys_getsid __P((struct proc *, void *, register_t *));
|
1392 |
|
|
int sys_msync __P((struct proc *, void *, register_t *));
|
1393 |
|
|
#ifdef SYSVSEM
|
1394 |
|
|
int sys___semctl __P((struct proc *, void *, register_t *));
|
1395 |
|
|
#else
|
1396 |
|
|
#endif
|
1397 |
|
|
#ifdef SYSVSHM
|
1398 |
|
|
int sys_shmctl __P((struct proc *, void *, register_t *));
|
1399 |
|
|
#else
|
1400 |
|
|
#endif
|
1401 |
|
|
#ifdef SYSVMSG
|
1402 |
|
|
int sys_msgctl __P((struct proc *, void *, register_t *));
|
1403 |
|
|
#else
|
1404 |
|
|
#endif
|
1405 |
|
|
int sys_getfsstat __P((struct proc *, void *, register_t *));
|
1406 |
|
|
int sys_statfs __P((struct proc *, void *, register_t *));
|
1407 |
|
|
int sys_fstatfs __P((struct proc *, void *, register_t *));
|
1408 |
|
|
int sys_pipe __P((struct proc *, void *, register_t *));
|
1409 |
|
|
#endif
|
1410 |
|
|
|
1411 |
|
|
#endif // _SYS_SYSCALLARGS_H_
|