sunos_syscallargs.h revision 1.66 1 1.62 dsl /* $NetBSD: sunos_syscallargs.h,v 1.66 2009/01/11 12:45:46 tsutsui Exp $ */
2 1.32 thorpej
3 1.1 deraadt /*
4 1.1 deraadt * System call argument lists.
5 1.1 deraadt *
6 1.1 deraadt * DO NOT EDIT-- this file is automatically generated.
7 1.66 tsutsui * created from NetBSD: syscalls.master,v 1.72 2009/01/11 12:44:47 tsutsui Exp
8 1.1 deraadt */
9 1.38 tron
10 1.58 pavel #ifndef _SUNOS_SYS_SYSCALLARGS_H_
11 1.58 pavel #define _SUNOS_SYS_SYSCALLARGS_H_
12 1.41 christos
13 1.62 dsl #define SUNOS_SYS_MAXSYSARGS 8
14 1.62 dsl
15 1.38 tron #undef syscallarg
16 1.44 mrg #define syscallarg(x) \
17 1.44 mrg union { \
18 1.44 mrg register_t pad; \
19 1.44 mrg struct { x datum; } le; \
20 1.51 lukem struct { /* LINTED zero array dimension */ \
21 1.51 lukem int8_t pad[ /* CONSTCOND */ \
22 1.51 lukem (sizeof (register_t) < sizeof (x)) \
23 1.44 mrg ? 0 \
24 1.44 mrg : sizeof (register_t) - sizeof (x)]; \
25 1.44 mrg x datum; \
26 1.44 mrg } be; \
27 1.44 mrg }
28 1.1 deraadt
29 1.62 dsl #undef check_syscall_args
30 1.62 dsl #define check_syscall_args(call) \
31 1.62 dsl typedef char call##_check_args[sizeof (struct call##_args) \
32 1.62 dsl <= SUNOS_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
33 1.62 dsl
34 1.62 dsl struct sys_exit_args;
35 1.62 dsl
36 1.62 dsl struct sys_read_args;
37 1.62 dsl
38 1.62 dsl struct sys_write_args;
39 1.62 dsl
40 1.16 mycroft struct sunos_sys_open_args {
41 1.41 christos syscallarg(const char *) path;
42 1.1 deraadt syscallarg(int) flags;
43 1.1 deraadt syscallarg(int) mode;
44 1.1 deraadt };
45 1.62 dsl check_syscall_args(sunos_sys_open)
46 1.62 dsl
47 1.62 dsl struct sys_close_args;
48 1.1 deraadt
49 1.16 mycroft struct sunos_sys_wait4_args {
50 1.1 deraadt syscallarg(int) pid;
51 1.1 deraadt syscallarg(int *) status;
52 1.1 deraadt syscallarg(int) options;
53 1.66 tsutsui syscallarg(struct rusage50 *) rusage;
54 1.1 deraadt };
55 1.62 dsl check_syscall_args(sunos_sys_wait4)
56 1.1 deraadt
57 1.16 mycroft struct sunos_sys_creat_args {
58 1.41 christos syscallarg(const char *) path;
59 1.1 deraadt syscallarg(int) mode;
60 1.1 deraadt };
61 1.62 dsl check_syscall_args(sunos_sys_creat)
62 1.62 dsl
63 1.62 dsl struct sys_link_args;
64 1.62 dsl
65 1.62 dsl struct sys_unlink_args;
66 1.1 deraadt
67 1.16 mycroft struct sunos_sys_execv_args {
68 1.41 christos syscallarg(const char *) path;
69 1.4 deraadt syscallarg(char **) argp;
70 1.1 deraadt };
71 1.62 dsl check_syscall_args(sunos_sys_execv)
72 1.62 dsl
73 1.62 dsl struct sys_chdir_args;
74 1.1 deraadt
75 1.16 mycroft struct sunos_sys_mknod_args {
76 1.41 christos syscallarg(const char *) path;
77 1.1 deraadt syscallarg(int) mode;
78 1.1 deraadt syscallarg(int) dev;
79 1.1 deraadt };
80 1.62 dsl check_syscall_args(sunos_sys_mknod)
81 1.62 dsl
82 1.62 dsl struct sys_chmod_args;
83 1.62 dsl
84 1.62 dsl struct sys_chown_args;
85 1.62 dsl
86 1.62 dsl struct sys_obreak_args;
87 1.62 dsl
88 1.62 dsl struct compat_43_sys_lseek_args;
89 1.62 dsl
90 1.62 dsl struct sys_setuid_args;
91 1.1 deraadt
92 1.21 christos struct sunos_sys_stime_args {
93 1.66 tsutsui syscallarg(sunos_time_t *) tp;
94 1.21 christos };
95 1.62 dsl check_syscall_args(sunos_sys_stime)
96 1.21 christos
97 1.16 mycroft struct sunos_sys_ptrace_args {
98 1.5 deraadt syscallarg(int) req;
99 1.16 mycroft syscallarg(pid_t) pid;
100 1.61 christos syscallarg(void *) addr;
101 1.5 deraadt syscallarg(int) data;
102 1.5 deraadt syscallarg(char *) addr2;
103 1.5 deraadt };
104 1.62 dsl check_syscall_args(sunos_sys_ptrace)
105 1.62 dsl
106 1.62 dsl struct sys_access_args;
107 1.62 dsl
108 1.62 dsl struct sys_kill_args;
109 1.62 dsl
110 1.62 dsl struct compat_43_sys_stat_args;
111 1.5 deraadt
112 1.62 dsl struct compat_43_sys_lstat_args;
113 1.62 dsl
114 1.62 dsl struct sys_dup_args;
115 1.62 dsl
116 1.62 dsl struct sys_profil_args;
117 1.10 pk
118 1.62 dsl struct sys_setgid_args;
119 1.10 pk
120 1.62 dsl struct sys_acct_args;
121 1.10 pk
122 1.16 mycroft struct sunos_sys_mctl_args {
123 1.29 christos syscallarg(void *) addr;
124 1.1 deraadt syscallarg(int) len;
125 1.1 deraadt syscallarg(int) func;
126 1.1 deraadt syscallarg(void *) arg;
127 1.1 deraadt };
128 1.62 dsl check_syscall_args(sunos_sys_mctl)
129 1.1 deraadt
130 1.16 mycroft struct sunos_sys_ioctl_args {
131 1.1 deraadt syscallarg(int) fd;
132 1.1 deraadt syscallarg(u_long) com;
133 1.61 christos syscallarg(void *) data;
134 1.9 christos };
135 1.62 dsl check_syscall_args(sunos_sys_ioctl)
136 1.9 christos
137 1.16 mycroft struct sunos_sys_reboot_args {
138 1.9 christos syscallarg(int) howto;
139 1.9 christos syscallarg(char *) bootstr;
140 1.1 deraadt };
141 1.62 dsl check_syscall_args(sunos_sys_reboot)
142 1.62 dsl
143 1.62 dsl struct sys_symlink_args;
144 1.62 dsl
145 1.62 dsl struct sys_readlink_args;
146 1.1 deraadt
147 1.20 thorpej struct sunos_sys_execve_args {
148 1.41 christos syscallarg(const char *) path;
149 1.20 thorpej syscallarg(char **) argp;
150 1.20 thorpej syscallarg(char **) envp;
151 1.20 thorpej };
152 1.62 dsl check_syscall_args(sunos_sys_execve)
153 1.62 dsl
154 1.62 dsl struct sys_umask_args;
155 1.62 dsl
156 1.62 dsl struct sys_chroot_args;
157 1.62 dsl
158 1.62 dsl struct compat_43_sys_fstat_args;
159 1.20 thorpej
160 1.16 mycroft struct sunos_sys_omsync_args {
161 1.61 christos syscallarg(void *) addr;
162 1.16 mycroft syscallarg(size_t) len;
163 1.1 deraadt syscallarg(int) flags;
164 1.1 deraadt };
165 1.62 dsl check_syscall_args(sunos_sys_omsync)
166 1.62 dsl
167 1.62 dsl struct sys_sbrk_args;
168 1.62 dsl
169 1.62 dsl struct sys_sstk_args;
170 1.1 deraadt
171 1.16 mycroft struct sunos_sys_mmap_args {
172 1.29 christos syscallarg(void *) addr;
173 1.16 mycroft syscallarg(size_t) len;
174 1.1 deraadt syscallarg(int) prot;
175 1.16 mycroft syscallarg(int) flags;
176 1.1 deraadt syscallarg(int) fd;
177 1.1 deraadt syscallarg(long) pos;
178 1.1 deraadt };
179 1.62 dsl check_syscall_args(sunos_sys_mmap)
180 1.62 dsl
181 1.62 dsl struct sys_ovadvise_args;
182 1.62 dsl
183 1.62 dsl struct sys_munmap_args;
184 1.62 dsl
185 1.62 dsl struct sys_mprotect_args;
186 1.62 dsl
187 1.62 dsl struct sys_madvise_args;
188 1.62 dsl
189 1.62 dsl struct sys_mincore_args;
190 1.62 dsl
191 1.62 dsl struct sys_getgroups_args;
192 1.62 dsl
193 1.62 dsl struct sys_setgroups_args;
194 1.1 deraadt
195 1.16 mycroft struct sunos_sys_setpgrp_args {
196 1.1 deraadt syscallarg(int) pid;
197 1.1 deraadt syscallarg(int) pgid;
198 1.1 deraadt };
199 1.62 dsl check_syscall_args(sunos_sys_setpgrp)
200 1.62 dsl
201 1.66 tsutsui struct compat_50_sys_setitimer_args;
202 1.62 dsl
203 1.62 dsl struct compat_12_sys_swapon_args;
204 1.62 dsl
205 1.66 tsutsui struct compat_50_sys_getitimer_args;
206 1.62 dsl
207 1.62 dsl struct compat_43_sys_gethostname_args;
208 1.62 dsl
209 1.62 dsl struct compat_43_sys_sethostname_args;
210 1.62 dsl
211 1.62 dsl struct sys_dup2_args;
212 1.1 deraadt
213 1.17 pk struct sunos_sys_fcntl_args {
214 1.17 pk syscallarg(int) fd;
215 1.17 pk syscallarg(int) cmd;
216 1.17 pk syscallarg(void *) arg;
217 1.17 pk };
218 1.62 dsl check_syscall_args(sunos_sys_fcntl)
219 1.62 dsl
220 1.66 tsutsui struct compat_50_sys_select_args;
221 1.62 dsl
222 1.62 dsl struct sys_fsync_args;
223 1.62 dsl
224 1.62 dsl struct sys_setpriority_args;
225 1.17 pk
226 1.52 mrg struct sunos_sys_socket_args {
227 1.52 mrg syscallarg(int) domain;
228 1.52 mrg syscallarg(int) type;
229 1.52 mrg syscallarg(int) protocol;
230 1.52 mrg };
231 1.62 dsl check_syscall_args(sunos_sys_socket)
232 1.62 dsl
233 1.62 dsl struct sys_connect_args;
234 1.62 dsl
235 1.62 dsl struct compat_43_sys_accept_args;
236 1.62 dsl
237 1.62 dsl struct sys_getpriority_args;
238 1.62 dsl
239 1.62 dsl struct compat_43_sys_send_args;
240 1.62 dsl
241 1.62 dsl struct compat_43_sys_recv_args;
242 1.62 dsl
243 1.62 dsl struct sys_bind_args;
244 1.52 mrg
245 1.16 mycroft struct sunos_sys_setsockopt_args {
246 1.1 deraadt syscallarg(int) s;
247 1.1 deraadt syscallarg(int) level;
248 1.1 deraadt syscallarg(int) name;
249 1.61 christos syscallarg(void *) val;
250 1.1 deraadt syscallarg(int) valsize;
251 1.14 pk };
252 1.62 dsl check_syscall_args(sunos_sys_setsockopt)
253 1.62 dsl
254 1.62 dsl struct sys_listen_args;
255 1.14 pk
256 1.16 mycroft struct sunos_sys_sigvec_args {
257 1.14 pk syscallarg(int) signum;
258 1.14 pk syscallarg(struct sigvec *) nsv;
259 1.14 pk syscallarg(struct sigvec *) osv;
260 1.1 deraadt };
261 1.62 dsl check_syscall_args(sunos_sys_sigvec)
262 1.62 dsl
263 1.62 dsl struct compat_43_sys_sigblock_args;
264 1.62 dsl
265 1.62 dsl struct compat_43_sys_sigsetmask_args;
266 1.1 deraadt
267 1.36 pk struct sunos_sys_sigsuspend_args {
268 1.36 pk syscallarg(int) mask;
269 1.36 pk };
270 1.62 dsl check_syscall_args(sunos_sys_sigsuspend)
271 1.62 dsl
272 1.62 dsl struct compat_43_sys_sigstack_args;
273 1.62 dsl
274 1.62 dsl struct compat_43_sys_recvmsg_args;
275 1.62 dsl
276 1.62 dsl struct compat_43_sys_sendmsg_args;
277 1.62 dsl
278 1.66 tsutsui struct compat_50_sys_gettimeofday_args;
279 1.62 dsl
280 1.66 tsutsui struct compat_50_sys_getrusage_args;
281 1.62 dsl
282 1.62 dsl struct sys_getsockopt_args;
283 1.62 dsl
284 1.62 dsl struct sys_readv_args;
285 1.62 dsl
286 1.62 dsl struct sys_writev_args;
287 1.62 dsl
288 1.66 tsutsui struct compat_50_sys_settimeofday_args;
289 1.62 dsl
290 1.62 dsl struct sys_fchown_args;
291 1.62 dsl
292 1.62 dsl struct sys_fchmod_args;
293 1.62 dsl
294 1.62 dsl struct compat_43_sys_recvfrom_args;
295 1.62 dsl
296 1.62 dsl struct sys_setreuid_args;
297 1.62 dsl
298 1.62 dsl struct sys_setregid_args;
299 1.62 dsl
300 1.62 dsl struct sys_rename_args;
301 1.62 dsl
302 1.62 dsl struct compat_43_sys_truncate_args;
303 1.62 dsl
304 1.62 dsl struct compat_43_sys_ftruncate_args;
305 1.62 dsl
306 1.62 dsl struct sys_flock_args;
307 1.62 dsl
308 1.62 dsl struct sys_sendto_args;
309 1.62 dsl
310 1.62 dsl struct sys_shutdown_args;
311 1.36 pk
312 1.52 mrg struct sunos_sys_socketpair_args {
313 1.52 mrg syscallarg(int) domain;
314 1.52 mrg syscallarg(int) type;
315 1.52 mrg syscallarg(int) protocol;
316 1.52 mrg syscallarg(int *) rsv;
317 1.52 mrg };
318 1.62 dsl check_syscall_args(sunos_sys_socketpair)
319 1.62 dsl
320 1.62 dsl struct sys_mkdir_args;
321 1.62 dsl
322 1.62 dsl struct sys_rmdir_args;
323 1.62 dsl
324 1.66 tsutsui struct compat_50_sys_utimes_args;
325 1.52 mrg
326 1.16 mycroft struct sunos_sys_sigreturn_args {
327 1.8 christos syscallarg(struct sigcontext *) sigcntxp;
328 1.8 christos };
329 1.62 dsl check_syscall_args(sunos_sys_sigreturn)
330 1.62 dsl
331 1.66 tsutsui struct compat_50_sys_adjtime_args;
332 1.62 dsl
333 1.62 dsl struct compat_43_sys_getpeername_args;
334 1.8 christos
335 1.16 mycroft struct sunos_sys_getrlimit_args {
336 1.1 deraadt syscallarg(u_int) which;
337 1.1 deraadt syscallarg(struct orlimit *) rlp;
338 1.1 deraadt };
339 1.62 dsl check_syscall_args(sunos_sys_getrlimit)
340 1.1 deraadt
341 1.16 mycroft struct sunos_sys_setrlimit_args {
342 1.1 deraadt syscallarg(u_int) which;
343 1.1 deraadt syscallarg(struct orlimit *) rlp;
344 1.5 deraadt };
345 1.62 dsl check_syscall_args(sunos_sys_setrlimit)
346 1.62 dsl
347 1.62 dsl struct compat_43_sys_killpg_args;
348 1.62 dsl
349 1.62 dsl struct compat_43_sys_getsockname_args;
350 1.62 dsl
351 1.62 dsl struct sys_poll_args;
352 1.5 deraadt
353 1.16 mycroft struct sunos_sys_nfssvc_args {
354 1.1 deraadt syscallarg(int) fd;
355 1.1 deraadt };
356 1.62 dsl check_syscall_args(sunos_sys_nfssvc)
357 1.1 deraadt
358 1.62 dsl struct compat_12_sys_getdirentries_args;
359 1.62 dsl
360 1.16 mycroft struct sunos_sys_statfs_args {
361 1.41 christos syscallarg(const char *) path;
362 1.1 deraadt syscallarg(struct sunos_statfs *) buf;
363 1.1 deraadt };
364 1.62 dsl check_syscall_args(sunos_sys_statfs)
365 1.1 deraadt
366 1.16 mycroft struct sunos_sys_fstatfs_args {
367 1.1 deraadt syscallarg(int) fd;
368 1.1 deraadt syscallarg(struct sunos_statfs *) buf;
369 1.1 deraadt };
370 1.62 dsl check_syscall_args(sunos_sys_fstatfs)
371 1.1 deraadt
372 1.16 mycroft struct sunos_sys_unmount_args {
373 1.1 deraadt syscallarg(char *) path;
374 1.1 deraadt };
375 1.62 dsl check_syscall_args(sunos_sys_unmount)
376 1.62 dsl
377 1.62 dsl struct compat_30_sys_getfh_args;
378 1.1 deraadt
379 1.62 dsl struct compat_09_sys_getdomainname_args;
380 1.62 dsl
381 1.62 dsl struct compat_09_sys_setdomainname_args;
382 1.62 dsl
383 1.16 mycroft struct sunos_sys_quotactl_args {
384 1.1 deraadt syscallarg(int) cmd;
385 1.1 deraadt syscallarg(char *) special;
386 1.1 deraadt syscallarg(int) uid;
387 1.61 christos syscallarg(void *) addr;
388 1.1 deraadt };
389 1.62 dsl check_syscall_args(sunos_sys_quotactl)
390 1.1 deraadt
391 1.16 mycroft struct sunos_sys_exportfs_args {
392 1.1 deraadt syscallarg(char *) path;
393 1.1 deraadt syscallarg(char *) ex;
394 1.1 deraadt };
395 1.62 dsl check_syscall_args(sunos_sys_exportfs)
396 1.1 deraadt
397 1.16 mycroft struct sunos_sys_mount_args {
398 1.1 deraadt syscallarg(char *) type;
399 1.1 deraadt syscallarg(char *) dir;
400 1.1 deraadt syscallarg(int) flags;
401 1.61 christos syscallarg(void *) data;
402 1.1 deraadt };
403 1.62 dsl check_syscall_args(sunos_sys_mount)
404 1.1 deraadt
405 1.16 mycroft struct sunos_sys_ustat_args {
406 1.1 deraadt syscallarg(int) dev;
407 1.1 deraadt syscallarg(struct sunos_ustat *) buf;
408 1.1 deraadt };
409 1.62 dsl check_syscall_args(sunos_sys_ustat)
410 1.55 perry #ifdef SYSVSEM
411 1.62 dsl
412 1.62 dsl struct compat_10_sys_semsys_args;
413 1.55 perry #else
414 1.55 perry #endif
415 1.55 perry #ifdef SYSVMSG
416 1.62 dsl
417 1.62 dsl struct compat_10_sys_msgsys_args;
418 1.55 perry #else
419 1.55 perry #endif
420 1.55 perry #ifdef SYSVSHM
421 1.62 dsl
422 1.62 dsl struct compat_10_sys_shmsys_args;
423 1.55 perry #else
424 1.55 perry #endif
425 1.1 deraadt
426 1.16 mycroft struct sunos_sys_auditsys_args {
427 1.1 deraadt syscallarg(char *) record;
428 1.1 deraadt };
429 1.62 dsl check_syscall_args(sunos_sys_auditsys)
430 1.1 deraadt
431 1.16 mycroft struct sunos_sys_getdents_args {
432 1.1 deraadt syscallarg(int) fd;
433 1.1 deraadt syscallarg(char *) buf;
434 1.1 deraadt syscallarg(int) nbytes;
435 1.1 deraadt };
436 1.62 dsl check_syscall_args(sunos_sys_getdents)
437 1.62 dsl
438 1.62 dsl struct sys_fchdir_args;
439 1.62 dsl
440 1.62 dsl struct sys_fchroot_args;
441 1.1 deraadt
442 1.16 mycroft struct sunos_sys_sigpending_args {
443 1.1 deraadt syscallarg(int *) mask;
444 1.1 deraadt };
445 1.62 dsl check_syscall_args(sunos_sys_sigpending)
446 1.62 dsl
447 1.62 dsl struct sys_setpgid_args;
448 1.62 dsl
449 1.62 dsl struct sys_pathconf_args;
450 1.62 dsl
451 1.62 dsl struct sys_fpathconf_args;
452 1.1 deraadt
453 1.16 mycroft struct sunos_sys_sysconf_args {
454 1.1 deraadt syscallarg(int) name;
455 1.1 deraadt };
456 1.62 dsl check_syscall_args(sunos_sys_sysconf)
457 1.1 deraadt
458 1.16 mycroft struct sunos_sys_uname_args {
459 1.1 deraadt syscallarg(struct sunos_utsname *) name;
460 1.1 deraadt };
461 1.62 dsl check_syscall_args(sunos_sys_uname)
462 1.1 deraadt
463 1.15 thorpej /*
464 1.15 thorpej * System call prototypes.
465 1.15 thorpej */
466 1.15 thorpej
467 1.62 dsl int sys_nosys(struct lwp *, const void *, register_t *);
468 1.55 perry
469 1.62 dsl int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
470 1.55 perry
471 1.62 dsl int sys_fork(struct lwp *, const void *, register_t *);
472 1.55 perry
473 1.62 dsl int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
474 1.55 perry
475 1.62 dsl int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
476 1.55 perry
477 1.62 dsl int sunos_sys_open(struct lwp *, const struct sunos_sys_open_args *, register_t *);
478 1.55 perry
479 1.62 dsl int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
480 1.55 perry
481 1.62 dsl int sunos_sys_wait4(struct lwp *, const struct sunos_sys_wait4_args *, register_t *);
482 1.55 perry
483 1.62 dsl int sunos_sys_creat(struct lwp *, const struct sunos_sys_creat_args *, register_t *);
484 1.55 perry
485 1.62 dsl int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
486 1.55 perry
487 1.62 dsl int sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
488 1.55 perry
489 1.62 dsl int sunos_sys_execv(struct lwp *, const struct sunos_sys_execv_args *, register_t *);
490 1.55 perry
491 1.62 dsl int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
492 1.55 perry
493 1.62 dsl int sunos_sys_mknod(struct lwp *, const struct sunos_sys_mknod_args *, register_t *);
494 1.55 perry
495 1.62 dsl int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
496 1.55 perry
497 1.62 dsl int sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
498 1.55 perry
499 1.62 dsl int sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
500 1.55 perry
501 1.62 dsl int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
502 1.55 perry
503 1.62 dsl int sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
504 1.55 perry
505 1.62 dsl int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
506 1.55 perry
507 1.62 dsl int sys_getuid_with_euid(struct lwp *, const void *, register_t *);
508 1.55 perry
509 1.62 dsl int sunos_sys_stime(struct lwp *, const struct sunos_sys_stime_args *, register_t *);
510 1.55 perry
511 1.62 dsl int sunos_sys_ptrace(struct lwp *, const struct sunos_sys_ptrace_args *, register_t *);
512 1.55 perry
513 1.62 dsl int sys_access(struct lwp *, const struct sys_access_args *, register_t *);
514 1.55 perry
515 1.62 dsl int sys_sync(struct lwp *, const void *, register_t *);
516 1.55 perry
517 1.62 dsl int sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
518 1.55 perry
519 1.62 dsl int compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
520 1.55 perry
521 1.62 dsl int compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
522 1.55 perry
523 1.62 dsl int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
524 1.55 perry
525 1.62 dsl int sys_pipe(struct lwp *, const void *, register_t *);
526 1.55 perry
527 1.62 dsl int sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
528 1.55 perry
529 1.62 dsl int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
530 1.55 perry
531 1.62 dsl int sys_getgid_with_egid(struct lwp *, const void *, register_t *);
532 1.55 perry
533 1.62 dsl int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
534 1.55 perry
535 1.62 dsl int sunos_sys_mctl(struct lwp *, const struct sunos_sys_mctl_args *, register_t *);
536 1.55 perry
537 1.62 dsl int sunos_sys_ioctl(struct lwp *, const struct sunos_sys_ioctl_args *, register_t *);
538 1.55 perry
539 1.62 dsl int sunos_sys_reboot(struct lwp *, const struct sunos_sys_reboot_args *, register_t *);
540 1.55 perry
541 1.62 dsl int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
542 1.55 perry
543 1.62 dsl int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
544 1.55 perry
545 1.62 dsl int sunos_sys_execve(struct lwp *, const struct sunos_sys_execve_args *, register_t *);
546 1.55 perry
547 1.62 dsl int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
548 1.55 perry
549 1.62 dsl int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
550 1.55 perry
551 1.62 dsl int compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
552 1.55 perry
553 1.62 dsl int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
554 1.55 perry
555 1.62 dsl int sunos_sys_omsync(struct lwp *, const struct sunos_sys_omsync_args *, register_t *);
556 1.55 perry
557 1.62 dsl int sys_vfork(struct lwp *, const void *, register_t *);
558 1.55 perry
559 1.62 dsl int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
560 1.55 perry
561 1.62 dsl int sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
562 1.55 perry
563 1.62 dsl int sunos_sys_mmap(struct lwp *, const struct sunos_sys_mmap_args *, register_t *);
564 1.55 perry
565 1.62 dsl int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
566 1.55 perry
567 1.62 dsl int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
568 1.55 perry
569 1.62 dsl int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
570 1.55 perry
571 1.62 dsl int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
572 1.55 perry
573 1.62 dsl int sunos_sys_vhangup(struct lwp *, const void *, register_t *);
574 1.55 perry
575 1.62 dsl int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
576 1.55 perry
577 1.62 dsl int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
578 1.55 perry
579 1.62 dsl int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
580 1.55 perry
581 1.62 dsl int sys_getpgrp(struct lwp *, const void *, register_t *);
582 1.55 perry
583 1.62 dsl int sunos_sys_setpgrp(struct lwp *, const struct sunos_sys_setpgrp_args *, register_t *);
584 1.55 perry
585 1.66 tsutsui int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
586 1.55 perry
587 1.62 dsl int compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
588 1.55 perry
589 1.66 tsutsui int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
590 1.55 perry
591 1.62 dsl int compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
592 1.55 perry
593 1.62 dsl int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
594 1.55 perry
595 1.62 dsl int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
596 1.55 perry
597 1.62 dsl int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
598 1.55 perry
599 1.62 dsl int sunos_sys_fcntl(struct lwp *, const struct sunos_sys_fcntl_args *, register_t *);
600 1.55 perry
601 1.66 tsutsui int compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
602 1.55 perry
603 1.62 dsl int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
604 1.55 perry
605 1.62 dsl int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
606 1.55 perry
607 1.62 dsl int sunos_sys_socket(struct lwp *, const struct sunos_sys_socket_args *, register_t *);
608 1.55 perry
609 1.62 dsl int sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
610 1.55 perry
611 1.62 dsl int compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
612 1.55 perry
613 1.62 dsl int sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
614 1.55 perry
615 1.62 dsl int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
616 1.55 perry
617 1.62 dsl int compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
618 1.55 perry
619 1.62 dsl int sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
620 1.55 perry
621 1.62 dsl int sunos_sys_setsockopt(struct lwp *, const struct sunos_sys_setsockopt_args *, register_t *);
622 1.55 perry
623 1.62 dsl int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
624 1.55 perry
625 1.62 dsl int sunos_sys_sigvec(struct lwp *, const struct sunos_sys_sigvec_args *, register_t *);
626 1.55 perry
627 1.62 dsl int compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
628 1.55 perry
629 1.62 dsl int compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
630 1.55 perry
631 1.62 dsl int sunos_sys_sigsuspend(struct lwp *, const struct sunos_sys_sigsuspend_args *, register_t *);
632 1.55 perry
633 1.62 dsl int compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
634 1.55 perry
635 1.62 dsl int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
636 1.55 perry
637 1.62 dsl int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
638 1.55 perry
639 1.66 tsutsui int compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
640 1.55 perry
641 1.66 tsutsui int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
642 1.55 perry
643 1.62 dsl int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
644 1.55 perry
645 1.62 dsl int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
646 1.55 perry
647 1.62 dsl int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
648 1.55 perry
649 1.66 tsutsui int compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
650 1.55 perry
651 1.62 dsl int sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
652 1.55 perry
653 1.62 dsl int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
654 1.55 perry
655 1.62 dsl int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
656 1.55 perry
657 1.62 dsl int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
658 1.55 perry
659 1.62 dsl int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
660 1.55 perry
661 1.62 dsl int sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
662 1.55 perry
663 1.62 dsl int compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
664 1.55 perry
665 1.62 dsl int compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
666 1.55 perry
667 1.62 dsl int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
668 1.55 perry
669 1.62 dsl int sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
670 1.55 perry
671 1.62 dsl int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
672 1.55 perry
673 1.62 dsl int sunos_sys_socketpair(struct lwp *, const struct sunos_sys_socketpair_args *, register_t *);
674 1.55 perry
675 1.62 dsl int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
676 1.55 perry
677 1.62 dsl int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
678 1.55 perry
679 1.66 tsutsui int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
680 1.55 perry
681 1.62 dsl int sunos_sys_sigreturn(struct lwp *, const struct sunos_sys_sigreturn_args *, register_t *);
682 1.55 perry
683 1.66 tsutsui int compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
684 1.55 perry
685 1.62 dsl int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
686 1.55 perry
687 1.62 dsl int compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
688 1.55 perry
689 1.62 dsl int sunos_sys_getrlimit(struct lwp *, const struct sunos_sys_getrlimit_args *, register_t *);
690 1.55 perry
691 1.62 dsl int sunos_sys_setrlimit(struct lwp *, const struct sunos_sys_setrlimit_args *, register_t *);
692 1.55 perry
693 1.62 dsl int compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
694 1.55 perry
695 1.62 dsl int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
696 1.55 perry
697 1.62 dsl int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
698 1.55 perry
699 1.62 dsl int sunos_sys_nfssvc(struct lwp *, const struct sunos_sys_nfssvc_args *, register_t *);
700 1.55 perry
701 1.62 dsl int compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
702 1.55 perry
703 1.62 dsl int sunos_sys_statfs(struct lwp *, const struct sunos_sys_statfs_args *, register_t *);
704 1.55 perry
705 1.62 dsl int sunos_sys_fstatfs(struct lwp *, const struct sunos_sys_fstatfs_args *, register_t *);
706 1.55 perry
707 1.62 dsl int sunos_sys_unmount(struct lwp *, const struct sunos_sys_unmount_args *, register_t *);
708 1.55 perry
709 1.62 dsl int async_daemon(struct lwp *, const void *, register_t *);
710 1.55 perry
711 1.62 dsl int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
712 1.55 perry
713 1.62 dsl int compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
714 1.55 perry
715 1.62 dsl int compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
716 1.55 perry
717 1.62 dsl int sunos_sys_quotactl(struct lwp *, const struct sunos_sys_quotactl_args *, register_t *);
718 1.55 perry
719 1.62 dsl int sunos_sys_exportfs(struct lwp *, const struct sunos_sys_exportfs_args *, register_t *);
720 1.55 perry
721 1.62 dsl int sunos_sys_mount(struct lwp *, const struct sunos_sys_mount_args *, register_t *);
722 1.55 perry
723 1.62 dsl int sunos_sys_ustat(struct lwp *, const struct sunos_sys_ustat_args *, register_t *);
724 1.55 perry
725 1.15 thorpej #ifdef SYSVSEM
726 1.62 dsl int compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
727 1.55 perry
728 1.15 thorpej #else
729 1.15 thorpej #endif
730 1.15 thorpej #ifdef SYSVMSG
731 1.62 dsl int compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
732 1.55 perry
733 1.15 thorpej #else
734 1.15 thorpej #endif
735 1.15 thorpej #ifdef SYSVSHM
736 1.62 dsl int compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
737 1.55 perry
738 1.15 thorpej #else
739 1.15 thorpej #endif
740 1.62 dsl int sunos_sys_auditsys(struct lwp *, const struct sunos_sys_auditsys_args *, register_t *);
741 1.55 perry
742 1.62 dsl int sunos_sys_getdents(struct lwp *, const struct sunos_sys_getdents_args *, register_t *);
743 1.55 perry
744 1.62 dsl int sys_setsid(struct lwp *, const void *, register_t *);
745 1.55 perry
746 1.62 dsl int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
747 1.55 perry
748 1.62 dsl int sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
749 1.55 perry
750 1.62 dsl int sunos_sys_sigpending(struct lwp *, const struct sunos_sys_sigpending_args *, register_t *);
751 1.55 perry
752 1.62 dsl int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
753 1.55 perry
754 1.62 dsl int sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
755 1.55 perry
756 1.62 dsl int sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
757 1.55 perry
758 1.62 dsl int sunos_sys_sysconf(struct lwp *, const struct sunos_sys_sysconf_args *, register_t *);
759 1.55 perry
760 1.62 dsl int sunos_sys_uname(struct lwp *, const struct sunos_sys_uname_args *, register_t *);
761 1.55 perry
762 1.58 pavel #endif /* _SUNOS_SYS_SYSCALLARGS_H_ */
763