1/* $NetBSD: syscallargs.h,v 1.257 2014/07/25 08:27:36 dholland Exp $ */
2
3/*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from	NetBSD: syscalls.master,v 1.270 2014/07/25 08:25:47 dholland Exp
8 */
9
10#ifndef _SYS_SYSCALLARGS_H_
11#define	_SYS_SYSCALLARGS_H_
12
13#include <sys/mount.h>
14#ifndef RUMP_CLIENT
15#include <sys/sched.h>
16#endif
17#include <sys/socket.h>
18
19#define	SYS_MAXSYSARGS	8
20
21#undef	syscallarg
22#define	syscallarg(x)							\
23	union {								\
24		register_t pad;						\
25		struct { x datum; } le;					\
26		struct { /* LINTED zero array dimension */		\
27			int8_t pad[  /* CONSTCOND */			\
28				(sizeof (register_t) < sizeof (x))	\
29				? 0					\
30				: sizeof (register_t) - sizeof (x)];	\
31			x datum;					\
32		} be;							\
33	}
34
35#undef check_syscall_args
36#define check_syscall_args(call) /*LINTED*/ \
37	typedef char call##_check_args[sizeof (struct call##_args) \
38		<= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
39
40#ifndef RUMP_CLIENT
41struct sys_syscall_args {
42	syscallarg(int) code;
43	syscallarg(register_t) args[SYS_MAXSYSARGS];
44};
45#endif /* !RUMP_CLIENT */
46
47#ifndef RUMP_CLIENT
48struct sys_exit_args {
49	syscallarg(int) rval;
50};
51check_syscall_args(sys_exit)
52#endif /* !RUMP_CLIENT */
53
54struct sys_read_args {
55	syscallarg(int) fd;
56	syscallarg(void *) buf;
57	syscallarg(size_t) nbyte;
58};
59check_syscall_args(sys_read)
60
61struct sys_write_args {
62	syscallarg(int) fd;
63	syscallarg(const void *) buf;
64	syscallarg(size_t) nbyte;
65};
66check_syscall_args(sys_write)
67
68struct sys_open_args {
69	syscallarg(const char *) path;
70	syscallarg(int) flags;
71	syscallarg(mode_t) mode;
72};
73check_syscall_args(sys_open)
74
75struct sys_close_args {
76	syscallarg(int) fd;
77};
78check_syscall_args(sys_close)
79
80#ifndef RUMP_CLIENT
81struct compat_50_sys_wait4_args {
82	syscallarg(pid_t) pid;
83	syscallarg(int *) status;
84	syscallarg(int) options;
85	syscallarg(struct rusage50 *) rusage;
86};
87check_syscall_args(compat_50_sys_wait4)
88#endif /* !RUMP_CLIENT */
89
90#ifndef RUMP_CLIENT
91struct compat_43_sys_creat_args {
92	syscallarg(const char *) path;
93	syscallarg(mode_t) mode;
94};
95check_syscall_args(compat_43_sys_creat)
96#endif /* !RUMP_CLIENT */
97
98struct sys_link_args {
99	syscallarg(const char *) path;
100	syscallarg(const char *) link;
101};
102check_syscall_args(sys_link)
103
104struct sys_unlink_args {
105	syscallarg(const char *) path;
106};
107check_syscall_args(sys_unlink)
108
109struct sys_chdir_args {
110	syscallarg(const char *) path;
111};
112check_syscall_args(sys_chdir)
113
114struct sys_fchdir_args {
115	syscallarg(int) fd;
116};
117check_syscall_args(sys_fchdir)
118
119struct compat_50_sys_mknod_args {
120	syscallarg(const char *) path;
121	syscallarg(mode_t) mode;
122	syscallarg(uint32_t) dev;
123};
124check_syscall_args(compat_50_sys_mknod)
125
126struct sys_chmod_args {
127	syscallarg(const char *) path;
128	syscallarg(mode_t) mode;
129};
130check_syscall_args(sys_chmod)
131
132struct sys_chown_args {
133	syscallarg(const char *) path;
134	syscallarg(uid_t) uid;
135	syscallarg(gid_t) gid;
136};
137check_syscall_args(sys_chown)
138
139#ifndef RUMP_CLIENT
140struct sys_obreak_args {
141	syscallarg(char *) nsize;
142};
143check_syscall_args(sys_obreak)
144#endif /* !RUMP_CLIENT */
145
146#ifndef RUMP_CLIENT
147struct compat_20_sys_getfsstat_args {
148	syscallarg(struct statfs12 *) buf;
149	syscallarg(long) bufsize;
150	syscallarg(int) flags;
151};
152check_syscall_args(compat_20_sys_getfsstat)
153#endif /* !RUMP_CLIENT */
154
155#ifndef RUMP_CLIENT
156struct compat_43_sys_lseek_args {
157	syscallarg(int) fd;
158	syscallarg(long) offset;
159	syscallarg(int) whence;
160};
161check_syscall_args(compat_43_sys_lseek)
162#endif /* !RUMP_CLIENT */
163
164#ifndef RUMP_CLIENT
165struct compat_40_sys_mount_args {
166	syscallarg(const char *) type;
167	syscallarg(const char *) path;
168	syscallarg(int) flags;
169	syscallarg(void *) data;
170};
171check_syscall_args(compat_40_sys_mount)
172#endif /* !RUMP_CLIENT */
173
174struct sys_unmount_args {
175	syscallarg(const char *) path;
176	syscallarg(int) flags;
177};
178check_syscall_args(sys_unmount)
179
180struct sys_setuid_args {
181	syscallarg(uid_t) uid;
182};
183check_syscall_args(sys_setuid)
184
185#ifndef RUMP_CLIENT
186struct sys_ptrace_args {
187	syscallarg(int) req;
188	syscallarg(pid_t) pid;
189	syscallarg(void *) addr;
190	syscallarg(int) data;
191};
192check_syscall_args(sys_ptrace)
193#endif /* !RUMP_CLIENT */
194
195struct sys_recvmsg_args {
196	syscallarg(int) s;
197	syscallarg(struct msghdr *) msg;
198	syscallarg(int) flags;
199};
200check_syscall_args(sys_recvmsg)
201
202struct sys_sendmsg_args {
203	syscallarg(int) s;
204	syscallarg(const struct msghdr *) msg;
205	syscallarg(int) flags;
206};
207check_syscall_args(sys_sendmsg)
208
209struct sys_recvfrom_args {
210	syscallarg(int) s;
211	syscallarg(void *) buf;
212	syscallarg(size_t) len;
213	syscallarg(int) flags;
214	syscallarg(struct sockaddr *) from;
215	syscallarg(socklen_t *) fromlenaddr;
216};
217check_syscall_args(sys_recvfrom)
218
219struct sys_accept_args {
220	syscallarg(int) s;
221	syscallarg(struct sockaddr *) name;
222	syscallarg(socklen_t *) anamelen;
223};
224check_syscall_args(sys_accept)
225
226struct sys_getpeername_args {
227	syscallarg(int) fdes;
228	syscallarg(struct sockaddr *) asa;
229	syscallarg(socklen_t *) alen;
230};
231check_syscall_args(sys_getpeername)
232
233struct sys_getsockname_args {
234	syscallarg(int) fdes;
235	syscallarg(struct sockaddr *) asa;
236	syscallarg(socklen_t *) alen;
237};
238check_syscall_args(sys_getsockname)
239
240struct sys_access_args {
241	syscallarg(const char *) path;
242	syscallarg(int) flags;
243};
244check_syscall_args(sys_access)
245
246struct sys_chflags_args {
247	syscallarg(const char *) path;
248	syscallarg(u_long) flags;
249};
250check_syscall_args(sys_chflags)
251
252struct sys_fchflags_args {
253	syscallarg(int) fd;
254	syscallarg(u_long) flags;
255};
256check_syscall_args(sys_fchflags)
257
258#ifndef RUMP_CLIENT
259struct sys_kill_args {
260	syscallarg(pid_t) pid;
261	syscallarg(int) signum;
262};
263check_syscall_args(sys_kill)
264#endif /* !RUMP_CLIENT */
265
266#ifndef RUMP_CLIENT
267struct compat_43_sys_stat_args {
268	syscallarg(const char *) path;
269	syscallarg(struct stat43 *) ub;
270};
271check_syscall_args(compat_43_sys_stat)
272#endif /* !RUMP_CLIENT */
273
274#ifndef RUMP_CLIENT
275struct compat_43_sys_lstat_args {
276	syscallarg(const char *) path;
277	syscallarg(struct stat43 *) ub;
278};
279check_syscall_args(compat_43_sys_lstat)
280#endif /* !RUMP_CLIENT */
281
282struct sys_dup_args {
283	syscallarg(int) fd;
284};
285check_syscall_args(sys_dup)
286
287#ifndef RUMP_CLIENT
288struct sys_profil_args {
289	syscallarg(char *) samples;
290	syscallarg(size_t) size;
291	syscallarg(u_long) offset;
292	syscallarg(u_int) scale;
293};
294check_syscall_args(sys_profil)
295#endif /* !RUMP_CLIENT */
296
297struct sys_ktrace_args {
298	syscallarg(const char *) fname;
299	syscallarg(int) ops;
300	syscallarg(int) facs;
301	syscallarg(pid_t) pid;
302};
303check_syscall_args(sys_ktrace)
304
305#ifndef RUMP_CLIENT
306struct compat_13_sys_sigaction_args {
307	syscallarg(int) signum;
308	syscallarg(const struct sigaction13 *) nsa;
309	syscallarg(struct sigaction13 *) osa;
310};
311check_syscall_args(compat_13_sys_sigaction)
312#endif /* !RUMP_CLIENT */
313
314#ifndef RUMP_CLIENT
315struct compat_13_sys_sigprocmask_args {
316	syscallarg(int) how;
317	syscallarg(int) mask;
318};
319check_syscall_args(compat_13_sys_sigprocmask)
320#endif /* !RUMP_CLIENT */
321
322struct sys___getlogin_args {
323	syscallarg(char *) namebuf;
324	syscallarg(size_t) namelen;
325};
326check_syscall_args(sys___getlogin)
327
328struct sys___setlogin_args {
329	syscallarg(const char *) namebuf;
330};
331check_syscall_args(sys___setlogin)
332
333#ifndef RUMP_CLIENT
334struct sys_acct_args {
335	syscallarg(const char *) path;
336};
337check_syscall_args(sys_acct)
338#endif /* !RUMP_CLIENT */
339
340#ifndef RUMP_CLIENT
341struct compat_13_sys_sigaltstack_args {
342	syscallarg(const struct sigaltstack13 *) nss;
343	syscallarg(struct sigaltstack13 *) oss;
344};
345check_syscall_args(compat_13_sys_sigaltstack)
346#endif /* !RUMP_CLIENT */
347
348struct sys_ioctl_args {
349	syscallarg(int) fd;
350	syscallarg(u_long) com;
351	syscallarg(void *) data;
352};
353check_syscall_args(sys_ioctl)
354
355#ifndef RUMP_CLIENT
356struct compat_12_sys_reboot_args {
357	syscallarg(int) opt;
358};
359check_syscall_args(compat_12_sys_reboot)
360#endif /* !RUMP_CLIENT */
361
362struct sys_revoke_args {
363	syscallarg(const char *) path;
364};
365check_syscall_args(sys_revoke)
366
367struct sys_symlink_args {
368	syscallarg(const char *) path;
369	syscallarg(const char *) link;
370};
371check_syscall_args(sys_symlink)
372
373struct sys_readlink_args {
374	syscallarg(const char *) path;
375	syscallarg(char *) buf;
376	syscallarg(size_t) count;
377};
378check_syscall_args(sys_readlink)
379
380#ifndef RUMP_CLIENT
381struct sys_execve_args {
382	syscallarg(const char *) path;
383	syscallarg(char *const *) argp;
384	syscallarg(char *const *) envp;
385};
386check_syscall_args(sys_execve)
387#endif /* !RUMP_CLIENT */
388
389struct sys_umask_args {
390	syscallarg(mode_t) newmask;
391};
392check_syscall_args(sys_umask)
393
394struct sys_chroot_args {
395	syscallarg(const char *) path;
396};
397check_syscall_args(sys_chroot)
398
399#ifndef RUMP_CLIENT
400struct compat_43_sys_fstat_args {
401	syscallarg(int) fd;
402	syscallarg(struct stat43 *) sb;
403};
404check_syscall_args(compat_43_sys_fstat)
405#endif /* !RUMP_CLIENT */
406
407#ifndef RUMP_CLIENT
408struct compat_43_sys_getkerninfo_args {
409	syscallarg(int) op;
410	syscallarg(char *) where;
411	syscallarg(int *) size;
412	syscallarg(int) arg;
413};
414check_syscall_args(compat_43_sys_getkerninfo)
415#endif /* !RUMP_CLIENT */
416
417#ifndef RUMP_CLIENT
418struct compat_12_sys_msync_args {
419	syscallarg(void *) addr;
420	syscallarg(size_t) len;
421};
422check_syscall_args(compat_12_sys_msync)
423#endif /* !RUMP_CLIENT */
424
425#ifndef RUMP_CLIENT
426struct sys_sbrk_args {
427	syscallarg(intptr_t) incr;
428};
429check_syscall_args(sys_sbrk)
430#endif /* !RUMP_CLIENT */
431
432#ifndef RUMP_CLIENT
433struct sys_sstk_args {
434	syscallarg(int) incr;
435};
436check_syscall_args(sys_sstk)
437#endif /* !RUMP_CLIENT */
438
439#ifndef RUMP_CLIENT
440struct compat_43_sys_mmap_args {
441	syscallarg(void *) addr;
442	syscallarg(size_t) len;
443	syscallarg(int) prot;
444	syscallarg(int) flags;
445	syscallarg(int) fd;
446	syscallarg(long) pos;
447};
448check_syscall_args(compat_43_sys_mmap)
449#endif /* !RUMP_CLIENT */
450
451#ifndef RUMP_CLIENT
452struct sys_ovadvise_args {
453	syscallarg(int) anom;
454};
455check_syscall_args(sys_ovadvise)
456#endif /* !RUMP_CLIENT */
457
458#ifndef RUMP_CLIENT
459struct sys_munmap_args {
460	syscallarg(void *) addr;
461	syscallarg(size_t) len;
462};
463check_syscall_args(sys_munmap)
464#endif /* !RUMP_CLIENT */
465
466#ifndef RUMP_CLIENT
467struct sys_mprotect_args {
468	syscallarg(void *) addr;
469	syscallarg(size_t) len;
470	syscallarg(int) prot;
471};
472check_syscall_args(sys_mprotect)
473#endif /* !RUMP_CLIENT */
474
475#ifndef RUMP_CLIENT
476struct sys_madvise_args {
477	syscallarg(void *) addr;
478	syscallarg(size_t) len;
479	syscallarg(int) behav;
480};
481check_syscall_args(sys_madvise)
482#endif /* !RUMP_CLIENT */
483
484#ifndef RUMP_CLIENT
485struct sys_mincore_args {
486	syscallarg(void *) addr;
487	syscallarg(size_t) len;
488	syscallarg(char *) vec;
489};
490check_syscall_args(sys_mincore)
491#endif /* !RUMP_CLIENT */
492
493struct sys_getgroups_args {
494	syscallarg(int) gidsetsize;
495	syscallarg(gid_t *) gidset;
496};
497check_syscall_args(sys_getgroups)
498
499struct sys_setgroups_args {
500	syscallarg(int) gidsetsize;
501	syscallarg(const gid_t *) gidset;
502};
503check_syscall_args(sys_setgroups)
504
505struct sys_setpgid_args {
506	syscallarg(pid_t) pid;
507	syscallarg(pid_t) pgid;
508};
509check_syscall_args(sys_setpgid)
510
511#ifndef RUMP_CLIENT
512struct compat_50_sys_setitimer_args {
513	syscallarg(int) which;
514	syscallarg(const struct itimerval50 *) itv;
515	syscallarg(struct itimerval50 *) oitv;
516};
517check_syscall_args(compat_50_sys_setitimer)
518#endif /* !RUMP_CLIENT */
519
520#ifndef RUMP_CLIENT
521struct compat_12_sys_swapon_args {
522	syscallarg(const char *) name;
523};
524check_syscall_args(compat_12_sys_swapon)
525#endif /* !RUMP_CLIENT */
526
527#ifndef RUMP_CLIENT
528struct compat_50_sys_getitimer_args {
529	syscallarg(int) which;
530	syscallarg(struct itimerval50 *) itv;
531};
532check_syscall_args(compat_50_sys_getitimer)
533#endif /* !RUMP_CLIENT */
534
535#ifndef RUMP_CLIENT
536struct compat_43_sys_gethostname_args {
537	syscallarg(char *) hostname;
538	syscallarg(u_int) len;
539};
540check_syscall_args(compat_43_sys_gethostname)
541#endif /* !RUMP_CLIENT */
542
543#ifndef RUMP_CLIENT
544struct compat_43_sys_sethostname_args {
545	syscallarg(char *) hostname;
546	syscallarg(u_int) len;
547};
548check_syscall_args(compat_43_sys_sethostname)
549#endif /* !RUMP_CLIENT */
550
551struct sys_dup2_args {
552	syscallarg(int) from;
553	syscallarg(int) to;
554};
555check_syscall_args(sys_dup2)
556
557struct sys_fcntl_args {
558	syscallarg(int) fd;
559	syscallarg(int) cmd;
560	syscallarg(void *) arg;
561};
562check_syscall_args(sys_fcntl)
563
564struct compat_50_sys_select_args {
565	syscallarg(int) nd;
566	syscallarg(fd_set *) in;
567	syscallarg(fd_set *) ou;
568	syscallarg(fd_set *) ex;
569	syscallarg(struct timeval50 *) tv;
570};
571check_syscall_args(compat_50_sys_select)
572
573struct sys_fsync_args {
574	syscallarg(int) fd;
575};
576check_syscall_args(sys_fsync)
577
578#ifndef RUMP_CLIENT
579struct sys_setpriority_args {
580	syscallarg(int) which;
581	syscallarg(id_t) who;
582	syscallarg(int) prio;
583};
584check_syscall_args(sys_setpriority)
585#endif /* !RUMP_CLIENT */
586
587#ifndef RUMP_CLIENT
588struct compat_30_sys_socket_args {
589	syscallarg(int) domain;
590	syscallarg(int) type;
591	syscallarg(int) protocol;
592};
593check_syscall_args(compat_30_sys_socket)
594#endif /* !RUMP_CLIENT */
595
596struct sys_connect_args {
597	syscallarg(int) s;
598	syscallarg(const struct sockaddr *) name;
599	syscallarg(socklen_t) namelen;
600};
601check_syscall_args(sys_connect)
602
603#ifndef RUMP_CLIENT
604struct compat_43_sys_accept_args {
605	syscallarg(int) s;
606	syscallarg(void *) name;
607	syscallarg(socklen_t *) anamelen;
608};
609check_syscall_args(compat_43_sys_accept)
610#endif /* !RUMP_CLIENT */
611
612#ifndef RUMP_CLIENT
613struct sys_getpriority_args {
614	syscallarg(int) which;
615	syscallarg(id_t) who;
616};
617check_syscall_args(sys_getpriority)
618#endif /* !RUMP_CLIENT */
619
620#ifndef RUMP_CLIENT
621struct compat_43_sys_send_args {
622	syscallarg(int) s;
623	syscallarg(void *) buf;
624	syscallarg(int) len;
625	syscallarg(int) flags;
626};
627check_syscall_args(compat_43_sys_send)
628#endif /* !RUMP_CLIENT */
629
630#ifndef RUMP_CLIENT
631struct compat_43_sys_recv_args {
632	syscallarg(int) s;
633	syscallarg(void *) buf;
634	syscallarg(int) len;
635	syscallarg(int) flags;
636};
637check_syscall_args(compat_43_sys_recv)
638#endif /* !RUMP_CLIENT */
639
640#ifndef RUMP_CLIENT
641struct compat_13_sys_sigreturn_args {
642	syscallarg(struct sigcontext13 *) sigcntxp;
643};
644check_syscall_args(compat_13_sys_sigreturn)
645#endif /* !RUMP_CLIENT */
646
647struct sys_bind_args {
648	syscallarg(int) s;
649	syscallarg(const struct sockaddr *) name;
650	syscallarg(socklen_t) namelen;
651};
652check_syscall_args(sys_bind)
653
654struct sys_setsockopt_args {
655	syscallarg(int) s;
656	syscallarg(int) level;
657	syscallarg(int) name;
658	syscallarg(const void *) val;
659	syscallarg(socklen_t) valsize;
660};
661check_syscall_args(sys_setsockopt)
662
663struct sys_listen_args {
664	syscallarg(int) s;
665	syscallarg(int) backlog;
666};
667check_syscall_args(sys_listen)
668
669#ifndef RUMP_CLIENT
670struct compat_43_sys_sigvec_args {
671	syscallarg(int) signum;
672	syscallarg(struct sigvec *) nsv;
673	syscallarg(struct sigvec *) osv;
674};
675check_syscall_args(compat_43_sys_sigvec)
676#endif /* !RUMP_CLIENT */
677
678#ifndef RUMP_CLIENT
679struct compat_43_sys_sigblock_args {
680	syscallarg(int) mask;
681};
682check_syscall_args(compat_43_sys_sigblock)
683#endif /* !RUMP_CLIENT */
684
685#ifndef RUMP_CLIENT
686struct compat_43_sys_sigsetmask_args {
687	syscallarg(int) mask;
688};
689check_syscall_args(compat_43_sys_sigsetmask)
690#endif /* !RUMP_CLIENT */
691
692#ifndef RUMP_CLIENT
693struct compat_13_sys_sigsuspend_args {
694	syscallarg(int) mask;
695};
696check_syscall_args(compat_13_sys_sigsuspend)
697#endif /* !RUMP_CLIENT */
698
699#ifndef RUMP_CLIENT
700struct compat_43_sys_sigstack_args {
701	syscallarg(struct sigstack *) nss;
702	syscallarg(struct sigstack *) oss;
703};
704check_syscall_args(compat_43_sys_sigstack)
705#endif /* !RUMP_CLIENT */
706
707#ifndef RUMP_CLIENT
708struct compat_43_sys_recvmsg_args {
709	syscallarg(int) s;
710	syscallarg(struct omsghdr *) msg;
711	syscallarg(int) flags;
712};
713check_syscall_args(compat_43_sys_recvmsg)
714#endif /* !RUMP_CLIENT */
715
716#ifndef RUMP_CLIENT
717struct compat_43_sys_sendmsg_args {
718	syscallarg(int) s;
719	syscallarg(void *) msg;
720	syscallarg(int) flags;
721};
722check_syscall_args(compat_43_sys_sendmsg)
723#endif /* !RUMP_CLIENT */
724
725#ifndef RUMP_CLIENT
726struct compat_50_sys_gettimeofday_args {
727	syscallarg(struct timeval50 *) tp;
728	syscallarg(void *) tzp;
729};
730check_syscall_args(compat_50_sys_gettimeofday)
731#endif /* !RUMP_CLIENT */
732
733#ifndef RUMP_CLIENT
734struct compat_50_sys_getrusage_args {
735	syscallarg(int) who;
736	syscallarg(struct rusage50 *) rusage;
737};
738check_syscall_args(compat_50_sys_getrusage)
739#endif /* !RUMP_CLIENT */
740
741struct sys_getsockopt_args {
742	syscallarg(int) s;
743	syscallarg(int) level;
744	syscallarg(int) name;
745	syscallarg(void *) val;
746	syscallarg(socklen_t *) avalsize;
747};
748check_syscall_args(sys_getsockopt)
749
750struct sys_readv_args {
751	syscallarg(int) fd;
752	syscallarg(const struct iovec *) iovp;
753	syscallarg(int) iovcnt;
754};
755check_syscall_args(sys_readv)
756
757struct sys_writev_args {
758	syscallarg(int) fd;
759	syscallarg(const struct iovec *) iovp;
760	syscallarg(int) iovcnt;
761};
762check_syscall_args(sys_writev)
763
764#ifndef RUMP_CLIENT
765struct compat_50_sys_settimeofday_args {
766	syscallarg(const struct timeval50 *) tv;
767	syscallarg(const void *) tzp;
768};
769check_syscall_args(compat_50_sys_settimeofday)
770#endif /* !RUMP_CLIENT */
771
772struct sys_fchown_args {
773	syscallarg(int) fd;
774	syscallarg(uid_t) uid;
775	syscallarg(gid_t) gid;
776};
777check_syscall_args(sys_fchown)
778
779struct sys_fchmod_args {
780	syscallarg(int) fd;
781	syscallarg(mode_t) mode;
782};
783check_syscall_args(sys_fchmod)
784
785#ifndef RUMP_CLIENT
786struct compat_43_sys_recvfrom_args {
787	syscallarg(int) s;
788	syscallarg(void *) buf;
789	syscallarg(size_t) len;
790	syscallarg(int) flags;
791	syscallarg(void *) from;
792	syscallarg(socklen_t *) fromlenaddr;
793};
794check_syscall_args(compat_43_sys_recvfrom)
795#endif /* !RUMP_CLIENT */
796
797struct sys_setreuid_args {
798	syscallarg(uid_t) ruid;
799	syscallarg(uid_t) euid;
800};
801check_syscall_args(sys_setreuid)
802
803struct sys_setregid_args {
804	syscallarg(gid_t) rgid;
805	syscallarg(gid_t) egid;
806};
807check_syscall_args(sys_setregid)
808
809struct sys_rename_args {
810	syscallarg(const char *) from;
811	syscallarg(const char *) to;
812};
813check_syscall_args(sys_rename)
814
815#ifndef RUMP_CLIENT
816struct compat_43_sys_truncate_args {
817	syscallarg(const char *) path;
818	syscallarg(long) length;
819};
820check_syscall_args(compat_43_sys_truncate)
821#endif /* !RUMP_CLIENT */
822
823#ifndef RUMP_CLIENT
824struct compat_43_sys_ftruncate_args {
825	syscallarg(int) fd;
826	syscallarg(long) length;
827};
828check_syscall_args(compat_43_sys_ftruncate)
829#endif /* !RUMP_CLIENT */
830
831struct sys_flock_args {
832	syscallarg(int) fd;
833	syscallarg(int) how;
834};
835check_syscall_args(sys_flock)
836
837struct sys_mkfifo_args {
838	syscallarg(const char *) path;
839	syscallarg(mode_t) mode;
840};
841check_syscall_args(sys_mkfifo)
842
843struct sys_sendto_args {
844	syscallarg(int) s;
845	syscallarg(const void *) buf;
846	syscallarg(size_t) len;
847	syscallarg(int) flags;
848	syscallarg(const struct sockaddr *) to;
849	syscallarg(socklen_t) tolen;
850};
851check_syscall_args(sys_sendto)
852
853struct sys_shutdown_args {
854	syscallarg(int) s;
855	syscallarg(int) how;
856};
857check_syscall_args(sys_shutdown)
858
859struct sys_socketpair_args {
860	syscallarg(int) domain;
861	syscallarg(int) type;
862	syscallarg(int) protocol;
863	syscallarg(int *) rsv;
864};
865check_syscall_args(sys_socketpair)
866
867struct sys_mkdir_args {
868	syscallarg(const char *) path;
869	syscallarg(mode_t) mode;
870};
871check_syscall_args(sys_mkdir)
872
873struct sys_rmdir_args {
874	syscallarg(const char *) path;
875};
876check_syscall_args(sys_rmdir)
877
878struct compat_50_sys_utimes_args {
879	syscallarg(const char *) path;
880	syscallarg(const struct timeval50 *) tptr;
881};
882check_syscall_args(compat_50_sys_utimes)
883
884#ifndef RUMP_CLIENT
885struct compat_50_sys_adjtime_args {
886	syscallarg(const struct timeval50 *) delta;
887	syscallarg(struct timeval50 *) olddelta;
888};
889check_syscall_args(compat_50_sys_adjtime)
890#endif /* !RUMP_CLIENT */
891
892#ifndef RUMP_CLIENT
893struct compat_43_sys_getpeername_args {
894	syscallarg(int) fdes;
895	syscallarg(void *) asa;
896	syscallarg(socklen_t *) alen;
897};
898check_syscall_args(compat_43_sys_getpeername)
899#endif /* !RUMP_CLIENT */
900
901#ifndef RUMP_CLIENT
902struct compat_43_sys_sethostid_args {
903	syscallarg(int32_t) hostid;
904};
905check_syscall_args(compat_43_sys_sethostid)
906#endif /* !RUMP_CLIENT */
907
908#ifndef RUMP_CLIENT
909struct compat_43_sys_getrlimit_args {
910	syscallarg(int) which;
911	syscallarg(struct orlimit *) rlp;
912};
913check_syscall_args(compat_43_sys_getrlimit)
914#endif /* !RUMP_CLIENT */
915
916#ifndef RUMP_CLIENT
917struct compat_43_sys_setrlimit_args {
918	syscallarg(int) which;
919	syscallarg(const struct orlimit *) rlp;
920};
921check_syscall_args(compat_43_sys_setrlimit)
922#endif /* !RUMP_CLIENT */
923
924#ifndef RUMP_CLIENT
925struct compat_43_sys_killpg_args {
926	syscallarg(int) pgid;
927	syscallarg(int) signum;
928};
929check_syscall_args(compat_43_sys_killpg)
930#endif /* !RUMP_CLIENT */
931
932#ifndef RUMP_CLIENT
933struct compat_50_sys_quotactl_args {
934	syscallarg(const char *) path;
935	syscallarg(int) cmd;
936	syscallarg(int) uid;
937	syscallarg(void *) arg;
938};
939check_syscall_args(compat_50_sys_quotactl)
940#endif /* !RUMP_CLIENT */
941
942#ifndef RUMP_CLIENT
943struct compat_43_sys_getsockname_args {
944	syscallarg(int) fdec;
945	syscallarg(void *) asa;
946	syscallarg(socklen_t *) alen;
947};
948check_syscall_args(compat_43_sys_getsockname)
949#endif /* !RUMP_CLIENT */
950
951struct sys_nfssvc_args {
952	syscallarg(int) flag;
953	syscallarg(void *) argp;
954};
955check_syscall_args(sys_nfssvc)
956
957#ifndef RUMP_CLIENT
958struct compat_43_sys_getdirentries_args {
959	syscallarg(int) fd;
960	syscallarg(char *) buf;
961	syscallarg(u_int) count;
962	syscallarg(long *) basep;
963};
964check_syscall_args(compat_43_sys_getdirentries)
965#endif /* !RUMP_CLIENT */
966
967#ifndef RUMP_CLIENT
968struct compat_20_sys_statfs_args {
969	syscallarg(const char *) path;
970	syscallarg(struct statfs12 *) buf;
971};
972check_syscall_args(compat_20_sys_statfs)
973#endif /* !RUMP_CLIENT */
974
975#ifndef RUMP_CLIENT
976struct compat_20_sys_fstatfs_args {
977	syscallarg(int) fd;
978	syscallarg(struct statfs12 *) buf;
979};
980check_syscall_args(compat_20_sys_fstatfs)
981#endif /* !RUMP_CLIENT */
982
983#ifndef RUMP_CLIENT
984struct compat_30_sys_getfh_args {
985	syscallarg(const char *) fname;
986	syscallarg(struct compat_30_fhandle *) fhp;
987};
988check_syscall_args(compat_30_sys_getfh)
989#endif /* !RUMP_CLIENT */
990
991#ifndef RUMP_CLIENT
992struct compat_09_sys_getdomainname_args {
993	syscallarg(char *) domainname;
994	syscallarg(int) len;
995};
996check_syscall_args(compat_09_sys_getdomainname)
997#endif /* !RUMP_CLIENT */
998
999#ifndef RUMP_CLIENT
1000struct compat_09_sys_setdomainname_args {
1001	syscallarg(char *) domainname;
1002	syscallarg(int) len;
1003};
1004check_syscall_args(compat_09_sys_setdomainname)
1005#endif /* !RUMP_CLIENT */
1006
1007#ifndef RUMP_CLIENT
1008struct compat_09_sys_uname_args {
1009	syscallarg(struct outsname *) name;
1010};
1011check_syscall_args(compat_09_sys_uname)
1012#endif /* !RUMP_CLIENT */
1013
1014#ifndef RUMP_CLIENT
1015struct sys_sysarch_args {
1016	syscallarg(int) op;
1017	syscallarg(void *) parms;
1018};
1019check_syscall_args(sys_sysarch)
1020#endif /* !RUMP_CLIENT */
1021#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
1022
1023#ifndef RUMP_CLIENT
1024struct compat_10_sys_semsys_args {
1025	syscallarg(int) which;
1026	syscallarg(int) a2;
1027	syscallarg(int) a3;
1028	syscallarg(int) a4;
1029	syscallarg(int) a5;
1030};
1031check_syscall_args(compat_10_sys_semsys)
1032#endif /* !RUMP_CLIENT */
1033#else
1034#endif
1035#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
1036
1037#ifndef RUMP_CLIENT
1038struct compat_10_sys_msgsys_args {
1039	syscallarg(int) which;
1040	syscallarg(int) a2;
1041	syscallarg(int) a3;
1042	syscallarg(int) a4;
1043	syscallarg(int) a5;
1044	syscallarg(int) a6;
1045};
1046check_syscall_args(compat_10_sys_msgsys)
1047#endif /* !RUMP_CLIENT */
1048#else
1049#endif
1050#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
1051
1052#ifndef RUMP_CLIENT
1053struct compat_10_sys_shmsys_args {
1054	syscallarg(int) which;
1055	syscallarg(int) a2;
1056	syscallarg(int) a3;
1057	syscallarg(int) a4;
1058};
1059check_syscall_args(compat_10_sys_shmsys)
1060#endif /* !RUMP_CLIENT */
1061#else
1062#endif
1063
1064struct sys_pread_args {
1065	syscallarg(int) fd;
1066	syscallarg(void *) buf;
1067	syscallarg(size_t) nbyte;
1068	syscallarg(int) PAD;
1069	syscallarg(off_t) offset;
1070};
1071check_syscall_args(sys_pread)
1072
1073struct sys_pwrite_args {
1074	syscallarg(int) fd;
1075	syscallarg(const void *) buf;
1076	syscallarg(size_t) nbyte;
1077	syscallarg(int) PAD;
1078	syscallarg(off_t) offset;
1079};
1080check_syscall_args(sys_pwrite)
1081
1082#ifndef RUMP_CLIENT
1083struct compat_30_sys_ntp_gettime_args {
1084	syscallarg(struct ntptimeval30 *) ntvp;
1085};
1086check_syscall_args(compat_30_sys_ntp_gettime)
1087#endif /* !RUMP_CLIENT */
1088#if defined(NTP) || !defined(_KERNEL_OPT)
1089
1090#ifndef RUMP_CLIENT
1091struct sys_ntp_adjtime_args {
1092	syscallarg(struct timex *) tp;
1093};
1094check_syscall_args(sys_ntp_adjtime)
1095#endif /* !RUMP_CLIENT */
1096#else
1097#endif
1098
1099struct sys_setgid_args {
1100	syscallarg(gid_t) gid;
1101};
1102check_syscall_args(sys_setgid)
1103
1104struct sys_setegid_args {
1105	syscallarg(gid_t) egid;
1106};
1107check_syscall_args(sys_setegid)
1108
1109struct sys_seteuid_args {
1110	syscallarg(uid_t) euid;
1111};
1112check_syscall_args(sys_seteuid)
1113
1114#ifndef RUMP_CLIENT
1115struct sys_lfs_bmapv_args {
1116	syscallarg(fsid_t *) fsidp;
1117	syscallarg(struct block_info *) blkiov;
1118	syscallarg(int) blkcnt;
1119};
1120check_syscall_args(sys_lfs_bmapv)
1121#endif /* !RUMP_CLIENT */
1122
1123#ifndef RUMP_CLIENT
1124struct sys_lfs_markv_args {
1125	syscallarg(fsid_t *) fsidp;
1126	syscallarg(struct block_info *) blkiov;
1127	syscallarg(int) blkcnt;
1128};
1129check_syscall_args(sys_lfs_markv)
1130#endif /* !RUMP_CLIENT */
1131
1132#ifndef RUMP_CLIENT
1133struct sys_lfs_segclean_args {
1134	syscallarg(fsid_t *) fsidp;
1135	syscallarg(u_long) segment;
1136};
1137check_syscall_args(sys_lfs_segclean)
1138#endif /* !RUMP_CLIENT */
1139
1140#ifndef RUMP_CLIENT
1141struct compat_50_sys_lfs_segwait_args {
1142	syscallarg(fsid_t *) fsidp;
1143	syscallarg(struct timeval50 *) tv;
1144};
1145check_syscall_args(compat_50_sys_lfs_segwait)
1146#endif /* !RUMP_CLIENT */
1147
1148#ifndef RUMP_CLIENT
1149struct compat_12_sys_stat_args {
1150	syscallarg(const char *) path;
1151	syscallarg(struct stat12 *) ub;
1152};
1153check_syscall_args(compat_12_sys_stat)
1154#endif /* !RUMP_CLIENT */
1155
1156#ifndef RUMP_CLIENT
1157struct compat_12_sys_fstat_args {
1158	syscallarg(int) fd;
1159	syscallarg(struct stat12 *) sb;
1160};
1161check_syscall_args(compat_12_sys_fstat)
1162#endif /* !RUMP_CLIENT */
1163
1164#ifndef RUMP_CLIENT
1165struct compat_12_sys_lstat_args {
1166	syscallarg(const char *) path;
1167	syscallarg(struct stat12 *) ub;
1168};
1169check_syscall_args(compat_12_sys_lstat)
1170#endif /* !RUMP_CLIENT */
1171
1172struct sys_pathconf_args {
1173	syscallarg(const char *) path;
1174	syscallarg(int) name;
1175};
1176check_syscall_args(sys_pathconf)
1177
1178struct sys_fpathconf_args {
1179	syscallarg(int) fd;
1180	syscallarg(int) name;
1181};
1182check_syscall_args(sys_fpathconf)
1183
1184struct sys_getrlimit_args {
1185	syscallarg(int) which;
1186	syscallarg(struct rlimit *) rlp;
1187};
1188check_syscall_args(sys_getrlimit)
1189
1190struct sys_setrlimit_args {
1191	syscallarg(int) which;
1192	syscallarg(const struct rlimit *) rlp;
1193};
1194check_syscall_args(sys_setrlimit)
1195
1196#ifndef RUMP_CLIENT
1197struct compat_12_sys_getdirentries_args {
1198	syscallarg(int) fd;
1199	syscallarg(char *) buf;
1200	syscallarg(u_int) count;
1201	syscallarg(long *) basep;
1202};
1203check_syscall_args(compat_12_sys_getdirentries)
1204#endif /* !RUMP_CLIENT */
1205
1206#ifndef RUMP_CLIENT
1207struct sys_mmap_args {
1208	syscallarg(void *) addr;
1209	syscallarg(size_t) len;
1210	syscallarg(int) prot;
1211	syscallarg(int) flags;
1212	syscallarg(int) fd;
1213	syscallarg(long) PAD;
1214	syscallarg(off_t) pos;
1215};
1216check_syscall_args(sys_mmap)
1217#endif /* !RUMP_CLIENT */
1218
1219#ifndef RUMP_CLIENT
1220struct sys___syscall_args {
1221	syscallarg(quad_t) code;
1222	syscallarg(register_t) args[SYS_MAXSYSARGS];
1223};
1224#endif /* !RUMP_CLIENT */
1225
1226struct sys_lseek_args {
1227	syscallarg(int) fd;
1228	syscallarg(int) PAD;
1229	syscallarg(off_t) offset;
1230	syscallarg(int) whence;
1231};
1232check_syscall_args(sys_lseek)
1233
1234struct sys_truncate_args {
1235	syscallarg(const char *) path;
1236	syscallarg(int) PAD;
1237	syscallarg(off_t) length;
1238};
1239check_syscall_args(sys_truncate)
1240
1241struct sys_ftruncate_args {
1242	syscallarg(int) fd;
1243	syscallarg(int) PAD;
1244	syscallarg(off_t) length;
1245};
1246check_syscall_args(sys_ftruncate)
1247
1248struct sys___sysctl_args {
1249	syscallarg(const int *) name;
1250	syscallarg(u_int) namelen;
1251	syscallarg(void *) oldv;
1252	syscallarg(size_t *) oldlenp;
1253	syscallarg(const void *) newv;
1254	syscallarg(size_t) newlen;
1255};
1256check_syscall_args(sys___sysctl)
1257
1258#ifndef RUMP_CLIENT
1259struct sys_mlock_args {
1260	syscallarg(const void *) addr;
1261	syscallarg(size_t) len;
1262};
1263check_syscall_args(sys_mlock)
1264#endif /* !RUMP_CLIENT */
1265
1266#ifndef RUMP_CLIENT
1267struct sys_munlock_args {
1268	syscallarg(const void *) addr;
1269	syscallarg(size_t) len;
1270};
1271check_syscall_args(sys_munlock)
1272#endif /* !RUMP_CLIENT */
1273
1274#ifndef RUMP_CLIENT
1275struct sys_undelete_args {
1276	syscallarg(const char *) path;
1277};
1278check_syscall_args(sys_undelete)
1279#endif /* !RUMP_CLIENT */
1280
1281struct compat_50_sys_futimes_args {
1282	syscallarg(int) fd;
1283	syscallarg(const struct timeval50 *) tptr;
1284};
1285check_syscall_args(compat_50_sys_futimes)
1286
1287struct sys_getpgid_args {
1288	syscallarg(pid_t) pid;
1289};
1290check_syscall_args(sys_getpgid)
1291
1292struct sys_reboot_args {
1293	syscallarg(int) opt;
1294	syscallarg(char *) bootstr;
1295};
1296check_syscall_args(sys_reboot)
1297
1298struct sys_poll_args {
1299	syscallarg(struct pollfd *) fds;
1300	syscallarg(u_int) nfds;
1301	syscallarg(int) timeout;
1302};
1303check_syscall_args(sys_poll)
1304
1305#ifndef RUMP_CLIENT
1306struct sys_afssys_args {
1307	syscallarg(long) id;
1308	syscallarg(long) a1;
1309	syscallarg(long) a2;
1310	syscallarg(long) a3;
1311	syscallarg(long) a4;
1312	syscallarg(long) a5;
1313	syscallarg(long) a6;
1314};
1315check_syscall_args(sys_afssys)
1316#endif /* !RUMP_CLIENT */
1317#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1318
1319#ifndef RUMP_CLIENT
1320struct compat_14_sys___semctl_args {
1321	syscallarg(int) semid;
1322	syscallarg(int) semnum;
1323	syscallarg(int) cmd;
1324	syscallarg(union __semun *) arg;
1325};
1326check_syscall_args(compat_14_sys___semctl)
1327#endif /* !RUMP_CLIENT */
1328
1329#ifndef RUMP_CLIENT
1330struct sys_semget_args {
1331	syscallarg(key_t) key;
1332	syscallarg(int) nsems;
1333	syscallarg(int) semflg;
1334};
1335check_syscall_args(sys_semget)
1336#endif /* !RUMP_CLIENT */
1337
1338#ifndef RUMP_CLIENT
1339struct sys_semop_args {
1340	syscallarg(int) semid;
1341	syscallarg(struct sembuf *) sops;
1342	syscallarg(size_t) nsops;
1343};
1344check_syscall_args(sys_semop)
1345#endif /* !RUMP_CLIENT */
1346
1347#ifndef RUMP_CLIENT
1348struct sys_semconfig_args {
1349	syscallarg(int) flag;
1350};
1351check_syscall_args(sys_semconfig)
1352#endif /* !RUMP_CLIENT */
1353#else
1354#endif
1355#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1356
1357#ifndef RUMP_CLIENT
1358struct compat_14_sys_msgctl_args {
1359	syscallarg(int) msqid;
1360	syscallarg(int) cmd;
1361	syscallarg(struct msqid_ds14 *) buf;
1362};
1363check_syscall_args(compat_14_sys_msgctl)
1364#endif /* !RUMP_CLIENT */
1365
1366#ifndef RUMP_CLIENT
1367struct sys_msgget_args {
1368	syscallarg(key_t) key;
1369	syscallarg(int) msgflg;
1370};
1371check_syscall_args(sys_msgget)
1372#endif /* !RUMP_CLIENT */
1373
1374#ifndef RUMP_CLIENT
1375struct sys_msgsnd_args {
1376	syscallarg(int) msqid;
1377	syscallarg(const void *) msgp;
1378	syscallarg(size_t) msgsz;
1379	syscallarg(int) msgflg;
1380};
1381check_syscall_args(sys_msgsnd)
1382#endif /* !RUMP_CLIENT */
1383
1384#ifndef RUMP_CLIENT
1385struct sys_msgrcv_args {
1386	syscallarg(int) msqid;
1387	syscallarg(void *) msgp;
1388	syscallarg(size_t) msgsz;
1389	syscallarg(long) msgtyp;
1390	syscallarg(int) msgflg;
1391};
1392check_syscall_args(sys_msgrcv)
1393#endif /* !RUMP_CLIENT */
1394#else
1395#endif
1396#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1397
1398#ifndef RUMP_CLIENT
1399struct sys_shmat_args {
1400	syscallarg(int) shmid;
1401	syscallarg(const void *) shmaddr;
1402	syscallarg(int) shmflg;
1403};
1404check_syscall_args(sys_shmat)
1405#endif /* !RUMP_CLIENT */
1406
1407#ifndef RUMP_CLIENT
1408struct compat_14_sys_shmctl_args {
1409	syscallarg(int) shmid;
1410	syscallarg(int) cmd;
1411	syscallarg(struct shmid_ds14 *) buf;
1412};
1413check_syscall_args(compat_14_sys_shmctl)
1414#endif /* !RUMP_CLIENT */
1415
1416#ifndef RUMP_CLIENT
1417struct sys_shmdt_args {
1418	syscallarg(const void *) shmaddr;
1419};
1420check_syscall_args(sys_shmdt)
1421#endif /* !RUMP_CLIENT */
1422
1423#ifndef RUMP_CLIENT
1424struct sys_shmget_args {
1425	syscallarg(key_t) key;
1426	syscallarg(size_t) size;
1427	syscallarg(int) shmflg;
1428};
1429check_syscall_args(sys_shmget)
1430#endif /* !RUMP_CLIENT */
1431#else
1432#endif
1433
1434#ifndef RUMP_CLIENT
1435struct compat_50_sys_clock_gettime_args {
1436	syscallarg(clockid_t) clock_id;
1437	syscallarg(struct timespec50 *) tp;
1438};
1439check_syscall_args(compat_50_sys_clock_gettime)
1440#endif /* !RUMP_CLIENT */
1441
1442#ifndef RUMP_CLIENT
1443struct compat_50_sys_clock_settime_args {
1444	syscallarg(clockid_t) clock_id;
1445	syscallarg(const struct timespec50 *) tp;
1446};
1447check_syscall_args(compat_50_sys_clock_settime)
1448#endif /* !RUMP_CLIENT */
1449
1450#ifndef RUMP_CLIENT
1451struct compat_50_sys_clock_getres_args {
1452	syscallarg(clockid_t) clock_id;
1453	syscallarg(struct timespec50 *) tp;
1454};
1455check_syscall_args(compat_50_sys_clock_getres)
1456#endif /* !RUMP_CLIENT */
1457
1458struct sys_timer_create_args {
1459	syscallarg(clockid_t) clock_id;
1460	syscallarg(struct sigevent *) evp;
1461	syscallarg(timer_t *) timerid;
1462};
1463check_syscall_args(sys_timer_create)
1464
1465struct sys_timer_delete_args {
1466	syscallarg(timer_t) timerid;
1467};
1468check_syscall_args(sys_timer_delete)
1469
1470#ifndef RUMP_CLIENT
1471struct compat_50_sys_timer_settime_args {
1472	syscallarg(timer_t) timerid;
1473	syscallarg(int) flags;
1474	syscallarg(const struct itimerspec50 *) value;
1475	syscallarg(struct itimerspec50 *) ovalue;
1476};
1477check_syscall_args(compat_50_sys_timer_settime)
1478#endif /* !RUMP_CLIENT */
1479
1480#ifndef RUMP_CLIENT
1481struct compat_50_sys_timer_gettime_args {
1482	syscallarg(timer_t) timerid;
1483	syscallarg(struct itimerspec50 *) value;
1484};
1485check_syscall_args(compat_50_sys_timer_gettime)
1486#endif /* !RUMP_CLIENT */
1487
1488struct sys_timer_getoverrun_args {
1489	syscallarg(timer_t) timerid;
1490};
1491check_syscall_args(sys_timer_getoverrun)
1492
1493#ifndef RUMP_CLIENT
1494struct compat_50_sys_nanosleep_args {
1495	syscallarg(const struct timespec50 *) rqtp;
1496	syscallarg(struct timespec50 *) rmtp;
1497};
1498check_syscall_args(compat_50_sys_nanosleep)
1499#endif /* !RUMP_CLIENT */
1500
1501struct sys_fdatasync_args {
1502	syscallarg(int) fd;
1503};
1504check_syscall_args(sys_fdatasync)
1505
1506#ifndef RUMP_CLIENT
1507struct sys_mlockall_args {
1508	syscallarg(int) flags;
1509};
1510check_syscall_args(sys_mlockall)
1511#endif /* !RUMP_CLIENT */
1512
1513#ifndef RUMP_CLIENT
1514struct compat_50_sys___sigtimedwait_args {
1515	syscallarg(const sigset_t *) set;
1516	syscallarg(siginfo_t *) info;
1517	syscallarg(struct timespec50 *) timeout;
1518};
1519check_syscall_args(compat_50_sys___sigtimedwait)
1520#endif /* !RUMP_CLIENT */
1521
1522#ifndef RUMP_CLIENT
1523struct sys_sigqueueinfo_args {
1524	syscallarg(pid_t) pid;
1525	syscallarg(const siginfo_t *) info;
1526};
1527check_syscall_args(sys_sigqueueinfo)
1528#endif /* !RUMP_CLIENT */
1529
1530struct sys_modctl_args {
1531	syscallarg(int) cmd;
1532	syscallarg(void *) arg;
1533};
1534check_syscall_args(sys_modctl)
1535
1536struct sys__ksem_init_args {
1537	syscallarg(unsigned int) value;
1538	syscallarg(intptr_t *) idp;
1539};
1540check_syscall_args(sys__ksem_init)
1541
1542struct sys__ksem_open_args {
1543	syscallarg(const char *) name;
1544	syscallarg(int) oflag;
1545	syscallarg(mode_t) mode;
1546	syscallarg(unsigned int) value;
1547	syscallarg(intptr_t *) idp;
1548};
1549check_syscall_args(sys__ksem_open)
1550
1551struct sys__ksem_unlink_args {
1552	syscallarg(const char *) name;
1553};
1554check_syscall_args(sys__ksem_unlink)
1555
1556struct sys__ksem_close_args {
1557	syscallarg(intptr_t) id;
1558};
1559check_syscall_args(sys__ksem_close)
1560
1561struct sys__ksem_post_args {
1562	syscallarg(intptr_t) id;
1563};
1564check_syscall_args(sys__ksem_post)
1565
1566struct sys__ksem_wait_args {
1567	syscallarg(intptr_t) id;
1568};
1569check_syscall_args(sys__ksem_wait)
1570
1571struct sys__ksem_trywait_args {
1572	syscallarg(intptr_t) id;
1573};
1574check_syscall_args(sys__ksem_trywait)
1575
1576struct sys__ksem_getvalue_args {
1577	syscallarg(intptr_t) id;
1578	syscallarg(unsigned int *) value;
1579};
1580check_syscall_args(sys__ksem_getvalue)
1581
1582struct sys__ksem_destroy_args {
1583	syscallarg(intptr_t) id;
1584};
1585check_syscall_args(sys__ksem_destroy)
1586
1587struct sys__ksem_timedwait_args {
1588	syscallarg(intptr_t) id;
1589	syscallarg(const struct timespec *) abstime;
1590};
1591check_syscall_args(sys__ksem_timedwait)
1592
1593#ifndef RUMP_CLIENT
1594struct sys_mq_open_args {
1595	syscallarg(const char *) name;
1596	syscallarg(int) oflag;
1597	syscallarg(mode_t) mode;
1598	syscallarg(struct mq_attr *) attr;
1599};
1600check_syscall_args(sys_mq_open)
1601#endif /* !RUMP_CLIENT */
1602
1603#ifndef RUMP_CLIENT
1604struct sys_mq_close_args {
1605	syscallarg(mqd_t) mqdes;
1606};
1607check_syscall_args(sys_mq_close)
1608#endif /* !RUMP_CLIENT */
1609
1610#ifndef RUMP_CLIENT
1611struct sys_mq_unlink_args {
1612	syscallarg(const char *) name;
1613};
1614check_syscall_args(sys_mq_unlink)
1615#endif /* !RUMP_CLIENT */
1616
1617#ifndef RUMP_CLIENT
1618struct sys_mq_getattr_args {
1619	syscallarg(mqd_t) mqdes;
1620	syscallarg(struct mq_attr *) mqstat;
1621};
1622check_syscall_args(sys_mq_getattr)
1623#endif /* !RUMP_CLIENT */
1624
1625#ifndef RUMP_CLIENT
1626struct sys_mq_setattr_args {
1627	syscallarg(mqd_t) mqdes;
1628	syscallarg(const struct mq_attr *) mqstat;
1629	syscallarg(struct mq_attr *) omqstat;
1630};
1631check_syscall_args(sys_mq_setattr)
1632#endif /* !RUMP_CLIENT */
1633
1634#ifndef RUMP_CLIENT
1635struct sys_mq_notify_args {
1636	syscallarg(mqd_t) mqdes;
1637	syscallarg(const struct sigevent *) notification;
1638};
1639check_syscall_args(sys_mq_notify)
1640#endif /* !RUMP_CLIENT */
1641
1642#ifndef RUMP_CLIENT
1643struct sys_mq_send_args {
1644	syscallarg(mqd_t) mqdes;
1645	syscallarg(const char *) msg_ptr;
1646	syscallarg(size_t) msg_len;
1647	syscallarg(unsigned) msg_prio;
1648};
1649check_syscall_args(sys_mq_send)
1650#endif /* !RUMP_CLIENT */
1651
1652#ifndef RUMP_CLIENT
1653struct sys_mq_receive_args {
1654	syscallarg(mqd_t) mqdes;
1655	syscallarg(char *) msg_ptr;
1656	syscallarg(size_t) msg_len;
1657	syscallarg(unsigned *) msg_prio;
1658};
1659check_syscall_args(sys_mq_receive)
1660#endif /* !RUMP_CLIENT */
1661
1662#ifndef RUMP_CLIENT
1663struct compat_50_sys_mq_timedsend_args {
1664	syscallarg(mqd_t) mqdes;
1665	syscallarg(const char *) msg_ptr;
1666	syscallarg(size_t) msg_len;
1667	syscallarg(unsigned) msg_prio;
1668	syscallarg(const struct timespec50 *) abs_timeout;
1669};
1670check_syscall_args(compat_50_sys_mq_timedsend)
1671#endif /* !RUMP_CLIENT */
1672
1673#ifndef RUMP_CLIENT
1674struct compat_50_sys_mq_timedreceive_args {
1675	syscallarg(mqd_t) mqdes;
1676	syscallarg(char *) msg_ptr;
1677	syscallarg(size_t) msg_len;
1678	syscallarg(unsigned *) msg_prio;
1679	syscallarg(const struct timespec50 *) abs_timeout;
1680};
1681check_syscall_args(compat_50_sys_mq_timedreceive)
1682#endif /* !RUMP_CLIENT */
1683
1684#ifndef RUMP_CLIENT
1685struct sys___posix_rename_args {
1686	syscallarg(const char *) from;
1687	syscallarg(const char *) to;
1688};
1689check_syscall_args(sys___posix_rename)
1690#endif /* !RUMP_CLIENT */
1691
1692#ifndef RUMP_CLIENT
1693struct sys_swapctl_args {
1694	syscallarg(int) cmd;
1695	syscallarg(void *) arg;
1696	syscallarg(int) misc;
1697};
1698check_syscall_args(sys_swapctl)
1699#endif /* !RUMP_CLIENT */
1700
1701#ifndef RUMP_CLIENT
1702struct compat_30_sys_getdents_args {
1703	syscallarg(int) fd;
1704	syscallarg(char *) buf;
1705	syscallarg(size_t) count;
1706};
1707check_syscall_args(compat_30_sys_getdents)
1708#endif /* !RUMP_CLIENT */
1709
1710#ifndef RUMP_CLIENT
1711struct sys_minherit_args {
1712	syscallarg(void *) addr;
1713	syscallarg(size_t) len;
1714	syscallarg(int) inherit;
1715};
1716check_syscall_args(sys_minherit)
1717#endif /* !RUMP_CLIENT */
1718
1719struct sys_lchmod_args {
1720	syscallarg(const char *) path;
1721	syscallarg(mode_t) mode;
1722};
1723check_syscall_args(sys_lchmod)
1724
1725struct sys_lchown_args {
1726	syscallarg(const char *) path;
1727	syscallarg(uid_t) uid;
1728	syscallarg(gid_t) gid;
1729};
1730check_syscall_args(sys_lchown)
1731
1732struct compat_50_sys_lutimes_args {
1733	syscallarg(const char *) path;
1734	syscallarg(const struct timeval50 *) tptr;
1735};
1736check_syscall_args(compat_50_sys_lutimes)
1737
1738#ifndef RUMP_CLIENT
1739struct sys___msync13_args {
1740	syscallarg(void *) addr;
1741	syscallarg(size_t) len;
1742	syscallarg(int) flags;
1743};
1744check_syscall_args(sys___msync13)
1745#endif /* !RUMP_CLIENT */
1746
1747#ifndef RUMP_CLIENT
1748struct compat_30_sys___stat13_args {
1749	syscallarg(const char *) path;
1750	syscallarg(struct stat13 *) ub;
1751};
1752check_syscall_args(compat_30_sys___stat13)
1753#endif /* !RUMP_CLIENT */
1754
1755#ifndef RUMP_CLIENT
1756struct compat_30_sys___fstat13_args {
1757	syscallarg(int) fd;
1758	syscallarg(struct stat13 *) sb;
1759};
1760check_syscall_args(compat_30_sys___fstat13)
1761#endif /* !RUMP_CLIENT */
1762
1763#ifndef RUMP_CLIENT
1764struct compat_30_sys___lstat13_args {
1765	syscallarg(const char *) path;
1766	syscallarg(struct stat13 *) ub;
1767};
1768check_syscall_args(compat_30_sys___lstat13)
1769#endif /* !RUMP_CLIENT */
1770
1771#ifndef RUMP_CLIENT
1772struct sys___sigaltstack14_args {
1773	syscallarg(const struct sigaltstack *) nss;
1774	syscallarg(struct sigaltstack *) oss;
1775};
1776check_syscall_args(sys___sigaltstack14)
1777#endif /* !RUMP_CLIENT */
1778
1779#ifndef RUMP_CLIENT
1780struct sys___posix_chown_args {
1781	syscallarg(const char *) path;
1782	syscallarg(uid_t) uid;
1783	syscallarg(gid_t) gid;
1784};
1785check_syscall_args(sys___posix_chown)
1786#endif /* !RUMP_CLIENT */
1787
1788#ifndef RUMP_CLIENT
1789struct sys___posix_fchown_args {
1790	syscallarg(int) fd;
1791	syscallarg(uid_t) uid;
1792	syscallarg(gid_t) gid;
1793};
1794check_syscall_args(sys___posix_fchown)
1795#endif /* !RUMP_CLIENT */
1796
1797#ifndef RUMP_CLIENT
1798struct sys___posix_lchown_args {
1799	syscallarg(const char *) path;
1800	syscallarg(uid_t) uid;
1801	syscallarg(gid_t) gid;
1802};
1803check_syscall_args(sys___posix_lchown)
1804#endif /* !RUMP_CLIENT */
1805
1806struct sys_getsid_args {
1807	syscallarg(pid_t) pid;
1808};
1809check_syscall_args(sys_getsid)
1810
1811#ifndef RUMP_CLIENT
1812struct sys___clone_args {
1813	syscallarg(int) flags;
1814	syscallarg(void *) stack;
1815};
1816check_syscall_args(sys___clone)
1817#endif /* !RUMP_CLIENT */
1818
1819struct sys_fktrace_args {
1820	syscallarg(int) fd;
1821	syscallarg(int) ops;
1822	syscallarg(int) facs;
1823	syscallarg(pid_t) pid;
1824};
1825check_syscall_args(sys_fktrace)
1826
1827struct sys_preadv_args {
1828	syscallarg(int) fd;
1829	syscallarg(const struct iovec *) iovp;
1830	syscallarg(int) iovcnt;
1831	syscallarg(int) PAD;
1832	syscallarg(off_t) offset;
1833};
1834check_syscall_args(sys_preadv)
1835
1836struct sys_pwritev_args {
1837	syscallarg(int) fd;
1838	syscallarg(const struct iovec *) iovp;
1839	syscallarg(int) iovcnt;
1840	syscallarg(int) PAD;
1841	syscallarg(off_t) offset;
1842};
1843check_syscall_args(sys_pwritev)
1844
1845#ifndef RUMP_CLIENT
1846struct compat_16_sys___sigaction14_args {
1847	syscallarg(int) signum;
1848	syscallarg(const struct sigaction *) nsa;
1849	syscallarg(struct sigaction *) osa;
1850};
1851check_syscall_args(compat_16_sys___sigaction14)
1852#endif /* !RUMP_CLIENT */
1853
1854#ifndef RUMP_CLIENT
1855struct sys___sigpending14_args {
1856	syscallarg(sigset_t *) set;
1857};
1858check_syscall_args(sys___sigpending14)
1859#endif /* !RUMP_CLIENT */
1860
1861#ifndef RUMP_CLIENT
1862struct sys___sigprocmask14_args {
1863	syscallarg(int) how;
1864	syscallarg(const sigset_t *) set;
1865	syscallarg(sigset_t *) oset;
1866};
1867check_syscall_args(sys___sigprocmask14)
1868#endif /* !RUMP_CLIENT */
1869
1870#ifndef RUMP_CLIENT
1871struct sys___sigsuspend14_args {
1872	syscallarg(const sigset_t *) set;
1873};
1874check_syscall_args(sys___sigsuspend14)
1875#endif /* !RUMP_CLIENT */
1876
1877#ifndef RUMP_CLIENT
1878struct compat_16_sys___sigreturn14_args {
1879	syscallarg(struct sigcontext *) sigcntxp;
1880};
1881check_syscall_args(compat_16_sys___sigreturn14)
1882#endif /* !RUMP_CLIENT */
1883
1884struct sys___getcwd_args {
1885	syscallarg(char *) bufp;
1886	syscallarg(size_t) length;
1887};
1888check_syscall_args(sys___getcwd)
1889
1890struct sys_fchroot_args {
1891	syscallarg(int) fd;
1892};
1893check_syscall_args(sys_fchroot)
1894
1895#ifndef RUMP_CLIENT
1896struct compat_30_sys_fhopen_args {
1897	syscallarg(const struct compat_30_fhandle *) fhp;
1898	syscallarg(int) flags;
1899};
1900check_syscall_args(compat_30_sys_fhopen)
1901#endif /* !RUMP_CLIENT */
1902
1903#ifndef RUMP_CLIENT
1904struct compat_30_sys_fhstat_args {
1905	syscallarg(const struct compat_30_fhandle *) fhp;
1906	syscallarg(struct stat13 *) sb;
1907};
1908check_syscall_args(compat_30_sys_fhstat)
1909#endif /* !RUMP_CLIENT */
1910
1911#ifndef RUMP_CLIENT
1912struct compat_20_sys_fhstatfs_args {
1913	syscallarg(const struct compat_30_fhandle *) fhp;
1914	syscallarg(struct statfs12 *) buf;
1915};
1916check_syscall_args(compat_20_sys_fhstatfs)
1917#endif /* !RUMP_CLIENT */
1918#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1919
1920#ifndef RUMP_CLIENT
1921struct compat_50_sys_____semctl13_args {
1922	syscallarg(int) semid;
1923	syscallarg(int) semnum;
1924	syscallarg(int) cmd;
1925	syscallarg(union __semun *) arg;
1926};
1927check_syscall_args(compat_50_sys_____semctl13)
1928#endif /* !RUMP_CLIENT */
1929#else
1930#endif
1931#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1932
1933#ifndef RUMP_CLIENT
1934struct compat_50_sys___msgctl13_args {
1935	syscallarg(int) msqid;
1936	syscallarg(int) cmd;
1937	syscallarg(struct msqid_ds *) buf;
1938};
1939check_syscall_args(compat_50_sys___msgctl13)
1940#endif /* !RUMP_CLIENT */
1941#else
1942#endif
1943#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1944
1945#ifndef RUMP_CLIENT
1946struct compat_50_sys___shmctl13_args {
1947	syscallarg(int) shmid;
1948	syscallarg(int) cmd;
1949	syscallarg(struct shmid_ds13 *) buf;
1950};
1951check_syscall_args(compat_50_sys___shmctl13)
1952#endif /* !RUMP_CLIENT */
1953#else
1954#endif
1955
1956struct sys_lchflags_args {
1957	syscallarg(const char *) path;
1958	syscallarg(u_long) flags;
1959};
1960check_syscall_args(sys_lchflags)
1961
1962struct sys_utrace_args {
1963	syscallarg(const char *) label;
1964	syscallarg(void *) addr;
1965	syscallarg(size_t) len;
1966};
1967check_syscall_args(sys_utrace)
1968
1969#ifndef RUMP_CLIENT
1970struct sys_getcontext_args {
1971	syscallarg(struct __ucontext *) ucp;
1972};
1973check_syscall_args(sys_getcontext)
1974#endif /* !RUMP_CLIENT */
1975
1976#ifndef RUMP_CLIENT
1977struct sys_setcontext_args {
1978	syscallarg(const struct __ucontext *) ucp;
1979};
1980check_syscall_args(sys_setcontext)
1981#endif /* !RUMP_CLIENT */
1982
1983#ifndef RUMP_CLIENT
1984struct sys__lwp_create_args {
1985	syscallarg(const struct __ucontext *) ucp;
1986	syscallarg(u_long) flags;
1987	syscallarg(lwpid_t *) new_lwp;
1988};
1989check_syscall_args(sys__lwp_create)
1990#endif /* !RUMP_CLIENT */
1991
1992#ifndef RUMP_CLIENT
1993struct sys__lwp_wait_args {
1994	syscallarg(lwpid_t) wait_for;
1995	syscallarg(lwpid_t *) departed;
1996};
1997check_syscall_args(sys__lwp_wait)
1998#endif /* !RUMP_CLIENT */
1999
2000#ifndef RUMP_CLIENT
2001struct sys__lwp_suspend_args {
2002	syscallarg(lwpid_t) target;
2003};
2004check_syscall_args(sys__lwp_suspend)
2005#endif /* !RUMP_CLIENT */
2006
2007#ifndef RUMP_CLIENT
2008struct sys__lwp_continue_args {
2009	syscallarg(lwpid_t) target;
2010};
2011check_syscall_args(sys__lwp_continue)
2012#endif /* !RUMP_CLIENT */
2013
2014#ifndef RUMP_CLIENT
2015struct sys__lwp_wakeup_args {
2016	syscallarg(lwpid_t) target;
2017};
2018check_syscall_args(sys__lwp_wakeup)
2019#endif /* !RUMP_CLIENT */
2020
2021#ifndef RUMP_CLIENT
2022struct sys__lwp_setprivate_args {
2023	syscallarg(void *) ptr;
2024};
2025check_syscall_args(sys__lwp_setprivate)
2026#endif /* !RUMP_CLIENT */
2027
2028#ifndef RUMP_CLIENT
2029struct sys__lwp_kill_args {
2030	syscallarg(lwpid_t) target;
2031	syscallarg(int) signo;
2032};
2033check_syscall_args(sys__lwp_kill)
2034#endif /* !RUMP_CLIENT */
2035
2036#ifndef RUMP_CLIENT
2037struct sys__lwp_detach_args {
2038	syscallarg(lwpid_t) target;
2039};
2040check_syscall_args(sys__lwp_detach)
2041#endif /* !RUMP_CLIENT */
2042
2043#ifndef RUMP_CLIENT
2044struct compat_50_sys__lwp_park_args {
2045	syscallarg(const struct timespec50 *) ts;
2046	syscallarg(lwpid_t) unpark;
2047	syscallarg(const void *) hint;
2048	syscallarg(const void *) unparkhint;
2049};
2050check_syscall_args(compat_50_sys__lwp_park)
2051#endif /* !RUMP_CLIENT */
2052
2053#ifndef RUMP_CLIENT
2054struct sys__lwp_unpark_args {
2055	syscallarg(lwpid_t) target;
2056	syscallarg(const void *) hint;
2057};
2058check_syscall_args(sys__lwp_unpark)
2059#endif /* !RUMP_CLIENT */
2060
2061#ifndef RUMP_CLIENT
2062struct sys__lwp_unpark_all_args {
2063	syscallarg(const lwpid_t *) targets;
2064	syscallarg(size_t) ntargets;
2065	syscallarg(const void *) hint;
2066};
2067check_syscall_args(sys__lwp_unpark_all)
2068#endif /* !RUMP_CLIENT */
2069
2070#ifndef RUMP_CLIENT
2071struct sys__lwp_setname_args {
2072	syscallarg(lwpid_t) target;
2073	syscallarg(const char *) name;
2074};
2075check_syscall_args(sys__lwp_setname)
2076#endif /* !RUMP_CLIENT */
2077
2078#ifndef RUMP_CLIENT
2079struct sys__lwp_getname_args {
2080	syscallarg(lwpid_t) target;
2081	syscallarg(char *) name;
2082	syscallarg(size_t) len;
2083};
2084check_syscall_args(sys__lwp_getname)
2085#endif /* !RUMP_CLIENT */
2086
2087#ifndef RUMP_CLIENT
2088struct sys__lwp_ctl_args {
2089	syscallarg(int) features;
2090	syscallarg(struct lwpctl **) address;
2091};
2092check_syscall_args(sys__lwp_ctl)
2093#endif /* !RUMP_CLIENT */
2094
2095#ifndef RUMP_CLIENT
2096struct compat_60_sys_sa_register_args {
2097	syscallarg(void *) newv;
2098	syscallarg(void **) oldv;
2099	syscallarg(int) flags;
2100	syscallarg(ssize_t) stackinfo_offset;
2101};
2102check_syscall_args(compat_60_sys_sa_register)
2103#endif /* !RUMP_CLIENT */
2104
2105#ifndef RUMP_CLIENT
2106struct compat_60_sys_sa_stacks_args {
2107	syscallarg(int) num;
2108	syscallarg(stack_t *) stacks;
2109};
2110check_syscall_args(compat_60_sys_sa_stacks)
2111#endif /* !RUMP_CLIENT */
2112
2113#ifndef RUMP_CLIENT
2114struct compat_60_sys_sa_setconcurrency_args {
2115	syscallarg(int) concurrency;
2116};
2117check_syscall_args(compat_60_sys_sa_setconcurrency)
2118#endif /* !RUMP_CLIENT */
2119
2120#ifndef RUMP_CLIENT
2121struct compat_60_sys_sa_preempt_args {
2122	syscallarg(int) sa_id;
2123};
2124check_syscall_args(compat_60_sys_sa_preempt)
2125#endif /* !RUMP_CLIENT */
2126
2127#ifndef RUMP_CLIENT
2128struct sys___sigaction_sigtramp_args {
2129	syscallarg(int) signum;
2130	syscallarg(const struct sigaction *) nsa;
2131	syscallarg(struct sigaction *) osa;
2132	syscallarg(const void *) tramp;
2133	syscallarg(int) vers;
2134};
2135check_syscall_args(sys___sigaction_sigtramp)
2136#endif /* !RUMP_CLIENT */
2137
2138#ifndef RUMP_CLIENT
2139struct sys_pmc_get_info_args {
2140	syscallarg(int) ctr;
2141	syscallarg(int) op;
2142	syscallarg(void *) args;
2143};
2144check_syscall_args(sys_pmc_get_info)
2145#endif /* !RUMP_CLIENT */
2146
2147#ifndef RUMP_CLIENT
2148struct sys_pmc_control_args {
2149	syscallarg(int) ctr;
2150	syscallarg(int) op;
2151	syscallarg(void *) args;
2152};
2153check_syscall_args(sys_pmc_control)
2154#endif /* !RUMP_CLIENT */
2155
2156#ifndef RUMP_CLIENT
2157struct sys_rasctl_args {
2158	syscallarg(void *) addr;
2159	syscallarg(size_t) len;
2160	syscallarg(int) op;
2161};
2162check_syscall_args(sys_rasctl)
2163#endif /* !RUMP_CLIENT */
2164
2165struct compat_50_sys_kevent_args {
2166	syscallarg(int) fd;
2167	syscallarg(const struct kevent *) changelist;
2168	syscallarg(size_t) nchanges;
2169	syscallarg(struct kevent *) eventlist;
2170	syscallarg(size_t) nevents;
2171	syscallarg(const struct timespec50 *) timeout;
2172};
2173check_syscall_args(compat_50_sys_kevent)
2174
2175#ifndef RUMP_CLIENT
2176struct sys__sched_setparam_args {
2177	syscallarg(pid_t) pid;
2178	syscallarg(lwpid_t) lid;
2179	syscallarg(int) policy;
2180	syscallarg(const struct sched_param *) params;
2181};
2182check_syscall_args(sys__sched_setparam)
2183#endif /* !RUMP_CLIENT */
2184
2185#ifndef RUMP_CLIENT
2186struct sys__sched_getparam_args {
2187	syscallarg(pid_t) pid;
2188	syscallarg(lwpid_t) lid;
2189	syscallarg(int *) policy;
2190	syscallarg(struct sched_param *) params;
2191};
2192check_syscall_args(sys__sched_getparam)
2193#endif /* !RUMP_CLIENT */
2194
2195#ifndef RUMP_CLIENT
2196struct sys__sched_setaffinity_args {
2197	syscallarg(pid_t) pid;
2198	syscallarg(lwpid_t) lid;
2199	syscallarg(size_t) size;
2200	syscallarg(const cpuset_t *) cpuset;
2201};
2202check_syscall_args(sys__sched_setaffinity)
2203#endif /* !RUMP_CLIENT */
2204
2205#ifndef RUMP_CLIENT
2206struct sys__sched_getaffinity_args {
2207	syscallarg(pid_t) pid;
2208	syscallarg(lwpid_t) lid;
2209	syscallarg(size_t) size;
2210	syscallarg(cpuset_t *) cpuset;
2211};
2212check_syscall_args(sys__sched_getaffinity)
2213#endif /* !RUMP_CLIENT */
2214
2215struct sys_fsync_range_args {
2216	syscallarg(int) fd;
2217	syscallarg(int) flags;
2218	syscallarg(off_t) start;
2219	syscallarg(off_t) length;
2220};
2221check_syscall_args(sys_fsync_range)
2222
2223#ifndef RUMP_CLIENT
2224struct sys_uuidgen_args {
2225	syscallarg(struct uuid *) store;
2226	syscallarg(int) count;
2227};
2228check_syscall_args(sys_uuidgen)
2229#endif /* !RUMP_CLIENT */
2230
2231struct sys_getvfsstat_args {
2232	syscallarg(struct statvfs *) buf;
2233	syscallarg(size_t) bufsize;
2234	syscallarg(int) flags;
2235};
2236check_syscall_args(sys_getvfsstat)
2237
2238struct sys_statvfs1_args {
2239	syscallarg(const char *) path;
2240	syscallarg(struct statvfs *) buf;
2241	syscallarg(int) flags;
2242};
2243check_syscall_args(sys_statvfs1)
2244
2245struct sys_fstatvfs1_args {
2246	syscallarg(int) fd;
2247	syscallarg(struct statvfs *) buf;
2248	syscallarg(int) flags;
2249};
2250check_syscall_args(sys_fstatvfs1)
2251
2252#ifndef RUMP_CLIENT
2253struct compat_30_sys_fhstatvfs1_args {
2254	syscallarg(const struct compat_30_fhandle *) fhp;
2255	syscallarg(struct statvfs *) buf;
2256	syscallarg(int) flags;
2257};
2258check_syscall_args(compat_30_sys_fhstatvfs1)
2259#endif /* !RUMP_CLIENT */
2260
2261struct sys_extattrctl_args {
2262	syscallarg(const char *) path;
2263	syscallarg(int) cmd;
2264	syscallarg(const char *) filename;
2265	syscallarg(int) attrnamespace;
2266	syscallarg(const char *) attrname;
2267};
2268check_syscall_args(sys_extattrctl)
2269
2270struct sys_extattr_set_file_args {
2271	syscallarg(const char *) path;
2272	syscallarg(int) attrnamespace;
2273	syscallarg(const char *) attrname;
2274	syscallarg(const void *) data;
2275	syscallarg(size_t) nbytes;
2276};
2277check_syscall_args(sys_extattr_set_file)
2278
2279struct sys_extattr_get_file_args {
2280	syscallarg(const char *) path;
2281	syscallarg(int) attrnamespace;
2282	syscallarg(const char *) attrname;
2283	syscallarg(void *) data;
2284	syscallarg(size_t) nbytes;
2285};
2286check_syscall_args(sys_extattr_get_file)
2287
2288struct sys_extattr_delete_file_args {
2289	syscallarg(const char *) path;
2290	syscallarg(int) attrnamespace;
2291	syscallarg(const char *) attrname;
2292};
2293check_syscall_args(sys_extattr_delete_file)
2294
2295struct sys_extattr_set_fd_args {
2296	syscallarg(int) fd;
2297	syscallarg(int) attrnamespace;
2298	syscallarg(const char *) attrname;
2299	syscallarg(const void *) data;
2300	syscallarg(size_t) nbytes;
2301};
2302check_syscall_args(sys_extattr_set_fd)
2303
2304struct sys_extattr_get_fd_args {
2305	syscallarg(int) fd;
2306	syscallarg(int) attrnamespace;
2307	syscallarg(const char *) attrname;
2308	syscallarg(void *) data;
2309	syscallarg(size_t) nbytes;
2310};
2311check_syscall_args(sys_extattr_get_fd)
2312
2313struct sys_extattr_delete_fd_args {
2314	syscallarg(int) fd;
2315	syscallarg(int) attrnamespace;
2316	syscallarg(const char *) attrname;
2317};
2318check_syscall_args(sys_extattr_delete_fd)
2319
2320struct sys_extattr_set_link_args {
2321	syscallarg(const char *) path;
2322	syscallarg(int) attrnamespace;
2323	syscallarg(const char *) attrname;
2324	syscallarg(const void *) data;
2325	syscallarg(size_t) nbytes;
2326};
2327check_syscall_args(sys_extattr_set_link)
2328
2329struct sys_extattr_get_link_args {
2330	syscallarg(const char *) path;
2331	syscallarg(int) attrnamespace;
2332	syscallarg(const char *) attrname;
2333	syscallarg(void *) data;
2334	syscallarg(size_t) nbytes;
2335};
2336check_syscall_args(sys_extattr_get_link)
2337
2338struct sys_extattr_delete_link_args {
2339	syscallarg(const char *) path;
2340	syscallarg(int) attrnamespace;
2341	syscallarg(const char *) attrname;
2342};
2343check_syscall_args(sys_extattr_delete_link)
2344
2345struct sys_extattr_list_fd_args {
2346	syscallarg(int) fd;
2347	syscallarg(int) attrnamespace;
2348	syscallarg(void *) data;
2349	syscallarg(size_t) nbytes;
2350};
2351check_syscall_args(sys_extattr_list_fd)
2352
2353struct sys_extattr_list_file_args {
2354	syscallarg(const char *) path;
2355	syscallarg(int) attrnamespace;
2356	syscallarg(void *) data;
2357	syscallarg(size_t) nbytes;
2358};
2359check_syscall_args(sys_extattr_list_file)
2360
2361struct sys_extattr_list_link_args {
2362	syscallarg(const char *) path;
2363	syscallarg(int) attrnamespace;
2364	syscallarg(void *) data;
2365	syscallarg(size_t) nbytes;
2366};
2367check_syscall_args(sys_extattr_list_link)
2368
2369struct compat_50_sys_pselect_args {
2370	syscallarg(int) nd;
2371	syscallarg(fd_set *) in;
2372	syscallarg(fd_set *) ou;
2373	syscallarg(fd_set *) ex;
2374	syscallarg(const struct timespec50 *) ts;
2375	syscallarg(const sigset_t *) mask;
2376};
2377check_syscall_args(compat_50_sys_pselect)
2378
2379struct compat_50_sys_pollts_args {
2380	syscallarg(struct pollfd *) fds;
2381	syscallarg(u_int) nfds;
2382	syscallarg(const struct timespec50 *) ts;
2383	syscallarg(const sigset_t *) mask;
2384};
2385check_syscall_args(compat_50_sys_pollts)
2386
2387struct sys_setxattr_args {
2388	syscallarg(const char *) path;
2389	syscallarg(const char *) name;
2390	syscallarg(const void *) value;
2391	syscallarg(size_t) size;
2392	syscallarg(int) flags;
2393};
2394check_syscall_args(sys_setxattr)
2395
2396struct sys_lsetxattr_args {
2397	syscallarg(const char *) path;
2398	syscallarg(const char *) name;
2399	syscallarg(const void *) value;
2400	syscallarg(size_t) size;
2401	syscallarg(int) flags;
2402};
2403check_syscall_args(sys_lsetxattr)
2404
2405struct sys_fsetxattr_args {
2406	syscallarg(int) fd;
2407	syscallarg(const char *) name;
2408	syscallarg(const void *) value;
2409	syscallarg(size_t) size;
2410	syscallarg(int) flags;
2411};
2412check_syscall_args(sys_fsetxattr)
2413
2414struct sys_getxattr_args {
2415	syscallarg(const char *) path;
2416	syscallarg(const char *) name;
2417	syscallarg(void *) value;
2418	syscallarg(size_t) size;
2419};
2420check_syscall_args(sys_getxattr)
2421
2422struct sys_lgetxattr_args {
2423	syscallarg(const char *) path;
2424	syscallarg(const char *) name;
2425	syscallarg(void *) value;
2426	syscallarg(size_t) size;
2427};
2428check_syscall_args(sys_lgetxattr)
2429
2430struct sys_fgetxattr_args {
2431	syscallarg(int) fd;
2432	syscallarg(const char *) name;
2433	syscallarg(void *) value;
2434	syscallarg(size_t) size;
2435};
2436check_syscall_args(sys_fgetxattr)
2437
2438struct sys_listxattr_args {
2439	syscallarg(const char *) path;
2440	syscallarg(char *) list;
2441	syscallarg(size_t) size;
2442};
2443check_syscall_args(sys_listxattr)
2444
2445struct sys_llistxattr_args {
2446	syscallarg(const char *) path;
2447	syscallarg(char *) list;
2448	syscallarg(size_t) size;
2449};
2450check_syscall_args(sys_llistxattr)
2451
2452struct sys_flistxattr_args {
2453	syscallarg(int) fd;
2454	syscallarg(char *) list;
2455	syscallarg(size_t) size;
2456};
2457check_syscall_args(sys_flistxattr)
2458
2459struct sys_removexattr_args {
2460	syscallarg(const char *) path;
2461	syscallarg(const char *) name;
2462};
2463check_syscall_args(sys_removexattr)
2464
2465struct sys_lremovexattr_args {
2466	syscallarg(const char *) path;
2467	syscallarg(const char *) name;
2468};
2469check_syscall_args(sys_lremovexattr)
2470
2471struct sys_fremovexattr_args {
2472	syscallarg(int) fd;
2473	syscallarg(const char *) name;
2474};
2475check_syscall_args(sys_fremovexattr)
2476
2477struct compat_50_sys___stat30_args {
2478	syscallarg(const char *) path;
2479	syscallarg(struct stat30 *) ub;
2480};
2481check_syscall_args(compat_50_sys___stat30)
2482
2483struct compat_50_sys___fstat30_args {
2484	syscallarg(int) fd;
2485	syscallarg(struct stat30 *) sb;
2486};
2487check_syscall_args(compat_50_sys___fstat30)
2488
2489struct compat_50_sys___lstat30_args {
2490	syscallarg(const char *) path;
2491	syscallarg(struct stat30 *) ub;
2492};
2493check_syscall_args(compat_50_sys___lstat30)
2494
2495struct sys___getdents30_args {
2496	syscallarg(int) fd;
2497	syscallarg(char *) buf;
2498	syscallarg(size_t) count;
2499};
2500check_syscall_args(sys___getdents30)
2501
2502#ifndef RUMP_CLIENT
2503struct compat_30_sys___fhstat30_args {
2504	syscallarg(const struct compat_30_fhandle *) fhp;
2505	syscallarg(struct stat30 *) sb;
2506};
2507check_syscall_args(compat_30_sys___fhstat30)
2508#endif /* !RUMP_CLIENT */
2509
2510#ifndef RUMP_CLIENT
2511struct compat_50_sys___ntp_gettime30_args {
2512	syscallarg(struct ntptimeval50 *) ntvp;
2513};
2514check_syscall_args(compat_50_sys___ntp_gettime30)
2515#endif /* !RUMP_CLIENT */
2516
2517struct sys___socket30_args {
2518	syscallarg(int) domain;
2519	syscallarg(int) type;
2520	syscallarg(int) protocol;
2521};
2522check_syscall_args(sys___socket30)
2523
2524struct sys___getfh30_args {
2525	syscallarg(const char *) fname;
2526	syscallarg(void *) fhp;
2527	syscallarg(size_t *) fh_size;
2528};
2529check_syscall_args(sys___getfh30)
2530
2531struct sys___fhopen40_args {
2532	syscallarg(const void *) fhp;
2533	syscallarg(size_t) fh_size;
2534	syscallarg(int) flags;
2535};
2536check_syscall_args(sys___fhopen40)
2537
2538struct sys___fhstatvfs140_args {
2539	syscallarg(const void *) fhp;
2540	syscallarg(size_t) fh_size;
2541	syscallarg(struct statvfs *) buf;
2542	syscallarg(int) flags;
2543};
2544check_syscall_args(sys___fhstatvfs140)
2545
2546struct compat_50_sys___fhstat40_args {
2547	syscallarg(const void *) fhp;
2548	syscallarg(size_t) fh_size;
2549	syscallarg(struct stat30 *) sb;
2550};
2551check_syscall_args(compat_50_sys___fhstat40)
2552
2553struct sys_aio_cancel_args {
2554	syscallarg(int) fildes;
2555	syscallarg(struct aiocb *) aiocbp;
2556};
2557check_syscall_args(sys_aio_cancel)
2558
2559struct sys_aio_error_args {
2560	syscallarg(const struct aiocb *) aiocbp;
2561};
2562check_syscall_args(sys_aio_error)
2563
2564struct sys_aio_fsync_args {
2565	syscallarg(int) op;
2566	syscallarg(struct aiocb *) aiocbp;
2567};
2568check_syscall_args(sys_aio_fsync)
2569
2570struct sys_aio_read_args {
2571	syscallarg(struct aiocb *) aiocbp;
2572};
2573check_syscall_args(sys_aio_read)
2574
2575struct sys_aio_return_args {
2576	syscallarg(struct aiocb *) aiocbp;
2577};
2578check_syscall_args(sys_aio_return)
2579
2580#ifndef RUMP_CLIENT
2581struct compat_50_sys_aio_suspend_args {
2582	syscallarg(const struct aiocb *const *) list;
2583	syscallarg(int) nent;
2584	syscallarg(const struct timespec50 *) timeout;
2585};
2586check_syscall_args(compat_50_sys_aio_suspend)
2587#endif /* !RUMP_CLIENT */
2588
2589struct sys_aio_write_args {
2590	syscallarg(struct aiocb *) aiocbp;
2591};
2592check_syscall_args(sys_aio_write)
2593
2594struct sys_lio_listio_args {
2595	syscallarg(int) mode;
2596	syscallarg(struct aiocb *const *) list;
2597	syscallarg(int) nent;
2598	syscallarg(struct sigevent *) sig;
2599};
2600check_syscall_args(sys_lio_listio)
2601
2602struct sys___mount50_args {
2603	syscallarg(const char *) type;
2604	syscallarg(const char *) path;
2605	syscallarg(int) flags;
2606	syscallarg(void *) data;
2607	syscallarg(size_t) data_len;
2608};
2609check_syscall_args(sys___mount50)
2610
2611#ifndef RUMP_CLIENT
2612struct sys_mremap_args {
2613	syscallarg(void *) old_address;
2614	syscallarg(size_t) old_size;
2615	syscallarg(void *) new_address;
2616	syscallarg(size_t) new_size;
2617	syscallarg(int) flags;
2618};
2619check_syscall_args(sys_mremap)
2620#endif /* !RUMP_CLIENT */
2621
2622#ifndef RUMP_CLIENT
2623struct sys_pset_create_args {
2624	syscallarg(psetid_t *) psid;
2625};
2626check_syscall_args(sys_pset_create)
2627#endif /* !RUMP_CLIENT */
2628
2629#ifndef RUMP_CLIENT
2630struct sys_pset_destroy_args {
2631	syscallarg(psetid_t) psid;
2632};
2633check_syscall_args(sys_pset_destroy)
2634#endif /* !RUMP_CLIENT */
2635
2636#ifndef RUMP_CLIENT
2637struct sys_pset_assign_args {
2638	syscallarg(psetid_t) psid;
2639	syscallarg(cpuid_t) cpuid;
2640	syscallarg(psetid_t *) opsid;
2641};
2642check_syscall_args(sys_pset_assign)
2643#endif /* !RUMP_CLIENT */
2644
2645#ifndef RUMP_CLIENT
2646struct sys__pset_bind_args {
2647	syscallarg(idtype_t) idtype;
2648	syscallarg(id_t) first_id;
2649	syscallarg(id_t) second_id;
2650	syscallarg(psetid_t) psid;
2651	syscallarg(psetid_t *) opsid;
2652};
2653check_syscall_args(sys__pset_bind)
2654#endif /* !RUMP_CLIENT */
2655
2656struct sys___posix_fadvise50_args {
2657	syscallarg(int) fd;
2658	syscallarg(int) PAD;
2659	syscallarg(off_t) offset;
2660	syscallarg(off_t) len;
2661	syscallarg(int) advice;
2662};
2663check_syscall_args(sys___posix_fadvise50)
2664
2665struct sys___select50_args {
2666	syscallarg(int) nd;
2667	syscallarg(fd_set *) in;
2668	syscallarg(fd_set *) ou;
2669	syscallarg(fd_set *) ex;
2670	syscallarg(struct timeval *) tv;
2671};
2672check_syscall_args(sys___select50)
2673
2674struct sys___gettimeofday50_args {
2675	syscallarg(struct timeval *) tp;
2676	syscallarg(void *) tzp;
2677};
2678check_syscall_args(sys___gettimeofday50)
2679
2680struct sys___settimeofday50_args {
2681	syscallarg(const struct timeval *) tv;
2682	syscallarg(const void *) tzp;
2683};
2684check_syscall_args(sys___settimeofday50)
2685
2686struct sys___utimes50_args {
2687	syscallarg(const char *) path;
2688	syscallarg(const struct timeval *) tptr;
2689};
2690check_syscall_args(sys___utimes50)
2691
2692struct sys___adjtime50_args {
2693	syscallarg(const struct timeval *) delta;
2694	syscallarg(struct timeval *) olddelta;
2695};
2696check_syscall_args(sys___adjtime50)
2697
2698#ifndef RUMP_CLIENT
2699struct sys___lfs_segwait50_args {
2700	syscallarg(fsid_t *) fsidp;
2701	syscallarg(struct timeval *) tv;
2702};
2703check_syscall_args(sys___lfs_segwait50)
2704#endif /* !RUMP_CLIENT */
2705
2706struct sys___futimes50_args {
2707	syscallarg(int) fd;
2708	syscallarg(const struct timeval *) tptr;
2709};
2710check_syscall_args(sys___futimes50)
2711
2712struct sys___lutimes50_args {
2713	syscallarg(const char *) path;
2714	syscallarg(const struct timeval *) tptr;
2715};
2716check_syscall_args(sys___lutimes50)
2717
2718struct sys___setitimer50_args {
2719	syscallarg(int) which;
2720	syscallarg(const struct itimerval *) itv;
2721	syscallarg(struct itimerval *) oitv;
2722};
2723check_syscall_args(sys___setitimer50)
2724
2725struct sys___getitimer50_args {
2726	syscallarg(int) which;
2727	syscallarg(struct itimerval *) itv;
2728};
2729check_syscall_args(sys___getitimer50)
2730
2731struct sys___clock_gettime50_args {
2732	syscallarg(clockid_t) clock_id;
2733	syscallarg(struct timespec *) tp;
2734};
2735check_syscall_args(sys___clock_gettime50)
2736
2737struct sys___clock_settime50_args {
2738	syscallarg(clockid_t) clock_id;
2739	syscallarg(const struct timespec *) tp;
2740};
2741check_syscall_args(sys___clock_settime50)
2742
2743struct sys___clock_getres50_args {
2744	syscallarg(clockid_t) clock_id;
2745	syscallarg(struct timespec *) tp;
2746};
2747check_syscall_args(sys___clock_getres50)
2748
2749struct sys___nanosleep50_args {
2750	syscallarg(const struct timespec *) rqtp;
2751	syscallarg(struct timespec *) rmtp;
2752};
2753check_syscall_args(sys___nanosleep50)
2754
2755#ifndef RUMP_CLIENT
2756struct sys_____sigtimedwait50_args {
2757	syscallarg(const sigset_t *) set;
2758	syscallarg(siginfo_t *) info;
2759	syscallarg(struct timespec *) timeout;
2760};
2761check_syscall_args(sys_____sigtimedwait50)
2762#endif /* !RUMP_CLIENT */
2763
2764#ifndef RUMP_CLIENT
2765struct sys___mq_timedsend50_args {
2766	syscallarg(mqd_t) mqdes;
2767	syscallarg(const char *) msg_ptr;
2768	syscallarg(size_t) msg_len;
2769	syscallarg(unsigned) msg_prio;
2770	syscallarg(const struct timespec *) abs_timeout;
2771};
2772check_syscall_args(sys___mq_timedsend50)
2773#endif /* !RUMP_CLIENT */
2774
2775#ifndef RUMP_CLIENT
2776struct sys___mq_timedreceive50_args {
2777	syscallarg(mqd_t) mqdes;
2778	syscallarg(char *) msg_ptr;
2779	syscallarg(size_t) msg_len;
2780	syscallarg(unsigned *) msg_prio;
2781	syscallarg(const struct timespec *) abs_timeout;
2782};
2783check_syscall_args(sys___mq_timedreceive50)
2784#endif /* !RUMP_CLIENT */
2785
2786#ifndef RUMP_CLIENT
2787struct compat_60_sys__lwp_park_args {
2788	syscallarg(const struct timespec *) ts;
2789	syscallarg(lwpid_t) unpark;
2790	syscallarg(const void *) hint;
2791	syscallarg(const void *) unparkhint;
2792};
2793check_syscall_args(compat_60_sys__lwp_park)
2794#endif /* !RUMP_CLIENT */
2795
2796struct sys___kevent50_args {
2797	syscallarg(int) fd;
2798	syscallarg(const struct kevent *) changelist;
2799	syscallarg(size_t) nchanges;
2800	syscallarg(struct kevent *) eventlist;
2801	syscallarg(size_t) nevents;
2802	syscallarg(const struct timespec *) timeout;
2803};
2804check_syscall_args(sys___kevent50)
2805
2806struct sys___pselect50_args {
2807	syscallarg(int) nd;
2808	syscallarg(fd_set *) in;
2809	syscallarg(fd_set *) ou;
2810	syscallarg(fd_set *) ex;
2811	syscallarg(const struct timespec *) ts;
2812	syscallarg(const sigset_t *) mask;
2813};
2814check_syscall_args(sys___pselect50)
2815
2816struct sys___pollts50_args {
2817	syscallarg(struct pollfd *) fds;
2818	syscallarg(u_int) nfds;
2819	syscallarg(const struct timespec *) ts;
2820	syscallarg(const sigset_t *) mask;
2821};
2822check_syscall_args(sys___pollts50)
2823
2824struct sys___aio_suspend50_args {
2825	syscallarg(const struct aiocb *const *) list;
2826	syscallarg(int) nent;
2827	syscallarg(const struct timespec *) timeout;
2828};
2829check_syscall_args(sys___aio_suspend50)
2830
2831struct sys___stat50_args {
2832	syscallarg(const char *) path;
2833	syscallarg(struct stat *) ub;
2834};
2835check_syscall_args(sys___stat50)
2836
2837struct sys___fstat50_args {
2838	syscallarg(int) fd;
2839	syscallarg(struct stat *) sb;
2840};
2841check_syscall_args(sys___fstat50)
2842
2843struct sys___lstat50_args {
2844	syscallarg(const char *) path;
2845	syscallarg(struct stat *) ub;
2846};
2847check_syscall_args(sys___lstat50)
2848#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
2849
2850#ifndef RUMP_CLIENT
2851struct sys_____semctl50_args {
2852	syscallarg(int) semid;
2853	syscallarg(int) semnum;
2854	syscallarg(int) cmd;
2855	syscallarg(union __semun *) arg;
2856};
2857check_syscall_args(sys_____semctl50)
2858#endif /* !RUMP_CLIENT */
2859#else
2860#endif
2861#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
2862
2863#ifndef RUMP_CLIENT
2864struct sys___shmctl50_args {
2865	syscallarg(int) shmid;
2866	syscallarg(int) cmd;
2867	syscallarg(struct shmid_ds *) buf;
2868};
2869check_syscall_args(sys___shmctl50)
2870#endif /* !RUMP_CLIENT */
2871#else
2872#endif
2873#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
2874
2875#ifndef RUMP_CLIENT
2876struct sys___msgctl50_args {
2877	syscallarg(int) msqid;
2878	syscallarg(int) cmd;
2879	syscallarg(struct msqid_ds *) buf;
2880};
2881check_syscall_args(sys___msgctl50)
2882#endif /* !RUMP_CLIENT */
2883#else
2884#endif
2885
2886#ifndef RUMP_CLIENT
2887struct sys___getrusage50_args {
2888	syscallarg(int) who;
2889	syscallarg(struct rusage *) rusage;
2890};
2891check_syscall_args(sys___getrusage50)
2892#endif /* !RUMP_CLIENT */
2893
2894struct sys___timer_settime50_args {
2895	syscallarg(timer_t) timerid;
2896	syscallarg(int) flags;
2897	syscallarg(const struct itimerspec *) value;
2898	syscallarg(struct itimerspec *) ovalue;
2899};
2900check_syscall_args(sys___timer_settime50)
2901
2902struct sys___timer_gettime50_args {
2903	syscallarg(timer_t) timerid;
2904	syscallarg(struct itimerspec *) value;
2905};
2906check_syscall_args(sys___timer_gettime50)
2907#if defined(NTP) || !defined(_KERNEL_OPT)
2908
2909#ifndef RUMP_CLIENT
2910struct sys___ntp_gettime50_args {
2911	syscallarg(struct ntptimeval *) ntvp;
2912};
2913check_syscall_args(sys___ntp_gettime50)
2914#endif /* !RUMP_CLIENT */
2915#else
2916#endif
2917
2918#ifndef RUMP_CLIENT
2919struct sys___wait450_args {
2920	syscallarg(pid_t) pid;
2921	syscallarg(int *) status;
2922	syscallarg(int) options;
2923	syscallarg(struct rusage *) rusage;
2924};
2925check_syscall_args(sys___wait450)
2926#endif /* !RUMP_CLIENT */
2927
2928struct sys___mknod50_args {
2929	syscallarg(const char *) path;
2930	syscallarg(mode_t) mode;
2931	syscallarg(dev_t) dev;
2932};
2933check_syscall_args(sys___mknod50)
2934
2935struct sys___fhstat50_args {
2936	syscallarg(const void *) fhp;
2937	syscallarg(size_t) fh_size;
2938	syscallarg(struct stat *) sb;
2939};
2940check_syscall_args(sys___fhstat50)
2941
2942struct sys_pipe2_args {
2943	syscallarg(int *) fildes;
2944	syscallarg(int) flags;
2945};
2946check_syscall_args(sys_pipe2)
2947
2948struct sys_dup3_args {
2949	syscallarg(int) from;
2950	syscallarg(int) to;
2951	syscallarg(int) flags;
2952};
2953check_syscall_args(sys_dup3)
2954
2955struct sys_kqueue1_args {
2956	syscallarg(int) flags;
2957};
2958check_syscall_args(sys_kqueue1)
2959
2960struct sys_paccept_args {
2961	syscallarg(int) s;
2962	syscallarg(struct sockaddr *) name;
2963	syscallarg(socklen_t *) anamelen;
2964	syscallarg(const sigset_t *) mask;
2965	syscallarg(int) flags;
2966};
2967check_syscall_args(sys_paccept)
2968
2969struct sys_linkat_args {
2970	syscallarg(int) fd1;
2971	syscallarg(const char *) name1;
2972	syscallarg(int) fd2;
2973	syscallarg(const char *) name2;
2974	syscallarg(int) flags;
2975};
2976check_syscall_args(sys_linkat)
2977
2978struct sys_renameat_args {
2979	syscallarg(int) fromfd;
2980	syscallarg(const char *) from;
2981	syscallarg(int) tofd;
2982	syscallarg(const char *) to;
2983};
2984check_syscall_args(sys_renameat)
2985
2986struct sys_mkfifoat_args {
2987	syscallarg(int) fd;
2988	syscallarg(const char *) path;
2989	syscallarg(mode_t) mode;
2990};
2991check_syscall_args(sys_mkfifoat)
2992
2993struct sys_mknodat_args {
2994	syscallarg(int) fd;
2995	syscallarg(const char *) path;
2996	syscallarg(mode_t) mode;
2997	syscallarg(int) PAD;
2998	syscallarg(dev_t) dev;
2999};
3000check_syscall_args(sys_mknodat)
3001
3002struct sys_mkdirat_args {
3003	syscallarg(int) fd;
3004	syscallarg(const char *) path;
3005	syscallarg(mode_t) mode;
3006};
3007check_syscall_args(sys_mkdirat)
3008
3009struct sys_faccessat_args {
3010	syscallarg(int) fd;
3011	syscallarg(const char *) path;
3012	syscallarg(int) amode;
3013	syscallarg(int) flag;
3014};
3015check_syscall_args(sys_faccessat)
3016
3017struct sys_fchmodat_args {
3018	syscallarg(int) fd;
3019	syscallarg(const char *) path;
3020	syscallarg(mode_t) mode;
3021	syscallarg(int) flag;
3022};
3023check_syscall_args(sys_fchmodat)
3024
3025struct sys_fchownat_args {
3026	syscallarg(int) fd;
3027	syscallarg(const char *) path;
3028	syscallarg(uid_t) owner;
3029	syscallarg(gid_t) group;
3030	syscallarg(int) flag;
3031};
3032check_syscall_args(sys_fchownat)
3033
3034#ifndef RUMP_CLIENT
3035struct sys_fexecve_args {
3036	syscallarg(int) fd;
3037	syscallarg(char *const *) argp;
3038	syscallarg(char *const *) envp;
3039};
3040check_syscall_args(sys_fexecve)
3041#endif /* !RUMP_CLIENT */
3042
3043struct sys_fstatat_args {
3044	syscallarg(int) fd;
3045	syscallarg(const char *) path;
3046	syscallarg(struct stat *) buf;
3047	syscallarg(int) flag;
3048};
3049check_syscall_args(sys_fstatat)
3050
3051struct sys_utimensat_args {
3052	syscallarg(int) fd;
3053	syscallarg(const char *) path;
3054	syscallarg(const struct timespec *) tptr;
3055	syscallarg(int) flag;
3056};
3057check_syscall_args(sys_utimensat)
3058
3059struct sys_openat_args {
3060	syscallarg(int) fd;
3061	syscallarg(const char *) path;
3062	syscallarg(int) oflags;
3063	syscallarg(mode_t) mode;
3064};
3065check_syscall_args(sys_openat)
3066
3067struct sys_readlinkat_args {
3068	syscallarg(int) fd;
3069	syscallarg(const char *) path;
3070	syscallarg(char *) buf;
3071	syscallarg(size_t) bufsize;
3072};
3073check_syscall_args(sys_readlinkat)
3074
3075struct sys_symlinkat_args {
3076	syscallarg(const char *) path1;
3077	syscallarg(int) fd;
3078	syscallarg(const char *) path2;
3079};
3080check_syscall_args(sys_symlinkat)
3081
3082struct sys_unlinkat_args {
3083	syscallarg(int) fd;
3084	syscallarg(const char *) path;
3085	syscallarg(int) flag;
3086};
3087check_syscall_args(sys_unlinkat)
3088
3089struct sys_futimens_args {
3090	syscallarg(int) fd;
3091	syscallarg(const struct timespec *) tptr;
3092};
3093check_syscall_args(sys_futimens)
3094
3095struct sys___quotactl_args {
3096	syscallarg(const char *) path;
3097	syscallarg(struct quotactl_args *) args;
3098};
3099check_syscall_args(sys___quotactl)
3100
3101#ifndef RUMP_CLIENT
3102struct sys_posix_spawn_args {
3103	syscallarg(pid_t *) pid;
3104	syscallarg(const char *) path;
3105	syscallarg(const struct posix_spawn_file_actions *) file_actions;
3106	syscallarg(const struct posix_spawnattr *) attrp;
3107	syscallarg(char *const *) argv;
3108	syscallarg(char *const *) envp;
3109};
3110check_syscall_args(sys_posix_spawn)
3111#endif /* !RUMP_CLIENT */
3112
3113struct sys_recvmmsg_args {
3114	syscallarg(int) s;
3115	syscallarg(struct mmsghdr *) mmsg;
3116	syscallarg(unsigned int) vlen;
3117	syscallarg(unsigned int) flags;
3118	syscallarg(struct timespec *) timeout;
3119};
3120check_syscall_args(sys_recvmmsg)
3121
3122struct sys_sendmmsg_args {
3123	syscallarg(int) s;
3124	syscallarg(struct mmsghdr *) mmsg;
3125	syscallarg(unsigned int) vlen;
3126	syscallarg(unsigned int) flags;
3127};
3128check_syscall_args(sys_sendmmsg)
3129
3130struct sys_clock_nanosleep_args {
3131	syscallarg(clockid_t) clock_id;
3132	syscallarg(int) flags;
3133	syscallarg(const struct timespec *) rqtp;
3134	syscallarg(struct timespec *) rmtp;
3135};
3136check_syscall_args(sys_clock_nanosleep)
3137
3138#ifndef RUMP_CLIENT
3139struct sys____lwp_park60_args {
3140	syscallarg(clockid_t) clock_id;
3141	syscallarg(int) flags;
3142	syscallarg(const struct timespec *) ts;
3143	syscallarg(lwpid_t) unpark;
3144	syscallarg(const void *) hint;
3145	syscallarg(const void *) unparkhint;
3146};
3147check_syscall_args(sys____lwp_park60)
3148#endif /* !RUMP_CLIENT */
3149
3150struct sys_posix_fallocate_args {
3151	syscallarg(int) fd;
3152	syscallarg(int) PAD;
3153	syscallarg(off_t) pos;
3154	syscallarg(off_t) len;
3155};
3156check_syscall_args(sys_posix_fallocate)
3157
3158struct sys_fdiscard_args {
3159	syscallarg(int) fd;
3160	syscallarg(int) PAD;
3161	syscallarg(off_t) pos;
3162	syscallarg(off_t) len;
3163};
3164check_syscall_args(sys_fdiscard)
3165
3166/*
3167 * System call prototypes.
3168 */
3169
3170#ifndef RUMP_CLIENT
3171int	sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *);
3172
3173int	sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
3174
3175int	sys_fork(struct lwp *, const void *, register_t *);
3176
3177int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
3178
3179int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
3180
3181int	sys_open(struct lwp *, const struct sys_open_args *, register_t *);
3182
3183int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
3184
3185int	compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *);
3186
3187int	compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *);
3188
3189int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
3190
3191int	sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
3192
3193int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
3194
3195int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
3196
3197int	compat_50_sys_mknod(struct lwp *, const struct compat_50_sys_mknod_args *, register_t *);
3198
3199int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
3200
3201int	sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
3202
3203int	sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
3204
3205int	compat_20_sys_getfsstat(struct lwp *, const struct compat_20_sys_getfsstat_args *, register_t *);
3206
3207int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
3208
3209int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
3210
3211int	compat_40_sys_mount(struct lwp *, const struct compat_40_sys_mount_args *, register_t *);
3212
3213int	sys_unmount(struct lwp *, const struct sys_unmount_args *, register_t *);
3214
3215int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
3216
3217int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
3218
3219int	sys_geteuid(struct lwp *, const void *, register_t *);
3220
3221int	sys_ptrace(struct lwp *, const struct sys_ptrace_args *, register_t *);
3222
3223int	sys_recvmsg(struct lwp *, const struct sys_recvmsg_args *, register_t *);
3224
3225int	sys_sendmsg(struct lwp *, const struct sys_sendmsg_args *, register_t *);
3226
3227int	sys_recvfrom(struct lwp *, const struct sys_recvfrom_args *, register_t *);
3228
3229int	sys_accept(struct lwp *, const struct sys_accept_args *, register_t *);
3230
3231int	sys_getpeername(struct lwp *, const struct sys_getpeername_args *, register_t *);
3232
3233int	sys_getsockname(struct lwp *, const struct sys_getsockname_args *, register_t *);
3234
3235int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
3236
3237int	sys_chflags(struct lwp *, const struct sys_chflags_args *, register_t *);
3238
3239int	sys_fchflags(struct lwp *, const struct sys_fchflags_args *, register_t *);
3240
3241int	sys_sync(struct lwp *, const void *, register_t *);
3242
3243int	sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
3244
3245int	compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
3246
3247int	sys_getppid(struct lwp *, const void *, register_t *);
3248
3249int	compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
3250
3251int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
3252
3253int	sys_pipe(struct lwp *, const void *, register_t *);
3254
3255int	sys_getegid(struct lwp *, const void *, register_t *);
3256
3257int	sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
3258
3259int	sys_ktrace(struct lwp *, const struct sys_ktrace_args *, register_t *);
3260
3261int	compat_13_sys_sigaction(struct lwp *, const struct compat_13_sys_sigaction_args *, register_t *);
3262
3263int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
3264
3265int	compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *);
3266
3267int	sys___getlogin(struct lwp *, const struct sys___getlogin_args *, register_t *);
3268
3269int	sys___setlogin(struct lwp *, const struct sys___setlogin_args *, register_t *);
3270
3271int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
3272
3273int	compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
3274
3275int	compat_13_sys_sigaltstack(struct lwp *, const struct compat_13_sys_sigaltstack_args *, register_t *);
3276
3277int	sys_ioctl(struct lwp *, const struct sys_ioctl_args *, register_t *);
3278
3279int	compat_12_sys_reboot(struct lwp *, const struct compat_12_sys_reboot_args *, register_t *);
3280
3281int	sys_revoke(struct lwp *, const struct sys_revoke_args *, register_t *);
3282
3283int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
3284
3285int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
3286
3287int	sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
3288
3289int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
3290
3291int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
3292
3293int	compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
3294
3295int	compat_43_sys_getkerninfo(struct lwp *, const struct compat_43_sys_getkerninfo_args *, register_t *);
3296
3297int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
3298
3299int	compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *);
3300
3301int	sys_vfork(struct lwp *, const void *, register_t *);
3302
3303int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
3304
3305int	sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
3306
3307int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
3308
3309int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
3310
3311int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
3312
3313int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
3314
3315int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
3316
3317int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
3318
3319int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
3320
3321int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
3322
3323int	sys_getpgrp(struct lwp *, const void *, register_t *);
3324
3325int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
3326
3327int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
3328
3329int	compat_43_sys_wait(struct lwp *, const void *, register_t *);
3330
3331int	compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
3332
3333int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
3334
3335int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
3336
3337int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
3338
3339int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
3340
3341int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
3342
3343int	sys_fcntl(struct lwp *, const struct sys_fcntl_args *, register_t *);
3344
3345int	compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
3346
3347int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
3348
3349int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
3350
3351int	compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *);
3352
3353int	sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
3354
3355int	compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
3356
3357int	sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
3358
3359int	compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
3360
3361int	compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
3362
3363int	compat_13_sys_sigreturn(struct lwp *, const struct compat_13_sys_sigreturn_args *, register_t *);
3364
3365int	sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
3366
3367int	sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
3368
3369int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
3370
3371int	compat_43_sys_sigvec(struct lwp *, const struct compat_43_sys_sigvec_args *, register_t *);
3372
3373int	compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
3374
3375int	compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
3376
3377int	compat_13_sys_sigsuspend(struct lwp *, const struct compat_13_sys_sigsuspend_args *, register_t *);
3378
3379int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
3380
3381int	compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
3382
3383int	compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
3384
3385int	compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
3386
3387int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
3388
3389int	sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
3390
3391int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
3392
3393int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
3394
3395int	compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
3396
3397int	sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
3398
3399int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
3400
3401int	compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
3402
3403int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
3404
3405int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
3406
3407int	sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
3408
3409int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
3410
3411int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
3412
3413int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
3414
3415int	sys_mkfifo(struct lwp *, const struct sys_mkfifo_args *, register_t *);
3416
3417int	sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
3418
3419int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
3420
3421int	sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
3422
3423int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
3424
3425int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
3426
3427int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
3428
3429int	compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
3430
3431int	compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
3432
3433int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
3434
3435int	compat_43_sys_sethostid(struct lwp *, const struct compat_43_sys_sethostid_args *, register_t *);
3436
3437int	compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
3438
3439int	compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
3440
3441int	compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
3442
3443int	sys_setsid(struct lwp *, const void *, register_t *);
3444
3445int	compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
3446
3447int	compat_43_sys_quota(struct lwp *, const void *, register_t *);
3448
3449int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
3450
3451int	sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
3452
3453int	compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
3454
3455int	compat_20_sys_statfs(struct lwp *, const struct compat_20_sys_statfs_args *, register_t *);
3456
3457int	compat_20_sys_fstatfs(struct lwp *, const struct compat_20_sys_fstatfs_args *, register_t *);
3458
3459int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
3460
3461int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
3462
3463int	compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
3464
3465int	compat_09_sys_uname(struct lwp *, const struct compat_09_sys_uname_args *, register_t *);
3466
3467int	sys_sysarch(struct lwp *, const struct sys_sysarch_args *, register_t *);
3468
3469#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
3470int	compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
3471
3472#else
3473#endif
3474#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
3475int	compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
3476
3477#else
3478#endif
3479#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
3480int	compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
3481
3482#else
3483#endif
3484int	sys_pread(struct lwp *, const struct sys_pread_args *, register_t *);
3485
3486int	sys_pwrite(struct lwp *, const struct sys_pwrite_args *, register_t *);
3487
3488int	compat_30_sys_ntp_gettime(struct lwp *, const struct compat_30_sys_ntp_gettime_args *, register_t *);
3489
3490#if defined(NTP) || !defined(_KERNEL_OPT)
3491int	sys_ntp_adjtime(struct lwp *, const struct sys_ntp_adjtime_args *, register_t *);
3492
3493#else
3494#endif
3495int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
3496
3497int	sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
3498
3499int	sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
3500
3501int	sys_lfs_bmapv(struct lwp *, const struct sys_lfs_bmapv_args *, register_t *);
3502
3503int	sys_lfs_markv(struct lwp *, const struct sys_lfs_markv_args *, register_t *);
3504
3505int	sys_lfs_segclean(struct lwp *, const struct sys_lfs_segclean_args *, register_t *);
3506
3507int	compat_50_sys_lfs_segwait(struct lwp *, const struct compat_50_sys_lfs_segwait_args *, register_t *);
3508
3509int	compat_12_sys_stat(struct lwp *, const struct compat_12_sys_stat_args *, register_t *);
3510
3511int	compat_12_sys_fstat(struct lwp *, const struct compat_12_sys_fstat_args *, register_t *);
3512
3513int	compat_12_sys_lstat(struct lwp *, const struct compat_12_sys_lstat_args *, register_t *);
3514
3515int	sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
3516
3517int	sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
3518
3519int	sys_getrlimit(struct lwp *, const struct sys_getrlimit_args *, register_t *);
3520
3521int	sys_setrlimit(struct lwp *, const struct sys_setrlimit_args *, register_t *);
3522
3523int	compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
3524
3525int	sys_mmap(struct lwp *, const struct sys_mmap_args *, register_t *);
3526
3527int	sys___syscall(struct lwp *, const struct sys___syscall_args *, register_t *);
3528
3529int	sys_lseek(struct lwp *, const struct sys_lseek_args *, register_t *);
3530
3531int	sys_truncate(struct lwp *, const struct sys_truncate_args *, register_t *);
3532
3533int	sys_ftruncate(struct lwp *, const struct sys_ftruncate_args *, register_t *);
3534
3535int	sys___sysctl(struct lwp *, const struct sys___sysctl_args *, register_t *);
3536
3537int	sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
3538
3539int	sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
3540
3541int	sys_undelete(struct lwp *, const struct sys_undelete_args *, register_t *);
3542
3543int	compat_50_sys_futimes(struct lwp *, const struct compat_50_sys_futimes_args *, register_t *);
3544
3545int	sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
3546
3547int	sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
3548
3549int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
3550
3551int	sys_afssys(struct lwp *, const struct sys_afssys_args *, register_t *);
3552
3553#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
3554int	compat_14_sys___semctl(struct lwp *, const struct compat_14_sys___semctl_args *, register_t *);
3555
3556int	sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
3557
3558int	sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
3559
3560int	sys_semconfig(struct lwp *, const struct sys_semconfig_args *, register_t *);
3561
3562#else
3563#endif
3564#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
3565int	compat_14_sys_msgctl(struct lwp *, const struct compat_14_sys_msgctl_args *, register_t *);
3566
3567int	sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
3568
3569int	sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
3570
3571int	sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
3572
3573#else
3574#endif
3575#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
3576int	sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
3577
3578int	compat_14_sys_shmctl(struct lwp *, const struct compat_14_sys_shmctl_args *, register_t *);
3579
3580int	sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
3581
3582int	sys_shmget(struct lwp *, const struct sys_shmget_args *, register_t *);
3583
3584#else
3585#endif
3586int	compat_50_sys_clock_gettime(struct lwp *, const struct compat_50_sys_clock_gettime_args *, register_t *);
3587
3588int	compat_50_sys_clock_settime(struct lwp *, const struct compat_50_sys_clock_settime_args *, register_t *);
3589
3590int	compat_50_sys_clock_getres(struct lwp *, const struct compat_50_sys_clock_getres_args *, register_t *);
3591
3592int	sys_timer_create(struct lwp *, const struct sys_timer_create_args *, register_t *);
3593
3594int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
3595
3596int	compat_50_sys_timer_settime(struct lwp *, const struct compat_50_sys_timer_settime_args *, register_t *);
3597
3598int	compat_50_sys_timer_gettime(struct lwp *, const struct compat_50_sys_timer_gettime_args *, register_t *);
3599
3600int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
3601
3602int	compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
3603
3604int	sys_fdatasync(struct lwp *, const struct sys_fdatasync_args *, register_t *);
3605
3606int	sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
3607
3608int	sys_munlockall(struct lwp *, const void *, register_t *);
3609
3610int	compat_50_sys___sigtimedwait(struct lwp *, const struct compat_50_sys___sigtimedwait_args *, register_t *);
3611
3612int	sys_sigqueueinfo(struct lwp *, const struct sys_sigqueueinfo_args *, register_t *);
3613
3614int	sys_modctl(struct lwp *, const struct sys_modctl_args *, register_t *);
3615
3616int	sys__ksem_init(struct lwp *, const struct sys__ksem_init_args *, register_t *);
3617
3618int	sys__ksem_open(struct lwp *, const struct sys__ksem_open_args *, register_t *);
3619
3620int	sys__ksem_unlink(struct lwp *, const struct sys__ksem_unlink_args *, register_t *);
3621
3622int	sys__ksem_close(struct lwp *, const struct sys__ksem_close_args *, register_t *);
3623
3624int	sys__ksem_post(struct lwp *, const struct sys__ksem_post_args *, register_t *);
3625
3626int	sys__ksem_wait(struct lwp *, const struct sys__ksem_wait_args *, register_t *);
3627
3628int	sys__ksem_trywait(struct lwp *, const struct sys__ksem_trywait_args *, register_t *);
3629
3630int	sys__ksem_getvalue(struct lwp *, const struct sys__ksem_getvalue_args *, register_t *);
3631
3632int	sys__ksem_destroy(struct lwp *, const struct sys__ksem_destroy_args *, register_t *);
3633
3634int	sys__ksem_timedwait(struct lwp *, const struct sys__ksem_timedwait_args *, register_t *);
3635
3636int	sys_mq_open(struct lwp *, const struct sys_mq_open_args *, register_t *);
3637
3638int	sys_mq_close(struct lwp *, const struct sys_mq_close_args *, register_t *);
3639
3640int	sys_mq_unlink(struct lwp *, const struct sys_mq_unlink_args *, register_t *);
3641
3642int	sys_mq_getattr(struct lwp *, const struct sys_mq_getattr_args *, register_t *);
3643
3644int	sys_mq_setattr(struct lwp *, const struct sys_mq_setattr_args *, register_t *);
3645
3646int	sys_mq_notify(struct lwp *, const struct sys_mq_notify_args *, register_t *);
3647
3648int	sys_mq_send(struct lwp *, const struct sys_mq_send_args *, register_t *);
3649
3650int	sys_mq_receive(struct lwp *, const struct sys_mq_receive_args *, register_t *);
3651
3652int	compat_50_sys_mq_timedsend(struct lwp *, const struct compat_50_sys_mq_timedsend_args *, register_t *);
3653
3654int	compat_50_sys_mq_timedreceive(struct lwp *, const struct compat_50_sys_mq_timedreceive_args *, register_t *);
3655
3656int	sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
3657
3658int	sys_swapctl(struct lwp *, const struct sys_swapctl_args *, register_t *);
3659
3660int	compat_30_sys_getdents(struct lwp *, const struct compat_30_sys_getdents_args *, register_t *);
3661
3662int	sys_minherit(struct lwp *, const struct sys_minherit_args *, register_t *);
3663
3664int	sys_lchmod(struct lwp *, const struct sys_lchmod_args *, register_t *);
3665
3666int	sys_lchown(struct lwp *, const struct sys_lchown_args *, register_t *);
3667
3668int	compat_50_sys_lutimes(struct lwp *, const struct compat_50_sys_lutimes_args *, register_t *);
3669
3670int	sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
3671
3672int	compat_30_sys___stat13(struct lwp *, const struct compat_30_sys___stat13_args *, register_t *);
3673
3674int	compat_30_sys___fstat13(struct lwp *, const struct compat_30_sys___fstat13_args *, register_t *);
3675
3676int	compat_30_sys___lstat13(struct lwp *, const struct compat_30_sys___lstat13_args *, register_t *);
3677
3678int	sys___sigaltstack14(struct lwp *, const struct sys___sigaltstack14_args *, register_t *);
3679
3680int	sys___vfork14(struct lwp *, const void *, register_t *);
3681
3682int	sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
3683
3684int	sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
3685
3686int	sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
3687
3688int	sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
3689
3690int	sys___clone(struct lwp *, const struct sys___clone_args *, register_t *);
3691
3692int	sys_fktrace(struct lwp *, const struct sys_fktrace_args *, register_t *);
3693
3694int	sys_preadv(struct lwp *, const struct sys_preadv_args *, register_t *);
3695
3696int	sys_pwritev(struct lwp *, const struct sys_pwritev_args *, register_t *);
3697
3698int	compat_16_sys___sigaction14(struct lwp *, const struct compat_16_sys___sigaction14_args *, register_t *);
3699
3700int	sys___sigpending14(struct lwp *, const struct sys___sigpending14_args *, register_t *);
3701
3702int	sys___sigprocmask14(struct lwp *, const struct sys___sigprocmask14_args *, register_t *);
3703
3704int	sys___sigsuspend14(struct lwp *, const struct sys___sigsuspend14_args *, register_t *);
3705
3706int	compat_16_sys___sigreturn14(struct lwp *, const struct compat_16_sys___sigreturn14_args *, register_t *);
3707
3708int	sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
3709
3710int	sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
3711
3712int	compat_30_sys_fhopen(struct lwp *, const struct compat_30_sys_fhopen_args *, register_t *);
3713
3714int	compat_30_sys_fhstat(struct lwp *, const struct compat_30_sys_fhstat_args *, register_t *);
3715
3716int	compat_20_sys_fhstatfs(struct lwp *, const struct compat_20_sys_fhstatfs_args *, register_t *);
3717
3718#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
3719int	compat_50_sys_____semctl13(struct lwp *, const struct compat_50_sys_____semctl13_args *, register_t *);
3720
3721#else
3722#endif
3723#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
3724int	compat_50_sys___msgctl13(struct lwp *, const struct compat_50_sys___msgctl13_args *, register_t *);
3725
3726#else
3727#endif
3728#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
3729int	compat_50_sys___shmctl13(struct lwp *, const struct compat_50_sys___shmctl13_args *, register_t *);
3730
3731#else
3732#endif
3733int	sys_lchflags(struct lwp *, const struct sys_lchflags_args *, register_t *);
3734
3735int	sys_issetugid(struct lwp *, const void *, register_t *);
3736
3737int	sys_utrace(struct lwp *, const struct sys_utrace_args *, register_t *);
3738
3739int	sys_getcontext(struct lwp *, const struct sys_getcontext_args *, register_t *);
3740
3741int	sys_setcontext(struct lwp *, const struct sys_setcontext_args *, register_t *);
3742
3743int	sys__lwp_create(struct lwp *, const struct sys__lwp_create_args *, register_t *);
3744
3745int	sys__lwp_exit(struct lwp *, const void *, register_t *);
3746
3747int	sys__lwp_self(struct lwp *, const void *, register_t *);
3748
3749int	sys__lwp_wait(struct lwp *, const struct sys__lwp_wait_args *, register_t *);
3750
3751int	sys__lwp_suspend(struct lwp *, const struct sys__lwp_suspend_args *, register_t *);
3752
3753int	sys__lwp_continue(struct lwp *, const struct sys__lwp_continue_args *, register_t *);
3754
3755int	sys__lwp_wakeup(struct lwp *, const struct sys__lwp_wakeup_args *, register_t *);
3756
3757int	sys__lwp_getprivate(struct lwp *, const void *, register_t *);
3758
3759int	sys__lwp_setprivate(struct lwp *, const struct sys__lwp_setprivate_args *, register_t *);
3760
3761int	sys__lwp_kill(struct lwp *, const struct sys__lwp_kill_args *, register_t *);
3762
3763int	sys__lwp_detach(struct lwp *, const struct sys__lwp_detach_args *, register_t *);
3764
3765int	compat_50_sys__lwp_park(struct lwp *, const struct compat_50_sys__lwp_park_args *, register_t *);
3766
3767int	sys__lwp_unpark(struct lwp *, const struct sys__lwp_unpark_args *, register_t *);
3768
3769int	sys__lwp_unpark_all(struct lwp *, const struct sys__lwp_unpark_all_args *, register_t *);
3770
3771int	sys__lwp_setname(struct lwp *, const struct sys__lwp_setname_args *, register_t *);
3772
3773int	sys__lwp_getname(struct lwp *, const struct sys__lwp_getname_args *, register_t *);
3774
3775int	sys__lwp_ctl(struct lwp *, const struct sys__lwp_ctl_args *, register_t *);
3776
3777int	compat_60_sys_sa_register(struct lwp *, const struct compat_60_sys_sa_register_args *, register_t *);
3778
3779int	compat_60_sys_sa_stacks(struct lwp *, const struct compat_60_sys_sa_stacks_args *, register_t *);
3780
3781int	compat_60_sys_sa_enable(struct lwp *, const void *, register_t *);
3782
3783int	compat_60_sys_sa_setconcurrency(struct lwp *, const struct compat_60_sys_sa_setconcurrency_args *, register_t *);
3784
3785int	compat_60_sys_sa_yield(struct lwp *, const void *, register_t *);
3786
3787int	compat_60_sys_sa_preempt(struct lwp *, const struct compat_60_sys_sa_preempt_args *, register_t *);
3788
3789int	sys___sigaction_sigtramp(struct lwp *, const struct sys___sigaction_sigtramp_args *, register_t *);
3790
3791int	sys_pmc_get_info(struct lwp *, const struct sys_pmc_get_info_args *, register_t *);
3792
3793int	sys_pmc_control(struct lwp *, const struct sys_pmc_control_args *, register_t *);
3794
3795int	sys_rasctl(struct lwp *, const struct sys_rasctl_args *, register_t *);
3796
3797int	sys_kqueue(struct lwp *, const void *, register_t *);
3798
3799int	compat_50_sys_kevent(struct lwp *, const struct compat_50_sys_kevent_args *, register_t *);
3800
3801int	sys__sched_setparam(struct lwp *, const struct sys__sched_setparam_args *, register_t *);
3802
3803int	sys__sched_getparam(struct lwp *, const struct sys__sched_getparam_args *, register_t *);
3804
3805int	sys__sched_setaffinity(struct lwp *, const struct sys__sched_setaffinity_args *, register_t *);
3806
3807int	sys__sched_getaffinity(struct lwp *, const struct sys__sched_getaffinity_args *, register_t *);
3808
3809int	sys_sched_yield(struct lwp *, const void *, register_t *);
3810
3811int	sys_fsync_range(struct lwp *, const struct sys_fsync_range_args *, register_t *);
3812
3813int	sys_uuidgen(struct lwp *, const struct sys_uuidgen_args *, register_t *);
3814
3815int	sys_getvfsstat(struct lwp *, const struct sys_getvfsstat_args *, register_t *);
3816
3817int	sys_statvfs1(struct lwp *, const struct sys_statvfs1_args *, register_t *);
3818
3819int	sys_fstatvfs1(struct lwp *, const struct sys_fstatvfs1_args *, register_t *);
3820
3821int	compat_30_sys_fhstatvfs1(struct lwp *, const struct compat_30_sys_fhstatvfs1_args *, register_t *);
3822
3823int	sys_extattrctl(struct lwp *, const struct sys_extattrctl_args *, register_t *);
3824
3825int	sys_extattr_set_file(struct lwp *, const struct sys_extattr_set_file_args *, register_t *);
3826
3827int	sys_extattr_get_file(struct lwp *, const struct sys_extattr_get_file_args *, register_t *);
3828
3829int	sys_extattr_delete_file(struct lwp *, const struct sys_extattr_delete_file_args *, register_t *);
3830
3831int	sys_extattr_set_fd(struct lwp *, const struct sys_extattr_set_fd_args *, register_t *);
3832
3833int	sys_extattr_get_fd(struct lwp *, const struct sys_extattr_get_fd_args *, register_t *);
3834
3835int	sys_extattr_delete_fd(struct lwp *, const struct sys_extattr_delete_fd_args *, register_t *);
3836
3837int	sys_extattr_set_link(struct lwp *, const struct sys_extattr_set_link_args *, register_t *);
3838
3839int	sys_extattr_get_link(struct lwp *, const struct sys_extattr_get_link_args *, register_t *);
3840
3841int	sys_extattr_delete_link(struct lwp *, const struct sys_extattr_delete_link_args *, register_t *);
3842
3843int	sys_extattr_list_fd(struct lwp *, const struct sys_extattr_list_fd_args *, register_t *);
3844
3845int	sys_extattr_list_file(struct lwp *, const struct sys_extattr_list_file_args *, register_t *);
3846
3847int	sys_extattr_list_link(struct lwp *, const struct sys_extattr_list_link_args *, register_t *);
3848
3849int	compat_50_sys_pselect(struct lwp *, const struct compat_50_sys_pselect_args *, register_t *);
3850
3851int	compat_50_sys_pollts(struct lwp *, const struct compat_50_sys_pollts_args *, register_t *);
3852
3853int	sys_setxattr(struct lwp *, const struct sys_setxattr_args *, register_t *);
3854
3855int	sys_lsetxattr(struct lwp *, const struct sys_lsetxattr_args *, register_t *);
3856
3857int	sys_fsetxattr(struct lwp *, const struct sys_fsetxattr_args *, register_t *);
3858
3859int	sys_getxattr(struct lwp *, const struct sys_getxattr_args *, register_t *);
3860
3861int	sys_lgetxattr(struct lwp *, const struct sys_lgetxattr_args *, register_t *);
3862
3863int	sys_fgetxattr(struct lwp *, const struct sys_fgetxattr_args *, register_t *);
3864
3865int	sys_listxattr(struct lwp *, const struct sys_listxattr_args *, register_t *);
3866
3867int	sys_llistxattr(struct lwp *, const struct sys_llistxattr_args *, register_t *);
3868
3869int	sys_flistxattr(struct lwp *, const struct sys_flistxattr_args *, register_t *);
3870
3871int	sys_removexattr(struct lwp *, const struct sys_removexattr_args *, register_t *);
3872
3873int	sys_lremovexattr(struct lwp *, const struct sys_lremovexattr_args *, register_t *);
3874
3875int	sys_fremovexattr(struct lwp *, const struct sys_fremovexattr_args *, register_t *);
3876
3877int	compat_50_sys___stat30(struct lwp *, const struct compat_50_sys___stat30_args *, register_t *);
3878
3879int	compat_50_sys___fstat30(struct lwp *, const struct compat_50_sys___fstat30_args *, register_t *);
3880
3881int	compat_50_sys___lstat30(struct lwp *, const struct compat_50_sys___lstat30_args *, register_t *);
3882
3883int	sys___getdents30(struct lwp *, const struct sys___getdents30_args *, register_t *);
3884
3885int	compat_30_sys___fhstat30(struct lwp *, const struct compat_30_sys___fhstat30_args *, register_t *);
3886
3887int	compat_50_sys___ntp_gettime30(struct lwp *, const struct compat_50_sys___ntp_gettime30_args *, register_t *);
3888
3889int	sys___socket30(struct lwp *, const struct sys___socket30_args *, register_t *);
3890
3891int	sys___getfh30(struct lwp *, const struct sys___getfh30_args *, register_t *);
3892
3893int	sys___fhopen40(struct lwp *, const struct sys___fhopen40_args *, register_t *);
3894
3895int	sys___fhstatvfs140(struct lwp *, const struct sys___fhstatvfs140_args *, register_t *);
3896
3897int	compat_50_sys___fhstat40(struct lwp *, const struct compat_50_sys___fhstat40_args *, register_t *);
3898
3899int	sys_aio_cancel(struct lwp *, const struct sys_aio_cancel_args *, register_t *);
3900
3901int	sys_aio_error(struct lwp *, const struct sys_aio_error_args *, register_t *);
3902
3903int	sys_aio_fsync(struct lwp *, const struct sys_aio_fsync_args *, register_t *);
3904
3905int	sys_aio_read(struct lwp *, const struct sys_aio_read_args *, register_t *);
3906
3907int	sys_aio_return(struct lwp *, const struct sys_aio_return_args *, register_t *);
3908
3909int	compat_50_sys_aio_suspend(struct lwp *, const struct compat_50_sys_aio_suspend_args *, register_t *);
3910
3911int	sys_aio_write(struct lwp *, const struct sys_aio_write_args *, register_t *);
3912
3913int	sys_lio_listio(struct lwp *, const struct sys_lio_listio_args *, register_t *);
3914
3915int	sys___mount50(struct lwp *, const struct sys___mount50_args *, register_t *);
3916
3917int	sys_mremap(struct lwp *, const struct sys_mremap_args *, register_t *);
3918
3919int	sys_pset_create(struct lwp *, const struct sys_pset_create_args *, register_t *);
3920
3921int	sys_pset_destroy(struct lwp *, const struct sys_pset_destroy_args *, register_t *);
3922
3923int	sys_pset_assign(struct lwp *, const struct sys_pset_assign_args *, register_t *);
3924
3925int	sys__pset_bind(struct lwp *, const struct sys__pset_bind_args *, register_t *);
3926
3927int	sys___posix_fadvise50(struct lwp *, const struct sys___posix_fadvise50_args *, register_t *);
3928
3929int	sys___select50(struct lwp *, const struct sys___select50_args *, register_t *);
3930
3931int	sys___gettimeofday50(struct lwp *, const struct sys___gettimeofday50_args *, register_t *);
3932
3933int	sys___settimeofday50(struct lwp *, const struct sys___settimeofday50_args *, register_t *);
3934
3935int	sys___utimes50(struct lwp *, const struct sys___utimes50_args *, register_t *);
3936
3937int	sys___adjtime50(struct lwp *, const struct sys___adjtime50_args *, register_t *);
3938
3939int	sys___lfs_segwait50(struct lwp *, const struct sys___lfs_segwait50_args *, register_t *);
3940
3941int	sys___futimes50(struct lwp *, const struct sys___futimes50_args *, register_t *);
3942
3943int	sys___lutimes50(struct lwp *, const struct sys___lutimes50_args *, register_t *);
3944
3945int	sys___setitimer50(struct lwp *, const struct sys___setitimer50_args *, register_t *);
3946
3947int	sys___getitimer50(struct lwp *, const struct sys___getitimer50_args *, register_t *);
3948
3949int	sys___clock_gettime50(struct lwp *, const struct sys___clock_gettime50_args *, register_t *);
3950
3951int	sys___clock_settime50(struct lwp *, const struct sys___clock_settime50_args *, register_t *);
3952
3953int	sys___clock_getres50(struct lwp *, const struct sys___clock_getres50_args *, register_t *);
3954
3955int	sys___nanosleep50(struct lwp *, const struct sys___nanosleep50_args *, register_t *);
3956
3957int	sys_____sigtimedwait50(struct lwp *, const struct sys_____sigtimedwait50_args *, register_t *);
3958
3959int	sys___mq_timedsend50(struct lwp *, const struct sys___mq_timedsend50_args *, register_t *);
3960
3961int	sys___mq_timedreceive50(struct lwp *, const struct sys___mq_timedreceive50_args *, register_t *);
3962
3963int	compat_60_sys__lwp_park(struct lwp *, const struct compat_60_sys__lwp_park_args *, register_t *);
3964
3965int	sys___kevent50(struct lwp *, const struct sys___kevent50_args *, register_t *);
3966
3967int	sys___pselect50(struct lwp *, const struct sys___pselect50_args *, register_t *);
3968
3969int	sys___pollts50(struct lwp *, const struct sys___pollts50_args *, register_t *);
3970
3971int	sys___aio_suspend50(struct lwp *, const struct sys___aio_suspend50_args *, register_t *);
3972
3973int	sys___stat50(struct lwp *, const struct sys___stat50_args *, register_t *);
3974
3975int	sys___fstat50(struct lwp *, const struct sys___fstat50_args *, register_t *);
3976
3977int	sys___lstat50(struct lwp *, const struct sys___lstat50_args *, register_t *);
3978
3979#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
3980int	sys_____semctl50(struct lwp *, const struct sys_____semctl50_args *, register_t *);
3981
3982#else
3983#endif
3984#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
3985int	sys___shmctl50(struct lwp *, const struct sys___shmctl50_args *, register_t *);
3986
3987#else
3988#endif
3989#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
3990int	sys___msgctl50(struct lwp *, const struct sys___msgctl50_args *, register_t *);
3991
3992#else
3993#endif
3994int	sys___getrusage50(struct lwp *, const struct sys___getrusage50_args *, register_t *);
3995
3996int	sys___timer_settime50(struct lwp *, const struct sys___timer_settime50_args *, register_t *);
3997
3998int	sys___timer_gettime50(struct lwp *, const struct sys___timer_gettime50_args *, register_t *);
3999
4000#if defined(NTP) || !defined(_KERNEL_OPT)
4001int	sys___ntp_gettime50(struct lwp *, const struct sys___ntp_gettime50_args *, register_t *);
4002
4003#else
4004#endif
4005int	sys___wait450(struct lwp *, const struct sys___wait450_args *, register_t *);
4006
4007int	sys___mknod50(struct lwp *, const struct sys___mknod50_args *, register_t *);
4008
4009int	sys___fhstat50(struct lwp *, const struct sys___fhstat50_args *, register_t *);
4010
4011int	sys_pipe2(struct lwp *, const struct sys_pipe2_args *, register_t *);
4012
4013int	sys_dup3(struct lwp *, const struct sys_dup3_args *, register_t *);
4014
4015int	sys_kqueue1(struct lwp *, const struct sys_kqueue1_args *, register_t *);
4016
4017int	sys_paccept(struct lwp *, const struct sys_paccept_args *, register_t *);
4018
4019int	sys_linkat(struct lwp *, const struct sys_linkat_args *, register_t *);
4020
4021int	sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
4022
4023int	sys_mkfifoat(struct lwp *, const struct sys_mkfifoat_args *, register_t *);
4024
4025int	sys_mknodat(struct lwp *, const struct sys_mknodat_args *, register_t *);
4026
4027int	sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
4028
4029int	sys_faccessat(struct lwp *, const struct sys_faccessat_args *, register_t *);
4030
4031int	sys_fchmodat(struct lwp *, const struct sys_fchmodat_args *, register_t *);
4032
4033int	sys_fchownat(struct lwp *, const struct sys_fchownat_args *, register_t *);
4034
4035int	sys_fexecve(struct lwp *, const struct sys_fexecve_args *, register_t *);
4036
4037int	sys_fstatat(struct lwp *, const struct sys_fstatat_args *, register_t *);
4038
4039int	sys_utimensat(struct lwp *, const struct sys_utimensat_args *, register_t *);
4040
4041int	sys_openat(struct lwp *, const struct sys_openat_args *, register_t *);
4042
4043int	sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
4044
4045int	sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
4046
4047int	sys_unlinkat(struct lwp *, const struct sys_unlinkat_args *, register_t *);
4048
4049int	sys_futimens(struct lwp *, const struct sys_futimens_args *, register_t *);
4050
4051int	sys___quotactl(struct lwp *, const struct sys___quotactl_args *, register_t *);
4052
4053int	sys_posix_spawn(struct lwp *, const struct sys_posix_spawn_args *, register_t *);
4054
4055int	sys_recvmmsg(struct lwp *, const struct sys_recvmmsg_args *, register_t *);
4056
4057int	sys_sendmmsg(struct lwp *, const struct sys_sendmmsg_args *, register_t *);
4058
4059int	sys_clock_nanosleep(struct lwp *, const struct sys_clock_nanosleep_args *, register_t *);
4060
4061int	sys____lwp_park60(struct lwp *, const struct sys____lwp_park60_args *, register_t *);
4062
4063int	sys_posix_fallocate(struct lwp *, const struct sys_posix_fallocate_args *, register_t *);
4064
4065int	sys_fdiscard(struct lwp *, const struct sys_fdiscard_args *, register_t *);
4066
4067#endif /* !RUMP_CLIENT */
4068#endif /* _SYS_SYSCALLARGS_H_ */
4069