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