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