DEVTAB - Add devtab support for manual mounts
[dragonfly.git] / sys / sys / sysproto.h
CommitLineData
984263bc
MD
1/*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
984263bc
MD
5 */
6
7#ifndef _SYS_SYSPROTO_H_
8#define _SYS_SYSPROTO_H_
9
805f91d4
SS
10#include <sys/select.h>
11
984263bc
MD
12#include <sys/signal.h>
13
14#include <sys/acl.h>
15
a64ba182
MD
16#include <sys/msgport.h>
17
c7114eea
MD
18#include <sys/sysmsg.h>
19
e143cb06
MD
20#include <sys/syslink.h>
21
984263bc
MD
22#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
23 0 : sizeof(register_t) - sizeof(t))
24
17e1a2b5
JS
25#ifdef COMPAT_43
26#endif
984263bc 27struct nosys_args {
245e4f17 28#ifdef _KERNEL
df2244e3 29 struct sysmsg sysmsg;
245e4f17 30#endif
984263bc
MD
31 register_t dummy;
32};
753fd850 33struct exit_args {
245e4f17 34#ifdef _KERNEL
df2244e3 35 struct sysmsg sysmsg;
245e4f17 36#endif
984263bc
MD
37 int rval; char rval_[PAD_(int)];
38};
39struct fork_args {
245e4f17 40#ifdef _KERNEL
df2244e3 41 struct sysmsg sysmsg;
245e4f17 42#endif
984263bc
MD
43 register_t dummy;
44};
45struct read_args {
245e4f17 46#ifdef _KERNEL
df2244e3 47 struct sysmsg sysmsg;
245e4f17 48#endif
984263bc
MD
49 int fd; char fd_[PAD_(int)];
50 void * buf; char buf_[PAD_(void *)];
51 size_t nbyte; char nbyte_[PAD_(size_t)];
52};
53struct write_args {
245e4f17 54#ifdef _KERNEL
df2244e3 55 struct sysmsg sysmsg;
245e4f17 56#endif
984263bc
MD
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)];
60};
61struct open_args {
245e4f17 62#ifdef _KERNEL
df2244e3 63 struct sysmsg sysmsg;
245e4f17 64#endif
984263bc
MD
65 char * path; char path_[PAD_(char *)];
66 int flags; char flags_[PAD_(int)];
67 int mode; char mode_[PAD_(int)];
68};
69struct close_args {
245e4f17 70#ifdef _KERNEL
df2244e3 71 struct sysmsg sysmsg;
245e4f17 72#endif
984263bc
MD
73 int fd; char fd_[PAD_(int)];
74};
75struct wait_args {
245e4f17 76#ifdef _KERNEL
df2244e3 77 struct sysmsg sysmsg;
245e4f17 78#endif
984263bc
MD
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 *)];
83};
84struct link_args {
245e4f17 85#ifdef _KERNEL
df2244e3 86 struct sysmsg sysmsg;
245e4f17 87#endif
984263bc
MD
88 char * path; char path_[PAD_(char *)];
89 char * link; char link_[PAD_(char *)];
90};
91struct unlink_args {
245e4f17 92#ifdef _KERNEL
df2244e3 93 struct sysmsg sysmsg;
245e4f17 94#endif
984263bc
MD
95 char * path; char path_[PAD_(char *)];
96};
97struct chdir_args {
245e4f17 98#ifdef _KERNEL
df2244e3 99 struct sysmsg sysmsg;
245e4f17 100#endif
984263bc
MD
101 char * path; char path_[PAD_(char *)];
102};
103struct fchdir_args {
245e4f17 104#ifdef _KERNEL
df2244e3 105 struct sysmsg sysmsg;
245e4f17 106#endif
984263bc
MD
107 int fd; char fd_[PAD_(int)];
108};
109struct mknod_args {
245e4f17 110#ifdef _KERNEL
df2244e3 111 struct sysmsg sysmsg;
245e4f17 112#endif
984263bc
MD
113 char * path; char path_[PAD_(char *)];
114 int mode; char mode_[PAD_(int)];
115 int dev; char dev_[PAD_(int)];
116};
117struct chmod_args {
245e4f17 118#ifdef _KERNEL
df2244e3 119 struct sysmsg sysmsg;
245e4f17 120#endif
984263bc
MD
121 char * path; char path_[PAD_(char *)];
122 int mode; char mode_[PAD_(int)];
123};
124struct chown_args {
245e4f17 125#ifdef _KERNEL
df2244e3 126 struct sysmsg sysmsg;
245e4f17 127#endif
984263bc
MD
128 char * path; char path_[PAD_(char *)];
129 int uid; char uid_[PAD_(int)];
130 int gid; char gid_[PAD_(int)];
131};
132struct obreak_args {
245e4f17 133#ifdef _KERNEL
df2244e3 134 struct sysmsg sysmsg;
245e4f17 135#endif
984263bc
MD
136 char * nsize; char nsize_[PAD_(char *)];
137};
138struct getfsstat_args {
245e4f17 139#ifdef _KERNEL
df2244e3 140 struct sysmsg sysmsg;
245e4f17 141#endif
984263bc
MD
142 struct statfs * buf; char buf_[PAD_(struct statfs *)];
143 long bufsize; char bufsize_[PAD_(long)];
144 int flags; char flags_[PAD_(int)];
145};
146struct getpid_args {
245e4f17 147#ifdef _KERNEL
df2244e3 148 struct sysmsg sysmsg;
245e4f17 149#endif
984263bc
MD
150 register_t dummy;
151};
152struct mount_args {
245e4f17 153#ifdef _KERNEL
df2244e3 154 struct sysmsg sysmsg;
245e4f17 155#endif
984263bc
MD
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)];
160};
161struct unmount_args {
245e4f17 162#ifdef _KERNEL
df2244e3 163 struct sysmsg sysmsg;
245e4f17 164#endif
984263bc
MD
165 char * path; char path_[PAD_(char *)];
166 int flags; char flags_[PAD_(int)];
167};
168struct setuid_args {
245e4f17 169#ifdef _KERNEL
df2244e3 170 struct sysmsg sysmsg;
245e4f17 171#endif
984263bc
MD
172 uid_t uid; char uid_[PAD_(uid_t)];
173};
174struct getuid_args {
245e4f17 175#ifdef _KERNEL
df2244e3 176 struct sysmsg sysmsg;
245e4f17 177#endif
984263bc
MD
178 register_t dummy;
179};
180struct geteuid_args {
245e4f17 181#ifdef _KERNEL
df2244e3 182 struct sysmsg sysmsg;
245e4f17 183#endif
984263bc
MD
184 register_t dummy;
185};
186struct ptrace_args {
245e4f17 187#ifdef _KERNEL
df2244e3 188 struct sysmsg sysmsg;
245e4f17 189#endif
984263bc
MD
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)];
194};
195struct recvmsg_args {
245e4f17 196#ifdef _KERNEL
df2244e3 197 struct sysmsg sysmsg;
245e4f17 198#endif
984263bc
MD
199 int s; char s_[PAD_(int)];
200 struct msghdr * msg; char msg_[PAD_(struct msghdr *)];
201 int flags; char flags_[PAD_(int)];
202};
203struct sendmsg_args {
245e4f17 204#ifdef _KERNEL
df2244e3 205 struct sysmsg sysmsg;
245e4f17 206#endif
984263bc
MD
207 int s; char s_[PAD_(int)];
208 caddr_t msg; char msg_[PAD_(caddr_t)];
209 int flags; char flags_[PAD_(int)];
210};
211struct recvfrom_args {
245e4f17 212#ifdef _KERNEL
df2244e3 213 struct sysmsg sysmsg;
245e4f17 214#endif
984263bc
MD
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 *)];
221};
222struct accept_args {
245e4f17 223#ifdef _KERNEL
df2244e3 224 struct sysmsg sysmsg;
245e4f17 225#endif
984263bc
MD
226 int s; char s_[PAD_(int)];
227 caddr_t name; char name_[PAD_(caddr_t)];
228 int * anamelen; char anamelen_[PAD_(int *)];
229};
230struct getpeername_args {
245e4f17 231#ifdef _KERNEL
df2244e3 232 struct sysmsg sysmsg;
245e4f17 233#endif
984263bc
MD
234 int fdes; char fdes_[PAD_(int)];
235 caddr_t asa; char asa_[PAD_(caddr_t)];
236 int * alen; char alen_[PAD_(int *)];
237};
238struct getsockname_args {
245e4f17 239#ifdef _KERNEL
df2244e3 240 struct sysmsg sysmsg;
245e4f17 241#endif
984263bc
MD
242 int fdes; char fdes_[PAD_(int)];
243 caddr_t asa; char asa_[PAD_(caddr_t)];
244 int * alen; char alen_[PAD_(int *)];
245};
246struct access_args {
245e4f17 247#ifdef _KERNEL
df2244e3 248 struct sysmsg sysmsg;
245e4f17 249#endif
984263bc
MD
250 char * path; char path_[PAD_(char *)];
251 int flags; char flags_[PAD_(int)];
252};
253struct chflags_args {
245e4f17 254#ifdef _KERNEL
df2244e3 255 struct sysmsg sysmsg;
245e4f17 256#endif
984263bc
MD
257 char * path; char path_[PAD_(char *)];
258 int flags; char flags_[PAD_(int)];
259};
260struct fchflags_args {
245e4f17 261#ifdef _KERNEL
df2244e3 262 struct sysmsg sysmsg;
245e4f17 263#endif
984263bc
MD
264 int fd; char fd_[PAD_(int)];
265 int flags; char flags_[PAD_(int)];
266};
267struct sync_args {
245e4f17 268#ifdef _KERNEL
df2244e3 269 struct sysmsg sysmsg;
245e4f17 270#endif
984263bc
MD
271 register_t dummy;
272};
273struct kill_args {
245e4f17 274#ifdef _KERNEL
df2244e3 275 struct sysmsg sysmsg;
245e4f17 276#endif
984263bc
MD
277 int pid; char pid_[PAD_(int)];
278 int signum; char signum_[PAD_(int)];
279};
280struct getppid_args {
245e4f17 281#ifdef _KERNEL
df2244e3 282 struct sysmsg sysmsg;
245e4f17 283#endif
984263bc
MD
284 register_t dummy;
285};
286struct dup_args {
245e4f17 287#ifdef _KERNEL
df2244e3 288 struct sysmsg sysmsg;
245e4f17 289#endif
984263bc
MD
290 u_int fd; char fd_[PAD_(u_int)];
291};
292struct pipe_args {
245e4f17 293#ifdef _KERNEL
df2244e3 294 struct sysmsg sysmsg;
245e4f17 295#endif
984263bc
MD
296 register_t dummy;
297};
298struct getegid_args {
245e4f17 299#ifdef _KERNEL
df2244e3 300 struct sysmsg sysmsg;
245e4f17 301#endif
984263bc
MD
302 register_t dummy;
303};
304struct profil_args {
245e4f17 305#ifdef _KERNEL
df2244e3 306 struct sysmsg sysmsg;
245e4f17 307#endif
984263bc
MD
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)];
312};
313struct ktrace_args {
245e4f17 314#ifdef _KERNEL
df2244e3 315 struct sysmsg sysmsg;
245e4f17 316#endif
984263bc
MD
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)];
321};
322struct getgid_args {
245e4f17 323#ifdef _KERNEL
df2244e3 324 struct sysmsg sysmsg;
245e4f17 325#endif
984263bc
MD
326 register_t dummy;
327};
328struct getlogin_args {
245e4f17 329#ifdef _KERNEL
df2244e3 330 struct sysmsg sysmsg;
245e4f17 331#endif
984263bc
MD
332 char * namebuf; char namebuf_[PAD_(char *)];
333 u_int namelen; char namelen_[PAD_(u_int)];
334};
335struct setlogin_args {
245e4f17 336#ifdef _KERNEL
df2244e3 337 struct sysmsg sysmsg;
245e4f17 338#endif
984263bc
MD
339 char * namebuf; char namebuf_[PAD_(char *)];
340};
341struct acct_args {
245e4f17 342#ifdef _KERNEL
df2244e3 343 struct sysmsg sysmsg;
245e4f17 344#endif
984263bc
MD
345 char * path; char path_[PAD_(char *)];
346};
984263bc 347struct sigaltstack_args {
245e4f17 348#ifdef _KERNEL
df2244e3 349 struct sysmsg sysmsg;
245e4f17 350#endif
984263bc
MD
351 stack_t * ss; char ss_[PAD_(stack_t *)];
352 stack_t * oss; char oss_[PAD_(stack_t *)];
353};
354struct ioctl_args {
245e4f17 355#ifdef _KERNEL
df2244e3 356 struct sysmsg sysmsg;
245e4f17 357#endif
984263bc
MD
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)];
361};
362struct reboot_args {
245e4f17 363#ifdef _KERNEL
df2244e3 364 struct sysmsg sysmsg;
245e4f17 365#endif
984263bc
MD
366 int opt; char opt_[PAD_(int)];
367};
368struct revoke_args {
245e4f17 369#ifdef _KERNEL
df2244e3 370 struct sysmsg sysmsg;
245e4f17 371#endif
984263bc
MD
372 char * path; char path_[PAD_(char *)];
373};
374struct symlink_args {
245e4f17 375#ifdef _KERNEL
df2244e3 376 struct sysmsg sysmsg;
245e4f17 377#endif
984263bc
MD
378 char * path; char path_[PAD_(char *)];
379 char * link; char link_[PAD_(char *)];
380};
381struct readlink_args {
245e4f17 382#ifdef _KERNEL
df2244e3 383 struct sysmsg sysmsg;
245e4f17 384#endif
984263bc
MD
385 char * path; char path_[PAD_(char *)];
386 char * buf; char buf_[PAD_(char *)];
387 int count; char count_[PAD_(int)];
388};
389struct execve_args {
245e4f17 390#ifdef _KERNEL
df2244e3 391 struct sysmsg sysmsg;
245e4f17 392#endif
984263bc
MD
393 char * fname; char fname_[PAD_(char *)];
394 char ** argv; char argv_[PAD_(char **)];
395 char ** envv; char envv_[PAD_(char **)];
396};
397struct umask_args {
245e4f17 398#ifdef _KERNEL
df2244e3 399 struct sysmsg sysmsg;
245e4f17 400#endif
984263bc
MD
401 int newmask; char newmask_[PAD_(int)];
402};
403struct chroot_args {
245e4f17 404#ifdef _KERNEL
df2244e3 405 struct sysmsg sysmsg;
245e4f17 406#endif
984263bc
MD
407 char * path; char path_[PAD_(char *)];
408};
409struct getpagesize_args {
245e4f17 410#ifdef _KERNEL
df2244e3 411 struct sysmsg sysmsg;
245e4f17 412#endif
984263bc
MD
413 register_t dummy;
414};
415struct msync_args {
245e4f17 416#ifdef _KERNEL
df2244e3 417 struct sysmsg sysmsg;
245e4f17 418#endif
984263bc
MD
419 void * addr; char addr_[PAD_(void *)];
420 size_t len; char len_[PAD_(size_t)];
421 int flags; char flags_[PAD_(int)];
422};
423struct vfork_args {
245e4f17 424#ifdef _KERNEL
df2244e3 425 struct sysmsg sysmsg;
245e4f17 426#endif
984263bc
MD
427 register_t dummy;
428};
429struct sbrk_args {
245e4f17 430#ifdef _KERNEL
df2244e3 431 struct sysmsg sysmsg;
245e4f17 432#endif
984263bc
MD
433 int incr; char incr_[PAD_(int)];
434};
435struct sstk_args {
245e4f17 436#ifdef _KERNEL
df2244e3 437 struct sysmsg sysmsg;
245e4f17 438#endif
984263bc
MD
439 int incr; char incr_[PAD_(int)];
440};
441struct ovadvise_args {
245e4f17 442#ifdef _KERNEL
df2244e3 443 struct sysmsg sysmsg;
245e4f17 444#endif
984263bc
MD
445 int anom; char anom_[PAD_(int)];
446};
447struct munmap_args {
245e4f17 448#ifdef _KERNEL
df2244e3 449 struct sysmsg sysmsg;
245e4f17 450#endif
984263bc
MD
451 void * addr; char addr_[PAD_(void *)];
452 size_t len; char len_[PAD_(size_t)];
453};
454struct mprotect_args {
245e4f17 455#ifdef _KERNEL
df2244e3 456 struct sysmsg sysmsg;
245e4f17 457#endif
984263bc
MD
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)];
461};
462struct madvise_args {
245e4f17 463#ifdef _KERNEL
df2244e3 464 struct sysmsg sysmsg;
245e4f17 465#endif
984263bc
MD
466 void * addr; char addr_[PAD_(void *)];
467 size_t len; char len_[PAD_(size_t)];
468 int behav; char behav_[PAD_(int)];
469};
470struct mincore_args {
245e4f17 471#ifdef _KERNEL
df2244e3 472 struct sysmsg sysmsg;
245e4f17 473#endif
984263bc
MD
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 *)];
477};
478struct getgroups_args {
245e4f17 479#ifdef _KERNEL
df2244e3 480 struct sysmsg sysmsg;
245e4f17 481#endif
984263bc
MD
482 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
483 gid_t * gidset; char gidset_[PAD_(gid_t *)];
484};
485struct setgroups_args {
245e4f17 486#ifdef _KERNEL
df2244e3 487 struct sysmsg sysmsg;
245e4f17 488#endif
984263bc
MD
489 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
490 gid_t * gidset; char gidset_[PAD_(gid_t *)];
491};
492struct getpgrp_args {
245e4f17 493#ifdef _KERNEL
df2244e3 494 struct sysmsg sysmsg;
245e4f17 495#endif
984263bc
MD
496 register_t dummy;
497};
498struct setpgid_args {
245e4f17 499#ifdef _KERNEL
df2244e3 500 struct sysmsg sysmsg;
245e4f17 501#endif
984263bc
MD
502 int pid; char pid_[PAD_(int)];
503 int pgid; char pgid_[PAD_(int)];
504};
505struct setitimer_args {
245e4f17 506#ifdef _KERNEL
df2244e3 507 struct sysmsg sysmsg;
245e4f17 508#endif
984263bc
MD
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 *)];
512};
513struct owait_args {
245e4f17 514#ifdef _KERNEL
df2244e3 515 struct sysmsg sysmsg;
245e4f17 516#endif
984263bc
MD
517 register_t dummy;
518};
519struct swapon_args {
245e4f17 520#ifdef _KERNEL
df2244e3 521 struct sysmsg sysmsg;
245e4f17 522#endif
984263bc
MD
523 char * name; char name_[PAD_(char *)];
524};
525struct getitimer_args {
245e4f17 526#ifdef _KERNEL
df2244e3 527 struct sysmsg sysmsg;
245e4f17 528#endif
984263bc
MD
529 u_int which; char which_[PAD_(u_int)];
530 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
531};
532struct getdtablesize_args {
245e4f17 533#ifdef _KERNEL
df2244e3 534 struct sysmsg sysmsg;
245e4f17 535#endif
984263bc
MD
536 register_t dummy;
537};
538struct dup2_args {
245e4f17 539#ifdef _KERNEL
df2244e3 540 struct sysmsg sysmsg;
245e4f17 541#endif
984263bc
MD
542 u_int from; char from_[PAD_(u_int)];
543 u_int to; char to_[PAD_(u_int)];
544};
545struct fcntl_args {
245e4f17 546#ifdef _KERNEL
df2244e3 547 struct sysmsg sysmsg;
245e4f17 548#endif
984263bc
MD
549 int fd; char fd_[PAD_(int)];
550 int cmd; char cmd_[PAD_(int)];
551 long arg; char arg_[PAD_(long)];
552};
553struct select_args {
245e4f17 554#ifdef _KERNEL
df2244e3 555 struct sysmsg sysmsg;
245e4f17 556#endif
984263bc
MD
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 *)];
562};
563struct fsync_args {
245e4f17 564#ifdef _KERNEL
df2244e3 565 struct sysmsg sysmsg;
245e4f17 566#endif
984263bc
MD
567 int fd; char fd_[PAD_(int)];
568};
569struct setpriority_args {
245e4f17 570#ifdef _KERNEL
df2244e3 571 struct sysmsg sysmsg;
245e4f17 572#endif
984263bc
MD
573 int which; char which_[PAD_(int)];
574 int who; char who_[PAD_(int)];
575 int prio; char prio_[PAD_(int)];
576};
577struct socket_args {
245e4f17 578#ifdef _KERNEL
df2244e3 579 struct sysmsg sysmsg;
245e4f17 580#endif
984263bc
MD
581 int domain; char domain_[PAD_(int)];
582 int type; char type_[PAD_(int)];
583 int protocol; char protocol_[PAD_(int)];
584};
585struct connect_args {
245e4f17 586#ifdef _KERNEL
df2244e3 587 struct sysmsg sysmsg;
245e4f17 588#endif
984263bc
MD
589 int s; char s_[PAD_(int)];
590 caddr_t name; char name_[PAD_(caddr_t)];
591 int namelen; char namelen_[PAD_(int)];
592};
593struct getpriority_args {
245e4f17 594#ifdef _KERNEL
df2244e3 595 struct sysmsg sysmsg;
245e4f17 596#endif
984263bc
MD
597 int which; char which_[PAD_(int)];
598 int who; char who_[PAD_(int)];
599};
600struct bind_args {
245e4f17 601#ifdef _KERNEL
df2244e3 602 struct sysmsg sysmsg;
245e4f17 603#endif
984263bc
MD
604 int s; char s_[PAD_(int)];
605 caddr_t name; char name_[PAD_(caddr_t)];
606 int namelen; char namelen_[PAD_(int)];
607};
608struct setsockopt_args {
245e4f17 609#ifdef _KERNEL
df2244e3 610 struct sysmsg sysmsg;
245e4f17 611#endif
984263bc
MD
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)];
617};
618struct listen_args {
245e4f17 619#ifdef _KERNEL
df2244e3 620 struct sysmsg sysmsg;
245e4f17 621#endif
984263bc
MD
622 int s; char s_[PAD_(int)];
623 int backlog; char backlog_[PAD_(int)];
624};
625struct gettimeofday_args {
245e4f17 626#ifdef _KERNEL
df2244e3 627 struct sysmsg sysmsg;
245e4f17 628#endif
984263bc
MD
629 struct timeval * tp; char tp_[PAD_(struct timeval *)];
630 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
631};
632struct getrusage_args {
245e4f17 633#ifdef _KERNEL
df2244e3 634 struct sysmsg sysmsg;
245e4f17 635#endif
984263bc
MD
636 int who; char who_[PAD_(int)];
637 struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
638};
639struct getsockopt_args {
245e4f17 640#ifdef _KERNEL
df2244e3 641 struct sysmsg sysmsg;
245e4f17 642#endif
984263bc
MD
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 *)];
648};
649struct readv_args {
245e4f17 650#ifdef _KERNEL
df2244e3 651 struct sysmsg sysmsg;
245e4f17 652#endif
984263bc
MD
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)];
656};
657struct writev_args {
245e4f17 658#ifdef _KERNEL
df2244e3 659 struct sysmsg sysmsg;
245e4f17 660#endif
984263bc
MD
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)];
664};
665struct settimeofday_args {
245e4f17 666#ifdef _KERNEL
df2244e3 667 struct sysmsg sysmsg;
245e4f17 668#endif
984263bc
MD
669 struct timeval * tv; char tv_[PAD_(struct timeval *)];
670 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
671};
672struct fchown_args {
245e4f17 673#ifdef _KERNEL
df2244e3 674 struct sysmsg sysmsg;
245e4f17 675#endif
984263bc
MD
676 int fd; char fd_[PAD_(int)];
677 int uid; char uid_[PAD_(int)];
678 int gid; char gid_[PAD_(int)];
679};
680struct fchmod_args {
245e4f17 681#ifdef _KERNEL
df2244e3 682 struct sysmsg sysmsg;
245e4f17 683#endif
984263bc
MD
684 int fd; char fd_[PAD_(int)];
685 int mode; char mode_[PAD_(int)];
686};
687struct setreuid_args {
245e4f17 688#ifdef _KERNEL
df2244e3 689 struct sysmsg sysmsg;
245e4f17 690#endif
984263bc
MD
691 int ruid; char ruid_[PAD_(int)];
692 int euid; char euid_[PAD_(int)];
693};
694struct setregid_args {
245e4f17 695#ifdef _KERNEL
df2244e3 696 struct sysmsg sysmsg;
245e4f17 697#endif
984263bc
MD
698 int rgid; char rgid_[PAD_(int)];
699 int egid; char egid_[PAD_(int)];
700};
701struct rename_args {
245e4f17 702#ifdef _KERNEL
df2244e3 703 struct sysmsg sysmsg;
245e4f17 704#endif
984263bc
MD
705 char * from; char from_[PAD_(char *)];
706 char * to; char to_[PAD_(char *)];
707};
708struct flock_args {
245e4f17 709#ifdef _KERNEL
df2244e3 710 struct sysmsg sysmsg;
245e4f17 711#endif
984263bc
MD
712 int fd; char fd_[PAD_(int)];
713 int how; char how_[PAD_(int)];
714};
715struct mkfifo_args {
245e4f17 716#ifdef _KERNEL
df2244e3 717 struct sysmsg sysmsg;
245e4f17 718#endif
984263bc
MD
719 char * path; char path_[PAD_(char *)];
720 int mode; char mode_[PAD_(int)];
721};
722struct sendto_args {
245e4f17 723#ifdef _KERNEL
df2244e3 724 struct sysmsg sysmsg;
245e4f17 725#endif
984263bc
MD
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)];
732};
733struct shutdown_args {
245e4f17 734#ifdef _KERNEL
df2244e3 735 struct sysmsg sysmsg;
245e4f17 736#endif
984263bc
MD
737 int s; char s_[PAD_(int)];
738 int how; char how_[PAD_(int)];
739};
740struct socketpair_args {
245e4f17 741#ifdef _KERNEL
df2244e3 742 struct sysmsg sysmsg;
245e4f17 743#endif
984263bc
MD
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 *)];
748};
749struct mkdir_args {
245e4f17 750#ifdef _KERNEL
df2244e3 751 struct sysmsg sysmsg;
245e4f17 752#endif
984263bc
MD
753 char * path; char path_[PAD_(char *)];
754 int mode; char mode_[PAD_(int)];
755};
756struct rmdir_args {
245e4f17 757#ifdef _KERNEL
df2244e3 758 struct sysmsg sysmsg;
245e4f17 759#endif
984263bc
MD
760 char * path; char path_[PAD_(char *)];
761};
762struct utimes_args {
245e4f17 763#ifdef _KERNEL
df2244e3 764 struct sysmsg sysmsg;
245e4f17 765#endif
984263bc
MD
766 char * path; char path_[PAD_(char *)];
767 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
768};
769struct adjtime_args {
245e4f17 770#ifdef _KERNEL
df2244e3 771 struct sysmsg sysmsg;
245e4f17 772#endif
984263bc
MD
773 struct timeval * delta; char delta_[PAD_(struct timeval *)];
774 struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)];
775};
776struct ogethostid_args {
245e4f17 777#ifdef _KERNEL
df2244e3 778 struct sysmsg sysmsg;
245e4f17 779#endif
984263bc
MD
780 register_t dummy;
781};
782struct setsid_args {
245e4f17 783#ifdef _KERNEL
df2244e3 784 struct sysmsg sysmsg;
245e4f17 785#endif
984263bc
MD
786 register_t dummy;
787};
788struct quotactl_args {
245e4f17 789#ifdef _KERNEL
df2244e3 790 struct sysmsg sysmsg;
245e4f17 791#endif
984263bc
MD
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)];
796};
797struct oquota_args {
245e4f17 798#ifdef _KERNEL
df2244e3 799 struct sysmsg sysmsg;
245e4f17 800#endif
984263bc
MD
801 register_t dummy;
802};
803struct nfssvc_args {
245e4f17 804#ifdef _KERNEL
df2244e3 805 struct sysmsg sysmsg;
245e4f17 806#endif
984263bc
MD
807 int flag; char flag_[PAD_(int)];
808 caddr_t argp; char argp_[PAD_(caddr_t)];
809};
810struct statfs_args {
245e4f17 811#ifdef _KERNEL
df2244e3 812 struct sysmsg sysmsg;
245e4f17 813#endif
984263bc
MD
814 char * path; char path_[PAD_(char *)];
815 struct statfs * buf; char buf_[PAD_(struct statfs *)];
816};
817struct fstatfs_args {
245e4f17 818#ifdef _KERNEL
df2244e3 819 struct sysmsg sysmsg;
245e4f17 820#endif
984263bc
MD
821 int fd; char fd_[PAD_(int)];
822 struct statfs * buf; char buf_[PAD_(struct statfs *)];
823};
824struct getfh_args {
245e4f17 825#ifdef _KERNEL
df2244e3 826 struct sysmsg sysmsg;
245e4f17 827#endif
984263bc
MD
828 char * fname; char fname_[PAD_(char *)];
829 struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)];
830};
831struct getdomainname_args {
245e4f17 832#ifdef _KERNEL
df2244e3 833 struct sysmsg sysmsg;
245e4f17 834#endif
984263bc
MD
835 char * domainname; char domainname_[PAD_(char *)];
836 int len; char len_[PAD_(int)];
837};
838struct setdomainname_args {
245e4f17 839#ifdef _KERNEL
df2244e3 840 struct sysmsg sysmsg;
245e4f17 841#endif
984263bc
MD
842 char * domainname; char domainname_[PAD_(char *)];
843 int len; char len_[PAD_(int)];
844};
845struct uname_args {
245e4f17 846#ifdef _KERNEL
df2244e3 847 struct sysmsg sysmsg;
245e4f17 848#endif
984263bc
MD
849 struct utsname * name; char name_[PAD_(struct utsname *)];
850};
851struct sysarch_args {
245e4f17 852#ifdef _KERNEL
df2244e3 853 struct sysmsg sysmsg;
245e4f17 854#endif
984263bc
MD
855 int op; char op_[PAD_(int)];
856 char * parms; char parms_[PAD_(char *)];
857};
858struct rtprio_args {
245e4f17 859#ifdef _KERNEL
df2244e3 860 struct sysmsg sysmsg;
245e4f17 861#endif
984263bc
MD
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 *)];
865};
866struct semsys_args {
245e4f17 867#ifdef _KERNEL
df2244e3 868 struct sysmsg sysmsg;
245e4f17 869#endif
984263bc
MD
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)];
875};
876struct msgsys_args {
245e4f17 877#ifdef _KERNEL
df2244e3 878 struct sysmsg sysmsg;
245e4f17 879#endif
984263bc
MD
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)];
886};
887struct shmsys_args {
245e4f17 888#ifdef _KERNEL
df2244e3 889 struct sysmsg sysmsg;
245e4f17 890#endif
984263bc
MD
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)];
895};
b09fd398 896struct extpread_args {
245e4f17 897#ifdef _KERNEL
df2244e3 898 struct sysmsg sysmsg;
245e4f17 899#endif
984263bc
MD
900 int fd; char fd_[PAD_(int)];
901 void * buf; char buf_[PAD_(void *)];
902 size_t nbyte; char nbyte_[PAD_(size_t)];
9ba76b73 903 int flags; char flags_[PAD_(int)];
984263bc
MD
904 off_t offset; char offset_[PAD_(off_t)];
905};
b09fd398 906struct extpwrite_args {
245e4f17 907#ifdef _KERNEL
df2244e3 908 struct sysmsg sysmsg;
245e4f17 909#endif
984263bc
MD
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)];
9ba76b73 913 int flags; char flags_[PAD_(int)];
984263bc
MD
914 off_t offset; char offset_[PAD_(off_t)];
915};
916struct ntp_adjtime_args {
245e4f17 917#ifdef _KERNEL
df2244e3 918 struct sysmsg sysmsg;
245e4f17 919#endif
984263bc
MD
920 struct timex * tp; char tp_[PAD_(struct timex *)];
921};
922struct setgid_args {
245e4f17 923#ifdef _KERNEL
df2244e3 924 struct sysmsg sysmsg;
245e4f17 925#endif
984263bc
MD
926 gid_t gid; char gid_[PAD_(gid_t)];
927};
928struct setegid_args {
245e4f17 929#ifdef _KERNEL
df2244e3 930 struct sysmsg sysmsg;
245e4f17 931#endif
984263bc
MD
932 gid_t egid; char egid_[PAD_(gid_t)];
933};
934struct seteuid_args {
245e4f17 935#ifdef _KERNEL
df2244e3 936 struct sysmsg sysmsg;
245e4f17 937#endif
984263bc
MD
938 uid_t euid; char euid_[PAD_(uid_t)];
939};
984263bc 940struct pathconf_args {
245e4f17 941#ifdef _KERNEL
df2244e3 942 struct sysmsg sysmsg;
245e4f17 943#endif
984263bc
MD
944 char * path; char path_[PAD_(char *)];
945 int name; char name_[PAD_(int)];
946};
947struct fpathconf_args {
245e4f17 948#ifdef _KERNEL
df2244e3 949 struct sysmsg sysmsg;
245e4f17 950#endif
984263bc
MD
951 int fd; char fd_[PAD_(int)];
952 int name; char name_[PAD_(int)];
953};
954struct __getrlimit_args {
245e4f17 955#ifdef _KERNEL
df2244e3 956 struct sysmsg sysmsg;
245e4f17 957#endif
984263bc
MD
958 u_int which; char which_[PAD_(u_int)];
959 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
960};
961struct __setrlimit_args {
245e4f17 962#ifdef _KERNEL
df2244e3 963 struct sysmsg sysmsg;
245e4f17 964#endif
984263bc
MD
965 u_int which; char which_[PAD_(u_int)];
966 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
967};
984263bc 968struct mmap_args {
245e4f17 969#ifdef _KERNEL
df2244e3 970 struct sysmsg sysmsg;
245e4f17 971#endif
984263bc
MD
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)];
979};
980struct lseek_args {
245e4f17 981#ifdef _KERNEL
df2244e3 982 struct sysmsg sysmsg;
245e4f17 983#endif
984263bc
MD
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)];
988};
989struct truncate_args {
245e4f17 990#ifdef _KERNEL
df2244e3 991 struct sysmsg sysmsg;
245e4f17 992#endif
984263bc
MD
993 char * path; char path_[PAD_(char *)];
994 int pad; char pad_[PAD_(int)];
995 off_t length; char length_[PAD_(off_t)];
996};
997struct ftruncate_args {
245e4f17 998#ifdef _KERNEL
df2244e3 999 struct sysmsg sysmsg;
245e4f17 1000#endif
984263bc
MD
1001 int fd; char fd_[PAD_(int)];
1002 int pad; char pad_[PAD_(int)];
1003 off_t length; char length_[PAD_(off_t)];
1004};
1005struct sysctl_args {
245e4f17 1006#ifdef _KERNEL
df2244e3 1007 struct sysmsg sysmsg;
245e4f17 1008#endif
984263bc
MD
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)];
1015};
1016struct mlock_args {
245e4f17 1017#ifdef _KERNEL
df2244e3 1018 struct sysmsg sysmsg;
245e4f17 1019#endif
984263bc
MD
1020 const void * addr; char addr_[PAD_(const void *)];
1021 size_t len; char len_[PAD_(size_t)];
1022};
1023struct munlock_args {
245e4f17 1024#ifdef _KERNEL
df2244e3 1025 struct sysmsg sysmsg;
245e4f17 1026#endif
984263bc
MD
1027 const void * addr; char addr_[PAD_(const void *)];
1028 size_t len; char len_[PAD_(size_t)];
1029};
1030struct undelete_args {
245e4f17 1031#ifdef _KERNEL
df2244e3 1032 struct sysmsg sysmsg;
245e4f17 1033#endif
984263bc
MD
1034 char * path; char path_[PAD_(char *)];
1035};
1036struct futimes_args {
245e4f17 1037#ifdef _KERNEL
df2244e3 1038 struct sysmsg sysmsg;
245e4f17 1039#endif
984263bc
MD
1040 int fd; char fd_[PAD_(int)];
1041 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
1042};
1043struct getpgid_args {
245e4f17 1044#ifdef _KERNEL
df2244e3 1045 struct sysmsg sysmsg;
245e4f17 1046#endif
984263bc
MD
1047 pid_t pid; char pid_[PAD_(pid_t)];
1048};
1049struct poll_args {
245e4f17 1050#ifdef _KERNEL
df2244e3 1051 struct sysmsg sysmsg;
245e4f17 1052#endif
984263bc
MD
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)];
1056};
1057struct __semctl_args {
245e4f17 1058#ifdef _KERNEL
df2244e3 1059 struct sysmsg sysmsg;
245e4f17 1060#endif
984263bc
MD
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 *)];
1065};
1066struct semget_args {
245e4f17 1067#ifdef _KERNEL
df2244e3 1068 struct sysmsg sysmsg;
245e4f17 1069#endif
984263bc
MD
1070 key_t key; char key_[PAD_(key_t)];
1071 int nsems; char nsems_[PAD_(int)];
1072 int semflg; char semflg_[PAD_(int)];
1073};
1074struct semop_args {
245e4f17 1075#ifdef _KERNEL
df2244e3 1076 struct sysmsg sysmsg;
245e4f17 1077#endif
984263bc
MD
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)];
1081};
1082struct msgctl_args {
245e4f17 1083#ifdef _KERNEL
df2244e3 1084 struct sysmsg sysmsg;
245e4f17 1085#endif
984263bc
MD
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 *)];
1089};
1090struct msgget_args {
245e4f17 1091#ifdef _KERNEL
df2244e3 1092 struct sysmsg sysmsg;
245e4f17 1093#endif
984263bc
MD
1094 key_t key; char key_[PAD_(key_t)];
1095 int msgflg; char msgflg_[PAD_(int)];
1096};
1097struct msgsnd_args {
245e4f17 1098#ifdef _KERNEL
df2244e3 1099 struct sysmsg sysmsg;
245e4f17 1100#endif
984263bc
MD
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)];
1105};
1106struct msgrcv_args {
245e4f17 1107#ifdef _KERNEL
df2244e3 1108 struct sysmsg sysmsg;
245e4f17 1109#endif
984263bc
MD
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)];
1115};
1116struct shmat_args {
245e4f17 1117#ifdef _KERNEL
df2244e3 1118 struct sysmsg sysmsg;
245e4f17 1119#endif
984263bc
MD
1120 int shmid; char shmid_[PAD_(int)];
1121 void * shmaddr; char shmaddr_[PAD_(void *)];
1122 int shmflg; char shmflg_[PAD_(int)];
1123};
1124struct shmctl_args {
245e4f17 1125#ifdef _KERNEL
df2244e3 1126 struct sysmsg sysmsg;
245e4f17 1127#endif
984263bc
MD
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 *)];
1131};
1132struct shmdt_args {
245e4f17 1133#ifdef _KERNEL
df2244e3 1134 struct sysmsg sysmsg;
245e4f17 1135#endif
984263bc
MD
1136 void * shmaddr; char shmaddr_[PAD_(void *)];
1137};
1138struct shmget_args {
245e4f17 1139#ifdef _KERNEL
df2244e3 1140 struct sysmsg sysmsg;
245e4f17 1141#endif
984263bc
MD
1142 key_t key; char key_[PAD_(key_t)];
1143 int size; char size_[PAD_(int)];
1144 int shmflg; char shmflg_[PAD_(int)];
1145};
1146struct clock_gettime_args {
245e4f17 1147#ifdef _KERNEL
df2244e3 1148 struct sysmsg sysmsg;
245e4f17 1149#endif
984263bc
MD
1150 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1151 struct timespec * tp; char tp_[PAD_(struct timespec *)];
1152};
1153struct clock_settime_args {
245e4f17 1154#ifdef _KERNEL
df2244e3 1155 struct sysmsg sysmsg;
245e4f17 1156#endif
984263bc
MD
1157 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1158 const struct timespec * tp; char tp_[PAD_(const struct timespec *)];
1159};
1160struct clock_getres_args {
245e4f17 1161#ifdef _KERNEL
df2244e3 1162 struct sysmsg sysmsg;
245e4f17 1163#endif
984263bc
MD
1164 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1165 struct timespec * tp; char tp_[PAD_(struct timespec *)];
1166};
1167struct nanosleep_args {
245e4f17 1168#ifdef _KERNEL
df2244e3 1169 struct sysmsg sysmsg;
245e4f17 1170#endif
984263bc
MD
1171 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)];
1172 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)];
1173};
1174struct minherit_args {
245e4f17 1175#ifdef _KERNEL
df2244e3 1176 struct sysmsg sysmsg;
245e4f17 1177#endif
984263bc
MD
1178 void * addr; char addr_[PAD_(void *)];
1179 size_t len; char len_[PAD_(size_t)];
1180 int inherit; char inherit_[PAD_(int)];
1181};
1182struct rfork_args {
245e4f17 1183#ifdef _KERNEL
df2244e3 1184 struct sysmsg sysmsg;
245e4f17 1185#endif
984263bc
MD
1186 int flags; char flags_[PAD_(int)];
1187};
1188struct openbsd_poll_args {
245e4f17 1189#ifdef _KERNEL
df2244e3 1190 struct sysmsg sysmsg;
245e4f17 1191#endif
984263bc
MD
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)];
1195};
1196struct issetugid_args {
245e4f17 1197#ifdef _KERNEL
df2244e3 1198 struct sysmsg sysmsg;
245e4f17 1199#endif
984263bc
MD
1200 register_t dummy;
1201};
1202struct lchown_args {
245e4f17 1203#ifdef _KERNEL
df2244e3 1204 struct sysmsg sysmsg;
245e4f17 1205#endif
984263bc
MD
1206 char * path; char path_[PAD_(char *)];
1207 int uid; char uid_[PAD_(int)];
1208 int gid; char gid_[PAD_(int)];
1209};
984263bc 1210struct lchmod_args {
245e4f17 1211#ifdef _KERNEL
df2244e3 1212 struct sysmsg sysmsg;
245e4f17 1213#endif
984263bc
MD
1214 char * path; char path_[PAD_(char *)];
1215 mode_t mode; char mode_[PAD_(mode_t)];
1216};
1217struct lutimes_args {
245e4f17 1218#ifdef _KERNEL
df2244e3 1219 struct sysmsg sysmsg;
245e4f17 1220#endif
984263bc
MD
1221 char * path; char path_[PAD_(char *)];
1222 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
1223};
b09fd398 1224struct extpreadv_args {
7f83ed38
MD
1225#ifdef _KERNEL
1226 struct sysmsg sysmsg;
1227#endif
7f83ed38
MD
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)];
9ba76b73 1231 int flags; char flags_[PAD_(int)];
7f83ed38
MD
1232 off_t offset; char offset_[PAD_(off_t)];
1233};
b09fd398 1234struct extpwritev_args {
7f83ed38
MD
1235#ifdef _KERNEL
1236 struct sysmsg sysmsg;
1237#endif
7f83ed38
MD
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)];
9ba76b73 1241 int flags; char flags_[PAD_(int)];
7f83ed38
MD
1242 off_t offset; char offset_[PAD_(off_t)];
1243};
984263bc 1244struct fhstatfs_args {
245e4f17 1245#ifdef _KERNEL
df2244e3 1246 struct sysmsg sysmsg;
245e4f17 1247#endif
984263bc
MD
1248 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1249 struct statfs * buf; char buf_[PAD_(struct statfs *)];
1250};
1251struct fhopen_args {
245e4f17 1252#ifdef _KERNEL
df2244e3 1253 struct sysmsg sysmsg;
245e4f17 1254#endif
984263bc
MD
1255 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1256 int flags; char flags_[PAD_(int)];
1257};
984263bc 1258struct modnext_args {
245e4f17 1259#ifdef _KERNEL
df2244e3 1260 struct sysmsg sysmsg;
245e4f17 1261#endif
984263bc
MD
1262 int modid; char modid_[PAD_(int)];
1263};
1264struct modstat_args {
245e4f17 1265#ifdef _KERNEL
df2244e3 1266 struct sysmsg sysmsg;
245e4f17 1267#endif
984263bc
MD
1268 int modid; char modid_[PAD_(int)];
1269 struct module_stat * stat; char stat_[PAD_(struct module_stat *)];
1270};
1271struct modfnext_args {
245e4f17 1272#ifdef _KERNEL
df2244e3 1273 struct sysmsg sysmsg;
245e4f17 1274#endif
984263bc
MD
1275 int modid; char modid_[PAD_(int)];
1276};
1277struct modfind_args {
245e4f17 1278#ifdef _KERNEL
df2244e3 1279 struct sysmsg sysmsg;
245e4f17 1280#endif
984263bc
MD
1281 const char * name; char name_[PAD_(const char *)];
1282};
1283struct kldload_args {
245e4f17 1284#ifdef _KERNEL
df2244e3 1285 struct sysmsg sysmsg;
245e4f17 1286#endif
984263bc
MD
1287 const char * file; char file_[PAD_(const char *)];
1288};
1289struct kldunload_args {
245e4f17 1290#ifdef _KERNEL
df2244e3 1291 struct sysmsg sysmsg;
245e4f17 1292#endif
984263bc
MD
1293 int fileid; char fileid_[PAD_(int)];
1294};
1295struct kldfind_args {
245e4f17 1296#ifdef _KERNEL
df2244e3 1297 struct sysmsg sysmsg;
245e4f17 1298#endif
984263bc
MD
1299 const char * file; char file_[PAD_(const char *)];
1300};
1301struct kldnext_args {
245e4f17 1302#ifdef _KERNEL
df2244e3 1303 struct sysmsg sysmsg;
245e4f17 1304#endif
984263bc
MD
1305 int fileid; char fileid_[PAD_(int)];
1306};
1307struct kldstat_args {
245e4f17 1308#ifdef _KERNEL
df2244e3 1309 struct sysmsg sysmsg;
245e4f17 1310#endif
984263bc
MD
1311 int fileid; char fileid_[PAD_(int)];
1312 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)];
1313};
1314struct kldfirstmod_args {
245e4f17 1315#ifdef _KERNEL
df2244e3 1316 struct sysmsg sysmsg;
245e4f17 1317#endif
984263bc
MD
1318 int fileid; char fileid_[PAD_(int)];
1319};
1320struct getsid_args {
245e4f17 1321#ifdef _KERNEL
df2244e3 1322 struct sysmsg sysmsg;
245e4f17 1323#endif
984263bc
MD
1324 pid_t pid; char pid_[PAD_(pid_t)];
1325};
1326struct setresuid_args {
245e4f17 1327#ifdef _KERNEL
df2244e3 1328 struct sysmsg sysmsg;
245e4f17 1329#endif
984263bc
MD
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)];
1333};
1334struct setresgid_args {
245e4f17 1335#ifdef _KERNEL
df2244e3 1336 struct sysmsg sysmsg;
245e4f17 1337#endif
984263bc
MD
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)];
1341};
1342struct aio_return_args {
245e4f17 1343#ifdef _KERNEL
df2244e3 1344 struct sysmsg sysmsg;
245e4f17 1345#endif
984263bc
MD
1346 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1347};
1348struct aio_suspend_args {
245e4f17 1349#ifdef _KERNEL
df2244e3 1350 struct sysmsg sysmsg;
245e4f17 1351#endif
984263bc
MD
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 *)];
1355};
1356struct aio_cancel_args {
245e4f17 1357#ifdef _KERNEL
df2244e3 1358 struct sysmsg sysmsg;
245e4f17 1359#endif
984263bc
MD
1360 int fd; char fd_[PAD_(int)];
1361 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1362};
1363struct aio_error_args {
245e4f17 1364#ifdef _KERNEL
df2244e3 1365 struct sysmsg sysmsg;
245e4f17 1366#endif
984263bc
MD
1367 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1368};
1369struct aio_read_args {
245e4f17 1370#ifdef _KERNEL
df2244e3 1371 struct sysmsg sysmsg;
245e4f17 1372#endif
984263bc
MD
1373 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1374};
1375struct aio_write_args {
245e4f17 1376#ifdef _KERNEL
df2244e3 1377 struct sysmsg sysmsg;
245e4f17 1378#endif
984263bc
MD
1379 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1380};
1381struct lio_listio_args {
245e4f17 1382#ifdef _KERNEL
df2244e3 1383 struct sysmsg sysmsg;
245e4f17 1384#endif
984263bc
MD
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 *)];
1389};
1390struct yield_args {
245e4f17 1391#ifdef _KERNEL
df2244e3 1392 struct sysmsg sysmsg;
245e4f17 1393#endif
984263bc
MD
1394 register_t dummy;
1395};
1396struct thr_sleep_args {
245e4f17 1397#ifdef _KERNEL
df2244e3 1398 struct sysmsg sysmsg;
245e4f17 1399#endif
984263bc
MD
1400 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1401};
1402struct thr_wakeup_args {
245e4f17 1403#ifdef _KERNEL
df2244e3 1404 struct sysmsg sysmsg;
245e4f17 1405#endif
984263bc
MD
1406 pid_t pid; char pid_[PAD_(pid_t)];
1407};
1408struct mlockall_args {
245e4f17 1409#ifdef _KERNEL
df2244e3 1410 struct sysmsg sysmsg;
245e4f17 1411#endif
984263bc
MD
1412 int how; char how_[PAD_(int)];
1413};
1414struct munlockall_args {
245e4f17 1415#ifdef _KERNEL
df2244e3 1416 struct sysmsg sysmsg;
245e4f17 1417#endif
984263bc
MD
1418 register_t dummy;
1419};
1420struct __getcwd_args {
245e4f17 1421#ifdef _KERNEL
df2244e3 1422 struct sysmsg sysmsg;
245e4f17 1423#endif
984263bc
MD
1424 u_char * buf; char buf_[PAD_(u_char *)];
1425 u_int buflen; char buflen_[PAD_(u_int)];
1426};
1427struct sched_setparam_args {
245e4f17 1428#ifdef _KERNEL
df2244e3 1429 struct sysmsg sysmsg;
245e4f17 1430#endif
984263bc
MD
1431 pid_t pid; char pid_[PAD_(pid_t)];
1432 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
1433};
1434struct sched_getparam_args {
245e4f17 1435#ifdef _KERNEL
df2244e3 1436 struct sysmsg sysmsg;
245e4f17 1437#endif
984263bc
MD
1438 pid_t pid; char pid_[PAD_(pid_t)];
1439 struct sched_param * param; char param_[PAD_(struct sched_param *)];
1440};
1441struct sched_setscheduler_args {
245e4f17 1442#ifdef _KERNEL
df2244e3 1443 struct sysmsg sysmsg;
245e4f17 1444#endif
984263bc
MD
1445 pid_t pid; char pid_[PAD_(pid_t)];
1446 int policy; char policy_[PAD_(int)];
1447 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
1448};
1449struct sched_getscheduler_args {
245e4f17 1450#ifdef _KERNEL
df2244e3 1451 struct sysmsg sysmsg;
245e4f17 1452#endif
984263bc
MD
1453 pid_t pid; char pid_[PAD_(pid_t)];
1454};
1455struct sched_yield_args {
245e4f17 1456#ifdef _KERNEL
df2244e3 1457 struct sysmsg sysmsg;
245e4f17 1458#endif
984263bc
MD
1459 register_t dummy;
1460};
1461struct sched_get_priority_max_args {
245e4f17 1462#ifdef _KERNEL
df2244e3 1463 struct sysmsg sysmsg;
245e4f17 1464#endif
984263bc
MD
1465 int policy; char policy_[PAD_(int)];
1466};
1467struct sched_get_priority_min_args {
245e4f17 1468#ifdef _KERNEL
df2244e3 1469 struct sysmsg sysmsg;
245e4f17 1470#endif
984263bc
MD
1471 int policy; char policy_[PAD_(int)];
1472};
1473struct sched_rr_get_interval_args {
245e4f17 1474#ifdef _KERNEL
df2244e3 1475 struct sysmsg sysmsg;
245e4f17 1476#endif
984263bc
MD
1477 pid_t pid; char pid_[PAD_(pid_t)];
1478 struct timespec * interval; char interval_[PAD_(struct timespec *)];
1479};
1480struct utrace_args {
245e4f17 1481#ifdef _KERNEL
df2244e3 1482 struct sysmsg sysmsg;
245e4f17 1483#endif
984263bc
MD
1484 const void * addr; char addr_[PAD_(const void *)];
1485 size_t len; char len_[PAD_(size_t)];
1486};
1487struct kldsym_args {
245e4f17 1488#ifdef _KERNEL
df2244e3 1489 struct sysmsg sysmsg;
245e4f17 1490#endif
984263bc
MD
1491 int fileid; char fileid_[PAD_(int)];
1492 int cmd; char cmd_[PAD_(int)];
1493 void * data; char data_[PAD_(void *)];
1494};
1495struct jail_args {
245e4f17 1496#ifdef _KERNEL
df2244e3 1497 struct sysmsg sysmsg;
245e4f17 1498#endif
984263bc
MD
1499 struct jail * jail; char jail_[PAD_(struct jail *)];
1500};
1501struct sigprocmask_args {
245e4f17 1502#ifdef _KERNEL
df2244e3 1503 struct sysmsg sysmsg;
245e4f17 1504#endif
984263bc
MD
1505 int how; char how_[PAD_(int)];
1506 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1507 sigset_t * oset; char oset_[PAD_(sigset_t *)];
1508};
1509struct sigsuspend_args {
245e4f17 1510#ifdef _KERNEL
df2244e3 1511 struct sysmsg sysmsg;
245e4f17 1512#endif
984263bc
MD
1513 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
1514};
1515struct sigaction_args {
245e4f17 1516#ifdef _KERNEL
df2244e3 1517 struct sysmsg sysmsg;
245e4f17 1518#endif
984263bc
MD
1519 int sig; char sig_[PAD_(int)];
1520 const struct sigaction * act; char act_[PAD_(const struct sigaction *)];
1521 struct sigaction * oact; char oact_[PAD_(struct sigaction *)];
1522};
1523struct sigpending_args {
245e4f17 1524#ifdef _KERNEL
df2244e3 1525 struct sysmsg sysmsg;
245e4f17 1526#endif
984263bc
MD
1527 sigset_t * set; char set_[PAD_(sigset_t *)];
1528};
1529struct sigreturn_args {
245e4f17 1530#ifdef _KERNEL
df2244e3 1531 struct sysmsg sysmsg;
245e4f17 1532#endif
984263bc
MD
1533 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
1534};
3a59f0f7
DX
1535struct sigtimedwait_args {
1536#ifdef _KERNEL
1537 struct sysmsg sysmsg;
1538#endif
3a59f0f7
DX
1539 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1540 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1541 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1542};
1543struct sigwaitinfo_args {
1544#ifdef _KERNEL
1545 struct sysmsg sysmsg;
1546#endif
3a59f0f7
DX
1547 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1548 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1549};
984263bc 1550struct __acl_get_file_args {
245e4f17 1551#ifdef _KERNEL
df2244e3 1552 struct sysmsg sysmsg;
245e4f17 1553#endif
984263bc
MD
1554 const char * path; char path_[PAD_(const char *)];
1555 acl_type_t type; char type_[PAD_(acl_type_t)];
1556 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1557};
1558struct __acl_set_file_args {
245e4f17 1559#ifdef _KERNEL
df2244e3 1560 struct sysmsg sysmsg;
245e4f17 1561#endif
984263bc
MD
1562 const char * path; char path_[PAD_(const char *)];
1563 acl_type_t type; char type_[PAD_(acl_type_t)];
1564 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1565};
1566struct __acl_get_fd_args {
245e4f17 1567#ifdef _KERNEL
df2244e3 1568 struct sysmsg sysmsg;
245e4f17 1569#endif
984263bc
MD
1570 int filedes; char filedes_[PAD_(int)];
1571 acl_type_t type; char type_[PAD_(acl_type_t)];
1572 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1573};
1574struct __acl_set_fd_args {
245e4f17 1575#ifdef _KERNEL
df2244e3 1576 struct sysmsg sysmsg;
245e4f17 1577#endif
984263bc
MD
1578 int filedes; char filedes_[PAD_(int)];
1579 acl_type_t type; char type_[PAD_(acl_type_t)];
1580 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1581};
1582struct __acl_delete_file_args {
245e4f17 1583#ifdef _KERNEL
df2244e3 1584 struct sysmsg sysmsg;
245e4f17 1585#endif
984263bc
MD
1586 const char * path; char path_[PAD_(const char *)];
1587 acl_type_t type; char type_[PAD_(acl_type_t)];
1588};
1589struct __acl_delete_fd_args {
245e4f17 1590#ifdef _KERNEL
df2244e3 1591 struct sysmsg sysmsg;
245e4f17 1592#endif
984263bc
MD
1593 int filedes; char filedes_[PAD_(int)];
1594 acl_type_t type; char type_[PAD_(acl_type_t)];
1595};
1596struct __acl_aclcheck_file_args {
245e4f17 1597#ifdef _KERNEL
df2244e3 1598 struct sysmsg sysmsg;
245e4f17 1599#endif
984263bc
MD
1600 const char * path; char path_[PAD_(const char *)];
1601 acl_type_t type; char type_[PAD_(acl_type_t)];
1602 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1603};
1604struct __acl_aclcheck_fd_args {
245e4f17 1605#ifdef _KERNEL
df2244e3 1606 struct sysmsg sysmsg;
245e4f17 1607#endif
984263bc
MD
1608 int filedes; char filedes_[PAD_(int)];
1609 acl_type_t type; char type_[PAD_(acl_type_t)];
1610 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1611};
1612struct extattrctl_args {
245e4f17 1613#ifdef _KERNEL
df2244e3 1614 struct sysmsg sysmsg;
245e4f17 1615#endif
984263bc
MD
1616 const char * path; char path_[PAD_(const char *)];
1617 int cmd; char cmd_[PAD_(int)];
1618 const char * attrname; char attrname_[PAD_(const char *)];
1619 char * arg; char arg_[PAD_(char *)];
1620};
1621struct extattr_set_file_args {
245e4f17 1622#ifdef _KERNEL
df2244e3 1623 struct sysmsg sysmsg;
245e4f17 1624#endif
984263bc
MD
1625 const char * path; char path_[PAD_(const char *)];
1626 const char * attrname; char attrname_[PAD_(const char *)];
1627 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
1628 unsigned iovcnt; char iovcnt_[PAD_(unsigned)];
1629};
1630struct extattr_get_file_args {
245e4f17 1631#ifdef _KERNEL
df2244e3 1632 struct sysmsg sysmsg;
245e4f17 1633#endif
984263bc
MD
1634 const char * path; char path_[PAD_(const char *)];
1635 const char * attrname; char attrname_[PAD_(const char *)];
1636 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
1637 unsigned iovcnt; char iovcnt_[PAD_(unsigned)];
1638};
1639struct extattr_delete_file_args {
245e4f17 1640#ifdef _KERNEL
df2244e3 1641 struct sysmsg sysmsg;
245e4f17 1642#endif
984263bc
MD
1643 const char * path; char path_[PAD_(const char *)];
1644 const char * attrname; char attrname_[PAD_(const char *)];
1645};
1646struct aio_waitcomplete_args {
245e4f17 1647#ifdef _KERNEL
df2244e3 1648 struct sysmsg sysmsg;
245e4f17 1649#endif
984263bc
MD
1650 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
1651 struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
1652};
1653struct getresuid_args {
245e4f17 1654#ifdef _KERNEL
df2244e3 1655 struct sysmsg sysmsg;
245e4f17 1656#endif
984263bc
MD
1657 uid_t * ruid; char ruid_[PAD_(uid_t *)];
1658 uid_t * euid; char euid_[PAD_(uid_t *)];
1659 uid_t * suid; char suid_[PAD_(uid_t *)];
1660};
1661struct getresgid_args {
245e4f17 1662#ifdef _KERNEL
df2244e3 1663 struct sysmsg sysmsg;
245e4f17 1664#endif
984263bc
MD
1665 gid_t * rgid; char rgid_[PAD_(gid_t *)];
1666 gid_t * egid; char egid_[PAD_(gid_t *)];
1667 gid_t * sgid; char sgid_[PAD_(gid_t *)];
1668};
1669struct kqueue_args {
245e4f17 1670#ifdef _KERNEL
df2244e3 1671 struct sysmsg sysmsg;
245e4f17 1672#endif
984263bc
MD
1673 register_t dummy;
1674};
1675struct kevent_args {
245e4f17 1676#ifdef _KERNEL
df2244e3 1677 struct sysmsg sysmsg;
245e4f17 1678#endif
984263bc
MD
1679 int fd; char fd_[PAD_(int)];
1680 const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)];
1681 int nchanges; char nchanges_[PAD_(int)];
1682 struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)];
1683 int nevents; char nevents_[PAD_(int)];
1684 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1685};
78812139
EN
1686struct sctp_peeloff_args {
1687#ifdef _KERNEL
1688 struct sysmsg sysmsg;
1689#endif
78812139
EN
1690 int sd; char sd_[PAD_(int)];
1691 caddr_t name; char name_[PAD_(caddr_t)];
1692};
91fdc001
PA
1693struct lchflags_args {
1694#ifdef _KERNEL
1695 struct sysmsg sysmsg;
1696#endif
1697 char * path; char path_[PAD_(char *)];
1698 int flags; char flags_[PAD_(int)];
1699};
2a0783db
MD
1700struct uuidgen_args {
1701#ifdef _KERNEL
1702 struct sysmsg sysmsg;
1703#endif
1704 struct uuid * store; char store_[PAD_(struct uuid *)];
1705 int count; char count_[PAD_(int)];
1706};
984263bc 1707struct sendfile_args {
245e4f17 1708#ifdef _KERNEL
df2244e3 1709 struct sysmsg sysmsg;
245e4f17 1710#endif
984263bc
MD
1711 int fd; char fd_[PAD_(int)];
1712 int s; char s_[PAD_(int)];
1713 off_t offset; char offset_[PAD_(off_t)];
1714 size_t nbytes; char nbytes_[PAD_(size_t)];
1715 struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)];
1716 off_t * sbytes; char sbytes_[PAD_(off_t *)];
1717 int flags; char flags_[PAD_(int)];
1718};
98a7f915
MD
1719struct varsym_set_args {
1720#ifdef _KERNEL
df2244e3 1721 struct sysmsg sysmsg;
98a7f915 1722#endif
98a7f915
MD
1723 int level; char level_[PAD_(int)];
1724 const char * name; char name_[PAD_(const char *)];
1725 const char * data; char data_[PAD_(const char *)];
1726};
1727struct varsym_get_args {
1728#ifdef _KERNEL
df2244e3 1729 struct sysmsg sysmsg;
98a7f915 1730#endif
98a7f915
MD
1731 int mask; char mask_[PAD_(int)];
1732 const char * wild; char wild_[PAD_(const char *)];
1733 char * buf; char buf_[PAD_(char *)];
1734 int bufsize; char bufsize_[PAD_(int)];
1735};
0a004aa2
MD
1736struct varsym_list_args {
1737#ifdef _KERNEL
df2244e3 1738 struct sysmsg sysmsg;
0a004aa2 1739#endif
0a004aa2
MD
1740 int level; char level_[PAD_(int)];
1741 char * buf; char buf_[PAD_(char *)];
1742 int maxsize; char maxsize_[PAD_(int)];
1743 int * marker; char marker_[PAD_(int *)];
1744};
a722be49
MD
1745struct upc_register_args {
1746#ifdef _KERNEL
1747 struct sysmsg sysmsg;
1748#endif
a722be49
MD
1749 struct upcall * upc; char upc_[PAD_(struct upcall *)];
1750 void * ctxfunc; char ctxfunc_[PAD_(void *)];
1751 void * func; char func_[PAD_(void *)];
1752 void * data; char data_[PAD_(void *)];
1753};
1754struct upc_control_args {
1755#ifdef _KERNEL
1756 struct sysmsg sysmsg;
1757#endif
a722be49
MD
1758 int cmd; char cmd_[PAD_(int)];
1759 int upcid; char upcid_[PAD_(int)];
1760 void * data; char data_[PAD_(void *)];
1761};
1bc8e992
MD
1762struct caps_sys_service_args {
1763#ifdef _KERNEL
1764 struct sysmsg sysmsg;
1765#endif
1bc8e992
MD
1766 const char * name; char name_[PAD_(const char *)];
1767 uid_t uid; char uid_[PAD_(uid_t)];
1768 gid_t gid; char gid_[PAD_(gid_t)];
1769 int upcid; char upcid_[PAD_(int)];
1770 int flags; char flags_[PAD_(int)];
1771};
1772struct caps_sys_client_args {
1773#ifdef _KERNEL
1774 struct sysmsg sysmsg;
1775#endif
1bc8e992
MD
1776 const char * name; char name_[PAD_(const char *)];
1777 uid_t uid; char uid_[PAD_(uid_t)];
1778 gid_t gid; char gid_[PAD_(gid_t)];
1779 int upcid; char upcid_[PAD_(int)];
1780 int flags; char flags_[PAD_(int)];
1781};
1782struct caps_sys_close_args {
1783#ifdef _KERNEL
1784 struct sysmsg sysmsg;
1785#endif
1bc8e992
MD
1786 int portid; char portid_[PAD_(int)];
1787};
1788struct caps_sys_put_args {
1789#ifdef _KERNEL
1790 struct sysmsg sysmsg;
1791#endif
1bc8e992
MD
1792 int portid; char portid_[PAD_(int)];
1793 void * msg; char msg_[PAD_(void *)];
1794 int msgsize; char msgsize_[PAD_(int)];
1795};
1796struct caps_sys_reply_args {
1797#ifdef _KERNEL
1798 struct sysmsg sysmsg;
1799#endif
1bc8e992
MD
1800 int portid; char portid_[PAD_(int)];
1801 void * msg; char msg_[PAD_(void *)];
1802 int msgsize; char msgsize_[PAD_(int)];
1803 off_t msgcid; char msgcid_[PAD_(off_t)];
1804};
1805struct caps_sys_get_args {
1806#ifdef _KERNEL
1807 struct sysmsg sysmsg;
1808#endif
1bc8e992
MD
1809 int portid; char portid_[PAD_(int)];
1810 void * msg; char msg_[PAD_(void *)];
1811 int maxsize; char maxsize_[PAD_(int)];
1812 struct caps_msgid * msgid; char msgid_[PAD_(struct caps_msgid *)];
1813 struct caps_cred * ccr; char ccr_[PAD_(struct caps_cred *)];
1814};
1815struct caps_sys_wait_args {
1816#ifdef _KERNEL
1817 struct sysmsg sysmsg;
1818#endif
1bc8e992
MD
1819 int portid; char portid_[PAD_(int)];
1820 void * msg; char msg_[PAD_(void *)];
1821 int maxsize; char maxsize_[PAD_(int)];
1822 struct caps_msgid * msgid; char msgid_[PAD_(struct caps_msgid *)];
1823 struct caps_cred * ccr; char ccr_[PAD_(struct caps_cred *)];
1824};
1825struct caps_sys_abort_args {
1826#ifdef _KERNEL
1827 struct sysmsg sysmsg;
1828#endif
1bc8e992
MD
1829 int portid; char portid_[PAD_(int)];
1830 off_t msgcid; char msgcid_[PAD_(off_t)];
1831 int flags; char flags_[PAD_(int)];
1832};
e30f9e2c
MD
1833struct caps_sys_getgen_args {
1834#ifdef _KERNEL
1835 struct sysmsg sysmsg;
1836#endif
e30f9e2c
MD
1837 int portid; char portid_[PAD_(int)];
1838};
1839struct caps_sys_setgen_args {
1840#ifdef _KERNEL
1841 struct sysmsg sysmsg;
1842#endif
e30f9e2c
MD
1843 int portid; char portid_[PAD_(int)];
1844 off_t gen; char gen_[PAD_(off_t)];
1845};
29802dbb
MD
1846struct exec_sys_register_args {
1847#ifdef _KERNEL
1848 struct sysmsg sysmsg;
1849#endif
29802dbb
MD
1850 void * entry; char entry_[PAD_(void *)];
1851};
1852struct exec_sys_unregister_args {
1853#ifdef _KERNEL
1854 struct sysmsg sysmsg;
1855#endif
29802dbb
MD
1856 int id; char id_[PAD_(int)];
1857};
0ba6fbbf
MD
1858struct sys_checkpoint_args {
1859#ifdef _KERNEL
1860 struct sysmsg sysmsg;
1861#endif
0ba6fbbf
MD
1862 int type; char type_[PAD_(int)];
1863 int fd; char fd_[PAD_(int)];
1864 pid_t pid; char pid_[PAD_(pid_t)];
1865 int retval; char retval_[PAD_(int)];
1866};
949ecb9b
MD
1867struct mountctl_args {
1868#ifdef _KERNEL
1869 struct sysmsg sysmsg;
1870#endif
da5fb9ef 1871 const char * path; char path_[PAD_(const char *)];
949ecb9b 1872 int op; char op_[PAD_(int)];
2281065e 1873 int fd; char fd_[PAD_(int)];
949ecb9b
MD
1874 const void * ctl; char ctl_[PAD_(const void *)];
1875 int ctllen; char ctllen_[PAD_(int)];
1876 void * buf; char buf_[PAD_(void *)];
1877 int buflen; char buflen_[PAD_(int)];
1878};
da5fb9ef
MD
1879struct umtx_sleep_args {
1880#ifdef _KERNEL
1881 struct sysmsg sysmsg;
1882#endif
76798859 1883 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
da5fb9ef
MD
1884 int value; char value_[PAD_(int)];
1885 int timeout; char timeout_[PAD_(int)];
1886};
1887struct umtx_wakeup_args {
1888#ifdef _KERNEL
1889 struct sysmsg sysmsg;
1890#endif
76798859 1891 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
da5fb9ef
MD
1892 int count; char count_[PAD_(int)];
1893};
b9fca94d
JS
1894struct jail_attach_args {
1895#ifdef _KERNEL
1896 struct sysmsg sysmsg;
1897#endif
b9fca94d
JS
1898 int jid; char jid_[PAD_(int)];
1899};
ba491dfb 1900struct set_tls_area_args {
806bf111
MD
1901#ifdef _KERNEL
1902 struct sysmsg sysmsg;
1903#endif
806bf111
MD
1904 int which; char which_[PAD_(int)];
1905 struct tls_info * info; char info_[PAD_(struct tls_info *)];
8383d6cf 1906 size_t infosize; char infosize_[PAD_(size_t)];
806bf111 1907};
ba491dfb 1908struct get_tls_area_args {
806bf111
MD
1909#ifdef _KERNEL
1910 struct sysmsg sysmsg;
1911#endif
806bf111
MD
1912 int which; char which_[PAD_(int)];
1913 struct tls_info * info; char info_[PAD_(struct tls_info *)];
8383d6cf 1914 size_t infosize; char infosize_[PAD_(size_t)];
806bf111 1915};
ae5995b9
JS
1916struct closefrom_args {
1917#ifdef _KERNEL
1918 struct sysmsg sysmsg;
1919#endif
ae5995b9
JS
1920 int fd; char fd_[PAD_(int)];
1921};
f1787048
JS
1922struct stat_args {
1923#ifdef _KERNEL
1924 struct sysmsg sysmsg;
1925#endif
f1787048
JS
1926 const char * path; char path_[PAD_(const char *)];
1927 struct stat * ub; char ub_[PAD_(struct stat *)];
1928};
1929struct fstat_args {
1930#ifdef _KERNEL
1931 struct sysmsg sysmsg;
1932#endif
f1787048
JS
1933 int fd; char fd_[PAD_(int)];
1934 struct stat * sb; char sb_[PAD_(struct stat *)];
1935};
1936struct lstat_args {
1937#ifdef _KERNEL
1938 struct sysmsg sysmsg;
1939#endif
f1787048
JS
1940 const char * path; char path_[PAD_(const char *)];
1941 struct stat * ub; char ub_[PAD_(struct stat *)];
1942};
1943struct fhstat_args {
4fd10eb6 1944#ifdef _KERNEL
f1787048
JS
1945 struct sysmsg sysmsg;
1946#endif
f1787048
JS
1947 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1948 struct stat * sb; char sb_[PAD_(struct stat *)];
1949};
01f31ab3
JS
1950struct getdirentries_args {
1951#ifdef _KERNEL
1952 struct sysmsg sysmsg;
1953#endif
01f31ab3
JS
1954 int fd; char fd_[PAD_(int)];
1955 char * buf; char buf_[PAD_(char *)];
1956 u_int count; char count_[PAD_(u_int)];
1957 long * basep; char basep_[PAD_(long *)];
1958};
1959struct getdents_args {
1960#ifdef _KERNEL
1961 struct sysmsg sysmsg;
1962#endif
01f31ab3
JS
1963 int fd; char fd_[PAD_(int)];
1964 char * buf; char buf_[PAD_(char *)];
1965 size_t count; char count_[PAD_(size_t)];
1966};
cb7f4ab1
MD
1967struct usched_set_args {
1968#ifdef _KERNEL
1969 struct sysmsg sysmsg;
1970#endif
ff256ae7
DX
1971 pid_t pid; char pid_[PAD_(pid_t)];
1972 int cmd; char cmd_[PAD_(int)];
1973 void * data; char data_[PAD_(void *)];
1974 int bytes; char bytes_[PAD_(int)];
cb7f4ab1 1975};
b09fd398 1976struct extaccept_args {
358e1f78
MD
1977#ifdef _KERNEL
1978 struct sysmsg sysmsg;
1979#endif
1980 int s; char s_[PAD_(int)];
1981 int flags; char flags_[PAD_(int)];
1982 caddr_t name; char name_[PAD_(caddr_t)];
1983 int * anamelen; char anamelen_[PAD_(int *)];
1984};
b09fd398 1985struct extconnect_args {
358e1f78
MD
1986#ifdef _KERNEL
1987 struct sysmsg sysmsg;
1988#endif
1989 int s; char s_[PAD_(int)];
1990 int flags; char flags_[PAD_(int)];
1991 caddr_t name; char name_[PAD_(caddr_t)];
1992 int namelen; char namelen_[PAD_(int)];
1993};
e143cb06
MD
1994struct syslink_args {
1995#ifdef _KERNEL
1996 struct sysmsg sysmsg;
1997#endif
bffded52 1998 int cmd; char cmd_[PAD_(int)];
63db58ad
MD
1999 struct syslink_info * info; char info_[PAD_(struct syslink_info *)];
2000 size_t bytes; char bytes_[PAD_(size_t)];
e143cb06 2001};
d3313941
MD
2002struct mcontrol_args {
2003#ifdef _KERNEL
2004 struct sysmsg sysmsg;
2005#endif
2006 void * addr; char addr_[PAD_(void *)];
2007 size_t len; char len_[PAD_(size_t)];
2008 int behav; char behav_[PAD_(int)];
2009 off_t value; char value_[PAD_(off_t)];
2010};
2011struct vmspace_create_args {
133aabc4
MD
2012#ifdef _KERNEL
2013 struct sysmsg sysmsg;
2014#endif
2015 void * id; char id_[PAD_(void *)];
d3313941
MD
2016 int type; char type_[PAD_(int)];
2017 void * data; char data_[PAD_(void *)];
133aabc4 2018};
d3313941 2019struct vmspace_destroy_args {
133aabc4
MD
2020#ifdef _KERNEL
2021 struct sysmsg sysmsg;
2022#endif
2023 void * id; char id_[PAD_(void *)];
133aabc4 2024};
d3313941 2025struct vmspace_ctl_args {
133aabc4
MD
2026#ifdef _KERNEL
2027 struct sysmsg sysmsg;
2028#endif
2029 void * id; char id_[PAD_(void *)];
d3313941 2030 int cmd; char cmd_[PAD_(int)];
4e7c41c5
MD
2031 struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)];
2032 struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)];
133aabc4 2033};
d3313941 2034struct vmspace_mmap_args {
133aabc4
MD
2035#ifdef _KERNEL
2036 struct sysmsg sysmsg;
2037#endif
2038 void * id; char id_[PAD_(void *)];
d3313941
MD
2039 void * addr; char addr_[PAD_(void *)];
2040 size_t len; char len_[PAD_(size_t)];
2041 int prot; char prot_[PAD_(int)];
2042 int flags; char flags_[PAD_(int)];
2043 int fd; char fd_[PAD_(int)];
2044 off_t offset; char offset_[PAD_(off_t)];
133aabc4 2045};
d3313941 2046struct vmspace_munmap_args {
133aabc4
MD
2047#ifdef _KERNEL
2048 struct sysmsg sysmsg;
2049#endif
2050 void * id; char id_[PAD_(void *)];
d3313941
MD
2051 void * addr; char addr_[PAD_(void *)];
2052 size_t len; char len_[PAD_(size_t)];
133aabc4 2053};
d3313941 2054struct vmspace_mcontrol_args {
afeabdca
MD
2055#ifdef _KERNEL
2056 struct sysmsg sysmsg;
2057#endif
d3313941 2058 void * id; char id_[PAD_(void *)];
afeabdca
MD
2059 void * addr; char addr_[PAD_(void *)];
2060 size_t len; char len_[PAD_(size_t)];
2061 int behav; char behav_[PAD_(int)];
2062 off_t value; char value_[PAD_(off_t)];
2063};
021a4ed4
MD
2064struct vmspace_pread_args {
2065#ifdef _KERNEL
2066 struct sysmsg sysmsg;
2067#endif
2068 void * id; char id_[PAD_(void *)];
2069 void * buf; char buf_[PAD_(void *)];
2070 size_t nbyte; char nbyte_[PAD_(size_t)];
2071 int flags; char flags_[PAD_(int)];
2072 off_t offset; char offset_[PAD_(off_t)];
2073};
2074struct vmspace_pwrite_args {
2075#ifdef _KERNEL
2076 struct sysmsg sysmsg;
2077#endif
2078 void * id; char id_[PAD_(void *)];
2079 const void * buf; char buf_[PAD_(const void *)];
2080 size_t nbyte; char nbyte_[PAD_(size_t)];
2081 int flags; char flags_[PAD_(int)];
2082 off_t offset; char offset_[PAD_(off_t)];
2083};
a704dbd9
SS
2084struct extexit_args {
2085#ifdef _KERNEL
2086 struct sysmsg sysmsg;
2087#endif
2088 int how; char how_[PAD_(int)];
2089 int status; char status_[PAD_(int)];
2090 void * addr; char addr_[PAD_(void *)];
2091};
a0a27cfb
SS
2092struct lwp_create_args {
2093#ifdef _KERNEL
2094 struct sysmsg sysmsg;
2095#endif
2096 struct lwp_params * params; char params_[PAD_(struct lwp_params *)];
2097};
c2e552b5
SS
2098struct lwp_gettid_args {
2099#ifdef _KERNEL
2100 struct sysmsg sysmsg;
2101#endif
2102 register_t dummy;
2103};
2104struct lwp_kill_args {
2105#ifdef _KERNEL
2106 struct sysmsg sysmsg;
2107#endif
2108 pid_t pid; char pid_[PAD_(pid_t)];
2109 lwpid_t tid; char tid_[PAD_(lwpid_t)];
2110 int signum; char signum_[PAD_(int)];
2111};
649d3bd2
MD
2112struct lwp_rtprio_args {
2113#ifdef _KERNEL
2114 struct sysmsg sysmsg;
2115#endif
2116 int function; char function_[PAD_(int)];
2117 pid_t pid; char pid_[PAD_(pid_t)];
2118 lwpid_t tid; char tid_[PAD_(lwpid_t)];
2119 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
2120};
ae7cb1b5
NT
2121struct pselect_args {
2122#ifdef _KERNEL
2123 struct sysmsg sysmsg;
2124#endif
2125 int nd; char nd_[PAD_(int)];
2126 fd_set * in; char in_[PAD_(fd_set *)];
2127 fd_set * ou; char ou_[PAD_(fd_set *)];
2128 fd_set * ex; char ex_[PAD_(fd_set *)];
2129 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
2130 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
2131};
d9fad06e
MD
2132struct statvfs_args {
2133#ifdef _KERNEL
2134 struct sysmsg sysmsg;
2135#endif
2136 const char * path; char path_[PAD_(const char *)];
2137 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2138};
2139struct fstatvfs_args {
2140#ifdef _KERNEL
2141 struct sysmsg sysmsg;
2142#endif
2143 int fd; char fd_[PAD_(int)];
2144 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2145};
2146struct fhstatvfs_args {
2147#ifdef _KERNEL
2148 struct sysmsg sysmsg;
2149#endif
2150 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2151 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2152};
00fe9d48
MD
2153struct getvfsstat_args {
2154#ifdef _KERNEL
2155 struct sysmsg sysmsg;
2156#endif
2157 struct statfs * buf; char buf_[PAD_(struct statfs *)];
2158 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)];
2159 long vbufsize; char vbufsize_[PAD_(long)];
2160 int flags; char flags_[PAD_(int)];
2161};
83a11774
NT
2162struct openat_args {
2163#ifdef _KERNEL
2164 struct sysmsg sysmsg;
2165#endif
2166 int fd; char fd_[PAD_(int)];
2167 char * path; char path_[PAD_(char *)];
2168 int flags; char flags_[PAD_(int)];
2169 int mode; char mode_[PAD_(int)];
2170};
e101a3f4
NT
2171struct fstatat_args {
2172#ifdef _KERNEL
2173 struct sysmsg sysmsg;
2174#endif
2175 int fd; char fd_[PAD_(int)];
2176 char * path; char path_[PAD_(char *)];
2177 struct stat * sb; char sb_[PAD_(struct stat *)];
2178 int flags; char flags_[PAD_(int)];
2179};
f1787048
JS
2180
2181#ifdef COMPAT_43
4fd10eb6 2182
17e1a2b5 2183#ifdef COMPAT_43
17e1a2b5 2184#endif
984263bc 2185struct ocreat_args {
245e4f17 2186#ifdef _KERNEL
df2244e3 2187 struct sysmsg sysmsg;
245e4f17 2188#endif
984263bc
MD
2189 char * path; char path_[PAD_(char *)];
2190 int mode; char mode_[PAD_(int)];
2191};
2192struct olseek_args {
245e4f17 2193#ifdef _KERNEL
df2244e3 2194 struct sysmsg sysmsg;
245e4f17 2195#endif
984263bc
MD
2196 int fd; char fd_[PAD_(int)];
2197 long offset; char offset_[PAD_(long)];
2198 int whence; char whence_[PAD_(int)];
2199};
2200struct ostat_args {
245e4f17 2201#ifdef _KERNEL
df2244e3 2202 struct sysmsg sysmsg;
245e4f17 2203#endif
984263bc
MD
2204 char * path; char path_[PAD_(char *)];
2205 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2206};
2207struct olstat_args {
245e4f17 2208#ifdef _KERNEL
df2244e3 2209 struct sysmsg sysmsg;
245e4f17 2210#endif
984263bc
MD
2211 char * path; char path_[PAD_(char *)];
2212 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2213};
984263bc 2214struct ofstat_args {
245e4f17 2215#ifdef _KERNEL
df2244e3 2216 struct sysmsg sysmsg;
245e4f17 2217#endif
984263bc
MD
2218 int fd; char fd_[PAD_(int)];
2219 struct ostat * sb; char sb_[PAD_(struct ostat *)];
2220};
2221struct getkerninfo_args {
245e4f17 2222#ifdef _KERNEL
df2244e3 2223 struct sysmsg sysmsg;
245e4f17 2224#endif
984263bc
MD
2225 int op; char op_[PAD_(int)];
2226 char * where; char where_[PAD_(char *)];
2227 size_t * size; char size_[PAD_(size_t *)];
2228 int arg; char arg_[PAD_(int)];
2229};
2230struct ommap_args {
245e4f17 2231#ifdef _KERNEL
df2244e3 2232 struct sysmsg sysmsg;
245e4f17 2233#endif
984263bc
MD
2234 void * addr; char addr_[PAD_(void *)];
2235 int len; char len_[PAD_(int)];
2236 int prot; char prot_[PAD_(int)];
2237 int flags; char flags_[PAD_(int)];
2238 int fd; char fd_[PAD_(int)];
2239 long pos; char pos_[PAD_(long)];
2240};
2241struct gethostname_args {
245e4f17 2242#ifdef _KERNEL
df2244e3 2243 struct sysmsg sysmsg;
245e4f17 2244#endif
984263bc
MD
2245 char * hostname; char hostname_[PAD_(char *)];
2246 u_int len; char len_[PAD_(u_int)];
2247};
2248struct sethostname_args {
245e4f17 2249#ifdef _KERNEL
df2244e3 2250 struct sysmsg sysmsg;
245e4f17 2251#endif
984263bc
MD
2252 char * hostname; char hostname_[PAD_(char *)];
2253 u_int len; char len_[PAD_(u_int)];
2254};
2255struct osend_args {
245e4f17 2256#ifdef _KERNEL
df2244e3 2257 struct sysmsg sysmsg;
245e4f17 2258#endif
984263bc
MD
2259 int s; char s_[PAD_(int)];
2260 caddr_t buf; char buf_[PAD_(caddr_t)];
2261 int len; char len_[PAD_(int)];
2262 int flags; char flags_[PAD_(int)];
2263};
2264struct orecv_args {
245e4f17 2265#ifdef _KERNEL
df2244e3 2266 struct sysmsg sysmsg;
245e4f17 2267#endif
984263bc
MD
2268 int s; char s_[PAD_(int)];
2269 caddr_t buf; char buf_[PAD_(caddr_t)];
2270 int len; char len_[PAD_(int)];
2271 int flags; char flags_[PAD_(int)];
2272};
984263bc 2273struct osigvec_args {
245e4f17 2274#ifdef _KERNEL
df2244e3 2275 struct sysmsg sysmsg;
245e4f17 2276#endif
984263bc
MD
2277 int signum; char signum_[PAD_(int)];
2278 struct sigvec * nsv; char nsv_[PAD_(struct sigvec *)];
2279 struct sigvec * osv; char osv_[PAD_(struct sigvec *)];
2280};
2281struct osigblock_args {
245e4f17 2282#ifdef _KERNEL
df2244e3 2283 struct sysmsg sysmsg;
245e4f17 2284#endif
984263bc
MD
2285 int mask; char mask_[PAD_(int)];
2286};
2287struct osigsetmask_args {
245e4f17 2288#ifdef _KERNEL
df2244e3 2289 struct sysmsg sysmsg;
245e4f17 2290#endif
984263bc
MD
2291 int mask; char mask_[PAD_(int)];
2292};
984263bc 2293struct osigstack_args {
245e4f17 2294#ifdef _KERNEL
df2244e3 2295 struct sysmsg sysmsg;
245e4f17 2296#endif
984263bc
MD
2297 struct sigstack * nss; char nss_[PAD_(struct sigstack *)];
2298 struct sigstack * oss; char oss_[PAD_(struct sigstack *)];
2299};
2300struct orecvmsg_args {
245e4f17 2301#ifdef _KERNEL
df2244e3 2302 struct sysmsg sysmsg;
245e4f17 2303#endif
984263bc
MD
2304 int s; char s_[PAD_(int)];
2305 struct omsghdr * msg; char msg_[PAD_(struct omsghdr *)];
2306 int flags; char flags_[PAD_(int)];
2307};
2308struct osendmsg_args {
245e4f17 2309#ifdef _KERNEL
df2244e3 2310 struct sysmsg sysmsg;
245e4f17 2311#endif
984263bc
MD
2312 int s; char s_[PAD_(int)];
2313 caddr_t msg; char msg_[PAD_(caddr_t)];
2314 int flags; char flags_[PAD_(int)];
2315};
2316struct otruncate_args {
245e4f17 2317#ifdef _KERNEL
df2244e3 2318 struct sysmsg sysmsg;
245e4f17 2319#endif
984263bc
MD
2320 char * path; char path_[PAD_(char *)];
2321 long length; char length_[PAD_(long)];
2322};
2323struct oftruncate_args {
245e4f17 2324#ifdef _KERNEL
df2244e3 2325 struct sysmsg sysmsg;
245e4f17 2326#endif
984263bc
MD
2327 int fd; char fd_[PAD_(int)];
2328 long length; char length_[PAD_(long)];
2329};
2330struct ogetpeername_args {
245e4f17 2331#ifdef _KERNEL
df2244e3 2332 struct sysmsg sysmsg;
245e4f17 2333#endif
984263bc
MD
2334 int fdes; char fdes_[PAD_(int)];
2335 caddr_t asa; char asa_[PAD_(caddr_t)];
2336 int * alen; char alen_[PAD_(int *)];
2337};
2338struct osethostid_args {
245e4f17 2339#ifdef _KERNEL
df2244e3 2340 struct sysmsg sysmsg;
245e4f17 2341#endif
984263bc
MD
2342 long hostid; char hostid_[PAD_(long)];
2343};
2344struct ogetrlimit_args {
245e4f17 2345#ifdef _KERNEL
df2244e3 2346 struct sysmsg sysmsg;
245e4f17 2347#endif
984263bc
MD
2348 u_int which; char which_[PAD_(u_int)];
2349 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2350};
2351struct osetrlimit_args {
245e4f17 2352#ifdef _KERNEL
df2244e3 2353 struct sysmsg sysmsg;
245e4f17 2354#endif
984263bc
MD
2355 u_int which; char which_[PAD_(u_int)];
2356 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2357};
2358struct okillpg_args {
245e4f17 2359#ifdef _KERNEL
df2244e3 2360 struct sysmsg sysmsg;
245e4f17 2361#endif
984263bc
MD
2362 int pgid; char pgid_[PAD_(int)];
2363 int signum; char signum_[PAD_(int)];
2364};
2365struct ogetdirentries_args {
245e4f17 2366#ifdef _KERNEL
df2244e3 2367 struct sysmsg sysmsg;
245e4f17 2368#endif
984263bc
MD
2369 int fd; char fd_[PAD_(int)];
2370 char * buf; char buf_[PAD_(char *)];
2371 u_int count; char count_[PAD_(u_int)];
2372 long * basep; char basep_[PAD_(long *)];
2373};
4fd10eb6
MD
2374
2375#ifdef _KERNEL
2376
753fd850
MD
2377int sys_ocreat (struct ocreat_args *);
2378int sys_olseek (struct olseek_args *);
2379int sys_ostat (struct ostat_args *);
2380int sys_olstat (struct olstat_args *);
2381int sys_ofstat (struct ofstat_args *);
2382int sys_ogetkerninfo (struct getkerninfo_args *);
2383int sys_ogetpagesize (struct getpagesize_args *);
2384int sys_ommap (struct ommap_args *);
2385int sys_owait (struct owait_args *);
2386int sys_ogethostname (struct gethostname_args *);
2387int sys_osethostname (struct sethostname_args *);
2388int sys_oaccept (struct accept_args *);
2389int sys_osend (struct osend_args *);
2390int sys_orecv (struct orecv_args *);
2391int sys_osigvec (struct osigvec_args *);
2392int sys_osigblock (struct osigblock_args *);
2393int sys_osigsetmask (struct osigsetmask_args *);
2394int sys_osigstack (struct osigstack_args *);
2395int sys_orecvmsg (struct orecvmsg_args *);
2396int sys_osendmsg (struct osendmsg_args *);
2397int sys_orecvfrom (struct recvfrom_args *);
2398int sys_otruncate (struct otruncate_args *);
2399int sys_oftruncate (struct oftruncate_args *);
2400int sys_ogetpeername (struct ogetpeername_args *);
2401int sys_ogethostid (struct ogethostid_args *);
2402int sys_osethostid (struct osethostid_args *);
2403int sys_ogetrlimit (struct ogetrlimit_args *);
2404int sys_osetrlimit (struct osetrlimit_args *);
2405int sys_okillpg (struct okillpg_args *);
2406int sys_oquota (struct oquota_args *);
2407int sys_ogetsockname (struct getsockname_args *);
2408int sys_ogetdirentries (struct ogetdirentries_args *);
984263bc 2409
4fd10eb6
MD
2410#endif /* _KERNEL */
2411
984263bc
MD
2412#endif /* COMPAT_43 */
2413
f1787048
JS
2414
2415#ifdef COMPAT_DF12
2416
2417#ifdef COMPAT_43
2418#endif
2419struct dfbsd12_stat_args {
2420#ifdef _KERNEL
2421 struct sysmsg sysmsg;
2422#endif
f1787048
JS
2423 const char * path; char path_[PAD_(const char *)];
2424 struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)];
2425};
2426struct dfbsd12_fstat_args {
2427#ifdef _KERNEL
2428 struct sysmsg sysmsg;
2429#endif
f1787048
JS
2430 int fd; char fd_[PAD_(int)];
2431 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2432};
2433struct dfbsd12_lstat_args {
2434#ifdef _KERNEL
2435 struct sysmsg sysmsg;
2436#endif
f1787048
JS
2437 const char * path; char path_[PAD_(const char *)];
2438 struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)];
2439};
01f31ab3
JS
2440struct dfbsd12_getdirentries_args {
2441#ifdef _KERNEL
2442 struct sysmsg sysmsg;
2443#endif
01f31ab3
JS
2444 int fd; char fd_[PAD_(int)];
2445 char * buf; char buf_[PAD_(char *)];
2446 u_int count; char count_[PAD_(u_int)];
2447 long * basep; char basep_[PAD_(long *)];
2448};
2449struct dfbsd12_getdents_args {
2450#ifdef _KERNEL
2451 struct sysmsg sysmsg;
2452#endif
01f31ab3
JS
2453 int fd; char fd_[PAD_(int)];
2454 char * buf; char buf_[PAD_(char *)];
2455 size_t count; char count_[PAD_(size_t)];
2456};
f1787048
JS
2457struct dfbsd12_fhstat_args {
2458#ifdef _KERNEL
2459 struct sysmsg sysmsg;
2460#endif
f1787048
JS
2461 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2462 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2463};
2464
2465#ifdef _KERNEL
2466
753fd850
MD
2467int sys_dfbsd12_stat (struct dfbsd12_stat_args *);
2468int sys_dfbsd12_fstat (struct dfbsd12_fstat_args *);
2469int sys_dfbsd12_lstat (struct dfbsd12_lstat_args *);
2470int sys_dfbsd12_getdirentries (struct dfbsd12_getdirentries_args *);
2471int sys_dfbsd12_getdents (struct dfbsd12_getdents_args *);
2472int sys_dfbsd12_fhstat (struct dfbsd12_fhstat_args *);
f1787048
JS
2473
2474#endif /* _KERNEL */
2475
2476#endif /* COMPAT_DF12 */
2477
2478
2479#ifdef _KERNEL
2480
2481#ifdef COMPAT_43
2482#endif
753fd850
MD
2483int sys_nosys (struct nosys_args *);
2484int sys_exit (struct exit_args *);
2485int sys_fork (struct fork_args *);
2486int sys_read (struct read_args *);
2487int sys_write (struct write_args *);
2488int sys_open (struct open_args *);
2489int sys_close (struct close_args *);
2490int sys_wait4 (struct wait_args *);
2491int sys_link (struct link_args *);
2492int sys_unlink (struct unlink_args *);
2493int sys_chdir (struct chdir_args *);
2494int sys_fchdir (struct fchdir_args *);
2495int sys_mknod (struct mknod_args *);
2496int sys_chmod (struct chmod_args *);
2497int sys_chown (struct chown_args *);
2498int sys_obreak (struct obreak_args *);
2499int sys_getfsstat (struct getfsstat_args *);
2500int sys_getpid (struct getpid_args *);
2501int sys_mount (struct mount_args *);
2502int sys_unmount (struct unmount_args *);
2503int sys_setuid (struct setuid_args *);
2504int sys_getuid (struct getuid_args *);
2505int sys_geteuid (struct geteuid_args *);
2506int sys_ptrace (struct ptrace_args *);
2507int sys_recvmsg (struct recvmsg_args *);
2508int sys_sendmsg (struct sendmsg_args *);
2509int sys_recvfrom (struct recvfrom_args *);
2510int sys_accept (struct accept_args *);
2511int sys_getpeername (struct getpeername_args *);
2512int sys_getsockname (struct getsockname_args *);
2513int sys_access (struct access_args *);
2514int sys_chflags (struct chflags_args *);
2515int sys_fchflags (struct fchflags_args *);
2516int sys_sync (struct sync_args *);
2517int sys_kill (struct kill_args *);
2518int sys_getppid (struct getppid_args *);
2519int sys_dup (struct dup_args *);
2520int sys_pipe (struct pipe_args *);
2521int sys_getegid (struct getegid_args *);
2522int sys_profil (struct profil_args *);
2523int sys_ktrace (struct ktrace_args *);
2524int sys_getgid (struct getgid_args *);
2525int sys_getlogin (struct getlogin_args *);
2526int sys_setlogin (struct setlogin_args *);
2527int sys_acct (struct acct_args *);
2528int sys_sigaltstack (struct sigaltstack_args *);
2529int sys_ioctl (struct ioctl_args *);
2530int sys_reboot (struct reboot_args *);
2531int sys_revoke (struct revoke_args *);
2532int sys_symlink (struct symlink_args *);
2533int sys_readlink (struct readlink_args *);
2534int sys_execve (struct execve_args *);
2535int sys_umask (struct umask_args *);
2536int sys_chroot (struct chroot_args *);
2537int sys_msync (struct msync_args *);
2538int sys_vfork (struct vfork_args *);
2539int sys_sbrk (struct sbrk_args *);
2540int sys_sstk (struct sstk_args *);
2541int sys_ovadvise (struct ovadvise_args *);
2542int sys_munmap (struct munmap_args *);
2543int sys_mprotect (struct mprotect_args *);
2544int sys_madvise (struct madvise_args *);
2545int sys_mincore (struct mincore_args *);
2546int sys_getgroups (struct getgroups_args *);
2547int sys_setgroups (struct setgroups_args *);
2548int sys_getpgrp (struct getpgrp_args *);
2549int sys_setpgid (struct setpgid_args *);
2550int sys_setitimer (struct setitimer_args *);
2551int sys_swapon (struct swapon_args *);
2552int sys_getitimer (struct getitimer_args *);
2553int sys_getdtablesize (struct getdtablesize_args *);
2554int sys_dup2 (struct dup2_args *);
2555int sys_fcntl (struct fcntl_args *);
2556int sys_select (struct select_args *);
2557int sys_fsync (struct fsync_args *);
2558int sys_setpriority (struct setpriority_args *);
2559int sys_socket (struct socket_args *);
2560int sys_connect (struct connect_args *);
2561int sys_getpriority (struct getpriority_args *);
2562int sys_bind (struct bind_args *);
2563int sys_setsockopt (struct setsockopt_args *);
2564int sys_listen (struct listen_args *);
2565int sys_gettimeofday (struct gettimeofday_args *);
2566int sys_getrusage (struct getrusage_args *);
2567int sys_getsockopt (struct getsockopt_args *);
2568int sys_readv (struct readv_args *);
2569int sys_writev (struct writev_args *);
2570int sys_settimeofday (struct settimeofday_args *);
2571int sys_fchown (struct fchown_args *);
2572int sys_fchmod (struct fchmod_args *);
2573int sys_setreuid (struct setreuid_args *);
2574int sys_setregid (struct setregid_args *);
2575int sys_rename (struct rename_args *);
2576int sys_flock (struct flock_args *);
2577int sys_mkfifo (struct mkfifo_args *);
2578int sys_sendto (struct sendto_args *);
2579int sys_shutdown (struct shutdown_args *);
2580int sys_socketpair (struct socketpair_args *);
2581int sys_mkdir (struct mkdir_args *);
2582int sys_rmdir (struct rmdir_args *);
2583int sys_utimes (struct utimes_args *);
2584int sys_adjtime (struct adjtime_args *);
2585int sys_setsid (struct setsid_args *);
2586int sys_quotactl (struct quotactl_args *);
2587int sys_nfssvc (struct nfssvc_args *);
2588int sys_statfs (struct statfs_args *);
2589int sys_fstatfs (struct fstatfs_args *);
2590int sys_getfh (struct getfh_args *);
2591int sys_getdomainname (struct getdomainname_args *);
2592int sys_setdomainname (struct setdomainname_args *);
2593int sys_uname (struct uname_args *);
2594int sys_sysarch (struct sysarch_args *);
2595int sys_rtprio (struct rtprio_args *);
2596int sys_semsys (struct semsys_args *);
2597int sys_msgsys (struct msgsys_args *);
2598int sys_shmsys (struct shmsys_args *);
b09fd398
MD
2599int sys_extpread (struct extpread_args *);
2600int sys_extpwrite (struct extpwrite_args *);
753fd850
MD
2601int sys_ntp_adjtime (struct ntp_adjtime_args *);
2602int sys_setgid (struct setgid_args *);
2603int sys_setegid (struct setegid_args *);
2604int sys_seteuid (struct seteuid_args *);
2605int sys_pathconf (struct pathconf_args *);
2606int sys_fpathconf (struct fpathconf_args *);
2607int sys_getrlimit (struct __getrlimit_args *);
2608int sys_setrlimit (struct __setrlimit_args *);
2609int sys_mmap (struct mmap_args *);
2610int sys_lseek (struct lseek_args *);
2611int sys_truncate (struct truncate_args *);
2612int sys_ftruncate (struct ftruncate_args *);
2613int sys___sysctl (struct sysctl_args *);
2614int sys_mlock (struct mlock_args *);
2615int sys_munlock (struct munlock_args *);
2616int sys_undelete (struct undelete_args *);
2617int sys_futimes (struct futimes_args *);
2618int sys_getpgid (struct getpgid_args *);
2619int sys_poll (struct poll_args *);
2620int sys_lkmnosys (struct nosys_args *);
2621int sys___semctl (struct __semctl_args *);
2622int sys_semget (struct semget_args *);
2623int sys_semop (struct semop_args *);
2624int sys_msgctl (struct msgctl_args *);
2625int sys_msgget (struct msgget_args *);
2626int sys_msgsnd (struct msgsnd_args *);
2627int sys_msgrcv (struct msgrcv_args *);
2628int sys_shmat (struct shmat_args *);
2629int sys_shmctl (struct shmctl_args *);
2630int sys_shmdt (struct shmdt_args *);
2631int sys_shmget (struct shmget_args *);
2632int sys_clock_gettime (struct clock_gettime_args *);
2633int sys_clock_settime (struct clock_settime_args *);
2634int sys_clock_getres (struct clock_getres_args *);
2635int sys_nanosleep (struct nanosleep_args *);
2636int sys_minherit (struct minherit_args *);
2637int sys_rfork (struct rfork_args *);
2638int sys_openbsd_poll (struct openbsd_poll_args *);
2639int sys_issetugid (struct issetugid_args *);
2640int sys_lchown (struct lchown_args *);
2641int sys_lchmod (struct lchmod_args *);
2642int sys_lutimes (struct lutimes_args *);
b09fd398
MD
2643int sys_extpreadv (struct extpreadv_args *);
2644int sys_extpwritev (struct extpwritev_args *);
753fd850
MD
2645int sys_fhstatfs (struct fhstatfs_args *);
2646int sys_fhopen (struct fhopen_args *);
2647int sys_modnext (struct modnext_args *);
2648int sys_modstat (struct modstat_args *);
2649int sys_modfnext (struct modfnext_args *);
2650int sys_modfind (struct modfind_args *);
2651int sys_kldload (struct kldload_args *);
2652int sys_kldunload (struct kldunload_args *);
2653int sys_kldfind (struct kldfind_args *);
2654int sys_kldnext (struct kldnext_args *);
2655int sys_kldstat (struct kldstat_args *);
2656int sys_kldfirstmod (struct kldfirstmod_args *);
2657int sys_getsid (struct getsid_args *);
2658int sys_setresuid (struct setresuid_args *);
2659int sys_setresgid (struct setresgid_args *);
2660int sys_aio_return (struct aio_return_args *);
2661int sys_aio_suspend (struct aio_suspend_args *);
2662int sys_aio_cancel (struct aio_cancel_args *);
2663int sys_aio_error (struct aio_error_args *);
2664int sys_aio_read (struct aio_read_args *);
2665int sys_aio_write (struct aio_write_args *);
2666int sys_lio_listio (struct lio_listio_args *);
2667int sys_yield (struct yield_args *);
2668int sys_thr_sleep (struct thr_sleep_args *);
2669int sys_thr_wakeup (struct thr_wakeup_args *);
2670int sys_mlockall (struct mlockall_args *);
2671int sys_munlockall (struct munlockall_args *);
2672int sys___getcwd (struct __getcwd_args *);
2673int sys_sched_setparam (struct sched_setparam_args *);
2674int sys_sched_getparam (struct sched_getparam_args *);
2675int sys_sched_setscheduler (struct sched_setscheduler_args *);
2676int sys_sched_getscheduler (struct sched_getscheduler_args *);
2677int sys_sched_yield (struct sched_yield_args *);
2678int sys_sched_get_priority_max (struct sched_get_priority_max_args *);
2679int sys_sched_get_priority_min (struct sched_get_priority_min_args *);
2680int sys_sched_rr_get_interval (struct sched_rr_get_interval_args *);
2681int sys_utrace (struct utrace_args *);
2682int sys_kldsym (struct kldsym_args *);
2683int sys_jail (struct jail_args *);
2684int sys_sigprocmask (struct sigprocmask_args *);
2685int sys_sigsuspend (struct sigsuspend_args *);
2686int sys_sigaction (struct sigaction_args *);
2687int sys_sigpending (struct sigpending_args *);
2688int sys_sigreturn (struct sigreturn_args *);
2689int sys_sigtimedwait (struct sigtimedwait_args *);
2690int sys_sigwaitinfo (struct sigwaitinfo_args *);
2691int sys___acl_get_file (struct __acl_get_file_args *);
2692int sys___acl_set_file (struct __acl_set_file_args *);
2693int sys___acl_get_fd (struct __acl_get_fd_args *);
2694int sys___acl_set_fd (struct __acl_set_fd_args *);
2695int sys___acl_delete_file (struct __acl_delete_file_args *);
2696int sys___acl_delete_fd (struct __acl_delete_fd_args *);
2697int sys___acl_aclcheck_file (struct __acl_aclcheck_file_args *);
2698int sys___acl_aclcheck_fd (struct __acl_aclcheck_fd_args *);
2699int sys_extattrctl (struct extattrctl_args *);
2700int sys_extattr_set_file (struct extattr_set_file_args *);
2701int sys_extattr_get_file (struct extattr_get_file_args *);
2702int sys_extattr_delete_file (struct extattr_delete_file_args *);
2703int sys_aio_waitcomplete (struct aio_waitcomplete_args *);
2704int sys_getresuid (struct getresuid_args *);
2705int sys_getresgid (struct getresgid_args *);
2706int sys_kqueue (struct kqueue_args *);
2707int sys_kevent (struct kevent_args *);
2708int sys_sctp_peeloff (struct sctp_peeloff_args *);
91fdc001 2709int sys_lchflags (struct lchflags_args *);
2a0783db 2710int sys_uuidgen (struct uuidgen_args *);
753fd850
MD
2711int sys_sendfile (struct sendfile_args *);
2712int sys_varsym_set (struct varsym_set_args *);
2713int sys_varsym_get (struct varsym_get_args *);
2714int sys_varsym_list (struct varsym_list_args *);
2715int sys_upc_register (struct upc_register_args *);
2716int sys_upc_control (struct upc_control_args *);
2717int sys_caps_sys_service (struct caps_sys_service_args *);
2718int sys_caps_sys_client (struct caps_sys_client_args *);
2719int sys_caps_sys_close (struct caps_sys_close_args *);
2720int sys_caps_sys_put (struct caps_sys_put_args *);
2721int sys_caps_sys_reply (struct caps_sys_reply_args *);
2722int sys_caps_sys_get (struct caps_sys_get_args *);
2723int sys_caps_sys_wait (struct caps_sys_wait_args *);
2724int sys_caps_sys_abort (struct caps_sys_abort_args *);
2725int sys_caps_sys_getgen (struct caps_sys_getgen_args *);
2726int sys_caps_sys_setgen (struct caps_sys_setgen_args *);
2727int sys_exec_sys_register (struct exec_sys_register_args *);
2728int sys_exec_sys_unregister (struct exec_sys_unregister_args *);
2729int sys_sys_checkpoint (struct sys_checkpoint_args *);
2730int sys_mountctl (struct mountctl_args *);
2731int sys_umtx_sleep (struct umtx_sleep_args *);
2732int sys_umtx_wakeup (struct umtx_wakeup_args *);
2733int sys_jail_attach (struct jail_attach_args *);
ba491dfb
MD
2734int sys_set_tls_area (struct set_tls_area_args *);
2735int sys_get_tls_area (struct get_tls_area_args *);
753fd850
MD
2736int sys_closefrom (struct closefrom_args *);
2737int sys_stat (struct stat_args *);
2738int sys_fstat (struct fstat_args *);
2739int sys_lstat (struct lstat_args *);
2740int sys_fhstat (struct fhstat_args *);
2741int sys_getdirentries (struct getdirentries_args *);
2742int sys_getdents (struct getdents_args *);
2743int sys_usched_set (struct usched_set_args *);
b09fd398
MD
2744int sys_extaccept (struct extaccept_args *);
2745int sys_extconnect (struct extconnect_args *);
e143cb06 2746int sys_syslink (struct syslink_args *);
afeabdca 2747int sys_mcontrol (struct mcontrol_args *);
d3313941
MD
2748int sys_vmspace_create (struct vmspace_create_args *);
2749int sys_vmspace_destroy (struct vmspace_destroy_args *);
2750int sys_vmspace_ctl (struct vmspace_ctl_args *);
2751int sys_vmspace_mmap (struct vmspace_mmap_args *);
2752int sys_vmspace_munmap (struct vmspace_munmap_args *);
2753int sys_vmspace_mcontrol (struct vmspace_mcontrol_args *);
021a4ed4
MD
2754int sys_vmspace_pread (struct vmspace_pread_args *);
2755int sys_vmspace_pwrite (struct vmspace_pwrite_args *);
a704dbd9 2756int sys_extexit (struct extexit_args *);
a0a27cfb 2757int sys_lwp_create (struct lwp_create_args *);
c2e552b5
SS
2758int sys_lwp_gettid (struct lwp_gettid_args *);
2759int sys_lwp_kill (struct lwp_kill_args *);
649d3bd2 2760int sys_lwp_rtprio (struct lwp_rtprio_args *);
ae7cb1b5 2761int sys_pselect (struct pselect_args *);
d9fad06e
MD
2762int sys_statvfs (struct statvfs_args *);
2763int sys_fstatvfs (struct fstatvfs_args *);
2764int sys_fhstatvfs (struct fhstatvfs_args *);
00fe9d48 2765int sys_getvfsstat (struct getvfsstat_args *);
83a11774 2766int sys_openat (struct openat_args *);
e101a3f4 2767int sys_fstatat (struct fstatat_args *);
984263bc
MD
2768
2769#endif /* !_SYS_SYSPROTO_H_ */
f1787048
JS
2770#undef PAD_
2771
2772#endif /* _KERNEL */