1 /* $NetBSD: svr4_32_syscallargs.h,v 1.17 2007/12/20 23:10:52 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/12/17 22:04:32 dsl Exp
8 */
9
10 #ifndef _SVR4_32_SYS_SYSCALLARGS_H_
11 #define _SVR4_32_SYS_SYSCALLARGS_H_
12
13 #define SVR4_32_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 <= SVR4_32_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 svr4_32_sys_open_args {
41 syscallarg(netbsd32_charp) path;
42 syscallarg(int) flags;
43 syscallarg(int) mode;
44 };
45 check_syscall_args(svr4_32_sys_open)
46
47 struct netbsd32_close_args;
48
49 struct svr4_32_sys_wait_args {
50 syscallarg(netbsd32_intp) status;
51 };
52 check_syscall_args(svr4_32_sys_wait)
53
54 struct svr4_32_sys_creat_args {
55 syscallarg(netbsd32_charp) path;
56 syscallarg(int) mode;
57 };
58 check_syscall_args(svr4_32_sys_creat)
59
60 struct netbsd32_link_args;
61
62 struct netbsd32_unlink_args;
63
64 struct svr4_32_sys_execv_args {
65 syscallarg(netbsd32_charp) path;
66 syscallarg(netbsd32_charpp) argp;
67 };
68 check_syscall_args(svr4_32_sys_execv)
69
70 struct netbsd32_chdir_args;
71
72 struct svr4_32_sys_time_args {
73 syscallarg(svr4_32_time_tp) t;
74 };
75 check_syscall_args(svr4_32_sys_time)
76
77 struct svr4_32_sys_mknod_args {
78 syscallarg(netbsd32_charp) path;
79 syscallarg(int) mode;
80 syscallarg(int) dev;
81 };
82 check_syscall_args(svr4_32_sys_mknod)
83
84 struct netbsd32_chmod_args;
85
86 struct netbsd32___posix_chown_args;
87
88 struct svr4_32_sys_break_args {
89 syscallarg(netbsd32_caddr_t) nsize;
90 };
91 check_syscall_args(svr4_32_sys_break)
92
93 struct svr4_32_sys_stat_args {
94 syscallarg(netbsd32_charp) path;
95 syscallarg(svr4_32_statp) ub;
96 };
97 check_syscall_args(svr4_32_sys_stat)
98
99 struct compat_43_netbsd32_olseek_args;
100
101 struct netbsd32_setuid_args;
102
103 struct svr4_32_sys_alarm_args {
104 syscallarg(unsigned) sec;
105 };
106 check_syscall_args(svr4_32_sys_alarm)
107
108 struct svr4_32_sys_fstat_args {
109 syscallarg(int) fd;
110 syscallarg(svr4_32_statp) sb;
111 };
112 check_syscall_args(svr4_32_sys_fstat)
113
114 struct svr4_32_sys_utime_args {
115 syscallarg(netbsd32_charp) path;
116 syscallarg(svr4_32_utimbufp) ubuf;
117 };
118 check_syscall_args(svr4_32_sys_utime)
119
120 struct svr4_32_sys_access_args {
121 syscallarg(netbsd32_charp) path;
122 syscallarg(int) flags;
123 };
124 check_syscall_args(svr4_32_sys_access)
125
126 struct svr4_32_sys_nice_args {
127 syscallarg(int) prio;
128 };
129 check_syscall_args(svr4_32_sys_nice)
130
131 struct svr4_32_sys_kill_args {
132 syscallarg(int) pid;
133 syscallarg(int) signum;
134 };
135 check_syscall_args(svr4_32_sys_kill)
136
137 struct svr4_32_sys_pgrpsys_args {
138 syscallarg(int) cmd;
139 syscallarg(int) pid;
140 syscallarg(int) pgid;
141 };
142 check_syscall_args(svr4_32_sys_pgrpsys)
143
144 struct netbsd32_dup_args;
145
146 struct svr4_32_sys_times_args {
147 syscallarg(svr4_32_tms_tp) tp;
148 };
149 check_syscall_args(svr4_32_sys_times)
150
151 struct netbsd32_setgid_args;
152
153 struct svr4_32_sys_signal_args {
154 syscallarg(int) signum;
155 syscallarg(svr4_sig_t) handler;
156 };
157 check_syscall_args(svr4_32_sys_signal)
158 #ifdef SYSVMSG
159
160 struct svr4_32_sys_msgsys_args {
161 syscallarg(int) what;
162 syscallarg(int) a2;
163 syscallarg(int) a3;
164 syscallarg(int) a4;
165 syscallarg(int) a5;
166 };
167 check_syscall_args(svr4_32_sys_msgsys)
168 #else
169 #endif
170
171 struct svr4_32_sys_sysarch_args {
172 syscallarg(int) op;
173 syscallarg(netbsd32_voidp) a1;
174 };
175 check_syscall_args(svr4_32_sys_sysarch)
176 #ifdef SYSVSHM
177
178 struct svr4_32_sys_shmsys_args {
179 syscallarg(int) what;
180 syscallarg(int) a2;
181 syscallarg(int) a3;
182 syscallarg(int) a4;
183 };
184 check_syscall_args(svr4_32_sys_shmsys)
185 #else
186 #endif
187 #ifdef SYSVSEM
188
189 struct svr4_32_sys_semsys_args {
190 syscallarg(int) what;
191 syscallarg(int) a2;
192 syscallarg(int) a3;
193 syscallarg(int) a4;
194 syscallarg(int) a5;
195 };
196 check_syscall_args(svr4_32_sys_semsys)
197 #else
198 #endif
199
200 struct svr4_32_sys_ioctl_args {
201 syscallarg(int) fd;
202 syscallarg(netbsd32_u_long) com;
203 syscallarg(netbsd32_caddr_t) data;
204 };
205 check_syscall_args(svr4_32_sys_ioctl)
206
207 struct svr4_32_sys_utssys_args {
208 syscallarg(netbsd32_voidp) a1;
209 syscallarg(netbsd32_voidp) a2;
210 syscallarg(int) sel;
211 syscallarg(netbsd32_voidp) a3;
212 };
213 check_syscall_args(svr4_32_sys_utssys)
214
215 struct netbsd32_fsync_args;
216
217 struct netbsd32_execve_args;
218
219 struct netbsd32_umask_args;
220
221 struct netbsd32_chroot_args;
222
223 struct svr4_32_sys_fcntl_args {
224 syscallarg(int) fd;
225 syscallarg(int) cmd;
226 syscallarg(netbsd32_charp) arg;
227 };
228 check_syscall_args(svr4_32_sys_fcntl)
229
230 struct svr4_32_sys_ulimit_args {
231 syscallarg(int) cmd;
232 syscallarg(netbsd32_long) newlimit;
233 };
234 check_syscall_args(svr4_32_sys_ulimit)
235
236 struct netbsd32_rmdir_args;
237
238 struct netbsd32_mkdir_args;
239
240 struct svr4_32_sys_getdents_args {
241 syscallarg(int) fd;
242 syscallarg(netbsd32_charp) buf;
243 syscallarg(int) nbytes;
244 };
245 check_syscall_args(svr4_32_sys_getdents)
246
247 struct svr4_32_sys_getmsg_args {
248 syscallarg(int) fd;
249 syscallarg(svr4_32_strbuf_tp) ctl;
250 syscallarg(svr4_32_strbuf_tp) dat;
251 syscallarg(netbsd32_intp) flags;
252 };
253 check_syscall_args(svr4_32_sys_getmsg)
254
255 struct svr4_32_sys_putmsg_args {
256 syscallarg(int) fd;
257 syscallarg(svr4_32_strbuf_tp) ctl;
258 syscallarg(svr4_32_strbuf_tp) dat;
259 syscallarg(int) flags;
260 };
261 check_syscall_args(svr4_32_sys_putmsg)
262
263 struct netbsd32_poll_args;
264
265 struct svr4_32_sys_lstat_args {
266 syscallarg(netbsd32_charp) path;
267 syscallarg(svr4_32_stat_tp) ub;
268 };
269 check_syscall_args(svr4_32_sys_lstat)
270
271 struct netbsd32_symlink_args;
272
273 struct netbsd32_readlink_args;
274
275 struct netbsd32_getgroups_args;
276
277 struct netbsd32_setgroups_args;
278
279 struct netbsd32_fchmod_args;
280
281 struct netbsd32___posix_fchown_args;
282
283 struct svr4_32_sys_sigprocmask_args {
284 syscallarg(int) how;
285 syscallarg(svr4_32_sigset_tp) set;
286 syscallarg(svr4_32_sigset_tp) oset;
287 };
288 check_syscall_args(svr4_32_sys_sigprocmask)
289
290 struct svr4_32_sys_sigsuspend_args {
291 syscallarg(svr4_32_sigset_tp) set;
292 };
293 check_syscall_args(svr4_32_sys_sigsuspend)
294
295 struct svr4_32_sys_sigaltstack_args {
296 syscallarg(svr4_32_sigaltstack_tp) nss;
297 syscallarg(svr4_32_sigaltstack_tp) oss;
298 };
299 check_syscall_args(svr4_32_sys_sigaltstack)
300
301 struct svr4_32_sys_sigaction_args {
302 syscallarg(int) signum;
303 syscallarg(svr4_32_sigaction_tp) nsa;
304 syscallarg(svr4_32_sigaction_tp) osa;
305 };
306 check_syscall_args(svr4_32_sys_sigaction)
307
308 struct svr4_32_sys_sigpending_args {
309 syscallarg(int) what;
310 syscallarg(svr4_32_sigset_tp) set;
311 };
312 check_syscall_args(svr4_32_sys_sigpending)
313
314 struct svr4_32_sys_context_args {
315 syscallarg(int) func;
316 syscallarg(svr4_32_ucontext_tp) uc;
317 };
318 check_syscall_args(svr4_32_sys_context)
319
320 struct svr4_32_sys_statvfs_args {
321 syscallarg(netbsd32_charp) path;
322 syscallarg(svr4_32_statvfs_tp) fs;
323 };
324 check_syscall_args(svr4_32_sys_statvfs)
325
326 struct svr4_32_sys_fstatvfs_args {
327 syscallarg(int) fd;
328 syscallarg(svr4_32_statvfs_tp) fs;
329 };
330 check_syscall_args(svr4_32_sys_fstatvfs)
331
332 struct svr4_32_sys_waitsys_args {
333 syscallarg(int) grp;
334 syscallarg(int) id;
335 syscallarg(svr4_32_siginfo_tp) info;
336 syscallarg(int) options;
337 };
338 check_syscall_args(svr4_32_sys_waitsys)
339
340 struct svr4_32_sys_hrtsys_args {
341 syscallarg(int) cmd;
342 syscallarg(int) fun;
343 syscallarg(int) sub;
344 syscallarg(netbsd32_voidp) rv1;
345 syscallarg(netbsd32_voidp) rv2;
346 };
347 check_syscall_args(svr4_32_sys_hrtsys)
348
349 struct svr4_32_sys_pathconf_args {
350 syscallarg(netbsd32_charp) path;
351 syscallarg(int) name;
352 };
353 check_syscall_args(svr4_32_sys_pathconf)
354
355 struct svr4_32_sys_mmap_args {
356 syscallarg(netbsd32_voidp) addr;
357 syscallarg(svr4_32_size_t) len;
358 syscallarg(int) prot;
359 syscallarg(int) flags;
360 syscallarg(int) fd;
361 syscallarg(svr4_32_off_t) pos;
362 };
363 check_syscall_args(svr4_32_sys_mmap)
364
365 struct netbsd32_mprotect_args;
366
367 struct netbsd32_munmap_args;
368
369 struct svr4_32_sys_fpathconf_args {
370 syscallarg(int) fd;
371 syscallarg(int) name;
372 };
373 check_syscall_args(svr4_32_sys_fpathconf)
374
375 struct netbsd32_fchdir_args;
376
377 struct netbsd32_readv_args;
378
379 struct netbsd32_writev_args;
380
381 struct svr4_32_sys_xstat_args {
382 syscallarg(int) two;
383 syscallarg(netbsd32_charp) path;
384 syscallarg(svr4_32_xstat_tp) ub;
385 };
386 check_syscall_args(svr4_32_sys_xstat)
387
388 struct svr4_32_sys_lxstat_args {
389 syscallarg(int) two;
390 syscallarg(netbsd32_charp) path;
391 syscallarg(svr4_32_xstat_tp) ub;
392 };
393 check_syscall_args(svr4_32_sys_lxstat)
394
395 struct svr4_32_sys_fxstat_args {
396 syscallarg(int) two;
397 syscallarg(int) fd;
398 syscallarg(svr4_32_xstat_tp) sb;
399 };
400 check_syscall_args(svr4_32_sys_fxstat)
401
402 struct svr4_32_sys_xmknod_args {
403 syscallarg(int) two;
404 syscallarg(netbsd32_charp) path;
405 syscallarg(svr4_32_mode_t) mode;
406 syscallarg(svr4_dev_t) dev;
407 };
408 check_syscall_args(svr4_32_sys_xmknod)
409
410 struct svr4_32_sys_setrlimit_args {
411 syscallarg(int) which;
412 syscallarg(svr4_32_rlimit_tp) rlp;
413 };
414 check_syscall_args(svr4_32_sys_setrlimit)
415
416 struct svr4_32_sys_getrlimit_args {
417 syscallarg(int) which;
418 syscallarg(svr4_32_rlimit_tp) rlp;
419 };
420 check_syscall_args(svr4_32_sys_getrlimit)
421
422 struct netbsd32_lchown_args;
423
424 struct svr4_32_sys_memcntl_args {
425 syscallarg(netbsd32_voidp) addr;
426 syscallarg(svr4_32_size_t) len;
427 syscallarg(int) cmd;
428 syscallarg(netbsd32_voidp) arg;
429 syscallarg(int) attr;
430 syscallarg(int) mask;
431 };
432 check_syscall_args(svr4_32_sys_memcntl)
433
434 struct netbsd32___posix_rename_args;
435
436 struct svr4_32_sys_uname_args {
437 syscallarg(svr4_32_utsnamep) name;
438 syscallarg(int) dummy;
439 };
440 check_syscall_args(svr4_32_sys_uname)
441
442 struct netbsd32_setegid_args;
443
444 struct svr4_32_sys_sysconfig_args {
445 syscallarg(int) name;
446 };
447 check_syscall_args(svr4_32_sys_sysconfig)
448
449 struct netbsd32_adjtime_args;
450
451 struct svr4_32_sys_systeminfo_args {
452 syscallarg(int) what;
453 syscallarg(netbsd32_charp) buf;
454 syscallarg(netbsd32_long) len;
455 };
456 check_syscall_args(svr4_32_sys_systeminfo)
457
458 struct netbsd32_seteuid_args;
459
460 struct svr4_32_sys__lwp_info_args {
461 syscallarg(svr4_32_lwpinfop) lwpinfo;
462 };
463 check_syscall_args(svr4_32_sys__lwp_info)
464
465 struct netbsd32_fchroot_args;
466
467 struct svr4_32_sys_utimes_args {
468 syscallarg(netbsd32_charp) path;
469 syscallarg(netbsd32_timevalp_t) tptr;
470 };
471 check_syscall_args(svr4_32_sys_utimes)
472
473 struct svr4_32_sys_gettimeofday_args {
474 syscallarg(netbsd32_timevalp_t) tp;
475 };
476 check_syscall_args(svr4_32_sys_gettimeofday)
477
478 struct netbsd32_getitimer_args;
479
480 struct netbsd32_setitimer_args;
481
482 struct svr4_32_sys__lwp_create_args {
483 syscallarg(svr4_32_ucontext_tp) uc;
484 syscallarg(netbsd32_u_long) flags;
485 syscallarg(svr4_32_lwpid_tp) lwpid;
486 };
487 check_syscall_args(svr4_32_sys__lwp_create)
488
489 struct svr4_32_sys__lwp_suspend_args {
490 syscallarg(svr4_lwpid_t) lwpid;
491 };
492 check_syscall_args(svr4_32_sys__lwp_suspend)
493
494 struct svr4_32_sys__lwp_continue_args {
495 syscallarg(svr4_lwpid_t) lwpid;
496 };
497 check_syscall_args(svr4_32_sys__lwp_continue)
498
499 struct svr4_32_sys__lwp_kill_args {
500 syscallarg(svr4_lwpid_t) lwpid;
501 syscallarg(int) signum;
502 };
503 check_syscall_args(svr4_32_sys__lwp_kill)
504
505 struct svr4_32_sys__lwp_setprivate_args {
506 syscallarg(netbsd32_voidp) buffer;
507 };
508 check_syscall_args(svr4_32_sys__lwp_setprivate)
509
510 struct svr4_32_sys__lwp_wait_args {
511 syscallarg(svr4_lwpid_t) wait_for;
512 syscallarg(svr4_32_lwpid_tp) departed_lwp;
513 };
514 check_syscall_args(svr4_32_sys__lwp_wait)
515
516 struct svr4_32_sys_pread_args {
517 syscallarg(int) fd;
518 syscallarg(netbsd32_voidp) buf;
519 syscallarg(netbsd32_size_t) nbyte;
520 syscallarg(svr4_32_off_t) off;
521 };
522 check_syscall_args(svr4_32_sys_pread)
523
524 struct svr4_32_sys_pwrite_args {
525 syscallarg(int) fd;
526 syscallarg(netbsd32_voidp) buf;
527 syscallarg(netbsd32_size_t) nbyte;
528 syscallarg(svr4_32_off_t) off;
529 };
530 check_syscall_args(svr4_32_sys_pwrite)
531
532 struct svr4_32_sys_llseek_args {
533 syscallarg(int) fd;
534 syscallarg(netbsd32_long) offset1;
535 syscallarg(netbsd32_long) offset2;
536 syscallarg(int) whence;
537 };
538 check_syscall_args(svr4_32_sys_llseek)
539
540 struct svr4_32_sys_acl_args {
541 syscallarg(netbsd32_charp) path;
542 syscallarg(int) cmd;
543 syscallarg(int) num;
544 syscallarg(svr4_32_aclent_tp) buf;
545 };
546 check_syscall_args(svr4_32_sys_acl)
547
548 struct svr4_32_sys_auditsys_args {
549 syscallarg(int) code;
550 syscallarg(int) a1;
551 syscallarg(int) a2;
552 syscallarg(int) a3;
553 syscallarg(int) a4;
554 syscallarg(int) a5;
555 };
556 check_syscall_args(svr4_32_sys_auditsys)
557
558 struct netbsd32_nanosleep_args;
559
560 struct svr4_32_sys_facl_args {
561 syscallarg(int) fd;
562 syscallarg(int) cmd;
563 syscallarg(int) num;
564 syscallarg(svr4_32_aclent_tp) buf;
565 };
566 check_syscall_args(svr4_32_sys_facl)
567
568 struct netbsd32_setreuid_args;
569
570 struct netbsd32_setregid_args;
571
572 struct svr4_32_sys_schedctl_args {
573 syscallarg(unsigned int) x;
574 syscallarg(int) y;
575 syscallarg(void **) z;
576 };
577 check_syscall_args(svr4_32_sys_schedctl)
578
579 struct svr4_32_sys_resolvepath_args {
580 syscallarg(netbsd32_charp) path;
581 syscallarg(netbsd32_charp) buf;
582 syscallarg(netbsd32_size_t) bufsiz;
583 };
584 check_syscall_args(svr4_32_sys_resolvepath)
585
586 struct svr4_32_sys_getdents64_args {
587 syscallarg(int) fd;
588 syscallarg(svr4_32_dirent64_tp) dp;
589 syscallarg(int) nbytes;
590 };
591 check_syscall_args(svr4_32_sys_getdents64)
592
593 struct svr4_32_sys_mmap64_args {
594 syscallarg(netbsd32_voidp) addr;
595 syscallarg(svr4_32_size_t) len;
596 syscallarg(int) prot;
597 syscallarg(int) flags;
598 syscallarg(int) fd;
599 syscallarg(svr4_32_off64_t) pos;
600 };
601 check_syscall_args(svr4_32_sys_mmap64)
602
603 struct svr4_32_sys_stat64_args {
604 syscallarg(netbsd32_charp) path;
605 syscallarg(svr4_32_stat64_tp) sb;
606 };
607 check_syscall_args(svr4_32_sys_stat64)
608
609 struct svr4_32_sys_lstat64_args {
610 syscallarg(netbsd32_charp) path;
611 syscallarg(svr4_32_stat64_tp) sb;
612 };
613 check_syscall_args(svr4_32_sys_lstat64)
614
615 struct svr4_32_sys_fstat64_args {
616 syscallarg(int) fd;
617 syscallarg(svr4_32_stat64_tp) sb;
618 };
619 check_syscall_args(svr4_32_sys_fstat64)
620
621 struct svr4_32_sys_statvfs64_args {
622 syscallarg(netbsd32_charp) path;
623 syscallarg(svr4_32_statvfs64_tp) fs;
624 };
625 check_syscall_args(svr4_32_sys_statvfs64)
626
627 struct svr4_32_sys_fstatvfs64_args {
628 syscallarg(int) fd;
629 syscallarg(svr4_32_statvfs64_tp) fs;
630 };
631 check_syscall_args(svr4_32_sys_fstatvfs64)
632
633 struct svr4_32_sys_setrlimit64_args {
634 syscallarg(int) which;
635 syscallarg(svr4_32_rlimit64_tp) rlp;
636 };
637 check_syscall_args(svr4_32_sys_setrlimit64)
638
639 struct svr4_32_sys_getrlimit64_args {
640 syscallarg(int) which;
641 syscallarg(svr4_32_rlimit64_tp) rlp;
642 };
643 check_syscall_args(svr4_32_sys_getrlimit64)
644
645 struct svr4_32_sys_pread64_args {
646 syscallarg(int) fd;
647 syscallarg(netbsd32_voidp) buf;
648 syscallarg(netbsd32_size_t) nbyte;
649 syscallarg(svr4_32_off64_t) off;
650 };
651 check_syscall_args(svr4_32_sys_pread64)
652
653 struct svr4_32_sys_pwrite64_args {
654 syscallarg(int) fd;
655 syscallarg(netbsd32_voidp) buf;
656 syscallarg(netbsd32_size_t) nbyte;
657 syscallarg(svr4_32_off64_t) off;
658 };
659 check_syscall_args(svr4_32_sys_pwrite64)
660 #define svr4_32_sys_creat64 svr4_32_sys_creat
661 #define svr4_32_sys_creat64_args svr4_32_sys_creat_args
662
663 struct svr4_32_sys_creat64_args;
664 #define svr4_32_sys_open64 svr4_32_sys_open
665 #define svr4_32_sys_open64_args svr4_32_sys_open_args
666
667 struct svr4_32_sys_open64_args;
668
669 struct svr4_32_sys_socket_args {
670 syscallarg(int) domain;
671 syscallarg(int) type;
672 syscallarg(int) protocol;
673 };
674 check_syscall_args(svr4_32_sys_socket)
675
676 struct netbsd32_socketpair_args;
677
678 struct netbsd32_bind_args;
679
680 struct netbsd32_listen_args;
681
682 struct compat_43_netbsd32_oaccept_args;
683
684 struct netbsd32_connect_args;
685
686 struct netbsd32_shutdown_args;
687
688 struct compat_43_netbsd32_orecv_args;
689
690 struct compat_43_netbsd32_orecvfrom_args;
691
692 struct compat_43_netbsd32_orecvmsg_args;
693
694 struct compat_43_netbsd32_osend_args;
695
696 struct compat_43_netbsd32_osendmsg_args;
697
698 struct netbsd32_sendto_args;
699
700 struct compat_43_netbsd32_ogetpeername_args;
701
702 struct compat_43_netbsd32_ogetsockname_args;
703
704 struct netbsd32_getsockopt_args;
705
706 struct netbsd32_setsockopt_args;
707 #if defined(NTP) || !defined(_KERNEL)
708
709 struct netbsd32_ntp_adjtime_args;
710 #else
711 #endif
712
713 /*
714 * System call prototypes.
715 */
716
717 int sys_nosys(struct lwp *, const void *, register_t *);
718
719 int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
720
721 int sys_fork(struct lwp *, const void *, register_t *);
722
723 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
724
725 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
726
727 int svr4_32_sys_open(struct lwp *, const struct svr4_32_sys_open_args *, register_t *);
728
729 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
730
731 int svr4_32_sys_wait(struct lwp *, const struct svr4_32_sys_wait_args *, register_t *);
732
733 int svr4_32_sys_creat(struct lwp *, const struct svr4_32_sys_creat_args *, register_t *);
734
735 int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
736
737 int netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
738
739 int svr4_32_sys_execv(struct lwp *, const struct svr4_32_sys_execv_args *, register_t *);
740
741 int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
742
743 int svr4_32_sys_time(struct lwp *, const struct svr4_32_sys_time_args *, register_t *);
744
745 int svr4_32_sys_mknod(struct lwp *, const struct svr4_32_sys_mknod_args *, register_t *);
746
747 int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
748
749 int netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
750
751 int svr4_32_sys_break(struct lwp *, const struct svr4_32_sys_break_args *, register_t *);
752
753 int svr4_32_sys_stat(struct lwp *, const struct svr4_32_sys_stat_args *, register_t *);
754
755 int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
756
757 int sys_getpid(struct lwp *, const void *, register_t *);
758
759 int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
760
761 int sys_getuid_with_euid(struct lwp *, const void *, register_t *);
762
763 int svr4_32_sys_alarm(struct lwp *, const struct svr4_32_sys_alarm_args *, register_t *);
764
765 int svr4_32_sys_fstat(struct lwp *, const struct svr4_32_sys_fstat_args *, register_t *);
766
767 int svr4_32_sys_pause(struct lwp *, const void *, register_t *);
768
769 int svr4_32_sys_utime(struct lwp *, const struct svr4_32_sys_utime_args *, register_t *);
770
771 int svr4_32_sys_access(struct lwp *, const struct svr4_32_sys_access_args *, register_t *);
772
773 int svr4_32_sys_nice(struct lwp *, const struct svr4_32_sys_nice_args *, register_t *);
774
775 int sys_sync(struct lwp *, const void *, register_t *);
776
777 int svr4_32_sys_kill(struct lwp *, const struct svr4_32_sys_kill_args *, register_t *);
778
779 int svr4_32_sys_pgrpsys(struct lwp *, const struct svr4_32_sys_pgrpsys_args *, register_t *);
780
781 int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
782
783 int sys_pipe(struct lwp *, const void *, register_t *);
784
785 int svr4_32_sys_times(struct lwp *, const struct svr4_32_sys_times_args *, register_t *);
786
787 int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
788
789 int sys_getgid_with_egid(struct lwp *, const void *, register_t *);
790
791 int svr4_32_sys_signal(struct lwp *, const struct svr4_32_sys_signal_args *, register_t *);
792
793 #ifdef SYSVMSG
794 int svr4_32_sys_msgsys(struct lwp *, const struct svr4_32_sys_msgsys_args *, register_t *);
795
796 #else
797 #endif
798 int svr4_32_sys_sysarch(struct lwp *, const struct svr4_32_sys_sysarch_args *, register_t *);
799
800 #ifdef SYSVSHM
801 int svr4_32_sys_shmsys(struct lwp *, const struct svr4_32_sys_shmsys_args *, register_t *);
802
803 #else
804 #endif
805 #ifdef SYSVSEM
806 int svr4_32_sys_semsys(struct lwp *, const struct svr4_32_sys_semsys_args *, register_t *);
807
808 #else
809 #endif
810 int svr4_32_sys_ioctl(struct lwp *, const struct svr4_32_sys_ioctl_args *, register_t *);
811
812 int svr4_32_sys_utssys(struct lwp *, const struct svr4_32_sys_utssys_args *, register_t *);
813
814 int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
815
816 int netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
817
818 int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
819
820 int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
821
822 int svr4_32_sys_fcntl(struct lwp *, const struct svr4_32_sys_fcntl_args *, register_t *);
823
824 int svr4_32_sys_ulimit(struct lwp *, const struct svr4_32_sys_ulimit_args *, register_t *);
825
826 int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
827
828 int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
829
830 int svr4_32_sys_getdents(struct lwp *, const struct svr4_32_sys_getdents_args *, register_t *);
831
832 int svr4_32_sys_getmsg(struct lwp *, const struct svr4_32_sys_getmsg_args *, register_t *);
833
834 int svr4_32_sys_putmsg(struct lwp *, const struct svr4_32_sys_putmsg_args *, register_t *);
835
836 int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
837
838 int svr4_32_sys_lstat(struct lwp *, const struct svr4_32_sys_lstat_args *, register_t *);
839
840 int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
841
842 int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
843
844 int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
845
846 int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
847
848 int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
849
850 int netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
851
852 int svr4_32_sys_sigprocmask(struct lwp *, const struct svr4_32_sys_sigprocmask_args *, register_t *);
853
854 int svr4_32_sys_sigsuspend(struct lwp *, const struct svr4_32_sys_sigsuspend_args *, register_t *);
855
856 int svr4_32_sys_sigaltstack(struct lwp *, const struct svr4_32_sys_sigaltstack_args *, register_t *);
857
858 int svr4_32_sys_sigaction(struct lwp *, const struct svr4_32_sys_sigaction_args *, register_t *);
859
860 int svr4_32_sys_sigpending(struct lwp *, const struct svr4_32_sys_sigpending_args *, register_t *);
861
862 int svr4_32_sys_context(struct lwp *, const struct svr4_32_sys_context_args *, register_t *);
863
864 int svr4_32_sys_statvfs(struct lwp *, const struct svr4_32_sys_statvfs_args *, register_t *);
865
866 int svr4_32_sys_fstatvfs(struct lwp *, const struct svr4_32_sys_fstatvfs_args *, register_t *);
867
868 int svr4_32_sys_waitsys(struct lwp *, const struct svr4_32_sys_waitsys_args *, register_t *);
869
870 int svr4_32_sys_hrtsys(struct lwp *, const struct svr4_32_sys_hrtsys_args *, register_t *);
871
872 int svr4_32_sys_pathconf(struct lwp *, const struct svr4_32_sys_pathconf_args *, register_t *);
873
874 int svr4_32_sys_mmap(struct lwp *, const struct svr4_32_sys_mmap_args *, register_t *);
875
876 int netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
877
878 int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
879
880 int svr4_32_sys_fpathconf(struct lwp *, const struct svr4_32_sys_fpathconf_args *, register_t *);
881
882 int sys_vfork(struct lwp *, const void *, register_t *);
883
884 int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
885
886 int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
887
888 int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
889
890 int svr4_32_sys_xstat(struct lwp *, const struct svr4_32_sys_xstat_args *, register_t *);
891
892 int svr4_32_sys_lxstat(struct lwp *, const struct svr4_32_sys_lxstat_args *, register_t *);
893
894 int svr4_32_sys_fxstat(struct lwp *, const struct svr4_32_sys_fxstat_args *, register_t *);
895
896 int svr4_32_sys_xmknod(struct lwp *, const struct svr4_32_sys_xmknod_args *, register_t *);
897
898 int svr4_32_sys_setrlimit(struct lwp *, const struct svr4_32_sys_setrlimit_args *, register_t *);
899
900 int svr4_32_sys_getrlimit(struct lwp *, const struct svr4_32_sys_getrlimit_args *, register_t *);
901
902 int netbsd32_lchown(struct lwp *, const struct netbsd32_lchown_args *, register_t *);
903
904 int svr4_32_sys_memcntl(struct lwp *, const struct svr4_32_sys_memcntl_args *, register_t *);
905
906 int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
907
908 int svr4_32_sys_uname(struct lwp *, const struct svr4_32_sys_uname_args *, register_t *);
909
910 int netbsd32_setegid(struct lwp *, const struct netbsd32_setegid_args *, register_t *);
911
912 int svr4_32_sys_sysconfig(struct lwp *, const struct svr4_32_sys_sysconfig_args *, register_t *);
913
914 int netbsd32_adjtime(struct lwp *, const struct netbsd32_adjtime_args *, register_t *);
915
916 int svr4_32_sys_systeminfo(struct lwp *, const struct svr4_32_sys_systeminfo_args *, register_t *);
917
918 int netbsd32_seteuid(struct lwp *, const struct netbsd32_seteuid_args *, register_t *);
919
920 int svr4_32_sys__lwp_info(struct lwp *, const struct svr4_32_sys__lwp_info_args *, register_t *);
921
922 int netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
923
924 int svr4_32_sys_utimes(struct lwp *, const struct svr4_32_sys_utimes_args *, register_t *);
925
926 int svr4_32_sys_vhangup(struct lwp *, const void *, register_t *);
927
928 int svr4_32_sys_gettimeofday(struct lwp *, const struct svr4_32_sys_gettimeofday_args *, register_t *);
929
930 int netbsd32_getitimer(struct lwp *, const struct netbsd32_getitimer_args *, register_t *);
931
932 int netbsd32_setitimer(struct lwp *, const struct netbsd32_setitimer_args *, register_t *);
933
934 int svr4_32_sys__lwp_create(struct lwp *, const struct svr4_32_sys__lwp_create_args *, register_t *);
935
936 int svr4_32_sys__lwp_exit(struct lwp *, const void *, register_t *);
937
938 int svr4_32_sys__lwp_suspend(struct lwp *, const struct svr4_32_sys__lwp_suspend_args *, register_t *);
939
940 int svr4_32_sys__lwp_continue(struct lwp *, const struct svr4_32_sys__lwp_continue_args *, register_t *);
941
942 int svr4_32_sys__lwp_kill(struct lwp *, const struct svr4_32_sys__lwp_kill_args *, register_t *);
943
944 int svr4_sys__lwp_self(struct lwp *, const void *, register_t *);
945
946 int svr4_32_sys__lwp_getprivate(struct lwp *, const void *, register_t *);
947
948 int svr4_32_sys__lwp_setprivate(struct lwp *, const struct svr4_32_sys__lwp_setprivate_args *, register_t *);
949
950 int svr4_32_sys__lwp_wait(struct lwp *, const struct svr4_32_sys__lwp_wait_args *, register_t *);
951
952 int svr4_32_sys_pread(struct lwp *, const struct svr4_32_sys_pread_args *, register_t *);
953
954 int svr4_32_sys_pwrite(struct lwp *, const struct svr4_32_sys_pwrite_args *, register_t *);
955
956 int svr4_32_sys_llseek(struct lwp *, const struct svr4_32_sys_llseek_args *, register_t *);
957
958 int svr4_32_sys_acl(struct lwp *, const struct svr4_32_sys_acl_args *, register_t *);
959
960 int svr4_32_sys_auditsys(struct lwp *, const struct svr4_32_sys_auditsys_args *, register_t *);
961
962 int netbsd32_nanosleep(struct lwp *, const struct netbsd32_nanosleep_args *, register_t *);
963
964 int svr4_32_sys_facl(struct lwp *, const struct svr4_32_sys_facl_args *, register_t *);
965
966 int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
967
968 int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
969
970 int svr4_32_sys_schedctl(struct lwp *, const struct svr4_32_sys_schedctl_args *, register_t *);
971
972 int svr4_32_sys_resolvepath(struct lwp *, const struct svr4_32_sys_resolvepath_args *, register_t *);
973
974 int svr4_32_sys_getdents64(struct lwp *, const struct svr4_32_sys_getdents64_args *, register_t *);
975
976 int svr4_32_sys_mmap64(struct lwp *, const struct svr4_32_sys_mmap64_args *, register_t *);
977
978 int svr4_32_sys_stat64(struct lwp *, const struct svr4_32_sys_stat64_args *, register_t *);
979
980 int svr4_32_sys_lstat64(struct lwp *, const struct svr4_32_sys_lstat64_args *, register_t *);
981
982 int svr4_32_sys_fstat64(struct lwp *, const struct svr4_32_sys_fstat64_args *, register_t *);
983
984 int svr4_32_sys_statvfs64(struct lwp *, const struct svr4_32_sys_statvfs64_args *, register_t *);
985
986 int svr4_32_sys_fstatvfs64(struct lwp *, const struct svr4_32_sys_fstatvfs64_args *, register_t *);
987
988 int svr4_32_sys_setrlimit64(struct lwp *, const struct svr4_32_sys_setrlimit64_args *, register_t *);
989
990 int svr4_32_sys_getrlimit64(struct lwp *, const struct svr4_32_sys_getrlimit64_args *, register_t *);
991
992 int svr4_32_sys_pread64(struct lwp *, const struct svr4_32_sys_pread64_args *, register_t *);
993
994 int svr4_32_sys_pwrite64(struct lwp *, const struct svr4_32_sys_pwrite64_args *, register_t *);
995
996 #define svr4_32_sys_creat64 svr4_32_sys_creat
997 #define svr4_32_sys_creat64_args svr4_32_sys_creat_args
998 int svr4_32_sys_creat64(struct lwp *, const struct svr4_32_sys_creat64_args *, register_t *);
999
1000 #define svr4_32_sys_open64 svr4_32_sys_open
1001 #define svr4_32_sys_open64_args svr4_32_sys_open_args
1002 int svr4_32_sys_open64(struct lwp *, const struct svr4_32_sys_open64_args *, register_t *);
1003
1004 int svr4_32_sys_socket(struct lwp *, const struct svr4_32_sys_socket_args *, register_t *);
1005
1006 int netbsd32_socketpair(struct lwp *, const struct netbsd32_socketpair_args *, register_t *);
1007
1008 int netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
1009
1010 int netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
1011
1012 int compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
1013
1014 int netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
1015
1016 int netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
1017
1018 int compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
1019
1020 int compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
1021
1022 int compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
1023
1024 int compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
1025
1026 int compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
1027
1028 int netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
1029
1030 int compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
1031
1032 int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
1033
1034 int netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
1035
1036 int netbsd32_setsockopt(struct lwp *, const struct netbsd32_setsockopt_args *, register_t *);
1037
1038 #if defined(NTP) || !defined(_KERNEL)
1039 int netbsd32_ntp_adjtime(struct lwp *, const struct netbsd32_ntp_adjtime_args *, register_t *);
1040
1041 #else
1042 #endif
1043 #endif /* _SVR4_32_SYS_SYSCALLARGS_H_ */
Cache object: eeef2eab10d5ad89b4cf81029624cb12
|