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