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