kernel - Increase default kern.maxfiles from (maxproc * 2) to (maxproc * 16).
[dragonfly.git] / sys / sys / sysproto.h
blob7ee585b4260e62e6b108eb2e5d64d1ccab6df81d
1 /*
2 * System call prototypes.
4 * DO NOT EDIT-- this file is automatically generated.
5 */
7 #ifndef _SYS_SYSPROTO_H_
8 #define _SYS_SYSPROTO_H_
10 #include <sys/select.h>
12 #include <sys/signal.h>
14 #include <sys/acl.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))
25 #ifdef COMPAT_43
26 #endif
27 struct nosys_args {
28 #ifdef _KERNEL
29 struct sysmsg sysmsg;
30 #endif
31 register_t dummy;
33 struct exit_args {
34 #ifdef _KERNEL
35 struct sysmsg sysmsg;
36 #endif
37 int rval; char rval_[PAD_(int)];
39 struct fork_args {
40 #ifdef _KERNEL
41 struct sysmsg sysmsg;
42 #endif
43 register_t dummy;
45 struct read_args {
46 #ifdef _KERNEL
47 struct sysmsg sysmsg;
48 #endif
49 int fd; char fd_[PAD_(int)];
50 void * buf; char buf_[PAD_(void *)];
51 size_t nbyte; char nbyte_[PAD_(size_t)];
53 struct write_args {
54 #ifdef _KERNEL
55 struct sysmsg sysmsg;
56 #endif
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)];
61 struct open_args {
62 #ifdef _KERNEL
63 struct sysmsg sysmsg;
64 #endif
65 char * path; char path_[PAD_(char *)];
66 int flags; char flags_[PAD_(int)];
67 int mode; char mode_[PAD_(int)];
69 struct close_args {
70 #ifdef _KERNEL
71 struct sysmsg sysmsg;
72 #endif
73 int fd; char fd_[PAD_(int)];
75 struct wait_args {
76 #ifdef _KERNEL
77 struct sysmsg sysmsg;
78 #endif
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 *)];
84 struct link_args {
85 #ifdef _KERNEL
86 struct sysmsg sysmsg;
87 #endif
88 char * path; char path_[PAD_(char *)];
89 char * link; char link_[PAD_(char *)];
91 struct unlink_args {
92 #ifdef _KERNEL
93 struct sysmsg sysmsg;
94 #endif
95 char * path; char path_[PAD_(char *)];
97 struct chdir_args {
98 #ifdef _KERNEL
99 struct sysmsg sysmsg;
100 #endif
101 char * path; char path_[PAD_(char *)];
103 struct fchdir_args {
104 #ifdef _KERNEL
105 struct sysmsg sysmsg;
106 #endif
107 int fd; char fd_[PAD_(int)];
109 struct mknod_args {
110 #ifdef _KERNEL
111 struct sysmsg sysmsg;
112 #endif
113 char * path; char path_[PAD_(char *)];
114 int mode; char mode_[PAD_(int)];
115 int dev; char dev_[PAD_(int)];
117 struct chmod_args {
118 #ifdef _KERNEL
119 struct sysmsg sysmsg;
120 #endif
121 char * path; char path_[PAD_(char *)];
122 int mode; char mode_[PAD_(int)];
124 struct chown_args {
125 #ifdef _KERNEL
126 struct sysmsg sysmsg;
127 #endif
128 char * path; char path_[PAD_(char *)];
129 int uid; char uid_[PAD_(int)];
130 int gid; char gid_[PAD_(int)];
132 struct obreak_args {
133 #ifdef _KERNEL
134 struct sysmsg sysmsg;
135 #endif
136 char * nsize; char nsize_[PAD_(char *)];
138 struct getfsstat_args {
139 #ifdef _KERNEL
140 struct sysmsg sysmsg;
141 #endif
142 struct statfs * buf; char buf_[PAD_(struct statfs *)];
143 long bufsize; char bufsize_[PAD_(long)];
144 int flags; char flags_[PAD_(int)];
146 struct getpid_args {
147 #ifdef _KERNEL
148 struct sysmsg sysmsg;
149 #endif
150 register_t dummy;
152 struct mount_args {
153 #ifdef _KERNEL
154 struct sysmsg sysmsg;
155 #endif
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 {
162 #ifdef _KERNEL
163 struct sysmsg sysmsg;
164 #endif
165 char * path; char path_[PAD_(char *)];
166 int flags; char flags_[PAD_(int)];
168 struct setuid_args {
169 #ifdef _KERNEL
170 struct sysmsg sysmsg;
171 #endif
172 uid_t uid; char uid_[PAD_(uid_t)];
174 struct getuid_args {
175 #ifdef _KERNEL
176 struct sysmsg sysmsg;
177 #endif
178 register_t dummy;
180 struct geteuid_args {
181 #ifdef _KERNEL
182 struct sysmsg sysmsg;
183 #endif
184 register_t dummy;
186 struct ptrace_args {
187 #ifdef _KERNEL
188 struct sysmsg sysmsg;
189 #endif
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 {
196 #ifdef _KERNEL
197 struct sysmsg sysmsg;
198 #endif
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 {
204 #ifdef _KERNEL
205 struct sysmsg sysmsg;
206 #endif
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 {
212 #ifdef _KERNEL
213 struct sysmsg sysmsg;
214 #endif
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 *)];
222 struct accept_args {
223 #ifdef _KERNEL
224 struct sysmsg sysmsg;
225 #endif
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 {
231 #ifdef _KERNEL
232 struct sysmsg sysmsg;
233 #endif
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 {
239 #ifdef _KERNEL
240 struct sysmsg sysmsg;
241 #endif
242 int fdes; char fdes_[PAD_(int)];
243 caddr_t asa; char asa_[PAD_(caddr_t)];
244 int * alen; char alen_[PAD_(int *)];
246 struct access_args {
247 #ifdef _KERNEL
248 struct sysmsg sysmsg;
249 #endif
250 char * path; char path_[PAD_(char *)];
251 int flags; char flags_[PAD_(int)];
253 struct chflags_args {
254 #ifdef _KERNEL
255 struct sysmsg sysmsg;
256 #endif
257 char * path; char path_[PAD_(char *)];
258 int flags; char flags_[PAD_(int)];
260 struct fchflags_args {
261 #ifdef _KERNEL
262 struct sysmsg sysmsg;
263 #endif
264 int fd; char fd_[PAD_(int)];
265 int flags; char flags_[PAD_(int)];
267 struct sync_args {
268 #ifdef _KERNEL
269 struct sysmsg sysmsg;
270 #endif
271 register_t dummy;
273 struct kill_args {
274 #ifdef _KERNEL
275 struct sysmsg sysmsg;
276 #endif
277 int pid; char pid_[PAD_(int)];
278 int signum; char signum_[PAD_(int)];
280 struct getppid_args {
281 #ifdef _KERNEL
282 struct sysmsg sysmsg;
283 #endif
284 register_t dummy;
286 struct dup_args {
287 #ifdef _KERNEL
288 struct sysmsg sysmsg;
289 #endif
290 u_int fd; char fd_[PAD_(u_int)];
292 struct pipe_args {
293 #ifdef _KERNEL
294 struct sysmsg sysmsg;
295 #endif
296 register_t dummy;
298 struct getegid_args {
299 #ifdef _KERNEL
300 struct sysmsg sysmsg;
301 #endif
302 register_t dummy;
304 struct profil_args {
305 #ifdef _KERNEL
306 struct sysmsg sysmsg;
307 #endif
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)];
313 struct ktrace_args {
314 #ifdef _KERNEL
315 struct sysmsg sysmsg;
316 #endif
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)];
322 struct getgid_args {
323 #ifdef _KERNEL
324 struct sysmsg sysmsg;
325 #endif
326 register_t dummy;
328 struct getlogin_args {
329 #ifdef _KERNEL
330 struct sysmsg sysmsg;
331 #endif
332 char * namebuf; char namebuf_[PAD_(char *)];
333 u_int namelen; char namelen_[PAD_(u_int)];
335 struct setlogin_args {
336 #ifdef _KERNEL
337 struct sysmsg sysmsg;
338 #endif
339 char * namebuf; char namebuf_[PAD_(char *)];
341 struct acct_args {
342 #ifdef _KERNEL
343 struct sysmsg sysmsg;
344 #endif
345 char * path; char path_[PAD_(char *)];
347 struct sigaltstack_args {
348 #ifdef _KERNEL
349 struct sysmsg sysmsg;
350 #endif
351 stack_t * ss; char ss_[PAD_(stack_t *)];
352 stack_t * oss; char oss_[PAD_(stack_t *)];
354 struct ioctl_args {
355 #ifdef _KERNEL
356 struct sysmsg sysmsg;
357 #endif
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)];
362 struct reboot_args {
363 #ifdef _KERNEL
364 struct sysmsg sysmsg;
365 #endif
366 int opt; char opt_[PAD_(int)];
368 struct revoke_args {
369 #ifdef _KERNEL
370 struct sysmsg sysmsg;
371 #endif
372 char * path; char path_[PAD_(char *)];
374 struct symlink_args {
375 #ifdef _KERNEL
376 struct sysmsg sysmsg;
377 #endif
378 char * path; char path_[PAD_(char *)];
379 char * link; char link_[PAD_(char *)];
381 struct readlink_args {
382 #ifdef _KERNEL
383 struct sysmsg sysmsg;
384 #endif
385 char * path; char path_[PAD_(char *)];
386 char * buf; char buf_[PAD_(char *)];
387 int count; char count_[PAD_(int)];
389 struct execve_args {
390 #ifdef _KERNEL
391 struct sysmsg sysmsg;
392 #endif
393 char * fname; char fname_[PAD_(char *)];
394 char ** argv; char argv_[PAD_(char **)];
395 char ** envv; char envv_[PAD_(char **)];
397 struct umask_args {
398 #ifdef _KERNEL
399 struct sysmsg sysmsg;
400 #endif
401 int newmask; char newmask_[PAD_(int)];
403 struct chroot_args {
404 #ifdef _KERNEL
405 struct sysmsg sysmsg;
406 #endif
407 char * path; char path_[PAD_(char *)];
409 struct getpagesize_args {
410 #ifdef _KERNEL
411 struct sysmsg sysmsg;
412 #endif
413 register_t dummy;
415 struct msync_args {
416 #ifdef _KERNEL
417 struct sysmsg sysmsg;
418 #endif
419 void * addr; char addr_[PAD_(void *)];
420 size_t len; char len_[PAD_(size_t)];
421 int flags; char flags_[PAD_(int)];
423 struct vfork_args {
424 #ifdef _KERNEL
425 struct sysmsg sysmsg;
426 #endif
427 register_t dummy;
429 struct sbrk_args {
430 #ifdef _KERNEL
431 struct sysmsg sysmsg;
432 #endif
433 int incr; char incr_[PAD_(int)];
435 struct sstk_args {
436 #ifdef _KERNEL
437 struct sysmsg sysmsg;
438 #endif
439 int incr; char incr_[PAD_(int)];
441 struct ovadvise_args {
442 #ifdef _KERNEL
443 struct sysmsg sysmsg;
444 #endif
445 int anom; char anom_[PAD_(int)];
447 struct munmap_args {
448 #ifdef _KERNEL
449 struct sysmsg sysmsg;
450 #endif
451 void * addr; char addr_[PAD_(void *)];
452 size_t len; char len_[PAD_(size_t)];
454 struct mprotect_args {
455 #ifdef _KERNEL
456 struct sysmsg sysmsg;
457 #endif
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 {
463 #ifdef _KERNEL
464 struct sysmsg sysmsg;
465 #endif
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 {
471 #ifdef _KERNEL
472 struct sysmsg sysmsg;
473 #endif
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 {
479 #ifdef _KERNEL
480 struct sysmsg sysmsg;
481 #endif
482 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
483 gid_t * gidset; char gidset_[PAD_(gid_t *)];
485 struct setgroups_args {
486 #ifdef _KERNEL
487 struct sysmsg sysmsg;
488 #endif
489 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
490 gid_t * gidset; char gidset_[PAD_(gid_t *)];
492 struct getpgrp_args {
493 #ifdef _KERNEL
494 struct sysmsg sysmsg;
495 #endif
496 register_t dummy;
498 struct setpgid_args {
499 #ifdef _KERNEL
500 struct sysmsg sysmsg;
501 #endif
502 int pid; char pid_[PAD_(int)];
503 int pgid; char pgid_[PAD_(int)];
505 struct setitimer_args {
506 #ifdef _KERNEL
507 struct sysmsg sysmsg;
508 #endif
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 *)];
513 struct owait_args {
514 #ifdef _KERNEL
515 struct sysmsg sysmsg;
516 #endif
517 register_t dummy;
519 struct swapon_args {
520 #ifdef _KERNEL
521 struct sysmsg sysmsg;
522 #endif
523 char * name; char name_[PAD_(char *)];
525 struct getitimer_args {
526 #ifdef _KERNEL
527 struct sysmsg sysmsg;
528 #endif
529 u_int which; char which_[PAD_(u_int)];
530 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
532 struct getdtablesize_args {
533 #ifdef _KERNEL
534 struct sysmsg sysmsg;
535 #endif
536 register_t dummy;
538 struct dup2_args {
539 #ifdef _KERNEL
540 struct sysmsg sysmsg;
541 #endif
542 u_int from; char from_[PAD_(u_int)];
543 u_int to; char to_[PAD_(u_int)];
545 struct fcntl_args {
546 #ifdef _KERNEL
547 struct sysmsg sysmsg;
548 #endif
549 int fd; char fd_[PAD_(int)];
550 int cmd; char cmd_[PAD_(int)];
551 long arg; char arg_[PAD_(long)];
553 struct select_args {
554 #ifdef _KERNEL
555 struct sysmsg sysmsg;
556 #endif
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 *)];
563 struct fsync_args {
564 #ifdef _KERNEL
565 struct sysmsg sysmsg;
566 #endif
567 int fd; char fd_[PAD_(int)];
569 struct setpriority_args {
570 #ifdef _KERNEL
571 struct sysmsg sysmsg;
572 #endif
573 int which; char which_[PAD_(int)];
574 int who; char who_[PAD_(int)];
575 int prio; char prio_[PAD_(int)];
577 struct socket_args {
578 #ifdef _KERNEL
579 struct sysmsg sysmsg;
580 #endif
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 {
586 #ifdef _KERNEL
587 struct sysmsg sysmsg;
588 #endif
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 {
594 #ifdef _KERNEL
595 struct sysmsg sysmsg;
596 #endif
597 int which; char which_[PAD_(int)];
598 int who; char who_[PAD_(int)];
600 struct bind_args {
601 #ifdef _KERNEL
602 struct sysmsg sysmsg;
603 #endif
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 {
609 #ifdef _KERNEL
610 struct sysmsg sysmsg;
611 #endif
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)];
618 struct listen_args {
619 #ifdef _KERNEL
620 struct sysmsg sysmsg;
621 #endif
622 int s; char s_[PAD_(int)];
623 int backlog; char backlog_[PAD_(int)];
625 struct gettimeofday_args {
626 #ifdef _KERNEL
627 struct sysmsg sysmsg;
628 #endif
629 struct timeval * tp; char tp_[PAD_(struct timeval *)];
630 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
632 struct getrusage_args {
633 #ifdef _KERNEL
634 struct sysmsg sysmsg;
635 #endif
636 int who; char who_[PAD_(int)];
637 struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
639 struct getsockopt_args {
640 #ifdef _KERNEL
641 struct sysmsg sysmsg;
642 #endif
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 *)];
649 struct readv_args {
650 #ifdef _KERNEL
651 struct sysmsg sysmsg;
652 #endif
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)];
657 struct writev_args {
658 #ifdef _KERNEL
659 struct sysmsg sysmsg;
660 #endif
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 {
666 #ifdef _KERNEL
667 struct sysmsg sysmsg;
668 #endif
669 struct timeval * tv; char tv_[PAD_(struct timeval *)];
670 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
672 struct fchown_args {
673 #ifdef _KERNEL
674 struct sysmsg sysmsg;
675 #endif
676 int fd; char fd_[PAD_(int)];
677 int uid; char uid_[PAD_(int)];
678 int gid; char gid_[PAD_(int)];
680 struct fchmod_args {
681 #ifdef _KERNEL
682 struct sysmsg sysmsg;
683 #endif
684 int fd; char fd_[PAD_(int)];
685 int mode; char mode_[PAD_(int)];
687 struct setreuid_args {
688 #ifdef _KERNEL
689 struct sysmsg sysmsg;
690 #endif
691 int ruid; char ruid_[PAD_(int)];
692 int euid; char euid_[PAD_(int)];
694 struct setregid_args {
695 #ifdef _KERNEL
696 struct sysmsg sysmsg;
697 #endif
698 int rgid; char rgid_[PAD_(int)];
699 int egid; char egid_[PAD_(int)];
701 struct rename_args {
702 #ifdef _KERNEL
703 struct sysmsg sysmsg;
704 #endif
705 char * from; char from_[PAD_(char *)];
706 char * to; char to_[PAD_(char *)];
708 struct flock_args {
709 #ifdef _KERNEL
710 struct sysmsg sysmsg;
711 #endif
712 int fd; char fd_[PAD_(int)];
713 int how; char how_[PAD_(int)];
715 struct mkfifo_args {
716 #ifdef _KERNEL
717 struct sysmsg sysmsg;
718 #endif
719 char * path; char path_[PAD_(char *)];
720 int mode; char mode_[PAD_(int)];
722 struct sendto_args {
723 #ifdef _KERNEL
724 struct sysmsg sysmsg;
725 #endif
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 {
734 #ifdef _KERNEL
735 struct sysmsg sysmsg;
736 #endif
737 int s; char s_[PAD_(int)];
738 int how; char how_[PAD_(int)];
740 struct socketpair_args {
741 #ifdef _KERNEL
742 struct sysmsg sysmsg;
743 #endif
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 *)];
749 struct mkdir_args {
750 #ifdef _KERNEL
751 struct sysmsg sysmsg;
752 #endif
753 char * path; char path_[PAD_(char *)];
754 int mode; char mode_[PAD_(int)];
756 struct rmdir_args {
757 #ifdef _KERNEL
758 struct sysmsg sysmsg;
759 #endif
760 char * path; char path_[PAD_(char *)];
762 struct utimes_args {
763 #ifdef _KERNEL
764 struct sysmsg sysmsg;
765 #endif
766 char * path; char path_[PAD_(char *)];
767 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
769 struct adjtime_args {
770 #ifdef _KERNEL
771 struct sysmsg sysmsg;
772 #endif
773 struct timeval * delta; char delta_[PAD_(struct timeval *)];
774 struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)];
776 struct ogethostid_args {
777 #ifdef _KERNEL
778 struct sysmsg sysmsg;
779 #endif
780 register_t dummy;
782 struct setsid_args {
783 #ifdef _KERNEL
784 struct sysmsg sysmsg;
785 #endif
786 register_t dummy;
788 struct quotactl_args {
789 #ifdef _KERNEL
790 struct sysmsg sysmsg;
791 #endif
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)];
797 struct oquota_args {
798 #ifdef _KERNEL
799 struct sysmsg sysmsg;
800 #endif
801 register_t dummy;
803 struct nfssvc_args {
804 #ifdef _KERNEL
805 struct sysmsg sysmsg;
806 #endif
807 int flag; char flag_[PAD_(int)];
808 caddr_t argp; char argp_[PAD_(caddr_t)];
810 struct statfs_args {
811 #ifdef _KERNEL
812 struct sysmsg sysmsg;
813 #endif
814 char * path; char path_[PAD_(char *)];
815 struct statfs * buf; char buf_[PAD_(struct statfs *)];
817 struct fstatfs_args {
818 #ifdef _KERNEL
819 struct sysmsg sysmsg;
820 #endif
821 int fd; char fd_[PAD_(int)];
822 struct statfs * buf; char buf_[PAD_(struct statfs *)];
824 struct getfh_args {
825 #ifdef _KERNEL
826 struct sysmsg sysmsg;
827 #endif
828 char * fname; char fname_[PAD_(char *)];
829 struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)];
831 struct getdomainname_args {
832 #ifdef _KERNEL
833 struct sysmsg sysmsg;
834 #endif
835 char * domainname; char domainname_[PAD_(char *)];
836 int len; char len_[PAD_(int)];
838 struct setdomainname_args {
839 #ifdef _KERNEL
840 struct sysmsg sysmsg;
841 #endif
842 char * domainname; char domainname_[PAD_(char *)];
843 int len; char len_[PAD_(int)];
845 struct uname_args {
846 #ifdef _KERNEL
847 struct sysmsg sysmsg;
848 #endif
849 struct utsname * name; char name_[PAD_(struct utsname *)];
851 struct sysarch_args {
852 #ifdef _KERNEL
853 struct sysmsg sysmsg;
854 #endif
855 int op; char op_[PAD_(int)];
856 char * parms; char parms_[PAD_(char *)];
858 struct rtprio_args {
859 #ifdef _KERNEL
860 struct sysmsg sysmsg;
861 #endif
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 *)];
866 struct semsys_args {
867 #ifdef _KERNEL
868 struct sysmsg sysmsg;
869 #endif
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)];
876 struct msgsys_args {
877 #ifdef _KERNEL
878 struct sysmsg sysmsg;
879 #endif
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)];
887 struct shmsys_args {
888 #ifdef _KERNEL
889 struct sysmsg sysmsg;
890 #endif
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 {
897 #ifdef _KERNEL
898 struct sysmsg sysmsg;
899 #endif
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 {
907 #ifdef _KERNEL
908 struct sysmsg sysmsg;
909 #endif
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 {
917 #ifdef _KERNEL
918 struct sysmsg sysmsg;
919 #endif
920 struct timex * tp; char tp_[PAD_(struct timex *)];
922 struct setgid_args {
923 #ifdef _KERNEL
924 struct sysmsg sysmsg;
925 #endif
926 gid_t gid; char gid_[PAD_(gid_t)];
928 struct setegid_args {
929 #ifdef _KERNEL
930 struct sysmsg sysmsg;
931 #endif
932 gid_t egid; char egid_[PAD_(gid_t)];
934 struct seteuid_args {
935 #ifdef _KERNEL
936 struct sysmsg sysmsg;
937 #endif
938 uid_t euid; char euid_[PAD_(uid_t)];
940 struct pathconf_args {
941 #ifdef _KERNEL
942 struct sysmsg sysmsg;
943 #endif
944 char * path; char path_[PAD_(char *)];
945 int name; char name_[PAD_(int)];
947 struct fpathconf_args {
948 #ifdef _KERNEL
949 struct sysmsg sysmsg;
950 #endif
951 int fd; char fd_[PAD_(int)];
952 int name; char name_[PAD_(int)];
954 struct __getrlimit_args {
955 #ifdef _KERNEL
956 struct sysmsg sysmsg;
957 #endif
958 u_int which; char which_[PAD_(u_int)];
959 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
961 struct __setrlimit_args {
962 #ifdef _KERNEL
963 struct sysmsg sysmsg;
964 #endif
965 u_int which; char which_[PAD_(u_int)];
966 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
968 struct mmap_args {
969 #ifdef _KERNEL
970 struct sysmsg sysmsg;
971 #endif
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)];
980 struct lseek_args {
981 #ifdef _KERNEL
982 struct sysmsg sysmsg;
983 #endif
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 {
990 #ifdef _KERNEL
991 struct sysmsg sysmsg;
992 #endif
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 {
998 #ifdef _KERNEL
999 struct sysmsg sysmsg;
1000 #endif
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 {
1006 #ifdef _KERNEL
1007 struct sysmsg sysmsg;
1008 #endif
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)];
1016 struct mlock_args {
1017 #ifdef _KERNEL
1018 struct sysmsg sysmsg;
1019 #endif
1020 const void * addr; char addr_[PAD_(const void *)];
1021 size_t len; char len_[PAD_(size_t)];
1023 struct munlock_args {
1024 #ifdef _KERNEL
1025 struct sysmsg sysmsg;
1026 #endif
1027 const void * addr; char addr_[PAD_(const void *)];
1028 size_t len; char len_[PAD_(size_t)];
1030 struct undelete_args {
1031 #ifdef _KERNEL
1032 struct sysmsg sysmsg;
1033 #endif
1034 char * path; char path_[PAD_(char *)];
1036 struct futimes_args {
1037 #ifdef _KERNEL
1038 struct sysmsg sysmsg;
1039 #endif
1040 int fd; char fd_[PAD_(int)];
1041 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
1043 struct getpgid_args {
1044 #ifdef _KERNEL
1045 struct sysmsg sysmsg;
1046 #endif
1047 pid_t pid; char pid_[PAD_(pid_t)];
1049 struct poll_args {
1050 #ifdef _KERNEL
1051 struct sysmsg sysmsg;
1052 #endif
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 {
1058 #ifdef _KERNEL
1059 struct sysmsg sysmsg;
1060 #endif
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 {
1067 #ifdef _KERNEL
1068 struct sysmsg sysmsg;
1069 #endif
1070 key_t key; char key_[PAD_(key_t)];
1071 int nsems; char nsems_[PAD_(int)];
1072 int semflg; char semflg_[PAD_(int)];
1074 struct semop_args {
1075 #ifdef _KERNEL
1076 struct sysmsg sysmsg;
1077 #endif
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 {
1083 #ifdef _KERNEL
1084 struct sysmsg sysmsg;
1085 #endif
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 {
1091 #ifdef _KERNEL
1092 struct sysmsg sysmsg;
1093 #endif
1094 key_t key; char key_[PAD_(key_t)];
1095 int msgflg; char msgflg_[PAD_(int)];
1097 struct msgsnd_args {
1098 #ifdef _KERNEL
1099 struct sysmsg sysmsg;
1100 #endif
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 {
1107 #ifdef _KERNEL
1108 struct sysmsg sysmsg;
1109 #endif
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)];
1116 struct shmat_args {
1117 #ifdef _KERNEL
1118 struct sysmsg sysmsg;
1119 #endif
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 {
1125 #ifdef _KERNEL
1126 struct sysmsg sysmsg;
1127 #endif
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 *)];
1132 struct shmdt_args {
1133 #ifdef _KERNEL
1134 struct sysmsg sysmsg;
1135 #endif
1136 void * shmaddr; char shmaddr_[PAD_(void *)];
1138 struct shmget_args {
1139 #ifdef _KERNEL
1140 struct sysmsg sysmsg;
1141 #endif
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 {
1147 #ifdef _KERNEL
1148 struct sysmsg sysmsg;
1149 #endif
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 {
1154 #ifdef _KERNEL
1155 struct sysmsg sysmsg;
1156 #endif
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 {
1161 #ifdef _KERNEL
1162 struct sysmsg sysmsg;
1163 #endif
1164 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1165 struct timespec * tp; char tp_[PAD_(struct timespec *)];
1167 struct nanosleep_args {
1168 #ifdef _KERNEL
1169 struct sysmsg sysmsg;
1170 #endif
1171 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)];
1172 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)];
1174 struct minherit_args {
1175 #ifdef _KERNEL
1176 struct sysmsg sysmsg;
1177 #endif
1178 void * addr; char addr_[PAD_(void *)];
1179 size_t len; char len_[PAD_(size_t)];
1180 int inherit; char inherit_[PAD_(int)];
1182 struct rfork_args {
1183 #ifdef _KERNEL
1184 struct sysmsg sysmsg;
1185 #endif
1186 int flags; char flags_[PAD_(int)];
1188 struct openbsd_poll_args {
1189 #ifdef _KERNEL
1190 struct sysmsg sysmsg;
1191 #endif
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 {
1197 #ifdef _KERNEL
1198 struct sysmsg sysmsg;
1199 #endif
1200 register_t dummy;
1202 struct lchown_args {
1203 #ifdef _KERNEL
1204 struct sysmsg sysmsg;
1205 #endif
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 {
1211 #ifdef _KERNEL
1212 struct sysmsg sysmsg;
1213 #endif
1214 char * path; char path_[PAD_(char *)];
1215 mode_t mode; char mode_[PAD_(mode_t)];
1217 struct lutimes_args {
1218 #ifdef _KERNEL
1219 struct sysmsg sysmsg;
1220 #endif
1221 char * path; char path_[PAD_(char *)];
1222 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
1224 struct extpreadv_args {
1225 #ifdef _KERNEL
1226 struct sysmsg sysmsg;
1227 #endif
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 {
1235 #ifdef _KERNEL
1236 struct sysmsg sysmsg;
1237 #endif
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 {
1245 #ifdef _KERNEL
1246 struct sysmsg sysmsg;
1247 #endif
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 {
1252 #ifdef _KERNEL
1253 struct sysmsg sysmsg;
1254 #endif
1255 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1256 int flags; char flags_[PAD_(int)];
1258 struct modnext_args {
1259 #ifdef _KERNEL
1260 struct sysmsg sysmsg;
1261 #endif
1262 int modid; char modid_[PAD_(int)];
1264 struct modstat_args {
1265 #ifdef _KERNEL
1266 struct sysmsg sysmsg;
1267 #endif
1268 int modid; char modid_[PAD_(int)];
1269 struct module_stat * stat; char stat_[PAD_(struct module_stat *)];
1271 struct modfnext_args {
1272 #ifdef _KERNEL
1273 struct sysmsg sysmsg;
1274 #endif
1275 int modid; char modid_[PAD_(int)];
1277 struct modfind_args {
1278 #ifdef _KERNEL
1279 struct sysmsg sysmsg;
1280 #endif
1281 const char * name; char name_[PAD_(const char *)];
1283 struct kldload_args {
1284 #ifdef _KERNEL
1285 struct sysmsg sysmsg;
1286 #endif
1287 const char * file; char file_[PAD_(const char *)];
1289 struct kldunload_args {
1290 #ifdef _KERNEL
1291 struct sysmsg sysmsg;
1292 #endif
1293 int fileid; char fileid_[PAD_(int)];
1295 struct kldfind_args {
1296 #ifdef _KERNEL
1297 struct sysmsg sysmsg;
1298 #endif
1299 const char * file; char file_[PAD_(const char *)];
1301 struct kldnext_args {
1302 #ifdef _KERNEL
1303 struct sysmsg sysmsg;
1304 #endif
1305 int fileid; char fileid_[PAD_(int)];
1307 struct kldstat_args {
1308 #ifdef _KERNEL
1309 struct sysmsg sysmsg;
1310 #endif
1311 int fileid; char fileid_[PAD_(int)];
1312 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)];
1314 struct kldfirstmod_args {
1315 #ifdef _KERNEL
1316 struct sysmsg sysmsg;
1317 #endif
1318 int fileid; char fileid_[PAD_(int)];
1320 struct getsid_args {
1321 #ifdef _KERNEL
1322 struct sysmsg sysmsg;
1323 #endif
1324 pid_t pid; char pid_[PAD_(pid_t)];
1326 struct setresuid_args {
1327 #ifdef _KERNEL
1328 struct sysmsg sysmsg;
1329 #endif
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 {
1335 #ifdef _KERNEL
1336 struct sysmsg sysmsg;
1337 #endif
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 {
1343 #ifdef _KERNEL
1344 struct sysmsg sysmsg;
1345 #endif
1346 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1348 struct aio_suspend_args {
1349 #ifdef _KERNEL
1350 struct sysmsg sysmsg;
1351 #endif
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 {
1357 #ifdef _KERNEL
1358 struct sysmsg sysmsg;
1359 #endif
1360 int fd; char fd_[PAD_(int)];
1361 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1363 struct aio_error_args {
1364 #ifdef _KERNEL
1365 struct sysmsg sysmsg;
1366 #endif
1367 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1369 struct aio_read_args {
1370 #ifdef _KERNEL
1371 struct sysmsg sysmsg;
1372 #endif
1373 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1375 struct aio_write_args {
1376 #ifdef _KERNEL
1377 struct sysmsg sysmsg;
1378 #endif
1379 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1381 struct lio_listio_args {
1382 #ifdef _KERNEL
1383 struct sysmsg sysmsg;
1384 #endif
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 *)];
1390 struct yield_args {
1391 #ifdef _KERNEL
1392 struct sysmsg sysmsg;
1393 #endif
1394 register_t dummy;
1396 struct mlockall_args {
1397 #ifdef _KERNEL
1398 struct sysmsg sysmsg;
1399 #endif
1400 int how; char how_[PAD_(int)];
1402 struct munlockall_args {
1403 #ifdef _KERNEL
1404 struct sysmsg sysmsg;
1405 #endif
1406 register_t dummy;
1408 struct __getcwd_args {
1409 #ifdef _KERNEL
1410 struct sysmsg sysmsg;
1411 #endif
1412 u_char * buf; char buf_[PAD_(u_char *)];
1413 u_int buflen; char buflen_[PAD_(u_int)];
1415 struct sched_setparam_args {
1416 #ifdef _KERNEL
1417 struct sysmsg sysmsg;
1418 #endif
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 {
1423 #ifdef _KERNEL
1424 struct sysmsg sysmsg;
1425 #endif
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 {
1430 #ifdef _KERNEL
1431 struct sysmsg sysmsg;
1432 #endif
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 {
1438 #ifdef _KERNEL
1439 struct sysmsg sysmsg;
1440 #endif
1441 pid_t pid; char pid_[PAD_(pid_t)];
1443 struct sched_yield_args {
1444 #ifdef _KERNEL
1445 struct sysmsg sysmsg;
1446 #endif
1447 register_t dummy;
1449 struct sched_get_priority_max_args {
1450 #ifdef _KERNEL
1451 struct sysmsg sysmsg;
1452 #endif
1453 int policy; char policy_[PAD_(int)];
1455 struct sched_get_priority_min_args {
1456 #ifdef _KERNEL
1457 struct sysmsg sysmsg;
1458 #endif
1459 int policy; char policy_[PAD_(int)];
1461 struct sched_rr_get_interval_args {
1462 #ifdef _KERNEL
1463 struct sysmsg sysmsg;
1464 #endif
1465 pid_t pid; char pid_[PAD_(pid_t)];
1466 struct timespec * interval; char interval_[PAD_(struct timespec *)];
1468 struct utrace_args {
1469 #ifdef _KERNEL
1470 struct sysmsg sysmsg;
1471 #endif
1472 const void * addr; char addr_[PAD_(const void *)];
1473 size_t len; char len_[PAD_(size_t)];
1475 struct kldsym_args {
1476 #ifdef _KERNEL
1477 struct sysmsg sysmsg;
1478 #endif
1479 int fileid; char fileid_[PAD_(int)];
1480 int cmd; char cmd_[PAD_(int)];
1481 void * data; char data_[PAD_(void *)];
1483 struct jail_args {
1484 #ifdef _KERNEL
1485 struct sysmsg sysmsg;
1486 #endif
1487 struct jail * jail; char jail_[PAD_(struct jail *)];
1489 struct sigprocmask_args {
1490 #ifdef _KERNEL
1491 struct sysmsg sysmsg;
1492 #endif
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 {
1498 #ifdef _KERNEL
1499 struct sysmsg sysmsg;
1500 #endif
1501 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
1503 struct sigaction_args {
1504 #ifdef _KERNEL
1505 struct sysmsg sysmsg;
1506 #endif
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 {
1512 #ifdef _KERNEL
1513 struct sysmsg sysmsg;
1514 #endif
1515 sigset_t * set; char set_[PAD_(sigset_t *)];
1517 struct sigreturn_args {
1518 #ifdef _KERNEL
1519 struct sysmsg sysmsg;
1520 #endif
1521 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
1523 struct sigtimedwait_args {
1524 #ifdef _KERNEL
1525 struct sysmsg sysmsg;
1526 #endif
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 {
1532 #ifdef _KERNEL
1533 struct sysmsg sysmsg;
1534 #endif
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 {
1539 #ifdef _KERNEL
1540 struct sysmsg sysmsg;
1541 #endif
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 {
1547 #ifdef _KERNEL
1548 struct sysmsg sysmsg;
1549 #endif
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 {
1555 #ifdef _KERNEL
1556 struct sysmsg sysmsg;
1557 #endif
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 {
1563 #ifdef _KERNEL
1564 struct sysmsg sysmsg;
1565 #endif
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 {
1571 #ifdef _KERNEL
1572 struct sysmsg sysmsg;
1573 #endif
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 {
1578 #ifdef _KERNEL
1579 struct sysmsg sysmsg;
1580 #endif
1581 int filedes; char filedes_[PAD_(int)];
1582 acl_type_t type; char type_[PAD_(acl_type_t)];
1584 struct __acl_aclcheck_file_args {
1585 #ifdef _KERNEL
1586 struct sysmsg sysmsg;
1587 #endif
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 {
1593 #ifdef _KERNEL
1594 struct sysmsg sysmsg;
1595 #endif
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 {
1601 #ifdef _KERNEL
1602 struct sysmsg sysmsg;
1603 #endif
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 {
1610 #ifdef _KERNEL
1611 struct sysmsg sysmsg;
1612 #endif
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 {
1619 #ifdef _KERNEL
1620 struct sysmsg sysmsg;
1621 #endif
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 {
1628 #ifdef _KERNEL
1629 struct sysmsg sysmsg;
1630 #endif
1631 const char * path; char path_[PAD_(const char *)];
1632 const char * attrname; char attrname_[PAD_(const char *)];
1634 struct aio_waitcomplete_args {
1635 #ifdef _KERNEL
1636 struct sysmsg sysmsg;
1637 #endif
1638 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
1639 struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
1641 struct getresuid_args {
1642 #ifdef _KERNEL
1643 struct sysmsg sysmsg;
1644 #endif
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 {
1650 #ifdef _KERNEL
1651 struct sysmsg sysmsg;
1652 #endif
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 {
1658 #ifdef _KERNEL
1659 struct sysmsg sysmsg;
1660 #endif
1661 register_t dummy;
1663 struct kevent_args {
1664 #ifdef _KERNEL
1665 struct sysmsg sysmsg;
1666 #endif
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 {
1675 #ifdef _KERNEL
1676 struct sysmsg sysmsg;
1677 #endif
1678 int sd; char sd_[PAD_(int)];
1679 caddr_t name; char name_[PAD_(caddr_t)];
1681 struct lchflags_args {
1682 #ifdef _KERNEL
1683 struct sysmsg sysmsg;
1684 #endif
1685 char * path; char path_[PAD_(char *)];
1686 int flags; char flags_[PAD_(int)];
1688 struct uuidgen_args {
1689 #ifdef _KERNEL
1690 struct sysmsg sysmsg;
1691 #endif
1692 struct uuid * store; char store_[PAD_(struct uuid *)];
1693 int count; char count_[PAD_(int)];
1695 struct sendfile_args {
1696 #ifdef _KERNEL
1697 struct sysmsg sysmsg;
1698 #endif
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 {
1708 #ifdef _KERNEL
1709 struct sysmsg sysmsg;
1710 #endif
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 {
1716 #ifdef _KERNEL
1717 struct sysmsg sysmsg;
1718 #endif
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 {
1725 #ifdef _KERNEL
1726 struct sysmsg sysmsg;
1727 #endif
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 {
1734 #ifdef _KERNEL
1735 struct sysmsg sysmsg;
1736 #endif
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 {
1743 #ifdef _KERNEL
1744 struct sysmsg sysmsg;
1745 #endif
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 {
1751 #ifdef _KERNEL
1752 struct sysmsg sysmsg;
1753 #endif
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 {
1761 #ifdef _KERNEL
1762 struct sysmsg sysmsg;
1763 #endif
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 {
1771 #ifdef _KERNEL
1772 struct sysmsg sysmsg;
1773 #endif
1774 int portid; char portid_[PAD_(int)];
1776 struct caps_sys_put_args {
1777 #ifdef _KERNEL
1778 struct sysmsg sysmsg;
1779 #endif
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 {
1785 #ifdef _KERNEL
1786 struct sysmsg sysmsg;
1787 #endif
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 {
1794 #ifdef _KERNEL
1795 struct sysmsg sysmsg;
1796 #endif
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 {
1804 #ifdef _KERNEL
1805 struct sysmsg sysmsg;
1806 #endif
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 {
1814 #ifdef _KERNEL
1815 struct sysmsg sysmsg;
1816 #endif
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 {
1822 #ifdef _KERNEL
1823 struct sysmsg sysmsg;
1824 #endif
1825 int portid; char portid_[PAD_(int)];
1827 struct caps_sys_setgen_args {
1828 #ifdef _KERNEL
1829 struct sysmsg sysmsg;
1830 #endif
1831 int portid; char portid_[PAD_(int)];
1832 off_t gen; char gen_[PAD_(off_t)];
1834 struct exec_sys_register_args {
1835 #ifdef _KERNEL
1836 struct sysmsg sysmsg;
1837 #endif
1838 void * entry; char entry_[PAD_(void *)];
1840 struct exec_sys_unregister_args {
1841 #ifdef _KERNEL
1842 struct sysmsg sysmsg;
1843 #endif
1844 int id; char id_[PAD_(int)];
1846 struct sys_checkpoint_args {
1847 #ifdef _KERNEL
1848 struct sysmsg sysmsg;
1849 #endif
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 {
1856 #ifdef _KERNEL
1857 struct sysmsg sysmsg;
1858 #endif
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 {
1868 #ifdef _KERNEL
1869 struct sysmsg sysmsg;
1870 #endif
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 {
1876 #ifdef _KERNEL
1877 struct sysmsg sysmsg;
1878 #endif
1879 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
1880 int count; char count_[PAD_(int)];
1882 struct jail_attach_args {
1883 #ifdef _KERNEL
1884 struct sysmsg sysmsg;
1885 #endif
1886 int jid; char jid_[PAD_(int)];
1888 struct set_tls_area_args {
1889 #ifdef _KERNEL
1890 struct sysmsg sysmsg;
1891 #endif
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 {
1897 #ifdef _KERNEL
1898 struct sysmsg sysmsg;
1899 #endif
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 {
1905 #ifdef _KERNEL
1906 struct sysmsg sysmsg;
1907 #endif
1908 int fd; char fd_[PAD_(int)];
1910 struct stat_args {
1911 #ifdef _KERNEL
1912 struct sysmsg sysmsg;
1913 #endif
1914 const char * path; char path_[PAD_(const char *)];
1915 struct stat * ub; char ub_[PAD_(struct stat *)];
1917 struct fstat_args {
1918 #ifdef _KERNEL
1919 struct sysmsg sysmsg;
1920 #endif
1921 int fd; char fd_[PAD_(int)];
1922 struct stat * sb; char sb_[PAD_(struct stat *)];
1924 struct lstat_args {
1925 #ifdef _KERNEL
1926 struct sysmsg sysmsg;
1927 #endif
1928 const char * path; char path_[PAD_(const char *)];
1929 struct stat * ub; char ub_[PAD_(struct stat *)];
1931 struct fhstat_args {
1932 #ifdef _KERNEL
1933 struct sysmsg sysmsg;
1934 #endif
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 {
1939 #ifdef _KERNEL
1940 struct sysmsg sysmsg;
1941 #endif
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 {
1948 #ifdef _KERNEL
1949 struct sysmsg sysmsg;
1950 #endif
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 {
1956 #ifdef _KERNEL
1957 struct sysmsg sysmsg;
1958 #endif
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 {
1965 #ifdef _KERNEL
1966 struct sysmsg sysmsg;
1967 #endif
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 {
1974 #ifdef _KERNEL
1975 struct sysmsg sysmsg;
1976 #endif
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 {
1983 #ifdef _KERNEL
1984 struct sysmsg sysmsg;
1985 #endif
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 {
1991 #ifdef _KERNEL
1992 struct sysmsg sysmsg;
1993 #endif
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 {
2000 #ifdef _KERNEL
2001 struct sysmsg sysmsg;
2002 #endif
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 {
2008 #ifdef _KERNEL
2009 struct sysmsg sysmsg;
2010 #endif
2011 void * id; char id_[PAD_(void *)];
2013 struct vmspace_ctl_args {
2014 #ifdef _KERNEL
2015 struct sysmsg sysmsg;
2016 #endif
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 {
2023 #ifdef _KERNEL
2024 struct sysmsg sysmsg;
2025 #endif
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 {
2035 #ifdef _KERNEL
2036 struct sysmsg sysmsg;
2037 #endif
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 {
2043 #ifdef _KERNEL
2044 struct sysmsg sysmsg;
2045 #endif
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 {
2053 #ifdef _KERNEL
2054 struct sysmsg sysmsg;
2055 #endif
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 {
2063 #ifdef _KERNEL
2064 struct sysmsg sysmsg;
2065 #endif
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 {
2073 #ifdef _KERNEL
2074 struct sysmsg sysmsg;
2075 #endif
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 {
2081 #ifdef _KERNEL
2082 struct sysmsg sysmsg;
2083 #endif
2084 struct lwp_params * params; char params_[PAD_(struct lwp_params *)];
2086 struct lwp_gettid_args {
2087 #ifdef _KERNEL
2088 struct sysmsg sysmsg;
2089 #endif
2090 register_t dummy;
2092 struct lwp_kill_args {
2093 #ifdef _KERNEL
2094 struct sysmsg sysmsg;
2095 #endif
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 {
2101 #ifdef _KERNEL
2102 struct sysmsg sysmsg;
2103 #endif
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 {
2110 #ifdef _KERNEL
2111 struct sysmsg sysmsg;
2112 #endif
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 {
2121 #ifdef _KERNEL
2122 struct sysmsg sysmsg;
2123 #endif
2124 const char * path; char path_[PAD_(const char *)];
2125 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2127 struct fstatvfs_args {
2128 #ifdef _KERNEL
2129 struct sysmsg sysmsg;
2130 #endif
2131 int fd; char fd_[PAD_(int)];
2132 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2134 struct fhstatvfs_args {
2135 #ifdef _KERNEL
2136 struct sysmsg sysmsg;
2137 #endif
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 {
2142 #ifdef _KERNEL
2143 struct sysmsg sysmsg;
2144 #endif
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 {
2151 #ifdef _KERNEL
2152 struct sysmsg sysmsg;
2153 #endif
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 {
2160 #ifdef _KERNEL
2161 struct sysmsg sysmsg;
2162 #endif
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 {
2169 #ifdef _KERNEL
2170 struct sysmsg sysmsg;
2171 #endif
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 {
2178 #ifdef _KERNEL
2179 struct sysmsg sysmsg;
2180 #endif
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 {
2188 #ifdef _KERNEL
2189 struct sysmsg sysmsg;
2190 #endif
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 {
2196 #ifdef _KERNEL
2197 struct sysmsg sysmsg;
2198 #endif
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 {
2205 #ifdef _KERNEL
2206 struct sysmsg sysmsg;
2207 #endif
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 {
2214 #ifdef _KERNEL
2215 struct sysmsg sysmsg;
2216 #endif
2217 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2219 struct mq_unlink_args {
2220 #ifdef _KERNEL
2221 struct sysmsg sysmsg;
2222 #endif
2223 const char * name; char name_[PAD_(const char *)];
2225 struct mq_getattr_args {
2226 #ifdef _KERNEL
2227 struct sysmsg sysmsg;
2228 #endif
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 {
2233 #ifdef _KERNEL
2234 struct sysmsg sysmsg;
2235 #endif
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 {
2241 #ifdef _KERNEL
2242 struct sysmsg sysmsg;
2243 #endif
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 {
2248 #ifdef _KERNEL
2249 struct sysmsg sysmsg;
2250 #endif
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 {
2257 #ifdef _KERNEL
2258 struct sysmsg sysmsg;
2259 #endif
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 {
2266 #ifdef _KERNEL
2267 struct sysmsg sysmsg;
2268 #endif
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 {
2276 #ifdef _KERNEL
2277 struct sysmsg sysmsg;
2278 #endif
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 *)];
2286 #ifdef COMPAT_43
2288 #ifdef COMPAT_43
2289 #endif
2290 struct ocreat_args {
2291 #ifdef _KERNEL
2292 struct sysmsg sysmsg;
2293 #endif
2294 char * path; char path_[PAD_(char *)];
2295 int mode; char mode_[PAD_(int)];
2297 struct olseek_args {
2298 #ifdef _KERNEL
2299 struct sysmsg sysmsg;
2300 #endif
2301 int fd; char fd_[PAD_(int)];
2302 long offset; char offset_[PAD_(long)];
2303 int whence; char whence_[PAD_(int)];
2305 struct ostat_args {
2306 #ifdef _KERNEL
2307 struct sysmsg sysmsg;
2308 #endif
2309 char * path; char path_[PAD_(char *)];
2310 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2312 struct olstat_args {
2313 #ifdef _KERNEL
2314 struct sysmsg sysmsg;
2315 #endif
2316 char * path; char path_[PAD_(char *)];
2317 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2319 struct ofstat_args {
2320 #ifdef _KERNEL
2321 struct sysmsg sysmsg;
2322 #endif
2323 int fd; char fd_[PAD_(int)];
2324 struct ostat * sb; char sb_[PAD_(struct ostat *)];
2326 struct getkerninfo_args {
2327 #ifdef _KERNEL
2328 struct sysmsg sysmsg;
2329 #endif
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)];
2335 struct ommap_args {
2336 #ifdef _KERNEL
2337 struct sysmsg sysmsg;
2338 #endif
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 {
2347 #ifdef _KERNEL
2348 struct sysmsg sysmsg;
2349 #endif
2350 char * hostname; char hostname_[PAD_(char *)];
2351 u_int len; char len_[PAD_(u_int)];
2353 struct sethostname_args {
2354 #ifdef _KERNEL
2355 struct sysmsg sysmsg;
2356 #endif
2357 char * hostname; char hostname_[PAD_(char *)];
2358 u_int len; char len_[PAD_(u_int)];
2360 struct osend_args {
2361 #ifdef _KERNEL
2362 struct sysmsg sysmsg;
2363 #endif
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)];
2369 struct orecv_args {
2370 #ifdef _KERNEL
2371 struct sysmsg sysmsg;
2372 #endif
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 {
2379 #ifdef _KERNEL
2380 struct sysmsg sysmsg;
2381 #endif
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 {
2387 #ifdef _KERNEL
2388 struct sysmsg sysmsg;
2389 #endif
2390 int mask; char mask_[PAD_(int)];
2392 struct osigsetmask_args {
2393 #ifdef _KERNEL
2394 struct sysmsg sysmsg;
2395 #endif
2396 int mask; char mask_[PAD_(int)];
2398 struct osigstack_args {
2399 #ifdef _KERNEL
2400 struct sysmsg sysmsg;
2401 #endif
2402 struct sigstack * nss; char nss_[PAD_(struct sigstack *)];
2403 struct sigstack * oss; char oss_[PAD_(struct sigstack *)];
2405 struct orecvmsg_args {
2406 #ifdef _KERNEL
2407 struct sysmsg sysmsg;
2408 #endif
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 {
2414 #ifdef _KERNEL
2415 struct sysmsg sysmsg;
2416 #endif
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 {
2422 #ifdef _KERNEL
2423 struct sysmsg sysmsg;
2424 #endif
2425 char * path; char path_[PAD_(char *)];
2426 long length; char length_[PAD_(long)];
2428 struct oftruncate_args {
2429 #ifdef _KERNEL
2430 struct sysmsg sysmsg;
2431 #endif
2432 int fd; char fd_[PAD_(int)];
2433 long length; char length_[PAD_(long)];
2435 struct ogetpeername_args {
2436 #ifdef _KERNEL
2437 struct sysmsg sysmsg;
2438 #endif
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 {
2444 #ifdef _KERNEL
2445 struct sysmsg sysmsg;
2446 #endif
2447 long hostid; char hostid_[PAD_(long)];
2449 struct ogetrlimit_args {
2450 #ifdef _KERNEL
2451 struct sysmsg sysmsg;
2452 #endif
2453 u_int which; char which_[PAD_(u_int)];
2454 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2456 struct osetrlimit_args {
2457 #ifdef _KERNEL
2458 struct sysmsg sysmsg;
2459 #endif
2460 u_int which; char which_[PAD_(u_int)];
2461 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2463 struct okillpg_args {
2464 #ifdef _KERNEL
2465 struct sysmsg sysmsg;
2466 #endif
2467 int pgid; char pgid_[PAD_(int)];
2468 int signum; char signum_[PAD_(int)];
2470 struct ogetdirentries_args {
2471 #ifdef _KERNEL
2472 struct sysmsg sysmsg;
2473 #endif
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 *)];
2480 #ifdef _KERNEL
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 */
2520 #ifdef COMPAT_DF12
2522 #ifdef COMPAT_43
2523 #endif
2524 struct dfbsd12_stat_args {
2525 #ifdef _KERNEL
2526 struct sysmsg sysmsg;
2527 #endif
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 {
2532 #ifdef _KERNEL
2533 struct sysmsg sysmsg;
2534 #endif
2535 int fd; char fd_[PAD_(int)];
2536 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2538 struct dfbsd12_lstat_args {
2539 #ifdef _KERNEL
2540 struct sysmsg sysmsg;
2541 #endif
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 {
2546 #ifdef _KERNEL
2547 struct sysmsg sysmsg;
2548 #endif
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 {
2555 #ifdef _KERNEL
2556 struct sysmsg sysmsg;
2557 #endif
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 {
2563 #ifdef _KERNEL
2564 struct sysmsg sysmsg;
2565 #endif
2566 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2567 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2570 #ifdef _KERNEL
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 */
2584 #ifdef _KERNEL
2586 #ifdef COMPAT_43
2587 #endif
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_ */
2887 #undef PAD_
2889 #endif /* _KERNEL */