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