nrelease - fix/improve livecd
[dragonfly.git] / sys / sys / sysproto.h
... / ...
CommitLineData
1/*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- To regenerate this file, edit syscalls.master followed
5 * by running make sysent in the same directory.
6 */
7
8#ifndef _KERNEL
9#error "This file should not be included by userland programs."
10#endif
11
12#ifndef _SYS_SYSPROTO_H_
13#define _SYS_SYSPROTO_H_
14
15#include <sys/select.h>
16#include <sys/signal.h>
17#include <sys/acl.h>
18#include <sys/cpumask.h>
19#include <sys/mqueue.h>
20#include <sys/msgport.h>
21#include <sys/procctl.h>
22
23#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
24 0 : sizeof(register_t) - sizeof(t))
25
26struct exit_args {
27 int rval; char rval_[PAD_(int)];
28};
29struct fork_args {
30 register_t dummy;
31};
32struct read_args {
33 int fd; char fd_[PAD_(int)];
34 void * buf; char buf_[PAD_(void *)];
35 size_t nbyte; char nbyte_[PAD_(size_t)];
36};
37struct write_args {
38 int fd; char fd_[PAD_(int)];
39 const void * buf; char buf_[PAD_(const void *)];
40 size_t nbyte; char nbyte_[PAD_(size_t)];
41};
42struct open_args {
43 char * path; char path_[PAD_(char *)];
44 int flags; char flags_[PAD_(int)];
45 int mode; char mode_[PAD_(int)];
46};
47struct close_args {
48 int fd; char fd_[PAD_(int)];
49};
50struct wait_args {
51 int pid; char pid_[PAD_(int)];
52 int * status; char status_[PAD_(int *)];
53 int options; char options_[PAD_(int)];
54 struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
55};
56struct nosys_args {
57 register_t dummy;
58};
59struct link_args {
60 char * path; char path_[PAD_(char *)];
61 char * link; char link_[PAD_(char *)];
62};
63struct unlink_args {
64 char * path; char path_[PAD_(char *)];
65};
66struct chdir_args {
67 char * path; char path_[PAD_(char *)];
68};
69struct fchdir_args {
70 int fd; char fd_[PAD_(int)];
71};
72struct mknod_args {
73 char * path; char path_[PAD_(char *)];
74 int mode; char mode_[PAD_(int)];
75 int dev; char dev_[PAD_(int)];
76};
77struct chmod_args {
78 char * path; char path_[PAD_(char *)];
79 int mode; char mode_[PAD_(int)];
80};
81struct chown_args {
82 char * path; char path_[PAD_(char *)];
83 int uid; char uid_[PAD_(int)];
84 int gid; char gid_[PAD_(int)];
85};
86struct obreak_args {
87 char * nsize; char nsize_[PAD_(char *)];
88};
89struct getfsstat_args {
90 struct statfs * buf; char buf_[PAD_(struct statfs *)];
91 long bufsize; char bufsize_[PAD_(long)];
92 int flags; char flags_[PAD_(int)];
93};
94struct getpid_args {
95 register_t dummy;
96};
97struct mount_args {
98 char * type; char type_[PAD_(char *)];
99 char * path; char path_[PAD_(char *)];
100 int flags; char flags_[PAD_(int)];
101 caddr_t data; char data_[PAD_(caddr_t)];
102};
103struct unmount_args {
104 char * path; char path_[PAD_(char *)];
105 int flags; char flags_[PAD_(int)];
106};
107struct setuid_args {
108 uid_t uid; char uid_[PAD_(uid_t)];
109};
110struct getuid_args {
111 register_t dummy;
112};
113struct geteuid_args {
114 register_t dummy;
115};
116struct ptrace_args {
117 int req; char req_[PAD_(int)];
118 pid_t pid; char pid_[PAD_(pid_t)];
119 caddr_t addr; char addr_[PAD_(caddr_t)];
120 int data; char data_[PAD_(int)];
121};
122struct recvmsg_args {
123 int s; char s_[PAD_(int)];
124 struct msghdr * msg; char msg_[PAD_(struct msghdr *)];
125 int flags; char flags_[PAD_(int)];
126};
127struct sendmsg_args {
128 int s; char s_[PAD_(int)];
129 caddr_t msg; char msg_[PAD_(caddr_t)];
130 int flags; char flags_[PAD_(int)];
131};
132struct recvfrom_args {
133 int s; char s_[PAD_(int)];
134 caddr_t buf; char buf_[PAD_(caddr_t)];
135 size_t len; char len_[PAD_(size_t)];
136 int flags; char flags_[PAD_(int)];
137 caddr_t from; char from_[PAD_(caddr_t)];
138 int * fromlenaddr; char fromlenaddr_[PAD_(int *)];
139};
140struct accept_args {
141 int s; char s_[PAD_(int)];
142 caddr_t name; char name_[PAD_(caddr_t)];
143 int * anamelen; char anamelen_[PAD_(int *)];
144};
145struct getpeername_args {
146 int fdes; char fdes_[PAD_(int)];
147 caddr_t asa; char asa_[PAD_(caddr_t)];
148 int * alen; char alen_[PAD_(int *)];
149};
150struct getsockname_args {
151 int fdes; char fdes_[PAD_(int)];
152 caddr_t asa; char asa_[PAD_(caddr_t)];
153 int * alen; char alen_[PAD_(int *)];
154};
155struct access_args {
156 char * path; char path_[PAD_(char *)];
157 int flags; char flags_[PAD_(int)];
158};
159struct chflags_args {
160 const char * path; char path_[PAD_(const char *)];
161 u_long flags; char flags_[PAD_(u_long)];
162};
163struct fchflags_args {
164 int fd; char fd_[PAD_(int)];
165 u_long flags; char flags_[PAD_(u_long)];
166};
167struct sync_args {
168 register_t dummy;
169};
170struct kill_args {
171 int pid; char pid_[PAD_(int)];
172 int signum; char signum_[PAD_(int)];
173};
174struct getppid_args {
175 register_t dummy;
176};
177struct dup_args {
178 int fd; char fd_[PAD_(int)];
179};
180struct pipe_args {
181 register_t dummy;
182};
183struct getegid_args {
184 register_t dummy;
185};
186struct profil_args {
187 caddr_t samples; char samples_[PAD_(caddr_t)];
188 size_t size; char size_[PAD_(size_t)];
189 u_long offset; char offset_[PAD_(u_long)];
190 u_int scale; char scale_[PAD_(u_int)];
191};
192struct ktrace_args {
193 const char * fname; char fname_[PAD_(const char *)];
194 int ops; char ops_[PAD_(int)];
195 int facs; char facs_[PAD_(int)];
196 int pid; char pid_[PAD_(int)];
197};
198struct getgid_args {
199 register_t dummy;
200};
201struct getlogin_args {
202 char * namebuf; char namebuf_[PAD_(char *)];
203 size_t namelen; char namelen_[PAD_(size_t)];
204};
205struct setlogin_args {
206 char * namebuf; char namebuf_[PAD_(char *)];
207};
208struct acct_args {
209 char * path; char path_[PAD_(char *)];
210};
211struct sigaltstack_args {
212 stack_t * ss; char ss_[PAD_(stack_t *)];
213 stack_t * oss; char oss_[PAD_(stack_t *)];
214};
215struct ioctl_args {
216 int fd; char fd_[PAD_(int)];
217 u_long com; char com_[PAD_(u_long)];
218 caddr_t data; char data_[PAD_(caddr_t)];
219};
220struct reboot_args {
221 int opt; char opt_[PAD_(int)];
222};
223struct revoke_args {
224 char * path; char path_[PAD_(char *)];
225};
226struct symlink_args {
227 char * path; char path_[PAD_(char *)];
228 char * link; char link_[PAD_(char *)];
229};
230struct readlink_args {
231 char * path; char path_[PAD_(char *)];
232 char * buf; char buf_[PAD_(char *)];
233 int count; char count_[PAD_(int)];
234};
235struct execve_args {
236 char * fname; char fname_[PAD_(char *)];
237 char ** argv; char argv_[PAD_(char **)];
238 char ** envv; char envv_[PAD_(char **)];
239};
240struct umask_args {
241 int newmask; char newmask_[PAD_(int)];
242};
243struct chroot_args {
244 char * path; char path_[PAD_(char *)];
245};
246struct msync_args {
247 void * addr; char addr_[PAD_(void *)];
248 size_t len; char len_[PAD_(size_t)];
249 int flags; char flags_[PAD_(int)];
250};
251struct vfork_args {
252 register_t dummy;
253};
254struct sbrk_args {
255 size_t incr; char incr_[PAD_(size_t)];
256};
257struct sstk_args {
258 size_t incr; char incr_[PAD_(size_t)];
259};
260struct munmap_args {
261 void * addr; char addr_[PAD_(void *)];
262 size_t len; char len_[PAD_(size_t)];
263};
264struct mprotect_args {
265 void * addr; char addr_[PAD_(void *)];
266 size_t len; char len_[PAD_(size_t)];
267 int prot; char prot_[PAD_(int)];
268};
269struct madvise_args {
270 void * addr; char addr_[PAD_(void *)];
271 size_t len; char len_[PAD_(size_t)];
272 int behav; char behav_[PAD_(int)];
273};
274struct mincore_args {
275 const void * addr; char addr_[PAD_(const void *)];
276 size_t len; char len_[PAD_(size_t)];
277 char * vec; char vec_[PAD_(char *)];
278};
279struct getgroups_args {
280 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
281 gid_t * gidset; char gidset_[PAD_(gid_t *)];
282};
283struct setgroups_args {
284 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
285 gid_t * gidset; char gidset_[PAD_(gid_t *)];
286};
287struct getpgrp_args {
288 register_t dummy;
289};
290struct setpgid_args {
291 int pid; char pid_[PAD_(int)];
292 int pgid; char pgid_[PAD_(int)];
293};
294struct setitimer_args {
295 u_int which; char which_[PAD_(u_int)];
296 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
297 struct itimerval * oitv; char oitv_[PAD_(struct itimerval *)];
298};
299struct swapon_args {
300 char * name; char name_[PAD_(char *)];
301};
302struct getitimer_args {
303 u_int which; char which_[PAD_(u_int)];
304 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
305};
306struct getdtablesize_args {
307 register_t dummy;
308};
309struct dup2_args {
310 int from; char from_[PAD_(int)];
311 int to; char to_[PAD_(int)];
312};
313struct fcntl_args {
314 int fd; char fd_[PAD_(int)];
315 int cmd; char cmd_[PAD_(int)];
316 long arg; char arg_[PAD_(long)];
317};
318struct select_args {
319 int nd; char nd_[PAD_(int)];
320 fd_set * in; char in_[PAD_(fd_set *)];
321 fd_set * ou; char ou_[PAD_(fd_set *)];
322 fd_set * ex; char ex_[PAD_(fd_set *)];
323 struct timeval * tv; char tv_[PAD_(struct timeval *)];
324};
325struct fsync_args {
326 int fd; char fd_[PAD_(int)];
327};
328struct setpriority_args {
329 int which; char which_[PAD_(int)];
330 int who; char who_[PAD_(int)];
331 int prio; char prio_[PAD_(int)];
332};
333struct socket_args {
334 int domain; char domain_[PAD_(int)];
335 int type; char type_[PAD_(int)];
336 int protocol; char protocol_[PAD_(int)];
337};
338struct connect_args {
339 int s; char s_[PAD_(int)];
340 caddr_t name; char name_[PAD_(caddr_t)];
341 int namelen; char namelen_[PAD_(int)];
342};
343struct getpriority_args {
344 int which; char which_[PAD_(int)];
345 int who; char who_[PAD_(int)];
346};
347struct bind_args {
348 int s; char s_[PAD_(int)];
349 caddr_t name; char name_[PAD_(caddr_t)];
350 int namelen; char namelen_[PAD_(int)];
351};
352struct setsockopt_args {
353 int s; char s_[PAD_(int)];
354 int level; char level_[PAD_(int)];
355 int name; char name_[PAD_(int)];
356 caddr_t val; char val_[PAD_(caddr_t)];
357 int valsize; char valsize_[PAD_(int)];
358};
359struct listen_args {
360 int s; char s_[PAD_(int)];
361 int backlog; char backlog_[PAD_(int)];
362};
363struct gettimeofday_args {
364 struct timeval * tp; char tp_[PAD_(struct timeval *)];
365 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
366};
367struct getrusage_args {
368 int who; char who_[PAD_(int)];
369 struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
370};
371struct getsockopt_args {
372 int s; char s_[PAD_(int)];
373 int level; char level_[PAD_(int)];
374 int name; char name_[PAD_(int)];
375 caddr_t val; char val_[PAD_(caddr_t)];
376 int * avalsize; char avalsize_[PAD_(int *)];
377};
378struct readv_args {
379 int fd; char fd_[PAD_(int)];
380 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
381 u_int iovcnt; char iovcnt_[PAD_(u_int)];
382};
383struct writev_args {
384 int fd; char fd_[PAD_(int)];
385 struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
386 u_int iovcnt; char iovcnt_[PAD_(u_int)];
387};
388struct settimeofday_args {
389 struct timeval * tv; char tv_[PAD_(struct timeval *)];
390 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
391};
392struct fchown_args {
393 int fd; char fd_[PAD_(int)];
394 int uid; char uid_[PAD_(int)];
395 int gid; char gid_[PAD_(int)];
396};
397struct fchmod_args {
398 int fd; char fd_[PAD_(int)];
399 int mode; char mode_[PAD_(int)];
400};
401struct setreuid_args {
402 int ruid; char ruid_[PAD_(int)];
403 int euid; char euid_[PAD_(int)];
404};
405struct setregid_args {
406 int rgid; char rgid_[PAD_(int)];
407 int egid; char egid_[PAD_(int)];
408};
409struct rename_args {
410 char * from; char from_[PAD_(char *)];
411 char * to; char to_[PAD_(char *)];
412};
413struct flock_args {
414 int fd; char fd_[PAD_(int)];
415 int how; char how_[PAD_(int)];
416};
417struct mkfifo_args {
418 char * path; char path_[PAD_(char *)];
419 int mode; char mode_[PAD_(int)];
420};
421struct sendto_args {
422 int s; char s_[PAD_(int)];
423 caddr_t buf; char buf_[PAD_(caddr_t)];
424 size_t len; char len_[PAD_(size_t)];
425 int flags; char flags_[PAD_(int)];
426 caddr_t to; char to_[PAD_(caddr_t)];
427 int tolen; char tolen_[PAD_(int)];
428};
429struct shutdown_args {
430 int s; char s_[PAD_(int)];
431 int how; char how_[PAD_(int)];
432};
433struct socketpair_args {
434 int domain; char domain_[PAD_(int)];
435 int type; char type_[PAD_(int)];
436 int protocol; char protocol_[PAD_(int)];
437 int * rsv; char rsv_[PAD_(int *)];
438};
439struct mkdir_args {
440 char * path; char path_[PAD_(char *)];
441 int mode; char mode_[PAD_(int)];
442};
443struct rmdir_args {
444 char * path; char path_[PAD_(char *)];
445};
446struct utimes_args {
447 char * path; char path_[PAD_(char *)];
448 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
449};
450struct adjtime_args {
451 struct timeval * delta; char delta_[PAD_(struct timeval *)];
452 struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)];
453};
454struct setsid_args {
455 register_t dummy;
456};
457struct quotactl_args {
458 char * path; char path_[PAD_(char *)];
459 int cmd; char cmd_[PAD_(int)];
460 int uid; char uid_[PAD_(int)];
461 caddr_t arg; char arg_[PAD_(caddr_t)];
462};
463struct nfssvc_args {
464 int flag; char flag_[PAD_(int)];
465 caddr_t argp; char argp_[PAD_(caddr_t)];
466};
467struct statfs_args {
468 char * path; char path_[PAD_(char *)];
469 struct statfs * buf; char buf_[PAD_(struct statfs *)];
470};
471struct fstatfs_args {
472 int fd; char fd_[PAD_(int)];
473 struct statfs * buf; char buf_[PAD_(struct statfs *)];
474};
475struct getfh_args {
476 char * fname; char fname_[PAD_(char *)];
477 struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)];
478};
479struct sysarch_args {
480 int op; char op_[PAD_(int)];
481 char * parms; char parms_[PAD_(char *)];
482};
483struct rtprio_args {
484 int function; char function_[PAD_(int)];
485 pid_t pid; char pid_[PAD_(pid_t)];
486 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
487};
488struct extpread_args {
489 int fd; char fd_[PAD_(int)];
490 void * buf; char buf_[PAD_(void *)];
491 size_t nbyte; char nbyte_[PAD_(size_t)];
492 int flags; char flags_[PAD_(int)];
493 off_t offset; char offset_[PAD_(off_t)];
494};
495struct extpwrite_args {
496 int fd; char fd_[PAD_(int)];
497 const void * buf; char buf_[PAD_(const void *)];
498 size_t nbyte; char nbyte_[PAD_(size_t)];
499 int flags; char flags_[PAD_(int)];
500 off_t offset; char offset_[PAD_(off_t)];
501};
502struct ntp_adjtime_args {
503 struct timex * tp; char tp_[PAD_(struct timex *)];
504};
505struct setgid_args {
506 gid_t gid; char gid_[PAD_(gid_t)];
507};
508struct setegid_args {
509 gid_t egid; char egid_[PAD_(gid_t)];
510};
511struct seteuid_args {
512 uid_t euid; char euid_[PAD_(uid_t)];
513};
514struct pathconf_args {
515 char * path; char path_[PAD_(char *)];
516 int name; char name_[PAD_(int)];
517};
518struct fpathconf_args {
519 int fd; char fd_[PAD_(int)];
520 int name; char name_[PAD_(int)];
521};
522struct __getrlimit_args {
523 u_int which; char which_[PAD_(u_int)];
524 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
525};
526struct __setrlimit_args {
527 u_int which; char which_[PAD_(u_int)];
528 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
529};
530struct mmap_args {
531 caddr_t addr; char addr_[PAD_(caddr_t)];
532 size_t len; char len_[PAD_(size_t)];
533 int prot; char prot_[PAD_(int)];
534 int flags; char flags_[PAD_(int)];
535 int fd; char fd_[PAD_(int)];
536 int pad; char pad_[PAD_(int)];
537 off_t pos; char pos_[PAD_(off_t)];
538};
539struct lseek_args {
540 int fd; char fd_[PAD_(int)];
541 int pad; char pad_[PAD_(int)];
542 off_t offset; char offset_[PAD_(off_t)];
543 int whence; char whence_[PAD_(int)];
544};
545struct truncate_args {
546 char * path; char path_[PAD_(char *)];
547 int pad; char pad_[PAD_(int)];
548 off_t length; char length_[PAD_(off_t)];
549};
550struct ftruncate_args {
551 int fd; char fd_[PAD_(int)];
552 int pad; char pad_[PAD_(int)];
553 off_t length; char length_[PAD_(off_t)];
554};
555struct sysctl_args {
556 int * name; char name_[PAD_(int *)];
557 u_int namelen; char namelen_[PAD_(u_int)];
558 void * old; char old_[PAD_(void *)];
559 size_t * oldlenp; char oldlenp_[PAD_(size_t *)];
560 void * new; char new_[PAD_(void *)];
561 size_t newlen; char newlen_[PAD_(size_t)];
562};
563struct mlock_args {
564 const void * addr; char addr_[PAD_(const void *)];
565 size_t len; char len_[PAD_(size_t)];
566};
567struct munlock_args {
568 const void * addr; char addr_[PAD_(const void *)];
569 size_t len; char len_[PAD_(size_t)];
570};
571struct undelete_args {
572 char * path; char path_[PAD_(char *)];
573};
574struct futimes_args {
575 int fd; char fd_[PAD_(int)];
576 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
577};
578struct getpgid_args {
579 pid_t pid; char pid_[PAD_(pid_t)];
580};
581struct poll_args {
582 struct pollfd * fds; char fds_[PAD_(struct pollfd *)];
583 u_int nfds; char nfds_[PAD_(u_int)];
584 int timeout; char timeout_[PAD_(int)];
585};
586struct __semctl_args {
587 int semid; char semid_[PAD_(int)];
588 int semnum; char semnum_[PAD_(int)];
589 int cmd; char cmd_[PAD_(int)];
590 union semun * arg; char arg_[PAD_(union semun *)];
591};
592struct semget_args {
593 key_t key; char key_[PAD_(key_t)];
594 int nsems; char nsems_[PAD_(int)];
595 int semflg; char semflg_[PAD_(int)];
596};
597struct semop_args {
598 int semid; char semid_[PAD_(int)];
599 struct sembuf * sops; char sops_[PAD_(struct sembuf *)];
600 u_int nsops; char nsops_[PAD_(u_int)];
601};
602struct msgctl_args {
603 int msqid; char msqid_[PAD_(int)];
604 int cmd; char cmd_[PAD_(int)];
605 struct msqid_ds * buf; char buf_[PAD_(struct msqid_ds *)];
606};
607struct msgget_args {
608 key_t key; char key_[PAD_(key_t)];
609 int msgflg; char msgflg_[PAD_(int)];
610};
611struct msgsnd_args {
612 int msqid; char msqid_[PAD_(int)];
613 const void * msgp; char msgp_[PAD_(const void *)];
614 size_t msgsz; char msgsz_[PAD_(size_t)];
615 int msgflg; char msgflg_[PAD_(int)];
616};
617struct msgrcv_args {
618 int msqid; char msqid_[PAD_(int)];
619 void * msgp; char msgp_[PAD_(void *)];
620 size_t msgsz; char msgsz_[PAD_(size_t)];
621 long msgtyp; char msgtyp_[PAD_(long)];
622 int msgflg; char msgflg_[PAD_(int)];
623};
624struct shmat_args {
625 int shmid; char shmid_[PAD_(int)];
626 const void * shmaddr; char shmaddr_[PAD_(const void *)];
627 int shmflg; char shmflg_[PAD_(int)];
628};
629struct shmctl_args {
630 int shmid; char shmid_[PAD_(int)];
631 int cmd; char cmd_[PAD_(int)];
632 struct shmid_ds * buf; char buf_[PAD_(struct shmid_ds *)];
633};
634struct shmdt_args {
635 const void * shmaddr; char shmaddr_[PAD_(const void *)];
636};
637struct shmget_args {
638 key_t key; char key_[PAD_(key_t)];
639 size_t size; char size_[PAD_(size_t)];
640 int shmflg; char shmflg_[PAD_(int)];
641};
642struct clock_gettime_args {
643 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
644 struct timespec * tp; char tp_[PAD_(struct timespec *)];
645};
646struct clock_settime_args {
647 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
648 const struct timespec * tp; char tp_[PAD_(const struct timespec *)];
649};
650struct clock_getres_args {
651 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
652 struct timespec * tp; char tp_[PAD_(struct timespec *)];
653};
654struct nanosleep_args {
655 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)];
656 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)];
657};
658struct clock_nanosleep_args {
659 clockid_t clock_id; char clock_id_[PAD_(clockid_t)];
660 int flags; char flags_[PAD_(int)];
661 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)];
662 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)];
663};
664struct minherit_args {
665 void * addr; char addr_[PAD_(void *)];
666 size_t len; char len_[PAD_(size_t)];
667 int inherit; char inherit_[PAD_(int)];
668};
669struct rfork_args {
670 int flags; char flags_[PAD_(int)];
671};
672struct openbsd_poll_args {
673 struct pollfd * fds; char fds_[PAD_(struct pollfd *)];
674 u_int nfds; char nfds_[PAD_(u_int)];
675 int timeout; char timeout_[PAD_(int)];
676};
677struct issetugid_args {
678 register_t dummy;
679};
680struct lchown_args {
681 char * path; char path_[PAD_(char *)];
682 int uid; char uid_[PAD_(int)];
683 int gid; char gid_[PAD_(int)];
684};
685struct lchmod_args {
686 char * path; char path_[PAD_(char *)];
687 mode_t mode; char mode_[PAD_(mode_t)];
688};
689struct lutimes_args {
690 char * path; char path_[PAD_(char *)];
691 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
692};
693struct extpreadv_args {
694 int fd; char fd_[PAD_(int)];
695 const struct iovec * iovp; char iovp_[PAD_(const struct iovec *)];
696 int iovcnt; char iovcnt_[PAD_(int)];
697 int flags; char flags_[PAD_(int)];
698 off_t offset; char offset_[PAD_(off_t)];
699};
700struct extpwritev_args {
701 int fd; char fd_[PAD_(int)];
702 const struct iovec * iovp; char iovp_[PAD_(const struct iovec *)];
703 int iovcnt; char iovcnt_[PAD_(int)];
704 int flags; char flags_[PAD_(int)];
705 off_t offset; char offset_[PAD_(off_t)];
706};
707struct fhstatfs_args {
708 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
709 struct statfs * buf; char buf_[PAD_(struct statfs *)];
710};
711struct fhopen_args {
712 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
713 int flags; char flags_[PAD_(int)];
714};
715struct modnext_args {
716 int modid; char modid_[PAD_(int)];
717};
718struct modstat_args {
719 int modid; char modid_[PAD_(int)];
720 struct module_stat * stat; char stat_[PAD_(struct module_stat *)];
721};
722struct modfnext_args {
723 int modid; char modid_[PAD_(int)];
724};
725struct modfind_args {
726 const char * name; char name_[PAD_(const char *)];
727};
728struct kldload_args {
729 const char * file; char file_[PAD_(const char *)];
730};
731struct kldunload_args {
732 int fileid; char fileid_[PAD_(int)];
733};
734struct kldfind_args {
735 const char * file; char file_[PAD_(const char *)];
736};
737struct kldnext_args {
738 int fileid; char fileid_[PAD_(int)];
739};
740struct kldstat_args {
741 int fileid; char fileid_[PAD_(int)];
742 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)];
743};
744struct kldfirstmod_args {
745 int fileid; char fileid_[PAD_(int)];
746};
747struct getsid_args {
748 pid_t pid; char pid_[PAD_(pid_t)];
749};
750struct setresuid_args {
751 uid_t ruid; char ruid_[PAD_(uid_t)];
752 uid_t euid; char euid_[PAD_(uid_t)];
753 uid_t suid; char suid_[PAD_(uid_t)];
754};
755struct setresgid_args {
756 gid_t rgid; char rgid_[PAD_(gid_t)];
757 gid_t egid; char egid_[PAD_(gid_t)];
758 gid_t sgid; char sgid_[PAD_(gid_t)];
759};
760struct aio_return_args {
761 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
762};
763struct aio_suspend_args {
764 struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)];
765 int nent; char nent_[PAD_(int)];
766 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
767};
768struct aio_cancel_args {
769 int fd; char fd_[PAD_(int)];
770 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
771};
772struct aio_error_args {
773 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
774};
775struct aio_read_args {
776 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
777};
778struct aio_write_args {
779 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
780};
781struct lio_listio_args {
782 int mode; char mode_[PAD_(int)];
783 struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)];
784 int nent; char nent_[PAD_(int)];
785 struct sigevent * sig; char sig_[PAD_(struct sigevent *)];
786};
787struct yield_args {
788 register_t dummy;
789};
790struct mlockall_args {
791 int how; char how_[PAD_(int)];
792};
793struct munlockall_args {
794 register_t dummy;
795};
796struct __getcwd_args {
797 u_char * buf; char buf_[PAD_(u_char *)];
798 u_int buflen; char buflen_[PAD_(u_int)];
799};
800struct sched_setparam_args {
801 pid_t pid; char pid_[PAD_(pid_t)];
802 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
803};
804struct sched_getparam_args {
805 pid_t pid; char pid_[PAD_(pid_t)];
806 struct sched_param * param; char param_[PAD_(struct sched_param *)];
807};
808struct sched_setscheduler_args {
809 pid_t pid; char pid_[PAD_(pid_t)];
810 int policy; char policy_[PAD_(int)];
811 const struct sched_param * param; char param_[PAD_(const struct sched_param *)];
812};
813struct sched_getscheduler_args {
814 pid_t pid; char pid_[PAD_(pid_t)];
815};
816struct sched_yield_args {
817 register_t dummy;
818};
819struct sched_get_priority_max_args {
820 int policy; char policy_[PAD_(int)];
821};
822struct sched_get_priority_min_args {
823 int policy; char policy_[PAD_(int)];
824};
825struct sched_rr_get_interval_args {
826 pid_t pid; char pid_[PAD_(pid_t)];
827 struct timespec * interval; char interval_[PAD_(struct timespec *)];
828};
829struct utrace_args {
830 const void * addr; char addr_[PAD_(const void *)];
831 size_t len; char len_[PAD_(size_t)];
832};
833struct kldsym_args {
834 int fileid; char fileid_[PAD_(int)];
835 int cmd; char cmd_[PAD_(int)];
836 void * data; char data_[PAD_(void *)];
837};
838struct jail_args {
839 struct jail * jail; char jail_[PAD_(struct jail *)];
840};
841struct sigprocmask_args {
842 int how; char how_[PAD_(int)];
843 const sigset_t * set; char set_[PAD_(const sigset_t *)];
844 sigset_t * oset; char oset_[PAD_(sigset_t *)];
845};
846struct sigsuspend_args {
847 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
848};
849struct sigaction_args {
850 int sig; char sig_[PAD_(int)];
851 const struct sigaction * act; char act_[PAD_(const struct sigaction *)];
852 struct sigaction * oact; char oact_[PAD_(struct sigaction *)];
853};
854struct sigpending_args {
855 sigset_t * set; char set_[PAD_(sigset_t *)];
856};
857struct sigreturn_args {
858 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
859};
860struct sigtimedwait_args {
861 const sigset_t * set; char set_[PAD_(const sigset_t *)];
862 siginfo_t * info; char info_[PAD_(siginfo_t *)];
863 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
864};
865struct sigwaitinfo_args {
866 const sigset_t * set; char set_[PAD_(const sigset_t *)];
867 siginfo_t * info; char info_[PAD_(siginfo_t *)];
868};
869struct __acl_get_file_args {
870 const char * path; char path_[PAD_(const char *)];
871 acl_type_t type; char type_[PAD_(acl_type_t)];
872 struct acl * aclp; char aclp_[PAD_(struct acl *)];
873};
874struct __acl_set_file_args {
875 const char * path; char path_[PAD_(const char *)];
876 acl_type_t type; char type_[PAD_(acl_type_t)];
877 struct acl * aclp; char aclp_[PAD_(struct acl *)];
878};
879struct __acl_get_fd_args {
880 int filedes; char filedes_[PAD_(int)];
881 acl_type_t type; char type_[PAD_(acl_type_t)];
882 struct acl * aclp; char aclp_[PAD_(struct acl *)];
883};
884struct __acl_set_fd_args {
885 int filedes; char filedes_[PAD_(int)];
886 acl_type_t type; char type_[PAD_(acl_type_t)];
887 struct acl * aclp; char aclp_[PAD_(struct acl *)];
888};
889struct __acl_delete_file_args {
890 const char * path; char path_[PAD_(const char *)];
891 acl_type_t type; char type_[PAD_(acl_type_t)];
892};
893struct __acl_delete_fd_args {
894 int filedes; char filedes_[PAD_(int)];
895 acl_type_t type; char type_[PAD_(acl_type_t)];
896};
897struct __acl_aclcheck_file_args {
898 const char * path; char path_[PAD_(const char *)];
899 acl_type_t type; char type_[PAD_(acl_type_t)];
900 struct acl * aclp; char aclp_[PAD_(struct acl *)];
901};
902struct __acl_aclcheck_fd_args {
903 int filedes; char filedes_[PAD_(int)];
904 acl_type_t type; char type_[PAD_(acl_type_t)];
905 struct acl * aclp; char aclp_[PAD_(struct acl *)];
906};
907struct extattrctl_args {
908 const char * path; char path_[PAD_(const char *)];
909 int cmd; char cmd_[PAD_(int)];
910 const char * filename; char filename_[PAD_(const char *)];
911 int attrnamespace; char attrnamespace_[PAD_(int)];
912 const char * attrname; char attrname_[PAD_(const char *)];
913};
914struct extattr_set_file_args {
915 const char * path; char path_[PAD_(const char *)];
916 int attrnamespace; char attrnamespace_[PAD_(int)];
917 const char * attrname; char attrname_[PAD_(const char *)];
918 void * data; char data_[PAD_(void *)];
919 size_t nbytes; char nbytes_[PAD_(size_t)];
920};
921struct extattr_get_file_args {
922 const char * path; char path_[PAD_(const char *)];
923 int attrnamespace; char attrnamespace_[PAD_(int)];
924 const char * attrname; char attrname_[PAD_(const char *)];
925 void * data; char data_[PAD_(void *)];
926 size_t nbytes; char nbytes_[PAD_(size_t)];
927};
928struct extattr_delete_file_args {
929 const char * path; char path_[PAD_(const char *)];
930 int attrnamespace; char attrnamespace_[PAD_(int)];
931 const char * attrname; char attrname_[PAD_(const char *)];
932};
933struct aio_waitcomplete_args {
934 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
935 struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
936};
937struct getresuid_args {
938 uid_t * ruid; char ruid_[PAD_(uid_t *)];
939 uid_t * euid; char euid_[PAD_(uid_t *)];
940 uid_t * suid; char suid_[PAD_(uid_t *)];
941};
942struct getresgid_args {
943 gid_t * rgid; char rgid_[PAD_(gid_t *)];
944 gid_t * egid; char egid_[PAD_(gid_t *)];
945 gid_t * sgid; char sgid_[PAD_(gid_t *)];
946};
947struct kqueue_args {
948 register_t dummy;
949};
950struct kevent_args {
951 int fd; char fd_[PAD_(int)];
952 const struct kevent * changelist; char changelist_[PAD_(const struct kevent *)];
953 int nchanges; char nchanges_[PAD_(int)];
954 struct kevent * eventlist; char eventlist_[PAD_(struct kevent *)];
955 int nevents; char nevents_[PAD_(int)];
956 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
957};
958struct kenv_args {
959 int what; char what_[PAD_(int)];
960 const char * name; char name_[PAD_(const char *)];
961 char * value; char value_[PAD_(char *)];
962 int len; char len_[PAD_(int)];
963};
964struct lchflags_args {
965 const char * path; char path_[PAD_(const char *)];
966 u_long flags; char flags_[PAD_(u_long)];
967};
968struct uuidgen_args {
969 struct uuid * store; char store_[PAD_(struct uuid *)];
970 int count; char count_[PAD_(int)];
971};
972struct sendfile_args {
973 int fd; char fd_[PAD_(int)];
974 int s; char s_[PAD_(int)];
975 off_t offset; char offset_[PAD_(off_t)];
976 size_t nbytes; char nbytes_[PAD_(size_t)];
977 struct sf_hdtr * hdtr; char hdtr_[PAD_(struct sf_hdtr *)];
978 off_t * sbytes; char sbytes_[PAD_(off_t *)];
979 int flags; char flags_[PAD_(int)];
980};
981struct varsym_set_args {
982 int level; char level_[PAD_(int)];
983 const char * name; char name_[PAD_(const char *)];
984 const char * data; char data_[PAD_(const char *)];
985};
986struct varsym_get_args {
987 int mask; char mask_[PAD_(int)];
988 const char * wild; char wild_[PAD_(const char *)];
989 char * buf; char buf_[PAD_(char *)];
990 int bufsize; char bufsize_[PAD_(int)];
991};
992struct varsym_list_args {
993 int level; char level_[PAD_(int)];
994 char * buf; char buf_[PAD_(char *)];
995 int maxsize; char maxsize_[PAD_(int)];
996 int * marker; char marker_[PAD_(int *)];
997};
998struct syscap_get_args {
999 int cap; char cap_[PAD_(int)];
1000 void * data; char data_[PAD_(void *)];
1001 size_t bytes; char bytes_[PAD_(size_t)];
1002};
1003struct syscap_set_args {
1004 int cap; char cap_[PAD_(int)];
1005 int flags; char flags_[PAD_(int)];
1006 const void * data; char data_[PAD_(const void *)];
1007 size_t bytes; char bytes_[PAD_(size_t)];
1008};
1009struct exec_sys_register_args {
1010 void * entry; char entry_[PAD_(void *)];
1011};
1012struct exec_sys_unregister_args {
1013 int id; char id_[PAD_(int)];
1014};
1015struct sys_checkpoint_args {
1016 int type; char type_[PAD_(int)];
1017 int fd; char fd_[PAD_(int)];
1018 pid_t pid; char pid_[PAD_(pid_t)];
1019 int retval; char retval_[PAD_(int)];
1020};
1021struct mountctl_args {
1022 const char * path; char path_[PAD_(const char *)];
1023 int op; char op_[PAD_(int)];
1024 int fd; char fd_[PAD_(int)];
1025 const void * ctl; char ctl_[PAD_(const void *)];
1026 int ctllen; char ctllen_[PAD_(int)];
1027 void * buf; char buf_[PAD_(void *)];
1028 int buflen; char buflen_[PAD_(int)];
1029};
1030struct umtx_sleep_args {
1031 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
1032 int value; char value_[PAD_(int)];
1033 int timeout; char timeout_[PAD_(int)];
1034};
1035struct umtx_wakeup_args {
1036 volatile const int * ptr; char ptr_[PAD_(volatile const int *)];
1037 int count; char count_[PAD_(int)];
1038};
1039struct jail_attach_args {
1040 int jid; char jid_[PAD_(int)];
1041};
1042struct set_tls_area_args {
1043 int which; char which_[PAD_(int)];
1044 struct tls_info * info; char info_[PAD_(struct tls_info *)];
1045 size_t infosize; char infosize_[PAD_(size_t)];
1046};
1047struct get_tls_area_args {
1048 int which; char which_[PAD_(int)];
1049 struct tls_info * info; char info_[PAD_(struct tls_info *)];
1050 size_t infosize; char infosize_[PAD_(size_t)];
1051};
1052struct closefrom_args {
1053 int fd; char fd_[PAD_(int)];
1054};
1055struct stat_args {
1056 const char * path; char path_[PAD_(const char *)];
1057 struct stat * ub; char ub_[PAD_(struct stat *)];
1058};
1059struct fstat_args {
1060 int fd; char fd_[PAD_(int)];
1061 struct stat * sb; char sb_[PAD_(struct stat *)];
1062};
1063struct lstat_args {
1064 const char * path; char path_[PAD_(const char *)];
1065 struct stat * ub; char ub_[PAD_(struct stat *)];
1066};
1067struct fhstat_args {
1068 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1069 struct stat * sb; char sb_[PAD_(struct stat *)];
1070};
1071struct getdirentries_args {
1072 int fd; char fd_[PAD_(int)];
1073 char * buf; char buf_[PAD_(char *)];
1074 u_int count; char count_[PAD_(u_int)];
1075 long * basep; char basep_[PAD_(long *)];
1076};
1077struct getdents_args {
1078 int fd; char fd_[PAD_(int)];
1079 char * buf; char buf_[PAD_(char *)];
1080 size_t count; char count_[PAD_(size_t)];
1081};
1082struct usched_set_args {
1083 pid_t pid; char pid_[PAD_(pid_t)];
1084 int cmd; char cmd_[PAD_(int)];
1085 void * data; char data_[PAD_(void *)];
1086 int bytes; char bytes_[PAD_(int)];
1087};
1088struct extaccept_args {
1089 int s; char s_[PAD_(int)];
1090 int flags; char flags_[PAD_(int)];
1091 caddr_t name; char name_[PAD_(caddr_t)];
1092 int * anamelen; char anamelen_[PAD_(int *)];
1093};
1094struct extconnect_args {
1095 int s; char s_[PAD_(int)];
1096 int flags; char flags_[PAD_(int)];
1097 caddr_t name; char name_[PAD_(caddr_t)];
1098 int namelen; char namelen_[PAD_(int)];
1099};
1100struct mcontrol_args {
1101 void * addr; char addr_[PAD_(void *)];
1102 size_t len; char len_[PAD_(size_t)];
1103 int behav; char behav_[PAD_(int)];
1104 off_t value; char value_[PAD_(off_t)];
1105};
1106struct vmspace_create_args {
1107 void * id; char id_[PAD_(void *)];
1108 int type; char type_[PAD_(int)];
1109 void * data; char data_[PAD_(void *)];
1110};
1111struct vmspace_destroy_args {
1112 void * id; char id_[PAD_(void *)];
1113};
1114struct vmspace_ctl_args {
1115 void * id; char id_[PAD_(void *)];
1116 int cmd; char cmd_[PAD_(int)];
1117 struct trapframe * tframe; char tframe_[PAD_(struct trapframe *)];
1118 struct vextframe * vframe; char vframe_[PAD_(struct vextframe *)];
1119};
1120struct vmspace_mmap_args {
1121 void * id; char id_[PAD_(void *)];
1122 void * addr; char addr_[PAD_(void *)];
1123 size_t len; char len_[PAD_(size_t)];
1124 int prot; char prot_[PAD_(int)];
1125 int flags; char flags_[PAD_(int)];
1126 int fd; char fd_[PAD_(int)];
1127 off_t offset; char offset_[PAD_(off_t)];
1128};
1129struct vmspace_munmap_args {
1130 void * id; char id_[PAD_(void *)];
1131 void * addr; char addr_[PAD_(void *)];
1132 size_t len; char len_[PAD_(size_t)];
1133};
1134struct vmspace_mcontrol_args {
1135 void * id; char id_[PAD_(void *)];
1136 void * addr; char addr_[PAD_(void *)];
1137 size_t len; char len_[PAD_(size_t)];
1138 int behav; char behav_[PAD_(int)];
1139 off_t value; char value_[PAD_(off_t)];
1140};
1141struct vmspace_pread_args {
1142 void * id; char id_[PAD_(void *)];
1143 void * buf; char buf_[PAD_(void *)];
1144 size_t nbyte; char nbyte_[PAD_(size_t)];
1145 int flags; char flags_[PAD_(int)];
1146 off_t offset; char offset_[PAD_(off_t)];
1147};
1148struct vmspace_pwrite_args {
1149 void * id; char id_[PAD_(void *)];
1150 const void * buf; char buf_[PAD_(const void *)];
1151 size_t nbyte; char nbyte_[PAD_(size_t)];
1152 int flags; char flags_[PAD_(int)];
1153 off_t offset; char offset_[PAD_(off_t)];
1154};
1155struct extexit_args {
1156 int how; char how_[PAD_(int)];
1157 int status; char status_[PAD_(int)];
1158 void * addr; char addr_[PAD_(void *)];
1159};
1160struct lwp_create_args {
1161 struct lwp_params * params; char params_[PAD_(struct lwp_params *)];
1162};
1163struct lwp_gettid_args {
1164 register_t dummy;
1165};
1166struct lwp_kill_args {
1167 pid_t pid; char pid_[PAD_(pid_t)];
1168 lwpid_t tid; char tid_[PAD_(lwpid_t)];
1169 int signum; char signum_[PAD_(int)];
1170};
1171struct lwp_rtprio_args {
1172 int function; char function_[PAD_(int)];
1173 pid_t pid; char pid_[PAD_(pid_t)];
1174 lwpid_t tid; char tid_[PAD_(lwpid_t)];
1175 struct rtprio * rtp; char rtp_[PAD_(struct rtprio *)];
1176};
1177struct pselect_args {
1178 int nd; char nd_[PAD_(int)];
1179 fd_set * in; char in_[PAD_(fd_set *)];
1180 fd_set * ou; char ou_[PAD_(fd_set *)];
1181 fd_set * ex; char ex_[PAD_(fd_set *)];
1182 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
1183 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
1184};
1185struct statvfs_args {
1186 const char * path; char path_[PAD_(const char *)];
1187 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
1188};
1189struct fstatvfs_args {
1190 int fd; char fd_[PAD_(int)];
1191 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
1192};
1193struct fhstatvfs_args {
1194 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
1195 struct statvfs * buf; char buf_[PAD_(struct statvfs *)];
1196};
1197struct getvfsstat_args {
1198 struct statfs * buf; char buf_[PAD_(struct statfs *)];
1199 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)];
1200 long vbufsize; char vbufsize_[PAD_(long)];
1201 int flags; char flags_[PAD_(int)];
1202};
1203struct openat_args {
1204 int fd; char fd_[PAD_(int)];
1205 char * path; char path_[PAD_(char *)];
1206 int flags; char flags_[PAD_(int)];
1207 int mode; char mode_[PAD_(int)];
1208};
1209struct fstatat_args {
1210 int fd; char fd_[PAD_(int)];
1211 char * path; char path_[PAD_(char *)];
1212 struct stat * sb; char sb_[PAD_(struct stat *)];
1213 int flags; char flags_[PAD_(int)];
1214};
1215struct fchmodat_args {
1216 int fd; char fd_[PAD_(int)];
1217 char * path; char path_[PAD_(char *)];
1218 int mode; char mode_[PAD_(int)];
1219 int flags; char flags_[PAD_(int)];
1220};
1221struct fchownat_args {
1222 int fd; char fd_[PAD_(int)];
1223 char * path; char path_[PAD_(char *)];
1224 int uid; char uid_[PAD_(int)];
1225 int gid; char gid_[PAD_(int)];
1226 int flags; char flags_[PAD_(int)];
1227};
1228struct unlinkat_args {
1229 int fd; char fd_[PAD_(int)];
1230 char * path; char path_[PAD_(char *)];
1231 int flags; char flags_[PAD_(int)];
1232};
1233struct faccessat_args {
1234 int fd; char fd_[PAD_(int)];
1235 char * path; char path_[PAD_(char *)];
1236 int amode; char amode_[PAD_(int)];
1237 int flags; char flags_[PAD_(int)];
1238};
1239struct mq_open_args {
1240 const char * name; char name_[PAD_(const char *)];
1241 int oflag; char oflag_[PAD_(int)];
1242 mode_t mode; char mode_[PAD_(mode_t)];
1243 struct mq_attr * attr; char attr_[PAD_(struct mq_attr *)];
1244};
1245struct mq_close_args {
1246 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1247};
1248struct mq_unlink_args {
1249 const char * name; char name_[PAD_(const char *)];
1250};
1251struct mq_getattr_args {
1252 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1253 struct mq_attr * mqstat; char mqstat_[PAD_(struct mq_attr *)];
1254};
1255struct mq_setattr_args {
1256 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1257 const struct mq_attr * mqstat; char mqstat_[PAD_(const struct mq_attr *)];
1258 struct mq_attr * omqstat; char omqstat_[PAD_(struct mq_attr *)];
1259};
1260struct mq_notify_args {
1261 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1262 const struct sigevent * notification; char notification_[PAD_(const struct sigevent *)];
1263};
1264struct mq_send_args {
1265 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1266 const char * msg_ptr; char msg_ptr_[PAD_(const char *)];
1267 size_t msg_len; char msg_len_[PAD_(size_t)];
1268 unsigned msg_prio; char msg_prio_[PAD_(unsigned)];
1269};
1270struct mq_receive_args {
1271 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1272 char * msg_ptr; char msg_ptr_[PAD_(char *)];
1273 size_t msg_len; char msg_len_[PAD_(size_t)];
1274 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)];
1275};
1276struct mq_timedsend_args {
1277 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1278 const char * msg_ptr; char msg_ptr_[PAD_(const char *)];
1279 size_t msg_len; char msg_len_[PAD_(size_t)];
1280 unsigned msg_prio; char msg_prio_[PAD_(unsigned)];
1281 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)];
1282};
1283struct mq_timedreceive_args {
1284 mqd_t mqdes; char mqdes_[PAD_(mqd_t)];
1285 char * msg_ptr; char msg_ptr_[PAD_(char *)];
1286 size_t msg_len; char msg_len_[PAD_(size_t)];
1287 unsigned * msg_prio; char msg_prio_[PAD_(unsigned *)];
1288 const struct timespec * abs_timeout; char abs_timeout_[PAD_(const struct timespec *)];
1289};
1290struct ioprio_set_args {
1291 int which; char which_[PAD_(int)];
1292 int who; char who_[PAD_(int)];
1293 int prio; char prio_[PAD_(int)];
1294};
1295struct ioprio_get_args {
1296 int which; char which_[PAD_(int)];
1297 int who; char who_[PAD_(int)];
1298};
1299struct chroot_kernel_args {
1300 char * path; char path_[PAD_(char *)];
1301};
1302struct renameat_args {
1303 int oldfd; char oldfd_[PAD_(int)];
1304 char * old; char old_[PAD_(char *)];
1305 int newfd; char newfd_[PAD_(int)];
1306 char * new; char new_[PAD_(char *)];
1307};
1308struct mkdirat_args {
1309 int fd; char fd_[PAD_(int)];
1310 char * path; char path_[PAD_(char *)];
1311 mode_t mode; char mode_[PAD_(mode_t)];
1312};
1313struct mkfifoat_args {
1314 int fd; char fd_[PAD_(int)];
1315 char * path; char path_[PAD_(char *)];
1316 mode_t mode; char mode_[PAD_(mode_t)];
1317};
1318struct mknodat_args {
1319 int fd; char fd_[PAD_(int)];
1320 char * path; char path_[PAD_(char *)];
1321 mode_t mode; char mode_[PAD_(mode_t)];
1322 dev_t dev; char dev_[PAD_(dev_t)];
1323};
1324struct readlinkat_args {
1325 int fd; char fd_[PAD_(int)];
1326 char * path; char path_[PAD_(char *)];
1327 char * buf; char buf_[PAD_(char *)];
1328 size_t bufsize; char bufsize_[PAD_(size_t)];
1329};
1330struct symlinkat_args {
1331 char * path1; char path1_[PAD_(char *)];
1332 int fd; char fd_[PAD_(int)];
1333 char * path2; char path2_[PAD_(char *)];
1334};
1335struct swapoff_args {
1336 char * name; char name_[PAD_(char *)];
1337};
1338struct vquotactl_args {
1339 const char * path; char path_[PAD_(const char *)];
1340 struct plistref * pref; char pref_[PAD_(struct plistref *)];
1341};
1342struct linkat_args {
1343 int fd1; char fd1_[PAD_(int)];
1344 char * path1; char path1_[PAD_(char *)];
1345 int fd2; char fd2_[PAD_(int)];
1346 char * path2; char path2_[PAD_(char *)];
1347 int flags; char flags_[PAD_(int)];
1348};
1349struct eaccess_args {
1350 char * path; char path_[PAD_(char *)];
1351 int flags; char flags_[PAD_(int)];
1352};
1353struct lpathconf_args {
1354 char * path; char path_[PAD_(char *)];
1355 int name; char name_[PAD_(int)];
1356};
1357struct procctl_args {
1358 idtype_t idtype; char idtype_[PAD_(idtype_t)];
1359 id_t id; char id_[PAD_(id_t)];
1360 int cmd; char cmd_[PAD_(int)];
1361 void * data; char data_[PAD_(void *)];
1362};
1363struct chflagsat_args {
1364 int fd; char fd_[PAD_(int)];
1365 const char * path; char path_[PAD_(const char *)];
1366 u_long flags; char flags_[PAD_(u_long)];
1367 int atflags; char atflags_[PAD_(int)];
1368};
1369struct pipe2_args {
1370 int * fildes; char fildes_[PAD_(int *)];
1371 int flags; char flags_[PAD_(int)];
1372};
1373struct utimensat_args {
1374 int fd; char fd_[PAD_(int)];
1375 const char * path; char path_[PAD_(const char *)];
1376 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
1377 int flags; char flags_[PAD_(int)];
1378};
1379struct futimens_args {
1380 int fd; char fd_[PAD_(int)];
1381 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
1382};
1383struct accept4_args {
1384 int s; char s_[PAD_(int)];
1385 caddr_t name; char name_[PAD_(caddr_t)];
1386 int * anamelen; char anamelen_[PAD_(int *)];
1387 int flags; char flags_[PAD_(int)];
1388};
1389struct lwp_setname_args {
1390 lwpid_t tid; char tid_[PAD_(lwpid_t)];
1391 const char * name; char name_[PAD_(const char *)];
1392};
1393struct ppoll_args {
1394 struct pollfd * fds; char fds_[PAD_(struct pollfd *)];
1395 u_int nfds; char nfds_[PAD_(u_int)];
1396 const struct timespec * ts; char ts_[PAD_(const struct timespec *)];
1397 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
1398};
1399struct lwp_setaffinity_args {
1400 pid_t pid; char pid_[PAD_(pid_t)];
1401 lwpid_t tid; char tid_[PAD_(lwpid_t)];
1402 const cpumask_t * mask; char mask_[PAD_(const cpumask_t *)];
1403};
1404struct lwp_getaffinity_args {
1405 pid_t pid; char pid_[PAD_(pid_t)];
1406 lwpid_t tid; char tid_[PAD_(lwpid_t)];
1407 cpumask_t * mask; char mask_[PAD_(cpumask_t *)];
1408};
1409struct lwp_create2_args {
1410 struct lwp_params * params; char params_[PAD_(struct lwp_params *)];
1411 const cpumask_t * mask; char mask_[PAD_(const cpumask_t *)];
1412};
1413struct getcpuclockid_args {
1414 pid_t pid; char pid_[PAD_(pid_t)];
1415 lwpid_t lwp_id; char lwp_id_[PAD_(lwpid_t)];
1416 clockid_t * clock_id; char clock_id_[PAD_(clockid_t *)];
1417};
1418struct wait6_args {
1419 idtype_t idtype; char idtype_[PAD_(idtype_t)];
1420 id_t id; char id_[PAD_(id_t)];
1421 int * status; char status_[PAD_(int *)];
1422 int options; char options_[PAD_(int)];
1423 struct __wrusage * wrusage; char wrusage_[PAD_(struct __wrusage *)];
1424 siginfo_t * info; char info_[PAD_(siginfo_t *)];
1425};
1426struct lwp_getname_args {
1427 lwpid_t tid; char tid_[PAD_(lwpid_t)];
1428 char * name; char name_[PAD_(char *)];
1429 size_t len; char len_[PAD_(size_t)];
1430};
1431struct getrandom_args {
1432 void * buf; char buf_[PAD_(void *)];
1433 size_t len; char len_[PAD_(size_t)];
1434 unsigned flags; char flags_[PAD_(unsigned)];
1435};
1436struct __realpath_args {
1437 const char * path; char path_[PAD_(const char *)];
1438 char * buf; char buf_[PAD_(char *)];
1439 size_t len; char len_[PAD_(size_t)];
1440};
1441struct fexecve_args {
1442 int fd; char fd_[PAD_(int)];
1443 char ** argv; char argv_[PAD_(char **)];
1444 char ** envv; char envv_[PAD_(char **)];
1445};
1446struct posix_fallocate_args {
1447 int fd; char fd_[PAD_(int)];
1448 off_t offset; char offset_[PAD_(off_t)];
1449 off_t len; char len_[PAD_(off_t)];
1450};
1451struct fdatasync_args {
1452 int fd; char fd_[PAD_(int)];
1453};
1454
1455#undef PAD_
1456
1457#ifdef _KERNEL
1458
1459struct sysmsg;
1460
1461
1462#endif /* _KERNEL */
1463
1464#ifdef _KERNEL
1465
1466struct sysmsg;
1467
1468int sys_xsyscall (struct sysmsg *sysmsg, const struct nosys_args *);
1469int sys_exit (struct sysmsg *sysmsg, const struct exit_args *);
1470int sys_fork (struct sysmsg *sysmsg, const struct fork_args *);
1471int sys_read (struct sysmsg *sysmsg, const struct read_args *);
1472int sys_write (struct sysmsg *sysmsg, const struct write_args *);
1473int sys_open (struct sysmsg *sysmsg, const struct open_args *);
1474int sys_close (struct sysmsg *sysmsg, const struct close_args *);
1475int sys_wait4 (struct sysmsg *sysmsg, const struct wait_args *);
1476int sys_nosys (struct sysmsg *sysmsg, const struct nosys_args *);
1477int sys_link (struct sysmsg *sysmsg, const struct link_args *);
1478int sys_unlink (struct sysmsg *sysmsg, const struct unlink_args *);
1479int sys_chdir (struct sysmsg *sysmsg, const struct chdir_args *);
1480int sys_fchdir (struct sysmsg *sysmsg, const struct fchdir_args *);
1481int sys_mknod (struct sysmsg *sysmsg, const struct mknod_args *);
1482int sys_chmod (struct sysmsg *sysmsg, const struct chmod_args *);
1483int sys_chown (struct sysmsg *sysmsg, const struct chown_args *);
1484int sys_obreak (struct sysmsg *sysmsg, const struct obreak_args *);
1485int sys_getfsstat (struct sysmsg *sysmsg, const struct getfsstat_args *);
1486int sys_getpid (struct sysmsg *sysmsg, const struct getpid_args *);
1487int sys_mount (struct sysmsg *sysmsg, const struct mount_args *);
1488int sys_unmount (struct sysmsg *sysmsg, const struct unmount_args *);
1489int sys_setuid (struct sysmsg *sysmsg, const struct setuid_args *);
1490int sys_getuid (struct sysmsg *sysmsg, const struct getuid_args *);
1491int sys_geteuid (struct sysmsg *sysmsg, const struct geteuid_args *);
1492int sys_ptrace (struct sysmsg *sysmsg, const struct ptrace_args *);
1493int sys_recvmsg (struct sysmsg *sysmsg, const struct recvmsg_args *);
1494int sys_sendmsg (struct sysmsg *sysmsg, const struct sendmsg_args *);
1495int sys_recvfrom (struct sysmsg *sysmsg, const struct recvfrom_args *);
1496int sys_accept (struct sysmsg *sysmsg, const struct accept_args *);
1497int sys_getpeername (struct sysmsg *sysmsg, const struct getpeername_args *);
1498int sys_getsockname (struct sysmsg *sysmsg, const struct getsockname_args *);
1499int sys_access (struct sysmsg *sysmsg, const struct access_args *);
1500int sys_chflags (struct sysmsg *sysmsg, const struct chflags_args *);
1501int sys_fchflags (struct sysmsg *sysmsg, const struct fchflags_args *);
1502int sys_sync (struct sysmsg *sysmsg, const struct sync_args *);
1503int sys_kill (struct sysmsg *sysmsg, const struct kill_args *);
1504int sys_getppid (struct sysmsg *sysmsg, const struct getppid_args *);
1505int sys_dup (struct sysmsg *sysmsg, const struct dup_args *);
1506int sys_pipe (struct sysmsg *sysmsg, const struct pipe_args *);
1507int sys_getegid (struct sysmsg *sysmsg, const struct getegid_args *);
1508int sys_profil (struct sysmsg *sysmsg, const struct profil_args *);
1509int sys_ktrace (struct sysmsg *sysmsg, const struct ktrace_args *);
1510int sys_getgid (struct sysmsg *sysmsg, const struct getgid_args *);
1511int sys_getlogin (struct sysmsg *sysmsg, const struct getlogin_args *);
1512int sys_setlogin (struct sysmsg *sysmsg, const struct setlogin_args *);
1513int sys_acct (struct sysmsg *sysmsg, const struct acct_args *);
1514int sys_sigaltstack (struct sysmsg *sysmsg, const struct sigaltstack_args *);
1515int sys_ioctl (struct sysmsg *sysmsg, const struct ioctl_args *);
1516int sys_reboot (struct sysmsg *sysmsg, const struct reboot_args *);
1517int sys_revoke (struct sysmsg *sysmsg, const struct revoke_args *);
1518int sys_symlink (struct sysmsg *sysmsg, const struct symlink_args *);
1519int sys_readlink (struct sysmsg *sysmsg, const struct readlink_args *);
1520int sys_execve (struct sysmsg *sysmsg, const struct execve_args *);
1521int sys_umask (struct sysmsg *sysmsg, const struct umask_args *);
1522int sys_chroot (struct sysmsg *sysmsg, const struct chroot_args *);
1523int sys_msync (struct sysmsg *sysmsg, const struct msync_args *);
1524int sys_vfork (struct sysmsg *sysmsg, const struct vfork_args *);
1525int sys_sbrk (struct sysmsg *sysmsg, const struct sbrk_args *);
1526int sys_sstk (struct sysmsg *sysmsg, const struct sstk_args *);
1527int sys_munmap (struct sysmsg *sysmsg, const struct munmap_args *);
1528int sys_mprotect (struct sysmsg *sysmsg, const struct mprotect_args *);
1529int sys_madvise (struct sysmsg *sysmsg, const struct madvise_args *);
1530int sys_mincore (struct sysmsg *sysmsg, const struct mincore_args *);
1531int sys_getgroups (struct sysmsg *sysmsg, const struct getgroups_args *);
1532int sys_setgroups (struct sysmsg *sysmsg, const struct setgroups_args *);
1533int sys_getpgrp (struct sysmsg *sysmsg, const struct getpgrp_args *);
1534int sys_setpgid (struct sysmsg *sysmsg, const struct setpgid_args *);
1535int sys_setitimer (struct sysmsg *sysmsg, const struct setitimer_args *);
1536int sys_swapon (struct sysmsg *sysmsg, const struct swapon_args *);
1537int sys_getitimer (struct sysmsg *sysmsg, const struct getitimer_args *);
1538int sys_getdtablesize (struct sysmsg *sysmsg, const struct getdtablesize_args *);
1539int sys_dup2 (struct sysmsg *sysmsg, const struct dup2_args *);
1540int sys_fcntl (struct sysmsg *sysmsg, const struct fcntl_args *);
1541int sys_select (struct sysmsg *sysmsg, const struct select_args *);
1542int sys_fsync (struct sysmsg *sysmsg, const struct fsync_args *);
1543int sys_setpriority (struct sysmsg *sysmsg, const struct setpriority_args *);
1544int sys_socket (struct sysmsg *sysmsg, const struct socket_args *);
1545int sys_connect (struct sysmsg *sysmsg, const struct connect_args *);
1546int sys_getpriority (struct sysmsg *sysmsg, const struct getpriority_args *);
1547int sys_bind (struct sysmsg *sysmsg, const struct bind_args *);
1548int sys_setsockopt (struct sysmsg *sysmsg, const struct setsockopt_args *);
1549int sys_listen (struct sysmsg *sysmsg, const struct listen_args *);
1550int sys_gettimeofday (struct sysmsg *sysmsg, const struct gettimeofday_args *);
1551int sys_getrusage (struct sysmsg *sysmsg, const struct getrusage_args *);
1552int sys_getsockopt (struct sysmsg *sysmsg, const struct getsockopt_args *);
1553int sys_readv (struct sysmsg *sysmsg, const struct readv_args *);
1554int sys_writev (struct sysmsg *sysmsg, const struct writev_args *);
1555int sys_settimeofday (struct sysmsg *sysmsg, const struct settimeofday_args *);
1556int sys_fchown (struct sysmsg *sysmsg, const struct fchown_args *);
1557int sys_fchmod (struct sysmsg *sysmsg, const struct fchmod_args *);
1558int sys_setreuid (struct sysmsg *sysmsg, const struct setreuid_args *);
1559int sys_setregid (struct sysmsg *sysmsg, const struct setregid_args *);
1560int sys_rename (struct sysmsg *sysmsg, const struct rename_args *);
1561int sys_flock (struct sysmsg *sysmsg, const struct flock_args *);
1562int sys_mkfifo (struct sysmsg *sysmsg, const struct mkfifo_args *);
1563int sys_sendto (struct sysmsg *sysmsg, const struct sendto_args *);
1564int sys_shutdown (struct sysmsg *sysmsg, const struct shutdown_args *);
1565int sys_socketpair (struct sysmsg *sysmsg, const struct socketpair_args *);
1566int sys_mkdir (struct sysmsg *sysmsg, const struct mkdir_args *);
1567int sys_rmdir (struct sysmsg *sysmsg, const struct rmdir_args *);
1568int sys_utimes (struct sysmsg *sysmsg, const struct utimes_args *);
1569int sys_adjtime (struct sysmsg *sysmsg, const struct adjtime_args *);
1570int sys_setsid (struct sysmsg *sysmsg, const struct setsid_args *);
1571int sys_quotactl (struct sysmsg *sysmsg, const struct quotactl_args *);
1572int sys_nfssvc (struct sysmsg *sysmsg, const struct nfssvc_args *);
1573int sys_statfs (struct sysmsg *sysmsg, const struct statfs_args *);
1574int sys_fstatfs (struct sysmsg *sysmsg, const struct fstatfs_args *);
1575int sys_getfh (struct sysmsg *sysmsg, const struct getfh_args *);
1576int sys_sysarch (struct sysmsg *sysmsg, const struct sysarch_args *);
1577int sys_rtprio (struct sysmsg *sysmsg, const struct rtprio_args *);
1578int sys_extpread (struct sysmsg *sysmsg, const struct extpread_args *);
1579int sys_extpwrite (struct sysmsg *sysmsg, const struct extpwrite_args *);
1580int sys_ntp_adjtime (struct sysmsg *sysmsg, const struct ntp_adjtime_args *);
1581int sys_setgid (struct sysmsg *sysmsg, const struct setgid_args *);
1582int sys_setegid (struct sysmsg *sysmsg, const struct setegid_args *);
1583int sys_seteuid (struct sysmsg *sysmsg, const struct seteuid_args *);
1584int sys_pathconf (struct sysmsg *sysmsg, const struct pathconf_args *);
1585int sys_fpathconf (struct sysmsg *sysmsg, const struct fpathconf_args *);
1586int sys_getrlimit (struct sysmsg *sysmsg, const struct __getrlimit_args *);
1587int sys_setrlimit (struct sysmsg *sysmsg, const struct __setrlimit_args *);
1588int sys_mmap (struct sysmsg *sysmsg, const struct mmap_args *);
1589int sys_lseek (struct sysmsg *sysmsg, const struct lseek_args *);
1590int sys_truncate (struct sysmsg *sysmsg, const struct truncate_args *);
1591int sys_ftruncate (struct sysmsg *sysmsg, const struct ftruncate_args *);
1592int sys___sysctl (struct sysmsg *sysmsg, const struct sysctl_args *);
1593int sys_mlock (struct sysmsg *sysmsg, const struct mlock_args *);
1594int sys_munlock (struct sysmsg *sysmsg, const struct munlock_args *);
1595int sys_undelete (struct sysmsg *sysmsg, const struct undelete_args *);
1596int sys_futimes (struct sysmsg *sysmsg, const struct futimes_args *);
1597int sys_getpgid (struct sysmsg *sysmsg, const struct getpgid_args *);
1598int sys_poll (struct sysmsg *sysmsg, const struct poll_args *);
1599int sys_lkmnosys (struct sysmsg *sysmsg, const struct nosys_args *);
1600int sys___semctl (struct sysmsg *sysmsg, const struct __semctl_args *);
1601int sys_semget (struct sysmsg *sysmsg, const struct semget_args *);
1602int sys_semop (struct sysmsg *sysmsg, const struct semop_args *);
1603int sys_msgctl (struct sysmsg *sysmsg, const struct msgctl_args *);
1604int sys_msgget (struct sysmsg *sysmsg, const struct msgget_args *);
1605int sys_msgsnd (struct sysmsg *sysmsg, const struct msgsnd_args *);
1606int sys_msgrcv (struct sysmsg *sysmsg, const struct msgrcv_args *);
1607int sys_shmat (struct sysmsg *sysmsg, const struct shmat_args *);
1608int sys_shmctl (struct sysmsg *sysmsg, const struct shmctl_args *);
1609int sys_shmdt (struct sysmsg *sysmsg, const struct shmdt_args *);
1610int sys_shmget (struct sysmsg *sysmsg, const struct shmget_args *);
1611int sys_clock_gettime (struct sysmsg *sysmsg, const struct clock_gettime_args *);
1612int sys_clock_settime (struct sysmsg *sysmsg, const struct clock_settime_args *);
1613int sys_clock_getres (struct sysmsg *sysmsg, const struct clock_getres_args *);
1614int sys_nanosleep (struct sysmsg *sysmsg, const struct nanosleep_args *);
1615int sys_clock_nanosleep (struct sysmsg *sysmsg, const struct clock_nanosleep_args *);
1616int sys_minherit (struct sysmsg *sysmsg, const struct minherit_args *);
1617int sys_rfork (struct sysmsg *sysmsg, const struct rfork_args *);
1618int sys_openbsd_poll (struct sysmsg *sysmsg, const struct openbsd_poll_args *);
1619int sys_issetugid (struct sysmsg *sysmsg, const struct issetugid_args *);
1620int sys_lchown (struct sysmsg *sysmsg, const struct lchown_args *);
1621int sys_lchmod (struct sysmsg *sysmsg, const struct lchmod_args *);
1622int sys_lutimes (struct sysmsg *sysmsg, const struct lutimes_args *);
1623int sys_extpreadv (struct sysmsg *sysmsg, const struct extpreadv_args *);
1624int sys_extpwritev (struct sysmsg *sysmsg, const struct extpwritev_args *);
1625int sys_fhstatfs (struct sysmsg *sysmsg, const struct fhstatfs_args *);
1626int sys_fhopen (struct sysmsg *sysmsg, const struct fhopen_args *);
1627int sys_modnext (struct sysmsg *sysmsg, const struct modnext_args *);
1628int sys_modstat (struct sysmsg *sysmsg, const struct modstat_args *);
1629int sys_modfnext (struct sysmsg *sysmsg, const struct modfnext_args *);
1630int sys_modfind (struct sysmsg *sysmsg, const struct modfind_args *);
1631int sys_kldload (struct sysmsg *sysmsg, const struct kldload_args *);
1632int sys_kldunload (struct sysmsg *sysmsg, const struct kldunload_args *);
1633int sys_kldfind (struct sysmsg *sysmsg, const struct kldfind_args *);
1634int sys_kldnext (struct sysmsg *sysmsg, const struct kldnext_args *);
1635int sys_kldstat (struct sysmsg *sysmsg, const struct kldstat_args *);
1636int sys_kldfirstmod (struct sysmsg *sysmsg, const struct kldfirstmod_args *);
1637int sys_getsid (struct sysmsg *sysmsg, const struct getsid_args *);
1638int sys_setresuid (struct sysmsg *sysmsg, const struct setresuid_args *);
1639int sys_setresgid (struct sysmsg *sysmsg, const struct setresgid_args *);
1640int sys_aio_return (struct sysmsg *sysmsg, const struct aio_return_args *);
1641int sys_aio_suspend (struct sysmsg *sysmsg, const struct aio_suspend_args *);
1642int sys_aio_cancel (struct sysmsg *sysmsg, const struct aio_cancel_args *);
1643int sys_aio_error (struct sysmsg *sysmsg, const struct aio_error_args *);
1644int sys_aio_read (struct sysmsg *sysmsg, const struct aio_read_args *);
1645int sys_aio_write (struct sysmsg *sysmsg, const struct aio_write_args *);
1646int sys_lio_listio (struct sysmsg *sysmsg, const struct lio_listio_args *);
1647int sys_yield (struct sysmsg *sysmsg, const struct yield_args *);
1648int sys_mlockall (struct sysmsg *sysmsg, const struct mlockall_args *);
1649int sys_munlockall (struct sysmsg *sysmsg, const struct munlockall_args *);
1650int sys___getcwd (struct sysmsg *sysmsg, const struct __getcwd_args *);
1651int sys_sched_setparam (struct sysmsg *sysmsg, const struct sched_setparam_args *);
1652int sys_sched_getparam (struct sysmsg *sysmsg, const struct sched_getparam_args *);
1653int sys_sched_setscheduler (struct sysmsg *sysmsg, const struct sched_setscheduler_args *);
1654int sys_sched_getscheduler (struct sysmsg *sysmsg, const struct sched_getscheduler_args *);
1655int sys_sched_yield (struct sysmsg *sysmsg, const struct sched_yield_args *);
1656int sys_sched_get_priority_max (struct sysmsg *sysmsg, const struct sched_get_priority_max_args *);
1657int sys_sched_get_priority_min (struct sysmsg *sysmsg, const struct sched_get_priority_min_args *);
1658int sys_sched_rr_get_interval (struct sysmsg *sysmsg, const struct sched_rr_get_interval_args *);
1659int sys_utrace (struct sysmsg *sysmsg, const struct utrace_args *);
1660int sys_kldsym (struct sysmsg *sysmsg, const struct kldsym_args *);
1661int sys_jail (struct sysmsg *sysmsg, const struct jail_args *);
1662int sys_sigprocmask (struct sysmsg *sysmsg, const struct sigprocmask_args *);
1663int sys_sigsuspend (struct sysmsg *sysmsg, const struct sigsuspend_args *);
1664int sys_sigaction (struct sysmsg *sysmsg, const struct sigaction_args *);
1665int sys_sigpending (struct sysmsg *sysmsg, const struct sigpending_args *);
1666int sys_sigreturn (struct sysmsg *sysmsg, const struct sigreturn_args *);
1667int sys_sigtimedwait (struct sysmsg *sysmsg, const struct sigtimedwait_args *);
1668int sys_sigwaitinfo (struct sysmsg *sysmsg, const struct sigwaitinfo_args *);
1669int sys___acl_get_file (struct sysmsg *sysmsg, const struct __acl_get_file_args *);
1670int sys___acl_set_file (struct sysmsg *sysmsg, const struct __acl_set_file_args *);
1671int sys___acl_get_fd (struct sysmsg *sysmsg, const struct __acl_get_fd_args *);
1672int sys___acl_set_fd (struct sysmsg *sysmsg, const struct __acl_set_fd_args *);
1673int sys___acl_delete_file (struct sysmsg *sysmsg, const struct __acl_delete_file_args *);
1674int sys___acl_delete_fd (struct sysmsg *sysmsg, const struct __acl_delete_fd_args *);
1675int sys___acl_aclcheck_file (struct sysmsg *sysmsg, const struct __acl_aclcheck_file_args *);
1676int sys___acl_aclcheck_fd (struct sysmsg *sysmsg, const struct __acl_aclcheck_fd_args *);
1677int sys_extattrctl (struct sysmsg *sysmsg, const struct extattrctl_args *);
1678int sys_extattr_set_file (struct sysmsg *sysmsg, const struct extattr_set_file_args *);
1679int sys_extattr_get_file (struct sysmsg *sysmsg, const struct extattr_get_file_args *);
1680int sys_extattr_delete_file (struct sysmsg *sysmsg, const struct extattr_delete_file_args *);
1681int sys_aio_waitcomplete (struct sysmsg *sysmsg, const struct aio_waitcomplete_args *);
1682int sys_getresuid (struct sysmsg *sysmsg, const struct getresuid_args *);
1683int sys_getresgid (struct sysmsg *sysmsg, const struct getresgid_args *);
1684int sys_kqueue (struct sysmsg *sysmsg, const struct kqueue_args *);
1685int sys_kevent (struct sysmsg *sysmsg, const struct kevent_args *);
1686int sys_kenv (struct sysmsg *sysmsg, const struct kenv_args *);
1687int sys_lchflags (struct sysmsg *sysmsg, const struct lchflags_args *);
1688int sys_uuidgen (struct sysmsg *sysmsg, const struct uuidgen_args *);
1689int sys_sendfile (struct sysmsg *sysmsg, const struct sendfile_args *);
1690int sys_varsym_set (struct sysmsg *sysmsg, const struct varsym_set_args *);
1691int sys_varsym_get (struct sysmsg *sysmsg, const struct varsym_get_args *);
1692int sys_varsym_list (struct sysmsg *sysmsg, const struct varsym_list_args *);
1693int sys_syscap_get (struct sysmsg *sysmsg, const struct syscap_get_args *);
1694int sys_syscap_set (struct sysmsg *sysmsg, const struct syscap_set_args *);
1695int sys_exec_sys_register (struct sysmsg *sysmsg, const struct exec_sys_register_args *);
1696int sys_exec_sys_unregister (struct sysmsg *sysmsg, const struct exec_sys_unregister_args *);
1697int sys_sys_checkpoint (struct sysmsg *sysmsg, const struct sys_checkpoint_args *);
1698int sys_mountctl (struct sysmsg *sysmsg, const struct mountctl_args *);
1699int sys_umtx_sleep (struct sysmsg *sysmsg, const struct umtx_sleep_args *);
1700int sys_umtx_wakeup (struct sysmsg *sysmsg, const struct umtx_wakeup_args *);
1701int sys_jail_attach (struct sysmsg *sysmsg, const struct jail_attach_args *);
1702int sys_set_tls_area (struct sysmsg *sysmsg, const struct set_tls_area_args *);
1703int sys_get_tls_area (struct sysmsg *sysmsg, const struct get_tls_area_args *);
1704int sys_closefrom (struct sysmsg *sysmsg, const struct closefrom_args *);
1705int sys_stat (struct sysmsg *sysmsg, const struct stat_args *);
1706int sys_fstat (struct sysmsg *sysmsg, const struct fstat_args *);
1707int sys_lstat (struct sysmsg *sysmsg, const struct lstat_args *);
1708int sys_fhstat (struct sysmsg *sysmsg, const struct fhstat_args *);
1709int sys_getdirentries (struct sysmsg *sysmsg, const struct getdirentries_args *);
1710int sys_getdents (struct sysmsg *sysmsg, const struct getdents_args *);
1711int sys_usched_set (struct sysmsg *sysmsg, const struct usched_set_args *);
1712int sys_extaccept (struct sysmsg *sysmsg, const struct extaccept_args *);
1713int sys_extconnect (struct sysmsg *sysmsg, const struct extconnect_args *);
1714int sys_mcontrol (struct sysmsg *sysmsg, const struct mcontrol_args *);
1715int sys_vmspace_create (struct sysmsg *sysmsg, const struct vmspace_create_args *);
1716int sys_vmspace_destroy (struct sysmsg *sysmsg, const struct vmspace_destroy_args *);
1717int sys_vmspace_ctl (struct sysmsg *sysmsg, const struct vmspace_ctl_args *);
1718int sys_vmspace_mmap (struct sysmsg *sysmsg, const struct vmspace_mmap_args *);
1719int sys_vmspace_munmap (struct sysmsg *sysmsg, const struct vmspace_munmap_args *);
1720int sys_vmspace_mcontrol (struct sysmsg *sysmsg, const struct vmspace_mcontrol_args *);
1721int sys_vmspace_pread (struct sysmsg *sysmsg, const struct vmspace_pread_args *);
1722int sys_vmspace_pwrite (struct sysmsg *sysmsg, const struct vmspace_pwrite_args *);
1723int sys_extexit (struct sysmsg *sysmsg, const struct extexit_args *);
1724int sys_lwp_create (struct sysmsg *sysmsg, const struct lwp_create_args *);
1725int sys_lwp_gettid (struct sysmsg *sysmsg, const struct lwp_gettid_args *);
1726int sys_lwp_kill (struct sysmsg *sysmsg, const struct lwp_kill_args *);
1727int sys_lwp_rtprio (struct sysmsg *sysmsg, const struct lwp_rtprio_args *);
1728int sys_pselect (struct sysmsg *sysmsg, const struct pselect_args *);
1729int sys_statvfs (struct sysmsg *sysmsg, const struct statvfs_args *);
1730int sys_fstatvfs (struct sysmsg *sysmsg, const struct fstatvfs_args *);
1731int sys_fhstatvfs (struct sysmsg *sysmsg, const struct fhstatvfs_args *);
1732int sys_getvfsstat (struct sysmsg *sysmsg, const struct getvfsstat_args *);
1733int sys_openat (struct sysmsg *sysmsg, const struct openat_args *);
1734int sys_fstatat (struct sysmsg *sysmsg, const struct fstatat_args *);
1735int sys_fchmodat (struct sysmsg *sysmsg, const struct fchmodat_args *);
1736int sys_fchownat (struct sysmsg *sysmsg, const struct fchownat_args *);
1737int sys_unlinkat (struct sysmsg *sysmsg, const struct unlinkat_args *);
1738int sys_faccessat (struct sysmsg *sysmsg, const struct faccessat_args *);
1739int sys_mq_open (struct sysmsg *sysmsg, const struct mq_open_args *);
1740int sys_mq_close (struct sysmsg *sysmsg, const struct mq_close_args *);
1741int sys_mq_unlink (struct sysmsg *sysmsg, const struct mq_unlink_args *);
1742int sys_mq_getattr (struct sysmsg *sysmsg, const struct mq_getattr_args *);
1743int sys_mq_setattr (struct sysmsg *sysmsg, const struct mq_setattr_args *);
1744int sys_mq_notify (struct sysmsg *sysmsg, const struct mq_notify_args *);
1745int sys_mq_send (struct sysmsg *sysmsg, const struct mq_send_args *);
1746int sys_mq_receive (struct sysmsg *sysmsg, const struct mq_receive_args *);
1747int sys_mq_timedsend (struct sysmsg *sysmsg, const struct mq_timedsend_args *);
1748int sys_mq_timedreceive (struct sysmsg *sysmsg, const struct mq_timedreceive_args *);
1749int sys_ioprio_set (struct sysmsg *sysmsg, const struct ioprio_set_args *);
1750int sys_ioprio_get (struct sysmsg *sysmsg, const struct ioprio_get_args *);
1751int sys_chroot_kernel (struct sysmsg *sysmsg, const struct chroot_kernel_args *);
1752int sys_renameat (struct sysmsg *sysmsg, const struct renameat_args *);
1753int sys_mkdirat (struct sysmsg *sysmsg, const struct mkdirat_args *);
1754int sys_mkfifoat (struct sysmsg *sysmsg, const struct mkfifoat_args *);
1755int sys_mknodat (struct sysmsg *sysmsg, const struct mknodat_args *);
1756int sys_readlinkat (struct sysmsg *sysmsg, const struct readlinkat_args *);
1757int sys_symlinkat (struct sysmsg *sysmsg, const struct symlinkat_args *);
1758int sys_swapoff (struct sysmsg *sysmsg, const struct swapoff_args *);
1759int sys_vquotactl (struct sysmsg *sysmsg, const struct vquotactl_args *);
1760int sys_linkat (struct sysmsg *sysmsg, const struct linkat_args *);
1761int sys_eaccess (struct sysmsg *sysmsg, const struct eaccess_args *);
1762int sys_lpathconf (struct sysmsg *sysmsg, const struct lpathconf_args *);
1763int sys_procctl (struct sysmsg *sysmsg, const struct procctl_args *);
1764int sys_chflagsat (struct sysmsg *sysmsg, const struct chflagsat_args *);
1765int sys_pipe2 (struct sysmsg *sysmsg, const struct pipe2_args *);
1766int sys_utimensat (struct sysmsg *sysmsg, const struct utimensat_args *);
1767int sys_futimens (struct sysmsg *sysmsg, const struct futimens_args *);
1768int sys_accept4 (struct sysmsg *sysmsg, const struct accept4_args *);
1769int sys_lwp_setname (struct sysmsg *sysmsg, const struct lwp_setname_args *);
1770int sys_ppoll (struct sysmsg *sysmsg, const struct ppoll_args *);
1771int sys_lwp_setaffinity (struct sysmsg *sysmsg, const struct lwp_setaffinity_args *);
1772int sys_lwp_getaffinity (struct sysmsg *sysmsg, const struct lwp_getaffinity_args *);
1773int sys_lwp_create2 (struct sysmsg *sysmsg, const struct lwp_create2_args *);
1774int sys_getcpuclockid (struct sysmsg *sysmsg, const struct getcpuclockid_args *);
1775int sys_wait6 (struct sysmsg *sysmsg, const struct wait6_args *);
1776int sys_lwp_getname (struct sysmsg *sysmsg, const struct lwp_getname_args *);
1777int sys_getrandom (struct sysmsg *sysmsg, const struct getrandom_args *);
1778int sys___realpath (struct sysmsg *sysmsg, const struct __realpath_args *);
1779int sys_fexecve (struct sysmsg *sysmsg, const struct fexecve_args *);
1780int sys_posix_fallocate (struct sysmsg *sysmsg, const struct posix_fallocate_args *);
1781int sys_fdatasync (struct sysmsg *sysmsg, const struct fdatasync_args *);
1782
1783#endif /* _KERNEL */
1784
1785#endif /* !_SYS_SYSPROTO_H_ */