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