POSIX says mprotect(2)'s first argument shall not be const.
[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};
984263bc 1396struct mlockall_args {
245e4f17 1397#ifdef _KERNEL
df2244e3 1398 struct sysmsg sysmsg;
245e4f17 1399#endif
984263bc
MD
1400 int how; char how_[PAD_(int)];
1401};
1402struct munlockall_args {
245e4f17 1403#ifdef _KERNEL
df2244e3 1404 struct sysmsg sysmsg;
245e4f17 1405#endif
984263bc
MD
1406 register_t dummy;
1407};
1408struct __getcwd_args {
245e4f17 1409#ifdef _KERNEL
df2244e3 1410 struct sysmsg sysmsg;
245e4f17 1411#endif
984263bc
MD
1412 u_char * buf; char buf_[PAD_(u_char *)];
1413 u_int buflen; char buflen_[PAD_(u_int)];
1414};
1415struct sched_setparam_args {
245e4f17 1416#ifdef _KERNEL
df2244e3 1417 struct sysmsg sysmsg;
245e4f17 1418#endif
984263bc
MD
1419 pid_t pid; char pid_[PAD_(pid_t)];
1420 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
1421};
1422struct sched_getparam_args {
245e4f17 1423#ifdef _KERNEL
df2244e3 1424 struct sysmsg sysmsg;
245e4f17 1425#endif
984263bc
MD
1426 pid_t pid; char pid_[PAD_(pid_t)];
1427 struct sched_param * param; char param_[PAD_(struct sched_param *)];
1428};
1429struct sched_setscheduler_args {
245e4f17 1430#ifdef _KERNEL
df2244e3 1431 struct sysmsg sysmsg;
245e4f17 1432#endif
984263bc
MD
1433 pid_t pid; char pid_[PAD_(pid_t)];
1434 int policy; char policy_[PAD_(int)];
1435 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
1436};
1437struct sched_getscheduler_args {
245e4f17 1438#ifdef _KERNEL
df2244e3 1439 struct sysmsg sysmsg;
245e4f17 1440#endif
984263bc
MD
1441 pid_t pid; char pid_[PAD_(pid_t)];
1442};
1443struct sched_yield_args {
245e4f17 1444#ifdef _KERNEL
df2244e3 1445 struct sysmsg sysmsg;
245e4f17 1446#endif
984263bc
MD
1447 register_t dummy;
1448};
1449struct sched_get_priority_max_args {
245e4f17 1450#ifdef _KERNEL
df2244e3 1451 struct sysmsg sysmsg;
245e4f17 1452#endif
984263bc
MD
1453 int policy; char policy_[PAD_(int)];
1454};
1455struct sched_get_priority_min_args {
245e4f17 1456#ifdef _KERNEL
df2244e3 1457 struct sysmsg sysmsg;
245e4f17 1458#endif
984263bc
MD
1459 int policy; char policy_[PAD_(int)];
1460};
1461struct sched_rr_get_interval_args {
245e4f17 1462#ifdef _KERNEL
df2244e3 1463 struct sysmsg sysmsg;
245e4f17 1464#endif
984263bc
MD
1465 pid_t pid; char pid_[PAD_(pid_t)];
1466 struct timespec * interval; char interval_[PAD_(struct timespec *)];
1467};
1468struct utrace_args {
245e4f17 1469#ifdef _KERNEL
df2244e3 1470 struct sysmsg sysmsg;
245e4f17 1471#endif
984263bc
MD
1472 const void * addr; char addr_[PAD_(const void *)];
1473 size_t len; char len_[PAD_(size_t)];
1474};
1475struct kldsym_args {
245e4f17 1476#ifdef _KERNEL
df2244e3 1477 struct sysmsg sysmsg;
245e4f17 1478#endif
984263bc
MD
1479 int fileid; char fileid_[PAD_(int)];
1480 int cmd; char cmd_[PAD_(int)];
1481 void * data; char data_[PAD_(void *)];
1482};
1483struct jail_args {
245e4f17 1484#ifdef _KERNEL
df2244e3 1485 struct sysmsg sysmsg;
245e4f17 1486#endif
984263bc
MD
1487 struct jail * jail; char jail_[PAD_(struct jail *)];
1488};
1489struct sigprocmask_args {
245e4f17 1490#ifdef _KERNEL
df2244e3 1491 struct sysmsg sysmsg;
245e4f17 1492#endif
984263bc
MD
1493 int how; char how_[PAD_(int)];
1494 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1495 sigset_t * oset; char oset_[PAD_(sigset_t *)];
1496};
1497struct sigsuspend_args {
245e4f17 1498#ifdef _KERNEL
df2244e3 1499 struct sysmsg sysmsg;
245e4f17 1500#endif
984263bc
MD
1501 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
1502};
1503struct sigaction_args {
245e4f17 1504#ifdef _KERNEL
df2244e3 1505 struct sysmsg sysmsg;
245e4f17 1506#endif
984263bc
MD
1507 int sig; char sig_[PAD_(int)];
1508 const struct sigaction * act; char act_[PAD_(const struct sigaction *)];
1509 struct sigaction * oact; char oact_[PAD_(struct sigaction *)];
1510};
1511struct sigpending_args {
245e4f17 1512#ifdef _KERNEL
df2244e3 1513 struct sysmsg sysmsg;
245e4f17 1514#endif
984263bc
MD
1515 sigset_t * set; char set_[PAD_(sigset_t *)];
1516};
1517struct sigreturn_args {
245e4f17 1518#ifdef _KERNEL
df2244e3 1519 struct sysmsg sysmsg;
245e4f17 1520#endif
984263bc
MD
1521 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
1522};
3a59f0f7
DX
1523struct sigtimedwait_args {
1524#ifdef _KERNEL
1525 struct sysmsg sysmsg;
1526#endif
3a59f0f7
DX
1527 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1528 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1529 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1530};
1531struct sigwaitinfo_args {
1532#ifdef _KERNEL
1533 struct sysmsg sysmsg;
1534#endif
3a59f0f7
DX
1535 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1536 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1537};
984263bc 1538struct __acl_get_file_args {
245e4f17 1539#ifdef _KERNEL
df2244e3 1540 struct sysmsg sysmsg;
245e4f17 1541#endif
984263bc
MD
1542 const char * path; char path_[PAD_(const char *)];
1543 acl_type_t type; char type_[PAD_(acl_type_t)];
1544 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1545};
1546struct __acl_set_file_args {
245e4f17 1547#ifdef _KERNEL
df2244e3 1548 struct sysmsg sysmsg;
245e4f17 1549#endif
984263bc
MD
1550 const char * path; char path_[PAD_(const char *)];
1551 acl_type_t type; char type_[PAD_(acl_type_t)];
1552 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1553};
1554struct __acl_get_fd_args {
245e4f17 1555#ifdef _KERNEL
df2244e3 1556 struct sysmsg sysmsg;
245e4f17 1557#endif
984263bc
MD
1558 int filedes; char filedes_[PAD_(int)];
1559 acl_type_t type; char type_[PAD_(acl_type_t)];
1560 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1561};
1562struct __acl_set_fd_args {
245e4f17 1563#ifdef _KERNEL
df2244e3 1564 struct sysmsg sysmsg;
245e4f17 1565#endif
984263bc
MD
1566 int filedes; char filedes_[PAD_(int)];
1567 acl_type_t type; char type_[PAD_(acl_type_t)];
1568 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1569};
1570struct __acl_delete_file_args {
245e4f17 1571#ifdef _KERNEL
df2244e3 1572 struct sysmsg sysmsg;
245e4f17 1573#endif
984263bc
MD
1574 const char * path; char path_[PAD_(const char *)];
1575 acl_type_t type; char type_[PAD_(acl_type_t)];
1576};
1577struct __acl_delete_fd_args {
245e4f17 1578#ifdef _KERNEL
df2244e3 1579 struct sysmsg sysmsg;
245e4f17 1580#endif
984263bc
MD
1581 int filedes; char filedes_[PAD_(int)];
1582 acl_type_t type; char type_[PAD_(acl_type_t)];
1583};
1584struct __acl_aclcheck_file_args {
245e4f17 1585#ifdef _KERNEL
df2244e3 1586 struct sysmsg sysmsg;
245e4f17 1587#endif
984263bc
MD
1588 const char * path; char path_[PAD_(const char *)];
1589 acl_type_t type; char type_[PAD_(acl_type_t)];
1590 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1591};
1592struct __acl_aclcheck_fd_args {
245e4f17 1593#ifdef _KERNEL
df2244e3 1594 struct sysmsg sysmsg;
245e4f17 1595#endif
984263bc
MD
1596 int filedes; char filedes_[PAD_(int)];
1597 acl_type_t type; char type_[PAD_(acl_type_t)];
1598 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1599};
1600struct extattrctl_args {
245e4f17 1601#ifdef _KERNEL
df2244e3 1602 struct sysmsg sysmsg;
245e4f17 1603#endif
984263bc
MD
1604 const char * path; char path_[PAD_(const char *)];
1605 int cmd; char cmd_[PAD_(int)];
1606 const char * attrname; char attrname_[PAD_(const char *)];
1607 char * arg; char arg_[PAD_(char *)];
1608};
1609struct extattr_set_file_args {
245e4f17 1610#ifdef _KERNEL
df2244e3 1611 struct sysmsg sysmsg;
245e4f17 1612#endif
984263bc
MD
1613 const char * path; char path_[PAD_(const char *)];
1614 const char * attrname; char attrname_[PAD_(const char *)];
1615 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
1616 unsigned iovcnt; char iovcnt_[PAD_(unsigned)];
1617};
1618struct extattr_get_file_args {
245e4f17 1619#ifdef _KERNEL
df2244e3 1620 struct sysmsg sysmsg;
245e4f17 1621#endif
984263bc
MD
1622 const char * path; char path_[PAD_(const char *)];
1623 const char * attrname; char attrname_[PAD_(const char *)];
1624 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
1625 unsigned iovcnt; char iovcnt_[PAD_(unsigned)];
1626};
1627struct extattr_delete_file_args {
245e4f17 1628#ifdef _KERNEL
df2244e3 1629 struct sysmsg sysmsg;
245e4f17 1630#endif
984263bc
MD
1631 const char * path; char path_[PAD_(const char *)];
1632 const char * attrname; char attrname_[PAD_(const char *)];
1633};
1634struct aio_waitcomplete_args {
245e4f17 1635#ifdef _KERNEL
df2244e3 1636 struct sysmsg sysmsg;
245e4f17 1637#endif
984263bc
MD
1638 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
1639 struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
1640};
1641struct getresuid_args {
245e4f17 1642#ifdef _KERNEL
df2244e3 1643 struct sysmsg sysmsg;
245e4f17 1644#endif
984263bc
MD
1645 uid_t * ruid; char ruid_[PAD_(uid_t *)];
1646 uid_t * euid; char euid_[PAD_(uid_t *)];
1647 uid_t * suid; char suid_[PAD_(uid_t *)];
1648};
1649struct getresgid_args {
245e4f17 1650#ifdef _KERNEL
df2244e3 1651 struct sysmsg sysmsg;
245e4f17 1652#endif
984263bc
MD
1653 gid_t * rgid; char rgid_[PAD_(gid_t *)];
1654 gid_t * egid; char egid_[PAD_(gid_t *)];
1655 gid_t * sgid; char sgid_[PAD_(gid_t *)];
1656};
1657struct kqueue_args {
245e4f17 1658#ifdef _KERNEL
df2244e3 1659 struct sysmsg sysmsg;
245e4f17 1660#endif
984263bc
MD
1661 register_t dummy;
1662};
1663struct kevent_args {
245e4f17 1664#ifdef _KERNEL
df2244e3 1665 struct sysmsg sysmsg;
245e4f17 1666#endif
984263bc
MD
1667 int fd; char fd_[PAD_(int)];
1668 const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)];
1669 int nchanges; char nchanges_[PAD_(int)];
1670 struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)];
1671 int nevents; char nevents_[PAD_(int)];
1672 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1673};
78812139
EN
1674struct sctp_peeloff_args {
1675#ifdef _KERNEL
1676 struct sysmsg sysmsg;
1677#endif
78812139
EN
1678 int sd; char sd_[PAD_(int)];
1679 caddr_t name; char name_[PAD_(caddr_t)];
1680};
91fdc001
PA
1681struct lchflags_args {
1682#ifdef _KERNEL
1683 struct sysmsg sysmsg;
1684#endif
1685 char * path; char path_[PAD_(char *)];
1686 int flags; char flags_[PAD_(int)];
1687};
2a0783db
MD
1688struct uuidgen_args {
1689#ifdef _KERNEL
1690 struct sysmsg sysmsg;
1691#endif
1692 struct uuid * store; char store_[PAD_(struct uuid *)];
1693 int count; char count_[PAD_(int)];
1694};
984263bc 1695struct sendfile_args {
245e4f17 1696#ifdef _KERNEL
df2244e3 1697 struct sysmsg sysmsg;
245e4f17 1698#endif
984263bc
MD
1699 int fd; char fd_[PAD_(int)];
1700 int s; char s_[PAD_(int)];
1701 off_t offset; char offset_[PAD_(off_t)];
1702 size_t nbytes; char nbytes_[PAD_(size_t)];
1703 struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)];
1704 off_t * sbytes; char sbytes_[PAD_(off_t *)];
1705 int flags; char flags_[PAD_(int)];
1706};
98a7f915
MD
1707struct varsym_set_args {
1708#ifdef _KERNEL
df2244e3 1709 struct sysmsg sysmsg;
98a7f915 1710#endif
98a7f915
MD
1711 int level; char level_[PAD_(int)];
1712 const char * name; char name_[PAD_(const char *)];
1713 const char * data; char data_[PAD_(const char *)];
1714};
1715struct varsym_get_args {
1716#ifdef _KERNEL
df2244e3 1717 struct sysmsg sysmsg;
98a7f915 1718#endif
98a7f915
MD
1719 int mask; char mask_[PAD_(int)];
1720 const char * wild; char wild_[PAD_(const char *)];
1721 char * buf; char buf_[PAD_(char *)];
1722 int bufsize; char bufsize_[PAD_(int)];
1723};
0a004aa2
MD
1724struct varsym_list_args {
1725#ifdef _KERNEL
df2244e3 1726 struct sysmsg sysmsg;
0a004aa2 1727#endif
0a004aa2
MD
1728 int level; char level_[PAD_(int)];
1729 char * buf; char buf_[PAD_(char *)];
1730 int maxsize; char maxsize_[PAD_(int)];
1731 int * marker; char marker_[PAD_(int *)];
1732};
a722be49
MD
1733struct upc_register_args {
1734#ifdef _KERNEL
1735 struct sysmsg sysmsg;
1736#endif
a722be49
MD
1737 struct upcall * upc; char upc_[PAD_(struct upcall *)];
1738 void * ctxfunc; char ctxfunc_[PAD_(void *)];
1739 void * func; char func_[PAD_(void *)];
1740 void * data; char data_[PAD_(void *)];
1741};
1742struct upc_control_args {
1743#ifdef _KERNEL
1744 struct sysmsg sysmsg;
1745#endif
a722be49
MD
1746 int cmd; char cmd_[PAD_(int)];
1747 int upcid; char upcid_[PAD_(int)];
1748 void * data; char data_[PAD_(void *)];
1749};
1bc8e992
MD
1750struct caps_sys_service_args {
1751#ifdef _KERNEL
1752 struct sysmsg sysmsg;
1753#endif
1bc8e992
MD
1754 const char * name; char name_[PAD_(const char *)];
1755 uid_t uid; char uid_[PAD_(uid_t)];
1756 gid_t gid; char gid_[PAD_(gid_t)];
1757 int upcid; char upcid_[PAD_(int)];
1758 int flags; char flags_[PAD_(int)];
1759};
1760struct caps_sys_client_args {
1761#ifdef _KERNEL
1762 struct sysmsg sysmsg;
1763#endif
1bc8e992
MD
1764 const char * name; char name_[PAD_(const char *)];
1765 uid_t uid; char uid_[PAD_(uid_t)];
1766 gid_t gid; char gid_[PAD_(gid_t)];
1767 int upcid; char upcid_[PAD_(int)];
1768 int flags; char flags_[PAD_(int)];
1769};
1770struct caps_sys_close_args {
1771#ifdef _KERNEL
1772 struct sysmsg sysmsg;
1773#endif
1bc8e992
MD
1774 int portid; char portid_[PAD_(int)];
1775};
1776struct caps_sys_put_args {
1777#ifdef _KERNEL
1778 struct sysmsg sysmsg;
1779#endif
1bc8e992
MD
1780 int portid; char portid_[PAD_(int)];
1781 void * msg; char msg_[PAD_(void *)];
1782 int msgsize; char msgsize_[PAD_(int)];
1783};
1784struct caps_sys_reply_args {
1785#ifdef _KERNEL
1786 struct sysmsg sysmsg;
1787#endif
1bc8e992
MD
1788 int portid; char portid_[PAD_(int)];
1789 void * msg; char msg_[PAD_(void *)];
1790 int msgsize; char msgsize_[PAD_(int)];
1791 off_t msgcid; char msgcid_[PAD_(off_t)];
1792};
1793struct caps_sys_get_args {
1794#ifdef _KERNEL
1795 struct sysmsg sysmsg;
1796#endif
1bc8e992
MD
1797 int portid; char portid_[PAD_(int)];
1798 void * msg; char msg_[PAD_(void *)];
1799 int maxsize; char maxsize_[PAD_(int)];
1800 struct caps_msgid * msgid; char msgid_[PAD_(struct caps_msgid *)];
1801 struct caps_cred * ccr; char ccr_[PAD_(struct caps_cred *)];
1802};
1803struct caps_sys_wait_args {
1804#ifdef _KERNEL
1805 struct sysmsg sysmsg;
1806#endif
1bc8e992
MD
1807 int portid; char portid_[PAD_(int)];
1808 void * msg; char msg_[PAD_(void *)];
1809 int maxsize; char maxsize_[PAD_(int)];
1810 struct caps_msgid * msgid; char msgid_[PAD_(struct caps_msgid *)];
1811 struct caps_cred * ccr; char ccr_[PAD_(struct caps_cred *)];
1812};
1813struct caps_sys_abort_args {
1814#ifdef _KERNEL
1815 struct sysmsg sysmsg;
1816#endif
1bc8e992
MD
1817 int portid; char portid_[PAD_(int)];
1818 off_t msgcid; char msgcid_[PAD_(off_t)];
1819 int flags; char flags_[PAD_(int)];
1820};
e30f9e2c
MD
1821struct caps_sys_getgen_args {
1822#ifdef _KERNEL
1823 struct sysmsg sysmsg;
1824#endif
e30f9e2c
MD
1825 int portid; char portid_[PAD_(int)];
1826};
1827struct caps_sys_setgen_args {
1828#ifdef _KERNEL
1829 struct sysmsg sysmsg;
1830#endif
e30f9e2c
MD
1831 int portid; char portid_[PAD_(int)];
1832 off_t gen; char gen_[PAD_(off_t)];
1833};
29802dbb
MD
1834struct exec_sys_register_args {
1835#ifdef _KERNEL
1836 struct sysmsg sysmsg;
1837#endif
29802dbb
MD
1838 void * entry; char entry_[PAD_(void *)];
1839};
1840struct exec_sys_unregister_args {
1841#ifdef _KERNEL
1842 struct sysmsg sysmsg;
1843#endif
29802dbb
MD
1844 int id; char id_[PAD_(int)];
1845};
0ba6fbbf
MD
1846struct sys_checkpoint_args {
1847#ifdef _KERNEL
1848 struct sysmsg sysmsg;
1849#endif
0ba6fbbf
MD
1850 int type; char type_[PAD_(int)];
1851 int fd; char fd_[PAD_(int)];
1852 pid_t pid; char pid_[PAD_(pid_t)];
1853 int retval; char retval_[PAD_(int)];
1854};
949ecb9b
MD
1855struct mountctl_args {
1856#ifdef _KERNEL
1857 struct sysmsg sysmsg;
1858#endif
da5fb9ef 1859 const char * path; char path_[PAD_(const char *)];
949ecb9b 1860 int op; char op_[PAD_(int)];
2281065e 1861 int fd; char fd_[PAD_(int)];
949ecb9b
MD
1862 const void * ctl; char ctl_[PAD_(const void *)];
1863 int ctllen; char ctllen_[PAD_(int)];
1864 void * buf; char buf_[PAD_(void *)];
1865 int buflen; char buflen_[PAD_(int)];
1866};
da5fb9ef
MD
1867struct umtx_sleep_args {
1868#ifdef _KERNEL
1869 struct sysmsg sysmsg;
1870#endif
76798859 1871 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
da5fb9ef
MD
1872 int value; char value_[PAD_(int)];
1873 int timeout; char timeout_[PAD_(int)];
1874};
1875struct umtx_wakeup_args {
1876#ifdef _KERNEL
1877 struct sysmsg sysmsg;
1878#endif
76798859 1879 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
da5fb9ef
MD
1880 int count; char count_[PAD_(int)];
1881};
b9fca94d
JS
1882struct jail_attach_args {
1883#ifdef _KERNEL
1884 struct sysmsg sysmsg;
1885#endif
b9fca94d
JS
1886 int jid; char jid_[PAD_(int)];
1887};
ba491dfb 1888struct set_tls_area_args {
806bf111
MD
1889#ifdef _KERNEL
1890 struct sysmsg sysmsg;
1891#endif
806bf111
MD
1892 int which; char which_[PAD_(int)];
1893 struct tls_info * info; char info_[PAD_(struct tls_info *)];
8383d6cf 1894 size_t infosize; char infosize_[PAD_(size_t)];
806bf111 1895};
ba491dfb 1896struct get_tls_area_args {
806bf111
MD
1897#ifdef _KERNEL
1898 struct sysmsg sysmsg;
1899#endif
806bf111
MD
1900 int which; char which_[PAD_(int)];
1901 struct tls_info * info; char info_[PAD_(struct tls_info *)];
8383d6cf 1902 size_t infosize; char infosize_[PAD_(size_t)];
806bf111 1903};
ae5995b9
JS
1904struct closefrom_args {
1905#ifdef _KERNEL
1906 struct sysmsg sysmsg;
1907#endif
ae5995b9
JS
1908 int fd; char fd_[PAD_(int)];
1909};
f1787048
JS
1910struct stat_args {
1911#ifdef _KERNEL
1912 struct sysmsg sysmsg;
1913#endif
f1787048
JS
1914 const char * path; char path_[PAD_(const char *)];
1915 struct stat * ub; char ub_[PAD_(struct stat *)];
1916};
1917struct fstat_args {
1918#ifdef _KERNEL
1919 struct sysmsg sysmsg;
1920#endif
f1787048
JS
1921 int fd; char fd_[PAD_(int)];
1922 struct stat * sb; char sb_[PAD_(struct stat *)];
1923};
1924struct lstat_args {
1925#ifdef _KERNEL
1926 struct sysmsg sysmsg;
1927#endif
f1787048
JS
1928 const char * path; char path_[PAD_(const char *)];
1929 struct stat * ub; char ub_[PAD_(struct stat *)];
1930};
1931struct fhstat_args {
4fd10eb6 1932#ifdef _KERNEL
f1787048
JS
1933 struct sysmsg sysmsg;
1934#endif
f1787048
JS
1935 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1936 struct stat * sb; char sb_[PAD_(struct stat *)];
1937};
01f31ab3
JS
1938struct getdirentries_args {
1939#ifdef _KERNEL
1940 struct sysmsg sysmsg;
1941#endif
01f31ab3
JS
1942 int fd; char fd_[PAD_(int)];
1943 char * buf; char buf_[PAD_(char *)];
1944 u_int count; char count_[PAD_(u_int)];
1945 long * basep; char basep_[PAD_(long *)];
1946};
1947struct getdents_args {
1948#ifdef _KERNEL
1949 struct sysmsg sysmsg;
1950#endif
01f31ab3
JS
1951 int fd; char fd_[PAD_(int)];
1952 char * buf; char buf_[PAD_(char *)];
1953 size_t count; char count_[PAD_(size_t)];
1954};
cb7f4ab1
MD
1955struct usched_set_args {
1956#ifdef _KERNEL
1957 struct sysmsg sysmsg;
1958#endif
ff256ae7
DX
1959 pid_t pid; char pid_[PAD_(pid_t)];
1960 int cmd; char cmd_[PAD_(int)];
1961 void * data; char data_[PAD_(void *)];
1962 int bytes; char bytes_[PAD_(int)];
cb7f4ab1 1963};
b09fd398 1964struct extaccept_args {
358e1f78
MD
1965#ifdef _KERNEL
1966 struct sysmsg sysmsg;
1967#endif
1968 int s; char s_[PAD_(int)];
1969 int flags; char flags_[PAD_(int)];
1970 caddr_t name; char name_[PAD_(caddr_t)];
1971 int * anamelen; char anamelen_[PAD_(int *)];
1972};
b09fd398 1973struct extconnect_args {
358e1f78
MD
1974#ifdef _KERNEL
1975 struct sysmsg sysmsg;
1976#endif
1977 int s; char s_[PAD_(int)];
1978 int flags; char flags_[PAD_(int)];
1979 caddr_t name; char name_[PAD_(caddr_t)];
1980 int namelen; char namelen_[PAD_(int)];
1981};
e143cb06
MD
1982struct syslink_args {
1983#ifdef _KERNEL
1984 struct sysmsg sysmsg;
1985#endif
bffded52 1986 int cmd; char cmd_[PAD_(int)];
63db58ad
MD
1987 struct syslink_info * info; char info_[PAD_(struct syslink_info *)];
1988 size_t bytes; char bytes_[PAD_(size_t)];
e143cb06 1989};
d3313941
MD
1990struct mcontrol_args {
1991#ifdef _KERNEL
1992 struct sysmsg sysmsg;
1993#endif
1994 void * addr; char addr_[PAD_(void *)];
1995 size_t len; char len_[PAD_(size_t)];
1996 int behav; char behav_[PAD_(int)];
1997 off_t value; char value_[PAD_(off_t)];
1998};
1999struct vmspace_create_args {
133aabc4
MD
2000#ifdef _KERNEL
2001 struct sysmsg sysmsg;
2002#endif
2003 void * id; char id_[PAD_(void *)];
d3313941
MD
2004 int type; char type_[PAD_(int)];
2005 void * data; char data_[PAD_(void *)];
133aabc4 2006};
d3313941 2007struct vmspace_destroy_args {
133aabc4
MD
2008#ifdef _KERNEL
2009 struct sysmsg sysmsg;
2010#endif
2011 void * id; char id_[PAD_(void *)];
133aabc4 2012};
d3313941 2013struct vmspace_ctl_args {
133aabc4
MD
2014#ifdef _KERNEL
2015 struct sysmsg sysmsg;
2016#endif
2017 void * id; char id_[PAD_(void *)];
d3313941 2018 int cmd; char cmd_[PAD_(int)];
4e7c41c5
MD
2019 struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)];
2020 struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)];
133aabc4 2021};
d3313941 2022struct vmspace_mmap_args {
133aabc4
MD
2023#ifdef _KERNEL
2024 struct sysmsg sysmsg;
2025#endif
2026 void * id; char id_[PAD_(void *)];
d3313941
MD
2027 void * addr; char addr_[PAD_(void *)];
2028 size_t len; char len_[PAD_(size_t)];
2029 int prot; char prot_[PAD_(int)];
2030 int flags; char flags_[PAD_(int)];
2031 int fd; char fd_[PAD_(int)];
2032 off_t offset; char offset_[PAD_(off_t)];
133aabc4 2033};
d3313941 2034struct vmspace_munmap_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)];
133aabc4 2041};
d3313941 2042struct vmspace_mcontrol_args {
afeabdca
MD
2043#ifdef _KERNEL
2044 struct sysmsg sysmsg;
2045#endif
d3313941 2046 void * id; char id_[PAD_(void *)];
afeabdca
MD
2047 void * addr; char addr_[PAD_(void *)];
2048 size_t len; char len_[PAD_(size_t)];
2049 int behav; char behav_[PAD_(int)];
2050 off_t value; char value_[PAD_(off_t)];
2051};
021a4ed4
MD
2052struct vmspace_pread_args {
2053#ifdef _KERNEL
2054 struct sysmsg sysmsg;
2055#endif
2056 void * id; char id_[PAD_(void *)];
2057 void * buf; char buf_[PAD_(void *)];
2058 size_t nbyte; char nbyte_[PAD_(size_t)];
2059 int flags; char flags_[PAD_(int)];
2060 off_t offset; char offset_[PAD_(off_t)];
2061};
2062struct vmspace_pwrite_args {
2063#ifdef _KERNEL
2064 struct sysmsg sysmsg;
2065#endif
2066 void * id; char id_[PAD_(void *)];
2067 const void * buf; char buf_[PAD_(const void *)];
2068 size_t nbyte; char nbyte_[PAD_(size_t)];
2069 int flags; char flags_[PAD_(int)];
2070 off_t offset; char offset_[PAD_(off_t)];
2071};
a704dbd9
SS
2072struct extexit_args {
2073#ifdef _KERNEL
2074 struct sysmsg sysmsg;
2075#endif
2076 int how; char how_[PAD_(int)];
2077 int status; char status_[PAD_(int)];
2078 void * addr; char addr_[PAD_(void *)];
2079};
a0a27cfb
SS
2080struct lwp_create_args {
2081#ifdef _KERNEL
2082 struct sysmsg sysmsg;
2083#endif
2084 struct lwp_params * params; char params_[PAD_(struct lwp_params *)];
2085};
c2e552b5
SS
2086struct lwp_gettid_args {
2087#ifdef _KERNEL
2088 struct sysmsg sysmsg;
2089#endif
2090 register_t dummy;
2091};
2092struct lwp_kill_args {
2093#ifdef _KERNEL
2094 struct sysmsg sysmsg;
2095#endif
2096 pid_t pid; char pid_[PAD_(pid_t)];
2097 lwpid_t tid; char tid_[PAD_(lwpid_t)];
2098 int signum; char signum_[PAD_(int)];
2099};
649d3bd2
MD
2100struct lwp_rtprio_args {
2101#ifdef _KERNEL
2102 struct sysmsg sysmsg;
2103#endif
2104 int function; char function_[PAD_(int)];
2105 pid_t pid; char pid_[PAD_(pid_t)];
2106 lwpid_t tid; char tid_[PAD_(lwpid_t)];
2107 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
2108};
ae7cb1b5
NT
2109struct pselect_args {
2110#ifdef _KERNEL
2111 struct sysmsg sysmsg;
2112#endif
2113 int nd; char nd_[PAD_(int)];
2114 fd_set * in; char in_[PAD_(fd_set *)];
2115 fd_set * ou; char ou_[PAD_(fd_set *)];
2116 fd_set * ex; char ex_[PAD_(fd_set *)];
2117 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
2118 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
2119};
d9fad06e
MD
2120struct statvfs_args {
2121#ifdef _KERNEL
2122 struct sysmsg sysmsg;
2123#endif
2124 const char * path; char path_[PAD_(const char *)];
2125 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2126};
2127struct fstatvfs_args {
2128#ifdef _KERNEL
2129 struct sysmsg sysmsg;
2130#endif
2131 int fd; char fd_[PAD_(int)];
2132 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2133};
2134struct fhstatvfs_args {
2135#ifdef _KERNEL
2136 struct sysmsg sysmsg;
2137#endif
2138 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2139 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2140};
00fe9d48
MD
2141struct getvfsstat_args {
2142#ifdef _KERNEL
2143 struct sysmsg sysmsg;
2144#endif
2145 struct statfs * buf; char buf_[PAD_(struct statfs *)];
2146 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)];
2147 long vbufsize; char vbufsize_[PAD_(long)];
2148 int flags; char flags_[PAD_(int)];
2149};
83a11774
NT
2150struct openat_args {
2151#ifdef _KERNEL
2152 struct sysmsg sysmsg;
2153#endif
2154 int fd; char fd_[PAD_(int)];
2155 char * path; char path_[PAD_(char *)];
2156 int flags; char flags_[PAD_(int)];
2157 int mode; char mode_[PAD_(int)];
2158};
e101a3f4
NT
2159struct fstatat_args {
2160#ifdef _KERNEL
2161 struct sysmsg sysmsg;
2162#endif
2163 int fd; char fd_[PAD_(int)];
2164 char * path; char path_[PAD_(char *)];
2165 struct stat * sb; char sb_[PAD_(struct stat *)];
2166 int flags; char flags_[PAD_(int)];
2167};
8cde3c79
NT
2168struct fchmodat_args {
2169#ifdef _KERNEL
2170 struct sysmsg sysmsg;
2171#endif
2172 int fd; char fd_[PAD_(int)];
2173 char * path; char path_[PAD_(char *)];
2174 int mode; char mode_[PAD_(int)];
2175 int flags; char flags_[PAD_(int)];
2176};
32013176
NT
2177struct fchownat_args {
2178#ifdef _KERNEL
2179 struct sysmsg sysmsg;
2180#endif
2181 int fd; char fd_[PAD_(int)];
2182 char * path; char path_[PAD_(char *)];
2183 int uid; char uid_[PAD_(int)];
2184 int gid; char gid_[PAD_(int)];
2185 int flags; char flags_[PAD_(int)];
2186};
3a6d8629
NT
2187struct unlinkat_args {
2188#ifdef _KERNEL
2189 struct sysmsg sysmsg;
2190#endif
2191 int fd; char fd_[PAD_(int)];
2192 char * path; char path_[PAD_(char *)];
2193 int flags; char flags_[PAD_(int)];
2194};
18cf460b
NT
2195struct faccessat_args {
2196#ifdef _KERNEL
2197 struct sysmsg sysmsg;
2198#endif
2199 int fd; char fd_[PAD_(int)];
2200 char * path; char path_[PAD_(char *)];
2201 int amode; char amode_[PAD_(int)];
2202 int flags; char flags_[PAD_(int)];
2203};
0b96c93b
SK
2204struct mq_open_args {
2205#ifdef _KERNEL
2206 struct sysmsg sysmsg;
2207#endif
2208 const char * name; char name_[PAD_(const char *)];
2209 int oflag; char oflag_[PAD_(int)];
2210 mode_t mode; char mode_[PAD_(mode_t)];
2211 struct mq_attr * attr; char attr_[PAD_(struct mq_attr *)];
2212};
2213struct mq_close_args {
2214#ifdef _KERNEL
2215 struct sysmsg sysmsg;
2216#endif
2217 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2218};
2219struct mq_unlink_args {
2220#ifdef _KERNEL
2221 struct sysmsg sysmsg;
2222#endif
2223 const char * name; char name_[PAD_(const char *)];
2224};
2225struct mq_getattr_args {
2226#ifdef _KERNEL
2227 struct sysmsg sysmsg;
2228#endif
2229 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2230 struct mq_attr * mqstat; char mqstat_[PAD_(struct mq_attr *)];
2231};
2232struct mq_setattr_args {
2233#ifdef _KERNEL
2234 struct sysmsg sysmsg;
2235#endif
2236 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2237 const struct mq_attr * mqstat; char mqstat_[PAD_(const struct mq_attr *)];
2238 struct mq_attr * omqstat; char omqstat_[PAD_(struct mq_attr *)];
2239};
2240struct mq_notify_args {
2241#ifdef _KERNEL
2242 struct sysmsg sysmsg;
2243#endif
2244 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2245 const struct sigevent * notification; char notification_[PAD_(const struct sigevent *)];
2246};
2247struct mq_send_args {
2248#ifdef _KERNEL
2249 struct sysmsg sysmsg;
2250#endif
2251 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2252 const char * msg_ptr; char msg_ptr_[PAD_(const char *)];
2253 size_t msg_len; char msg_len_[PAD_(size_t)];
2254 unsigned msg_prio; char msg_prio_[PAD_(unsigned)];
2255};
2256struct mq_receive_args {
2257#ifdef _KERNEL
2258 struct sysmsg sysmsg;
2259#endif
2260 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2261 char * msg_ptr; char msg_ptr_[PAD_(char *)];
2262 size_t msg_len; char msg_len_[PAD_(size_t)];
2263 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)];
2264};
2265struct mq_timedsend_args {
2266#ifdef _KERNEL
2267 struct sysmsg sysmsg;
2268#endif
2269 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2270 const char * msg_ptr; char msg_ptr_[PAD_(const char *)];
2271 size_t msg_len; char msg_len_[PAD_(size_t)];
2272 unsigned msg_prio; char msg_prio_[PAD_(unsigned)];
2273 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)];
2274};
2275struct mq_timedreceive_args {
2276#ifdef _KERNEL
2277 struct sysmsg sysmsg;
2278#endif
2279 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2280 char * msg_ptr; char msg_ptr_[PAD_(char *)];
2281 size_t msg_len; char msg_len_[PAD_(size_t)];
2282 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)];
2283 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)];
2284};
f1787048
JS
2285
2286#ifdef COMPAT_43
4fd10eb6 2287
17e1a2b5 2288#ifdef COMPAT_43
17e1a2b5 2289#endif
984263bc 2290struct ocreat_args {
245e4f17 2291#ifdef _KERNEL
df2244e3 2292 struct sysmsg sysmsg;
245e4f17 2293#endif
984263bc
MD
2294 char * path; char path_[PAD_(char *)];
2295 int mode; char mode_[PAD_(int)];
2296};
2297struct olseek_args {
245e4f17 2298#ifdef _KERNEL
df2244e3 2299 struct sysmsg sysmsg;
245e4f17 2300#endif
984263bc
MD
2301 int fd; char fd_[PAD_(int)];
2302 long offset; char offset_[PAD_(long)];
2303 int whence; char whence_[PAD_(int)];
2304};
2305struct ostat_args {
245e4f17 2306#ifdef _KERNEL
df2244e3 2307 struct sysmsg sysmsg;
245e4f17 2308#endif
984263bc
MD
2309 char * path; char path_[PAD_(char *)];
2310 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2311};
2312struct olstat_args {
245e4f17 2313#ifdef _KERNEL
df2244e3 2314 struct sysmsg sysmsg;
245e4f17 2315#endif
984263bc
MD
2316 char * path; char path_[PAD_(char *)];
2317 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2318};
984263bc 2319struct ofstat_args {
245e4f17 2320#ifdef _KERNEL
df2244e3 2321 struct sysmsg sysmsg;
245e4f17 2322#endif
984263bc
MD
2323 int fd; char fd_[PAD_(int)];
2324 struct ostat * sb; char sb_[PAD_(struct ostat *)];
2325};
2326struct getkerninfo_args {
245e4f17 2327#ifdef _KERNEL
df2244e3 2328 struct sysmsg sysmsg;
245e4f17 2329#endif
984263bc
MD
2330 int op; char op_[PAD_(int)];
2331 char * where; char where_[PAD_(char *)];
2332 size_t * size; char size_[PAD_(size_t *)];
2333 int arg; char arg_[PAD_(int)];
2334};
2335struct ommap_args {
245e4f17 2336#ifdef _KERNEL
df2244e3 2337 struct sysmsg sysmsg;
245e4f17 2338#endif
984263bc
MD
2339 void * addr; char addr_[PAD_(void *)];
2340 int len; char len_[PAD_(int)];
2341 int prot; char prot_[PAD_(int)];
2342 int flags; char flags_[PAD_(int)];
2343 int fd; char fd_[PAD_(int)];
2344 long pos; char pos_[PAD_(long)];
2345};
2346struct gethostname_args {
245e4f17 2347#ifdef _KERNEL
df2244e3 2348 struct sysmsg sysmsg;
245e4f17 2349#endif
984263bc
MD
2350 char * hostname; char hostname_[PAD_(char *)];
2351 u_int len; char len_[PAD_(u_int)];
2352};
2353struct sethostname_args {
245e4f17 2354#ifdef _KERNEL
df2244e3 2355 struct sysmsg sysmsg;
245e4f17 2356#endif
984263bc
MD
2357 char * hostname; char hostname_[PAD_(char *)];
2358 u_int len; char len_[PAD_(u_int)];
2359};
2360struct osend_args {
245e4f17 2361#ifdef _KERNEL
df2244e3 2362 struct sysmsg sysmsg;
245e4f17 2363#endif
984263bc
MD
2364 int s; char s_[PAD_(int)];
2365 caddr_t buf; char buf_[PAD_(caddr_t)];
2366 int len; char len_[PAD_(int)];
2367 int flags; char flags_[PAD_(int)];
2368};
2369struct orecv_args {
245e4f17 2370#ifdef _KERNEL
df2244e3 2371 struct sysmsg sysmsg;
245e4f17 2372#endif
984263bc
MD
2373 int s; char s_[PAD_(int)];
2374 caddr_t buf; char buf_[PAD_(caddr_t)];
2375 int len; char len_[PAD_(int)];
2376 int flags; char flags_[PAD_(int)];
2377};
984263bc 2378struct osigvec_args {
245e4f17 2379#ifdef _KERNEL
df2244e3 2380 struct sysmsg sysmsg;
245e4f17 2381#endif
984263bc
MD
2382 int signum; char signum_[PAD_(int)];
2383 struct sigvec * nsv; char nsv_[PAD_(struct sigvec *)];
2384 struct sigvec * osv; char osv_[PAD_(struct sigvec *)];
2385};
2386struct osigblock_args {
245e4f17 2387#ifdef _KERNEL
df2244e3 2388 struct sysmsg sysmsg;
245e4f17 2389#endif
984263bc
MD
2390 int mask; char mask_[PAD_(int)];
2391};
2392struct osigsetmask_args {
245e4f17 2393#ifdef _KERNEL
df2244e3 2394 struct sysmsg sysmsg;
245e4f17 2395#endif
984263bc
MD
2396 int mask; char mask_[PAD_(int)];
2397};
984263bc 2398struct osigstack_args {
245e4f17 2399#ifdef _KERNEL
df2244e3 2400 struct sysmsg sysmsg;
245e4f17 2401#endif
984263bc
MD
2402 struct sigstack * nss; char nss_[PAD_(struct sigstack *)];
2403 struct sigstack * oss; char oss_[PAD_(struct sigstack *)];
2404};
2405struct orecvmsg_args {
245e4f17 2406#ifdef _KERNEL
df2244e3 2407 struct sysmsg sysmsg;
245e4f17 2408#endif
984263bc
MD
2409 int s; char s_[PAD_(int)];
2410 struct omsghdr * msg; char msg_[PAD_(struct omsghdr *)];
2411 int flags; char flags_[PAD_(int)];
2412};
2413struct osendmsg_args {
245e4f17 2414#ifdef _KERNEL
df2244e3 2415 struct sysmsg sysmsg;
245e4f17 2416#endif
984263bc
MD
2417 int s; char s_[PAD_(int)];
2418 caddr_t msg; char msg_[PAD_(caddr_t)];
2419 int flags; char flags_[PAD_(int)];
2420};
2421struct otruncate_args {
245e4f17 2422#ifdef _KERNEL
df2244e3 2423 struct sysmsg sysmsg;
245e4f17 2424#endif
984263bc
MD
2425 char * path; char path_[PAD_(char *)];
2426 long length; char length_[PAD_(long)];
2427};
2428struct oftruncate_args {
245e4f17 2429#ifdef _KERNEL
df2244e3 2430 struct sysmsg sysmsg;
245e4f17 2431#endif
984263bc
MD
2432 int fd; char fd_[PAD_(int)];
2433 long length; char length_[PAD_(long)];
2434};
2435struct ogetpeername_args {
245e4f17 2436#ifdef _KERNEL
df2244e3 2437 struct sysmsg sysmsg;
245e4f17 2438#endif
984263bc
MD
2439 int fdes; char fdes_[PAD_(int)];
2440 caddr_t asa; char asa_[PAD_(caddr_t)];
2441 int * alen; char alen_[PAD_(int *)];
2442};
2443struct osethostid_args {
245e4f17 2444#ifdef _KERNEL
df2244e3 2445 struct sysmsg sysmsg;
245e4f17 2446#endif
984263bc
MD
2447 long hostid; char hostid_[PAD_(long)];
2448};
2449struct ogetrlimit_args {
245e4f17 2450#ifdef _KERNEL
df2244e3 2451 struct sysmsg sysmsg;
245e4f17 2452#endif
984263bc
MD
2453 u_int which; char which_[PAD_(u_int)];
2454 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2455};
2456struct osetrlimit_args {
245e4f17 2457#ifdef _KERNEL
df2244e3 2458 struct sysmsg sysmsg;
245e4f17 2459#endif
984263bc
MD
2460 u_int which; char which_[PAD_(u_int)];
2461 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2462};
2463struct okillpg_args {
245e4f17 2464#ifdef _KERNEL
df2244e3 2465 struct sysmsg sysmsg;
245e4f17 2466#endif
984263bc
MD
2467 int pgid; char pgid_[PAD_(int)];
2468 int signum; char signum_[PAD_(int)];
2469};
2470struct ogetdirentries_args {
245e4f17 2471#ifdef _KERNEL
df2244e3 2472 struct sysmsg sysmsg;
245e4f17 2473#endif
984263bc
MD
2474 int fd; char fd_[PAD_(int)];
2475 char * buf; char buf_[PAD_(char *)];
2476 u_int count; char count_[PAD_(u_int)];
2477 long * basep; char basep_[PAD_(long *)];
2478};
4fd10eb6
MD
2479
2480#ifdef _KERNEL
2481
753fd850
MD
2482int sys_ocreat (struct ocreat_args *);
2483int sys_olseek (struct olseek_args *);
2484int sys_ostat (struct ostat_args *);
2485int sys_olstat (struct olstat_args *);
2486int sys_ofstat (struct ofstat_args *);
2487int sys_ogetkerninfo (struct getkerninfo_args *);
2488int sys_ogetpagesize (struct getpagesize_args *);
2489int sys_ommap (struct ommap_args *);
2490int sys_owait (struct owait_args *);
2491int sys_ogethostname (struct gethostname_args *);
2492int sys_osethostname (struct sethostname_args *);
2493int sys_oaccept (struct accept_args *);
2494int sys_osend (struct osend_args *);
2495int sys_orecv (struct orecv_args *);
2496int sys_osigvec (struct osigvec_args *);
2497int sys_osigblock (struct osigblock_args *);
2498int sys_osigsetmask (struct osigsetmask_args *);
2499int sys_osigstack (struct osigstack_args *);
2500int sys_orecvmsg (struct orecvmsg_args *);
2501int sys_osendmsg (struct osendmsg_args *);
2502int sys_orecvfrom (struct recvfrom_args *);
2503int sys_otruncate (struct otruncate_args *);
2504int sys_oftruncate (struct oftruncate_args *);
2505int sys_ogetpeername (struct ogetpeername_args *);
2506int sys_ogethostid (struct ogethostid_args *);
2507int sys_osethostid (struct osethostid_args *);
2508int sys_ogetrlimit (struct ogetrlimit_args *);
2509int sys_osetrlimit (struct osetrlimit_args *);
2510int sys_okillpg (struct okillpg_args *);
2511int sys_oquota (struct oquota_args *);
2512int sys_ogetsockname (struct getsockname_args *);
2513int sys_ogetdirentries (struct ogetdirentries_args *);
984263bc 2514
4fd10eb6
MD
2515#endif /* _KERNEL */
2516
984263bc
MD
2517#endif /* COMPAT_43 */
2518
f1787048
JS
2519
2520#ifdef COMPAT_DF12
2521
2522#ifdef COMPAT_43
2523#endif
2524struct dfbsd12_stat_args {
2525#ifdef _KERNEL
2526 struct sysmsg sysmsg;
2527#endif
f1787048
JS
2528 const char * path; char path_[PAD_(const char *)];
2529 struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)];
2530};
2531struct dfbsd12_fstat_args {
2532#ifdef _KERNEL
2533 struct sysmsg sysmsg;
2534#endif
f1787048
JS
2535 int fd; char fd_[PAD_(int)];
2536 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2537};
2538struct dfbsd12_lstat_args {
2539#ifdef _KERNEL
2540 struct sysmsg sysmsg;
2541#endif
f1787048
JS
2542 const char * path; char path_[PAD_(const char *)];
2543 struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)];
2544};
01f31ab3
JS
2545struct dfbsd12_getdirentries_args {
2546#ifdef _KERNEL
2547 struct sysmsg sysmsg;
2548#endif
01f31ab3
JS
2549 int fd; char fd_[PAD_(int)];
2550 char * buf; char buf_[PAD_(char *)];
2551 u_int count; char count_[PAD_(u_int)];
2552 long * basep; char basep_[PAD_(long *)];
2553};
2554struct dfbsd12_getdents_args {
2555#ifdef _KERNEL
2556 struct sysmsg sysmsg;
2557#endif
01f31ab3
JS
2558 int fd; char fd_[PAD_(int)];
2559 char * buf; char buf_[PAD_(char *)];
2560 size_t count; char count_[PAD_(size_t)];
2561};
f1787048
JS
2562struct dfbsd12_fhstat_args {
2563#ifdef _KERNEL
2564 struct sysmsg sysmsg;
2565#endif
f1787048
JS
2566 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2567 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2568};
2569
2570#ifdef _KERNEL
2571
753fd850
MD
2572int sys_dfbsd12_stat (struct dfbsd12_stat_args *);
2573int sys_dfbsd12_fstat (struct dfbsd12_fstat_args *);
2574int sys_dfbsd12_lstat (struct dfbsd12_lstat_args *);
2575int sys_dfbsd12_getdirentries (struct dfbsd12_getdirentries_args *);
2576int sys_dfbsd12_getdents (struct dfbsd12_getdents_args *);
2577int sys_dfbsd12_fhstat (struct dfbsd12_fhstat_args *);
f1787048
JS
2578
2579#endif /* _KERNEL */
2580
2581#endif /* COMPAT_DF12 */
2582
2583
2584#ifdef _KERNEL
2585
2586#ifdef COMPAT_43
2587#endif
753fd850
MD
2588int sys_nosys (struct nosys_args *);
2589int sys_exit (struct exit_args *);
2590int sys_fork (struct fork_args *);
2591int sys_read (struct read_args *);
2592int sys_write (struct write_args *);
2593int sys_open (struct open_args *);
2594int sys_close (struct close_args *);
2595int sys_wait4 (struct wait_args *);
2596int sys_link (struct link_args *);
2597int sys_unlink (struct unlink_args *);
2598int sys_chdir (struct chdir_args *);
2599int sys_fchdir (struct fchdir_args *);
2600int sys_mknod (struct mknod_args *);
2601int sys_chmod (struct chmod_args *);
2602int sys_chown (struct chown_args *);
2603int sys_obreak (struct obreak_args *);
2604int sys_getfsstat (struct getfsstat_args *);
2605int sys_getpid (struct getpid_args *);
2606int sys_mount (struct mount_args *);
2607int sys_unmount (struct unmount_args *);
2608int sys_setuid (struct setuid_args *);
2609int sys_getuid (struct getuid_args *);
2610int sys_geteuid (struct geteuid_args *);
2611int sys_ptrace (struct ptrace_args *);
2612int sys_recvmsg (struct recvmsg_args *);
2613int sys_sendmsg (struct sendmsg_args *);
2614int sys_recvfrom (struct recvfrom_args *);
2615int sys_accept (struct accept_args *);
2616int sys_getpeername (struct getpeername_args *);
2617int sys_getsockname (struct getsockname_args *);
2618int sys_access (struct access_args *);
2619int sys_chflags (struct chflags_args *);
2620int sys_fchflags (struct fchflags_args *);
2621int sys_sync (struct sync_args *);
2622int sys_kill (struct kill_args *);
2623int sys_getppid (struct getppid_args *);
2624int sys_dup (struct dup_args *);
2625int sys_pipe (struct pipe_args *);
2626int sys_getegid (struct getegid_args *);
2627int sys_profil (struct profil_args *);
2628int sys_ktrace (struct ktrace_args *);
2629int sys_getgid (struct getgid_args *);
2630int sys_getlogin (struct getlogin_args *);
2631int sys_setlogin (struct setlogin_args *);
2632int sys_acct (struct acct_args *);
2633int sys_sigaltstack (struct sigaltstack_args *);
2634int sys_ioctl (struct ioctl_args *);
2635int sys_reboot (struct reboot_args *);
2636int sys_revoke (struct revoke_args *);
2637int sys_symlink (struct symlink_args *);
2638int sys_readlink (struct readlink_args *);
2639int sys_execve (struct execve_args *);
2640int sys_umask (struct umask_args *);
2641int sys_chroot (struct chroot_args *);
2642int sys_msync (struct msync_args *);
2643int sys_vfork (struct vfork_args *);
2644int sys_sbrk (struct sbrk_args *);
2645int sys_sstk (struct sstk_args *);
2646int sys_ovadvise (struct ovadvise_args *);
2647int sys_munmap (struct munmap_args *);
2648int sys_mprotect (struct mprotect_args *);
2649int sys_madvise (struct madvise_args *);
2650int sys_mincore (struct mincore_args *);
2651int sys_getgroups (struct getgroups_args *);
2652int sys_setgroups (struct setgroups_args *);
2653int sys_getpgrp (struct getpgrp_args *);
2654int sys_setpgid (struct setpgid_args *);
2655int sys_setitimer (struct setitimer_args *);
2656int sys_swapon (struct swapon_args *);
2657int sys_getitimer (struct getitimer_args *);
2658int sys_getdtablesize (struct getdtablesize_args *);
2659int sys_dup2 (struct dup2_args *);
2660int sys_fcntl (struct fcntl_args *);
2661int sys_select (struct select_args *);
2662int sys_fsync (struct fsync_args *);
2663int sys_setpriority (struct setpriority_args *);
2664int sys_socket (struct socket_args *);
2665int sys_connect (struct connect_args *);
2666int sys_getpriority (struct getpriority_args *);
2667int sys_bind (struct bind_args *);
2668int sys_setsockopt (struct setsockopt_args *);
2669int sys_listen (struct listen_args *);
2670int sys_gettimeofday (struct gettimeofday_args *);
2671int sys_getrusage (struct getrusage_args *);
2672int sys_getsockopt (struct getsockopt_args *);
2673int sys_readv (struct readv_args *);
2674int sys_writev (struct writev_args *);
2675int sys_settimeofday (struct settimeofday_args *);
2676int sys_fchown (struct fchown_args *);
2677int sys_fchmod (struct fchmod_args *);
2678int sys_setreuid (struct setreuid_args *);
2679int sys_setregid (struct setregid_args *);
2680int sys_rename (struct rename_args *);
2681int sys_flock (struct flock_args *);
2682int sys_mkfifo (struct mkfifo_args *);
2683int sys_sendto (struct sendto_args *);
2684int sys_shutdown (struct shutdown_args *);
2685int sys_socketpair (struct socketpair_args *);
2686int sys_mkdir (struct mkdir_args *);
2687int sys_rmdir (struct rmdir_args *);
2688int sys_utimes (struct utimes_args *);
2689int sys_adjtime (struct adjtime_args *);
2690int sys_setsid (struct setsid_args *);
2691int sys_quotactl (struct quotactl_args *);
2692int sys_nfssvc (struct nfssvc_args *);
2693int sys_statfs (struct statfs_args *);
2694int sys_fstatfs (struct fstatfs_args *);
2695int sys_getfh (struct getfh_args *);
2696int sys_getdomainname (struct getdomainname_args *);
2697int sys_setdomainname (struct setdomainname_args *);
2698int sys_uname (struct uname_args *);
2699int sys_sysarch (struct sysarch_args *);
2700int sys_rtprio (struct rtprio_args *);
2701int sys_semsys (struct semsys_args *);
2702int sys_msgsys (struct msgsys_args *);
2703int sys_shmsys (struct shmsys_args *);
b09fd398
MD
2704int sys_extpread (struct extpread_args *);
2705int sys_extpwrite (struct extpwrite_args *);
753fd850
MD
2706int sys_ntp_adjtime (struct ntp_adjtime_args *);
2707int sys_setgid (struct setgid_args *);
2708int sys_setegid (struct setegid_args *);
2709int sys_seteuid (struct seteuid_args *);
2710int sys_pathconf (struct pathconf_args *);
2711int sys_fpathconf (struct fpathconf_args *);
2712int sys_getrlimit (struct __getrlimit_args *);
2713int sys_setrlimit (struct __setrlimit_args *);
2714int sys_mmap (struct mmap_args *);
2715int sys_lseek (struct lseek_args *);
2716int sys_truncate (struct truncate_args *);
2717int sys_ftruncate (struct ftruncate_args *);
2718int sys___sysctl (struct sysctl_args *);
2719int sys_mlock (struct mlock_args *);
2720int sys_munlock (struct munlock_args *);
2721int sys_undelete (struct undelete_args *);
2722int sys_futimes (struct futimes_args *);
2723int sys_getpgid (struct getpgid_args *);
2724int sys_poll (struct poll_args *);
2725int sys_lkmnosys (struct nosys_args *);
2726int sys___semctl (struct __semctl_args *);
2727int sys_semget (struct semget_args *);
2728int sys_semop (struct semop_args *);
2729int sys_msgctl (struct msgctl_args *);
2730int sys_msgget (struct msgget_args *);
2731int sys_msgsnd (struct msgsnd_args *);
2732int sys_msgrcv (struct msgrcv_args *);
2733int sys_shmat (struct shmat_args *);
2734int sys_shmctl (struct shmctl_args *);
2735int sys_shmdt (struct shmdt_args *);
2736int sys_shmget (struct shmget_args *);
2737int sys_clock_gettime (struct clock_gettime_args *);
2738int sys_clock_settime (struct clock_settime_args *);
2739int sys_clock_getres (struct clock_getres_args *);
2740int sys_nanosleep (struct nanosleep_args *);
2741int sys_minherit (struct minherit_args *);
2742int sys_rfork (struct rfork_args *);
2743int sys_openbsd_poll (struct openbsd_poll_args *);
2744int sys_issetugid (struct issetugid_args *);
2745int sys_lchown (struct lchown_args *);
2746int sys_lchmod (struct lchmod_args *);
2747int sys_lutimes (struct lutimes_args *);
b09fd398
MD
2748int sys_extpreadv (struct extpreadv_args *);
2749int sys_extpwritev (struct extpwritev_args *);
753fd850
MD
2750int sys_fhstatfs (struct fhstatfs_args *);
2751int sys_fhopen (struct fhopen_args *);
2752int sys_modnext (struct modnext_args *);
2753int sys_modstat (struct modstat_args *);
2754int sys_modfnext (struct modfnext_args *);
2755int sys_modfind (struct modfind_args *);
2756int sys_kldload (struct kldload_args *);
2757int sys_kldunload (struct kldunload_args *);
2758int sys_kldfind (struct kldfind_args *);
2759int sys_kldnext (struct kldnext_args *);
2760int sys_kldstat (struct kldstat_args *);
2761int sys_kldfirstmod (struct kldfirstmod_args *);
2762int sys_getsid (struct getsid_args *);
2763int sys_setresuid (struct setresuid_args *);
2764int sys_setresgid (struct setresgid_args *);
2765int sys_aio_return (struct aio_return_args *);
2766int sys_aio_suspend (struct aio_suspend_args *);
2767int sys_aio_cancel (struct aio_cancel_args *);
2768int sys_aio_error (struct aio_error_args *);
2769int sys_aio_read (struct aio_read_args *);
2770int sys_aio_write (struct aio_write_args *);
2771int sys_lio_listio (struct lio_listio_args *);
2772int sys_yield (struct yield_args *);
753fd850
MD
2773int sys_mlockall (struct mlockall_args *);
2774int sys_munlockall (struct munlockall_args *);
2775int sys___getcwd (struct __getcwd_args *);
2776int sys_sched_setparam (struct sched_setparam_args *);
2777int sys_sched_getparam (struct sched_getparam_args *);
2778int sys_sched_setscheduler (struct sched_setscheduler_args *);
2779int sys_sched_getscheduler (struct sched_getscheduler_args *);
2780int sys_sched_yield (struct sched_yield_args *);
2781int sys_sched_get_priority_max (struct sched_get_priority_max_args *);
2782int sys_sched_get_priority_min (struct sched_get_priority_min_args *);
2783int sys_sched_rr_get_interval (struct sched_rr_get_interval_args *);
2784int sys_utrace (struct utrace_args *);
2785int sys_kldsym (struct kldsym_args *);
2786int sys_jail (struct jail_args *);
2787int sys_sigprocmask (struct sigprocmask_args *);
2788int sys_sigsuspend (struct sigsuspend_args *);
2789int sys_sigaction (struct sigaction_args *);
2790int sys_sigpending (struct sigpending_args *);
2791int sys_sigreturn (struct sigreturn_args *);
2792int sys_sigtimedwait (struct sigtimedwait_args *);
2793int sys_sigwaitinfo (struct sigwaitinfo_args *);
2794int sys___acl_get_file (struct __acl_get_file_args *);
2795int sys___acl_set_file (struct __acl_set_file_args *);
2796int sys___acl_get_fd (struct __acl_get_fd_args *);
2797int sys___acl_set_fd (struct __acl_set_fd_args *);
2798int sys___acl_delete_file (struct __acl_delete_file_args *);
2799int sys___acl_delete_fd (struct __acl_delete_fd_args *);
2800int sys___acl_aclcheck_file (struct __acl_aclcheck_file_args *);
2801int sys___acl_aclcheck_fd (struct __acl_aclcheck_fd_args *);
2802int sys_extattrctl (struct extattrctl_args *);
2803int sys_extattr_set_file (struct extattr_set_file_args *);
2804int sys_extattr_get_file (struct extattr_get_file_args *);
2805int sys_extattr_delete_file (struct extattr_delete_file_args *);
2806int sys_aio_waitcomplete (struct aio_waitcomplete_args *);
2807int sys_getresuid (struct getresuid_args *);
2808int sys_getresgid (struct getresgid_args *);
2809int sys_kqueue (struct kqueue_args *);
2810int sys_kevent (struct kevent_args *);
2811int sys_sctp_peeloff (struct sctp_peeloff_args *);
91fdc001 2812int sys_lchflags (struct lchflags_args *);
2a0783db 2813int sys_uuidgen (struct uuidgen_args *);
753fd850
MD
2814int sys_sendfile (struct sendfile_args *);
2815int sys_varsym_set (struct varsym_set_args *);
2816int sys_varsym_get (struct varsym_get_args *);
2817int sys_varsym_list (struct varsym_list_args *);
2818int sys_upc_register (struct upc_register_args *);
2819int sys_upc_control (struct upc_control_args *);
2820int sys_caps_sys_service (struct caps_sys_service_args *);
2821int sys_caps_sys_client (struct caps_sys_client_args *);
2822int sys_caps_sys_close (struct caps_sys_close_args *);
2823int sys_caps_sys_put (struct caps_sys_put_args *);
2824int sys_caps_sys_reply (struct caps_sys_reply_args *);
2825int sys_caps_sys_get (struct caps_sys_get_args *);
2826int sys_caps_sys_wait (struct caps_sys_wait_args *);
2827int sys_caps_sys_abort (struct caps_sys_abort_args *);
2828int sys_caps_sys_getgen (struct caps_sys_getgen_args *);
2829int sys_caps_sys_setgen (struct caps_sys_setgen_args *);
2830int sys_exec_sys_register (struct exec_sys_register_args *);
2831int sys_exec_sys_unregister (struct exec_sys_unregister_args *);
2832int sys_sys_checkpoint (struct sys_checkpoint_args *);
2833int sys_mountctl (struct mountctl_args *);
2834int sys_umtx_sleep (struct umtx_sleep_args *);
2835int sys_umtx_wakeup (struct umtx_wakeup_args *);
2836int sys_jail_attach (struct jail_attach_args *);
ba491dfb
MD
2837int sys_set_tls_area (struct set_tls_area_args *);
2838int sys_get_tls_area (struct get_tls_area_args *);
753fd850
MD
2839int sys_closefrom (struct closefrom_args *);
2840int sys_stat (struct stat_args *);
2841int sys_fstat (struct fstat_args *);
2842int sys_lstat (struct lstat_args *);
2843int sys_fhstat (struct fhstat_args *);
2844int sys_getdirentries (struct getdirentries_args *);
2845int sys_getdents (struct getdents_args *);
2846int sys_usched_set (struct usched_set_args *);
b09fd398
MD
2847int sys_extaccept (struct extaccept_args *);
2848int sys_extconnect (struct extconnect_args *);
e143cb06 2849int sys_syslink (struct syslink_args *);
afeabdca 2850int sys_mcontrol (struct mcontrol_args *);
d3313941
MD
2851int sys_vmspace_create (struct vmspace_create_args *);
2852int sys_vmspace_destroy (struct vmspace_destroy_args *);
2853int sys_vmspace_ctl (struct vmspace_ctl_args *);
2854int sys_vmspace_mmap (struct vmspace_mmap_args *);
2855int sys_vmspace_munmap (struct vmspace_munmap_args *);
2856int sys_vmspace_mcontrol (struct vmspace_mcontrol_args *);
021a4ed4
MD
2857int sys_vmspace_pread (struct vmspace_pread_args *);
2858int sys_vmspace_pwrite (struct vmspace_pwrite_args *);
a704dbd9 2859int sys_extexit (struct extexit_args *);
a0a27cfb 2860int sys_lwp_create (struct lwp_create_args *);
c2e552b5
SS
2861int sys_lwp_gettid (struct lwp_gettid_args *);
2862int sys_lwp_kill (struct lwp_kill_args *);
649d3bd2 2863int sys_lwp_rtprio (struct lwp_rtprio_args *);
ae7cb1b5 2864int sys_pselect (struct pselect_args *);
d9fad06e
MD
2865int sys_statvfs (struct statvfs_args *);
2866int sys_fstatvfs (struct fstatvfs_args *);
2867int sys_fhstatvfs (struct fhstatvfs_args *);
00fe9d48 2868int sys_getvfsstat (struct getvfsstat_args *);
83a11774 2869int sys_openat (struct openat_args *);
e101a3f4 2870int sys_fstatat (struct fstatat_args *);
8cde3c79 2871int sys_fchmodat (struct fchmodat_args *);
32013176 2872int sys_fchownat (struct fchownat_args *);
3a6d8629 2873int sys_unlinkat (struct unlinkat_args *);
18cf460b 2874int sys_faccessat (struct faccessat_args *);
0b96c93b
SK
2875int sys_mq_open (struct mq_open_args *);
2876int sys_mq_close (struct mq_close_args *);
2877int sys_mq_unlink (struct mq_unlink_args *);
2878int sys_mq_getattr (struct mq_getattr_args *);
2879int sys_mq_setattr (struct mq_setattr_args *);
2880int sys_mq_notify (struct mq_notify_args *);
2881int sys_mq_send (struct mq_send_args *);
2882int sys_mq_receive (struct mq_receive_args *);
2883int sys_mq_timedsend (struct mq_timedsend_args *);
2884int sys_mq_timedreceive (struct mq_timedreceive_args *);
984263bc
MD
2885
2886#endif /* !_SYS_SYSPROTO_H_ */
f1787048
JS
2887#undef PAD_
2888
2889#endif /* _KERNEL */