2 * System call prototypes.
4 * DO NOT EDIT-- this file is automatically generated.
7 #ifndef _SYS_SYSPROTO_H_
8 #define _SYS_SYSPROTO_H_
10 #include <sys/select.h>
12 #include <sys/signal.h>
16 #include <sys/msgport.h>
18 #include <sys/sysmsg.h>
20 #include <sys/syslink.h>
22 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
23 0 : sizeof(register_t) - sizeof(t))
37 int rval
; char rval_
[PAD_(int)];
49 int fd
; char fd_
[PAD_(int)];
50 void * buf
; char buf_
[PAD_(void *)];
51 size_t nbyte
; char nbyte_
[PAD_(size_t)];
57 int fd
; char fd_
[PAD_(int)];
58 const void * buf
; char buf_
[PAD_(const void *)];
59 size_t nbyte
; char nbyte_
[PAD_(size_t)];
65 char * path
; char path_
[PAD_(char *)];
66 int flags
; char flags_
[PAD_(int)];
67 int mode
; char mode_
[PAD_(int)];
73 int fd
; char fd_
[PAD_(int)];
79 int pid
; char pid_
[PAD_(int)];
80 int * status
; char status_
[PAD_(int *)];
81 int options
; char options_
[PAD_(int)];
82 struct rusage
* rusage
; char rusage_
[PAD_(struct rusage
*)];
88 char * path
; char path_
[PAD_(char *)];
89 char * link
; char link_
[PAD_(char *)];
95 char * path
; char path_
[PAD_(char *)];
101 char * path
; char path_
[PAD_(char *)];
105 struct sysmsg sysmsg
;
107 int fd
; char fd_
[PAD_(int)];
111 struct sysmsg sysmsg
;
113 char * path
; char path_
[PAD_(char *)];
114 int mode
; char mode_
[PAD_(int)];
115 int dev
; char dev_
[PAD_(int)];
119 struct sysmsg sysmsg
;
121 char * path
; char path_
[PAD_(char *)];
122 int mode
; char mode_
[PAD_(int)];
126 struct sysmsg sysmsg
;
128 char * path
; char path_
[PAD_(char *)];
129 int uid
; char uid_
[PAD_(int)];
130 int gid
; char gid_
[PAD_(int)];
134 struct sysmsg sysmsg
;
136 char * nsize
; char nsize_
[PAD_(char *)];
138 struct getfsstat_args
{
140 struct sysmsg sysmsg
;
142 struct statfs
* buf
; char buf_
[PAD_(struct statfs
*)];
143 long bufsize
; char bufsize_
[PAD_(long)];
144 int flags
; char flags_
[PAD_(int)];
148 struct sysmsg sysmsg
;
154 struct sysmsg sysmsg
;
156 char * type
; char type_
[PAD_(char *)];
157 char * path
; char path_
[PAD_(char *)];
158 int flags
; char flags_
[PAD_(int)];
159 caddr_t data
; char data_
[PAD_(caddr_t
)];
161 struct unmount_args
{
163 struct sysmsg sysmsg
;
165 char * path
; char path_
[PAD_(char *)];
166 int flags
; char flags_
[PAD_(int)];
170 struct sysmsg sysmsg
;
172 uid_t uid
; char uid_
[PAD_(uid_t
)];
176 struct sysmsg sysmsg
;
180 struct geteuid_args
{
182 struct sysmsg sysmsg
;
188 struct sysmsg sysmsg
;
190 int req
; char req_
[PAD_(int)];
191 pid_t pid
; char pid_
[PAD_(pid_t
)];
192 caddr_t addr
; char addr_
[PAD_(caddr_t
)];
193 int data
; char data_
[PAD_(int)];
195 struct recvmsg_args
{
197 struct sysmsg sysmsg
;
199 int s
; char s_
[PAD_(int)];
200 struct msghdr
* msg
; char msg_
[PAD_(struct msghdr
*)];
201 int flags
; char flags_
[PAD_(int)];
203 struct sendmsg_args
{
205 struct sysmsg sysmsg
;
207 int s
; char s_
[PAD_(int)];
208 caddr_t msg
; char msg_
[PAD_(caddr_t
)];
209 int flags
; char flags_
[PAD_(int)];
211 struct recvfrom_args
{
213 struct sysmsg sysmsg
;
215 int s
; char s_
[PAD_(int)];
216 caddr_t buf
; char buf_
[PAD_(caddr_t
)];
217 size_t len
; char len_
[PAD_(size_t)];
218 int flags
; char flags_
[PAD_(int)];
219 caddr_t from
; char from_
[PAD_(caddr_t
)];
220 int * fromlenaddr
; char fromlenaddr_
[PAD_(int *)];
224 struct sysmsg sysmsg
;
226 int s
; char s_
[PAD_(int)];
227 caddr_t name
; char name_
[PAD_(caddr_t
)];
228 int * anamelen
; char anamelen_
[PAD_(int *)];
230 struct getpeername_args
{
232 struct sysmsg sysmsg
;
234 int fdes
; char fdes_
[PAD_(int)];
235 caddr_t asa
; char asa_
[PAD_(caddr_t
)];
236 int * alen
; char alen_
[PAD_(int *)];
238 struct getsockname_args
{
240 struct sysmsg sysmsg
;
242 int fdes
; char fdes_
[PAD_(int)];
243 caddr_t asa
; char asa_
[PAD_(caddr_t
)];
244 int * alen
; char alen_
[PAD_(int *)];
248 struct sysmsg sysmsg
;
250 char * path
; char path_
[PAD_(char *)];
251 int flags
; char flags_
[PAD_(int)];
253 struct chflags_args
{
255 struct sysmsg sysmsg
;
257 char * path
; char path_
[PAD_(char *)];
258 int flags
; char flags_
[PAD_(int)];
260 struct fchflags_args
{
262 struct sysmsg sysmsg
;
264 int fd
; char fd_
[PAD_(int)];
265 int flags
; char flags_
[PAD_(int)];
269 struct sysmsg sysmsg
;
275 struct sysmsg sysmsg
;
277 int pid
; char pid_
[PAD_(int)];
278 int signum
; char signum_
[PAD_(int)];
280 struct getppid_args
{
282 struct sysmsg sysmsg
;
288 struct sysmsg sysmsg
;
290 u_int fd
; char fd_
[PAD_(u_int
)];
294 struct sysmsg sysmsg
;
298 struct getegid_args
{
300 struct sysmsg sysmsg
;
306 struct sysmsg sysmsg
;
308 caddr_t samples
; char samples_
[PAD_(caddr_t
)];
309 size_t size
; char size_
[PAD_(size_t)];
310 size_t offset
; char offset_
[PAD_(size_t)];
311 u_int scale
; char scale_
[PAD_(u_int
)];
315 struct sysmsg sysmsg
;
317 const char * fname
; char fname_
[PAD_(const char *)];
318 int ops
; char ops_
[PAD_(int)];
319 int facs
; char facs_
[PAD_(int)];
320 int pid
; char pid_
[PAD_(int)];
324 struct sysmsg sysmsg
;
328 struct getlogin_args
{
330 struct sysmsg sysmsg
;
332 char * namebuf
; char namebuf_
[PAD_(char *)];
333 u_int namelen
; char namelen_
[PAD_(u_int
)];
335 struct setlogin_args
{
337 struct sysmsg sysmsg
;
339 char * namebuf
; char namebuf_
[PAD_(char *)];
343 struct sysmsg sysmsg
;
345 char * path
; char path_
[PAD_(char *)];
347 struct sigaltstack_args
{
349 struct sysmsg sysmsg
;
351 stack_t
* ss
; char ss_
[PAD_(stack_t
*)];
352 stack_t
* oss
; char oss_
[PAD_(stack_t
*)];
356 struct sysmsg sysmsg
;
358 int fd
; char fd_
[PAD_(int)];
359 u_long com
; char com_
[PAD_(u_long
)];
360 caddr_t data
; char data_
[PAD_(caddr_t
)];
364 struct sysmsg sysmsg
;
366 int opt
; char opt_
[PAD_(int)];
370 struct sysmsg sysmsg
;
372 char * path
; char path_
[PAD_(char *)];
374 struct symlink_args
{
376 struct sysmsg sysmsg
;
378 char * path
; char path_
[PAD_(char *)];
379 char * link
; char link_
[PAD_(char *)];
381 struct readlink_args
{
383 struct sysmsg sysmsg
;
385 char * path
; char path_
[PAD_(char *)];
386 char * buf
; char buf_
[PAD_(char *)];
387 int count
; char count_
[PAD_(int)];
391 struct sysmsg sysmsg
;
393 char * fname
; char fname_
[PAD_(char *)];
394 char ** argv
; char argv_
[PAD_(char **)];
395 char ** envv
; char envv_
[PAD_(char **)];
399 struct sysmsg sysmsg
;
401 int newmask
; char newmask_
[PAD_(int)];
405 struct sysmsg sysmsg
;
407 char * path
; char path_
[PAD_(char *)];
409 struct getpagesize_args
{
411 struct sysmsg sysmsg
;
417 struct sysmsg sysmsg
;
419 void * addr
; char addr_
[PAD_(void *)];
420 size_t len
; char len_
[PAD_(size_t)];
421 int flags
; char flags_
[PAD_(int)];
425 struct sysmsg sysmsg
;
431 struct sysmsg sysmsg
;
433 int incr
; char incr_
[PAD_(int)];
437 struct sysmsg sysmsg
;
439 int incr
; char incr_
[PAD_(int)];
441 struct ovadvise_args
{
443 struct sysmsg sysmsg
;
445 int anom
; char anom_
[PAD_(int)];
449 struct sysmsg sysmsg
;
451 void * addr
; char addr_
[PAD_(void *)];
452 size_t len
; char len_
[PAD_(size_t)];
454 struct mprotect_args
{
456 struct sysmsg sysmsg
;
458 const void * addr
; char addr_
[PAD_(const void *)];
459 size_t len
; char len_
[PAD_(size_t)];
460 int prot
; char prot_
[PAD_(int)];
462 struct madvise_args
{
464 struct sysmsg sysmsg
;
466 void * addr
; char addr_
[PAD_(void *)];
467 size_t len
; char len_
[PAD_(size_t)];
468 int behav
; char behav_
[PAD_(int)];
470 struct mincore_args
{
472 struct sysmsg sysmsg
;
474 const void * addr
; char addr_
[PAD_(const void *)];
475 size_t len
; char len_
[PAD_(size_t)];
476 char * vec
; char vec_
[PAD_(char *)];
478 struct getgroups_args
{
480 struct sysmsg sysmsg
;
482 u_int gidsetsize
; char gidsetsize_
[PAD_(u_int
)];
483 gid_t
* gidset
; char gidset_
[PAD_(gid_t
*)];
485 struct setgroups_args
{
487 struct sysmsg sysmsg
;
489 u_int gidsetsize
; char gidsetsize_
[PAD_(u_int
)];
490 gid_t
* gidset
; char gidset_
[PAD_(gid_t
*)];
492 struct getpgrp_args
{
494 struct sysmsg sysmsg
;
498 struct setpgid_args
{
500 struct sysmsg sysmsg
;
502 int pid
; char pid_
[PAD_(int)];
503 int pgid
; char pgid_
[PAD_(int)];
505 struct setitimer_args
{
507 struct sysmsg sysmsg
;
509 u_int which
; char which_
[PAD_(u_int
)];
510 struct itimerval
* itv
; char itv_
[PAD_(struct itimerval
*)];
511 struct itimerval
* oitv
; char oitv_
[PAD_(struct itimerval
*)];
515 struct sysmsg sysmsg
;
521 struct sysmsg sysmsg
;
523 char * name
; char name_
[PAD_(char *)];
525 struct getitimer_args
{
527 struct sysmsg sysmsg
;
529 u_int which
; char which_
[PAD_(u_int
)];
530 struct itimerval
* itv
; char itv_
[PAD_(struct itimerval
*)];
532 struct getdtablesize_args
{
534 struct sysmsg sysmsg
;
540 struct sysmsg sysmsg
;
542 u_int from
; char from_
[PAD_(u_int
)];
543 u_int to
; char to_
[PAD_(u_int
)];
547 struct sysmsg sysmsg
;
549 int fd
; char fd_
[PAD_(int)];
550 int cmd
; char cmd_
[PAD_(int)];
551 long arg
; char arg_
[PAD_(long)];
555 struct sysmsg sysmsg
;
557 int nd
; char nd_
[PAD_(int)];
558 fd_set
* in
; char in_
[PAD_(fd_set
*)];
559 fd_set
* ou
; char ou_
[PAD_(fd_set
*)];
560 fd_set
* ex
; char ex_
[PAD_(fd_set
*)];
561 struct timeval
* tv
; char tv_
[PAD_(struct timeval
*)];
565 struct sysmsg sysmsg
;
567 int fd
; char fd_
[PAD_(int)];
569 struct setpriority_args
{
571 struct sysmsg sysmsg
;
573 int which
; char which_
[PAD_(int)];
574 int who
; char who_
[PAD_(int)];
575 int prio
; char prio_
[PAD_(int)];
579 struct sysmsg sysmsg
;
581 int domain
; char domain_
[PAD_(int)];
582 int type
; char type_
[PAD_(int)];
583 int protocol
; char protocol_
[PAD_(int)];
585 struct connect_args
{
587 struct sysmsg sysmsg
;
589 int s
; char s_
[PAD_(int)];
590 caddr_t name
; char name_
[PAD_(caddr_t
)];
591 int namelen
; char namelen_
[PAD_(int)];
593 struct getpriority_args
{
595 struct sysmsg sysmsg
;
597 int which
; char which_
[PAD_(int)];
598 int who
; char who_
[PAD_(int)];
602 struct sysmsg sysmsg
;
604 int s
; char s_
[PAD_(int)];
605 caddr_t name
; char name_
[PAD_(caddr_t
)];
606 int namelen
; char namelen_
[PAD_(int)];
608 struct setsockopt_args
{
610 struct sysmsg sysmsg
;
612 int s
; char s_
[PAD_(int)];
613 int level
; char level_
[PAD_(int)];
614 int name
; char name_
[PAD_(int)];
615 caddr_t val
; char val_
[PAD_(caddr_t
)];
616 int valsize
; char valsize_
[PAD_(int)];
620 struct sysmsg sysmsg
;
622 int s
; char s_
[PAD_(int)];
623 int backlog
; char backlog_
[PAD_(int)];
625 struct gettimeofday_args
{
627 struct sysmsg sysmsg
;
629 struct timeval
* tp
; char tp_
[PAD_(struct timeval
*)];
630 struct timezone
* tzp
; char tzp_
[PAD_(struct timezone
*)];
632 struct getrusage_args
{
634 struct sysmsg sysmsg
;
636 int who
; char who_
[PAD_(int)];
637 struct rusage
* rusage
; char rusage_
[PAD_(struct rusage
*)];
639 struct getsockopt_args
{
641 struct sysmsg sysmsg
;
643 int s
; char s_
[PAD_(int)];
644 int level
; char level_
[PAD_(int)];
645 int name
; char name_
[PAD_(int)];
646 caddr_t val
; char val_
[PAD_(caddr_t
)];
647 int * avalsize
; char avalsize_
[PAD_(int *)];
651 struct sysmsg sysmsg
;
653 int fd
; char fd_
[PAD_(int)];
654 struct iovec
* iovp
; char iovp_
[PAD_(struct iovec
*)];
655 u_int iovcnt
; char iovcnt_
[PAD_(u_int
)];
659 struct sysmsg sysmsg
;
661 int fd
; char fd_
[PAD_(int)];
662 struct iovec
* iovp
; char iovp_
[PAD_(struct iovec
*)];
663 u_int iovcnt
; char iovcnt_
[PAD_(u_int
)];
665 struct settimeofday_args
{
667 struct sysmsg sysmsg
;
669 struct timeval
* tv
; char tv_
[PAD_(struct timeval
*)];
670 struct timezone
* tzp
; char tzp_
[PAD_(struct timezone
*)];
674 struct sysmsg sysmsg
;
676 int fd
; char fd_
[PAD_(int)];
677 int uid
; char uid_
[PAD_(int)];
678 int gid
; char gid_
[PAD_(int)];
682 struct sysmsg sysmsg
;
684 int fd
; char fd_
[PAD_(int)];
685 int mode
; char mode_
[PAD_(int)];
687 struct setreuid_args
{
689 struct sysmsg sysmsg
;
691 int ruid
; char ruid_
[PAD_(int)];
692 int euid
; char euid_
[PAD_(int)];
694 struct setregid_args
{
696 struct sysmsg sysmsg
;
698 int rgid
; char rgid_
[PAD_(int)];
699 int egid
; char egid_
[PAD_(int)];
703 struct sysmsg sysmsg
;
705 char * from
; char from_
[PAD_(char *)];
706 char * to
; char to_
[PAD_(char *)];
710 struct sysmsg sysmsg
;
712 int fd
; char fd_
[PAD_(int)];
713 int how
; char how_
[PAD_(int)];
717 struct sysmsg sysmsg
;
719 char * path
; char path_
[PAD_(char *)];
720 int mode
; char mode_
[PAD_(int)];
724 struct sysmsg sysmsg
;
726 int s
; char s_
[PAD_(int)];
727 caddr_t buf
; char buf_
[PAD_(caddr_t
)];
728 size_t len
; char len_
[PAD_(size_t)];
729 int flags
; char flags_
[PAD_(int)];
730 caddr_t to
; char to_
[PAD_(caddr_t
)];
731 int tolen
; char tolen_
[PAD_(int)];
733 struct shutdown_args
{
735 struct sysmsg sysmsg
;
737 int s
; char s_
[PAD_(int)];
738 int how
; char how_
[PAD_(int)];
740 struct socketpair_args
{
742 struct sysmsg sysmsg
;
744 int domain
; char domain_
[PAD_(int)];
745 int type
; char type_
[PAD_(int)];
746 int protocol
; char protocol_
[PAD_(int)];
747 int * rsv
; char rsv_
[PAD_(int *)];
751 struct sysmsg sysmsg
;
753 char * path
; char path_
[PAD_(char *)];
754 int mode
; char mode_
[PAD_(int)];
758 struct sysmsg sysmsg
;
760 char * path
; char path_
[PAD_(char *)];
764 struct sysmsg sysmsg
;
766 char * path
; char path_
[PAD_(char *)];
767 struct timeval
* tptr
; char tptr_
[PAD_(struct timeval
*)];
769 struct adjtime_args
{
771 struct sysmsg sysmsg
;
773 struct timeval
* delta
; char delta_
[PAD_(struct timeval
*)];
774 struct timeval
* olddelta
; char olddelta_
[PAD_(struct timeval
*)];
776 struct ogethostid_args
{
778 struct sysmsg sysmsg
;
784 struct sysmsg sysmsg
;
788 struct quotactl_args
{
790 struct sysmsg sysmsg
;
792 char * path
; char path_
[PAD_(char *)];
793 int cmd
; char cmd_
[PAD_(int)];
794 int uid
; char uid_
[PAD_(int)];
795 caddr_t arg
; char arg_
[PAD_(caddr_t
)];
799 struct sysmsg sysmsg
;
805 struct sysmsg sysmsg
;
807 int flag
; char flag_
[PAD_(int)];
808 caddr_t argp
; char argp_
[PAD_(caddr_t
)];
812 struct sysmsg sysmsg
;
814 char * path
; char path_
[PAD_(char *)];
815 struct statfs
* buf
; char buf_
[PAD_(struct statfs
*)];
817 struct fstatfs_args
{
819 struct sysmsg sysmsg
;
821 int fd
; char fd_
[PAD_(int)];
822 struct statfs
* buf
; char buf_
[PAD_(struct statfs
*)];
826 struct sysmsg sysmsg
;
828 char * fname
; char fname_
[PAD_(char *)];
829 struct fhandle
* fhp
; char fhp_
[PAD_(struct fhandle
*)];
831 struct getdomainname_args
{
833 struct sysmsg sysmsg
;
835 char * domainname
; char domainname_
[PAD_(char *)];
836 int len
; char len_
[PAD_(int)];
838 struct setdomainname_args
{
840 struct sysmsg sysmsg
;
842 char * domainname
; char domainname_
[PAD_(char *)];
843 int len
; char len_
[PAD_(int)];
847 struct sysmsg sysmsg
;
849 struct utsname
* name
; char name_
[PAD_(struct utsname
*)];
851 struct sysarch_args
{
853 struct sysmsg sysmsg
;
855 int op
; char op_
[PAD_(int)];
856 char * parms
; char parms_
[PAD_(char *)];
860 struct sysmsg sysmsg
;
862 int function
; char function_
[PAD_(int)];
863 pid_t pid
; char pid_
[PAD_(pid_t
)];
864 struct rtprio
* rtp
; char rtp_
[PAD_(struct rtprio
*)];
868 struct sysmsg sysmsg
;
870 int which
; char which_
[PAD_(int)];
871 int a2
; char a2_
[PAD_(int)];
872 int a3
; char a3_
[PAD_(int)];
873 int a4
; char a4_
[PAD_(int)];
874 int a5
; char a5_
[PAD_(int)];
878 struct sysmsg sysmsg
;
880 int which
; char which_
[PAD_(int)];
881 int a2
; char a2_
[PAD_(int)];
882 int a3
; char a3_
[PAD_(int)];
883 int a4
; char a4_
[PAD_(int)];
884 int a5
; char a5_
[PAD_(int)];
885 int a6
; char a6_
[PAD_(int)];
889 struct sysmsg sysmsg
;
891 int which
; char which_
[PAD_(int)];
892 int a2
; char a2_
[PAD_(int)];
893 int a3
; char a3_
[PAD_(int)];
894 int a4
; char a4_
[PAD_(int)];
896 struct extpread_args
{
898 struct sysmsg sysmsg
;
900 int fd
; char fd_
[PAD_(int)];
901 void * buf
; char buf_
[PAD_(void *)];
902 size_t nbyte
; char nbyte_
[PAD_(size_t)];
903 int flags
; char flags_
[PAD_(int)];
904 off_t offset
; char offset_
[PAD_(off_t
)];
906 struct extpwrite_args
{
908 struct sysmsg sysmsg
;
910 int fd
; char fd_
[PAD_(int)];
911 const void * buf
; char buf_
[PAD_(const void *)];
912 size_t nbyte
; char nbyte_
[PAD_(size_t)];
913 int flags
; char flags_
[PAD_(int)];
914 off_t offset
; char offset_
[PAD_(off_t
)];
916 struct ntp_adjtime_args
{
918 struct sysmsg sysmsg
;
920 struct timex
* tp
; char tp_
[PAD_(struct timex
*)];
924 struct sysmsg sysmsg
;
926 gid_t gid
; char gid_
[PAD_(gid_t
)];
928 struct setegid_args
{
930 struct sysmsg sysmsg
;
932 gid_t egid
; char egid_
[PAD_(gid_t
)];
934 struct seteuid_args
{
936 struct sysmsg sysmsg
;
938 uid_t euid
; char euid_
[PAD_(uid_t
)];
940 struct pathconf_args
{
942 struct sysmsg sysmsg
;
944 char * path
; char path_
[PAD_(char *)];
945 int name
; char name_
[PAD_(int)];
947 struct fpathconf_args
{
949 struct sysmsg sysmsg
;
951 int fd
; char fd_
[PAD_(int)];
952 int name
; char name_
[PAD_(int)];
954 struct __getrlimit_args
{
956 struct sysmsg sysmsg
;
958 u_int which
; char which_
[PAD_(u_int
)];
959 struct rlimit
* rlp
; char rlp_
[PAD_(struct rlimit
*)];
961 struct __setrlimit_args
{
963 struct sysmsg sysmsg
;
965 u_int which
; char which_
[PAD_(u_int
)];
966 struct rlimit
* rlp
; char rlp_
[PAD_(struct rlimit
*)];
970 struct sysmsg sysmsg
;
972 caddr_t addr
; char addr_
[PAD_(caddr_t
)];
973 size_t len
; char len_
[PAD_(size_t)];
974 int prot
; char prot_
[PAD_(int)];
975 int flags
; char flags_
[PAD_(int)];
976 int fd
; char fd_
[PAD_(int)];
977 int pad
; char pad_
[PAD_(int)];
978 off_t pos
; char pos_
[PAD_(off_t
)];
982 struct sysmsg sysmsg
;
984 int fd
; char fd_
[PAD_(int)];
985 int pad
; char pad_
[PAD_(int)];
986 off_t offset
; char offset_
[PAD_(off_t
)];
987 int whence
; char whence_
[PAD_(int)];
989 struct truncate_args
{
991 struct sysmsg sysmsg
;
993 char * path
; char path_
[PAD_(char *)];
994 int pad
; char pad_
[PAD_(int)];
995 off_t length
; char length_
[PAD_(off_t
)];
997 struct ftruncate_args
{
999 struct sysmsg sysmsg
;
1001 int fd
; char fd_
[PAD_(int)];
1002 int pad
; char pad_
[PAD_(int)];
1003 off_t length
; char length_
[PAD_(off_t
)];
1005 struct sysctl_args
{
1007 struct sysmsg sysmsg
;
1009 int * name
; char name_
[PAD_(int *)];
1010 u_int namelen
; char namelen_
[PAD_(u_int
)];
1011 void * old
; char old_
[PAD_(void *)];
1012 size_t * oldlenp
; char oldlenp_
[PAD_(size_t *)];
1013 void * new; char new_
[PAD_(void *)];
1014 size_t newlen
; char newlen_
[PAD_(size_t)];
1018 struct sysmsg sysmsg
;
1020 const void * addr
; char addr_
[PAD_(const void *)];
1021 size_t len
; char len_
[PAD_(size_t)];
1023 struct munlock_args
{
1025 struct sysmsg sysmsg
;
1027 const void * addr
; char addr_
[PAD_(const void *)];
1028 size_t len
; char len_
[PAD_(size_t)];
1030 struct undelete_args
{
1032 struct sysmsg sysmsg
;
1034 char * path
; char path_
[PAD_(char *)];
1036 struct futimes_args
{
1038 struct sysmsg sysmsg
;
1040 int fd
; char fd_
[PAD_(int)];
1041 struct timeval
* tptr
; char tptr_
[PAD_(struct timeval
*)];
1043 struct getpgid_args
{
1045 struct sysmsg sysmsg
;
1047 pid_t pid
; char pid_
[PAD_(pid_t
)];
1051 struct sysmsg sysmsg
;
1053 struct pollfd
* fds
; char fds_
[PAD_(struct pollfd
*)];
1054 u_int nfds
; char nfds_
[PAD_(u_int
)];
1055 int timeout
; char timeout_
[PAD_(int)];
1057 struct __semctl_args
{
1059 struct sysmsg sysmsg
;
1061 int semid
; char semid_
[PAD_(int)];
1062 int semnum
; char semnum_
[PAD_(int)];
1063 int cmd
; char cmd_
[PAD_(int)];
1064 union semun
* arg
; char arg_
[PAD_(union semun
*)];
1066 struct semget_args
{
1068 struct sysmsg sysmsg
;
1070 key_t key
; char key_
[PAD_(key_t
)];
1071 int nsems
; char nsems_
[PAD_(int)];
1072 int semflg
; char semflg_
[PAD_(int)];
1076 struct sysmsg sysmsg
;
1078 int semid
; char semid_
[PAD_(int)];
1079 struct sembuf
* sops
; char sops_
[PAD_(struct sembuf
*)];
1080 u_int nsops
; char nsops_
[PAD_(u_int
)];
1082 struct msgctl_args
{
1084 struct sysmsg sysmsg
;
1086 int msqid
; char msqid_
[PAD_(int)];
1087 int cmd
; char cmd_
[PAD_(int)];
1088 struct msqid_ds
* buf
; char buf_
[PAD_(struct msqid_ds
*)];
1090 struct msgget_args
{
1092 struct sysmsg sysmsg
;
1094 key_t key
; char key_
[PAD_(key_t
)];
1095 int msgflg
; char msgflg_
[PAD_(int)];
1097 struct msgsnd_args
{
1099 struct sysmsg sysmsg
;
1101 int msqid
; char msqid_
[PAD_(int)];
1102 void * msgp
; char msgp_
[PAD_(void *)];
1103 size_t msgsz
; char msgsz_
[PAD_(size_t)];
1104 int msgflg
; char msgflg_
[PAD_(int)];
1106 struct msgrcv_args
{
1108 struct sysmsg sysmsg
;
1110 int msqid
; char msqid_
[PAD_(int)];
1111 void * msgp
; char msgp_
[PAD_(void *)];
1112 size_t msgsz
; char msgsz_
[PAD_(size_t)];
1113 long msgtyp
; char msgtyp_
[PAD_(long)];
1114 int msgflg
; char msgflg_
[PAD_(int)];
1118 struct sysmsg sysmsg
;
1120 int shmid
; char shmid_
[PAD_(int)];
1121 void * shmaddr
; char shmaddr_
[PAD_(void *)];
1122 int shmflg
; char shmflg_
[PAD_(int)];
1124 struct shmctl_args
{
1126 struct sysmsg sysmsg
;
1128 int shmid
; char shmid_
[PAD_(int)];
1129 int cmd
; char cmd_
[PAD_(int)];
1130 struct shmid_ds
* buf
; char buf_
[PAD_(struct shmid_ds
*)];
1134 struct sysmsg sysmsg
;
1136 void * shmaddr
; char shmaddr_
[PAD_(void *)];
1138 struct shmget_args
{
1140 struct sysmsg sysmsg
;
1142 key_t key
; char key_
[PAD_(key_t
)];
1143 int size
; char size_
[PAD_(int)];
1144 int shmflg
; char shmflg_
[PAD_(int)];
1146 struct clock_gettime_args
{
1148 struct sysmsg sysmsg
;
1150 clockid_t clock_id
; char clock_id_
[PAD_(clockid_t
)];
1151 struct timespec
* tp
; char tp_
[PAD_(struct timespec
*)];
1153 struct clock_settime_args
{
1155 struct sysmsg sysmsg
;
1157 clockid_t clock_id
; char clock_id_
[PAD_(clockid_t
)];
1158 const struct timespec
* tp
; char tp_
[PAD_(const struct timespec
*)];
1160 struct clock_getres_args
{
1162 struct sysmsg sysmsg
;
1164 clockid_t clock_id
; char clock_id_
[PAD_(clockid_t
)];
1165 struct timespec
* tp
; char tp_
[PAD_(struct timespec
*)];
1167 struct nanosleep_args
{
1169 struct sysmsg sysmsg
;
1171 const struct timespec
* rqtp
; char rqtp_
[PAD_(const struct timespec
*)];
1172 struct timespec
* rmtp
; char rmtp_
[PAD_(struct timespec
*)];
1174 struct minherit_args
{
1176 struct sysmsg sysmsg
;
1178 void * addr
; char addr_
[PAD_(void *)];
1179 size_t len
; char len_
[PAD_(size_t)];
1180 int inherit
; char inherit_
[PAD_(int)];
1184 struct sysmsg sysmsg
;
1186 int flags
; char flags_
[PAD_(int)];
1188 struct openbsd_poll_args
{
1190 struct sysmsg sysmsg
;
1192 struct pollfd
* fds
; char fds_
[PAD_(struct pollfd
*)];
1193 u_int nfds
; char nfds_
[PAD_(u_int
)];
1194 int timeout
; char timeout_
[PAD_(int)];
1196 struct issetugid_args
{
1198 struct sysmsg sysmsg
;
1202 struct lchown_args
{
1204 struct sysmsg sysmsg
;
1206 char * path
; char path_
[PAD_(char *)];
1207 int uid
; char uid_
[PAD_(int)];
1208 int gid
; char gid_
[PAD_(int)];
1210 struct lchmod_args
{
1212 struct sysmsg sysmsg
;
1214 char * path
; char path_
[PAD_(char *)];
1215 mode_t mode
; char mode_
[PAD_(mode_t
)];
1217 struct lutimes_args
{
1219 struct sysmsg sysmsg
;
1221 char * path
; char path_
[PAD_(char *)];
1222 struct timeval
* tptr
; char tptr_
[PAD_(struct timeval
*)];
1224 struct extpreadv_args
{
1226 struct sysmsg sysmsg
;
1228 int fd
; char fd_
[PAD_(int)];
1229 struct iovec
* iovp
; char iovp_
[PAD_(struct iovec
*)];
1230 u_int iovcnt
; char iovcnt_
[PAD_(u_int
)];
1231 int flags
; char flags_
[PAD_(int)];
1232 off_t offset
; char offset_
[PAD_(off_t
)];
1234 struct extpwritev_args
{
1236 struct sysmsg sysmsg
;
1238 int fd
; char fd_
[PAD_(int)];
1239 struct iovec
* iovp
; char iovp_
[PAD_(struct iovec
*)];
1240 u_int iovcnt
; char iovcnt_
[PAD_(u_int
)];
1241 int flags
; char flags_
[PAD_(int)];
1242 off_t offset
; char offset_
[PAD_(off_t
)];
1244 struct fhstatfs_args
{
1246 struct sysmsg sysmsg
;
1248 const struct fhandle
* u_fhp
; char u_fhp_
[PAD_(const struct fhandle
*)];
1249 struct statfs
* buf
; char buf_
[PAD_(struct statfs
*)];
1251 struct fhopen_args
{
1253 struct sysmsg sysmsg
;
1255 const struct fhandle
* u_fhp
; char u_fhp_
[PAD_(const struct fhandle
*)];
1256 int flags
; char flags_
[PAD_(int)];
1258 struct modnext_args
{
1260 struct sysmsg sysmsg
;
1262 int modid
; char modid_
[PAD_(int)];
1264 struct modstat_args
{
1266 struct sysmsg sysmsg
;
1268 int modid
; char modid_
[PAD_(int)];
1269 struct module_stat
* stat
; char stat_
[PAD_(struct module_stat
*)];
1271 struct modfnext_args
{
1273 struct sysmsg sysmsg
;
1275 int modid
; char modid_
[PAD_(int)];
1277 struct modfind_args
{
1279 struct sysmsg sysmsg
;
1281 const char * name
; char name_
[PAD_(const char *)];
1283 struct kldload_args
{
1285 struct sysmsg sysmsg
;
1287 const char * file
; char file_
[PAD_(const char *)];
1289 struct kldunload_args
{
1291 struct sysmsg sysmsg
;
1293 int fileid
; char fileid_
[PAD_(int)];
1295 struct kldfind_args
{
1297 struct sysmsg sysmsg
;
1299 const char * file
; char file_
[PAD_(const char *)];
1301 struct kldnext_args
{
1303 struct sysmsg sysmsg
;
1305 int fileid
; char fileid_
[PAD_(int)];
1307 struct kldstat_args
{
1309 struct sysmsg sysmsg
;
1311 int fileid
; char fileid_
[PAD_(int)];
1312 struct kld_file_stat
* stat
; char stat_
[PAD_(struct kld_file_stat
*)];
1314 struct kldfirstmod_args
{
1316 struct sysmsg sysmsg
;
1318 int fileid
; char fileid_
[PAD_(int)];
1320 struct getsid_args
{
1322 struct sysmsg sysmsg
;
1324 pid_t pid
; char pid_
[PAD_(pid_t
)];
1326 struct setresuid_args
{
1328 struct sysmsg sysmsg
;
1330 uid_t ruid
; char ruid_
[PAD_(uid_t
)];
1331 uid_t euid
; char euid_
[PAD_(uid_t
)];
1332 uid_t suid
; char suid_
[PAD_(uid_t
)];
1334 struct setresgid_args
{
1336 struct sysmsg sysmsg
;
1338 gid_t rgid
; char rgid_
[PAD_(gid_t
)];
1339 gid_t egid
; char egid_
[PAD_(gid_t
)];
1340 gid_t sgid
; char sgid_
[PAD_(gid_t
)];
1342 struct aio_return_args
{
1344 struct sysmsg sysmsg
;
1346 struct aiocb
* aiocbp
; char aiocbp_
[PAD_(struct aiocb
*)];
1348 struct aio_suspend_args
{
1350 struct sysmsg sysmsg
;
1352 struct aiocb
*const * aiocbp
; char aiocbp_
[PAD_(struct aiocb
*const *)];
1353 int nent
; char nent_
[PAD_(int)];
1354 const struct timespec
* timeout
; char timeout_
[PAD_(const struct timespec
*)];
1356 struct aio_cancel_args
{
1358 struct sysmsg sysmsg
;
1360 int fd
; char fd_
[PAD_(int)];
1361 struct aiocb
* aiocbp
; char aiocbp_
[PAD_(struct aiocb
*)];
1363 struct aio_error_args
{
1365 struct sysmsg sysmsg
;
1367 struct aiocb
* aiocbp
; char aiocbp_
[PAD_(struct aiocb
*)];
1369 struct aio_read_args
{
1371 struct sysmsg sysmsg
;
1373 struct aiocb
* aiocbp
; char aiocbp_
[PAD_(struct aiocb
*)];
1375 struct aio_write_args
{
1377 struct sysmsg sysmsg
;
1379 struct aiocb
* aiocbp
; char aiocbp_
[PAD_(struct aiocb
*)];
1381 struct lio_listio_args
{
1383 struct sysmsg sysmsg
;
1385 int mode
; char mode_
[PAD_(int)];
1386 struct aiocb
*const * acb_list
; char acb_list_
[PAD_(struct aiocb
*const *)];
1387 int nent
; char nent_
[PAD_(int)];
1388 struct sigevent
* sig
; char sig_
[PAD_(struct sigevent
*)];
1392 struct sysmsg sysmsg
;
1396 struct mlockall_args
{
1398 struct sysmsg sysmsg
;
1400 int how
; char how_
[PAD_(int)];
1402 struct munlockall_args
{
1404 struct sysmsg sysmsg
;
1408 struct __getcwd_args
{
1410 struct sysmsg sysmsg
;
1412 u_char
* buf
; char buf_
[PAD_(u_char
*)];
1413 u_int buflen
; char buflen_
[PAD_(u_int
)];
1415 struct sched_setparam_args
{
1417 struct sysmsg sysmsg
;
1419 pid_t pid
; char pid_
[PAD_(pid_t
)];
1420 const struct sched_param
* param
; char param_
[PAD_(const struct sched_param
*)];
1422 struct sched_getparam_args
{
1424 struct sysmsg sysmsg
;
1426 pid_t pid
; char pid_
[PAD_(pid_t
)];
1427 struct sched_param
* param
; char param_
[PAD_(struct sched_param
*)];
1429 struct sched_setscheduler_args
{
1431 struct sysmsg sysmsg
;
1433 pid_t pid
; char pid_
[PAD_(pid_t
)];
1434 int policy
; char policy_
[PAD_(int)];
1435 const struct sched_param
* param
; char param_
[PAD_(const struct sched_param
*)];
1437 struct sched_getscheduler_args
{
1439 struct sysmsg sysmsg
;
1441 pid_t pid
; char pid_
[PAD_(pid_t
)];
1443 struct sched_yield_args
{
1445 struct sysmsg sysmsg
;
1449 struct sched_get_priority_max_args
{
1451 struct sysmsg sysmsg
;
1453 int policy
; char policy_
[PAD_(int)];
1455 struct sched_get_priority_min_args
{
1457 struct sysmsg sysmsg
;
1459 int policy
; char policy_
[PAD_(int)];
1461 struct sched_rr_get_interval_args
{
1463 struct sysmsg sysmsg
;
1465 pid_t pid
; char pid_
[PAD_(pid_t
)];
1466 struct timespec
* interval
; char interval_
[PAD_(struct timespec
*)];
1468 struct utrace_args
{
1470 struct sysmsg sysmsg
;
1472 const void * addr
; char addr_
[PAD_(const void *)];
1473 size_t len
; char len_
[PAD_(size_t)];
1475 struct kldsym_args
{
1477 struct sysmsg sysmsg
;
1479 int fileid
; char fileid_
[PAD_(int)];
1480 int cmd
; char cmd_
[PAD_(int)];
1481 void * data
; char data_
[PAD_(void *)];
1485 struct sysmsg sysmsg
;
1487 struct jail
* jail
; char jail_
[PAD_(struct jail
*)];
1489 struct sigprocmask_args
{
1491 struct sysmsg sysmsg
;
1493 int how
; char how_
[PAD_(int)];
1494 const sigset_t
* set
; char set_
[PAD_(const sigset_t
*)];
1495 sigset_t
* oset
; char oset_
[PAD_(sigset_t
*)];
1497 struct sigsuspend_args
{
1499 struct sysmsg sysmsg
;
1501 const sigset_t
* sigmask
; char sigmask_
[PAD_(const sigset_t
*)];
1503 struct sigaction_args
{
1505 struct sysmsg sysmsg
;
1507 int sig
; char sig_
[PAD_(int)];
1508 const struct sigaction
* act
; char act_
[PAD_(const struct sigaction
*)];
1509 struct sigaction
* oact
; char oact_
[PAD_(struct sigaction
*)];
1511 struct sigpending_args
{
1513 struct sysmsg sysmsg
;
1515 sigset_t
* set
; char set_
[PAD_(sigset_t
*)];
1517 struct sigreturn_args
{
1519 struct sysmsg sysmsg
;
1521 ucontext_t
* sigcntxp
; char sigcntxp_
[PAD_(ucontext_t
*)];
1523 struct sigtimedwait_args
{
1525 struct sysmsg sysmsg
;
1527 const sigset_t
* set
; char set_
[PAD_(const sigset_t
*)];
1528 siginfo_t
* info
; char info_
[PAD_(siginfo_t
*)];
1529 const struct timespec
* timeout
; char timeout_
[PAD_(const struct timespec
*)];
1531 struct sigwaitinfo_args
{
1533 struct sysmsg sysmsg
;
1535 const sigset_t
* set
; char set_
[PAD_(const sigset_t
*)];
1536 siginfo_t
* info
; char info_
[PAD_(siginfo_t
*)];
1538 struct __acl_get_file_args
{
1540 struct sysmsg sysmsg
;
1542 const char * path
; char path_
[PAD_(const char *)];
1543 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1544 struct acl
* aclp
; char aclp_
[PAD_(struct acl
*)];
1546 struct __acl_set_file_args
{
1548 struct sysmsg sysmsg
;
1550 const char * path
; char path_
[PAD_(const char *)];
1551 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1552 struct acl
* aclp
; char aclp_
[PAD_(struct acl
*)];
1554 struct __acl_get_fd_args
{
1556 struct sysmsg sysmsg
;
1558 int filedes
; char filedes_
[PAD_(int)];
1559 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1560 struct acl
* aclp
; char aclp_
[PAD_(struct acl
*)];
1562 struct __acl_set_fd_args
{
1564 struct sysmsg sysmsg
;
1566 int filedes
; char filedes_
[PAD_(int)];
1567 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1568 struct acl
* aclp
; char aclp_
[PAD_(struct acl
*)];
1570 struct __acl_delete_file_args
{
1572 struct sysmsg sysmsg
;
1574 const char * path
; char path_
[PAD_(const char *)];
1575 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1577 struct __acl_delete_fd_args
{
1579 struct sysmsg sysmsg
;
1581 int filedes
; char filedes_
[PAD_(int)];
1582 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1584 struct __acl_aclcheck_file_args
{
1586 struct sysmsg sysmsg
;
1588 const char * path
; char path_
[PAD_(const char *)];
1589 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1590 struct acl
* aclp
; char aclp_
[PAD_(struct acl
*)];
1592 struct __acl_aclcheck_fd_args
{
1594 struct sysmsg sysmsg
;
1596 int filedes
; char filedes_
[PAD_(int)];
1597 acl_type_t type
; char type_
[PAD_(acl_type_t
)];
1598 struct acl
* aclp
; char aclp_
[PAD_(struct acl
*)];
1600 struct extattrctl_args
{
1602 struct sysmsg sysmsg
;
1604 const char * path
; char path_
[PAD_(const char *)];
1605 int cmd
; char cmd_
[PAD_(int)];
1606 const char * attrname
; char attrname_
[PAD_(const char *)];
1607 char * arg
; char arg_
[PAD_(char *)];
1609 struct extattr_set_file_args
{
1611 struct sysmsg sysmsg
;
1613 const char * path
; char path_
[PAD_(const char *)];
1614 const char * attrname
; char attrname_
[PAD_(const char *)];
1615 struct iovec
* iovp
; char iovp_
[PAD_(struct iovec
*)];
1616 unsigned iovcnt
; char iovcnt_
[PAD_(unsigned)];
1618 struct extattr_get_file_args
{
1620 struct sysmsg sysmsg
;
1622 const char * path
; char path_
[PAD_(const char *)];
1623 const char * attrname
; char attrname_
[PAD_(const char *)];
1624 struct iovec
* iovp
; char iovp_
[PAD_(struct iovec
*)];
1625 unsigned iovcnt
; char iovcnt_
[PAD_(unsigned)];
1627 struct extattr_delete_file_args
{
1629 struct sysmsg sysmsg
;
1631 const char * path
; char path_
[PAD_(const char *)];
1632 const char * attrname
; char attrname_
[PAD_(const char *)];
1634 struct aio_waitcomplete_args
{
1636 struct sysmsg sysmsg
;
1638 struct aiocb
** aiocbp
; char aiocbp_
[PAD_(struct aiocb
**)];
1639 struct timespec
* timeout
; char timeout_
[PAD_(struct timespec
*)];
1641 struct getresuid_args
{
1643 struct sysmsg sysmsg
;
1645 uid_t
* ruid
; char ruid_
[PAD_(uid_t
*)];
1646 uid_t
* euid
; char euid_
[PAD_(uid_t
*)];
1647 uid_t
* suid
; char suid_
[PAD_(uid_t
*)];
1649 struct getresgid_args
{
1651 struct sysmsg sysmsg
;
1653 gid_t
* rgid
; char rgid_
[PAD_(gid_t
*)];
1654 gid_t
* egid
; char egid_
[PAD_(gid_t
*)];
1655 gid_t
* sgid
; char sgid_
[PAD_(gid_t
*)];
1657 struct kqueue_args
{
1659 struct sysmsg sysmsg
;
1663 struct kevent_args
{
1665 struct sysmsg sysmsg
;
1667 int fd
; char fd_
[PAD_(int)];
1668 const struct kevent
* changelist
; char changelist_
[PAD_(const struct kevent
*)];
1669 int nchanges
; char nchanges_
[PAD_(int)];
1670 struct kevent
* eventlist
; char eventlist_
[PAD_(struct kevent
*)];
1671 int nevents
; char nevents_
[PAD_(int)];
1672 const struct timespec
* timeout
; char timeout_
[PAD_(const struct timespec
*)];
1674 struct sctp_peeloff_args
{
1676 struct sysmsg sysmsg
;
1678 int sd
; char sd_
[PAD_(int)];
1679 caddr_t name
; char name_
[PAD_(caddr_t
)];
1681 struct lchflags_args
{
1683 struct sysmsg sysmsg
;
1685 char * path
; char path_
[PAD_(char *)];
1686 int flags
; char flags_
[PAD_(int)];
1688 struct uuidgen_args
{
1690 struct sysmsg sysmsg
;
1692 struct uuid
* store
; char store_
[PAD_(struct uuid
*)];
1693 int count
; char count_
[PAD_(int)];
1695 struct sendfile_args
{
1697 struct sysmsg sysmsg
;
1699 int fd
; char fd_
[PAD_(int)];
1700 int s
; char s_
[PAD_(int)];
1701 off_t offset
; char offset_
[PAD_(off_t
)];
1702 size_t nbytes
; char nbytes_
[PAD_(size_t)];
1703 struct sf_hdtr
* hdtr
; char hdtr_
[PAD_(struct sf_hdtr
*)];
1704 off_t
* sbytes
; char sbytes_
[PAD_(off_t
*)];
1705 int flags
; char flags_
[PAD_(int)];
1707 struct varsym_set_args
{
1709 struct sysmsg sysmsg
;
1711 int level
; char level_
[PAD_(int)];
1712 const char * name
; char name_
[PAD_(const char *)];
1713 const char * data
; char data_
[PAD_(const char *)];
1715 struct varsym_get_args
{
1717 struct sysmsg sysmsg
;
1719 int mask
; char mask_
[PAD_(int)];
1720 const char * wild
; char wild_
[PAD_(const char *)];
1721 char * buf
; char buf_
[PAD_(char *)];
1722 int bufsize
; char bufsize_
[PAD_(int)];
1724 struct varsym_list_args
{
1726 struct sysmsg sysmsg
;
1728 int level
; char level_
[PAD_(int)];
1729 char * buf
; char buf_
[PAD_(char *)];
1730 int maxsize
; char maxsize_
[PAD_(int)];
1731 int * marker
; char marker_
[PAD_(int *)];
1733 struct upc_register_args
{
1735 struct sysmsg sysmsg
;
1737 struct upcall
* upc
; char upc_
[PAD_(struct upcall
*)];
1738 void * ctxfunc
; char ctxfunc_
[PAD_(void *)];
1739 void * func
; char func_
[PAD_(void *)];
1740 void * data
; char data_
[PAD_(void *)];
1742 struct upc_control_args
{
1744 struct sysmsg sysmsg
;
1746 int cmd
; char cmd_
[PAD_(int)];
1747 int upcid
; char upcid_
[PAD_(int)];
1748 void * data
; char data_
[PAD_(void *)];
1750 struct caps_sys_service_args
{
1752 struct sysmsg sysmsg
;
1754 const char * name
; char name_
[PAD_(const char *)];
1755 uid_t uid
; char uid_
[PAD_(uid_t
)];
1756 gid_t gid
; char gid_
[PAD_(gid_t
)];
1757 int upcid
; char upcid_
[PAD_(int)];
1758 int flags
; char flags_
[PAD_(int)];
1760 struct caps_sys_client_args
{
1762 struct sysmsg sysmsg
;
1764 const char * name
; char name_
[PAD_(const char *)];
1765 uid_t uid
; char uid_
[PAD_(uid_t
)];
1766 gid_t gid
; char gid_
[PAD_(gid_t
)];
1767 int upcid
; char upcid_
[PAD_(int)];
1768 int flags
; char flags_
[PAD_(int)];
1770 struct caps_sys_close_args
{
1772 struct sysmsg sysmsg
;
1774 int portid
; char portid_
[PAD_(int)];
1776 struct caps_sys_put_args
{
1778 struct sysmsg sysmsg
;
1780 int portid
; char portid_
[PAD_(int)];
1781 void * msg
; char msg_
[PAD_(void *)];
1782 int msgsize
; char msgsize_
[PAD_(int)];
1784 struct caps_sys_reply_args
{
1786 struct sysmsg sysmsg
;
1788 int portid
; char portid_
[PAD_(int)];
1789 void * msg
; char msg_
[PAD_(void *)];
1790 int msgsize
; char msgsize_
[PAD_(int)];
1791 off_t msgcid
; char msgcid_
[PAD_(off_t
)];
1793 struct caps_sys_get_args
{
1795 struct sysmsg sysmsg
;
1797 int portid
; char portid_
[PAD_(int)];
1798 void * msg
; char msg_
[PAD_(void *)];
1799 int maxsize
; char maxsize_
[PAD_(int)];
1800 struct caps_msgid
* msgid
; char msgid_
[PAD_(struct caps_msgid
*)];
1801 struct caps_cred
* ccr
; char ccr_
[PAD_(struct caps_cred
*)];
1803 struct caps_sys_wait_args
{
1805 struct sysmsg sysmsg
;
1807 int portid
; char portid_
[PAD_(int)];
1808 void * msg
; char msg_
[PAD_(void *)];
1809 int maxsize
; char maxsize_
[PAD_(int)];
1810 struct caps_msgid
* msgid
; char msgid_
[PAD_(struct caps_msgid
*)];
1811 struct caps_cred
* ccr
; char ccr_
[PAD_(struct caps_cred
*)];
1813 struct caps_sys_abort_args
{
1815 struct sysmsg sysmsg
;
1817 int portid
; char portid_
[PAD_(int)];
1818 off_t msgcid
; char msgcid_
[PAD_(off_t
)];
1819 int flags
; char flags_
[PAD_(int)];
1821 struct caps_sys_getgen_args
{
1823 struct sysmsg sysmsg
;
1825 int portid
; char portid_
[PAD_(int)];
1827 struct caps_sys_setgen_args
{
1829 struct sysmsg sysmsg
;
1831 int portid
; char portid_
[PAD_(int)];
1832 off_t gen
; char gen_
[PAD_(off_t
)];
1834 struct exec_sys_register_args
{
1836 struct sysmsg sysmsg
;
1838 void * entry
; char entry_
[PAD_(void *)];
1840 struct exec_sys_unregister_args
{
1842 struct sysmsg sysmsg
;
1844 int id
; char id_
[PAD_(int)];
1846 struct sys_checkpoint_args
{
1848 struct sysmsg sysmsg
;
1850 int type
; char type_
[PAD_(int)];
1851 int fd
; char fd_
[PAD_(int)];
1852 pid_t pid
; char pid_
[PAD_(pid_t
)];
1853 int retval
; char retval_
[PAD_(int)];
1855 struct mountctl_args
{
1857 struct sysmsg sysmsg
;
1859 const char * path
; char path_
[PAD_(const char *)];
1860 int op
; char op_
[PAD_(int)];
1861 int fd
; char fd_
[PAD_(int)];
1862 const void * ctl
; char ctl_
[PAD_(const void *)];
1863 int ctllen
; char ctllen_
[PAD_(int)];
1864 void * buf
; char buf_
[PAD_(void *)];
1865 int buflen
; char buflen_
[PAD_(int)];
1867 struct umtx_sleep_args
{
1869 struct sysmsg sysmsg
;
1871 volatile const int * ptr
; char ptr_
[PAD_(volatile const int *)];
1872 int value
; char value_
[PAD_(int)];
1873 int timeout
; char timeout_
[PAD_(int)];
1875 struct umtx_wakeup_args
{
1877 struct sysmsg sysmsg
;
1879 volatile const int * ptr
; char ptr_
[PAD_(volatile const int *)];
1880 int count
; char count_
[PAD_(int)];
1882 struct jail_attach_args
{
1884 struct sysmsg sysmsg
;
1886 int jid
; char jid_
[PAD_(int)];
1888 struct set_tls_area_args
{
1890 struct sysmsg sysmsg
;
1892 int which
; char which_
[PAD_(int)];
1893 struct tls_info
* info
; char info_
[PAD_(struct tls_info
*)];
1894 size_t infosize
; char infosize_
[PAD_(size_t)];
1896 struct get_tls_area_args
{
1898 struct sysmsg sysmsg
;
1900 int which
; char which_
[PAD_(int)];
1901 struct tls_info
* info
; char info_
[PAD_(struct tls_info
*)];
1902 size_t infosize
; char infosize_
[PAD_(size_t)];
1904 struct closefrom_args
{
1906 struct sysmsg sysmsg
;
1908 int fd
; char fd_
[PAD_(int)];
1912 struct sysmsg sysmsg
;
1914 const char * path
; char path_
[PAD_(const char *)];
1915 struct stat
* ub
; char ub_
[PAD_(struct stat
*)];
1919 struct sysmsg sysmsg
;
1921 int fd
; char fd_
[PAD_(int)];
1922 struct stat
* sb
; char sb_
[PAD_(struct stat
*)];
1926 struct sysmsg sysmsg
;
1928 const char * path
; char path_
[PAD_(const char *)];
1929 struct stat
* ub
; char ub_
[PAD_(struct stat
*)];
1931 struct fhstat_args
{
1933 struct sysmsg sysmsg
;
1935 const struct fhandle
* u_fhp
; char u_fhp_
[PAD_(const struct fhandle
*)];
1936 struct stat
* sb
; char sb_
[PAD_(struct stat
*)];
1938 struct getdirentries_args
{
1940 struct sysmsg sysmsg
;
1942 int fd
; char fd_
[PAD_(int)];
1943 char * buf
; char buf_
[PAD_(char *)];
1944 u_int count
; char count_
[PAD_(u_int
)];
1945 long * basep
; char basep_
[PAD_(long *)];
1947 struct getdents_args
{
1949 struct sysmsg sysmsg
;
1951 int fd
; char fd_
[PAD_(int)];
1952 char * buf
; char buf_
[PAD_(char *)];
1953 size_t count
; char count_
[PAD_(size_t)];
1955 struct usched_set_args
{
1957 struct sysmsg sysmsg
;
1959 pid_t pid
; char pid_
[PAD_(pid_t
)];
1960 int cmd
; char cmd_
[PAD_(int)];
1961 void * data
; char data_
[PAD_(void *)];
1962 int bytes
; char bytes_
[PAD_(int)];
1964 struct extaccept_args
{
1966 struct sysmsg sysmsg
;
1968 int s
; char s_
[PAD_(int)];
1969 int flags
; char flags_
[PAD_(int)];
1970 caddr_t name
; char name_
[PAD_(caddr_t
)];
1971 int * anamelen
; char anamelen_
[PAD_(int *)];
1973 struct extconnect_args
{
1975 struct sysmsg sysmsg
;
1977 int s
; char s_
[PAD_(int)];
1978 int flags
; char flags_
[PAD_(int)];
1979 caddr_t name
; char name_
[PAD_(caddr_t
)];
1980 int namelen
; char namelen_
[PAD_(int)];
1982 struct syslink_args
{
1984 struct sysmsg sysmsg
;
1986 int cmd
; char cmd_
[PAD_(int)];
1987 struct syslink_info
* info
; char info_
[PAD_(struct syslink_info
*)];
1988 size_t bytes
; char bytes_
[PAD_(size_t)];
1990 struct mcontrol_args
{
1992 struct sysmsg sysmsg
;
1994 void * addr
; char addr_
[PAD_(void *)];
1995 size_t len
; char len_
[PAD_(size_t)];
1996 int behav
; char behav_
[PAD_(int)];
1997 off_t value
; char value_
[PAD_(off_t
)];
1999 struct vmspace_create_args
{
2001 struct sysmsg sysmsg
;
2003 void * id
; char id_
[PAD_(void *)];
2004 int type
; char type_
[PAD_(int)];
2005 void * data
; char data_
[PAD_(void *)];
2007 struct vmspace_destroy_args
{
2009 struct sysmsg sysmsg
;
2011 void * id
; char id_
[PAD_(void *)];
2013 struct vmspace_ctl_args
{
2015 struct sysmsg sysmsg
;
2017 void * id
; char id_
[PAD_(void *)];
2018 int cmd
; char cmd_
[PAD_(int)];
2019 struct trapframe
* tframe
; char tframe_
[PAD_(struct trapframe
*)];
2020 struct vextframe
* vframe
; char vframe_
[PAD_(struct vextframe
*)];
2022 struct vmspace_mmap_args
{
2024 struct sysmsg sysmsg
;
2026 void * id
; char id_
[PAD_(void *)];
2027 void * addr
; char addr_
[PAD_(void *)];
2028 size_t len
; char len_
[PAD_(size_t)];
2029 int prot
; char prot_
[PAD_(int)];
2030 int flags
; char flags_
[PAD_(int)];
2031 int fd
; char fd_
[PAD_(int)];
2032 off_t offset
; char offset_
[PAD_(off_t
)];
2034 struct vmspace_munmap_args
{
2036 struct sysmsg sysmsg
;
2038 void * id
; char id_
[PAD_(void *)];
2039 void * addr
; char addr_
[PAD_(void *)];
2040 size_t len
; char len_
[PAD_(size_t)];
2042 struct vmspace_mcontrol_args
{
2044 struct sysmsg sysmsg
;
2046 void * id
; char id_
[PAD_(void *)];
2047 void * addr
; char addr_
[PAD_(void *)];
2048 size_t len
; char len_
[PAD_(size_t)];
2049 int behav
; char behav_
[PAD_(int)];
2050 off_t value
; char value_
[PAD_(off_t
)];
2052 struct vmspace_pread_args
{
2054 struct sysmsg sysmsg
;
2056 void * id
; char id_
[PAD_(void *)];
2057 void * buf
; char buf_
[PAD_(void *)];
2058 size_t nbyte
; char nbyte_
[PAD_(size_t)];
2059 int flags
; char flags_
[PAD_(int)];
2060 off_t offset
; char offset_
[PAD_(off_t
)];
2062 struct vmspace_pwrite_args
{
2064 struct sysmsg sysmsg
;
2066 void * id
; char id_
[PAD_(void *)];
2067 const void * buf
; char buf_
[PAD_(const void *)];
2068 size_t nbyte
; char nbyte_
[PAD_(size_t)];
2069 int flags
; char flags_
[PAD_(int)];
2070 off_t offset
; char offset_
[PAD_(off_t
)];
2072 struct extexit_args
{
2074 struct sysmsg sysmsg
;
2076 int how
; char how_
[PAD_(int)];
2077 int status
; char status_
[PAD_(int)];
2078 void * addr
; char addr_
[PAD_(void *)];
2080 struct lwp_create_args
{
2082 struct sysmsg sysmsg
;
2084 struct lwp_params
* params
; char params_
[PAD_(struct lwp_params
*)];
2086 struct lwp_gettid_args
{
2088 struct sysmsg sysmsg
;
2092 struct lwp_kill_args
{
2094 struct sysmsg sysmsg
;
2096 pid_t pid
; char pid_
[PAD_(pid_t
)];
2097 lwpid_t tid
; char tid_
[PAD_(lwpid_t
)];
2098 int signum
; char signum_
[PAD_(int)];
2100 struct lwp_rtprio_args
{
2102 struct sysmsg sysmsg
;
2104 int function
; char function_
[PAD_(int)];
2105 pid_t pid
; char pid_
[PAD_(pid_t
)];
2106 lwpid_t tid
; char tid_
[PAD_(lwpid_t
)];
2107 struct rtprio
* rtp
; char rtp_
[PAD_(struct rtprio
*)];
2109 struct pselect_args
{
2111 struct sysmsg sysmsg
;
2113 int nd
; char nd_
[PAD_(int)];
2114 fd_set
* in
; char in_
[PAD_(fd_set
*)];
2115 fd_set
* ou
; char ou_
[PAD_(fd_set
*)];
2116 fd_set
* ex
; char ex_
[PAD_(fd_set
*)];
2117 const struct timespec
* ts
; char ts_
[PAD_(const struct timespec
*)];
2118 const sigset_t
* sigmask
; char sigmask_
[PAD_(const sigset_t
*)];
2120 struct statvfs_args
{
2122 struct sysmsg sysmsg
;
2124 const char * path
; char path_
[PAD_(const char *)];
2125 struct statvfs
* buf
; char buf_
[PAD_(struct statvfs
*)];
2127 struct fstatvfs_args
{
2129 struct sysmsg sysmsg
;
2131 int fd
; char fd_
[PAD_(int)];
2132 struct statvfs
* buf
; char buf_
[PAD_(struct statvfs
*)];
2134 struct fhstatvfs_args
{
2136 struct sysmsg sysmsg
;
2138 const struct fhandle
* u_fhp
; char u_fhp_
[PAD_(const struct fhandle
*)];
2139 struct statvfs
* buf
; char buf_
[PAD_(struct statvfs
*)];
2141 struct getvfsstat_args
{
2143 struct sysmsg sysmsg
;
2145 struct statfs
* buf
; char buf_
[PAD_(struct statfs
*)];
2146 struct statvfs
* vbuf
; char vbuf_
[PAD_(struct statvfs
*)];
2147 long vbufsize
; char vbufsize_
[PAD_(long)];
2148 int flags
; char flags_
[PAD_(int)];
2150 struct openat_args
{
2152 struct sysmsg sysmsg
;
2154 int fd
; char fd_
[PAD_(int)];
2155 char * path
; char path_
[PAD_(char *)];
2156 int flags
; char flags_
[PAD_(int)];
2157 int mode
; char mode_
[PAD_(int)];
2159 struct fstatat_args
{
2161 struct sysmsg sysmsg
;
2163 int fd
; char fd_
[PAD_(int)];
2164 char * path
; char path_
[PAD_(char *)];
2165 struct stat
* sb
; char sb_
[PAD_(struct stat
*)];
2166 int flags
; char flags_
[PAD_(int)];
2168 struct fchmodat_args
{
2170 struct sysmsg sysmsg
;
2172 int fd
; char fd_
[PAD_(int)];
2173 char * path
; char path_
[PAD_(char *)];
2174 int mode
; char mode_
[PAD_(int)];
2175 int flags
; char flags_
[PAD_(int)];
2177 struct fchownat_args
{
2179 struct sysmsg sysmsg
;
2181 int fd
; char fd_
[PAD_(int)];
2182 char * path
; char path_
[PAD_(char *)];
2183 int uid
; char uid_
[PAD_(int)];
2184 int gid
; char gid_
[PAD_(int)];
2185 int flags
; char flags_
[PAD_(int)];
2187 struct unlinkat_args
{
2189 struct sysmsg sysmsg
;
2191 int fd
; char fd_
[PAD_(int)];
2192 char * path
; char path_
[PAD_(char *)];
2193 int flags
; char flags_
[PAD_(int)];
2195 struct faccessat_args
{
2197 struct sysmsg sysmsg
;
2199 int fd
; char fd_
[PAD_(int)];
2200 char * path
; char path_
[PAD_(char *)];
2201 int amode
; char amode_
[PAD_(int)];
2202 int flags
; char flags_
[PAD_(int)];
2204 struct mq_open_args
{
2206 struct sysmsg sysmsg
;
2208 const char * name
; char name_
[PAD_(const char *)];
2209 int oflag
; char oflag_
[PAD_(int)];
2210 mode_t mode
; char mode_
[PAD_(mode_t
)];
2211 struct mq_attr
* attr
; char attr_
[PAD_(struct mq_attr
*)];
2213 struct mq_close_args
{
2215 struct sysmsg sysmsg
;
2217 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2219 struct mq_unlink_args
{
2221 struct sysmsg sysmsg
;
2223 const char * name
; char name_
[PAD_(const char *)];
2225 struct mq_getattr_args
{
2227 struct sysmsg sysmsg
;
2229 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2230 struct mq_attr
* mqstat
; char mqstat_
[PAD_(struct mq_attr
*)];
2232 struct mq_setattr_args
{
2234 struct sysmsg sysmsg
;
2236 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2237 const struct mq_attr
* mqstat
; char mqstat_
[PAD_(const struct mq_attr
*)];
2238 struct mq_attr
* omqstat
; char omqstat_
[PAD_(struct mq_attr
*)];
2240 struct mq_notify_args
{
2242 struct sysmsg sysmsg
;
2244 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2245 const struct sigevent
* notification
; char notification_
[PAD_(const struct sigevent
*)];
2247 struct mq_send_args
{
2249 struct sysmsg sysmsg
;
2251 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2252 const char * msg_ptr
; char msg_ptr_
[PAD_(const char *)];
2253 size_t msg_len
; char msg_len_
[PAD_(size_t)];
2254 unsigned msg_prio
; char msg_prio_
[PAD_(unsigned)];
2256 struct mq_receive_args
{
2258 struct sysmsg sysmsg
;
2260 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2261 char * msg_ptr
; char msg_ptr_
[PAD_(char *)];
2262 size_t msg_len
; char msg_len_
[PAD_(size_t)];
2263 unsigned * msg_prio
; char msg_prio_
[PAD_(unsigned *)];
2265 struct mq_timedsend_args
{
2267 struct sysmsg sysmsg
;
2269 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2270 const char * msg_ptr
; char msg_ptr_
[PAD_(const char *)];
2271 size_t msg_len
; char msg_len_
[PAD_(size_t)];
2272 unsigned msg_prio
; char msg_prio_
[PAD_(unsigned)];
2273 const struct timespec
* abs_timeout
; char abs_timeout_
[PAD_(const struct timespec
*)];
2275 struct mq_timedreceive_args
{
2277 struct sysmsg sysmsg
;
2279 mqd_t mqdes
; char mqdes_
[PAD_(mqd_t
)];
2280 char * msg_ptr
; char msg_ptr_
[PAD_(char *)];
2281 size_t msg_len
; char msg_len_
[PAD_(size_t)];
2282 unsigned * msg_prio
; char msg_prio_
[PAD_(unsigned *)];
2283 const struct timespec
* abs_timeout
; char abs_timeout_
[PAD_(const struct timespec
*)];
2290 struct ocreat_args
{
2292 struct sysmsg sysmsg
;
2294 char * path
; char path_
[PAD_(char *)];
2295 int mode
; char mode_
[PAD_(int)];
2297 struct olseek_args
{
2299 struct sysmsg sysmsg
;
2301 int fd
; char fd_
[PAD_(int)];
2302 long offset
; char offset_
[PAD_(long)];
2303 int whence
; char whence_
[PAD_(int)];
2307 struct sysmsg sysmsg
;
2309 char * path
; char path_
[PAD_(char *)];
2310 struct ostat
* ub
; char ub_
[PAD_(struct ostat
*)];
2312 struct olstat_args
{
2314 struct sysmsg sysmsg
;
2316 char * path
; char path_
[PAD_(char *)];
2317 struct ostat
* ub
; char ub_
[PAD_(struct ostat
*)];
2319 struct ofstat_args
{
2321 struct sysmsg sysmsg
;
2323 int fd
; char fd_
[PAD_(int)];
2324 struct ostat
* sb
; char sb_
[PAD_(struct ostat
*)];
2326 struct getkerninfo_args
{
2328 struct sysmsg sysmsg
;
2330 int op
; char op_
[PAD_(int)];
2331 char * where
; char where_
[PAD_(char *)];
2332 size_t * size
; char size_
[PAD_(size_t *)];
2333 int arg
; char arg_
[PAD_(int)];
2337 struct sysmsg sysmsg
;
2339 void * addr
; char addr_
[PAD_(void *)];
2340 int len
; char len_
[PAD_(int)];
2341 int prot
; char prot_
[PAD_(int)];
2342 int flags
; char flags_
[PAD_(int)];
2343 int fd
; char fd_
[PAD_(int)];
2344 long pos
; char pos_
[PAD_(long)];
2346 struct gethostname_args
{
2348 struct sysmsg sysmsg
;
2350 char * hostname
; char hostname_
[PAD_(char *)];
2351 u_int len
; char len_
[PAD_(u_int
)];
2353 struct sethostname_args
{
2355 struct sysmsg sysmsg
;
2357 char * hostname
; char hostname_
[PAD_(char *)];
2358 u_int len
; char len_
[PAD_(u_int
)];
2362 struct sysmsg sysmsg
;
2364 int s
; char s_
[PAD_(int)];
2365 caddr_t buf
; char buf_
[PAD_(caddr_t
)];
2366 int len
; char len_
[PAD_(int)];
2367 int flags
; char flags_
[PAD_(int)];
2371 struct sysmsg sysmsg
;
2373 int s
; char s_
[PAD_(int)];
2374 caddr_t buf
; char buf_
[PAD_(caddr_t
)];
2375 int len
; char len_
[PAD_(int)];
2376 int flags
; char flags_
[PAD_(int)];
2378 struct osigvec_args
{
2380 struct sysmsg sysmsg
;
2382 int signum
; char signum_
[PAD_(int)];
2383 struct sigvec
* nsv
; char nsv_
[PAD_(struct sigvec
*)];
2384 struct sigvec
* osv
; char osv_
[PAD_(struct sigvec
*)];
2386 struct osigblock_args
{
2388 struct sysmsg sysmsg
;
2390 int mask
; char mask_
[PAD_(int)];
2392 struct osigsetmask_args
{
2394 struct sysmsg sysmsg
;
2396 int mask
; char mask_
[PAD_(int)];
2398 struct osigstack_args
{
2400 struct sysmsg sysmsg
;
2402 struct sigstack
* nss
; char nss_
[PAD_(struct sigstack
*)];
2403 struct sigstack
* oss
; char oss_
[PAD_(struct sigstack
*)];
2405 struct orecvmsg_args
{
2407 struct sysmsg sysmsg
;
2409 int s
; char s_
[PAD_(int)];
2410 struct omsghdr
* msg
; char msg_
[PAD_(struct omsghdr
*)];
2411 int flags
; char flags_
[PAD_(int)];
2413 struct osendmsg_args
{
2415 struct sysmsg sysmsg
;
2417 int s
; char s_
[PAD_(int)];
2418 caddr_t msg
; char msg_
[PAD_(caddr_t
)];
2419 int flags
; char flags_
[PAD_(int)];
2421 struct otruncate_args
{
2423 struct sysmsg sysmsg
;
2425 char * path
; char path_
[PAD_(char *)];
2426 long length
; char length_
[PAD_(long)];
2428 struct oftruncate_args
{
2430 struct sysmsg sysmsg
;
2432 int fd
; char fd_
[PAD_(int)];
2433 long length
; char length_
[PAD_(long)];
2435 struct ogetpeername_args
{
2437 struct sysmsg sysmsg
;
2439 int fdes
; char fdes_
[PAD_(int)];
2440 caddr_t asa
; char asa_
[PAD_(caddr_t
)];
2441 int * alen
; char alen_
[PAD_(int *)];
2443 struct osethostid_args
{
2445 struct sysmsg sysmsg
;
2447 long hostid
; char hostid_
[PAD_(long)];
2449 struct ogetrlimit_args
{
2451 struct sysmsg sysmsg
;
2453 u_int which
; char which_
[PAD_(u_int
)];
2454 struct orlimit
* rlp
; char rlp_
[PAD_(struct orlimit
*)];
2456 struct osetrlimit_args
{
2458 struct sysmsg sysmsg
;
2460 u_int which
; char which_
[PAD_(u_int
)];
2461 struct orlimit
* rlp
; char rlp_
[PAD_(struct orlimit
*)];
2463 struct okillpg_args
{
2465 struct sysmsg sysmsg
;
2467 int pgid
; char pgid_
[PAD_(int)];
2468 int signum
; char signum_
[PAD_(int)];
2470 struct ogetdirentries_args
{
2472 struct sysmsg sysmsg
;
2474 int fd
; char fd_
[PAD_(int)];
2475 char * buf
; char buf_
[PAD_(char *)];
2476 u_int count
; char count_
[PAD_(u_int
)];
2477 long * basep
; char basep_
[PAD_(long *)];
2482 int sys_ocreat (struct ocreat_args
*);
2483 int sys_olseek (struct olseek_args
*);
2484 int sys_ostat (struct ostat_args
*);
2485 int sys_olstat (struct olstat_args
*);
2486 int sys_ofstat (struct ofstat_args
*);
2487 int sys_ogetkerninfo (struct getkerninfo_args
*);
2488 int sys_ogetpagesize (struct getpagesize_args
*);
2489 int sys_ommap (struct ommap_args
*);
2490 int sys_owait (struct owait_args
*);
2491 int sys_ogethostname (struct gethostname_args
*);
2492 int sys_osethostname (struct sethostname_args
*);
2493 int sys_oaccept (struct accept_args
*);
2494 int sys_osend (struct osend_args
*);
2495 int sys_orecv (struct orecv_args
*);
2496 int sys_osigvec (struct osigvec_args
*);
2497 int sys_osigblock (struct osigblock_args
*);
2498 int sys_osigsetmask (struct osigsetmask_args
*);
2499 int sys_osigstack (struct osigstack_args
*);
2500 int sys_orecvmsg (struct orecvmsg_args
*);
2501 int sys_osendmsg (struct osendmsg_args
*);
2502 int sys_orecvfrom (struct recvfrom_args
*);
2503 int sys_otruncate (struct otruncate_args
*);
2504 int sys_oftruncate (struct oftruncate_args
*);
2505 int sys_ogetpeername (struct ogetpeername_args
*);
2506 int sys_ogethostid (struct ogethostid_args
*);
2507 int sys_osethostid (struct osethostid_args
*);
2508 int sys_ogetrlimit (struct ogetrlimit_args
*);
2509 int sys_osetrlimit (struct osetrlimit_args
*);
2510 int sys_okillpg (struct okillpg_args
*);
2511 int sys_oquota (struct oquota_args
*);
2512 int sys_ogetsockname (struct getsockname_args
*);
2513 int sys_ogetdirentries (struct ogetdirentries_args
*);
2515 #endif /* _KERNEL */
2517 #endif /* COMPAT_43 */
2524 struct dfbsd12_stat_args
{
2526 struct sysmsg sysmsg
;
2528 const char * path
; char path_
[PAD_(const char *)];
2529 struct dfbsd12_stat
* ub
; char ub_
[PAD_(struct dfbsd12_stat
*)];
2531 struct dfbsd12_fstat_args
{
2533 struct sysmsg sysmsg
;
2535 int fd
; char fd_
[PAD_(int)];
2536 struct dfbsd12_stat
* sb
; char sb_
[PAD_(struct dfbsd12_stat
*)];
2538 struct dfbsd12_lstat_args
{
2540 struct sysmsg sysmsg
;
2542 const char * path
; char path_
[PAD_(const char *)];
2543 struct dfbsd12_stat
* ub
; char ub_
[PAD_(struct dfbsd12_stat
*)];
2545 struct dfbsd12_getdirentries_args
{
2547 struct sysmsg sysmsg
;
2549 int fd
; char fd_
[PAD_(int)];
2550 char * buf
; char buf_
[PAD_(char *)];
2551 u_int count
; char count_
[PAD_(u_int
)];
2552 long * basep
; char basep_
[PAD_(long *)];
2554 struct dfbsd12_getdents_args
{
2556 struct sysmsg sysmsg
;
2558 int fd
; char fd_
[PAD_(int)];
2559 char * buf
; char buf_
[PAD_(char *)];
2560 size_t count
; char count_
[PAD_(size_t)];
2562 struct dfbsd12_fhstat_args
{
2564 struct sysmsg sysmsg
;
2566 const struct fhandle
* u_fhp
; char u_fhp_
[PAD_(const struct fhandle
*)];
2567 struct dfbsd12_stat
* sb
; char sb_
[PAD_(struct dfbsd12_stat
*)];
2572 int sys_dfbsd12_stat (struct dfbsd12_stat_args
*);
2573 int sys_dfbsd12_fstat (struct dfbsd12_fstat_args
*);
2574 int sys_dfbsd12_lstat (struct dfbsd12_lstat_args
*);
2575 int sys_dfbsd12_getdirentries (struct dfbsd12_getdirentries_args
*);
2576 int sys_dfbsd12_getdents (struct dfbsd12_getdents_args
*);
2577 int sys_dfbsd12_fhstat (struct dfbsd12_fhstat_args
*);
2579 #endif /* _KERNEL */
2581 #endif /* COMPAT_DF12 */
2588 int sys_nosys (struct nosys_args
*);
2589 int sys_exit (struct exit_args
*);
2590 int sys_fork (struct fork_args
*);
2591 int sys_read (struct read_args
*);
2592 int sys_write (struct write_args
*);
2593 int sys_open (struct open_args
*);
2594 int sys_close (struct close_args
*);
2595 int sys_wait4 (struct wait_args
*);
2596 int sys_link (struct link_args
*);
2597 int sys_unlink (struct unlink_args
*);
2598 int sys_chdir (struct chdir_args
*);
2599 int sys_fchdir (struct fchdir_args
*);
2600 int sys_mknod (struct mknod_args
*);
2601 int sys_chmod (struct chmod_args
*);
2602 int sys_chown (struct chown_args
*);
2603 int sys_obreak (struct obreak_args
*);
2604 int sys_getfsstat (struct getfsstat_args
*);
2605 int sys_getpid (struct getpid_args
*);
2606 int sys_mount (struct mount_args
*);
2607 int sys_unmount (struct unmount_args
*);
2608 int sys_setuid (struct setuid_args
*);
2609 int sys_getuid (struct getuid_args
*);
2610 int sys_geteuid (struct geteuid_args
*);
2611 int sys_ptrace (struct ptrace_args
*);
2612 int sys_recvmsg (struct recvmsg_args
*);
2613 int sys_sendmsg (struct sendmsg_args
*);
2614 int sys_recvfrom (struct recvfrom_args
*);
2615 int sys_accept (struct accept_args
*);
2616 int sys_getpeername (struct getpeername_args
*);
2617 int sys_getsockname (struct getsockname_args
*);
2618 int sys_access (struct access_args
*);
2619 int sys_chflags (struct chflags_args
*);
2620 int sys_fchflags (struct fchflags_args
*);
2621 int sys_sync (struct sync_args
*);
2622 int sys_kill (struct kill_args
*);
2623 int sys_getppid (struct getppid_args
*);
2624 int sys_dup (struct dup_args
*);
2625 int sys_pipe (struct pipe_args
*);
2626 int sys_getegid (struct getegid_args
*);
2627 int sys_profil (struct profil_args
*);
2628 int sys_ktrace (struct ktrace_args
*);
2629 int sys_getgid (struct getgid_args
*);
2630 int sys_getlogin (struct getlogin_args
*);
2631 int sys_setlogin (struct setlogin_args
*);
2632 int sys_acct (struct acct_args
*);
2633 int sys_sigaltstack (struct sigaltstack_args
*);
2634 int sys_ioctl (struct ioctl_args
*);
2635 int sys_reboot (struct reboot_args
*);
2636 int sys_revoke (struct revoke_args
*);
2637 int sys_symlink (struct symlink_args
*);
2638 int sys_readlink (struct readlink_args
*);
2639 int sys_execve (struct execve_args
*);
2640 int sys_umask (struct umask_args
*);
2641 int sys_chroot (struct chroot_args
*);
2642 int sys_msync (struct msync_args
*);
2643 int sys_vfork (struct vfork_args
*);
2644 int sys_sbrk (struct sbrk_args
*);
2645 int sys_sstk (struct sstk_args
*);
2646 int sys_ovadvise (struct ovadvise_args
*);
2647 int sys_munmap (struct munmap_args
*);
2648 int sys_mprotect (struct mprotect_args
*);
2649 int sys_madvise (struct madvise_args
*);
2650 int sys_mincore (struct mincore_args
*);
2651 int sys_getgroups (struct getgroups_args
*);
2652 int sys_setgroups (struct setgroups_args
*);
2653 int sys_getpgrp (struct getpgrp_args
*);
2654 int sys_setpgid (struct setpgid_args
*);
2655 int sys_setitimer (struct setitimer_args
*);
2656 int sys_swapon (struct swapon_args
*);
2657 int sys_getitimer (struct getitimer_args
*);
2658 int sys_getdtablesize (struct getdtablesize_args
*);
2659 int sys_dup2 (struct dup2_args
*);
2660 int sys_fcntl (struct fcntl_args
*);
2661 int sys_select (struct select_args
*);
2662 int sys_fsync (struct fsync_args
*);
2663 int sys_setpriority (struct setpriority_args
*);
2664 int sys_socket (struct socket_args
*);
2665 int sys_connect (struct connect_args
*);
2666 int sys_getpriority (struct getpriority_args
*);
2667 int sys_bind (struct bind_args
*);
2668 int sys_setsockopt (struct setsockopt_args
*);
2669 int sys_listen (struct listen_args
*);
2670 int sys_gettimeofday (struct gettimeofday_args
*);
2671 int sys_getrusage (struct getrusage_args
*);
2672 int sys_getsockopt (struct getsockopt_args
*);
2673 int sys_readv (struct readv_args
*);
2674 int sys_writev (struct writev_args
*);
2675 int sys_settimeofday (struct settimeofday_args
*);
2676 int sys_fchown (struct fchown_args
*);
2677 int sys_fchmod (struct fchmod_args
*);
2678 int sys_setreuid (struct setreuid_args
*);
2679 int sys_setregid (struct setregid_args
*);
2680 int sys_rename (struct rename_args
*);
2681 int sys_flock (struct flock_args
*);
2682 int sys_mkfifo (struct mkfifo_args
*);
2683 int sys_sendto (struct sendto_args
*);
2684 int sys_shutdown (struct shutdown_args
*);
2685 int sys_socketpair (struct socketpair_args
*);
2686 int sys_mkdir (struct mkdir_args
*);
2687 int sys_rmdir (struct rmdir_args
*);
2688 int sys_utimes (struct utimes_args
*);
2689 int sys_adjtime (struct adjtime_args
*);
2690 int sys_setsid (struct setsid_args
*);
2691 int sys_quotactl (struct quotactl_args
*);
2692 int sys_nfssvc (struct nfssvc_args
*);
2693 int sys_statfs (struct statfs_args
*);
2694 int sys_fstatfs (struct fstatfs_args
*);
2695 int sys_getfh (struct getfh_args
*);
2696 int sys_getdomainname (struct getdomainname_args
*);
2697 int sys_setdomainname (struct setdomainname_args
*);
2698 int sys_uname (struct uname_args
*);
2699 int sys_sysarch (struct sysarch_args
*);
2700 int sys_rtprio (struct rtprio_args
*);
2701 int sys_semsys (struct semsys_args
*);
2702 int sys_msgsys (struct msgsys_args
*);
2703 int sys_shmsys (struct shmsys_args
*);
2704 int sys_extpread (struct extpread_args
*);
2705 int sys_extpwrite (struct extpwrite_args
*);
2706 int sys_ntp_adjtime (struct ntp_adjtime_args
*);
2707 int sys_setgid (struct setgid_args
*);
2708 int sys_setegid (struct setegid_args
*);
2709 int sys_seteuid (struct seteuid_args
*);
2710 int sys_pathconf (struct pathconf_args
*);
2711 int sys_fpathconf (struct fpathconf_args
*);
2712 int sys_getrlimit (struct __getrlimit_args
*);
2713 int sys_setrlimit (struct __setrlimit_args
*);
2714 int sys_mmap (struct mmap_args
*);
2715 int sys_lseek (struct lseek_args
*);
2716 int sys_truncate (struct truncate_args
*);
2717 int sys_ftruncate (struct ftruncate_args
*);
2718 int sys___sysctl (struct sysctl_args
*);
2719 int sys_mlock (struct mlock_args
*);
2720 int sys_munlock (struct munlock_args
*);
2721 int sys_undelete (struct undelete_args
*);
2722 int sys_futimes (struct futimes_args
*);
2723 int sys_getpgid (struct getpgid_args
*);
2724 int sys_poll (struct poll_args
*);
2725 int sys_lkmnosys (struct nosys_args
*);
2726 int sys___semctl (struct __semctl_args
*);
2727 int sys_semget (struct semget_args
*);
2728 int sys_semop (struct semop_args
*);
2729 int sys_msgctl (struct msgctl_args
*);
2730 int sys_msgget (struct msgget_args
*);
2731 int sys_msgsnd (struct msgsnd_args
*);
2732 int sys_msgrcv (struct msgrcv_args
*);
2733 int sys_shmat (struct shmat_args
*);
2734 int sys_shmctl (struct shmctl_args
*);
2735 int sys_shmdt (struct shmdt_args
*);
2736 int sys_shmget (struct shmget_args
*);
2737 int sys_clock_gettime (struct clock_gettime_args
*);
2738 int sys_clock_settime (struct clock_settime_args
*);
2739 int sys_clock_getres (struct clock_getres_args
*);
2740 int sys_nanosleep (struct nanosleep_args
*);
2741 int sys_minherit (struct minherit_args
*);
2742 int sys_rfork (struct rfork_args
*);
2743 int sys_openbsd_poll (struct openbsd_poll_args
*);
2744 int sys_issetugid (struct issetugid_args
*);
2745 int sys_lchown (struct lchown_args
*);
2746 int sys_lchmod (struct lchmod_args
*);
2747 int sys_lutimes (struct lutimes_args
*);
2748 int sys_extpreadv (struct extpreadv_args
*);
2749 int sys_extpwritev (struct extpwritev_args
*);
2750 int sys_fhstatfs (struct fhstatfs_args
*);
2751 int sys_fhopen (struct fhopen_args
*);
2752 int sys_modnext (struct modnext_args
*);
2753 int sys_modstat (struct modstat_args
*);
2754 int sys_modfnext (struct modfnext_args
*);
2755 int sys_modfind (struct modfind_args
*);
2756 int sys_kldload (struct kldload_args
*);
2757 int sys_kldunload (struct kldunload_args
*);
2758 int sys_kldfind (struct kldfind_args
*);
2759 int sys_kldnext (struct kldnext_args
*);
2760 int sys_kldstat (struct kldstat_args
*);
2761 int sys_kldfirstmod (struct kldfirstmod_args
*);
2762 int sys_getsid (struct getsid_args
*);
2763 int sys_setresuid (struct setresuid_args
*);
2764 int sys_setresgid (struct setresgid_args
*);
2765 int sys_aio_return (struct aio_return_args
*);
2766 int sys_aio_suspend (struct aio_suspend_args
*);
2767 int sys_aio_cancel (struct aio_cancel_args
*);
2768 int sys_aio_error (struct aio_error_args
*);
2769 int sys_aio_read (struct aio_read_args
*);
2770 int sys_aio_write (struct aio_write_args
*);
2771 int sys_lio_listio (struct lio_listio_args
*);
2772 int sys_yield (struct yield_args
*);
2773 int sys_mlockall (struct mlockall_args
*);
2774 int sys_munlockall (struct munlockall_args
*);
2775 int sys___getcwd (struct __getcwd_args
*);
2776 int sys_sched_setparam (struct sched_setparam_args
*);
2777 int sys_sched_getparam (struct sched_getparam_args
*);
2778 int sys_sched_setscheduler (struct sched_setscheduler_args
*);
2779 int sys_sched_getscheduler (struct sched_getscheduler_args
*);
2780 int sys_sched_yield (struct sched_yield_args
*);
2781 int sys_sched_get_priority_max (struct sched_get_priority_max_args
*);
2782 int sys_sched_get_priority_min (struct sched_get_priority_min_args
*);
2783 int sys_sched_rr_get_interval (struct sched_rr_get_interval_args
*);
2784 int sys_utrace (struct utrace_args
*);
2785 int sys_kldsym (struct kldsym_args
*);
2786 int sys_jail (struct jail_args
*);
2787 int sys_sigprocmask (struct sigprocmask_args
*);
2788 int sys_sigsuspend (struct sigsuspend_args
*);
2789 int sys_sigaction (struct sigaction_args
*);
2790 int sys_sigpending (struct sigpending_args
*);
2791 int sys_sigreturn (struct sigreturn_args
*);
2792 int sys_sigtimedwait (struct sigtimedwait_args
*);
2793 int sys_sigwaitinfo (struct sigwaitinfo_args
*);
2794 int sys___acl_get_file (struct __acl_get_file_args
*);
2795 int sys___acl_set_file (struct __acl_set_file_args
*);
2796 int sys___acl_get_fd (struct __acl_get_fd_args
*);
2797 int sys___acl_set_fd (struct __acl_set_fd_args
*);
2798 int sys___acl_delete_file (struct __acl_delete_file_args
*);
2799 int sys___acl_delete_fd (struct __acl_delete_fd_args
*);
2800 int sys___acl_aclcheck_file (struct __acl_aclcheck_file_args
*);
2801 int sys___acl_aclcheck_fd (struct __acl_aclcheck_fd_args
*);
2802 int sys_extattrctl (struct extattrctl_args
*);
2803 int sys_extattr_set_file (struct extattr_set_file_args
*);
2804 int sys_extattr_get_file (struct extattr_get_file_args
*);
2805 int sys_extattr_delete_file (struct extattr_delete_file_args
*);
2806 int sys_aio_waitcomplete (struct aio_waitcomplete_args
*);
2807 int sys_getresuid (struct getresuid_args
*);
2808 int sys_getresgid (struct getresgid_args
*);
2809 int sys_kqueue (struct kqueue_args
*);
2810 int sys_kevent (struct kevent_args
*);
2811 int sys_sctp_peeloff (struct sctp_peeloff_args
*);
2812 int sys_lchflags (struct lchflags_args
*);
2813 int sys_uuidgen (struct uuidgen_args
*);
2814 int sys_sendfile (struct sendfile_args
*);
2815 int sys_varsym_set (struct varsym_set_args
*);
2816 int sys_varsym_get (struct varsym_get_args
*);
2817 int sys_varsym_list (struct varsym_list_args
*);
2818 int sys_upc_register (struct upc_register_args
*);
2819 int sys_upc_control (struct upc_control_args
*);
2820 int sys_caps_sys_service (struct caps_sys_service_args
*);
2821 int sys_caps_sys_client (struct caps_sys_client_args
*);
2822 int sys_caps_sys_close (struct caps_sys_close_args
*);
2823 int sys_caps_sys_put (struct caps_sys_put_args
*);
2824 int sys_caps_sys_reply (struct caps_sys_reply_args
*);
2825 int sys_caps_sys_get (struct caps_sys_get_args
*);
2826 int sys_caps_sys_wait (struct caps_sys_wait_args
*);
2827 int sys_caps_sys_abort (struct caps_sys_abort_args
*);
2828 int sys_caps_sys_getgen (struct caps_sys_getgen_args
*);
2829 int sys_caps_sys_setgen (struct caps_sys_setgen_args
*);
2830 int sys_exec_sys_register (struct exec_sys_register_args
*);
2831 int sys_exec_sys_unregister (struct exec_sys_unregister_args
*);
2832 int sys_sys_checkpoint (struct sys_checkpoint_args
*);
2833 int sys_mountctl (struct mountctl_args
*);
2834 int sys_umtx_sleep (struct umtx_sleep_args
*);
2835 int sys_umtx_wakeup (struct umtx_wakeup_args
*);
2836 int sys_jail_attach (struct jail_attach_args
*);
2837 int sys_set_tls_area (struct set_tls_area_args
*);
2838 int sys_get_tls_area (struct get_tls_area_args
*);
2839 int sys_closefrom (struct closefrom_args
*);
2840 int sys_stat (struct stat_args
*);
2841 int sys_fstat (struct fstat_args
*);
2842 int sys_lstat (struct lstat_args
*);
2843 int sys_fhstat (struct fhstat_args
*);
2844 int sys_getdirentries (struct getdirentries_args
*);
2845 int sys_getdents (struct getdents_args
*);
2846 int sys_usched_set (struct usched_set_args
*);
2847 int sys_extaccept (struct extaccept_args
*);
2848 int sys_extconnect (struct extconnect_args
*);
2849 int sys_syslink (struct syslink_args
*);
2850 int sys_mcontrol (struct mcontrol_args
*);
2851 int sys_vmspace_create (struct vmspace_create_args
*);
2852 int sys_vmspace_destroy (struct vmspace_destroy_args
*);
2853 int sys_vmspace_ctl (struct vmspace_ctl_args
*);
2854 int sys_vmspace_mmap (struct vmspace_mmap_args
*);
2855 int sys_vmspace_munmap (struct vmspace_munmap_args
*);
2856 int sys_vmspace_mcontrol (struct vmspace_mcontrol_args
*);
2857 int sys_vmspace_pread (struct vmspace_pread_args
*);
2858 int sys_vmspace_pwrite (struct vmspace_pwrite_args
*);
2859 int sys_extexit (struct extexit_args
*);
2860 int sys_lwp_create (struct lwp_create_args
*);
2861 int sys_lwp_gettid (struct lwp_gettid_args
*);
2862 int sys_lwp_kill (struct lwp_kill_args
*);
2863 int sys_lwp_rtprio (struct lwp_rtprio_args
*);
2864 int sys_pselect (struct pselect_args
*);
2865 int sys_statvfs (struct statvfs_args
*);
2866 int sys_fstatvfs (struct fstatvfs_args
*);
2867 int sys_fhstatvfs (struct fhstatvfs_args
*);
2868 int sys_getvfsstat (struct getvfsstat_args
*);
2869 int sys_openat (struct openat_args
*);
2870 int sys_fstatat (struct fstatat_args
*);
2871 int sys_fchmodat (struct fchmodat_args
*);
2872 int sys_fchownat (struct fchownat_args
*);
2873 int sys_unlinkat (struct unlinkat_args
*);
2874 int sys_faccessat (struct faccessat_args
*);
2875 int sys_mq_open (struct mq_open_args
*);
2876 int sys_mq_close (struct mq_close_args
*);
2877 int sys_mq_unlink (struct mq_unlink_args
*);
2878 int sys_mq_getattr (struct mq_getattr_args
*);
2879 int sys_mq_setattr (struct mq_setattr_args
*);
2880 int sys_mq_notify (struct mq_notify_args
*);
2881 int sys_mq_send (struct mq_send_args
*);
2882 int sys_mq_receive (struct mq_receive_args
*);
2883 int sys_mq_timedsend (struct mq_timedsend_args
*);
2884 int sys_mq_timedreceive (struct mq_timedreceive_args
*);
2886 #endif /* !_SYS_SYSPROTO_H_ */
2889 #endif /* _KERNEL */