Add some more *at() system calls.
[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};
984263bc 441struct munmap_args {
245e4f17 442#ifdef _KERNEL
df2244e3 443 struct sysmsg sysmsg;
245e4f17 444#endif
984263bc
MD
445 void * addr; char addr_[PAD_(void *)];
446 size_t len; char len_[PAD_(size_t)];
447};
448struct mprotect_args {
245e4f17 449#ifdef _KERNEL
df2244e3 450 struct sysmsg sysmsg;
245e4f17 451#endif
438ad6d3 452 void * addr; char addr_[PAD_(void *)];
984263bc
MD
453 size_t len; char len_[PAD_(size_t)];
454 int prot; char prot_[PAD_(int)];
455};
456struct madvise_args {
245e4f17 457#ifdef _KERNEL
df2244e3 458 struct sysmsg sysmsg;
245e4f17 459#endif
984263bc
MD
460 void * addr; char addr_[PAD_(void *)];
461 size_t len; char len_[PAD_(size_t)];
462 int behav; char behav_[PAD_(int)];
463};
464struct mincore_args {
245e4f17 465#ifdef _KERNEL
df2244e3 466 struct sysmsg sysmsg;
245e4f17 467#endif
984263bc
MD
468 const void * addr; char addr_[PAD_(const void *)];
469 size_t len; char len_[PAD_(size_t)];
470 char * vec; char vec_[PAD_(char *)];
471};
472struct getgroups_args {
245e4f17 473#ifdef _KERNEL
df2244e3 474 struct sysmsg sysmsg;
245e4f17 475#endif
984263bc
MD
476 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
477 gid_t * gidset; char gidset_[PAD_(gid_t *)];
478};
479struct setgroups_args {
245e4f17 480#ifdef _KERNEL
df2244e3 481 struct sysmsg sysmsg;
245e4f17 482#endif
984263bc
MD
483 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
484 gid_t * gidset; char gidset_[PAD_(gid_t *)];
485};
486struct getpgrp_args {
245e4f17 487#ifdef _KERNEL
df2244e3 488 struct sysmsg sysmsg;
245e4f17 489#endif
984263bc
MD
490 register_t dummy;
491};
492struct setpgid_args {
245e4f17 493#ifdef _KERNEL
df2244e3 494 struct sysmsg sysmsg;
245e4f17 495#endif
984263bc
MD
496 int pid; char pid_[PAD_(int)];
497 int pgid; char pgid_[PAD_(int)];
498};
499struct setitimer_args {
245e4f17 500#ifdef _KERNEL
df2244e3 501 struct sysmsg sysmsg;
245e4f17 502#endif
984263bc
MD
503 u_int which; char which_[PAD_(u_int)];
504 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
505 struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)];
506};
507struct owait_args {
245e4f17 508#ifdef _KERNEL
df2244e3 509 struct sysmsg sysmsg;
245e4f17 510#endif
984263bc
MD
511 register_t dummy;
512};
513struct swapon_args {
245e4f17 514#ifdef _KERNEL
df2244e3 515 struct sysmsg sysmsg;
245e4f17 516#endif
984263bc
MD
517 char * name; char name_[PAD_(char *)];
518};
519struct getitimer_args {
245e4f17 520#ifdef _KERNEL
df2244e3 521 struct sysmsg sysmsg;
245e4f17 522#endif
984263bc
MD
523 u_int which; char which_[PAD_(u_int)];
524 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
525};
526struct getdtablesize_args {
245e4f17 527#ifdef _KERNEL
df2244e3 528 struct sysmsg sysmsg;
245e4f17 529#endif
984263bc
MD
530 register_t dummy;
531};
532struct dup2_args {
245e4f17 533#ifdef _KERNEL
df2244e3 534 struct sysmsg sysmsg;
245e4f17 535#endif
984263bc
MD
536 u_int from; char from_[PAD_(u_int)];
537 u_int to; char to_[PAD_(u_int)];
538};
539struct fcntl_args {
245e4f17 540#ifdef _KERNEL
df2244e3 541 struct sysmsg sysmsg;
245e4f17 542#endif
984263bc
MD
543 int fd; char fd_[PAD_(int)];
544 int cmd; char cmd_[PAD_(int)];
545 long arg; char arg_[PAD_(long)];
546};
547struct select_args {
245e4f17 548#ifdef _KERNEL
df2244e3 549 struct sysmsg sysmsg;
245e4f17 550#endif
984263bc
MD
551 int nd; char nd_[PAD_(int)];
552 fd_set * in; char in_[PAD_(fd_set *)];
553 fd_set * ou; char ou_[PAD_(fd_set *)];
554 fd_set * ex; char ex_[PAD_(fd_set *)];
555 struct timeval * tv; char tv_[PAD_(struct timeval *)];
556};
557struct fsync_args {
245e4f17 558#ifdef _KERNEL
df2244e3 559 struct sysmsg sysmsg;
245e4f17 560#endif
984263bc
MD
561 int fd; char fd_[PAD_(int)];
562};
563struct setpriority_args {
245e4f17 564#ifdef _KERNEL
df2244e3 565 struct sysmsg sysmsg;
245e4f17 566#endif
984263bc
MD
567 int which; char which_[PAD_(int)];
568 int who; char who_[PAD_(int)];
569 int prio; char prio_[PAD_(int)];
570};
571struct socket_args {
245e4f17 572#ifdef _KERNEL
df2244e3 573 struct sysmsg sysmsg;
245e4f17 574#endif
984263bc
MD
575 int domain; char domain_[PAD_(int)];
576 int type; char type_[PAD_(int)];
577 int protocol; char protocol_[PAD_(int)];
578};
579struct connect_args {
245e4f17 580#ifdef _KERNEL
df2244e3 581 struct sysmsg sysmsg;
245e4f17 582#endif
984263bc
MD
583 int s; char s_[PAD_(int)];
584 caddr_t name; char name_[PAD_(caddr_t)];
585 int namelen; char namelen_[PAD_(int)];
586};
587struct getpriority_args {
245e4f17 588#ifdef _KERNEL
df2244e3 589 struct sysmsg sysmsg;
245e4f17 590#endif
984263bc
MD
591 int which; char which_[PAD_(int)];
592 int who; char who_[PAD_(int)];
593};
594struct bind_args {
245e4f17 595#ifdef _KERNEL
df2244e3 596 struct sysmsg sysmsg;
245e4f17 597#endif
984263bc
MD
598 int s; char s_[PAD_(int)];
599 caddr_t name; char name_[PAD_(caddr_t)];
600 int namelen; char namelen_[PAD_(int)];
601};
602struct setsockopt_args {
245e4f17 603#ifdef _KERNEL
df2244e3 604 struct sysmsg sysmsg;
245e4f17 605#endif
984263bc
MD
606 int s; char s_[PAD_(int)];
607 int level; char level_[PAD_(int)];
608 int name; char name_[PAD_(int)];
609 caddr_t val; char val_[PAD_(caddr_t)];
610 int valsize; char valsize_[PAD_(int)];
611};
612struct listen_args {
245e4f17 613#ifdef _KERNEL
df2244e3 614 struct sysmsg sysmsg;
245e4f17 615#endif
984263bc
MD
616 int s; char s_[PAD_(int)];
617 int backlog; char backlog_[PAD_(int)];
618};
619struct gettimeofday_args {
245e4f17 620#ifdef _KERNEL
df2244e3 621 struct sysmsg sysmsg;
245e4f17 622#endif
984263bc
MD
623 struct timeval * tp; char tp_[PAD_(struct timeval *)];
624 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
625};
626struct getrusage_args {
245e4f17 627#ifdef _KERNEL
df2244e3 628 struct sysmsg sysmsg;
245e4f17 629#endif
984263bc
MD
630 int who; char who_[PAD_(int)];
631 struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
632};
633struct getsockopt_args {
245e4f17 634#ifdef _KERNEL
df2244e3 635 struct sysmsg sysmsg;
245e4f17 636#endif
984263bc
MD
637 int s; char s_[PAD_(int)];
638 int level; char level_[PAD_(int)];
639 int name; char name_[PAD_(int)];
640 caddr_t val; char val_[PAD_(caddr_t)];
641 int * avalsize; char avalsize_[PAD_(int *)];
642};
643struct readv_args {
245e4f17 644#ifdef _KERNEL
df2244e3 645 struct sysmsg sysmsg;
245e4f17 646#endif
984263bc
MD
647 int fd; char fd_[PAD_(int)];
648 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
649 u_int iovcnt; char iovcnt_[PAD_(u_int)];
650};
651struct writev_args {
245e4f17 652#ifdef _KERNEL
df2244e3 653 struct sysmsg sysmsg;
245e4f17 654#endif
984263bc
MD
655 int fd; char fd_[PAD_(int)];
656 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
657 u_int iovcnt; char iovcnt_[PAD_(u_int)];
658};
659struct settimeofday_args {
245e4f17 660#ifdef _KERNEL
df2244e3 661 struct sysmsg sysmsg;
245e4f17 662#endif
984263bc
MD
663 struct timeval * tv; char tv_[PAD_(struct timeval *)];
664 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
665};
666struct fchown_args {
245e4f17 667#ifdef _KERNEL
df2244e3 668 struct sysmsg sysmsg;
245e4f17 669#endif
984263bc
MD
670 int fd; char fd_[PAD_(int)];
671 int uid; char uid_[PAD_(int)];
672 int gid; char gid_[PAD_(int)];
673};
674struct fchmod_args {
245e4f17 675#ifdef _KERNEL
df2244e3 676 struct sysmsg sysmsg;
245e4f17 677#endif
984263bc
MD
678 int fd; char fd_[PAD_(int)];
679 int mode; char mode_[PAD_(int)];
680};
681struct setreuid_args {
245e4f17 682#ifdef _KERNEL
df2244e3 683 struct sysmsg sysmsg;
245e4f17 684#endif
984263bc
MD
685 int ruid; char ruid_[PAD_(int)];
686 int euid; char euid_[PAD_(int)];
687};
688struct setregid_args {
245e4f17 689#ifdef _KERNEL
df2244e3 690 struct sysmsg sysmsg;
245e4f17 691#endif
984263bc
MD
692 int rgid; char rgid_[PAD_(int)];
693 int egid; char egid_[PAD_(int)];
694};
695struct rename_args {
245e4f17 696#ifdef _KERNEL
df2244e3 697 struct sysmsg sysmsg;
245e4f17 698#endif
984263bc
MD
699 char * from; char from_[PAD_(char *)];
700 char * to; char to_[PAD_(char *)];
701};
702struct flock_args {
245e4f17 703#ifdef _KERNEL
df2244e3 704 struct sysmsg sysmsg;
245e4f17 705#endif
984263bc
MD
706 int fd; char fd_[PAD_(int)];
707 int how; char how_[PAD_(int)];
708};
709struct mkfifo_args {
245e4f17 710#ifdef _KERNEL
df2244e3 711 struct sysmsg sysmsg;
245e4f17 712#endif
984263bc
MD
713 char * path; char path_[PAD_(char *)];
714 int mode; char mode_[PAD_(int)];
715};
716struct sendto_args {
245e4f17 717#ifdef _KERNEL
df2244e3 718 struct sysmsg sysmsg;
245e4f17 719#endif
984263bc
MD
720 int s; char s_[PAD_(int)];
721 caddr_t buf; char buf_[PAD_(caddr_t)];
722 size_t len; char len_[PAD_(size_t)];
723 int flags; char flags_[PAD_(int)];
724 caddr_t to; char to_[PAD_(caddr_t)];
725 int tolen; char tolen_[PAD_(int)];
726};
727struct shutdown_args {
245e4f17 728#ifdef _KERNEL
df2244e3 729 struct sysmsg sysmsg;
245e4f17 730#endif
984263bc
MD
731 int s; char s_[PAD_(int)];
732 int how; char how_[PAD_(int)];
733};
734struct socketpair_args {
245e4f17 735#ifdef _KERNEL
df2244e3 736 struct sysmsg sysmsg;
245e4f17 737#endif
984263bc
MD
738 int domain; char domain_[PAD_(int)];
739 int type; char type_[PAD_(int)];
740 int protocol; char protocol_[PAD_(int)];
741 int * rsv; char rsv_[PAD_(int *)];
742};
743struct mkdir_args {
245e4f17 744#ifdef _KERNEL
df2244e3 745 struct sysmsg sysmsg;
245e4f17 746#endif
984263bc
MD
747 char * path; char path_[PAD_(char *)];
748 int mode; char mode_[PAD_(int)];
749};
750struct rmdir_args {
245e4f17 751#ifdef _KERNEL
df2244e3 752 struct sysmsg sysmsg;
245e4f17 753#endif
984263bc
MD
754 char * path; char path_[PAD_(char *)];
755};
756struct utimes_args {
245e4f17 757#ifdef _KERNEL
df2244e3 758 struct sysmsg sysmsg;
245e4f17 759#endif
984263bc
MD
760 char * path; char path_[PAD_(char *)];
761 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
762};
763struct adjtime_args {
245e4f17 764#ifdef _KERNEL
df2244e3 765 struct sysmsg sysmsg;
245e4f17 766#endif
984263bc
MD
767 struct timeval * delta; char delta_[PAD_(struct timeval *)];
768 struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)];
769};
770struct ogethostid_args {
245e4f17 771#ifdef _KERNEL
df2244e3 772 struct sysmsg sysmsg;
245e4f17 773#endif
984263bc
MD
774 register_t dummy;
775};
776struct setsid_args {
245e4f17 777#ifdef _KERNEL
df2244e3 778 struct sysmsg sysmsg;
245e4f17 779#endif
984263bc
MD
780 register_t dummy;
781};
782struct quotactl_args {
245e4f17 783#ifdef _KERNEL
df2244e3 784 struct sysmsg sysmsg;
245e4f17 785#endif
984263bc
MD
786 char * path; char path_[PAD_(char *)];
787 int cmd; char cmd_[PAD_(int)];
788 int uid; char uid_[PAD_(int)];
789 caddr_t arg; char arg_[PAD_(caddr_t)];
790};
791struct oquota_args {
245e4f17 792#ifdef _KERNEL
df2244e3 793 struct sysmsg sysmsg;
245e4f17 794#endif
984263bc
MD
795 register_t dummy;
796};
797struct nfssvc_args {
245e4f17 798#ifdef _KERNEL
df2244e3 799 struct sysmsg sysmsg;
245e4f17 800#endif
984263bc
MD
801 int flag; char flag_[PAD_(int)];
802 caddr_t argp; char argp_[PAD_(caddr_t)];
803};
804struct statfs_args {
245e4f17 805#ifdef _KERNEL
df2244e3 806 struct sysmsg sysmsg;
245e4f17 807#endif
984263bc
MD
808 char * path; char path_[PAD_(char *)];
809 struct statfs * buf; char buf_[PAD_(struct statfs *)];
810};
811struct fstatfs_args {
245e4f17 812#ifdef _KERNEL
df2244e3 813 struct sysmsg sysmsg;
245e4f17 814#endif
984263bc
MD
815 int fd; char fd_[PAD_(int)];
816 struct statfs * buf; char buf_[PAD_(struct statfs *)];
817};
818struct getfh_args {
245e4f17 819#ifdef _KERNEL
df2244e3 820 struct sysmsg sysmsg;
245e4f17 821#endif
984263bc
MD
822 char * fname; char fname_[PAD_(char *)];
823 struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)];
824};
825struct getdomainname_args {
245e4f17 826#ifdef _KERNEL
df2244e3 827 struct sysmsg sysmsg;
245e4f17 828#endif
984263bc
MD
829 char * domainname; char domainname_[PAD_(char *)];
830 int len; char len_[PAD_(int)];
831};
832struct setdomainname_args {
245e4f17 833#ifdef _KERNEL
df2244e3 834 struct sysmsg sysmsg;
245e4f17 835#endif
984263bc
MD
836 char * domainname; char domainname_[PAD_(char *)];
837 int len; char len_[PAD_(int)];
838};
839struct uname_args {
245e4f17 840#ifdef _KERNEL
df2244e3 841 struct sysmsg sysmsg;
245e4f17 842#endif
984263bc
MD
843 struct utsname * name; char name_[PAD_(struct utsname *)];
844};
845struct sysarch_args {
245e4f17 846#ifdef _KERNEL
df2244e3 847 struct sysmsg sysmsg;
245e4f17 848#endif
984263bc
MD
849 int op; char op_[PAD_(int)];
850 char * parms; char parms_[PAD_(char *)];
851};
852struct rtprio_args {
245e4f17 853#ifdef _KERNEL
df2244e3 854 struct sysmsg sysmsg;
245e4f17 855#endif
984263bc
MD
856 int function; char function_[PAD_(int)];
857 pid_t pid; char pid_[PAD_(pid_t)];
858 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
859};
860struct semsys_args {
245e4f17 861#ifdef _KERNEL
df2244e3 862 struct sysmsg sysmsg;
245e4f17 863#endif
984263bc
MD
864 int which; char which_[PAD_(int)];
865 int a2; char a2_[PAD_(int)];
866 int a3; char a3_[PAD_(int)];
867 int a4; char a4_[PAD_(int)];
868 int a5; char a5_[PAD_(int)];
869};
870struct msgsys_args {
245e4f17 871#ifdef _KERNEL
df2244e3 872 struct sysmsg sysmsg;
245e4f17 873#endif
984263bc
MD
874 int which; char which_[PAD_(int)];
875 int a2; char a2_[PAD_(int)];
876 int a3; char a3_[PAD_(int)];
877 int a4; char a4_[PAD_(int)];
878 int a5; char a5_[PAD_(int)];
879 int a6; char a6_[PAD_(int)];
880};
881struct shmsys_args {
245e4f17 882#ifdef _KERNEL
df2244e3 883 struct sysmsg sysmsg;
245e4f17 884#endif
984263bc
MD
885 int which; char which_[PAD_(int)];
886 int a2; char a2_[PAD_(int)];
887 int a3; char a3_[PAD_(int)];
888 int a4; char a4_[PAD_(int)];
889};
b09fd398 890struct extpread_args {
245e4f17 891#ifdef _KERNEL
df2244e3 892 struct sysmsg sysmsg;
245e4f17 893#endif
984263bc
MD
894 int fd; char fd_[PAD_(int)];
895 void * buf; char buf_[PAD_(void *)];
896 size_t nbyte; char nbyte_[PAD_(size_t)];
9ba76b73 897 int flags; char flags_[PAD_(int)];
984263bc
MD
898 off_t offset; char offset_[PAD_(off_t)];
899};
b09fd398 900struct extpwrite_args {
245e4f17 901#ifdef _KERNEL
df2244e3 902 struct sysmsg sysmsg;
245e4f17 903#endif
984263bc
MD
904 int fd; char fd_[PAD_(int)];
905 const void * buf; char buf_[PAD_(const void *)];
906 size_t nbyte; char nbyte_[PAD_(size_t)];
9ba76b73 907 int flags; char flags_[PAD_(int)];
984263bc
MD
908 off_t offset; char offset_[PAD_(off_t)];
909};
910struct ntp_adjtime_args {
245e4f17 911#ifdef _KERNEL
df2244e3 912 struct sysmsg sysmsg;
245e4f17 913#endif
984263bc
MD
914 struct timex * tp; char tp_[PAD_(struct timex *)];
915};
916struct setgid_args {
245e4f17 917#ifdef _KERNEL
df2244e3 918 struct sysmsg sysmsg;
245e4f17 919#endif
984263bc
MD
920 gid_t gid; char gid_[PAD_(gid_t)];
921};
922struct setegid_args {
245e4f17 923#ifdef _KERNEL
df2244e3 924 struct sysmsg sysmsg;
245e4f17 925#endif
984263bc
MD
926 gid_t egid; char egid_[PAD_(gid_t)];
927};
928struct seteuid_args {
245e4f17 929#ifdef _KERNEL
df2244e3 930 struct sysmsg sysmsg;
245e4f17 931#endif
984263bc
MD
932 uid_t euid; char euid_[PAD_(uid_t)];
933};
984263bc 934struct pathconf_args {
245e4f17 935#ifdef _KERNEL
df2244e3 936 struct sysmsg sysmsg;
245e4f17 937#endif
984263bc
MD
938 char * path; char path_[PAD_(char *)];
939 int name; char name_[PAD_(int)];
940};
941struct fpathconf_args {
245e4f17 942#ifdef _KERNEL
df2244e3 943 struct sysmsg sysmsg;
245e4f17 944#endif
984263bc
MD
945 int fd; char fd_[PAD_(int)];
946 int name; char name_[PAD_(int)];
947};
948struct __getrlimit_args {
245e4f17 949#ifdef _KERNEL
df2244e3 950 struct sysmsg sysmsg;
245e4f17 951#endif
984263bc
MD
952 u_int which; char which_[PAD_(u_int)];
953 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
954};
955struct __setrlimit_args {
245e4f17 956#ifdef _KERNEL
df2244e3 957 struct sysmsg sysmsg;
245e4f17 958#endif
984263bc
MD
959 u_int which; char which_[PAD_(u_int)];
960 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
961};
984263bc 962struct mmap_args {
245e4f17 963#ifdef _KERNEL
df2244e3 964 struct sysmsg sysmsg;
245e4f17 965#endif
984263bc
MD
966 caddr_t addr; char addr_[PAD_(caddr_t)];
967 size_t len; char len_[PAD_(size_t)];
968 int prot; char prot_[PAD_(int)];
969 int flags; char flags_[PAD_(int)];
970 int fd; char fd_[PAD_(int)];
971 int pad; char pad_[PAD_(int)];
972 off_t pos; char pos_[PAD_(off_t)];
973};
974struct lseek_args {
245e4f17 975#ifdef _KERNEL
df2244e3 976 struct sysmsg sysmsg;
245e4f17 977#endif
984263bc
MD
978 int fd; char fd_[PAD_(int)];
979 int pad; char pad_[PAD_(int)];
980 off_t offset; char offset_[PAD_(off_t)];
981 int whence; char whence_[PAD_(int)];
982};
983struct truncate_args {
245e4f17 984#ifdef _KERNEL
df2244e3 985 struct sysmsg sysmsg;
245e4f17 986#endif
984263bc
MD
987 char * path; char path_[PAD_(char *)];
988 int pad; char pad_[PAD_(int)];
989 off_t length; char length_[PAD_(off_t)];
990};
991struct ftruncate_args {
245e4f17 992#ifdef _KERNEL
df2244e3 993 struct sysmsg sysmsg;
245e4f17 994#endif
984263bc
MD
995 int fd; char fd_[PAD_(int)];
996 int pad; char pad_[PAD_(int)];
997 off_t length; char length_[PAD_(off_t)];
998};
999struct sysctl_args {
245e4f17 1000#ifdef _KERNEL
df2244e3 1001 struct sysmsg sysmsg;
245e4f17 1002#endif
984263bc
MD
1003 int * name; char name_[PAD_(int *)];
1004 u_int namelen; char namelen_[PAD_(u_int)];
1005 void * old; char old_[PAD_(void *)];
1006 size_t * oldlenp; char oldlenp_[PAD_(size_t *)];
1007 void * new; char new_[PAD_(void *)];
1008 size_t newlen; char newlen_[PAD_(size_t)];
1009};
1010struct mlock_args {
245e4f17 1011#ifdef _KERNEL
df2244e3 1012 struct sysmsg sysmsg;
245e4f17 1013#endif
984263bc
MD
1014 const void * addr; char addr_[PAD_(const void *)];
1015 size_t len; char len_[PAD_(size_t)];
1016};
1017struct munlock_args {
245e4f17 1018#ifdef _KERNEL
df2244e3 1019 struct sysmsg sysmsg;
245e4f17 1020#endif
984263bc
MD
1021 const void * addr; char addr_[PAD_(const void *)];
1022 size_t len; char len_[PAD_(size_t)];
1023};
1024struct undelete_args {
245e4f17 1025#ifdef _KERNEL
df2244e3 1026 struct sysmsg sysmsg;
245e4f17 1027#endif
984263bc
MD
1028 char * path; char path_[PAD_(char *)];
1029};
1030struct futimes_args {
245e4f17 1031#ifdef _KERNEL
df2244e3 1032 struct sysmsg sysmsg;
245e4f17 1033#endif
984263bc
MD
1034 int fd; char fd_[PAD_(int)];
1035 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
1036};
1037struct getpgid_args {
245e4f17 1038#ifdef _KERNEL
df2244e3 1039 struct sysmsg sysmsg;
245e4f17 1040#endif
984263bc
MD
1041 pid_t pid; char pid_[PAD_(pid_t)];
1042};
1043struct poll_args {
245e4f17 1044#ifdef _KERNEL
df2244e3 1045 struct sysmsg sysmsg;
245e4f17 1046#endif
984263bc
MD
1047 struct pollfd * fds; char fds_[PAD_(struct pollfd *)];
1048 u_int nfds; char nfds_[PAD_(u_int)];
1049 int timeout; char timeout_[PAD_(int)];
1050};
1051struct __semctl_args {
245e4f17 1052#ifdef _KERNEL
df2244e3 1053 struct sysmsg sysmsg;
245e4f17 1054#endif
984263bc
MD
1055 int semid; char semid_[PAD_(int)];
1056 int semnum; char semnum_[PAD_(int)];
1057 int cmd; char cmd_[PAD_(int)];
1058 union semun * arg; char arg_[PAD_(union semun *)];
1059};
1060struct semget_args {
245e4f17 1061#ifdef _KERNEL
df2244e3 1062 struct sysmsg sysmsg;
245e4f17 1063#endif
984263bc
MD
1064 key_t key; char key_[PAD_(key_t)];
1065 int nsems; char nsems_[PAD_(int)];
1066 int semflg; char semflg_[PAD_(int)];
1067};
1068struct semop_args {
245e4f17 1069#ifdef _KERNEL
df2244e3 1070 struct sysmsg sysmsg;
245e4f17 1071#endif
984263bc
MD
1072 int semid; char semid_[PAD_(int)];
1073 struct sembuf * sops; char sops_[PAD_(struct sembuf *)];
1074 u_int nsops; char nsops_[PAD_(u_int)];
1075};
1076struct msgctl_args {
245e4f17 1077#ifdef _KERNEL
df2244e3 1078 struct sysmsg sysmsg;
245e4f17 1079#endif
984263bc
MD
1080 int msqid; char msqid_[PAD_(int)];
1081 int cmd; char cmd_[PAD_(int)];
1082 struct msqid_ds * buf; char buf_[PAD_(struct msqid_ds *)];
1083};
1084struct msgget_args {
245e4f17 1085#ifdef _KERNEL
df2244e3 1086 struct sysmsg sysmsg;
245e4f17 1087#endif
984263bc
MD
1088 key_t key; char key_[PAD_(key_t)];
1089 int msgflg; char msgflg_[PAD_(int)];
1090};
1091struct msgsnd_args {
245e4f17 1092#ifdef _KERNEL
df2244e3 1093 struct sysmsg sysmsg;
245e4f17 1094#endif
984263bc
MD
1095 int msqid; char msqid_[PAD_(int)];
1096 void * msgp; char msgp_[PAD_(void *)];
1097 size_t msgsz; char msgsz_[PAD_(size_t)];
1098 int msgflg; char msgflg_[PAD_(int)];
1099};
1100struct msgrcv_args {
245e4f17 1101#ifdef _KERNEL
df2244e3 1102 struct sysmsg sysmsg;
245e4f17 1103#endif
984263bc
MD
1104 int msqid; char msqid_[PAD_(int)];
1105 void * msgp; char msgp_[PAD_(void *)];
1106 size_t msgsz; char msgsz_[PAD_(size_t)];
1107 long msgtyp; char msgtyp_[PAD_(long)];
1108 int msgflg; char msgflg_[PAD_(int)];
1109};
1110struct shmat_args {
245e4f17 1111#ifdef _KERNEL
df2244e3 1112 struct sysmsg sysmsg;
245e4f17 1113#endif
984263bc
MD
1114 int shmid; char shmid_[PAD_(int)];
1115 void * shmaddr; char shmaddr_[PAD_(void *)];
1116 int shmflg; char shmflg_[PAD_(int)];
1117};
1118struct shmctl_args {
245e4f17 1119#ifdef _KERNEL
df2244e3 1120 struct sysmsg sysmsg;
245e4f17 1121#endif
984263bc
MD
1122 int shmid; char shmid_[PAD_(int)];
1123 int cmd; char cmd_[PAD_(int)];
1124 struct shmid_ds * buf; char buf_[PAD_(struct shmid_ds *)];
1125};
1126struct shmdt_args {
245e4f17 1127#ifdef _KERNEL
df2244e3 1128 struct sysmsg sysmsg;
245e4f17 1129#endif
984263bc
MD
1130 void * shmaddr; char shmaddr_[PAD_(void *)];
1131};
1132struct shmget_args {
245e4f17 1133#ifdef _KERNEL
df2244e3 1134 struct sysmsg sysmsg;
245e4f17 1135#endif
984263bc
MD
1136 key_t key; char key_[PAD_(key_t)];
1137 int size; char size_[PAD_(int)];
1138 int shmflg; char shmflg_[PAD_(int)];
1139};
1140struct clock_gettime_args {
245e4f17 1141#ifdef _KERNEL
df2244e3 1142 struct sysmsg sysmsg;
245e4f17 1143#endif
984263bc
MD
1144 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1145 struct timespec * tp; char tp_[PAD_(struct timespec *)];
1146};
1147struct clock_settime_args {
245e4f17 1148#ifdef _KERNEL
df2244e3 1149 struct sysmsg sysmsg;
245e4f17 1150#endif
984263bc
MD
1151 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1152 const struct timespec * tp; char tp_[PAD_(const struct timespec *)];
1153};
1154struct clock_getres_args {
245e4f17 1155#ifdef _KERNEL
df2244e3 1156 struct sysmsg sysmsg;
245e4f17 1157#endif
984263bc
MD
1158 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
1159 struct timespec * tp; char tp_[PAD_(struct timespec *)];
1160};
1161struct nanosleep_args {
245e4f17 1162#ifdef _KERNEL
df2244e3 1163 struct sysmsg sysmsg;
245e4f17 1164#endif
984263bc
MD
1165 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)];
1166 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)];
1167};
1168struct minherit_args {
245e4f17 1169#ifdef _KERNEL
df2244e3 1170 struct sysmsg sysmsg;
245e4f17 1171#endif
984263bc
MD
1172 void * addr; char addr_[PAD_(void *)];
1173 size_t len; char len_[PAD_(size_t)];
1174 int inherit; char inherit_[PAD_(int)];
1175};
1176struct rfork_args {
245e4f17 1177#ifdef _KERNEL
df2244e3 1178 struct sysmsg sysmsg;
245e4f17 1179#endif
984263bc
MD
1180 int flags; char flags_[PAD_(int)];
1181};
1182struct openbsd_poll_args {
245e4f17 1183#ifdef _KERNEL
df2244e3 1184 struct sysmsg sysmsg;
245e4f17 1185#endif
984263bc
MD
1186 struct pollfd * fds; char fds_[PAD_(struct pollfd *)];
1187 u_int nfds; char nfds_[PAD_(u_int)];
1188 int timeout; char timeout_[PAD_(int)];
1189};
1190struct issetugid_args {
245e4f17 1191#ifdef _KERNEL
df2244e3 1192 struct sysmsg sysmsg;
245e4f17 1193#endif
984263bc
MD
1194 register_t dummy;
1195};
1196struct lchown_args {
245e4f17 1197#ifdef _KERNEL
df2244e3 1198 struct sysmsg sysmsg;
245e4f17 1199#endif
984263bc
MD
1200 char * path; char path_[PAD_(char *)];
1201 int uid; char uid_[PAD_(int)];
1202 int gid; char gid_[PAD_(int)];
1203};
984263bc 1204struct lchmod_args {
245e4f17 1205#ifdef _KERNEL
df2244e3 1206 struct sysmsg sysmsg;
245e4f17 1207#endif
984263bc
MD
1208 char * path; char path_[PAD_(char *)];
1209 mode_t mode; char mode_[PAD_(mode_t)];
1210};
1211struct lutimes_args {
245e4f17 1212#ifdef _KERNEL
df2244e3 1213 struct sysmsg sysmsg;
245e4f17 1214#endif
984263bc
MD
1215 char * path; char path_[PAD_(char *)];
1216 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
1217};
b09fd398 1218struct extpreadv_args {
7f83ed38
MD
1219#ifdef _KERNEL
1220 struct sysmsg sysmsg;
1221#endif
7f83ed38
MD
1222 int fd; char fd_[PAD_(int)];
1223 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
1224 u_int iovcnt; char iovcnt_[PAD_(u_int)];
9ba76b73 1225 int flags; char flags_[PAD_(int)];
7f83ed38
MD
1226 off_t offset; char offset_[PAD_(off_t)];
1227};
b09fd398 1228struct extpwritev_args {
7f83ed38
MD
1229#ifdef _KERNEL
1230 struct sysmsg sysmsg;
1231#endif
7f83ed38
MD
1232 int fd; char fd_[PAD_(int)];
1233 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
1234 u_int iovcnt; char iovcnt_[PAD_(u_int)];
9ba76b73 1235 int flags; char flags_[PAD_(int)];
7f83ed38
MD
1236 off_t offset; char offset_[PAD_(off_t)];
1237};
984263bc 1238struct fhstatfs_args {
245e4f17 1239#ifdef _KERNEL
df2244e3 1240 struct sysmsg sysmsg;
245e4f17 1241#endif
984263bc
MD
1242 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1243 struct statfs * buf; char buf_[PAD_(struct statfs *)];
1244};
1245struct fhopen_args {
245e4f17 1246#ifdef _KERNEL
df2244e3 1247 struct sysmsg sysmsg;
245e4f17 1248#endif
984263bc
MD
1249 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1250 int flags; char flags_[PAD_(int)];
1251};
984263bc 1252struct modnext_args {
245e4f17 1253#ifdef _KERNEL
df2244e3 1254 struct sysmsg sysmsg;
245e4f17 1255#endif
984263bc
MD
1256 int modid; char modid_[PAD_(int)];
1257};
1258struct modstat_args {
245e4f17 1259#ifdef _KERNEL
df2244e3 1260 struct sysmsg sysmsg;
245e4f17 1261#endif
984263bc
MD
1262 int modid; char modid_[PAD_(int)];
1263 struct module_stat * stat; char stat_[PAD_(struct module_stat *)];
1264};
1265struct modfnext_args {
245e4f17 1266#ifdef _KERNEL
df2244e3 1267 struct sysmsg sysmsg;
245e4f17 1268#endif
984263bc
MD
1269 int modid; char modid_[PAD_(int)];
1270};
1271struct modfind_args {
245e4f17 1272#ifdef _KERNEL
df2244e3 1273 struct sysmsg sysmsg;
245e4f17 1274#endif
984263bc
MD
1275 const char * name; char name_[PAD_(const char *)];
1276};
1277struct kldload_args {
245e4f17 1278#ifdef _KERNEL
df2244e3 1279 struct sysmsg sysmsg;
245e4f17 1280#endif
984263bc
MD
1281 const char * file; char file_[PAD_(const char *)];
1282};
1283struct kldunload_args {
245e4f17 1284#ifdef _KERNEL
df2244e3 1285 struct sysmsg sysmsg;
245e4f17 1286#endif
984263bc
MD
1287 int fileid; char fileid_[PAD_(int)];
1288};
1289struct kldfind_args {
245e4f17 1290#ifdef _KERNEL
df2244e3 1291 struct sysmsg sysmsg;
245e4f17 1292#endif
984263bc
MD
1293 const char * file; char file_[PAD_(const char *)];
1294};
1295struct kldnext_args {
245e4f17 1296#ifdef _KERNEL
df2244e3 1297 struct sysmsg sysmsg;
245e4f17 1298#endif
984263bc
MD
1299 int fileid; char fileid_[PAD_(int)];
1300};
1301struct kldstat_args {
245e4f17 1302#ifdef _KERNEL
df2244e3 1303 struct sysmsg sysmsg;
245e4f17 1304#endif
984263bc
MD
1305 int fileid; char fileid_[PAD_(int)];
1306 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)];
1307};
1308struct kldfirstmod_args {
245e4f17 1309#ifdef _KERNEL
df2244e3 1310 struct sysmsg sysmsg;
245e4f17 1311#endif
984263bc
MD
1312 int fileid; char fileid_[PAD_(int)];
1313};
1314struct getsid_args {
245e4f17 1315#ifdef _KERNEL
df2244e3 1316 struct sysmsg sysmsg;
245e4f17 1317#endif
984263bc
MD
1318 pid_t pid; char pid_[PAD_(pid_t)];
1319};
1320struct setresuid_args {
245e4f17 1321#ifdef _KERNEL
df2244e3 1322 struct sysmsg sysmsg;
245e4f17 1323#endif
984263bc
MD
1324 uid_t ruid; char ruid_[PAD_(uid_t)];
1325 uid_t euid; char euid_[PAD_(uid_t)];
1326 uid_t suid; char suid_[PAD_(uid_t)];
1327};
1328struct setresgid_args {
245e4f17 1329#ifdef _KERNEL
df2244e3 1330 struct sysmsg sysmsg;
245e4f17 1331#endif
984263bc
MD
1332 gid_t rgid; char rgid_[PAD_(gid_t)];
1333 gid_t egid; char egid_[PAD_(gid_t)];
1334 gid_t sgid; char sgid_[PAD_(gid_t)];
1335};
1336struct aio_return_args {
245e4f17 1337#ifdef _KERNEL
df2244e3 1338 struct sysmsg sysmsg;
245e4f17 1339#endif
984263bc
MD
1340 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1341};
1342struct aio_suspend_args {
245e4f17 1343#ifdef _KERNEL
df2244e3 1344 struct sysmsg sysmsg;
245e4f17 1345#endif
984263bc
MD
1346 struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)];
1347 int nent; char nent_[PAD_(int)];
1348 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1349};
1350struct aio_cancel_args {
245e4f17 1351#ifdef _KERNEL
df2244e3 1352 struct sysmsg sysmsg;
245e4f17 1353#endif
984263bc
MD
1354 int fd; char fd_[PAD_(int)];
1355 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1356};
1357struct aio_error_args {
245e4f17 1358#ifdef _KERNEL
df2244e3 1359 struct sysmsg sysmsg;
245e4f17 1360#endif
984263bc
MD
1361 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
1362};
1363struct aio_read_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_write_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 lio_listio_args {
245e4f17 1376#ifdef _KERNEL
df2244e3 1377 struct sysmsg sysmsg;
245e4f17 1378#endif
984263bc
MD
1379 int mode; char mode_[PAD_(int)];
1380 struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)];
1381 int nent; char nent_[PAD_(int)];
1382 struct sigevent * sig; char sig_[PAD_(struct sigevent *)];
1383};
1384struct yield_args {
245e4f17 1385#ifdef _KERNEL
df2244e3 1386 struct sysmsg sysmsg;
245e4f17 1387#endif
984263bc
MD
1388 register_t dummy;
1389};
984263bc 1390struct mlockall_args {
245e4f17 1391#ifdef _KERNEL
df2244e3 1392 struct sysmsg sysmsg;
245e4f17 1393#endif
984263bc
MD
1394 int how; char how_[PAD_(int)];
1395};
1396struct munlockall_args {
245e4f17 1397#ifdef _KERNEL
df2244e3 1398 struct sysmsg sysmsg;
245e4f17 1399#endif
984263bc
MD
1400 register_t dummy;
1401};
1402struct __getcwd_args {
245e4f17 1403#ifdef _KERNEL
df2244e3 1404 struct sysmsg sysmsg;
245e4f17 1405#endif
984263bc
MD
1406 u_char * buf; char buf_[PAD_(u_char *)];
1407 u_int buflen; char buflen_[PAD_(u_int)];
1408};
1409struct sched_setparam_args {
245e4f17 1410#ifdef _KERNEL
df2244e3 1411 struct sysmsg sysmsg;
245e4f17 1412#endif
984263bc
MD
1413 pid_t pid; char pid_[PAD_(pid_t)];
1414 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
1415};
1416struct sched_getparam_args {
245e4f17 1417#ifdef _KERNEL
df2244e3 1418 struct sysmsg sysmsg;
245e4f17 1419#endif
984263bc
MD
1420 pid_t pid; char pid_[PAD_(pid_t)];
1421 struct sched_param * param; char param_[PAD_(struct sched_param *)];
1422};
1423struct sched_setscheduler_args {
245e4f17 1424#ifdef _KERNEL
df2244e3 1425 struct sysmsg sysmsg;
245e4f17 1426#endif
984263bc
MD
1427 pid_t pid; char pid_[PAD_(pid_t)];
1428 int policy; char policy_[PAD_(int)];
1429 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
1430};
1431struct sched_getscheduler_args {
245e4f17 1432#ifdef _KERNEL
df2244e3 1433 struct sysmsg sysmsg;
245e4f17 1434#endif
984263bc
MD
1435 pid_t pid; char pid_[PAD_(pid_t)];
1436};
1437struct sched_yield_args {
245e4f17 1438#ifdef _KERNEL
df2244e3 1439 struct sysmsg sysmsg;
245e4f17 1440#endif
984263bc
MD
1441 register_t dummy;
1442};
1443struct sched_get_priority_max_args {
245e4f17 1444#ifdef _KERNEL
df2244e3 1445 struct sysmsg sysmsg;
245e4f17 1446#endif
984263bc
MD
1447 int policy; char policy_[PAD_(int)];
1448};
1449struct sched_get_priority_min_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_rr_get_interval_args {
245e4f17 1456#ifdef _KERNEL
df2244e3 1457 struct sysmsg sysmsg;
245e4f17 1458#endif
984263bc
MD
1459 pid_t pid; char pid_[PAD_(pid_t)];
1460 struct timespec * interval; char interval_[PAD_(struct timespec *)];
1461};
1462struct utrace_args {
245e4f17 1463#ifdef _KERNEL
df2244e3 1464 struct sysmsg sysmsg;
245e4f17 1465#endif
984263bc
MD
1466 const void * addr; char addr_[PAD_(const void *)];
1467 size_t len; char len_[PAD_(size_t)];
1468};
1469struct kldsym_args {
245e4f17 1470#ifdef _KERNEL
df2244e3 1471 struct sysmsg sysmsg;
245e4f17 1472#endif
984263bc
MD
1473 int fileid; char fileid_[PAD_(int)];
1474 int cmd; char cmd_[PAD_(int)];
1475 void * data; char data_[PAD_(void *)];
1476};
1477struct jail_args {
245e4f17 1478#ifdef _KERNEL
df2244e3 1479 struct sysmsg sysmsg;
245e4f17 1480#endif
984263bc
MD
1481 struct jail * jail; char jail_[PAD_(struct jail *)];
1482};
1483struct sigprocmask_args {
245e4f17 1484#ifdef _KERNEL
df2244e3 1485 struct sysmsg sysmsg;
245e4f17 1486#endif
984263bc
MD
1487 int how; char how_[PAD_(int)];
1488 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1489 sigset_t * oset; char oset_[PAD_(sigset_t *)];
1490};
1491struct sigsuspend_args {
245e4f17 1492#ifdef _KERNEL
df2244e3 1493 struct sysmsg sysmsg;
245e4f17 1494#endif
984263bc
MD
1495 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
1496};
1497struct sigaction_args {
245e4f17 1498#ifdef _KERNEL
df2244e3 1499 struct sysmsg sysmsg;
245e4f17 1500#endif
984263bc
MD
1501 int sig; char sig_[PAD_(int)];
1502 const struct sigaction * act; char act_[PAD_(const struct sigaction *)];
1503 struct sigaction * oact; char oact_[PAD_(struct sigaction *)];
1504};
1505struct sigpending_args {
245e4f17 1506#ifdef _KERNEL
df2244e3 1507 struct sysmsg sysmsg;
245e4f17 1508#endif
984263bc
MD
1509 sigset_t * set; char set_[PAD_(sigset_t *)];
1510};
1511struct sigreturn_args {
245e4f17 1512#ifdef _KERNEL
df2244e3 1513 struct sysmsg sysmsg;
245e4f17 1514#endif
984263bc
MD
1515 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
1516};
3a59f0f7
DX
1517struct sigtimedwait_args {
1518#ifdef _KERNEL
1519 struct sysmsg sysmsg;
1520#endif
3a59f0f7
DX
1521 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1522 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1523 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1524};
1525struct sigwaitinfo_args {
1526#ifdef _KERNEL
1527 struct sysmsg sysmsg;
1528#endif
3a59f0f7
DX
1529 const sigset_t * set; char set_[PAD_(const sigset_t *)];
1530 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1531};
984263bc 1532struct __acl_get_file_args {
245e4f17 1533#ifdef _KERNEL
df2244e3 1534 struct sysmsg sysmsg;
245e4f17 1535#endif
984263bc
MD
1536 const char * path; char path_[PAD_(const char *)];
1537 acl_type_t type; char type_[PAD_(acl_type_t)];
1538 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1539};
1540struct __acl_set_file_args {
245e4f17 1541#ifdef _KERNEL
df2244e3 1542 struct sysmsg sysmsg;
245e4f17 1543#endif
984263bc
MD
1544 const char * path; char path_[PAD_(const char *)];
1545 acl_type_t type; char type_[PAD_(acl_type_t)];
1546 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1547};
1548struct __acl_get_fd_args {
245e4f17 1549#ifdef _KERNEL
df2244e3 1550 struct sysmsg sysmsg;
245e4f17 1551#endif
984263bc
MD
1552 int filedes; char filedes_[PAD_(int)];
1553 acl_type_t type; char type_[PAD_(acl_type_t)];
1554 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1555};
1556struct __acl_set_fd_args {
245e4f17 1557#ifdef _KERNEL
df2244e3 1558 struct sysmsg sysmsg;
245e4f17 1559#endif
984263bc
MD
1560 int filedes; char filedes_[PAD_(int)];
1561 acl_type_t type; char type_[PAD_(acl_type_t)];
1562 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1563};
1564struct __acl_delete_file_args {
245e4f17 1565#ifdef _KERNEL
df2244e3 1566 struct sysmsg sysmsg;
245e4f17 1567#endif
984263bc
MD
1568 const char * path; char path_[PAD_(const char *)];
1569 acl_type_t type; char type_[PAD_(acl_type_t)];
1570};
1571struct __acl_delete_fd_args {
245e4f17 1572#ifdef _KERNEL
df2244e3 1573 struct sysmsg sysmsg;
245e4f17 1574#endif
984263bc
MD
1575 int filedes; char filedes_[PAD_(int)];
1576 acl_type_t type; char type_[PAD_(acl_type_t)];
1577};
1578struct __acl_aclcheck_file_args {
245e4f17 1579#ifdef _KERNEL
df2244e3 1580 struct sysmsg sysmsg;
245e4f17 1581#endif
984263bc
MD
1582 const char * path; char path_[PAD_(const char *)];
1583 acl_type_t type; char type_[PAD_(acl_type_t)];
1584 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1585};
1586struct __acl_aclcheck_fd_args {
245e4f17 1587#ifdef _KERNEL
df2244e3 1588 struct sysmsg sysmsg;
245e4f17 1589#endif
984263bc
MD
1590 int filedes; char filedes_[PAD_(int)];
1591 acl_type_t type; char type_[PAD_(acl_type_t)];
1592 struct acl * aclp; char aclp_[PAD_(struct acl *)];
1593};
1594struct extattrctl_args {
245e4f17 1595#ifdef _KERNEL
df2244e3 1596 struct sysmsg sysmsg;
245e4f17 1597#endif
984263bc
MD
1598 const char * path; char path_[PAD_(const char *)];
1599 int cmd; char cmd_[PAD_(int)];
92afa1aa
MD
1600 const char * filename; char filename_[PAD_(const char *)];
1601 int attrnamespace; char attrnamespace_[PAD_(int)];
984263bc 1602 const char * attrname; char attrname_[PAD_(const char *)];
984263bc
MD
1603};
1604struct extattr_set_file_args {
245e4f17 1605#ifdef _KERNEL
df2244e3 1606 struct sysmsg sysmsg;
245e4f17 1607#endif
984263bc 1608 const char * path; char path_[PAD_(const char *)];
92afa1aa 1609 int attrnamespace; char attrnamespace_[PAD_(int)];
984263bc 1610 const char * attrname; char attrname_[PAD_(const char *)];
92afa1aa
MD
1611 void * data; char data_[PAD_(void *)];
1612 size_t nbytes; char nbytes_[PAD_(size_t)];
984263bc
MD
1613};
1614struct extattr_get_file_args {
245e4f17 1615#ifdef _KERNEL
df2244e3 1616 struct sysmsg sysmsg;
245e4f17 1617#endif
984263bc 1618 const char * path; char path_[PAD_(const char *)];
92afa1aa 1619 int attrnamespace; char attrnamespace_[PAD_(int)];
984263bc 1620 const char * attrname; char attrname_[PAD_(const char *)];
92afa1aa
MD
1621 void * data; char data_[PAD_(void *)];
1622 size_t nbytes; char nbytes_[PAD_(size_t)];
984263bc
MD
1623};
1624struct extattr_delete_file_args {
245e4f17 1625#ifdef _KERNEL
df2244e3 1626 struct sysmsg sysmsg;
245e4f17 1627#endif
984263bc 1628 const char * path; char path_[PAD_(const char *)];
92afa1aa 1629 int attrnamespace; char attrnamespace_[PAD_(int)];
984263bc
MD
1630 const char * attrname; char attrname_[PAD_(const char *)];
1631};
1632struct aio_waitcomplete_args {
245e4f17 1633#ifdef _KERNEL
df2244e3 1634 struct sysmsg sysmsg;
245e4f17 1635#endif
984263bc
MD
1636 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
1637 struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
1638};
1639struct getresuid_args {
245e4f17 1640#ifdef _KERNEL
df2244e3 1641 struct sysmsg sysmsg;
245e4f17 1642#endif
984263bc
MD
1643 uid_t * ruid; char ruid_[PAD_(uid_t *)];
1644 uid_t * euid; char euid_[PAD_(uid_t *)];
1645 uid_t * suid; char suid_[PAD_(uid_t *)];
1646};
1647struct getresgid_args {
245e4f17 1648#ifdef _KERNEL
df2244e3 1649 struct sysmsg sysmsg;
245e4f17 1650#endif
984263bc
MD
1651 gid_t * rgid; char rgid_[PAD_(gid_t *)];
1652 gid_t * egid; char egid_[PAD_(gid_t *)];
1653 gid_t * sgid; char sgid_[PAD_(gid_t *)];
1654};
1655struct kqueue_args {
245e4f17 1656#ifdef _KERNEL
df2244e3 1657 struct sysmsg sysmsg;
245e4f17 1658#endif
984263bc
MD
1659 register_t dummy;
1660};
1661struct kevent_args {
245e4f17 1662#ifdef _KERNEL
df2244e3 1663 struct sysmsg sysmsg;
245e4f17 1664#endif
984263bc
MD
1665 int fd; char fd_[PAD_(int)];
1666 const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)];
1667 int nchanges; char nchanges_[PAD_(int)];
1668 struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)];
1669 int nevents; char nevents_[PAD_(int)];
1670 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
1671};
78812139
EN
1672struct sctp_peeloff_args {
1673#ifdef _KERNEL
1674 struct sysmsg sysmsg;
1675#endif
78812139
EN
1676 int sd; char sd_[PAD_(int)];
1677 caddr_t name; char name_[PAD_(caddr_t)];
1678};
91fdc001
PA
1679struct lchflags_args {
1680#ifdef _KERNEL
1681 struct sysmsg sysmsg;
1682#endif
1683 char * path; char path_[PAD_(char *)];
1684 int flags; char flags_[PAD_(int)];
1685};
2a0783db
MD
1686struct uuidgen_args {
1687#ifdef _KERNEL
1688 struct sysmsg sysmsg;
1689#endif
1690 struct uuid * store; char store_[PAD_(struct uuid *)];
1691 int count; char count_[PAD_(int)];
1692};
984263bc 1693struct sendfile_args {
245e4f17 1694#ifdef _KERNEL
df2244e3 1695 struct sysmsg sysmsg;
245e4f17 1696#endif
984263bc
MD
1697 int fd; char fd_[PAD_(int)];
1698 int s; char s_[PAD_(int)];
1699 off_t offset; char offset_[PAD_(off_t)];
1700 size_t nbytes; char nbytes_[PAD_(size_t)];
1701 struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)];
1702 off_t * sbytes; char sbytes_[PAD_(off_t *)];
1703 int flags; char flags_[PAD_(int)];
1704};
98a7f915
MD
1705struct varsym_set_args {
1706#ifdef _KERNEL
df2244e3 1707 struct sysmsg sysmsg;
98a7f915 1708#endif
98a7f915
MD
1709 int level; char level_[PAD_(int)];
1710 const char * name; char name_[PAD_(const char *)];
1711 const char * data; char data_[PAD_(const char *)];
1712};
1713struct varsym_get_args {
1714#ifdef _KERNEL
df2244e3 1715 struct sysmsg sysmsg;
98a7f915 1716#endif
98a7f915
MD
1717 int mask; char mask_[PAD_(int)];
1718 const char * wild; char wild_[PAD_(const char *)];
1719 char * buf; char buf_[PAD_(char *)];
1720 int bufsize; char bufsize_[PAD_(int)];
1721};
0a004aa2
MD
1722struct varsym_list_args {
1723#ifdef _KERNEL
df2244e3 1724 struct sysmsg sysmsg;
0a004aa2 1725#endif
0a004aa2
MD
1726 int level; char level_[PAD_(int)];
1727 char * buf; char buf_[PAD_(char *)];
1728 int maxsize; char maxsize_[PAD_(int)];
1729 int * marker; char marker_[PAD_(int *)];
1730};
a722be49
MD
1731struct upc_register_args {
1732#ifdef _KERNEL
1733 struct sysmsg sysmsg;
1734#endif
a722be49
MD
1735 struct upcall * upc; char upc_[PAD_(struct upcall *)];
1736 void * ctxfunc; char ctxfunc_[PAD_(void *)];
1737 void * func; char func_[PAD_(void *)];
1738 void * data; char data_[PAD_(void *)];
1739};
1740struct upc_control_args {
1741#ifdef _KERNEL
1742 struct sysmsg sysmsg;
1743#endif
a722be49
MD
1744 int cmd; char cmd_[PAD_(int)];
1745 int upcid; char upcid_[PAD_(int)];
1746 void * data; char data_[PAD_(void *)];
1747};
1bc8e992
MD
1748struct caps_sys_service_args {
1749#ifdef _KERNEL
1750 struct sysmsg sysmsg;
1751#endif
1bc8e992
MD
1752 const char * name; char name_[PAD_(const char *)];
1753 uid_t uid; char uid_[PAD_(uid_t)];
1754 gid_t gid; char gid_[PAD_(gid_t)];
1755 int upcid; char upcid_[PAD_(int)];
1756 int flags; char flags_[PAD_(int)];
1757};
1758struct caps_sys_client_args {
1759#ifdef _KERNEL
1760 struct sysmsg sysmsg;
1761#endif
1bc8e992
MD
1762 const char * name; char name_[PAD_(const char *)];
1763 uid_t uid; char uid_[PAD_(uid_t)];
1764 gid_t gid; char gid_[PAD_(gid_t)];
1765 int upcid; char upcid_[PAD_(int)];
1766 int flags; char flags_[PAD_(int)];
1767};
1768struct caps_sys_close_args {
1769#ifdef _KERNEL
1770 struct sysmsg sysmsg;
1771#endif
1bc8e992
MD
1772 int portid; char portid_[PAD_(int)];
1773};
1774struct caps_sys_put_args {
1775#ifdef _KERNEL
1776 struct sysmsg sysmsg;
1777#endif
1bc8e992
MD
1778 int portid; char portid_[PAD_(int)];
1779 void * msg; char msg_[PAD_(void *)];
1780 int msgsize; char msgsize_[PAD_(int)];
1781};
1782struct caps_sys_reply_args {
1783#ifdef _KERNEL
1784 struct sysmsg sysmsg;
1785#endif
1bc8e992
MD
1786 int portid; char portid_[PAD_(int)];
1787 void * msg; char msg_[PAD_(void *)];
1788 int msgsize; char msgsize_[PAD_(int)];
1789 off_t msgcid; char msgcid_[PAD_(off_t)];
1790};
1791struct caps_sys_get_args {
1792#ifdef _KERNEL
1793 struct sysmsg sysmsg;
1794#endif
1bc8e992
MD
1795 int portid; char portid_[PAD_(int)];
1796 void * msg; char msg_[PAD_(void *)];
1797 int maxsize; char maxsize_[PAD_(int)];
1798 struct caps_msgid * msgid; char msgid_[PAD_(struct caps_msgid *)];
1799 struct caps_cred * ccr; char ccr_[PAD_(struct caps_cred *)];
1800};
1801struct caps_sys_wait_args {
1802#ifdef _KERNEL
1803 struct sysmsg sysmsg;
1804#endif
1bc8e992
MD
1805 int portid; char portid_[PAD_(int)];
1806 void * msg; char msg_[PAD_(void *)];
1807 int maxsize; char maxsize_[PAD_(int)];
1808 struct caps_msgid * msgid; char msgid_[PAD_(struct caps_msgid *)];
1809 struct caps_cred * ccr; char ccr_[PAD_(struct caps_cred *)];
1810};
1811struct caps_sys_abort_args {
1812#ifdef _KERNEL
1813 struct sysmsg sysmsg;
1814#endif
1bc8e992
MD
1815 int portid; char portid_[PAD_(int)];
1816 off_t msgcid; char msgcid_[PAD_(off_t)];
1817 int flags; char flags_[PAD_(int)];
1818};
e30f9e2c
MD
1819struct caps_sys_getgen_args {
1820#ifdef _KERNEL
1821 struct sysmsg sysmsg;
1822#endif
e30f9e2c
MD
1823 int portid; char portid_[PAD_(int)];
1824};
1825struct caps_sys_setgen_args {
1826#ifdef _KERNEL
1827 struct sysmsg sysmsg;
1828#endif
e30f9e2c
MD
1829 int portid; char portid_[PAD_(int)];
1830 off_t gen; char gen_[PAD_(off_t)];
1831};
29802dbb
MD
1832struct exec_sys_register_args {
1833#ifdef _KERNEL
1834 struct sysmsg sysmsg;
1835#endif
29802dbb
MD
1836 void * entry; char entry_[PAD_(void *)];
1837};
1838struct exec_sys_unregister_args {
1839#ifdef _KERNEL
1840 struct sysmsg sysmsg;
1841#endif
29802dbb
MD
1842 int id; char id_[PAD_(int)];
1843};
0ba6fbbf
MD
1844struct sys_checkpoint_args {
1845#ifdef _KERNEL
1846 struct sysmsg sysmsg;
1847#endif
0ba6fbbf
MD
1848 int type; char type_[PAD_(int)];
1849 int fd; char fd_[PAD_(int)];
1850 pid_t pid; char pid_[PAD_(pid_t)];
1851 int retval; char retval_[PAD_(int)];
1852};
949ecb9b
MD
1853struct mountctl_args {
1854#ifdef _KERNEL
1855 struct sysmsg sysmsg;
1856#endif
da5fb9ef 1857 const char * path; char path_[PAD_(const char *)];
949ecb9b 1858 int op; char op_[PAD_(int)];
2281065e 1859 int fd; char fd_[PAD_(int)];
949ecb9b
MD
1860 const void * ctl; char ctl_[PAD_(const void *)];
1861 int ctllen; char ctllen_[PAD_(int)];
1862 void * buf; char buf_[PAD_(void *)];
1863 int buflen; char buflen_[PAD_(int)];
1864};
da5fb9ef
MD
1865struct umtx_sleep_args {
1866#ifdef _KERNEL
1867 struct sysmsg sysmsg;
1868#endif
76798859 1869 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
da5fb9ef
MD
1870 int value; char value_[PAD_(int)];
1871 int timeout; char timeout_[PAD_(int)];
1872};
1873struct umtx_wakeup_args {
1874#ifdef _KERNEL
1875 struct sysmsg sysmsg;
1876#endif
76798859 1877 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
da5fb9ef
MD
1878 int count; char count_[PAD_(int)];
1879};
b9fca94d
JS
1880struct jail_attach_args {
1881#ifdef _KERNEL
1882 struct sysmsg sysmsg;
1883#endif
b9fca94d
JS
1884 int jid; char jid_[PAD_(int)];
1885};
ba491dfb 1886struct set_tls_area_args {
806bf111
MD
1887#ifdef _KERNEL
1888 struct sysmsg sysmsg;
1889#endif
806bf111
MD
1890 int which; char which_[PAD_(int)];
1891 struct tls_info * info; char info_[PAD_(struct tls_info *)];
8383d6cf 1892 size_t infosize; char infosize_[PAD_(size_t)];
806bf111 1893};
ba491dfb 1894struct get_tls_area_args {
806bf111
MD
1895#ifdef _KERNEL
1896 struct sysmsg sysmsg;
1897#endif
806bf111
MD
1898 int which; char which_[PAD_(int)];
1899 struct tls_info * info; char info_[PAD_(struct tls_info *)];
8383d6cf 1900 size_t infosize; char infosize_[PAD_(size_t)];
806bf111 1901};
ae5995b9
JS
1902struct closefrom_args {
1903#ifdef _KERNEL
1904 struct sysmsg sysmsg;
1905#endif
ae5995b9
JS
1906 int fd; char fd_[PAD_(int)];
1907};
f1787048
JS
1908struct stat_args {
1909#ifdef _KERNEL
1910 struct sysmsg sysmsg;
1911#endif
f1787048
JS
1912 const char * path; char path_[PAD_(const char *)];
1913 struct stat * ub; char ub_[PAD_(struct stat *)];
1914};
1915struct fstat_args {
1916#ifdef _KERNEL
1917 struct sysmsg sysmsg;
1918#endif
f1787048
JS
1919 int fd; char fd_[PAD_(int)];
1920 struct stat * sb; char sb_[PAD_(struct stat *)];
1921};
1922struct lstat_args {
1923#ifdef _KERNEL
1924 struct sysmsg sysmsg;
1925#endif
f1787048
JS
1926 const char * path; char path_[PAD_(const char *)];
1927 struct stat * ub; char ub_[PAD_(struct stat *)];
1928};
1929struct fhstat_args {
4fd10eb6 1930#ifdef _KERNEL
f1787048
JS
1931 struct sysmsg sysmsg;
1932#endif
f1787048
JS
1933 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1934 struct stat * sb; char sb_[PAD_(struct stat *)];
1935};
01f31ab3
JS
1936struct getdirentries_args {
1937#ifdef _KERNEL
1938 struct sysmsg sysmsg;
1939#endif
01f31ab3
JS
1940 int fd; char fd_[PAD_(int)];
1941 char * buf; char buf_[PAD_(char *)];
1942 u_int count; char count_[PAD_(u_int)];
1943 long * basep; char basep_[PAD_(long *)];
1944};
1945struct getdents_args {
1946#ifdef _KERNEL
1947 struct sysmsg sysmsg;
1948#endif
01f31ab3
JS
1949 int fd; char fd_[PAD_(int)];
1950 char * buf; char buf_[PAD_(char *)];
1951 size_t count; char count_[PAD_(size_t)];
1952};
cb7f4ab1
MD
1953struct usched_set_args {
1954#ifdef _KERNEL
1955 struct sysmsg sysmsg;
1956#endif
ff256ae7
DX
1957 pid_t pid; char pid_[PAD_(pid_t)];
1958 int cmd; char cmd_[PAD_(int)];
1959 void * data; char data_[PAD_(void *)];
1960 int bytes; char bytes_[PAD_(int)];
cb7f4ab1 1961};
b09fd398 1962struct extaccept_args {
358e1f78
MD
1963#ifdef _KERNEL
1964 struct sysmsg sysmsg;
1965#endif
1966 int s; char s_[PAD_(int)];
1967 int flags; char flags_[PAD_(int)];
1968 caddr_t name; char name_[PAD_(caddr_t)];
1969 int * anamelen; char anamelen_[PAD_(int *)];
1970};
b09fd398 1971struct extconnect_args {
358e1f78
MD
1972#ifdef _KERNEL
1973 struct sysmsg sysmsg;
1974#endif
1975 int s; char s_[PAD_(int)];
1976 int flags; char flags_[PAD_(int)];
1977 caddr_t name; char name_[PAD_(caddr_t)];
1978 int namelen; char namelen_[PAD_(int)];
1979};
e143cb06
MD
1980struct syslink_args {
1981#ifdef _KERNEL
1982 struct sysmsg sysmsg;
1983#endif
bffded52 1984 int cmd; char cmd_[PAD_(int)];
63db58ad
MD
1985 struct syslink_info * info; char info_[PAD_(struct syslink_info *)];
1986 size_t bytes; char bytes_[PAD_(size_t)];
e143cb06 1987};
d3313941
MD
1988struct mcontrol_args {
1989#ifdef _KERNEL
1990 struct sysmsg sysmsg;
1991#endif
1992 void * addr; char addr_[PAD_(void *)];
1993 size_t len; char len_[PAD_(size_t)];
1994 int behav; char behav_[PAD_(int)];
1995 off_t value; char value_[PAD_(off_t)];
1996};
1997struct vmspace_create_args {
133aabc4
MD
1998#ifdef _KERNEL
1999 struct sysmsg sysmsg;
2000#endif
2001 void * id; char id_[PAD_(void *)];
d3313941
MD
2002 int type; char type_[PAD_(int)];
2003 void * data; char data_[PAD_(void *)];
133aabc4 2004};
d3313941 2005struct vmspace_destroy_args {
133aabc4
MD
2006#ifdef _KERNEL
2007 struct sysmsg sysmsg;
2008#endif
2009 void * id; char id_[PAD_(void *)];
133aabc4 2010};
d3313941 2011struct vmspace_ctl_args {
133aabc4
MD
2012#ifdef _KERNEL
2013 struct sysmsg sysmsg;
2014#endif
2015 void * id; char id_[PAD_(void *)];
d3313941 2016 int cmd; char cmd_[PAD_(int)];
4e7c41c5
MD
2017 struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)];
2018 struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)];
133aabc4 2019};
d3313941 2020struct vmspace_mmap_args {
133aabc4
MD
2021#ifdef _KERNEL
2022 struct sysmsg sysmsg;
2023#endif
2024 void * id; char id_[PAD_(void *)];
d3313941
MD
2025 void * addr; char addr_[PAD_(void *)];
2026 size_t len; char len_[PAD_(size_t)];
2027 int prot; char prot_[PAD_(int)];
2028 int flags; char flags_[PAD_(int)];
2029 int fd; char fd_[PAD_(int)];
2030 off_t offset; char offset_[PAD_(off_t)];
133aabc4 2031};
d3313941 2032struct vmspace_munmap_args {
133aabc4
MD
2033#ifdef _KERNEL
2034 struct sysmsg sysmsg;
2035#endif
2036 void * id; char id_[PAD_(void *)];
d3313941
MD
2037 void * addr; char addr_[PAD_(void *)];
2038 size_t len; char len_[PAD_(size_t)];
133aabc4 2039};
d3313941 2040struct vmspace_mcontrol_args {
afeabdca
MD
2041#ifdef _KERNEL
2042 struct sysmsg sysmsg;
2043#endif
d3313941 2044 void * id; char id_[PAD_(void *)];
afeabdca
MD
2045 void * addr; char addr_[PAD_(void *)];
2046 size_t len; char len_[PAD_(size_t)];
2047 int behav; char behav_[PAD_(int)];
2048 off_t value; char value_[PAD_(off_t)];
2049};
021a4ed4
MD
2050struct vmspace_pread_args {
2051#ifdef _KERNEL
2052 struct sysmsg sysmsg;
2053#endif
2054 void * id; char id_[PAD_(void *)];
2055 void * buf; char buf_[PAD_(void *)];
2056 size_t nbyte; char nbyte_[PAD_(size_t)];
2057 int flags; char flags_[PAD_(int)];
2058 off_t offset; char offset_[PAD_(off_t)];
2059};
2060struct vmspace_pwrite_args {
2061#ifdef _KERNEL
2062 struct sysmsg sysmsg;
2063#endif
2064 void * id; char id_[PAD_(void *)];
2065 const void * buf; char buf_[PAD_(const void *)];
2066 size_t nbyte; char nbyte_[PAD_(size_t)];
2067 int flags; char flags_[PAD_(int)];
2068 off_t offset; char offset_[PAD_(off_t)];
2069};
a704dbd9
SS
2070struct extexit_args {
2071#ifdef _KERNEL
2072 struct sysmsg sysmsg;
2073#endif
2074 int how; char how_[PAD_(int)];
2075 int status; char status_[PAD_(int)];
2076 void * addr; char addr_[PAD_(void *)];
2077};
a0a27cfb
SS
2078struct lwp_create_args {
2079#ifdef _KERNEL
2080 struct sysmsg sysmsg;
2081#endif
2082 struct lwp_params * params; char params_[PAD_(struct lwp_params *)];
2083};
c2e552b5
SS
2084struct lwp_gettid_args {
2085#ifdef _KERNEL
2086 struct sysmsg sysmsg;
2087#endif
2088 register_t dummy;
2089};
2090struct lwp_kill_args {
2091#ifdef _KERNEL
2092 struct sysmsg sysmsg;
2093#endif
2094 pid_t pid; char pid_[PAD_(pid_t)];
2095 lwpid_t tid; char tid_[PAD_(lwpid_t)];
2096 int signum; char signum_[PAD_(int)];
2097};
649d3bd2
MD
2098struct lwp_rtprio_args {
2099#ifdef _KERNEL
2100 struct sysmsg sysmsg;
2101#endif
2102 int function; char function_[PAD_(int)];
2103 pid_t pid; char pid_[PAD_(pid_t)];
2104 lwpid_t tid; char tid_[PAD_(lwpid_t)];
2105 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
2106};
ae7cb1b5
NT
2107struct pselect_args {
2108#ifdef _KERNEL
2109 struct sysmsg sysmsg;
2110#endif
2111 int nd; char nd_[PAD_(int)];
2112 fd_set * in; char in_[PAD_(fd_set *)];
2113 fd_set * ou; char ou_[PAD_(fd_set *)];
2114 fd_set * ex; char ex_[PAD_(fd_set *)];
2115 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
2116 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
2117};
d9fad06e
MD
2118struct statvfs_args {
2119#ifdef _KERNEL
2120 struct sysmsg sysmsg;
2121#endif
2122 const char * path; char path_[PAD_(const char *)];
2123 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2124};
2125struct fstatvfs_args {
2126#ifdef _KERNEL
2127 struct sysmsg sysmsg;
2128#endif
2129 int fd; char fd_[PAD_(int)];
2130 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2131};
2132struct fhstatvfs_args {
2133#ifdef _KERNEL
2134 struct sysmsg sysmsg;
2135#endif
2136 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2137 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
2138};
00fe9d48
MD
2139struct getvfsstat_args {
2140#ifdef _KERNEL
2141 struct sysmsg sysmsg;
2142#endif
2143 struct statfs * buf; char buf_[PAD_(struct statfs *)];
2144 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)];
2145 long vbufsize; char vbufsize_[PAD_(long)];
2146 int flags; char flags_[PAD_(int)];
2147};
83a11774
NT
2148struct openat_args {
2149#ifdef _KERNEL
2150 struct sysmsg sysmsg;
2151#endif
2152 int fd; char fd_[PAD_(int)];
2153 char * path; char path_[PAD_(char *)];
2154 int flags; char flags_[PAD_(int)];
2155 int mode; char mode_[PAD_(int)];
2156};
e101a3f4
NT
2157struct fstatat_args {
2158#ifdef _KERNEL
2159 struct sysmsg sysmsg;
2160#endif
2161 int fd; char fd_[PAD_(int)];
2162 char * path; char path_[PAD_(char *)];
2163 struct stat * sb; char sb_[PAD_(struct stat *)];
2164 int flags; char flags_[PAD_(int)];
2165};
8cde3c79
NT
2166struct fchmodat_args {
2167#ifdef _KERNEL
2168 struct sysmsg sysmsg;
2169#endif
2170 int fd; char fd_[PAD_(int)];
2171 char * path; char path_[PAD_(char *)];
2172 int mode; char mode_[PAD_(int)];
2173 int flags; char flags_[PAD_(int)];
2174};
32013176
NT
2175struct fchownat_args {
2176#ifdef _KERNEL
2177 struct sysmsg sysmsg;
2178#endif
2179 int fd; char fd_[PAD_(int)];
2180 char * path; char path_[PAD_(char *)];
2181 int uid; char uid_[PAD_(int)];
2182 int gid; char gid_[PAD_(int)];
2183 int flags; char flags_[PAD_(int)];
2184};
3a6d8629
NT
2185struct unlinkat_args {
2186#ifdef _KERNEL
2187 struct sysmsg sysmsg;
2188#endif
2189 int fd; char fd_[PAD_(int)];
2190 char * path; char path_[PAD_(char *)];
2191 int flags; char flags_[PAD_(int)];
2192};
18cf460b
NT
2193struct faccessat_args {
2194#ifdef _KERNEL
2195 struct sysmsg sysmsg;
2196#endif
2197 int fd; char fd_[PAD_(int)];
2198 char * path; char path_[PAD_(char *)];
2199 int amode; char amode_[PAD_(int)];
2200 int flags; char flags_[PAD_(int)];
2201};
0b96c93b
SK
2202struct mq_open_args {
2203#ifdef _KERNEL
2204 struct sysmsg sysmsg;
2205#endif
2206 const char * name; char name_[PAD_(const char *)];
2207 int oflag; char oflag_[PAD_(int)];
2208 mode_t mode; char mode_[PAD_(mode_t)];
2209 struct mq_attr * attr; char attr_[PAD_(struct mq_attr *)];
2210};
2211struct mq_close_args {
2212#ifdef _KERNEL
2213 struct sysmsg sysmsg;
2214#endif
2215 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2216};
2217struct mq_unlink_args {
2218#ifdef _KERNEL
2219 struct sysmsg sysmsg;
2220#endif
2221 const char * name; char name_[PAD_(const char *)];
2222};
2223struct mq_getattr_args {
2224#ifdef _KERNEL
2225 struct sysmsg sysmsg;
2226#endif
2227 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2228 struct mq_attr * mqstat; char mqstat_[PAD_(struct mq_attr *)];
2229};
2230struct mq_setattr_args {
2231#ifdef _KERNEL
2232 struct sysmsg sysmsg;
2233#endif
2234 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2235 const struct mq_attr * mqstat; char mqstat_[PAD_(const struct mq_attr *)];
2236 struct mq_attr * omqstat; char omqstat_[PAD_(struct mq_attr *)];
2237};
2238struct mq_notify_args {
2239#ifdef _KERNEL
2240 struct sysmsg sysmsg;
2241#endif
2242 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2243 const struct sigevent * notification; char notification_[PAD_(const struct sigevent *)];
2244};
2245struct mq_send_args {
2246#ifdef _KERNEL
2247 struct sysmsg sysmsg;
2248#endif
2249 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2250 const char * msg_ptr; char msg_ptr_[PAD_(const char *)];
2251 size_t msg_len; char msg_len_[PAD_(size_t)];
2252 unsigned msg_prio; char msg_prio_[PAD_(unsigned)];
2253};
2254struct mq_receive_args {
2255#ifdef _KERNEL
2256 struct sysmsg sysmsg;
2257#endif
2258 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2259 char * msg_ptr; char msg_ptr_[PAD_(char *)];
2260 size_t msg_len; char msg_len_[PAD_(size_t)];
2261 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)];
2262};
2263struct mq_timedsend_args {
2264#ifdef _KERNEL
2265 struct sysmsg sysmsg;
2266#endif
2267 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2268 const char * msg_ptr; char msg_ptr_[PAD_(const char *)];
2269 size_t msg_len; char msg_len_[PAD_(size_t)];
2270 unsigned msg_prio; char msg_prio_[PAD_(unsigned)];
2271 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)];
2272};
2273struct mq_timedreceive_args {
2274#ifdef _KERNEL
2275 struct sysmsg sysmsg;
2276#endif
2277 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
2278 char * msg_ptr; char msg_ptr_[PAD_(char *)];
2279 size_t msg_len; char msg_len_[PAD_(size_t)];
2280 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)];
2281 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)];
2282};
aa166ad1
AH
2283struct ioprio_set_args {
2284#ifdef _KERNEL
2285 struct sysmsg sysmsg;
2286#endif
2287 int which; char which_[PAD_(int)];
2288 int who; char who_[PAD_(int)];
2289 int prio; char prio_[PAD_(int)];
2290};
2291struct ioprio_get_args {
2292#ifdef _KERNEL
2293 struct sysmsg sysmsg;
2294#endif
2295 int which; char which_[PAD_(int)];
2296 int who; char who_[PAD_(int)];
2297};
72f12c5b
AH
2298struct chroot_kernel_args {
2299#ifdef _KERNEL
2300 struct sysmsg sysmsg;
2301#endif
2302 char * path; char path_[PAD_(char *)];
2303};
c7238745
SW
2304struct renameat_args {
2305#ifdef _KERNEL
2306 struct sysmsg sysmsg;
2307#endif
2308 int oldfd; char oldfd_[PAD_(int)];
2309 char * old; char old_[PAD_(char *)];
2310 int newfd; char newfd_[PAD_(int)];
2311 char * new; char new_[PAD_(char *)];
2312};
6d98f93c
SW
2313struct mkdirat_args {
2314#ifdef _KERNEL
2315 struct sysmsg sysmsg;
2316#endif
2317 int fd; char fd_[PAD_(int)];
2318 char * path; char path_[PAD_(char *)];
2319 mode_t mode; char mode_[PAD_(mode_t)];
2320};
2321struct mkfifoat_args {
2322#ifdef _KERNEL
2323 struct sysmsg sysmsg;
2324#endif
2325 int fd; char fd_[PAD_(int)];
2326 char * path; char path_[PAD_(char *)];
2327 mode_t mode; char mode_[PAD_(mode_t)];
2328};
2329struct mknodat_args {
2330#ifdef _KERNEL
2331 struct sysmsg sysmsg;
2332#endif
2333 int fd; char fd_[PAD_(int)];
2334 char * path; char path_[PAD_(char *)];
2335 mode_t mode; char mode_[PAD_(mode_t)];
2336 dev_t dev; char dev_[PAD_(dev_t)];
2337};
2338struct readlinkat_args {
2339#ifdef _KERNEL
2340 struct sysmsg sysmsg;
2341#endif
2342 int fd; char fd_[PAD_(int)];
2343 char * path; char path_[PAD_(char *)];
2344 char * buf; char buf_[PAD_(char *)];
2345 size_t bufsize; char bufsize_[PAD_(size_t)];
2346};
2347struct symlinkat_args {
2348#ifdef _KERNEL
2349 struct sysmsg sysmsg;
2350#endif
2351 char * path1; char path1_[PAD_(char *)];
2352 int fd; char fd_[PAD_(int)];
2353 char * path2; char path2_[PAD_(char *)];
2354};
f1787048
JS
2355
2356#ifdef COMPAT_43
4fd10eb6 2357
17e1a2b5 2358#ifdef COMPAT_43
17e1a2b5 2359#endif
984263bc 2360struct ocreat_args {
245e4f17 2361#ifdef _KERNEL
df2244e3 2362 struct sysmsg sysmsg;
245e4f17 2363#endif
984263bc
MD
2364 char * path; char path_[PAD_(char *)];
2365 int mode; char mode_[PAD_(int)];
2366};
2367struct olseek_args {
245e4f17 2368#ifdef _KERNEL
df2244e3 2369 struct sysmsg sysmsg;
245e4f17 2370#endif
984263bc
MD
2371 int fd; char fd_[PAD_(int)];
2372 long offset; char offset_[PAD_(long)];
2373 int whence; char whence_[PAD_(int)];
2374};
2375struct ostat_args {
245e4f17 2376#ifdef _KERNEL
df2244e3 2377 struct sysmsg sysmsg;
245e4f17 2378#endif
984263bc
MD
2379 char * path; char path_[PAD_(char *)];
2380 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2381};
2382struct olstat_args {
245e4f17 2383#ifdef _KERNEL
df2244e3 2384 struct sysmsg sysmsg;
245e4f17 2385#endif
984263bc
MD
2386 char * path; char path_[PAD_(char *)];
2387 struct ostat * ub; char ub_[PAD_(struct ostat *)];
2388};
984263bc 2389struct ofstat_args {
245e4f17 2390#ifdef _KERNEL
df2244e3 2391 struct sysmsg sysmsg;
245e4f17 2392#endif
984263bc
MD
2393 int fd; char fd_[PAD_(int)];
2394 struct ostat * sb; char sb_[PAD_(struct ostat *)];
2395};
2396struct getkerninfo_args {
245e4f17 2397#ifdef _KERNEL
df2244e3 2398 struct sysmsg sysmsg;
245e4f17 2399#endif
984263bc
MD
2400 int op; char op_[PAD_(int)];
2401 char * where; char where_[PAD_(char *)];
2402 size_t * size; char size_[PAD_(size_t *)];
2403 int arg; char arg_[PAD_(int)];
2404};
2405struct ommap_args {
245e4f17 2406#ifdef _KERNEL
df2244e3 2407 struct sysmsg sysmsg;
245e4f17 2408#endif
984263bc
MD
2409 void * addr; char addr_[PAD_(void *)];
2410 int len; char len_[PAD_(int)];
2411 int prot; char prot_[PAD_(int)];
2412 int flags; char flags_[PAD_(int)];
2413 int fd; char fd_[PAD_(int)];
2414 long pos; char pos_[PAD_(long)];
2415};
83b1807f
SG
2416struct ovadvise_args {
2417#ifdef _KERNEL
2418 struct sysmsg sysmsg;
2419#endif
2420 int anom; char anom_[PAD_(int)];
2421};
984263bc 2422struct gethostname_args {
245e4f17 2423#ifdef _KERNEL
df2244e3 2424 struct sysmsg sysmsg;
245e4f17 2425#endif
984263bc
MD
2426 char * hostname; char hostname_[PAD_(char *)];
2427 u_int len; char len_[PAD_(u_int)];
2428};
2429struct sethostname_args {
245e4f17 2430#ifdef _KERNEL
df2244e3 2431 struct sysmsg sysmsg;
245e4f17 2432#endif
984263bc
MD
2433 char * hostname; char hostname_[PAD_(char *)];
2434 u_int len; char len_[PAD_(u_int)];
2435};
2436struct osend_args {
245e4f17 2437#ifdef _KERNEL
df2244e3 2438 struct sysmsg sysmsg;
245e4f17 2439#endif
984263bc
MD
2440 int s; char s_[PAD_(int)];
2441 caddr_t buf; char buf_[PAD_(caddr_t)];
2442 int len; char len_[PAD_(int)];
2443 int flags; char flags_[PAD_(int)];
2444};
2445struct orecv_args {
245e4f17 2446#ifdef _KERNEL
df2244e3 2447 struct sysmsg sysmsg;
245e4f17 2448#endif
984263bc
MD
2449 int s; char s_[PAD_(int)];
2450 caddr_t buf; char buf_[PAD_(caddr_t)];
2451 int len; char len_[PAD_(int)];
2452 int flags; char flags_[PAD_(int)];
2453};
984263bc 2454struct osigvec_args {
245e4f17 2455#ifdef _KERNEL
df2244e3 2456 struct sysmsg sysmsg;
245e4f17 2457#endif
984263bc
MD
2458 int signum; char signum_[PAD_(int)];
2459 struct sigvec * nsv; char nsv_[PAD_(struct sigvec *)];
2460 struct sigvec * osv; char osv_[PAD_(struct sigvec *)];
2461};
2462struct osigblock_args {
245e4f17 2463#ifdef _KERNEL
df2244e3 2464 struct sysmsg sysmsg;
245e4f17 2465#endif
984263bc
MD
2466 int mask; char mask_[PAD_(int)];
2467};
2468struct osigsetmask_args {
245e4f17 2469#ifdef _KERNEL
df2244e3 2470 struct sysmsg sysmsg;
245e4f17 2471#endif
984263bc
MD
2472 int mask; char mask_[PAD_(int)];
2473};
984263bc 2474struct osigstack_args {
245e4f17 2475#ifdef _KERNEL
df2244e3 2476 struct sysmsg sysmsg;
245e4f17 2477#endif
984263bc
MD
2478 struct sigstack * nss; char nss_[PAD_(struct sigstack *)];
2479 struct sigstack * oss; char oss_[PAD_(struct sigstack *)];
2480};
2481struct orecvmsg_args {
245e4f17 2482#ifdef _KERNEL
df2244e3 2483 struct sysmsg sysmsg;
245e4f17 2484#endif
984263bc
MD
2485 int s; char s_[PAD_(int)];
2486 struct omsghdr * msg; char msg_[PAD_(struct omsghdr *)];
2487 int flags; char flags_[PAD_(int)];
2488};
2489struct osendmsg_args {
245e4f17 2490#ifdef _KERNEL
df2244e3 2491 struct sysmsg sysmsg;
245e4f17 2492#endif
984263bc
MD
2493 int s; char s_[PAD_(int)];
2494 caddr_t msg; char msg_[PAD_(caddr_t)];
2495 int flags; char flags_[PAD_(int)];
2496};
2497struct otruncate_args {
245e4f17 2498#ifdef _KERNEL
df2244e3 2499 struct sysmsg sysmsg;
245e4f17 2500#endif
984263bc
MD
2501 char * path; char path_[PAD_(char *)];
2502 long length; char length_[PAD_(long)];
2503};
2504struct oftruncate_args {
245e4f17 2505#ifdef _KERNEL
df2244e3 2506 struct sysmsg sysmsg;
245e4f17 2507#endif
984263bc
MD
2508 int fd; char fd_[PAD_(int)];
2509 long length; char length_[PAD_(long)];
2510};
2511struct ogetpeername_args {
245e4f17 2512#ifdef _KERNEL
df2244e3 2513 struct sysmsg sysmsg;
245e4f17 2514#endif
984263bc
MD
2515 int fdes; char fdes_[PAD_(int)];
2516 caddr_t asa; char asa_[PAD_(caddr_t)];
2517 int * alen; char alen_[PAD_(int *)];
2518};
2519struct osethostid_args {
245e4f17 2520#ifdef _KERNEL
df2244e3 2521 struct sysmsg sysmsg;
245e4f17 2522#endif
984263bc
MD
2523 long hostid; char hostid_[PAD_(long)];
2524};
2525struct ogetrlimit_args {
245e4f17 2526#ifdef _KERNEL
df2244e3 2527 struct sysmsg sysmsg;
245e4f17 2528#endif
984263bc
MD
2529 u_int which; char which_[PAD_(u_int)];
2530 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2531};
2532struct osetrlimit_args {
245e4f17 2533#ifdef _KERNEL
df2244e3 2534 struct sysmsg sysmsg;
245e4f17 2535#endif
984263bc
MD
2536 u_int which; char which_[PAD_(u_int)];
2537 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
2538};
2539struct okillpg_args {
245e4f17 2540#ifdef _KERNEL
df2244e3 2541 struct sysmsg sysmsg;
245e4f17 2542#endif
984263bc
MD
2543 int pgid; char pgid_[PAD_(int)];
2544 int signum; char signum_[PAD_(int)];
2545};
2546struct ogetdirentries_args {
245e4f17 2547#ifdef _KERNEL
df2244e3 2548 struct sysmsg sysmsg;
245e4f17 2549#endif
984263bc
MD
2550 int fd; char fd_[PAD_(int)];
2551 char * buf; char buf_[PAD_(char *)];
2552 u_int count; char count_[PAD_(u_int)];
2553 long * basep; char basep_[PAD_(long *)];
2554};
4fd10eb6
MD
2555
2556#ifdef _KERNEL
2557
753fd850
MD
2558int sys_ocreat (struct ocreat_args *);
2559int sys_olseek (struct olseek_args *);
2560int sys_ostat (struct ostat_args *);
2561int sys_olstat (struct olstat_args *);
2562int sys_ofstat (struct ofstat_args *);
2563int sys_ogetkerninfo (struct getkerninfo_args *);
2564int sys_ogetpagesize (struct getpagesize_args *);
2565int sys_ommap (struct ommap_args *);
83b1807f 2566int sys_ovadvise (struct ovadvise_args *);
753fd850
MD
2567int sys_owait (struct owait_args *);
2568int sys_ogethostname (struct gethostname_args *);
2569int sys_osethostname (struct sethostname_args *);
2570int sys_oaccept (struct accept_args *);
2571int sys_osend (struct osend_args *);
2572int sys_orecv (struct orecv_args *);
2573int sys_osigvec (struct osigvec_args *);
2574int sys_osigblock (struct osigblock_args *);
2575int sys_osigsetmask (struct osigsetmask_args *);
2576int sys_osigstack (struct osigstack_args *);
2577int sys_orecvmsg (struct orecvmsg_args *);
2578int sys_osendmsg (struct osendmsg_args *);
2579int sys_orecvfrom (struct recvfrom_args *);
2580int sys_otruncate (struct otruncate_args *);
2581int sys_oftruncate (struct oftruncate_args *);
2582int sys_ogetpeername (struct ogetpeername_args *);
2583int sys_ogethostid (struct ogethostid_args *);
2584int sys_osethostid (struct osethostid_args *);
2585int sys_ogetrlimit (struct ogetrlimit_args *);
2586int sys_osetrlimit (struct osetrlimit_args *);
2587int sys_okillpg (struct okillpg_args *);
2588int sys_oquota (struct oquota_args *);
2589int sys_ogetsockname (struct getsockname_args *);
2590int sys_ogetdirentries (struct ogetdirentries_args *);
984263bc 2591
4fd10eb6
MD
2592#endif /* _KERNEL */
2593
984263bc
MD
2594#endif /* COMPAT_43 */
2595
f1787048
JS
2596
2597#ifdef COMPAT_DF12
2598
2599#ifdef COMPAT_43
2600#endif
2601struct dfbsd12_stat_args {
2602#ifdef _KERNEL
2603 struct sysmsg sysmsg;
2604#endif
f1787048
JS
2605 const char * path; char path_[PAD_(const char *)];
2606 struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)];
2607};
2608struct dfbsd12_fstat_args {
2609#ifdef _KERNEL
2610 struct sysmsg sysmsg;
2611#endif
f1787048
JS
2612 int fd; char fd_[PAD_(int)];
2613 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2614};
2615struct dfbsd12_lstat_args {
2616#ifdef _KERNEL
2617 struct sysmsg sysmsg;
2618#endif
f1787048
JS
2619 const char * path; char path_[PAD_(const char *)];
2620 struct dfbsd12_stat * ub; char ub_[PAD_(struct dfbsd12_stat *)];
2621};
01f31ab3
JS
2622struct dfbsd12_getdirentries_args {
2623#ifdef _KERNEL
2624 struct sysmsg sysmsg;
2625#endif
01f31ab3
JS
2626 int fd; char fd_[PAD_(int)];
2627 char * buf; char buf_[PAD_(char *)];
2628 u_int count; char count_[PAD_(u_int)];
2629 long * basep; char basep_[PAD_(long *)];
2630};
2631struct dfbsd12_getdents_args {
2632#ifdef _KERNEL
2633 struct sysmsg sysmsg;
2634#endif
01f31ab3
JS
2635 int fd; char fd_[PAD_(int)];
2636 char * buf; char buf_[PAD_(char *)];
2637 size_t count; char count_[PAD_(size_t)];
2638};
f1787048
JS
2639struct dfbsd12_fhstat_args {
2640#ifdef _KERNEL
2641 struct sysmsg sysmsg;
2642#endif
f1787048
JS
2643 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
2644 struct dfbsd12_stat * sb; char sb_[PAD_(struct dfbsd12_stat *)];
2645};
2646
2647#ifdef _KERNEL
2648
753fd850
MD
2649int sys_dfbsd12_stat (struct dfbsd12_stat_args *);
2650int sys_dfbsd12_fstat (struct dfbsd12_fstat_args *);
2651int sys_dfbsd12_lstat (struct dfbsd12_lstat_args *);
2652int sys_dfbsd12_getdirentries (struct dfbsd12_getdirentries_args *);
2653int sys_dfbsd12_getdents (struct dfbsd12_getdents_args *);
2654int sys_dfbsd12_fhstat (struct dfbsd12_fhstat_args *);
f1787048
JS
2655
2656#endif /* _KERNEL */
2657
2658#endif /* COMPAT_DF12 */
2659
2660
2661#ifdef _KERNEL
2662
2663#ifdef COMPAT_43
2664#endif
753fd850
MD
2665int sys_nosys (struct nosys_args *);
2666int sys_exit (struct exit_args *);
2667int sys_fork (struct fork_args *);
2668int sys_read (struct read_args *);
2669int sys_write (struct write_args *);
2670int sys_open (struct open_args *);
2671int sys_close (struct close_args *);
2672int sys_wait4 (struct wait_args *);
2673int sys_link (struct link_args *);
2674int sys_unlink (struct unlink_args *);
2675int sys_chdir (struct chdir_args *);
2676int sys_fchdir (struct fchdir_args *);
2677int sys_mknod (struct mknod_args *);
2678int sys_chmod (struct chmod_args *);
2679int sys_chown (struct chown_args *);
2680int sys_obreak (struct obreak_args *);
2681int sys_getfsstat (struct getfsstat_args *);
2682int sys_getpid (struct getpid_args *);
2683int sys_mount (struct mount_args *);
2684int sys_unmount (struct unmount_args *);
2685int sys_setuid (struct setuid_args *);
2686int sys_getuid (struct getuid_args *);
2687int sys_geteuid (struct geteuid_args *);
2688int sys_ptrace (struct ptrace_args *);
2689int sys_recvmsg (struct recvmsg_args *);
2690int sys_sendmsg (struct sendmsg_args *);
2691int sys_recvfrom (struct recvfrom_args *);
2692int sys_accept (struct accept_args *);
2693int sys_getpeername (struct getpeername_args *);
2694int sys_getsockname (struct getsockname_args *);
2695int sys_access (struct access_args *);
2696int sys_chflags (struct chflags_args *);
2697int sys_fchflags (struct fchflags_args *);
2698int sys_sync (struct sync_args *);
2699int sys_kill (struct kill_args *);
2700int sys_getppid (struct getppid_args *);
2701int sys_dup (struct dup_args *);
2702int sys_pipe (struct pipe_args *);
2703int sys_getegid (struct getegid_args *);
2704int sys_profil (struct profil_args *);
2705int sys_ktrace (struct ktrace_args *);
2706int sys_getgid (struct getgid_args *);
2707int sys_getlogin (struct getlogin_args *);
2708int sys_setlogin (struct setlogin_args *);
2709int sys_acct (struct acct_args *);
2710int sys_sigaltstack (struct sigaltstack_args *);
2711int sys_ioctl (struct ioctl_args *);
2712int sys_reboot (struct reboot_args *);
2713int sys_revoke (struct revoke_args *);
2714int sys_symlink (struct symlink_args *);
2715int sys_readlink (struct readlink_args *);
2716int sys_execve (struct execve_args *);
2717int sys_umask (struct umask_args *);
2718int sys_chroot (struct chroot_args *);
2719int sys_msync (struct msync_args *);
2720int sys_vfork (struct vfork_args *);
2721int sys_sbrk (struct sbrk_args *);
2722int sys_sstk (struct sstk_args *);
753fd850
MD
2723int sys_munmap (struct munmap_args *);
2724int sys_mprotect (struct mprotect_args *);
2725int sys_madvise (struct madvise_args *);
2726int sys_mincore (struct mincore_args *);
2727int sys_getgroups (struct getgroups_args *);
2728int sys_setgroups (struct setgroups_args *);
2729int sys_getpgrp (struct getpgrp_args *);
2730int sys_setpgid (struct setpgid_args *);
2731int sys_setitimer (struct setitimer_args *);
2732int sys_swapon (struct swapon_args *);
2733int sys_getitimer (struct getitimer_args *);
2734int sys_getdtablesize (struct getdtablesize_args *);
2735int sys_dup2 (struct dup2_args *);
2736int sys_fcntl (struct fcntl_args *);
2737int sys_select (struct select_args *);
2738int sys_fsync (struct fsync_args *);
2739int sys_setpriority (struct setpriority_args *);
2740int sys_socket (struct socket_args *);
2741int sys_connect (struct connect_args *);
2742int sys_getpriority (struct getpriority_args *);
2743int sys_bind (struct bind_args *);
2744int sys_setsockopt (struct setsockopt_args *);
2745int sys_listen (struct listen_args *);
2746int sys_gettimeofday (struct gettimeofday_args *);
2747int sys_getrusage (struct getrusage_args *);
2748int sys_getsockopt (struct getsockopt_args *);
2749int sys_readv (struct readv_args *);
2750int sys_writev (struct writev_args *);
2751int sys_settimeofday (struct settimeofday_args *);
2752int sys_fchown (struct fchown_args *);
2753int sys_fchmod (struct fchmod_args *);
2754int sys_setreuid (struct setreuid_args *);
2755int sys_setregid (struct setregid_args *);
2756int sys_rename (struct rename_args *);
2757int sys_flock (struct flock_args *);
2758int sys_mkfifo (struct mkfifo_args *);
2759int sys_sendto (struct sendto_args *);
2760int sys_shutdown (struct shutdown_args *);
2761int sys_socketpair (struct socketpair_args *);
2762int sys_mkdir (struct mkdir_args *);
2763int sys_rmdir (struct rmdir_args *);
2764int sys_utimes (struct utimes_args *);
2765int sys_adjtime (struct adjtime_args *);
2766int sys_setsid (struct setsid_args *);
2767int sys_quotactl (struct quotactl_args *);
2768int sys_nfssvc (struct nfssvc_args *);
2769int sys_statfs (struct statfs_args *);
2770int sys_fstatfs (struct fstatfs_args *);
2771int sys_getfh (struct getfh_args *);
2772int sys_getdomainname (struct getdomainname_args *);
2773int sys_setdomainname (struct setdomainname_args *);
2774int sys_uname (struct uname_args *);
2775int sys_sysarch (struct sysarch_args *);
2776int sys_rtprio (struct rtprio_args *);
2777int sys_semsys (struct semsys_args *);
2778int sys_msgsys (struct msgsys_args *);
2779int sys_shmsys (struct shmsys_args *);
b09fd398
MD
2780int sys_extpread (struct extpread_args *);
2781int sys_extpwrite (struct extpwrite_args *);
753fd850
MD
2782int sys_ntp_adjtime (struct ntp_adjtime_args *);
2783int sys_setgid (struct setgid_args *);
2784int sys_setegid (struct setegid_args *);
2785int sys_seteuid (struct seteuid_args *);
2786int sys_pathconf (struct pathconf_args *);
2787int sys_fpathconf (struct fpathconf_args *);
2788int sys_getrlimit (struct __getrlimit_args *);
2789int sys_setrlimit (struct __setrlimit_args *);
2790int sys_mmap (struct mmap_args *);
2791int sys_lseek (struct lseek_args *);
2792int sys_truncate (struct truncate_args *);
2793int sys_ftruncate (struct ftruncate_args *);
2794int sys___sysctl (struct sysctl_args *);
2795int sys_mlock (struct mlock_args *);
2796int sys_munlock (struct munlock_args *);
2797int sys_undelete (struct undelete_args *);
2798int sys_futimes (struct futimes_args *);
2799int sys_getpgid (struct getpgid_args *);
2800int sys_poll (struct poll_args *);
2801int sys_lkmnosys (struct nosys_args *);
2802int sys___semctl (struct __semctl_args *);
2803int sys_semget (struct semget_args *);
2804int sys_semop (struct semop_args *);
2805int sys_msgctl (struct msgctl_args *);
2806int sys_msgget (struct msgget_args *);
2807int sys_msgsnd (struct msgsnd_args *);
2808int sys_msgrcv (struct msgrcv_args *);
2809int sys_shmat (struct shmat_args *);
2810int sys_shmctl (struct shmctl_args *);
2811int sys_shmdt (struct shmdt_args *);
2812int sys_shmget (struct shmget_args *);
2813int sys_clock_gettime (struct clock_gettime_args *);
2814int sys_clock_settime (struct clock_settime_args *);
2815int sys_clock_getres (struct clock_getres_args *);
2816int sys_nanosleep (struct nanosleep_args *);
2817int sys_minherit (struct minherit_args *);
2818int sys_rfork (struct rfork_args *);
2819int sys_openbsd_poll (struct openbsd_poll_args *);
2820int sys_issetugid (struct issetugid_args *);
2821int sys_lchown (struct lchown_args *);
2822int sys_lchmod (struct lchmod_args *);
2823int sys_lutimes (struct lutimes_args *);
b09fd398
MD
2824int sys_extpreadv (struct extpreadv_args *);
2825int sys_extpwritev (struct extpwritev_args *);
753fd850
MD
2826int sys_fhstatfs (struct fhstatfs_args *);
2827int sys_fhopen (struct fhopen_args *);
2828int sys_modnext (struct modnext_args *);
2829int sys_modstat (struct modstat_args *);
2830int sys_modfnext (struct modfnext_args *);
2831int sys_modfind (struct modfind_args *);
2832int sys_kldload (struct kldload_args *);
2833int sys_kldunload (struct kldunload_args *);
2834int sys_kldfind (struct kldfind_args *);
2835int sys_kldnext (struct kldnext_args *);
2836int sys_kldstat (struct kldstat_args *);
2837int sys_kldfirstmod (struct kldfirstmod_args *);
2838int sys_getsid (struct getsid_args *);
2839int sys_setresuid (struct setresuid_args *);
2840int sys_setresgid (struct setresgid_args *);
2841int sys_aio_return (struct aio_return_args *);
2842int sys_aio_suspend (struct aio_suspend_args *);
2843int sys_aio_cancel (struct aio_cancel_args *);
2844int sys_aio_error (struct aio_error_args *);
2845int sys_aio_read (struct aio_read_args *);
2846int sys_aio_write (struct aio_write_args *);
2847int sys_lio_listio (struct lio_listio_args *);
2848int sys_yield (struct yield_args *);
753fd850
MD
2849int sys_mlockall (struct mlockall_args *);
2850int sys_munlockall (struct munlockall_args *);
2851int sys___getcwd (struct __getcwd_args *);
2852int sys_sched_setparam (struct sched_setparam_args *);
2853int sys_sched_getparam (struct sched_getparam_args *);
2854int sys_sched_setscheduler (struct sched_setscheduler_args *);
2855int sys_sched_getscheduler (struct sched_getscheduler_args *);
2856int sys_sched_yield (struct sched_yield_args *);
2857int sys_sched_get_priority_max (struct sched_get_priority_max_args *);
2858int sys_sched_get_priority_min (struct sched_get_priority_min_args *);
2859int sys_sched_rr_get_interval (struct sched_rr_get_interval_args *);
2860int sys_utrace (struct utrace_args *);
2861int sys_kldsym (struct kldsym_args *);
2862int sys_jail (struct jail_args *);
2863int sys_sigprocmask (struct sigprocmask_args *);
2864int sys_sigsuspend (struct sigsuspend_args *);
2865int sys_sigaction (struct sigaction_args *);
2866int sys_sigpending (struct sigpending_args *);
2867int sys_sigreturn (struct sigreturn_args *);
2868int sys_sigtimedwait (struct sigtimedwait_args *);
2869int sys_sigwaitinfo (struct sigwaitinfo_args *);
2870int sys___acl_get_file (struct __acl_get_file_args *);
2871int sys___acl_set_file (struct __acl_set_file_args *);
2872int sys___acl_get_fd (struct __acl_get_fd_args *);
2873int sys___acl_set_fd (struct __acl_set_fd_args *);
2874int sys___acl_delete_file (struct __acl_delete_file_args *);
2875int sys___acl_delete_fd (struct __acl_delete_fd_args *);
2876int sys___acl_aclcheck_file (struct __acl_aclcheck_file_args *);
2877int sys___acl_aclcheck_fd (struct __acl_aclcheck_fd_args *);
2878int sys_extattrctl (struct extattrctl_args *);
2879int sys_extattr_set_file (struct extattr_set_file_args *);
2880int sys_extattr_get_file (struct extattr_get_file_args *);
2881int sys_extattr_delete_file (struct extattr_delete_file_args *);
2882int sys_aio_waitcomplete (struct aio_waitcomplete_args *);
2883int sys_getresuid (struct getresuid_args *);
2884int sys_getresgid (struct getresgid_args *);
2885int sys_kqueue (struct kqueue_args *);
2886int sys_kevent (struct kevent_args *);
2887int sys_sctp_peeloff (struct sctp_peeloff_args *);
91fdc001 2888int sys_lchflags (struct lchflags_args *);
2a0783db 2889int sys_uuidgen (struct uuidgen_args *);
753fd850
MD
2890int sys_sendfile (struct sendfile_args *);
2891int sys_varsym_set (struct varsym_set_args *);
2892int sys_varsym_get (struct varsym_get_args *);
2893int sys_varsym_list (struct varsym_list_args *);
2894int sys_upc_register (struct upc_register_args *);
2895int sys_upc_control (struct upc_control_args *);
2896int sys_caps_sys_service (struct caps_sys_service_args *);
2897int sys_caps_sys_client (struct caps_sys_client_args *);
2898int sys_caps_sys_close (struct caps_sys_close_args *);
2899int sys_caps_sys_put (struct caps_sys_put_args *);
2900int sys_caps_sys_reply (struct caps_sys_reply_args *);
2901int sys_caps_sys_get (struct caps_sys_get_args *);
2902int sys_caps_sys_wait (struct caps_sys_wait_args *);
2903int sys_caps_sys_abort (struct caps_sys_abort_args *);
2904int sys_caps_sys_getgen (struct caps_sys_getgen_args *);
2905int sys_caps_sys_setgen (struct caps_sys_setgen_args *);
2906int sys_exec_sys_register (struct exec_sys_register_args *);
2907int sys_exec_sys_unregister (struct exec_sys_unregister_args *);
2908int sys_sys_checkpoint (struct sys_checkpoint_args *);
2909int sys_mountctl (struct mountctl_args *);
2910int sys_umtx_sleep (struct umtx_sleep_args *);
2911int sys_umtx_wakeup (struct umtx_wakeup_args *);
2912int sys_jail_attach (struct jail_attach_args *);
ba491dfb
MD
2913int sys_set_tls_area (struct set_tls_area_args *);
2914int sys_get_tls_area (struct get_tls_area_args *);
753fd850
MD
2915int sys_closefrom (struct closefrom_args *);
2916int sys_stat (struct stat_args *);
2917int sys_fstat (struct fstat_args *);
2918int sys_lstat (struct lstat_args *);
2919int sys_fhstat (struct fhstat_args *);
2920int sys_getdirentries (struct getdirentries_args *);
2921int sys_getdents (struct getdents_args *);
2922int sys_usched_set (struct usched_set_args *);
b09fd398
MD
2923int sys_extaccept (struct extaccept_args *);
2924int sys_extconnect (struct extconnect_args *);
e143cb06 2925int sys_syslink (struct syslink_args *);
afeabdca 2926int sys_mcontrol (struct mcontrol_args *);
d3313941
MD
2927int sys_vmspace_create (struct vmspace_create_args *);
2928int sys_vmspace_destroy (struct vmspace_destroy_args *);
2929int sys_vmspace_ctl (struct vmspace_ctl_args *);
2930int sys_vmspace_mmap (struct vmspace_mmap_args *);
2931int sys_vmspace_munmap (struct vmspace_munmap_args *);
2932int sys_vmspace_mcontrol (struct vmspace_mcontrol_args *);
021a4ed4
MD
2933int sys_vmspace_pread (struct vmspace_pread_args *);
2934int sys_vmspace_pwrite (struct vmspace_pwrite_args *);
a704dbd9 2935int sys_extexit (struct extexit_args *);
a0a27cfb 2936int sys_lwp_create (struct lwp_create_args *);
c2e552b5
SS
2937int sys_lwp_gettid (struct lwp_gettid_args *);
2938int sys_lwp_kill (struct lwp_kill_args *);
649d3bd2 2939int sys_lwp_rtprio (struct lwp_rtprio_args *);
ae7cb1b5 2940int sys_pselect (struct pselect_args *);
d9fad06e
MD
2941int sys_statvfs (struct statvfs_args *);
2942int sys_fstatvfs (struct fstatvfs_args *);
2943int sys_fhstatvfs (struct fhstatvfs_args *);
00fe9d48 2944int sys_getvfsstat (struct getvfsstat_args *);
83a11774 2945int sys_openat (struct openat_args *);
e101a3f4 2946int sys_fstatat (struct fstatat_args *);
8cde3c79 2947int sys_fchmodat (struct fchmodat_args *);
32013176 2948int sys_fchownat (struct fchownat_args *);
3a6d8629 2949int sys_unlinkat (struct unlinkat_args *);
18cf460b 2950int sys_faccessat (struct faccessat_args *);
0b96c93b
SK
2951int sys_mq_open (struct mq_open_args *);
2952int sys_mq_close (struct mq_close_args *);
2953int sys_mq_unlink (struct mq_unlink_args *);
2954int sys_mq_getattr (struct mq_getattr_args *);
2955int sys_mq_setattr (struct mq_setattr_args *);
2956int sys_mq_notify (struct mq_notify_args *);
2957int sys_mq_send (struct mq_send_args *);
2958int sys_mq_receive (struct mq_receive_args *);
2959int sys_mq_timedsend (struct mq_timedsend_args *);
2960int sys_mq_timedreceive (struct mq_timedreceive_args *);
aa166ad1
AH
2961int sys_ioprio_set (struct ioprio_set_args *);
2962int sys_ioprio_get (struct ioprio_get_args *);
72f12c5b 2963int sys_chroot_kernel (struct chroot_kernel_args *);
c7238745 2964int sys_renameat (struct renameat_args *);
6d98f93c
SW
2965int sys_mkdirat (struct mkdirat_args *);
2966int sys_mkfifoat (struct mkfifoat_args *);
2967int sys_mknodat (struct mknodat_args *);
2968int sys_readlinkat (struct readlinkat_args *);
2969int sys_symlinkat (struct symlinkat_args *);
984263bc
MD
2970
2971#endif /* !_SYS_SYSPROTO_H_ */
f1787048
JS
2972#undef PAD_
2973
2974#endif /* _KERNEL */