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