Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / svr4 / svr4_syscallargs.h
blob6e29bc7b9188dccaa636887ee62f132285293d64
1 /* $NetBSD$ */
3 /*
4 * System call argument lists.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.61 2009/01/13 22:27:44 pooka Exp
8 */
10 #ifndef _SVR4_SYS_SYSCALLARGS_H_
11 #define _SVR4_SYS_SYSCALLARGS_H_
13 #define SVR4_SYS_MAXSYSARGS 8
15 #undef syscallarg
16 #define syscallarg(x) \
17 union { \
18 register_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register_t) - sizeof (x)]; \
25 x datum; \
26 } be; \
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= SVR4_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
34 struct sys_exit_args;
36 struct sys_read_args;
38 struct sys_write_args;
40 struct svr4_sys_open_args {
41 syscallarg(const char *) path;
42 syscallarg(int) flags;
43 syscallarg(int) mode;
45 check_syscall_args(svr4_sys_open)
47 struct sys_close_args;
49 struct svr4_sys_wait_args {
50 syscallarg(int *) status;
52 check_syscall_args(svr4_sys_wait)
54 struct svr4_sys_creat_args {
55 syscallarg(const char *) path;
56 syscallarg(int) mode;
58 check_syscall_args(svr4_sys_creat)
60 struct sys_link_args;
62 struct sys_unlink_args;
64 struct svr4_sys_execv_args {
65 syscallarg(const char *) path;
66 syscallarg(char **) argp;
68 check_syscall_args(svr4_sys_execv)
70 struct sys_chdir_args;
72 struct svr4_sys_time_args {
73 syscallarg(svr4_time_t *) t;
75 check_syscall_args(svr4_sys_time)
77 struct svr4_sys_mknod_args {
78 syscallarg(const char *) path;
79 syscallarg(int) mode;
80 syscallarg(int) dev;
82 check_syscall_args(svr4_sys_mknod)
84 struct sys_chmod_args;
86 struct sys___posix_chown_args;
88 struct svr4_sys_break_args {
89 syscallarg(void *) nsize;
91 check_syscall_args(svr4_sys_break)
93 struct svr4_sys_stat_args {
94 syscallarg(const char *) path;
95 syscallarg(struct svr4_stat *) ub;
97 check_syscall_args(svr4_sys_stat)
99 struct compat_43_sys_lseek_args;
101 struct sys_setuid_args;
103 struct svr4_sys_alarm_args {
104 syscallarg(unsigned) sec;
106 check_syscall_args(svr4_sys_alarm)
108 struct svr4_sys_fstat_args {
109 syscallarg(int) fd;
110 syscallarg(struct svr4_stat *) sb;
112 check_syscall_args(svr4_sys_fstat)
114 struct svr4_sys_utime_args {
115 syscallarg(const char *) path;
116 syscallarg(struct svr4_utimbuf *) ubuf;
118 check_syscall_args(svr4_sys_utime)
120 struct svr4_sys_access_args {
121 syscallarg(const char *) path;
122 syscallarg(int) flags;
124 check_syscall_args(svr4_sys_access)
126 struct svr4_sys_nice_args {
127 syscallarg(int) prio;
129 check_syscall_args(svr4_sys_nice)
131 struct svr4_sys_kill_args {
132 syscallarg(int) pid;
133 syscallarg(int) signum;
135 check_syscall_args(svr4_sys_kill)
137 struct svr4_sys_pgrpsys_args {
138 syscallarg(int) cmd;
139 syscallarg(int) pid;
140 syscallarg(int) pgid;
142 check_syscall_args(svr4_sys_pgrpsys)
144 struct sys_dup_args;
146 struct svr4_sys_times_args {
147 syscallarg(struct tms *) tp;
149 check_syscall_args(svr4_sys_times)
151 struct sys_setgid_args;
153 struct svr4_sys_signal_args {
154 syscallarg(int) signum;
155 syscallarg(svr4_sig_t) handler;
157 check_syscall_args(svr4_sys_signal)
158 #ifdef SYSVMSG
160 struct svr4_sys_msgsys_args {
161 syscallarg(int) what;
162 syscallarg(int) a2;
163 syscallarg(int) a3;
164 syscallarg(int) a4;
165 syscallarg(int) a5;
167 check_syscall_args(svr4_sys_msgsys)
168 #else
169 #endif
171 struct svr4_sys_sysarch_args {
172 syscallarg(int) op;
173 syscallarg(void *) a1;
175 check_syscall_args(svr4_sys_sysarch)
176 #ifdef SYSVSHM
178 struct svr4_sys_shmsys_args {
179 syscallarg(int) what;
180 syscallarg(int) a2;
181 syscallarg(int) a3;
182 syscallarg(int) a4;
184 check_syscall_args(svr4_sys_shmsys)
185 #else
186 #endif
187 #ifdef SYSVSEM
189 struct svr4_sys_semsys_args {
190 syscallarg(int) what;
191 syscallarg(int) a2;
192 syscallarg(int) a3;
193 syscallarg(int) a4;
194 syscallarg(int) a5;
196 check_syscall_args(svr4_sys_semsys)
197 #else
198 #endif
200 struct svr4_sys_ioctl_args {
201 syscallarg(int) fd;
202 syscallarg(u_long) com;
203 syscallarg(void *) data;
205 check_syscall_args(svr4_sys_ioctl)
207 struct svr4_sys_utssys_args {
208 syscallarg(void *) a1;
209 syscallarg(void *) a2;
210 syscallarg(int) sel;
211 syscallarg(void *) a3;
213 check_syscall_args(svr4_sys_utssys)
215 struct sys_fsync_args;
217 struct svr4_sys_execve_args {
218 syscallarg(const char *) path;
219 syscallarg(char **) argp;
220 syscallarg(char **) envp;
222 check_syscall_args(svr4_sys_execve)
224 struct sys_umask_args;
226 struct sys_chroot_args;
228 struct svr4_sys_fcntl_args {
229 syscallarg(int) fd;
230 syscallarg(int) cmd;
231 syscallarg(char *) arg;
233 check_syscall_args(svr4_sys_fcntl)
235 struct svr4_sys_ulimit_args {
236 syscallarg(int) cmd;
237 syscallarg(long) newlimit;
239 check_syscall_args(svr4_sys_ulimit)
241 struct sys_rmdir_args;
243 struct sys_mkdir_args;
245 struct svr4_sys_getdents_args {
246 syscallarg(int) fd;
247 syscallarg(char *) buf;
248 syscallarg(int) nbytes;
250 check_syscall_args(svr4_sys_getdents)
252 struct svr4_sys_getmsg_args {
253 syscallarg(int) fd;
254 syscallarg(struct svr4_strbuf *) ctl;
255 syscallarg(struct svr4_strbuf *) dat;
256 syscallarg(int *) flags;
258 check_syscall_args(svr4_sys_getmsg)
260 struct svr4_sys_putmsg_args {
261 syscallarg(int) fd;
262 syscallarg(struct svr4_strbuf *) ctl;
263 syscallarg(struct svr4_strbuf *) dat;
264 syscallarg(int) flags;
266 check_syscall_args(svr4_sys_putmsg)
268 struct sys_poll_args;
270 struct svr4_sys_lstat_args {
271 syscallarg(const char *) path;
272 syscallarg(struct svr4_stat *) ub;
274 check_syscall_args(svr4_sys_lstat)
276 struct sys_symlink_args;
278 struct sys_readlink_args;
280 struct sys_getgroups_args;
282 struct sys_setgroups_args;
284 struct sys_fchmod_args;
286 struct sys___posix_fchown_args;
288 struct svr4_sys_sigprocmask_args {
289 syscallarg(int) how;
290 syscallarg(const svr4_sigset_t *) set;
291 syscallarg(svr4_sigset_t *) oset;
293 check_syscall_args(svr4_sys_sigprocmask)
295 struct svr4_sys_sigsuspend_args {
296 syscallarg(const svr4_sigset_t *) set;
298 check_syscall_args(svr4_sys_sigsuspend)
300 struct svr4_sys_sigaltstack_args {
301 syscallarg(const struct svr4_sigaltstack *) nss;
302 syscallarg(struct svr4_sigaltstack *) oss;
304 check_syscall_args(svr4_sys_sigaltstack)
306 struct svr4_sys_sigaction_args {
307 syscallarg(int) signum;
308 syscallarg(const struct svr4_sigaction *) nsa;
309 syscallarg(struct svr4_sigaction *) osa;
311 check_syscall_args(svr4_sys_sigaction)
313 struct svr4_sys_sigpending_args {
314 syscallarg(int) what;
315 syscallarg(svr4_sigset_t *) set;
317 check_syscall_args(svr4_sys_sigpending)
319 struct svr4_sys_context_args {
320 syscallarg(int) func;
321 syscallarg(struct svr4_ucontext *) uc;
323 check_syscall_args(svr4_sys_context)
325 struct svr4_sys_statvfs_args {
326 syscallarg(const char *) path;
327 syscallarg(struct svr4_statvfs *) fs;
329 check_syscall_args(svr4_sys_statvfs)
331 struct svr4_sys_fstatvfs_args {
332 syscallarg(int) fd;
333 syscallarg(struct svr4_statvfs *) fs;
335 check_syscall_args(svr4_sys_fstatvfs)
337 struct svr4_sys_waitsys_args {
338 syscallarg(int) grp;
339 syscallarg(int) id;
340 syscallarg(union svr4_siginfo *) info;
341 syscallarg(int) options;
343 check_syscall_args(svr4_sys_waitsys)
345 struct svr4_sys_hrtsys_args {
346 syscallarg(int) cmd;
347 syscallarg(int) fun;
348 syscallarg(int) sub;
349 syscallarg(void *) rv1;
350 syscallarg(void *) rv2;
352 check_syscall_args(svr4_sys_hrtsys)
354 struct svr4_sys_pathconf_args {
355 syscallarg(const char *) path;
356 syscallarg(int) name;
358 check_syscall_args(svr4_sys_pathconf)
360 struct svr4_sys_mmap_args {
361 syscallarg(void *) addr;
362 syscallarg(svr4_size_t) len;
363 syscallarg(int) prot;
364 syscallarg(int) flags;
365 syscallarg(int) fd;
366 syscallarg(svr4_off_t) pos;
368 check_syscall_args(svr4_sys_mmap)
370 struct sys_mprotect_args;
372 struct sys_munmap_args;
374 struct svr4_sys_fpathconf_args {
375 syscallarg(int) fd;
376 syscallarg(int) name;
378 check_syscall_args(svr4_sys_fpathconf)
380 struct sys_fchdir_args;
382 struct sys_readv_args;
384 struct sys_writev_args;
386 struct svr4_sys_xstat_args {
387 syscallarg(int) two;
388 syscallarg(const char *) path;
389 syscallarg(struct svr4_xstat *) ub;
391 check_syscall_args(svr4_sys_xstat)
393 struct svr4_sys_lxstat_args {
394 syscallarg(int) two;
395 syscallarg(const char *) path;
396 syscallarg(struct svr4_xstat *) ub;
398 check_syscall_args(svr4_sys_lxstat)
400 struct svr4_sys_fxstat_args {
401 syscallarg(int) two;
402 syscallarg(int) fd;
403 syscallarg(struct svr4_xstat *) sb;
405 check_syscall_args(svr4_sys_fxstat)
407 struct svr4_sys_xmknod_args {
408 syscallarg(int) two;
409 syscallarg(char *) path;
410 syscallarg(svr4_mode_t) mode;
411 syscallarg(svr4_dev_t) dev;
413 check_syscall_args(svr4_sys_xmknod)
415 struct svr4_sys_setrlimit_args {
416 syscallarg(int) which;
417 syscallarg(const struct svr4_rlimit *) rlp;
419 check_syscall_args(svr4_sys_setrlimit)
421 struct svr4_sys_getrlimit_args {
422 syscallarg(int) which;
423 syscallarg(struct svr4_rlimit *) rlp;
425 check_syscall_args(svr4_sys_getrlimit)
427 struct sys___posix_lchown_args;
429 struct svr4_sys_memcntl_args {
430 syscallarg(void *) addr;
431 syscallarg(svr4_size_t) len;
432 syscallarg(int) cmd;
433 syscallarg(void *) arg;
434 syscallarg(int) attr;
435 syscallarg(int) mask;
437 check_syscall_args(svr4_sys_memcntl)
439 struct sys___posix_rename_args;
441 struct svr4_sys_uname_args {
442 syscallarg(struct svr4_utsname *) name;
443 syscallarg(int) dummy;
445 check_syscall_args(svr4_sys_uname)
447 struct sys_setegid_args;
449 struct svr4_sys_sysconfig_args {
450 syscallarg(int) name;
452 check_syscall_args(svr4_sys_sysconfig)
454 struct compat_50_sys_adjtime_args;
456 struct svr4_sys_systeminfo_args {
457 syscallarg(int) what;
458 syscallarg(char *) buf;
459 syscallarg(long) len;
461 check_syscall_args(svr4_sys_systeminfo)
463 struct sys_seteuid_args;
465 struct svr4_sys__lwp_info_args {
466 syscallarg(struct svr4_lwpinfo *) lwpinfo;
468 check_syscall_args(svr4_sys__lwp_info)
470 struct sys_fchroot_args;
472 struct svr4_sys_utimes_args {
473 syscallarg(const char *) path;
474 syscallarg(struct timeval50 *) tptr;
476 check_syscall_args(svr4_sys_utimes)
478 struct svr4_sys_gettimeofday_args {
479 syscallarg(struct timeval50 *) tp;
481 check_syscall_args(svr4_sys_gettimeofday)
483 struct compat_50_sys_getitimer_args;
485 struct compat_50_sys_setitimer_args;
487 struct svr4_sys__lwp_create_args {
488 syscallarg(svr4_ucontext_t *) uc;
489 syscallarg(unsigned long) flags;
490 syscallarg(svr4_lwpid_t *) lwpid;
492 check_syscall_args(svr4_sys__lwp_create)
494 struct svr4_sys__lwp_suspend_args {
495 syscallarg(svr4_lwpid_t) lwpid;
497 check_syscall_args(svr4_sys__lwp_suspend)
499 struct svr4_sys__lwp_continue_args {
500 syscallarg(svr4_lwpid_t) lwpid;
502 check_syscall_args(svr4_sys__lwp_continue)
504 struct svr4_sys__lwp_kill_args {
505 syscallarg(svr4_lwpid_t) lwpid;
506 syscallarg(int) signum;
508 check_syscall_args(svr4_sys__lwp_kill)
510 struct svr4_sys__lwp_setprivate_args {
511 syscallarg(void *) buffer;
513 check_syscall_args(svr4_sys__lwp_setprivate)
515 struct svr4_sys__lwp_wait_args {
516 syscallarg(svr4_lwpid_t) wait_for;
517 syscallarg(svr4_lwpid_t *) departed_lwp;
519 check_syscall_args(svr4_sys__lwp_wait)
521 struct svr4_sys_pread_args {
522 syscallarg(int) fd;
523 syscallarg(void *) buf;
524 syscallarg(size_t) nbyte;
525 syscallarg(svr4_off_t) off;
527 check_syscall_args(svr4_sys_pread)
529 struct svr4_sys_pwrite_args {
530 syscallarg(int) fd;
531 syscallarg(const void *) buf;
532 syscallarg(size_t) nbyte;
533 syscallarg(svr4_off_t) off;
535 check_syscall_args(svr4_sys_pwrite)
537 struct svr4_sys_llseek_args {
538 syscallarg(int) fd;
539 syscallarg(long) offset1;
540 syscallarg(long) offset2;
541 syscallarg(int) whence;
543 check_syscall_args(svr4_sys_llseek)
545 struct svr4_sys_acl_args {
546 syscallarg(char *) path;
547 syscallarg(int) cmd;
548 syscallarg(int) num;
549 syscallarg(struct svr4_aclent *) buf;
551 check_syscall_args(svr4_sys_acl)
553 struct svr4_sys_auditsys_args {
554 syscallarg(int) code;
555 syscallarg(int) a1;
556 syscallarg(int) a2;
557 syscallarg(int) a3;
558 syscallarg(int) a4;
559 syscallarg(int) a5;
561 check_syscall_args(svr4_sys_auditsys)
563 struct compat_50_sys_nanosleep_args;
565 struct svr4_sys_facl_args {
566 syscallarg(int) fd;
567 syscallarg(int) cmd;
568 syscallarg(int) num;
569 syscallarg(struct svr4_aclent *) buf;
571 check_syscall_args(svr4_sys_facl)
573 struct sys_setreuid_args;
575 struct sys_setregid_args;
577 struct svr4_sys_schedctl_args {
578 syscallarg(unsigned int) x;
579 syscallarg(int) y;
580 syscallarg(void **) z;
582 check_syscall_args(svr4_sys_schedctl)
584 struct svr4_sys_resolvepath_args {
585 syscallarg(const char *) path;
586 syscallarg(char *) buf;
587 syscallarg(size_t) bufsiz;
589 check_syscall_args(svr4_sys_resolvepath)
591 struct svr4_sys_getdents64_args {
592 syscallarg(int) fd;
593 syscallarg(struct svr4_dirent64 *) dp;
594 syscallarg(int) nbytes;
596 check_syscall_args(svr4_sys_getdents64)
598 struct svr4_sys_mmap64_args {
599 syscallarg(void *) addr;
600 syscallarg(svr4_size_t) len;
601 syscallarg(int) prot;
602 syscallarg(int) flags;
603 syscallarg(int) fd;
604 syscallarg(svr4_off64_t) pos;
606 check_syscall_args(svr4_sys_mmap64)
608 struct svr4_sys_stat64_args {
609 syscallarg(const char *) path;
610 syscallarg(struct svr4_stat64 *) sb;
612 check_syscall_args(svr4_sys_stat64)
614 struct svr4_sys_lstat64_args {
615 syscallarg(const char *) path;
616 syscallarg(struct svr4_stat64 *) sb;
618 check_syscall_args(svr4_sys_lstat64)
620 struct svr4_sys_fstat64_args {
621 syscallarg(int) fd;
622 syscallarg(struct svr4_stat64 *) sb;
624 check_syscall_args(svr4_sys_fstat64)
626 struct svr4_sys_statvfs64_args {
627 syscallarg(const char *) path;
628 syscallarg(struct svr4_statvfs64 *) fs;
630 check_syscall_args(svr4_sys_statvfs64)
632 struct svr4_sys_fstatvfs64_args {
633 syscallarg(int) fd;
634 syscallarg(struct svr4_statvfs64 *) fs;
636 check_syscall_args(svr4_sys_fstatvfs64)
638 struct svr4_sys_setrlimit64_args {
639 syscallarg(int) which;
640 syscallarg(const struct svr4_rlimit64 *) rlp;
642 check_syscall_args(svr4_sys_setrlimit64)
644 struct svr4_sys_getrlimit64_args {
645 syscallarg(int) which;
646 syscallarg(struct svr4_rlimit64 *) rlp;
648 check_syscall_args(svr4_sys_getrlimit64)
650 struct svr4_sys_pread64_args {
651 syscallarg(int) fd;
652 syscallarg(void *) buf;
653 syscallarg(size_t) nbyte;
654 syscallarg(svr4_off64_t) off;
656 check_syscall_args(svr4_sys_pread64)
658 struct svr4_sys_pwrite64_args {
659 syscallarg(int) fd;
660 syscallarg(const void *) buf;
661 syscallarg(size_t) nbyte;
662 syscallarg(svr4_off64_t) off;
664 check_syscall_args(svr4_sys_pwrite64)
666 struct svr4_sys_creat64_args {
667 syscallarg(char *) path;
668 syscallarg(int) mode;
670 check_syscall_args(svr4_sys_creat64)
672 struct svr4_sys_open64_args {
673 syscallarg(char *) path;
674 syscallarg(int) flags;
675 syscallarg(int) mode;
677 check_syscall_args(svr4_sys_open64)
679 struct svr4_sys_socket_args {
680 syscallarg(int) domain;
681 syscallarg(int) type;
682 syscallarg(int) protocol;
684 check_syscall_args(svr4_sys_socket)
686 struct sys_socketpair_args;
688 struct sys_bind_args;
690 struct sys_listen_args;
692 struct compat_43_sys_accept_args;
694 struct sys_connect_args;
696 struct sys_shutdown_args;
698 struct compat_43_sys_recv_args;
700 struct compat_43_sys_recvfrom_args;
702 struct compat_43_sys_recvmsg_args;
704 struct compat_43_sys_send_args;
706 struct compat_43_sys_sendmsg_args;
708 struct sys_sendto_args;
710 struct compat_43_sys_getpeername_args;
712 struct compat_43_sys_getsockname_args;
714 struct sys_getsockopt_args;
716 struct sys_setsockopt_args;
717 #if defined(NTP) || !defined(_KERNEL)
719 struct sys_ntp_adjtime_args;
720 #else
721 #endif
724 * System call prototypes.
727 int sys_nosys(struct lwp *, const void *, register_t *);
729 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
731 int sys_fork(struct lwp *, const void *, register_t *);
733 int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
735 int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
737 int svr4_sys_open(struct lwp *, const struct svr4_sys_open_args *, register_t *);
739 int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
741 int svr4_sys_wait(struct lwp *, const struct svr4_sys_wait_args *, register_t *);
743 int svr4_sys_creat(struct lwp *, const struct svr4_sys_creat_args *, register_t *);
745 int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
747 int sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
749 int svr4_sys_execv(struct lwp *, const struct svr4_sys_execv_args *, register_t *);
751 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
753 int svr4_sys_time(struct lwp *, const struct svr4_sys_time_args *, register_t *);
755 int svr4_sys_mknod(struct lwp *, const struct svr4_sys_mknod_args *, register_t *);
757 int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
759 int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
761 int svr4_sys_break(struct lwp *, const struct svr4_sys_break_args *, register_t *);
763 int svr4_sys_stat(struct lwp *, const struct svr4_sys_stat_args *, register_t *);
765 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
767 int sys_getpid(struct lwp *, const void *, register_t *);
769 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
771 int sys_getuid_with_euid(struct lwp *, const void *, register_t *);
773 int svr4_sys_alarm(struct lwp *, const struct svr4_sys_alarm_args *, register_t *);
775 int svr4_sys_fstat(struct lwp *, const struct svr4_sys_fstat_args *, register_t *);
777 int svr4_sys_pause(struct lwp *, const void *, register_t *);
779 int svr4_sys_utime(struct lwp *, const struct svr4_sys_utime_args *, register_t *);
781 int svr4_sys_access(struct lwp *, const struct svr4_sys_access_args *, register_t *);
783 int svr4_sys_nice(struct lwp *, const struct svr4_sys_nice_args *, register_t *);
785 int sys_sync(struct lwp *, const void *, register_t *);
787 int svr4_sys_kill(struct lwp *, const struct svr4_sys_kill_args *, register_t *);
789 int svr4_sys_pgrpsys(struct lwp *, const struct svr4_sys_pgrpsys_args *, register_t *);
791 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
793 int sys_pipe(struct lwp *, const void *, register_t *);
795 int svr4_sys_times(struct lwp *, const struct svr4_sys_times_args *, register_t *);
797 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
799 int sys_getgid_with_egid(struct lwp *, const void *, register_t *);
801 int svr4_sys_signal(struct lwp *, const struct svr4_sys_signal_args *, register_t *);
803 #ifdef SYSVMSG
804 int svr4_sys_msgsys(struct lwp *, const struct svr4_sys_msgsys_args *, register_t *);
806 #else
807 #endif
808 int svr4_sys_sysarch(struct lwp *, const struct svr4_sys_sysarch_args *, register_t *);
810 #ifdef SYSVSHM
811 int svr4_sys_shmsys(struct lwp *, const struct svr4_sys_shmsys_args *, register_t *);
813 #else
814 #endif
815 #ifdef SYSVSEM
816 int svr4_sys_semsys(struct lwp *, const struct svr4_sys_semsys_args *, register_t *);
818 #else
819 #endif
820 int svr4_sys_ioctl(struct lwp *, const struct svr4_sys_ioctl_args *, register_t *);
822 int svr4_sys_utssys(struct lwp *, const struct svr4_sys_utssys_args *, register_t *);
824 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
826 int svr4_sys_execve(struct lwp *, const struct svr4_sys_execve_args *, register_t *);
828 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
830 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
832 int svr4_sys_fcntl(struct lwp *, const struct svr4_sys_fcntl_args *, register_t *);
834 int svr4_sys_ulimit(struct lwp *, const struct svr4_sys_ulimit_args *, register_t *);
836 int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
838 int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
840 int svr4_sys_getdents(struct lwp *, const struct svr4_sys_getdents_args *, register_t *);
842 int svr4_sys_getmsg(struct lwp *, const struct svr4_sys_getmsg_args *, register_t *);
844 int svr4_sys_putmsg(struct lwp *, const struct svr4_sys_putmsg_args *, register_t *);
846 int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
848 int svr4_sys_lstat(struct lwp *, const struct svr4_sys_lstat_args *, register_t *);
850 int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
852 int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
854 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
856 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
858 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
860 int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
862 int svr4_sys_sigprocmask(struct lwp *, const struct svr4_sys_sigprocmask_args *, register_t *);
864 int svr4_sys_sigsuspend(struct lwp *, const struct svr4_sys_sigsuspend_args *, register_t *);
866 int svr4_sys_sigaltstack(struct lwp *, const struct svr4_sys_sigaltstack_args *, register_t *);
868 int svr4_sys_sigaction(struct lwp *, const struct svr4_sys_sigaction_args *, register_t *);
870 int svr4_sys_sigpending(struct lwp *, const struct svr4_sys_sigpending_args *, register_t *);
872 int svr4_sys_context(struct lwp *, const struct svr4_sys_context_args *, register_t *);
874 int svr4_sys_statvfs(struct lwp *, const struct svr4_sys_statvfs_args *, register_t *);
876 int svr4_sys_fstatvfs(struct lwp *, const struct svr4_sys_fstatvfs_args *, register_t *);
878 int svr4_sys_waitsys(struct lwp *, const struct svr4_sys_waitsys_args *, register_t *);
880 int svr4_sys_hrtsys(struct lwp *, const struct svr4_sys_hrtsys_args *, register_t *);
882 int svr4_sys_pathconf(struct lwp *, const struct svr4_sys_pathconf_args *, register_t *);
884 int svr4_sys_mmap(struct lwp *, const struct svr4_sys_mmap_args *, register_t *);
886 int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
888 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
890 int svr4_sys_fpathconf(struct lwp *, const struct svr4_sys_fpathconf_args *, register_t *);
892 int sys_vfork(struct lwp *, const void *, register_t *);
894 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
896 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
898 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
900 int svr4_sys_xstat(struct lwp *, const struct svr4_sys_xstat_args *, register_t *);
902 int svr4_sys_lxstat(struct lwp *, const struct svr4_sys_lxstat_args *, register_t *);
904 int svr4_sys_fxstat(struct lwp *, const struct svr4_sys_fxstat_args *, register_t *);
906 int svr4_sys_xmknod(struct lwp *, const struct svr4_sys_xmknod_args *, register_t *);
908 int svr4_sys_setrlimit(struct lwp *, const struct svr4_sys_setrlimit_args *, register_t *);
910 int svr4_sys_getrlimit(struct lwp *, const struct svr4_sys_getrlimit_args *, register_t *);
912 int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
914 int svr4_sys_memcntl(struct lwp *, const struct svr4_sys_memcntl_args *, register_t *);
916 int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
918 int svr4_sys_uname(struct lwp *, const struct svr4_sys_uname_args *, register_t *);
920 int sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
922 int svr4_sys_sysconfig(struct lwp *, const struct svr4_sys_sysconfig_args *, register_t *);
924 int compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
926 int svr4_sys_systeminfo(struct lwp *, const struct svr4_sys_systeminfo_args *, register_t *);
928 int sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
930 int svr4_sys__lwp_info(struct lwp *, const struct svr4_sys__lwp_info_args *, register_t *);
932 int sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
934 int svr4_sys_utimes(struct lwp *, const struct svr4_sys_utimes_args *, register_t *);
936 int svr4_sys_vhangup(struct lwp *, const void *, register_t *);
938 int svr4_sys_gettimeofday(struct lwp *, const struct svr4_sys_gettimeofday_args *, register_t *);
940 int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
942 int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
944 int svr4_sys__lwp_create(struct lwp *, const struct svr4_sys__lwp_create_args *, register_t *);
946 int svr4_sys__lwp_exit(struct lwp *, const void *, register_t *);
948 int svr4_sys__lwp_suspend(struct lwp *, const struct svr4_sys__lwp_suspend_args *, register_t *);
950 int svr4_sys__lwp_continue(struct lwp *, const struct svr4_sys__lwp_continue_args *, register_t *);
952 int svr4_sys__lwp_kill(struct lwp *, const struct svr4_sys__lwp_kill_args *, register_t *);
954 int svr4_sys__lwp_self(struct lwp *, const void *, register_t *);
956 int svr4_sys__lwp_getprivate(struct lwp *, const void *, register_t *);
958 int svr4_sys__lwp_setprivate(struct lwp *, const struct svr4_sys__lwp_setprivate_args *, register_t *);
960 int svr4_sys__lwp_wait(struct lwp *, const struct svr4_sys__lwp_wait_args *, register_t *);
962 int svr4_sys_pread(struct lwp *, const struct svr4_sys_pread_args *, register_t *);
964 int svr4_sys_pwrite(struct lwp *, const struct svr4_sys_pwrite_args *, register_t *);
966 int svr4_sys_llseek(struct lwp *, const struct svr4_sys_llseek_args *, register_t *);
968 int svr4_sys_acl(struct lwp *, const struct svr4_sys_acl_args *, register_t *);
970 int svr4_sys_auditsys(struct lwp *, const struct svr4_sys_auditsys_args *, register_t *);
972 int compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
974 int svr4_sys_facl(struct lwp *, const struct svr4_sys_facl_args *, register_t *);
976 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
978 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
980 int svr4_sys_schedctl(struct lwp *, const struct svr4_sys_schedctl_args *, register_t *);
982 int svr4_sys_resolvepath(struct lwp *, const struct svr4_sys_resolvepath_args *, register_t *);
984 int svr4_sys_getdents64(struct lwp *, const struct svr4_sys_getdents64_args *, register_t *);
986 int svr4_sys_mmap64(struct lwp *, const struct svr4_sys_mmap64_args *, register_t *);
988 int svr4_sys_stat64(struct lwp *, const struct svr4_sys_stat64_args *, register_t *);
990 int svr4_sys_lstat64(struct lwp *, const struct svr4_sys_lstat64_args *, register_t *);
992 int svr4_sys_fstat64(struct lwp *, const struct svr4_sys_fstat64_args *, register_t *);
994 int svr4_sys_statvfs64(struct lwp *, const struct svr4_sys_statvfs64_args *, register_t *);
996 int svr4_sys_fstatvfs64(struct lwp *, const struct svr4_sys_fstatvfs64_args *, register_t *);
998 int svr4_sys_setrlimit64(struct lwp *, const struct svr4_sys_setrlimit64_args *, register_t *);
1000 int svr4_sys_getrlimit64(struct lwp *, const struct svr4_sys_getrlimit64_args *, register_t *);
1002 int svr4_sys_pread64(struct lwp *, const struct svr4_sys_pread64_args *, register_t *);
1004 int svr4_sys_pwrite64(struct lwp *, const struct svr4_sys_pwrite64_args *, register_t *);
1006 int svr4_sys_creat64(struct lwp *, const struct svr4_sys_creat64_args *, register_t *);
1008 int svr4_sys_open64(struct lwp *, const struct svr4_sys_open64_args *, register_t *);
1010 int svr4_sys_socket(struct lwp *, const struct svr4_sys_socket_args *, register_t *);
1012 int sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
1014 int sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
1016 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1018 int compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
1020 int sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
1022 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
1024 int compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
1026 int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
1028 int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
1030 int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
1032 int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
1034 int sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
1036 int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
1038 int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
1040 int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
1042 int sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
1044 #if defined(NTP) || !defined(_KERNEL)
1045 int sys_ntp_adjtime(struct lwp *, const struct sys_ntp_adjtime_args *, register_t *);
1047 #else
1048 #endif
1049 #endif /* _SVR4_SYS_SYSCALLARGS_H_ */