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