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