1/* $NetBSD: sunos32_syscallargs.h,v 1.37 2018/08/10 21:47:16 pgoyette 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.26 2018/01/06 16:41:23 kamil Exp
8 */
9
10#ifndef _SUNOS32_SYS_SYSCALLARGS_H_
11#define	_SUNOS32_SYS_SYSCALLARGS_H_
12
13/* Forward declaration */
14struct lwp;
15
16#define	SUNOS32_SYS_MAXSYSARGS	8
17
18#undef	syscallarg
19#define	syscallarg(x)							\
20	union {								\
21		register32_t pad;						\
22		struct { x datum; } le;					\
23		struct { /* LINTED zero array dimension */		\
24			int8_t pad[  /* CONSTCOND */			\
25				(sizeof (register32_t) < sizeof (x))	\
26				? 0					\
27				: sizeof (register32_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		<= SUNOS32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
36
37struct netbsd32_exit_args;
38
39struct netbsd32_read_args;
40
41struct netbsd32_write_args;
42
43struct sunos32_sys_open_args {
44	syscallarg(const netbsd32_charp) path;
45	syscallarg(int) flags;
46	syscallarg(int) mode;
47};
48check_syscall_args(sunos32_sys_open)
49
50struct netbsd32_close_args;
51
52struct sunos32_sys_wait4_args {
53	syscallarg(int) pid;
54	syscallarg(netbsd32_intp) status;
55	syscallarg(int) options;
56	syscallarg(netbsd32_rusagep_t) rusage;
57};
58check_syscall_args(sunos32_sys_wait4)
59
60struct sunos32_sys_creat_args {
61	syscallarg(const netbsd32_charp) path;
62	syscallarg(int) mode;
63};
64check_syscall_args(sunos32_sys_creat)
65
66struct netbsd32_link_args;
67
68struct netbsd32_unlink_args;
69
70struct sunos32_sys_execv_args {
71	syscallarg(const netbsd32_charp) path;
72	syscallarg(netbsd32_charpp) argp;
73};
74check_syscall_args(sunos32_sys_execv)
75
76struct netbsd32_chdir_args;
77
78struct sunos32_sys_mknod_args {
79	syscallarg(const netbsd32_charp) path;
80	syscallarg(int) mode;
81	syscallarg(int) dev;
82};
83check_syscall_args(sunos32_sys_mknod)
84
85struct netbsd32_chmod_args;
86
87struct netbsd32_chown_args;
88
89struct netbsd32_break_args;
90
91struct compat_43_netbsd32_olseek_args;
92
93struct netbsd32_setuid_args;
94
95struct sunos32_sys_stime_args {
96	syscallarg(sunos32_time_tp) tp;
97};
98check_syscall_args(sunos32_sys_stime)
99
100struct sunos32_sys_ptrace_args {
101	syscallarg(int) req;
102	syscallarg(pid_t) pid;
103	syscallarg(netbsd32_caddr_t) addr;
104	syscallarg(int) data;
105	syscallarg(netbsd32_charp) addr2;
106};
107check_syscall_args(sunos32_sys_ptrace)
108
109struct sunos32_sys_access_args {
110	syscallarg(const netbsd32_charp) path;
111	syscallarg(int) flags;
112};
113check_syscall_args(sunos32_sys_access)
114
115struct netbsd32_kill_args;
116
117struct sunos32_sys_stat_args {
118	syscallarg(const netbsd32_charp) path;
119	syscallarg(netbsd32_stat43p_t) ub;
120};
121check_syscall_args(sunos32_sys_stat)
122
123struct sunos32_sys_lstat_args {
124	syscallarg(const netbsd32_charp) path;
125	syscallarg(netbsd32_stat43p_t) ub;
126};
127check_syscall_args(sunos32_sys_lstat)
128
129struct netbsd32_dup_args;
130
131struct netbsd32_profil_args;
132
133struct netbsd32_setgid_args;
134
135struct netbsd32_acct_args;
136
137struct sunos32_sys_mctl_args {
138	syscallarg(netbsd32_voidp) addr;
139	syscallarg(int) len;
140	syscallarg(int) func;
141	syscallarg(netbsd32_voidp) arg;
142};
143check_syscall_args(sunos32_sys_mctl)
144
145struct sunos32_sys_ioctl_args {
146	syscallarg(int) fd;
147	syscallarg(netbsd32_u_long) com;
148	syscallarg(netbsd32_caddr_t) data;
149};
150check_syscall_args(sunos32_sys_ioctl)
151
152struct sunos32_sys_reboot_args {
153	syscallarg(int) howto;
154	syscallarg(netbsd32_charp) bootstr;
155};
156check_syscall_args(sunos32_sys_reboot)
157
158struct netbsd32_symlink_args;
159
160struct netbsd32_readlink_args;
161
162struct sunos32_sys_execve_args {
163	syscallarg(const netbsd32_charp) path;
164	syscallarg(netbsd32_charpp) argp;
165	syscallarg(netbsd32_charpp) envp;
166};
167check_syscall_args(sunos32_sys_execve)
168
169struct netbsd32_umask_args;
170
171struct netbsd32_chroot_args;
172
173struct compat_43_netbsd32_fstat43_args;
174
175struct sunos32_sys_omsync_args {
176	syscallarg(netbsd32_caddr_t) addr;
177	syscallarg(netbsd32_size_t) len;
178	syscallarg(int) flags;
179};
180check_syscall_args(sunos32_sys_omsync)
181
182struct sunos32_sys_mmap_args {
183	syscallarg(netbsd32_voidp) addr;
184	syscallarg(netbsd32_size_t) len;
185	syscallarg(int) prot;
186	syscallarg(int) flags;
187	syscallarg(int) fd;
188	syscallarg(netbsd32_long) pos;
189};
190check_syscall_args(sunos32_sys_mmap)
191
192struct netbsd32_ovadvise_args;
193
194struct netbsd32_munmap_args;
195
196struct netbsd32_mprotect_args;
197
198struct netbsd32_madvise_args;
199
200struct netbsd32_mincore_args;
201
202struct netbsd32_getgroups_args;
203
204struct netbsd32_setgroups_args;
205
206struct sunos32_sys_setpgrp_args {
207	syscallarg(int) pid;
208	syscallarg(int) pgid;
209};
210check_syscall_args(sunos32_sys_setpgrp)
211
212struct compat_50_netbsd32_setitimer_args;
213
214struct compat_12_netbsd32_oswapon_args;
215
216struct compat_50_netbsd32_getitimer_args;
217
218struct compat_43_netbsd32_ogethostname_args;
219
220struct compat_43_netbsd32_osethostname_args;
221
222struct netbsd32_dup2_args;
223
224struct sunos32_sys_fcntl_args {
225	syscallarg(int) fd;
226	syscallarg(int) cmd;
227	syscallarg(netbsd32_voidp) arg;
228};
229check_syscall_args(sunos32_sys_fcntl)
230
231struct compat_50_netbsd32_select_args;
232
233struct netbsd32_fsync_args;
234
235struct netbsd32_setpriority_args;
236
237struct sunos32_sys_socket_args {
238	syscallarg(int) domain;
239	syscallarg(int) type;
240	syscallarg(int) protocol;
241};
242check_syscall_args(sunos32_sys_socket)
243
244struct netbsd32_connect_args;
245
246struct compat_43_netbsd32_oaccept_args;
247
248struct netbsd32_getpriority_args;
249
250struct compat_43_netbsd32_osend_args;
251
252struct compat_43_netbsd32_orecv_args;
253
254struct netbsd32_bind_args;
255
256struct sunos32_sys_setsockopt_args {
257	syscallarg(int) s;
258	syscallarg(int) level;
259	syscallarg(int) name;
260	syscallarg(netbsd32_caddr_t) val;
261	syscallarg(int) valsize;
262};
263check_syscall_args(sunos32_sys_setsockopt)
264
265struct netbsd32_listen_args;
266
267struct sunos32_sys_sigvec_args {
268	syscallarg(int) signum;
269	syscallarg(netbsd32_sigvecp_t) nsv;
270	syscallarg(netbsd32_sigvecp_t) osv;
271};
272check_syscall_args(sunos32_sys_sigvec)
273
274struct compat_43_netbsd32_sigblock_args;
275
276struct compat_43_netbsd32_sigsetmask_args;
277
278struct sunos32_sys_sigsuspend_args {
279	syscallarg(int) mask;
280};
281check_syscall_args(sunos32_sys_sigsuspend)
282
283struct compat_43_netbsd32_osigstack_args;
284
285struct compat_43_netbsd32_orecvmsg_args;
286
287struct compat_43_netbsd32_osendmsg_args;
288
289struct compat_50_netbsd32_gettimeofday_args;
290
291struct compat_50_netbsd32_getrusage_args;
292
293struct netbsd32_getsockopt_args;
294
295struct netbsd32_readv_args;
296
297struct netbsd32_writev_args;
298
299struct compat_50_netbsd32_settimeofday_args;
300
301struct netbsd32_fchown_args;
302
303struct netbsd32_fchmod_args;
304
305struct compat_43_netbsd32_orecvfrom_args;
306
307struct netbsd32_setreuid_args;
308
309struct netbsd32_setregid_args;
310
311struct netbsd32_rename_args;
312
313struct compat_43_netbsd32_otruncate_args;
314
315struct compat_43_netbsd32_oftruncate_args;
316
317struct netbsd32_flock_args;
318
319struct netbsd32_sendto_args;
320
321struct netbsd32_shutdown_args;
322
323struct sunos32_sys_socketpair_args {
324	syscallarg(int) domain;
325	syscallarg(int) type;
326	syscallarg(int) protocol;
327	syscallarg(netbsd32_intp) rsv;
328};
329check_syscall_args(sunos32_sys_socketpair)
330
331struct netbsd32_mkdir_args;
332
333struct netbsd32_rmdir_args;
334
335struct compat_50_netbsd32_utimes_args;
336
337struct sunos32_sys_sigreturn_args {
338	syscallarg(netbsd32_sigcontextp_t) sigcntxp;
339};
340check_syscall_args(sunos32_sys_sigreturn)
341
342struct compat_50_netbsd32_adjtime_args;
343
344struct compat_43_netbsd32_ogetpeername_args;
345
346struct sunos32_sys_getrlimit_args {
347	syscallarg(u_int) which;
348	syscallarg(netbsd32_orlimitp_t) rlp;
349};
350check_syscall_args(sunos32_sys_getrlimit)
351
352struct sunos32_sys_setrlimit_args {
353	syscallarg(u_int) which;
354	syscallarg(netbsd32_orlimitp_t) rlp;
355};
356check_syscall_args(sunos32_sys_setrlimit)
357
358struct compat_43_netbsd32_killpg_args;
359
360struct compat_43_netbsd32_ogetsockname_args;
361
362struct netbsd32_poll_args;
363
364struct compat_43_netbsd32_ogetdirentries_args;
365
366struct sunos32_sys_statfs_args {
367	syscallarg(const netbsd32_charp) path;
368	syscallarg(sunos32_statfsp_t) buf;
369};
370check_syscall_args(sunos32_sys_statfs)
371
372struct sunos32_sys_fstatfs_args {
373	syscallarg(int) fd;
374	syscallarg(sunos32_statfsp_t) buf;
375};
376check_syscall_args(sunos32_sys_fstatfs)
377
378struct sunos32_sys_unmount_args {
379	syscallarg(netbsd32_charp) path;
380};
381check_syscall_args(sunos32_sys_unmount)
382
383struct compat_30_sys_getfh_args;
384
385struct compat_09_netbsd32_ogetdomainname_args;
386
387struct compat_09_netbsd32_osetdomainname_args;
388
389struct sunos32_sys_quotactl_args {
390	syscallarg(int) cmd;
391	syscallarg(netbsd32_charp) special;
392	syscallarg(int) uid;
393	syscallarg(netbsd32_caddr_t) addr;
394};
395check_syscall_args(sunos32_sys_quotactl)
396
397struct sunos32_sys_exportfs_args {
398	syscallarg(netbsd32_charp) path;
399	syscallarg(netbsd32_charp) ex;
400};
401check_syscall_args(sunos32_sys_exportfs)
402
403struct sunos32_sys_mount_args {
404	syscallarg(netbsd32_charp) type;
405	syscallarg(netbsd32_charp) path;
406	syscallarg(int) flags;
407	syscallarg(netbsd32_caddr_t) data;
408};
409check_syscall_args(sunos32_sys_mount)
410
411struct sunos32_sys_ustat_args {
412	syscallarg(int) dev;
413	syscallarg(sunos32_ustatp_t) buf;
414};
415check_syscall_args(sunos32_sys_ustat)
416#ifdef SYSVSEM
417
418struct compat_10_netbsd32_semsys_args;
419#else
420#endif
421#ifdef SYSVMSG
422
423struct compat_10_netbsd32_msgsys_args;
424#else
425#endif
426#ifdef SYSVSHM
427
428struct compat_10_netbsd32_shmsys_args;
429#else
430#endif
431
432struct sunos32_sys_auditsys_args {
433	syscallarg(netbsd32_charp) record;
434};
435check_syscall_args(sunos32_sys_auditsys)
436
437struct sunos32_sys_getdents_args {
438	syscallarg(int) fd;
439	syscallarg(netbsd32_charp) buf;
440	syscallarg(int) nbytes;
441};
442check_syscall_args(sunos32_sys_getdents)
443
444struct netbsd32_fchdir_args;
445
446struct netbsd32_fchroot_args;
447
448struct sunos32_sys_sigpending_args {
449	syscallarg(netbsd32_intp) mask;
450};
451check_syscall_args(sunos32_sys_sigpending)
452
453struct netbsd32_setpgid_args;
454
455struct netbsd32_pathconf_args;
456
457struct netbsd32_fpathconf_args;
458
459struct sunos32_sys_sysconf_args {
460	syscallarg(int) name;
461};
462check_syscall_args(sunos32_sys_sysconf)
463
464struct sunos32_sys_uname_args {
465	syscallarg(sunos32_utsnamep_t) name;
466};
467check_syscall_args(sunos32_sys_uname)
468
469/*
470 * System call prototypes.
471 */
472
473int	sys_nosys(struct lwp *, const void *, register_t *);
474
475int	netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
476
477int	sys_fork(struct lwp *, const void *, register_t *);
478
479int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
480
481int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
482
483int	sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *);
484
485int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
486
487int	sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *);
488
489int	sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *);
490
491int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
492
493int	netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
494
495int	sunos32_sys_execv(struct lwp *, const struct sunos32_sys_execv_args *, register_t *);
496
497int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
498
499int	sunos32_sys_mknod(struct lwp *, const struct sunos32_sys_mknod_args *, register_t *);
500
501int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
502
503int	netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *);
504
505int	netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *);
506
507int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
508
509int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
510
511int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
512
513int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
514
515int	sunos32_sys_stime(struct lwp *, const struct sunos32_sys_stime_args *, register_t *);
516
517int	sunos32_sys_ptrace(struct lwp *, const struct sunos32_sys_ptrace_args *, register_t *);
518
519int	sunos32_sys_access(struct lwp *, const struct sunos32_sys_access_args *, register_t *);
520
521int	sys_sync(struct lwp *, const void *, register_t *);
522
523int	netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *);
524
525int	sunos32_sys_stat(struct lwp *, const struct sunos32_sys_stat_args *, register_t *);
526
527int	sunos32_sys_lstat(struct lwp *, const struct sunos32_sys_lstat_args *, register_t *);
528
529int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
530
531int	sys_pipe(struct lwp *, const void *, register_t *);
532
533int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
534
535int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
536
537int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
538
539int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
540
541int	sunos32_sys_mctl(struct lwp *, const struct sunos32_sys_mctl_args *, register_t *);
542
543int	sunos32_sys_ioctl(struct lwp *, const struct sunos32_sys_ioctl_args *, register_t *);
544
545int	sunos32_sys_reboot(struct lwp *, const struct sunos32_sys_reboot_args *, register_t *);
546
547int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
548
549int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
550
551int	sunos32_sys_execve(struct lwp *, const struct sunos32_sys_execve_args *, register_t *);
552
553int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
554
555int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
556
557int	compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *);
558
559int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
560
561int	sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, register_t *);
562
563int	sys_vfork(struct lwp *, const void *, register_t *);
564
565int	sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
566
567int	netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
568
569int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
570
571int	netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
572
573int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
574
575int	sunos32_sys_vhangup(struct lwp *, const void *, register_t *);
576
577int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
578
579int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
580
581int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
582
583int	sys_getpgrp(struct lwp *, const void *, register_t *);
584
585int	sunos32_sys_setpgrp(struct lwp *, const struct sunos32_sys_setpgrp_args *, register_t *);
586
587int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
588
589int	compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *);
590
591int	compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
592
593int	compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *);
594
595int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
596
597int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
598
599int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
600
601int	sunos32_sys_fcntl(struct lwp *, const struct sunos32_sys_fcntl_args *, register_t *);
602
603int	compat_50_netbsd32_select(struct lwp *, const struct compat_50_netbsd32_select_args *, register_t *);
604
605int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
606
607int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
608
609int	sunos32_sys_socket(struct lwp *, const struct sunos32_sys_socket_args *, register_t *);
610
611int	netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
612
613int	compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
614
615int	netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *);
616
617int	compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
618
619int	compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
620
621int	netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
622
623int	sunos32_sys_setsockopt(struct lwp *, const struct sunos32_sys_setsockopt_args *, register_t *);
624
625int	netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
626
627int	sunos32_sys_sigvec(struct lwp *, const struct sunos32_sys_sigvec_args *, register_t *);
628
629int	compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *);
630
631int	compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *);
632
633int	sunos32_sys_sigsuspend(struct lwp *, const struct sunos32_sys_sigsuspend_args *, register_t *);
634
635int	compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *);
636
637int	compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
638
639int	compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
640
641int	compat_50_netbsd32_gettimeofday(struct lwp *, const struct compat_50_netbsd32_gettimeofday_args *, register_t *);
642
643int	compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
644
645int	netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
646
647int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
648
649int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
650
651int	compat_50_netbsd32_settimeofday(struct lwp *, const struct compat_50_netbsd32_settimeofday_args *, register_t *);
652
653int	netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *);
654
655int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
656
657int	compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
658
659int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
660
661int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
662
663int	netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *);
664
665int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
666
667int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
668
669int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
670
671int	netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
672
673int	netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
674
675int	sunos32_sys_socketpair(struct lwp *, const struct sunos32_sys_socketpair_args *, register_t *);
676
677int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
678
679int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
680
681int	compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
682
683int	sunos32_sys_sigreturn(struct lwp *, const struct sunos32_sys_sigreturn_args *, register_t *);
684
685int	compat_50_netbsd32_adjtime(struct lwp *, const struct compat_50_netbsd32_adjtime_args *, register_t *);
686
687int	compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
688
689int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
690
691int	sunos32_sys_getrlimit(struct lwp *, const struct sunos32_sys_getrlimit_args *, register_t *);
692
693int	sunos32_sys_setrlimit(struct lwp *, const struct sunos32_sys_setrlimit_args *, register_t *);
694
695int	compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *);
696
697int	compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
698
699int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
700
701int	compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *);
702
703int	sunos32_sys_statfs(struct lwp *, const struct sunos32_sys_statfs_args *, register_t *);
704
705int	sunos32_sys_fstatfs(struct lwp *, const struct sunos32_sys_fstatfs_args *, register_t *);
706
707int	sunos32_sys_unmount(struct lwp *, const struct sunos32_sys_unmount_args *, register_t *);
708
709int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
710
711int	compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *);
712
713int	compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *);
714
715int	sunos32_sys_quotactl(struct lwp *, const struct sunos32_sys_quotactl_args *, register_t *);
716
717int	sunos32_sys_exportfs(struct lwp *, const struct sunos32_sys_exportfs_args *, register_t *);
718
719int	sunos32_sys_mount(struct lwp *, const struct sunos32_sys_mount_args *, register_t *);
720
721int	sunos32_sys_ustat(struct lwp *, const struct sunos32_sys_ustat_args *, register_t *);
722
723#ifdef SYSVSEM
724int	compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *);
725
726#else
727#endif
728#ifdef SYSVMSG
729int	compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *);
730
731#else
732#endif
733#ifdef SYSVSHM
734int	compat_10_netbsd32_shmsys(struct lwp *, const struct compat_10_netbsd32_shmsys_args *, register_t *);
735
736#else
737#endif
738int	sunos32_sys_auditsys(struct lwp *, const struct sunos32_sys_auditsys_args *, register_t *);
739
740int	sunos32_sys_getdents(struct lwp *, const struct sunos32_sys_getdents_args *, register_t *);
741
742int	sys_setsid(struct lwp *, const void *, register_t *);
743
744int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
745
746int	netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
747
748int	sunos32_sys_sigpending(struct lwp *, const struct sunos32_sys_sigpending_args *, register_t *);
749
750int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
751
752int	netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *);
753
754int	netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *);
755
756int	sunos32_sys_sysconf(struct lwp *, const struct sunos32_sys_sysconf_args *, register_t *);
757
758int	sunos32_sys_uname(struct lwp *, const struct sunos32_sys_uname_args *, register_t *);
759
760#endif /* _SUNOS32_SYS_SYSCALLARGS_H_ */
761