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