1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/kern/systrace_args.c 236027 2012-05-25 21:52:57Z ed $
6 * This file is part of the DTrace syscall provider.
7 */
8
9static void
10systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
11{
12 int64_t *iarg = (int64_t *) uarg;
13 switch (sysnum) {
14 /* nosys */
15 case 0: {
16 *n_args = 0;
17 break;
18 }
19 /* sys_exit */
20 case 1: {
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
23 *n_args = 1;
24 break;
25 }
26 /* fork */
27 case 2: {
28 *n_args = 0;
29 break;
30 }
31 /* read */
32 case 3: {
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
37 *n_args = 3;
38 break;
39 }
40 /* write */
41 case 4: {
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
46 *n_args = 3;
47 break;
48 }
49 /* open */
50 case 5: {
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
55 *n_args = 3;
56 break;
57 }
58 /* close */
59 case 6: {
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
62 *n_args = 1;
63 break;
64 }
65 /* wait4 */
66 case 7: {
67 struct wait_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
72 *n_args = 4;
73 break;
74 }
75 /* link */
76 case 9: {
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
80 *n_args = 2;
81 break;
82 }
83 /* unlink */
84 case 10: {
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
87 *n_args = 1;
88 break;
89 }
90 /* chdir */
91 case 12: {
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
94 *n_args = 1;
95 break;
96 }
97 /* fchdir */
98 case 13: {
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
101 *n_args = 1;
102 break;
103 }
104 /* mknod */
105 case 14: {
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
110 *n_args = 3;
111 break;
112 }
113 /* chmod */
114 case 15: {
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
118 *n_args = 2;
119 break;
120 }
121 /* chown */
122 case 16: {
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
127 *n_args = 3;
128 break;
129 }
130 /* obreak */
131 case 17: {
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
134 *n_args = 1;
135 break;
136 }
137 /* getpid */
138 case 20: {
139 *n_args = 0;
140 break;
141 }
142 /* mount */
143 case 21: {
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
149 *n_args = 4;
150 break;
151 }
152 /* unmount */
153 case 22: {
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
157 *n_args = 2;
158 break;
159 }
160 /* setuid */
161 case 23: {
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
164 *n_args = 1;
165 break;
166 }
167 /* getuid */
168 case 24: {
169 *n_args = 0;
170 break;
171 }
172 /* geteuid */
173 case 25: {
174 *n_args = 0;
175 break;
176 }
177 /* ptrace */
178 case 26: {
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
184 *n_args = 4;
185 break;
186 }
187 /* recvmsg */
188 case 27: {
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
193 *n_args = 3;
194 break;
195 }
196 /* sendmsg */
197 case 28: {
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
202 *n_args = 3;
203 break;
204 }
205 /* recvfrom */
206 case 29: {
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr *__restrict */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */
214 *n_args = 6;
215 break;
216 }
217 /* accept */
218 case 30: {
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
223 *n_args = 3;
224 break;
225 }
226 /* getpeername */
227 case 31: {
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
232 *n_args = 3;
233 break;
234 }
235 /* getsockname */
236 case 32: {
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
241 *n_args = 3;
242 break;
243 }
244 /* access */
245 case 33: {
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->amode; /* int */
249 *n_args = 2;
250 break;
251 }
252 /* chflags */
253 case 34: {
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* char * */
256 iarg[1] = p->flags; /* int */
257 *n_args = 2;
258 break;
259 }
260 /* fchflags */
261 case 35: {
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 iarg[1] = p->flags; /* int */
265 *n_args = 2;
266 break;
267 }
268 /* sync */
269 case 36: {
270 *n_args = 0;
271 break;
272 }
273 /* kill */
274 case 37: {
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
278 *n_args = 2;
279 break;
280 }
281 /* getppid */
282 case 39: {
283 *n_args = 0;
284 break;
285 }
286 /* dup */
287 case 41: {
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
290 *n_args = 1;
291 break;
292 }
293 /* pipe */
294 case 42: {
295 *n_args = 0;
296 break;
297 }
298 /* getegid */
299 case 43: {
300 *n_args = 0;
301 break;
302 }
303 /* profil */
304 case 44: {
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
310 *n_args = 4;
311 break;
312 }
313 /* ktrace */
314 case 45: {
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
320 *n_args = 4;
321 break;
322 }
323 /* getgid */
324 case 47: {
325 *n_args = 0;
326 break;
327 }
328 /* getlogin */
329 case 49: {
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
333 *n_args = 2;
334 break;
335 }
336 /* setlogin */
337 case 50: {
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
340 *n_args = 1;
341 break;
342 }
343 /* acct */
344 case 51: {
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
347 *n_args = 1;
348 break;
349 }
350 /* sigaltstack */
351 case 53: {
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
355 *n_args = 2;
356 break;
357 }
358 /* ioctl */
359 case 54: {
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
364 *n_args = 3;
365 break;
366 }
367 /* reboot */
368 case 55: {
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
371 *n_args = 1;
372 break;
373 }
374 /* revoke */
375 case 56: {
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
378 *n_args = 1;
379 break;
380 }
381 /* symlink */
382 case 57: {
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
386 *n_args = 2;
387 break;
388 }
389 /* readlink */
390 case 58: {
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 uarg[2] = p->count; /* size_t */
395 *n_args = 3;
396 break;
397 }
398 /* execve */
399 case 59: {
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
404 *n_args = 3;
405 break;
406 }
407 /* umask */
408 case 60: {
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
411 *n_args = 1;
412 break;
413 }
414 /* chroot */
415 case 61: {
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
418 *n_args = 1;
419 break;
420 }
421 /* msync */
422 case 65: {
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
427 *n_args = 3;
428 break;
429 }
430 /* vfork */
431 case 66: {
432 *n_args = 0;
433 break;
434 }
435 /* sbrk */
436 case 69: {
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
439 *n_args = 1;
440 break;
441 }
442 /* sstk */
443 case 70: {
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
446 *n_args = 1;
447 break;
448 }
449 /* ovadvise */
450 case 72: {
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
453 *n_args = 1;
454 break;
455 }
456 /* munmap */
457 case 73: {
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
461 *n_args = 2;
462 break;
463 }
464 /* mprotect */
465 case 74: {
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
470 *n_args = 3;
471 break;
472 }
473 /* madvise */
474 case 75: {
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
479 *n_args = 3;
480 break;
481 }
482 /* mincore */
483 case 78: {
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
488 *n_args = 3;
489 break;
490 }
491 /* getgroups */
492 case 79: {
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
496 *n_args = 2;
497 break;
498 }
499 /* setgroups */
500 case 80: {
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
504 *n_args = 2;
505 break;
506 }
507 /* getpgrp */
508 case 81: {
509 *n_args = 0;
510 break;
511 }
512 /* setpgid */
513 case 82: {
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
517 *n_args = 2;
518 break;
519 }
520 /* setitimer */
521 case 83: {
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
526 *n_args = 3;
527 break;
528 }
529 /* swapon */
530 case 85: {
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
533 *n_args = 1;
534 break;
535 }
536 /* getitimer */
537 case 86: {
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
541 *n_args = 2;
542 break;
543 }
544 /* getdtablesize */
545 case 89: {
546 *n_args = 0;
547 break;
548 }
549 /* dup2 */
550 case 90: {
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
554 *n_args = 2;
555 break;
556 }
557 /* fcntl */
558 case 92: {
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
563 *n_args = 3;
564 break;
565 }
566 /* select */
567 case 93: {
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
574 *n_args = 5;
575 break;
576 }
577 /* fsync */
578 case 95: {
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
581 *n_args = 1;
582 break;
583 }
584 /* setpriority */
585 case 96: {
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
590 *n_args = 3;
591 break;
592 }
593 /* socket */
594 case 97: {
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
599 *n_args = 3;
600 break;
601 }
602 /* connect */
603 case 98: {
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
608 *n_args = 3;
609 break;
610 }
611 /* getpriority */
612 case 100: {
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
616 *n_args = 2;
617 break;
618 }
619 /* bind */
620 case 104: {
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
625 *n_args = 3;
626 break;
627 }
628 /* setsockopt */
629 case 105: {
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
636 *n_args = 5;
637 break;
638 }
639 /* listen */
640 case 106: {
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
644 *n_args = 2;
645 break;
646 }
647 /* gettimeofday */
648 case 116: {
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
652 *n_args = 2;
653 break;
654 }
655 /* getrusage */
656 case 117: {
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
660 *n_args = 2;
661 break;
662 }
663 /* getsockopt */
664 case 118: {
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
671 *n_args = 5;
672 break;
673 }
674 /* readv */
675 case 120: {
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
680 *n_args = 3;
681 break;
682 }
683 /* writev */
684 case 121: {
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
689 *n_args = 3;
690 break;
691 }
692 /* settimeofday */
693 case 122: {
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
697 *n_args = 2;
698 break;
699 }
700 /* fchown */
701 case 123: {
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
706 *n_args = 3;
707 break;
708 }
709 /* fchmod */
710 case 124: {
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
714 *n_args = 2;
715 break;
716 }
717 /* setreuid */
718 case 126: {
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
722 *n_args = 2;
723 break;
724 }
725 /* setregid */
726 case 127: {
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
730 *n_args = 2;
731 break;
732 }
733 /* rename */
734 case 128: {
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
738 *n_args = 2;
739 break;
740 }
741 /* flock */
742 case 131: {
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
746 *n_args = 2;
747 break;
748 }
749 /* mkfifo */
750 case 132: {
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
754 *n_args = 2;
755 break;
756 }
757 /* sendto */
758 case 133: {
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
766 *n_args = 6;
767 break;
768 }
769 /* shutdown */
770 case 134: {
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
774 *n_args = 2;
775 break;
776 }
777 /* socketpair */
778 case 135: {
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
784 *n_args = 4;
785 break;
786 }
787 /* mkdir */
788 case 136: {
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
792 *n_args = 2;
793 break;
794 }
795 /* rmdir */
796 case 137: {
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
799 *n_args = 1;
800 break;
801 }
802 /* utimes */
803 case 138: {
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
807 *n_args = 2;
808 break;
809 }
810 /* adjtime */
811 case 140: {
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
815 *n_args = 2;
816 break;
817 }
818 /* setsid */
819 case 147: {
820 *n_args = 0;
821 break;
822 }
823 /* quotactl */
824 case 148: {
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
830 *n_args = 4;
831 break;
832 }
833 /* nlm_syscall */
834 case 154: {
835 struct nlm_syscall_args *p = params;
836 iarg[0] = p->debug_level; /* int */
837 iarg[1] = p->grace_period; /* int */
838 iarg[2] = p->addr_count; /* int */
839 uarg[3] = (intptr_t) p->addrs; /* char ** */
840 *n_args = 4;
841 break;
842 }
843 /* nfssvc */
844 case 155: {
845 struct nfssvc_args *p = params;
846 iarg[0] = p->flag; /* int */
847 uarg[1] = (intptr_t) p->argp; /* caddr_t */
848 *n_args = 2;
849 break;
850 }
851 /* lgetfh */
852 case 160: {
853 struct lgetfh_args *p = params;
854 uarg[0] = (intptr_t) p->fname; /* char * */
855 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
856 *n_args = 2;
857 break;
858 }
859 /* getfh */
860 case 161: {
861 struct getfh_args *p = params;
862 uarg[0] = (intptr_t) p->fname; /* char * */
863 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
864 *n_args = 2;
865 break;
866 }
867 /* sysarch */
868 case 165: {
869 struct sysarch_args *p = params;
870 iarg[0] = p->op; /* int */
871 uarg[1] = (intptr_t) p->parms; /* char * */
872 *n_args = 2;
873 break;
874 }
875 /* rtprio */
876 case 166: {
877 struct rtprio_args *p = params;
878 iarg[0] = p->function; /* int */
879 iarg[1] = p->pid; /* pid_t */
880 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
881 *n_args = 3;
882 break;
883 }
884 /* semsys */
885 case 169: {
886 struct semsys_args *p = params;
887 iarg[0] = p->which; /* int */
888 iarg[1] = p->a2; /* int */
889 iarg[2] = p->a3; /* int */
890 iarg[3] = p->a4; /* int */
891 iarg[4] = p->a5; /* int */
892 *n_args = 5;
893 break;
894 }
895 /* msgsys */
896 case 170: {
897 struct msgsys_args *p = params;
898 iarg[0] = p->which; /* int */
899 iarg[1] = p->a2; /* int */
900 iarg[2] = p->a3; /* int */
901 iarg[3] = p->a4; /* int */
902 iarg[4] = p->a5; /* int */
903 iarg[5] = p->a6; /* int */
904 *n_args = 6;
905 break;
906 }
907 /* shmsys */
908 case 171: {
909 struct shmsys_args *p = params;
910 iarg[0] = p->which; /* int */
911 iarg[1] = p->a2; /* int */
912 iarg[2] = p->a3; /* int */
913 iarg[3] = p->a4; /* int */
914 *n_args = 4;
915 break;
916 }
917 /* freebsd6_pread */
918 case 173: {
919 struct freebsd6_pread_args *p = params;
920 iarg[0] = p->fd; /* int */
921 uarg[1] = (intptr_t) p->buf; /* void * */
922 uarg[2] = p->nbyte; /* size_t */
923 iarg[3] = p->pad; /* int */
924 iarg[4] = p->offset; /* off_t */
925 *n_args = 5;
926 break;
927 }
928 /* freebsd6_pwrite */
929 case 174: {
930 struct freebsd6_pwrite_args *p = params;
931 iarg[0] = p->fd; /* int */
932 uarg[1] = (intptr_t) p->buf; /* const void * */
933 uarg[2] = p->nbyte; /* size_t */
934 iarg[3] = p->pad; /* int */
935 iarg[4] = p->offset; /* off_t */
936 *n_args = 5;
937 break;
938 }
939 /* setfib */
940 case 175: {
941 struct setfib_args *p = params;
942 iarg[0] = p->fibnum; /* int */
943 *n_args = 1;
944 break;
945 }
946 /* ntp_adjtime */
947 case 176: {
948 struct ntp_adjtime_args *p = params;
949 uarg[0] = (intptr_t) p->tp; /* struct timex * */
950 *n_args = 1;
951 break;
952 }
953 /* setgid */
954 case 181: {
955 struct setgid_args *p = params;
956 iarg[0] = p->gid; /* gid_t */
957 *n_args = 1;
958 break;
959 }
960 /* setegid */
961 case 182: {
962 struct setegid_args *p = params;
963 iarg[0] = p->egid; /* gid_t */
964 *n_args = 1;
965 break;
966 }
967 /* seteuid */
968 case 183: {
969 struct seteuid_args *p = params;
970 uarg[0] = p->euid; /* uid_t */
971 *n_args = 1;
972 break;
973 }
974 /* stat */
975 case 188: {
976 struct stat_args *p = params;
977 uarg[0] = (intptr_t) p->path; /* char * */
978 uarg[1] = (intptr_t) p->ub; /* struct stat * */
979 *n_args = 2;
980 break;
981 }
982 /* fstat */
983 case 189: {
984 struct fstat_args *p = params;
985 iarg[0] = p->fd; /* int */
986 uarg[1] = (intptr_t) p->sb; /* struct stat * */
987 *n_args = 2;
988 break;
989 }
990 /* lstat */
991 case 190: {
992 struct lstat_args *p = params;
993 uarg[0] = (intptr_t) p->path; /* char * */
994 uarg[1] = (intptr_t) p->ub; /* struct stat * */
995 *n_args = 2;
996 break;
997 }
998 /* pathconf */
999 case 191: {
1000 struct pathconf_args *p = params;
1001 uarg[0] = (intptr_t) p->path; /* char * */
1002 iarg[1] = p->name; /* int */
1003 *n_args = 2;
1004 break;
1005 }
1006 /* fpathconf */
1007 case 192: {
1008 struct fpathconf_args *p = params;
1009 iarg[0] = p->fd; /* int */
1010 iarg[1] = p->name; /* int */
1011 *n_args = 2;
1012 break;
1013 }
1014 /* getrlimit */
1015 case 194: {
1016 struct __getrlimit_args *p = params;
1017 uarg[0] = p->which; /* u_int */
1018 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1019 *n_args = 2;
1020 break;
1021 }
1022 /* setrlimit */
1023 case 195: {
1024 struct __setrlimit_args *p = params;
1025 uarg[0] = p->which; /* u_int */
1026 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1027 *n_args = 2;
1028 break;
1029 }
1030 /* getdirentries */
1031 case 196: {
1032 struct getdirentries_args *p = params;
1033 iarg[0] = p->fd; /* int */
1034 uarg[1] = (intptr_t) p->buf; /* char * */
1035 uarg[2] = p->count; /* u_int */
1036 uarg[3] = (intptr_t) p->basep; /* long * */
1037 *n_args = 4;
1038 break;
1039 }
1040 /* freebsd6_mmap */
1041 case 197: {
1042 struct freebsd6_mmap_args *p = params;
1043 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1044 uarg[1] = p->len; /* size_t */
1045 iarg[2] = p->prot; /* int */
1046 iarg[3] = p->flags; /* int */
1047 iarg[4] = p->fd; /* int */
1048 iarg[5] = p->pad; /* int */
1049 iarg[6] = p->pos; /* off_t */
1050 *n_args = 7;
1051 break;
1052 }
1053 /* nosys */
1054 case 198: {
1055 *n_args = 0;
1056 break;
1057 }
1058 /* freebsd6_lseek */
1059 case 199: {
1060 struct freebsd6_lseek_args *p = params;
1061 iarg[0] = p->fd; /* int */
1062 iarg[1] = p->pad; /* int */
1063 iarg[2] = p->offset; /* off_t */
1064 iarg[3] = p->whence; /* int */
1065 *n_args = 4;
1066 break;
1067 }
1068 /* freebsd6_truncate */
1069 case 200: {
1070 struct freebsd6_truncate_args *p = params;
1071 uarg[0] = (intptr_t) p->path; /* char * */
1072 iarg[1] = p->pad; /* int */
1073 iarg[2] = p->length; /* off_t */
1074 *n_args = 3;
1075 break;
1076 }
1077 /* freebsd6_ftruncate */
1078 case 201: {
1079 struct freebsd6_ftruncate_args *p = params;
1080 iarg[0] = p->fd; /* int */
1081 iarg[1] = p->pad; /* int */
1082 iarg[2] = p->length; /* off_t */
1083 *n_args = 3;
1084 break;
1085 }
1086 /* __sysctl */
1087 case 202: {
1088 struct sysctl_args *p = params;
1089 uarg[0] = (intptr_t) p->name; /* int * */
1090 uarg[1] = p->namelen; /* u_int */
1091 uarg[2] = (intptr_t) p->old; /* void * */
1092 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1093 uarg[4] = (intptr_t) p->new; /* void * */
1094 uarg[5] = p->newlen; /* size_t */
1095 *n_args = 6;
1096 break;
1097 }
1098 /* mlock */
1099 case 203: {
1100 struct mlock_args *p = params;
1101 uarg[0] = (intptr_t) p->addr; /* const void * */
1102 uarg[1] = p->len; /* size_t */
1103 *n_args = 2;
1104 break;
1105 }
1106 /* munlock */
1107 case 204: {
1108 struct munlock_args *p = params;
1109 uarg[0] = (intptr_t) p->addr; /* const void * */
1110 uarg[1] = p->len; /* size_t */
1111 *n_args = 2;
1112 break;
1113 }
1114 /* undelete */
1115 case 205: {
1116 struct undelete_args *p = params;
1117 uarg[0] = (intptr_t) p->path; /* char * */
1118 *n_args = 1;
1119 break;
1120 }
1121 /* futimes */
1122 case 206: {
1123 struct futimes_args *p = params;
1124 iarg[0] = p->fd; /* int */
1125 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1126 *n_args = 2;
1127 break;
1128 }
1129 /* getpgid */
1130 case 207: {
1131 struct getpgid_args *p = params;
1132 iarg[0] = p->pid; /* pid_t */
1133 *n_args = 1;
1134 break;
1135 }
1136 /* poll */
1137 case 209: {
1138 struct poll_args *p = params;
1139 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1140 uarg[1] = p->nfds; /* u_int */
1141 iarg[2] = p->timeout; /* int */
1142 *n_args = 3;
1143 break;
1144 }
1145 /* lkmnosys */
1146 case 210: {
1147 *n_args = 0;
1148 break;
1149 }
1150 /* lkmnosys */
1151 case 211: {
1152 *n_args = 0;
1153 break;
1154 }
1155 /* lkmnosys */
1156 case 212: {
1157 *n_args = 0;
1158 break;
1159 }
1160 /* lkmnosys */
1161 case 213: {
1162 *n_args = 0;
1163 break;
1164 }
1165 /* lkmnosys */
1166 case 214: {
1167 *n_args = 0;
1168 break;
1169 }
1170 /* lkmnosys */
1171 case 215: {
1172 *n_args = 0;
1173 break;
1174 }
1175 /* lkmnosys */
1176 case 216: {
1177 *n_args = 0;
1178 break;
1179 }
1180 /* lkmnosys */
1181 case 217: {
1182 *n_args = 0;
1183 break;
1184 }
1185 /* lkmnosys */
1186 case 218: {
1187 *n_args = 0;
1188 break;
1189 }
1190 /* lkmnosys */
1191 case 219: {
1192 *n_args = 0;
1193 break;
1194 }
1195 /* semget */
1196 case 221: {
1197 struct semget_args *p = params;
1198 iarg[0] = p->key; /* key_t */
1199 iarg[1] = p->nsems; /* int */
1200 iarg[2] = p->semflg; /* int */
1201 *n_args = 3;
1202 break;
1203 }
1204 /* semop */
1205 case 222: {
1206 struct semop_args *p = params;
1207 iarg[0] = p->semid; /* int */
1208 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1209 uarg[2] = p->nsops; /* size_t */
1210 *n_args = 3;
1211 break;
1212 }
1213 /* msgget */
1214 case 225: {
1215 struct msgget_args *p = params;
1216 iarg[0] = p->key; /* key_t */
1217 iarg[1] = p->msgflg; /* int */
1218 *n_args = 2;
1219 break;
1220 }
1221 /* msgsnd */
1222 case 226: {
1223 struct msgsnd_args *p = params;
1224 iarg[0] = p->msqid; /* int */
1225 uarg[1] = (intptr_t) p->msgp; /* const void * */
1226 uarg[2] = p->msgsz; /* size_t */
1227 iarg[3] = p->msgflg; /* int */
1228 *n_args = 4;
1229 break;
1230 }
1231 /* msgrcv */
1232 case 227: {
1233 struct msgrcv_args *p = params;
1234 iarg[0] = p->msqid; /* int */
1235 uarg[1] = (intptr_t) p->msgp; /* void * */
1236 uarg[2] = p->msgsz; /* size_t */
1237 iarg[3] = p->msgtyp; /* long */
1238 iarg[4] = p->msgflg; /* int */
1239 *n_args = 5;
1240 break;
1241 }
1242 /* shmat */
1243 case 228: {
1244 struct shmat_args *p = params;
1245 iarg[0] = p->shmid; /* int */
1246 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1247 iarg[2] = p->shmflg; /* int */
1248 *n_args = 3;
1249 break;
1250 }
1251 /* shmdt */
1252 case 230: {
1253 struct shmdt_args *p = params;
1254 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1255 *n_args = 1;
1256 break;
1257 }
1258 /* shmget */
1259 case 231: {
1260 struct shmget_args *p = params;
1261 iarg[0] = p->key; /* key_t */
1262 uarg[1] = p->size; /* size_t */
1263 iarg[2] = p->shmflg; /* int */
1264 *n_args = 3;
1265 break;
1266 }
1267 /* clock_gettime */
1268 case 232: {
1269 struct clock_gettime_args *p = params;
1270 iarg[0] = p->clock_id; /* clockid_t */
1271 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1272 *n_args = 2;
1273 break;
1274 }
1275 /* clock_settime */
1276 case 233: {
1277 struct clock_settime_args *p = params;
1278 iarg[0] = p->clock_id; /* clockid_t */
1279 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1280 *n_args = 2;
1281 break;
1282 }
1283 /* clock_getres */
1284 case 234: {
1285 struct clock_getres_args *p = params;
1286 iarg[0] = p->clock_id; /* clockid_t */
1287 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1288 *n_args = 2;
1289 break;
1290 }
1291 /* ktimer_create */
1292 case 235: {
1293 struct ktimer_create_args *p = params;
1294 iarg[0] = p->clock_id; /* clockid_t */
1295 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1296 uarg[2] = (intptr_t) p->timerid; /* int * */
1297 *n_args = 3;
1298 break;
1299 }
1300 /* ktimer_delete */
1301 case 236: {
1302 struct ktimer_delete_args *p = params;
1303 iarg[0] = p->timerid; /* int */
1304 *n_args = 1;
1305 break;
1306 }
1307 /* ktimer_settime */
1308 case 237: {
1309 struct ktimer_settime_args *p = params;
1310 iarg[0] = p->timerid; /* int */
1311 iarg[1] = p->flags; /* int */
1312 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1313 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1314 *n_args = 4;
1315 break;
1316 }
1317 /* ktimer_gettime */
1318 case 238: {
1319 struct ktimer_gettime_args *p = params;
1320 iarg[0] = p->timerid; /* int */
1321 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1322 *n_args = 2;
1323 break;
1324 }
1325 /* ktimer_getoverrun */
1326 case 239: {
1327 struct ktimer_getoverrun_args *p = params;
1328 iarg[0] = p->timerid; /* int */
1329 *n_args = 1;
1330 break;
1331 }
1332 /* nanosleep */
1333 case 240: {
1334 struct nanosleep_args *p = params;
1335 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1336 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1337 *n_args = 2;
1338 break;
1339 }
1340 /* ffclock_getcounter */
1341 case 241: {
1342 struct ffclock_getcounter_args *p = params;
1343 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1344 *n_args = 1;
1345 break;
1346 }
1347 /* ffclock_setestimate */
1348 case 242: {
1349 struct ffclock_setestimate_args *p = params;
1350 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1351 *n_args = 1;
1352 break;
1353 }
1354 /* ffclock_getestimate */
1355 case 243: {
1356 struct ffclock_getestimate_args *p = params;
1357 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1358 *n_args = 1;
1359 break;
1360 }
1361 /* ntp_gettime */
1362 case 248: {
1363 struct ntp_gettime_args *p = params;
1364 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1365 *n_args = 1;
1366 break;
1367 }
1368 /* minherit */
1369 case 250: {
1370 struct minherit_args *p = params;
1371 uarg[0] = (intptr_t) p->addr; /* void * */
1372 uarg[1] = p->len; /* size_t */
1373 iarg[2] = p->inherit; /* int */
1374 *n_args = 3;
1375 break;
1376 }
1377 /* rfork */
1378 case 251: {
1379 struct rfork_args *p = params;
1380 iarg[0] = p->flags; /* int */
1381 *n_args = 1;
1382 break;
1383 }
1384 /* openbsd_poll */
1385 case 252: {
1386 struct openbsd_poll_args *p = params;
1387 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1388 uarg[1] = p->nfds; /* u_int */
1389 iarg[2] = p->timeout; /* int */
1390 *n_args = 3;
1391 break;
1392 }
1393 /* issetugid */
1394 case 253: {
1395 *n_args = 0;
1396 break;
1397 }
1398 /* lchown */
1399 case 254: {
1400 struct lchown_args *p = params;
1401 uarg[0] = (intptr_t) p->path; /* char * */
1402 iarg[1] = p->uid; /* int */
1403 iarg[2] = p->gid; /* int */
1404 *n_args = 3;
1405 break;
1406 }
1407 /* aio_read */
1408 case 255: {
1409 struct aio_read_args *p = params;
1410 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1411 *n_args = 1;
1412 break;
1413 }
1414 /* aio_write */
1415 case 256: {
1416 struct aio_write_args *p = params;
1417 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1418 *n_args = 1;
1419 break;
1420 }
1421 /* lio_listio */
1422 case 257: {
1423 struct lio_listio_args *p = params;
1424 iarg[0] = p->mode; /* int */
1425 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1426 iarg[2] = p->nent; /* int */
1427 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1428 *n_args = 4;
1429 break;
1430 }
1431 /* getdents */
1432 case 272: {
1433 struct getdents_args *p = params;
1434 iarg[0] = p->fd; /* int */
1435 uarg[1] = (intptr_t) p->buf; /* char * */
1436 uarg[2] = p->count; /* size_t */
1437 *n_args = 3;
1438 break;
1439 }
1440 /* lchmod */
1441 case 274: {
1442 struct lchmod_args *p = params;
1443 uarg[0] = (intptr_t) p->path; /* char * */
1444 iarg[1] = p->mode; /* mode_t */
1445 *n_args = 2;
1446 break;
1447 }
1448 /* lchown */
1449 case 275: {
1450 struct lchown_args *p = params;
1451 uarg[0] = (intptr_t) p->path; /* char * */
1452 uarg[1] = p->uid; /* uid_t */
1453 iarg[2] = p->gid; /* gid_t */
1454 *n_args = 3;
1455 break;
1456 }
1457 /* lutimes */
1458 case 276: {
1459 struct lutimes_args *p = params;
1460 uarg[0] = (intptr_t) p->path; /* char * */
1461 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1462 *n_args = 2;
1463 break;
1464 }
1465 /* msync */
1466 case 277: {
1467 struct msync_args *p = params;
1468 uarg[0] = (intptr_t) p->addr; /* void * */
1469 uarg[1] = p->len; /* size_t */
1470 iarg[2] = p->flags; /* int */
1471 *n_args = 3;
1472 break;
1473 }
1474 /* nstat */
1475 case 278: {
1476 struct nstat_args *p = params;
1477 uarg[0] = (intptr_t) p->path; /* char * */
1478 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1479 *n_args = 2;
1480 break;
1481 }
1482 /* nfstat */
1483 case 279: {
1484 struct nfstat_args *p = params;
1485 iarg[0] = p->fd; /* int */
1486 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1487 *n_args = 2;
1488 break;
1489 }
1490 /* nlstat */
1491 case 280: {
1492 struct nlstat_args *p = params;
1493 uarg[0] = (intptr_t) p->path; /* char * */
1494 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1495 *n_args = 2;
1496 break;
1497 }
1498 /* preadv */
1499 case 289: {
1500 struct preadv_args *p = params;
1501 iarg[0] = p->fd; /* int */
1502 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1503 uarg[2] = p->iovcnt; /* u_int */
1504 iarg[3] = p->offset; /* off_t */
1505 *n_args = 4;
1506 break;
1507 }
1508 /* pwritev */
1509 case 290: {
1510 struct pwritev_args *p = params;
1511 iarg[0] = p->fd; /* int */
1512 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1513 uarg[2] = p->iovcnt; /* u_int */
1514 iarg[3] = p->offset; /* off_t */
1515 *n_args = 4;
1516 break;
1517 }
1518 /* fhopen */
1519 case 298: {
1520 struct fhopen_args *p = params;
1521 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1522 iarg[1] = p->flags; /* int */
1523 *n_args = 2;
1524 break;
1525 }
1526 /* fhstat */
1527 case 299: {
1528 struct fhstat_args *p = params;
1529 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1530 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1531 *n_args = 2;
1532 break;
1533 }
1534 /* modnext */
1535 case 300: {
1536 struct modnext_args *p = params;
1537 iarg[0] = p->modid; /* int */
1538 *n_args = 1;
1539 break;
1540 }
1541 /* modstat */
1542 case 301: {
1543 struct modstat_args *p = params;
1544 iarg[0] = p->modid; /* int */
1545 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1546 *n_args = 2;
1547 break;
1548 }
1549 /* modfnext */
1550 case 302: {
1551 struct modfnext_args *p = params;
1552 iarg[0] = p->modid; /* int */
1553 *n_args = 1;
1554 break;
1555 }
1556 /* modfind */
1557 case 303: {
1558 struct modfind_args *p = params;
1559 uarg[0] = (intptr_t) p->name; /* const char * */
1560 *n_args = 1;
1561 break;
1562 }
1563 /* kldload */
1564 case 304: {
1565 struct kldload_args *p = params;
1566 uarg[0] = (intptr_t) p->file; /* const char * */
1567 *n_args = 1;
1568 break;
1569 }
1570 /* kldunload */
1571 case 305: {
1572 struct kldunload_args *p = params;
1573 iarg[0] = p->fileid; /* int */
1574 *n_args = 1;
1575 break;
1576 }
1577 /* kldfind */
1578 case 306: {
1579 struct kldfind_args *p = params;
1580 uarg[0] = (intptr_t) p->file; /* const char * */
1581 *n_args = 1;
1582 break;
1583 }
1584 /* kldnext */
1585 case 307: {
1586 struct kldnext_args *p = params;
1587 iarg[0] = p->fileid; /* int */
1588 *n_args = 1;
1589 break;
1590 }
1591 /* kldstat */
1592 case 308: {
1593 struct kldstat_args *p = params;
1594 iarg[0] = p->fileid; /* int */
1595 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1596 *n_args = 2;
1597 break;
1598 }
1599 /* kldfirstmod */
1600 case 309: {
1601 struct kldfirstmod_args *p = params;
1602 iarg[0] = p->fileid; /* int */
1603 *n_args = 1;
1604 break;
1605 }
1606 /* getsid */
1607 case 310: {
1608 struct getsid_args *p = params;
1609 iarg[0] = p->pid; /* pid_t */
1610 *n_args = 1;
1611 break;
1612 }
1613 /* setresuid */
1614 case 311: {
1615 struct setresuid_args *p = params;
1616 uarg[0] = p->ruid; /* uid_t */
1617 uarg[1] = p->euid; /* uid_t */
1618 uarg[2] = p->suid; /* uid_t */
1619 *n_args = 3;
1620 break;
1621 }
1622 /* setresgid */
1623 case 312: {
1624 struct setresgid_args *p = params;
1625 iarg[0] = p->rgid; /* gid_t */
1626 iarg[1] = p->egid; /* gid_t */
1627 iarg[2] = p->sgid; /* gid_t */
1628 *n_args = 3;
1629 break;
1630 }
1631 /* aio_return */
1632 case 314: {
1633 struct aio_return_args *p = params;
1634 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1635 *n_args = 1;
1636 break;
1637 }
1638 /* aio_suspend */
1639 case 315: {
1640 struct aio_suspend_args *p = params;
1641 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1642 iarg[1] = p->nent; /* int */
1643 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1644 *n_args = 3;
1645 break;
1646 }
1647 /* aio_cancel */
1648 case 316: {
1649 struct aio_cancel_args *p = params;
1650 iarg[0] = p->fd; /* int */
1651 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1652 *n_args = 2;
1653 break;
1654 }
1655 /* aio_error */
1656 case 317: {
1657 struct aio_error_args *p = params;
1658 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1659 *n_args = 1;
1660 break;
1661 }
1662 /* oaio_read */
1663 case 318: {
1664 struct oaio_read_args *p = params;
1665 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1666 *n_args = 1;
1667 break;
1668 }
1669 /* oaio_write */
1670 case 319: {
1671 struct oaio_write_args *p = params;
1672 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1673 *n_args = 1;
1674 break;
1675 }
1676 /* olio_listio */
1677 case 320: {
1678 struct olio_listio_args *p = params;
1679 iarg[0] = p->mode; /* int */
1680 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1681 iarg[2] = p->nent; /* int */
1682 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1683 *n_args = 4;
1684 break;
1685 }
1686 /* yield */
1687 case 321: {
1688 *n_args = 0;
1689 break;
1690 }
1691 /* mlockall */
1692 case 324: {
1693 struct mlockall_args *p = params;
1694 iarg[0] = p->how; /* int */
1695 *n_args = 1;
1696 break;
1697 }
1698 /* munlockall */
1699 case 325: {
1700 *n_args = 0;
1701 break;
1702 }
1703 /* __getcwd */
1704 case 326: {
1705 struct __getcwd_args *p = params;
1706 uarg[0] = (intptr_t) p->buf; /* u_char * */
1707 uarg[1] = p->buflen; /* u_int */
1708 *n_args = 2;
1709 break;
1710 }
1711 /* sched_setparam */
1712 case 327: {
1713 struct sched_setparam_args *p = params;
1714 iarg[0] = p->pid; /* pid_t */
1715 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1716 *n_args = 2;
1717 break;
1718 }
1719 /* sched_getparam */
1720 case 328: {
1721 struct sched_getparam_args *p = params;
1722 iarg[0] = p->pid; /* pid_t */
1723 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1724 *n_args = 2;
1725 break;
1726 }
1727 /* sched_setscheduler */
1728 case 329: {
1729 struct sched_setscheduler_args *p = params;
1730 iarg[0] = p->pid; /* pid_t */
1731 iarg[1] = p->policy; /* int */
1732 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1733 *n_args = 3;
1734 break;
1735 }
1736 /* sched_getscheduler */
1737 case 330: {
1738 struct sched_getscheduler_args *p = params;
1739 iarg[0] = p->pid; /* pid_t */
1740 *n_args = 1;
1741 break;
1742 }
1743 /* sched_yield */
1744 case 331: {
1745 *n_args = 0;
1746 break;
1747 }
1748 /* sched_get_priority_max */
1749 case 332: {
1750 struct sched_get_priority_max_args *p = params;
1751 iarg[0] = p->policy; /* int */
1752 *n_args = 1;
1753 break;
1754 }
1755 /* sched_get_priority_min */
1756 case 333: {
1757 struct sched_get_priority_min_args *p = params;
1758 iarg[0] = p->policy; /* int */
1759 *n_args = 1;
1760 break;
1761 }
1762 /* sched_rr_get_interval */
1763 case 334: {
1764 struct sched_rr_get_interval_args *p = params;
1765 iarg[0] = p->pid; /* pid_t */
1766 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1767 *n_args = 2;
1768 break;
1769 }
1770 /* utrace */
1771 case 335: {
1772 struct utrace_args *p = params;
1773 uarg[0] = (intptr_t) p->addr; /* const void * */
1774 uarg[1] = p->len; /* size_t */
1775 *n_args = 2;
1776 break;
1777 }
1778 /* kldsym */
1779 case 337: {
1780 struct kldsym_args *p = params;
1781 iarg[0] = p->fileid; /* int */
1782 iarg[1] = p->cmd; /* int */
1783 uarg[2] = (intptr_t) p->data; /* void * */
1784 *n_args = 3;
1785 break;
1786 }
1787 /* jail */
1788 case 338: {
1789 struct jail_args *p = params;
1790 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1791 *n_args = 1;
1792 break;
1793 }
1794 /* nnpfs_syscall */
1795 case 339: {
1796 struct nnpfs_syscall_args *p = params;
1797 iarg[0] = p->operation; /* int */
1798 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1799 iarg[2] = p->a_opcode; /* int */
1800 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1801 iarg[4] = p->a_followSymlinks; /* int */
1802 *n_args = 5;
1803 break;
1804 }
1805 /* sigprocmask */
1806 case 340: {
1807 struct sigprocmask_args *p = params;
1808 iarg[0] = p->how; /* int */
1809 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1810 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1811 *n_args = 3;
1812 break;
1813 }
1814 /* sigsuspend */
1815 case 341: {
1816 struct sigsuspend_args *p = params;
1817 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1818 *n_args = 1;
1819 break;
1820 }
1821 /* sigpending */
1822 case 343: {
1823 struct sigpending_args *p = params;
1824 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1825 *n_args = 1;
1826 break;
1827 }
1828 /* sigtimedwait */
1829 case 345: {
1830 struct sigtimedwait_args *p = params;
1831 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1832 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1833 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1834 *n_args = 3;
1835 break;
1836 }
1837 /* sigwaitinfo */
1838 case 346: {
1839 struct sigwaitinfo_args *p = params;
1840 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1841 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1842 *n_args = 2;
1843 break;
1844 }
1845 /* __acl_get_file */
1846 case 347: {
1847 struct __acl_get_file_args *p = params;
1848 uarg[0] = (intptr_t) p->path; /* const char * */
1849 iarg[1] = p->type; /* acl_type_t */
1850 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1851 *n_args = 3;
1852 break;
1853 }
1854 /* __acl_set_file */
1855 case 348: {
1856 struct __acl_set_file_args *p = params;
1857 uarg[0] = (intptr_t) p->path; /* const char * */
1858 iarg[1] = p->type; /* acl_type_t */
1859 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1860 *n_args = 3;
1861 break;
1862 }
1863 /* __acl_get_fd */
1864 case 349: {
1865 struct __acl_get_fd_args *p = params;
1866 iarg[0] = p->filedes; /* int */
1867 iarg[1] = p->type; /* acl_type_t */
1868 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1869 *n_args = 3;
1870 break;
1871 }
1872 /* __acl_set_fd */
1873 case 350: {
1874 struct __acl_set_fd_args *p = params;
1875 iarg[0] = p->filedes; /* int */
1876 iarg[1] = p->type; /* acl_type_t */
1877 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1878 *n_args = 3;
1879 break;
1880 }
1881 /* __acl_delete_file */
1882 case 351: {
1883 struct __acl_delete_file_args *p = params;
1884 uarg[0] = (intptr_t) p->path; /* const char * */
1885 iarg[1] = p->type; /* acl_type_t */
1886 *n_args = 2;
1887 break;
1888 }
1889 /* __acl_delete_fd */
1890 case 352: {
1891 struct __acl_delete_fd_args *p = params;
1892 iarg[0] = p->filedes; /* int */
1893 iarg[1] = p->type; /* acl_type_t */
1894 *n_args = 2;
1895 break;
1896 }
1897 /* __acl_aclcheck_file */
1898 case 353: {
1899 struct __acl_aclcheck_file_args *p = params;
1900 uarg[0] = (intptr_t) p->path; /* const char * */
1901 iarg[1] = p->type; /* acl_type_t */
1902 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1903 *n_args = 3;
1904 break;
1905 }
1906 /* __acl_aclcheck_fd */
1907 case 354: {
1908 struct __acl_aclcheck_fd_args *p = params;
1909 iarg[0] = p->filedes; /* int */
1910 iarg[1] = p->type; /* acl_type_t */
1911 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1912 *n_args = 3;
1913 break;
1914 }
1915 /* extattrctl */
1916 case 355: {
1917 struct extattrctl_args *p = params;
1918 uarg[0] = (intptr_t) p->path; /* const char * */
1919 iarg[1] = p->cmd; /* int */
1920 uarg[2] = (intptr_t) p->filename; /* const char * */
1921 iarg[3] = p->attrnamespace; /* int */
1922 uarg[4] = (intptr_t) p->attrname; /* const char * */
1923 *n_args = 5;
1924 break;
1925 }
1926 /* extattr_set_file */
1927 case 356: {
1928 struct extattr_set_file_args *p = params;
1929 uarg[0] = (intptr_t) p->path; /* const char * */
1930 iarg[1] = p->attrnamespace; /* int */
1931 uarg[2] = (intptr_t) p->attrname; /* const char * */
1932 uarg[3] = (intptr_t) p->data; /* void * */
1933 uarg[4] = p->nbytes; /* size_t */
1934 *n_args = 5;
1935 break;
1936 }
1937 /* extattr_get_file */
1938 case 357: {
1939 struct extattr_get_file_args *p = params;
1940 uarg[0] = (intptr_t) p->path; /* const char * */
1941 iarg[1] = p->attrnamespace; /* int */
1942 uarg[2] = (intptr_t) p->attrname; /* const char * */
1943 uarg[3] = (intptr_t) p->data; /* void * */
1944 uarg[4] = p->nbytes; /* size_t */
1945 *n_args = 5;
1946 break;
1947 }
1948 /* extattr_delete_file */
1949 case 358: {
1950 struct extattr_delete_file_args *p = params;
1951 uarg[0] = (intptr_t) p->path; /* const char * */
1952 iarg[1] = p->attrnamespace; /* int */
1953 uarg[2] = (intptr_t) p->attrname; /* const char * */
1954 *n_args = 3;
1955 break;
1956 }
1957 /* aio_waitcomplete */
1958 case 359: {
1959 struct aio_waitcomplete_args *p = params;
1960 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1961 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1962 *n_args = 2;
1963 break;
1964 }
1965 /* getresuid */
1966 case 360: {
1967 struct getresuid_args *p = params;
1968 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1969 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1970 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1971 *n_args = 3;
1972 break;
1973 }
1974 /* getresgid */
1975 case 361: {
1976 struct getresgid_args *p = params;
1977 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1978 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1979 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1980 *n_args = 3;
1981 break;
1982 }
1983 /* kqueue */
1984 case 362: {
1985 *n_args = 0;
1986 break;
1987 }
1988 /* kevent */
1989 case 363: {
1990 struct kevent_args *p = params;
1991 iarg[0] = p->fd; /* int */
1992 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1993 iarg[2] = p->nchanges; /* int */
1994 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1995 iarg[4] = p->nevents; /* int */
1996 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1997 *n_args = 6;
1998 break;
1999 }
2000 /* extattr_set_fd */
2001 case 371: {
2002 struct extattr_set_fd_args *p = params;
2003 iarg[0] = p->fd; /* int */
2004 iarg[1] = p->attrnamespace; /* int */
2005 uarg[2] = (intptr_t) p->attrname; /* const char * */
2006 uarg[3] = (intptr_t) p->data; /* void * */
2007 uarg[4] = p->nbytes; /* size_t */
2008 *n_args = 5;
2009 break;
2010 }
2011 /* extattr_get_fd */
2012 case 372: {
2013 struct extattr_get_fd_args *p = params;
2014 iarg[0] = p->fd; /* int */
2015 iarg[1] = p->attrnamespace; /* int */
2016 uarg[2] = (intptr_t) p->attrname; /* const char * */
2017 uarg[3] = (intptr_t) p->data; /* void * */
2018 uarg[4] = p->nbytes; /* size_t */
2019 *n_args = 5;
2020 break;
2021 }
2022 /* extattr_delete_fd */
2023 case 373: {
2024 struct extattr_delete_fd_args *p = params;
2025 iarg[0] = p->fd; /* int */
2026 iarg[1] = p->attrnamespace; /* int */
2027 uarg[2] = (intptr_t) p->attrname; /* const char * */
2028 *n_args = 3;
2029 break;
2030 }
2031 /* __setugid */
2032 case 374: {
2033 struct __setugid_args *p = params;
2034 iarg[0] = p->flag; /* int */
2035 *n_args = 1;
2036 break;
2037 }
2038 /* eaccess */
2039 case 376: {
2040 struct eaccess_args *p = params;
2041 uarg[0] = (intptr_t) p->path; /* char * */
2042 iarg[1] = p->amode; /* int */
2043 *n_args = 2;
2044 break;
2045 }
2046 /* afs3_syscall */
2047 case 377: {
2048 struct afs3_syscall_args *p = params;
2049 iarg[0] = p->syscall; /* long */
2050 iarg[1] = p->parm1; /* long */
2051 iarg[2] = p->parm2; /* long */
2052 iarg[3] = p->parm3; /* long */
2053 iarg[4] = p->parm4; /* long */
2054 iarg[5] = p->parm5; /* long */
2055 iarg[6] = p->parm6; /* long */
2056 *n_args = 7;
2057 break;
2058 }
2059 /* nmount */
2060 case 378: {
2061 struct nmount_args *p = params;
2062 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2063 uarg[1] = p->iovcnt; /* unsigned int */
2064 iarg[2] = p->flags; /* int */
2065 *n_args = 3;
2066 break;
2067 }
2068 /* __mac_get_proc */
2069 case 384: {
2070 struct __mac_get_proc_args *p = params;
2071 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2072 *n_args = 1;
2073 break;
2074 }
2075 /* __mac_set_proc */
2076 case 385: {
2077 struct __mac_set_proc_args *p = params;
2078 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2079 *n_args = 1;
2080 break;
2081 }
2082 /* __mac_get_fd */
2083 case 386: {
2084 struct __mac_get_fd_args *p = params;
2085 iarg[0] = p->fd; /* int */
2086 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2087 *n_args = 2;
2088 break;
2089 }
2090 /* __mac_get_file */
2091 case 387: {
2092 struct __mac_get_file_args *p = params;
2093 uarg[0] = (intptr_t) p->path_p; /* const char * */
2094 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2095 *n_args = 2;
2096 break;
2097 }
2098 /* __mac_set_fd */
2099 case 388: {
2100 struct __mac_set_fd_args *p = params;
2101 iarg[0] = p->fd; /* int */
2102 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2103 *n_args = 2;
2104 break;
2105 }
2106 /* __mac_set_file */
2107 case 389: {
2108 struct __mac_set_file_args *p = params;
2109 uarg[0] = (intptr_t) p->path_p; /* const char * */
2110 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2111 *n_args = 2;
2112 break;
2113 }
2114 /* kenv */
2115 case 390: {
2116 struct kenv_args *p = params;
2117 iarg[0] = p->what; /* int */
2118 uarg[1] = (intptr_t) p->name; /* const char * */
2119 uarg[2] = (intptr_t) p->value; /* char * */
2120 iarg[3] = p->len; /* int */
2121 *n_args = 4;
2122 break;
2123 }
2124 /* lchflags */
2125 case 391: {
2126 struct lchflags_args *p = params;
2127 uarg[0] = (intptr_t) p->path; /* const char * */
2128 iarg[1] = p->flags; /* int */
2129 *n_args = 2;
2130 break;
2131 }
2132 /* uuidgen */
2133 case 392: {
2134 struct uuidgen_args *p = params;
2135 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2136 iarg[1] = p->count; /* int */
2137 *n_args = 2;
2138 break;
2139 }
2140 /* sendfile */
2141 case 393: {
2142 struct sendfile_args *p = params;
2143 iarg[0] = p->fd; /* int */
2144 iarg[1] = p->s; /* int */
2145 iarg[2] = p->offset; /* off_t */
2146 uarg[3] = p->nbytes; /* size_t */
2147 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2148 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2149 iarg[6] = p->flags; /* int */
2150 *n_args = 7;
2151 break;
2152 }
2153 /* mac_syscall */
2154 case 394: {
2155 struct mac_syscall_args *p = params;
2156 uarg[0] = (intptr_t) p->policy; /* const char * */
2157 iarg[1] = p->call; /* int */
2158 uarg[2] = (intptr_t) p->arg; /* void * */
2159 *n_args = 3;
2160 break;
2161 }
2162 /* getfsstat */
2163 case 395: {
2164 struct getfsstat_args *p = params;
2165 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2166 iarg[1] = p->bufsize; /* long */
2167 iarg[2] = p->flags; /* int */
2168 *n_args = 3;
2169 break;
2170 }
2171 /* statfs */
2172 case 396: {
2173 struct statfs_args *p = params;
2174 uarg[0] = (intptr_t) p->path; /* char * */
2175 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2176 *n_args = 2;
2177 break;
2178 }
2179 /* fstatfs */
2180 case 397: {
2181 struct fstatfs_args *p = params;
2182 iarg[0] = p->fd; /* int */
2183 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2184 *n_args = 2;
2185 break;
2186 }
2187 /* fhstatfs */
2188 case 398: {
2189 struct fhstatfs_args *p = params;
2190 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2191 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2192 *n_args = 2;
2193 break;
2194 }
2195 /* ksem_close */
2196 case 400: {
2197 struct ksem_close_args *p = params;
2198 iarg[0] = p->id; /* semid_t */
2199 *n_args = 1;
2200 break;
2201 }
2202 /* ksem_post */
2203 case 401: {
2204 struct ksem_post_args *p = params;
2205 iarg[0] = p->id; /* semid_t */
2206 *n_args = 1;
2207 break;
2208 }
2209 /* ksem_wait */
2210 case 402: {
2211 struct ksem_wait_args *p = params;
2212 iarg[0] = p->id; /* semid_t */
2213 *n_args = 1;
2214 break;
2215 }
2216 /* ksem_trywait */
2217 case 403: {
2218 struct ksem_trywait_args *p = params;
2219 iarg[0] = p->id; /* semid_t */
2220 *n_args = 1;
2221 break;
2222 }
2223 /* ksem_init */
2224 case 404: {
2225 struct ksem_init_args *p = params;
2226 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2227 uarg[1] = p->value; /* unsigned int */
2228 *n_args = 2;
2229 break;
2230 }
2231 /* ksem_open */
2232 case 405: {
2233 struct ksem_open_args *p = params;
2234 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2235 uarg[1] = (intptr_t) p->name; /* const char * */
2236 iarg[2] = p->oflag; /* int */
2237 iarg[3] = p->mode; /* mode_t */
2238 uarg[4] = p->value; /* unsigned int */
2239 *n_args = 5;
2240 break;
2241 }
2242 /* ksem_unlink */
2243 case 406: {
2244 struct ksem_unlink_args *p = params;
2245 uarg[0] = (intptr_t) p->name; /* const char * */
2246 *n_args = 1;
2247 break;
2248 }
2249 /* ksem_getvalue */
2250 case 407: {
2251 struct ksem_getvalue_args *p = params;
2252 iarg[0] = p->id; /* semid_t */
2253 uarg[1] = (intptr_t) p->val; /* int * */
2254 *n_args = 2;
2255 break;
2256 }
2257 /* ksem_destroy */
2258 case 408: {
2259 struct ksem_destroy_args *p = params;
2260 iarg[0] = p->id; /* semid_t */
2261 *n_args = 1;
2262 break;
2263 }
2264 /* __mac_get_pid */
2265 case 409: {
2266 struct __mac_get_pid_args *p = params;
2267 iarg[0] = p->pid; /* pid_t */
2268 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2269 *n_args = 2;
2270 break;
2271 }
2272 /* __mac_get_link */
2273 case 410: {
2274 struct __mac_get_link_args *p = params;
2275 uarg[0] = (intptr_t) p->path_p; /* const char * */
2276 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2277 *n_args = 2;
2278 break;
2279 }
2280 /* __mac_set_link */
2281 case 411: {
2282 struct __mac_set_link_args *p = params;
2283 uarg[0] = (intptr_t) p->path_p; /* const char * */
2284 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2285 *n_args = 2;
2286 break;
2287 }
2288 /* extattr_set_link */
2289 case 412: {
2290 struct extattr_set_link_args *p = params;
2291 uarg[0] = (intptr_t) p->path; /* const char * */
2292 iarg[1] = p->attrnamespace; /* int */
2293 uarg[2] = (intptr_t) p->attrname; /* const char * */
2294 uarg[3] = (intptr_t) p->data; /* void * */
2295 uarg[4] = p->nbytes; /* size_t */
2296 *n_args = 5;
2297 break;
2298 }
2299 /* extattr_get_link */
2300 case 413: {
2301 struct extattr_get_link_args *p = params;
2302 uarg[0] = (intptr_t) p->path; /* const char * */
2303 iarg[1] = p->attrnamespace; /* int */
2304 uarg[2] = (intptr_t) p->attrname; /* const char * */
2305 uarg[3] = (intptr_t) p->data; /* void * */
2306 uarg[4] = p->nbytes; /* size_t */
2307 *n_args = 5;
2308 break;
2309 }
2310 /* extattr_delete_link */
2311 case 414: {
2312 struct extattr_delete_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path; /* const char * */
2314 iarg[1] = p->attrnamespace; /* int */
2315 uarg[2] = (intptr_t) p->attrname; /* const char * */
2316 *n_args = 3;
2317 break;
2318 }
2319 /* __mac_execve */
2320 case 415: {
2321 struct __mac_execve_args *p = params;
2322 uarg[0] = (intptr_t) p->fname; /* char * */
2323 uarg[1] = (intptr_t) p->argv; /* char ** */
2324 uarg[2] = (intptr_t) p->envv; /* char ** */
2325 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2326 *n_args = 4;
2327 break;
2328 }
2329 /* sigaction */
2330 case 416: {
2331 struct sigaction_args *p = params;
2332 iarg[0] = p->sig; /* int */
2333 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2334 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2335 *n_args = 3;
2336 break;
2337 }
2338 /* sigreturn */
2339 case 417: {
2340 struct sigreturn_args *p = params;
2341 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2342 *n_args = 1;
2343 break;
2344 }
2345 /* getcontext */
2346 case 421: {
2347 struct getcontext_args *p = params;
2348 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2349 *n_args = 1;
2350 break;
2351 }
2352 /* setcontext */
2353 case 422: {
2354 struct setcontext_args *p = params;
2355 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2356 *n_args = 1;
2357 break;
2358 }
2359 /* swapcontext */
2360 case 423: {
2361 struct swapcontext_args *p = params;
2362 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2363 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2364 *n_args = 2;
2365 break;
2366 }
2367 /* swapoff */
2368 case 424: {
2369 struct swapoff_args *p = params;
2370 uarg[0] = (intptr_t) p->name; /* const char * */
2371 *n_args = 1;
2372 break;
2373 }
2374 /* __acl_get_link */
2375 case 425: {
2376 struct __acl_get_link_args *p = params;
2377 uarg[0] = (intptr_t) p->path; /* const char * */
2378 iarg[1] = p->type; /* acl_type_t */
2379 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2380 *n_args = 3;
2381 break;
2382 }
2383 /* __acl_set_link */
2384 case 426: {
2385 struct __acl_set_link_args *p = params;
2386 uarg[0] = (intptr_t) p->path; /* const char * */
2387 iarg[1] = p->type; /* acl_type_t */
2388 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2389 *n_args = 3;
2390 break;
2391 }
2392 /* __acl_delete_link */
2393 case 427: {
2394 struct __acl_delete_link_args *p = params;
2395 uarg[0] = (intptr_t) p->path; /* const char * */
2396 iarg[1] = p->type; /* acl_type_t */
2397 *n_args = 2;
2398 break;
2399 }
2400 /* __acl_aclcheck_link */
2401 case 428: {
2402 struct __acl_aclcheck_link_args *p = params;
2403 uarg[0] = (intptr_t) p->path; /* const char * */
2404 iarg[1] = p->type; /* acl_type_t */
2405 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2406 *n_args = 3;
2407 break;
2408 }
2409 /* sigwait */
2410 case 429: {
2411 struct sigwait_args *p = params;
2412 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2413 uarg[1] = (intptr_t) p->sig; /* int * */
2414 *n_args = 2;
2415 break;
2416 }
2417 /* thr_create */
2418 case 430: {
2419 struct thr_create_args *p = params;
2420 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2421 uarg[1] = (intptr_t) p->id; /* long * */
2422 iarg[2] = p->flags; /* int */
2423 *n_args = 3;
2424 break;
2425 }
2426 /* thr_exit */
2427 case 431: {
2428 struct thr_exit_args *p = params;
2429 uarg[0] = (intptr_t) p->state; /* long * */
2430 *n_args = 1;
2431 break;
2432 }
2433 /* thr_self */
2434 case 432: {
2435 struct thr_self_args *p = params;
2436 uarg[0] = (intptr_t) p->id; /* long * */
2437 *n_args = 1;
2438 break;
2439 }
2440 /* thr_kill */
2441 case 433: {
2442 struct thr_kill_args *p = params;
2443 iarg[0] = p->id; /* long */
2444 iarg[1] = p->sig; /* int */
2445 *n_args = 2;
2446 break;
2447 }
2448 /* _umtx_lock */
2449 case 434: {
2450 struct _umtx_lock_args *p = params;
2451 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2452 *n_args = 1;
2453 break;
2454 }
2455 /* _umtx_unlock */
2456 case 435: {
2457 struct _umtx_unlock_args *p = params;
2458 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2459 *n_args = 1;
2460 break;
2461 }
2462 /* jail_attach */
2463 case 436: {
2464 struct jail_attach_args *p = params;
2465 iarg[0] = p->jid; /* int */
2466 *n_args = 1;
2467 break;
2468 }
2469 /* extattr_list_fd */
2470 case 437: {
2471 struct extattr_list_fd_args *p = params;
2472 iarg[0] = p->fd; /* int */
2473 iarg[1] = p->attrnamespace; /* int */
2474 uarg[2] = (intptr_t) p->data; /* void * */
2475 uarg[3] = p->nbytes; /* size_t */
2476 *n_args = 4;
2477 break;
2478 }
2479 /* extattr_list_file */
2480 case 438: {
2481 struct extattr_list_file_args *p = params;
2482 uarg[0] = (intptr_t) p->path; /* const char * */
2483 iarg[1] = p->attrnamespace; /* int */
2484 uarg[2] = (intptr_t) p->data; /* void * */
2485 uarg[3] = p->nbytes; /* size_t */
2486 *n_args = 4;
2487 break;
2488 }
2489 /* extattr_list_link */
2490 case 439: {
2491 struct extattr_list_link_args *p = params;
2492 uarg[0] = (intptr_t) p->path; /* const char * */
2493 iarg[1] = p->attrnamespace; /* int */
2494 uarg[2] = (intptr_t) p->data; /* void * */
2495 uarg[3] = p->nbytes; /* size_t */
2496 *n_args = 4;
2497 break;
2498 }
2499 /* ksem_timedwait */
2500 case 441: {
2501 struct ksem_timedwait_args *p = params;
2502 iarg[0] = p->id; /* semid_t */
2503 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2504 *n_args = 2;
2505 break;
2506 }
2507 /* thr_suspend */
2508 case 442: {
2509 struct thr_suspend_args *p = params;
2510 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2511 *n_args = 1;
2512 break;
2513 }
2514 /* thr_wake */
2515 case 443: {
2516 struct thr_wake_args *p = params;
2517 iarg[0] = p->id; /* long */
2518 *n_args = 1;
2519 break;
2520 }
2521 /* kldunloadf */
2522 case 444: {
2523 struct kldunloadf_args *p = params;
2524 iarg[0] = p->fileid; /* int */
2525 iarg[1] = p->flags; /* int */
2526 *n_args = 2;
2527 break;
2528 }
2529 /* audit */
2530 case 445: {
2531 struct audit_args *p = params;
2532 uarg[0] = (intptr_t) p->record; /* const void * */
2533 uarg[1] = p->length; /* u_int */
2534 *n_args = 2;
2535 break;
2536 }
2537 /* auditon */
2538 case 446: {
2539 struct auditon_args *p = params;
2540 iarg[0] = p->cmd; /* int */
2541 uarg[1] = (intptr_t) p->data; /* void * */
2542 uarg[2] = p->length; /* u_int */
2543 *n_args = 3;
2544 break;
2545 }
2546 /* getauid */
2547 case 447: {
2548 struct getauid_args *p = params;
2549 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2550 *n_args = 1;
2551 break;
2552 }
2553 /* setauid */
2554 case 448: {
2555 struct setauid_args *p = params;
2556 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2557 *n_args = 1;
2558 break;
2559 }
2560 /* getaudit */
2561 case 449: {
2562 struct getaudit_args *p = params;
2563 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2564 *n_args = 1;
2565 break;
2566 }
2567 /* setaudit */
2568 case 450: {
2569 struct setaudit_args *p = params;
2570 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2571 *n_args = 1;
2572 break;
2573 }
2574 /* getaudit_addr */
2575 case 451: {
2576 struct getaudit_addr_args *p = params;
2577 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2578 uarg[1] = p->length; /* u_int */
2579 *n_args = 2;
2580 break;
2581 }
2582 /* setaudit_addr */
2583 case 452: {
2584 struct setaudit_addr_args *p = params;
2585 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2586 uarg[1] = p->length; /* u_int */
2587 *n_args = 2;
2588 break;
2589 }
2590 /* auditctl */
2591 case 453: {
2592 struct auditctl_args *p = params;
2593 uarg[0] = (intptr_t) p->path; /* char * */
2594 *n_args = 1;
2595 break;
2596 }
2597 /* _umtx_op */
2598 case 454: {
2599 struct _umtx_op_args *p = params;
2600 uarg[0] = (intptr_t) p->obj; /* void * */
2601 iarg[1] = p->op; /* int */
2602 uarg[2] = p->val; /* u_long */
2603 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2604 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2605 *n_args = 5;
2606 break;
2607 }
2608 /* thr_new */
2609 case 455: {
2610 struct thr_new_args *p = params;
2611 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2612 iarg[1] = p->param_size; /* int */
2613 *n_args = 2;
2614 break;
2615 }
2616 /* sigqueue */
2617 case 456: {
2618 struct sigqueue_args *p = params;
2619 iarg[0] = p->pid; /* pid_t */
2620 iarg[1] = p->signum; /* int */
2621 uarg[2] = (intptr_t) p->value; /* void * */
2622 *n_args = 3;
2623 break;
2624 }
2625 /* kmq_open */
2626 case 457: {
2627 struct kmq_open_args *p = params;
2628 uarg[0] = (intptr_t) p->path; /* const char * */
2629 iarg[1] = p->flags; /* int */
2630 iarg[2] = p->mode; /* mode_t */
2631 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2632 *n_args = 4;
2633 break;
2634 }
2635 /* kmq_setattr */
2636 case 458: {
2637 struct kmq_setattr_args *p = params;
2638 iarg[0] = p->mqd; /* int */
2639 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2640 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2641 *n_args = 3;
2642 break;
2643 }
2644 /* kmq_timedreceive */
2645 case 459: {
2646 struct kmq_timedreceive_args *p = params;
2647 iarg[0] = p->mqd; /* int */
2648 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2649 uarg[2] = p->msg_len; /* size_t */
2650 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2651 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2652 *n_args = 5;
2653 break;
2654 }
2655 /* kmq_timedsend */
2656 case 460: {
2657 struct kmq_timedsend_args *p = params;
2658 iarg[0] = p->mqd; /* int */
2659 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2660 uarg[2] = p->msg_len; /* size_t */
2661 uarg[3] = p->msg_prio; /* unsigned */
2662 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2663 *n_args = 5;
2664 break;
2665 }
2666 /* kmq_notify */
2667 case 461: {
2668 struct kmq_notify_args *p = params;
2669 iarg[0] = p->mqd; /* int */
2670 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2671 *n_args = 2;
2672 break;
2673 }
2674 /* kmq_unlink */
2675 case 462: {
2676 struct kmq_unlink_args *p = params;
2677 uarg[0] = (intptr_t) p->path; /* const char * */
2678 *n_args = 1;
2679 break;
2680 }
2681 /* abort2 */
2682 case 463: {
2683 struct abort2_args *p = params;
2684 uarg[0] = (intptr_t) p->why; /* const char * */
2685 iarg[1] = p->nargs; /* int */
2686 uarg[2] = (intptr_t) p->args; /* void ** */
2687 *n_args = 3;
2688 break;
2689 }
2690 /* thr_set_name */
2691 case 464: {
2692 struct thr_set_name_args *p = params;
2693 iarg[0] = p->id; /* long */
2694 uarg[1] = (intptr_t) p->name; /* const char * */
2695 *n_args = 2;
2696 break;
2697 }
2698 /* aio_fsync */
2699 case 465: {
2700 struct aio_fsync_args *p = params;
2701 iarg[0] = p->op; /* int */
2702 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2703 *n_args = 2;
2704 break;
2705 }
2706 /* rtprio_thread */
2707 case 466: {
2708 struct rtprio_thread_args *p = params;
2709 iarg[0] = p->function; /* int */
2710 iarg[1] = p->lwpid; /* lwpid_t */
2711 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2712 *n_args = 3;
2713 break;
2714 }
2715 /* sctp_peeloff */
2716 case 471: {
2717 struct sctp_peeloff_args *p = params;
2718 iarg[0] = p->sd; /* int */
2719 uarg[1] = p->name; /* uint32_t */
2720 *n_args = 2;
2721 break;
2722 }
2723 /* sctp_generic_sendmsg */
2724 case 472: {
2725 struct sctp_generic_sendmsg_args *p = params;
2726 iarg[0] = p->sd; /* int */
2727 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2728 iarg[2] = p->mlen; /* int */
2729 uarg[3] = (intptr_t) p->to; /* caddr_t */
2730 iarg[4] = p->tolen; /* __socklen_t */
2731 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2732 iarg[6] = p->flags; /* int */
2733 *n_args = 7;
2734 break;
2735 }
2736 /* sctp_generic_sendmsg_iov */
2737 case 473: {
2738 struct sctp_generic_sendmsg_iov_args *p = params;
2739 iarg[0] = p->sd; /* int */
2740 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2741 iarg[2] = p->iovlen; /* int */
2742 uarg[3] = (intptr_t) p->to; /* caddr_t */
2743 iarg[4] = p->tolen; /* __socklen_t */
2744 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2745 iarg[6] = p->flags; /* int */
2746 *n_args = 7;
2747 break;
2748 }
2749 /* sctp_generic_recvmsg */
2750 case 474: {
2751 struct sctp_generic_recvmsg_args *p = params;
2752 iarg[0] = p->sd; /* int */
2753 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2754 iarg[2] = p->iovlen; /* int */
2755 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2756 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2757 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2758 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2759 *n_args = 7;
2760 break;
2761 }
2762 /* pread */
2763 case 475: {
2764 struct pread_args *p = params;
2765 iarg[0] = p->fd; /* int */
2766 uarg[1] = (intptr_t) p->buf; /* void * */
2767 uarg[2] = p->nbyte; /* size_t */
2768 iarg[3] = p->offset; /* off_t */
2769 *n_args = 4;
2770 break;
2771 }
2772 /* pwrite */
2773 case 476: {
2774 struct pwrite_args *p = params;
2775 iarg[0] = p->fd; /* int */
2776 uarg[1] = (intptr_t) p->buf; /* const void * */
2777 uarg[2] = p->nbyte; /* size_t */
2778 iarg[3] = p->offset; /* off_t */
2779 *n_args = 4;
2780 break;
2781 }
2782 /* mmap */
2783 case 477: {
2784 struct mmap_args *p = params;
2785 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2786 uarg[1] = p->len; /* size_t */
2787 iarg[2] = p->prot; /* int */
2788 iarg[3] = p->flags; /* int */
2789 iarg[4] = p->fd; /* int */
2790 iarg[5] = p->pos; /* off_t */
2791 *n_args = 6;
2792 break;
2793 }
2794 /* lseek */
2795 case 478: {
2796 struct lseek_args *p = params;
2797 iarg[0] = p->fd; /* int */
2798 iarg[1] = p->offset; /* off_t */
2799 iarg[2] = p->whence; /* int */
2800 *n_args = 3;
2801 break;
2802 }
2803 /* truncate */
2804 case 479: {
2805 struct truncate_args *p = params;
2806 uarg[0] = (intptr_t) p->path; /* char * */
2807 iarg[1] = p->length; /* off_t */
2808 *n_args = 2;
2809 break;
2810 }
2811 /* ftruncate */
2812 case 480: {
2813 struct ftruncate_args *p = params;
2814 iarg[0] = p->fd; /* int */
2815 iarg[1] = p->length; /* off_t */
2816 *n_args = 2;
2817 break;
2818 }
2819 /* thr_kill2 */
2820 case 481: {
2821 struct thr_kill2_args *p = params;
2822 iarg[0] = p->pid; /* pid_t */
2823 iarg[1] = p->id; /* long */
2824 iarg[2] = p->sig; /* int */
2825 *n_args = 3;
2826 break;
2827 }
2828 /* shm_open */
2829 case 482: {
2830 struct shm_open_args *p = params;
2831 uarg[0] = (intptr_t) p->path; /* const char * */
2832 iarg[1] = p->flags; /* int */
2833 iarg[2] = p->mode; /* mode_t */
2834 *n_args = 3;
2835 break;
2836 }
2837 /* shm_unlink */
2838 case 483: {
2839 struct shm_unlink_args *p = params;
2840 uarg[0] = (intptr_t) p->path; /* const char * */
2841 *n_args = 1;
2842 break;
2843 }
2844 /* cpuset */
2845 case 484: {
2846 struct cpuset_args *p = params;
2847 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2848 *n_args = 1;
2849 break;
2850 }
2851 /* cpuset_setid */
2852 case 485: {
2853 struct cpuset_setid_args *p = params;
2854 iarg[0] = p->which; /* cpuwhich_t */
2855 iarg[1] = p->id; /* id_t */
2856 iarg[2] = p->setid; /* cpusetid_t */
2857 *n_args = 3;
2858 break;
2859 }
2860 /* cpuset_getid */
2861 case 486: {
2862 struct cpuset_getid_args *p = params;
2863 iarg[0] = p->level; /* cpulevel_t */
2864 iarg[1] = p->which; /* cpuwhich_t */
2865 iarg[2] = p->id; /* id_t */
2866 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2867 *n_args = 4;
2868 break;
2869 }
2870 /* cpuset_getaffinity */
2871 case 487: {
2872 struct cpuset_getaffinity_args *p = params;
2873 iarg[0] = p->level; /* cpulevel_t */
2874 iarg[1] = p->which; /* cpuwhich_t */
2875 iarg[2] = p->id; /* id_t */
2876 uarg[3] = p->cpusetsize; /* size_t */
2877 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2878 *n_args = 5;
2879 break;
2880 }
2881 /* cpuset_setaffinity */
2882 case 488: {
2883 struct cpuset_setaffinity_args *p = params;
2884 iarg[0] = p->level; /* cpulevel_t */
2885 iarg[1] = p->which; /* cpuwhich_t */
2886 iarg[2] = p->id; /* id_t */
2887 uarg[3] = p->cpusetsize; /* size_t */
2888 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2889 *n_args = 5;
2890 break;
2891 }
2892 /* faccessat */
2893 case 489: {
2894 struct faccessat_args *p = params;
2895 iarg[0] = p->fd; /* int */
2896 uarg[1] = (intptr_t) p->path; /* char * */
2897 iarg[2] = p->amode; /* int */
2898 iarg[3] = p->flag; /* int */
2899 *n_args = 4;
2900 break;
2901 }
2902 /* fchmodat */
2903 case 490: {
2904 struct fchmodat_args *p = params;
2905 iarg[0] = p->fd; /* int */
2906 uarg[1] = (intptr_t) p->path; /* char * */
2907 iarg[2] = p->mode; /* mode_t */
2908 iarg[3] = p->flag; /* int */
2909 *n_args = 4;
2910 break;
2911 }
2912 /* fchownat */
2913 case 491: {
2914 struct fchownat_args *p = params;
2915 iarg[0] = p->fd; /* int */
2916 uarg[1] = (intptr_t) p->path; /* char * */
2917 uarg[2] = p->uid; /* uid_t */
2918 iarg[3] = p->gid; /* gid_t */
2919 iarg[4] = p->flag; /* int */
2920 *n_args = 5;
2921 break;
2922 }
2923 /* fexecve */
2924 case 492: {
2925 struct fexecve_args *p = params;
2926 iarg[0] = p->fd; /* int */
2927 uarg[1] = (intptr_t) p->argv; /* char ** */
2928 uarg[2] = (intptr_t) p->envv; /* char ** */
2929 *n_args = 3;
2930 break;
2931 }
2932 /* fstatat */
2933 case 493: {
2934 struct fstatat_args *p = params;
2935 iarg[0] = p->fd; /* int */
2936 uarg[1] = (intptr_t) p->path; /* char * */
2937 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2938 iarg[3] = p->flag; /* int */
2939 *n_args = 4;
2940 break;
2941 }
2942 /* futimesat */
2943 case 494: {
2944 struct futimesat_args *p = params;
2945 iarg[0] = p->fd; /* int */
2946 uarg[1] = (intptr_t) p->path; /* char * */
2947 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2948 *n_args = 3;
2949 break;
2950 }
2951 /* linkat */
2952 case 495: {
2953 struct linkat_args *p = params;
2954 iarg[0] = p->fd1; /* int */
2955 uarg[1] = (intptr_t) p->path1; /* char * */
2956 iarg[2] = p->fd2; /* int */
2957 uarg[3] = (intptr_t) p->path2; /* char * */
2958 iarg[4] = p->flag; /* int */
2959 *n_args = 5;
2960 break;
2961 }
2962 /* mkdirat */
2963 case 496: {
2964 struct mkdirat_args *p = params;
2965 iarg[0] = p->fd; /* int */
2966 uarg[1] = (intptr_t) p->path; /* char * */
2967 iarg[2] = p->mode; /* mode_t */
2968 *n_args = 3;
2969 break;
2970 }
2971 /* mkfifoat */
2972 case 497: {
2973 struct mkfifoat_args *p = params;
2974 iarg[0] = p->fd; /* int */
2975 uarg[1] = (intptr_t) p->path; /* char * */
2976 iarg[2] = p->mode; /* mode_t */
2977 *n_args = 3;
2978 break;
2979 }
2980 /* mknodat */
2981 case 498: {
2982 struct mknodat_args *p = params;
2983 iarg[0] = p->fd; /* int */
2984 uarg[1] = (intptr_t) p->path; /* char * */
2985 iarg[2] = p->mode; /* mode_t */
2986 iarg[3] = p->dev; /* dev_t */
2987 *n_args = 4;
2988 break;
2989 }
2990 /* openat */
2991 case 499: {
2992 struct openat_args *p = params;
2993 iarg[0] = p->fd; /* int */
2994 uarg[1] = (intptr_t) p->path; /* char * */
2995 iarg[2] = p->flag; /* int */
2996 iarg[3] = p->mode; /* mode_t */
2997 *n_args = 4;
2998 break;
2999 }
3000 /* readlinkat */
3001 case 500: {
3002 struct readlinkat_args *p = params;
3003 iarg[0] = p->fd; /* int */
3004 uarg[1] = (intptr_t) p->path; /* char * */
3005 uarg[2] = (intptr_t) p->buf; /* char * */
3006 uarg[3] = p->bufsize; /* size_t */
3007 *n_args = 4;
3008 break;
3009 }
3010 /* renameat */
3011 case 501: {
3012 struct renameat_args *p = params;
3013 iarg[0] = p->oldfd; /* int */
3014 uarg[1] = (intptr_t) p->old; /* char * */
3015 iarg[2] = p->newfd; /* int */
3016 uarg[3] = (intptr_t) p->new; /* char * */
3017 *n_args = 4;
3018 break;
3019 }
3020 /* symlinkat */
3021 case 502: {
3022 struct symlinkat_args *p = params;
3023 uarg[0] = (intptr_t) p->path1; /* char * */
3024 iarg[1] = p->fd; /* int */
3025 uarg[2] = (intptr_t) p->path2; /* char * */
3026 *n_args = 3;
3027 break;
3028 }
3029 /* unlinkat */
3030 case 503: {
3031 struct unlinkat_args *p = params;
3032 iarg[0] = p->fd; /* int */
3033 uarg[1] = (intptr_t) p->path; /* char * */
3034 iarg[2] = p->flag; /* int */
3035 *n_args = 3;
3036 break;
3037 }
3038 /* posix_openpt */
3039 case 504: {
3040 struct posix_openpt_args *p = params;
3041 iarg[0] = p->flags; /* int */
3042 *n_args = 1;
3043 break;
3044 }
3045 /* gssd_syscall */
3046 case 505: {
3047 struct gssd_syscall_args *p = params;
3048 uarg[0] = (intptr_t) p->path; /* char * */
3049 *n_args = 1;
3050 break;
3051 }
3052 /* jail_get */
3053 case 506: {
3054 struct jail_get_args *p = params;
3055 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3056 uarg[1] = p->iovcnt; /* unsigned int */
3057 iarg[2] = p->flags; /* int */
3058 *n_args = 3;
3059 break;
3060 }
3061 /* jail_set */
3062 case 507: {
3063 struct jail_set_args *p = params;
3064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3065 uarg[1] = p->iovcnt; /* unsigned int */
3066 iarg[2] = p->flags; /* int */
3067 *n_args = 3;
3068 break;
3069 }
3070 /* jail_remove */
3071 case 508: {
3072 struct jail_remove_args *p = params;
3073 iarg[0] = p->jid; /* int */
3074 *n_args = 1;
3075 break;
3076 }
3077 /* closefrom */
3078 case 509: {
3079 struct closefrom_args *p = params;
3080 iarg[0] = p->lowfd; /* int */
3081 *n_args = 1;
3082 break;
3083 }
3084 /* __semctl */
3085 case 510: {
3086 struct __semctl_args *p = params;
3087 iarg[0] = p->semid; /* int */
3088 iarg[1] = p->semnum; /* int */
3089 iarg[2] = p->cmd; /* int */
3090 uarg[3] = (intptr_t) p->arg; /* union semun * */
3091 *n_args = 4;
3092 break;
3093 }
3094 /* msgctl */
3095 case 511: {
3096 struct msgctl_args *p = params;
3097 iarg[0] = p->msqid; /* int */
3098 iarg[1] = p->cmd; /* int */
3099 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3100 *n_args = 3;
3101 break;
3102 }
3103 /* shmctl */
3104 case 512: {
3105 struct shmctl_args *p = params;
3106 iarg[0] = p->shmid; /* int */
3107 iarg[1] = p->cmd; /* int */
3108 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3109 *n_args = 3;
3110 break;
3111 }
3112 /* lpathconf */
3113 case 513: {
3114 struct lpathconf_args *p = params;
3115 uarg[0] = (intptr_t) p->path; /* char * */
3116 iarg[1] = p->name; /* int */
3117 *n_args = 2;
3118 break;
3119 }
3120 /* cap_new */
3121 case 514: {
3122 struct cap_new_args *p = params;
3123 iarg[0] = p->fd; /* int */
3124 uarg[1] = p->rights; /* uint64_t */
3125 *n_args = 2;
3126 break;
3127 }
3128 /* cap_getrights */
3129 case 515: {
3130 struct cap_getrights_args *p = params;
3131 iarg[0] = p->fd; /* int */
3132 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
3133 *n_args = 2;
3134 break;
3135 }
3136 /* cap_enter */
3137 case 516: {
3138 *n_args = 0;
3139 break;
3140 }
3141 /* cap_getmode */
3142 case 517: {
3143 struct cap_getmode_args *p = params;
3144 uarg[0] = (intptr_t) p->modep; /* u_int * */
3145 *n_args = 1;
3146 break;
3147 }
3148 /* pdfork */
3149 case 518: {
3150 struct pdfork_args *p = params;
3151 uarg[0] = (intptr_t) p->fdp; /* int * */
3152 iarg[1] = p->flags; /* int */
3153 *n_args = 2;
3154 break;
3155 }
3156 /* pdkill */
3157 case 519: {
3158 struct pdkill_args *p = params;
3159 iarg[0] = p->fd; /* int */
3160 iarg[1] = p->signum; /* int */
3161 *n_args = 2;
3162 break;
3163 }
3164 /* pdgetpid */
3165 case 520: {
3166 struct pdgetpid_args *p = params;
3167 iarg[0] = p->fd; /* int */
3168 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3169 *n_args = 2;
3170 break;
3171 }
3172 /* pselect */
3173 case 522: {
3174 struct pselect_args *p = params;
3175 iarg[0] = p->nd; /* int */
3176 uarg[1] = (intptr_t) p->in; /* fd_set * */
3177 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3178 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3179 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3180 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3181 *n_args = 6;
3182 break;
3183 }
3184 /* getloginclass */
3185 case 523: {
3186 struct getloginclass_args *p = params;
3187 uarg[0] = (intptr_t) p->namebuf; /* char * */
3188 uarg[1] = p->namelen; /* size_t */
3189 *n_args = 2;
3190 break;
3191 }
3192 /* setloginclass */
3193 case 524: {
3194 struct setloginclass_args *p = params;
3195 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3196 *n_args = 1;
3197 break;
3198 }
3199 /* rctl_get_racct */
3200 case 525: {
3201 struct rctl_get_racct_args *p = params;
3202 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3203 uarg[1] = p->inbuflen; /* size_t */
3204 uarg[2] = (intptr_t) p->outbufp; /* void * */
3205 uarg[3] = p->outbuflen; /* size_t */
3206 *n_args = 4;
3207 break;
3208 }
3209 /* rctl_get_rules */
3210 case 526: {
3211 struct rctl_get_rules_args *p = params;
3212 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3213 uarg[1] = p->inbuflen; /* size_t */
3214 uarg[2] = (intptr_t) p->outbufp; /* void * */
3215 uarg[3] = p->outbuflen; /* size_t */
3216 *n_args = 4;
3217 break;
3218 }
3219 /* rctl_get_limits */
3220 case 527: {
3221 struct rctl_get_limits_args *p = params;
3222 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3223 uarg[1] = p->inbuflen; /* size_t */
3224 uarg[2] = (intptr_t) p->outbufp; /* void * */
3225 uarg[3] = p->outbuflen; /* size_t */
3226 *n_args = 4;
3227 break;
3228 }
3229 /* rctl_add_rule */
3230 case 528: {
3231 struct rctl_add_rule_args *p = params;
3232 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3233 uarg[1] = p->inbuflen; /* size_t */
3234 uarg[2] = (intptr_t) p->outbufp; /* void * */
3235 uarg[3] = p->outbuflen; /* size_t */
3236 *n_args = 4;
3237 break;
3238 }
3239 /* rctl_remove_rule */
3240 case 529: {
3241 struct rctl_remove_rule_args *p = params;
3242 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3243 uarg[1] = p->inbuflen; /* size_t */
3244 uarg[2] = (intptr_t) p->outbufp; /* void * */
3245 uarg[3] = p->outbuflen; /* size_t */
3246 *n_args = 4;
3247 break;
3248 }
3249 /* posix_fallocate */
3250 case 530: {
3251 struct posix_fallocate_args *p = params;
3252 iarg[0] = p->fd; /* int */
3253 iarg[1] = p->offset; /* off_t */
3254 iarg[2] = p->len; /* off_t */
3255 *n_args = 3;
3256 break;
3257 }
3258 /* posix_fadvise */
3259 case 531: {
3260 struct posix_fadvise_args *p = params;
3261 iarg[0] = p->fd; /* int */
3262 iarg[1] = p->offset; /* off_t */
3263 iarg[2] = p->len; /* off_t */
3264 iarg[3] = p->advice; /* int */
3265 *n_args = 4;
3266 break;
3267 }
3268 default:
3269 *n_args = 0;
3270 break;
3271 };
3272}
3273static void
3274systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3275{
3276 const char *p = NULL;
3277 switch (sysnum) {
3278 /* nosys */
3279 case 0:
3280 break;
3281 /* sys_exit */
3282 case 1:
3283 switch(ndx) {
3284 case 0:
3285 p = "int";
3286 break;
3287 default:
3288 break;
3289 };
3290 break;
3291 /* fork */
3292 case 2:
3293 break;
3294 /* read */
3295 case 3:
3296 switch(ndx) {
3297 case 0:
3298 p = "int";
3299 break;
3300 case 1:
3301 p = "void *";
3302 break;
3303 case 2:
3304 p = "size_t";
3305 break;
3306 default:
3307 break;
3308 };
3309 break;
3310 /* write */
3311 case 4:
3312 switch(ndx) {
3313 case 0:
3314 p = "int";
3315 break;
3316 case 1:
3317 p = "const void *";
3318 break;
3319 case 2:
3320 p = "size_t";
3321 break;
3322 default:
3323 break;
3324 };
3325 break;
3326 /* open */
3327 case 5:
3328 switch(ndx) {
3329 case 0:
3330 p = "char *";
3331 break;
3332 case 1:
3333 p = "int";
3334 break;
3335 case 2:
3336 p = "int";
3337 break;
3338 default:
3339 break;
3340 };
3341 break;
3342 /* close */
3343 case 6:
3344 switch(ndx) {
3345 case 0:
3346 p = "int";
3347 break;
3348 default:
3349 break;
3350 };
3351 break;
3352 /* wait4 */
3353 case 7:
3354 switch(ndx) {
3355 case 0:
3356 p = "int";
3357 break;
3358 case 1:
3359 p = "int *";
3360 break;
3361 case 2:
3362 p = "int";
3363 break;
3364 case 3:
3365 p = "struct rusage *";
3366 break;
3367 default:
3368 break;
3369 };
3370 break;
3371 /* link */
3372 case 9:
3373 switch(ndx) {
3374 case 0:
3375 p = "char *";
3376 break;
3377 case 1:
3378 p = "char *";
3379 break;
3380 default:
3381 break;
3382 };
3383 break;
3384 /* unlink */
3385 case 10:
3386 switch(ndx) {
3387 case 0:
3388 p = "char *";
3389 break;
3390 default:
3391 break;
3392 };
3393 break;
3394 /* chdir */
3395 case 12:
3396 switch(ndx) {
3397 case 0:
3398 p = "char *";
3399 break;
3400 default:
3401 break;
3402 };
3403 break;
3404 /* fchdir */
3405 case 13:
3406 switch(ndx) {
3407 case 0:
3408 p = "int";
3409 break;
3410 default:
3411 break;
3412 };
3413 break;
3414 /* mknod */
3415 case 14:
3416 switch(ndx) {
3417 case 0:
3418 p = "char *";
3419 break;
3420 case 1:
3421 p = "int";
3422 break;
3423 case 2:
3424 p = "int";
3425 break;
3426 default:
3427 break;
3428 };
3429 break;
3430 /* chmod */
3431 case 15:
3432 switch(ndx) {
3433 case 0:
3434 p = "char *";
3435 break;
3436 case 1:
3437 p = "int";
3438 break;
3439 default:
3440 break;
3441 };
3442 break;
3443 /* chown */
3444 case 16:
3445 switch(ndx) {
3446 case 0:
3447 p = "char *";
3448 break;
3449 case 1:
3450 p = "int";
3451 break;
3452 case 2:
3453 p = "int";
3454 break;
3455 default:
3456 break;
3457 };
3458 break;
3459 /* obreak */
3460 case 17:
3461 switch(ndx) {
3462 case 0:
3463 p = "char *";
3464 break;
3465 default:
3466 break;
3467 };
3468 break;
3469 /* getpid */
3470 case 20:
3471 break;
3472 /* mount */
3473 case 21:
3474 switch(ndx) {
3475 case 0:
3476 p = "char *";
3477 break;
3478 case 1:
3479 p = "char *";
3480 break;
3481 case 2:
3482 p = "int";
3483 break;
3484 case 3:
3485 p = "caddr_t";
3486 break;
3487 default:
3488 break;
3489 };
3490 break;
3491 /* unmount */
3492 case 22:
3493 switch(ndx) {
3494 case 0:
3495 p = "char *";
3496 break;
3497 case 1:
3498 p = "int";
3499 break;
3500 default:
3501 break;
3502 };
3503 break;
3504 /* setuid */
3505 case 23:
3506 switch(ndx) {
3507 case 0:
3508 p = "uid_t";
3509 break;
3510 default:
3511 break;
3512 };
3513 break;
3514 /* getuid */
3515 case 24:
3516 break;
3517 /* geteuid */
3518 case 25:
3519 break;
3520 /* ptrace */
3521 case 26:
3522 switch(ndx) {
3523 case 0:
3524 p = "int";
3525 break;
3526 case 1:
3527 p = "pid_t";
3528 break;
3529 case 2:
3530 p = "caddr_t";
3531 break;
3532 case 3:
3533 p = "int";
3534 break;
3535 default:
3536 break;
3537 };
3538 break;
3539 /* recvmsg */
3540 case 27:
3541 switch(ndx) {
3542 case 0:
3543 p = "int";
3544 break;
3545 case 1:
3546 p = "struct msghdr *";
3547 break;
3548 case 2:
3549 p = "int";
3550 break;
3551 default:
3552 break;
3553 };
3554 break;
3555 /* sendmsg */
3556 case 28:
3557 switch(ndx) {
3558 case 0:
3559 p = "int";
3560 break;
3561 case 1:
3562 p = "struct msghdr *";
3563 break;
3564 case 2:
3565 p = "int";
3566 break;
3567 default:
3568 break;
3569 };
3570 break;
3571 /* recvfrom */
3572 case 29:
3573 switch(ndx) {
3574 case 0:
3575 p = "int";
3576 break;
3577 case 1:
3578 p = "caddr_t";
3579 break;
3580 case 2:
3581 p = "size_t";
3582 break;
3583 case 3:
3584 p = "int";
3585 break;
3586 case 4:
3587 p = "struct sockaddr *__restrict";
3588 break;
3589 case 5:
3590 p = "__socklen_t *__restrict";
3591 break;
3592 default:
3593 break;
3594 };
3595 break;
3596 /* accept */
3597 case 30:
3598 switch(ndx) {
3599 case 0:
3600 p = "int";
3601 break;
3602 case 1:
3603 p = "struct sockaddr *__restrict";
3604 break;
3605 case 2:
3606 p = "__socklen_t *__restrict";
3607 break;
3608 default:
3609 break;
3610 };
3611 break;
3612 /* getpeername */
3613 case 31:
3614 switch(ndx) {
3615 case 0:
3616 p = "int";
3617 break;
3618 case 1:
3619 p = "struct sockaddr *__restrict";
3620 break;
3621 case 2:
3622 p = "__socklen_t *__restrict";
3623 break;
3624 default:
3625 break;
3626 };
3627 break;
3628 /* getsockname */
3629 case 32:
3630 switch(ndx) {
3631 case 0:
3632 p = "int";
3633 break;
3634 case 1:
3635 p = "struct sockaddr *__restrict";
3636 break;
3637 case 2:
3638 p = "__socklen_t *__restrict";
3639 break;
3640 default:
3641 break;
3642 };
3643 break;
3644 /* access */
3645 case 33:
3646 switch(ndx) {
3647 case 0:
3648 p = "char *";
3649 break;
3650 case 1:
3651 p = "int";
3652 break;
3653 default:
3654 break;
3655 };
3656 break;
3657 /* chflags */
3658 case 34:
3659 switch(ndx) {
3660 case 0:
3661 p = "char *";
3662 break;
3663 case 1:
3664 p = "int";
3665 break;
3666 default:
3667 break;
3668 };
3669 break;
3670 /* fchflags */
3671 case 35:
3672 switch(ndx) {
3673 case 0:
3674 p = "int";
3675 break;
3676 case 1:
3677 p = "int";
3678 break;
3679 default:
3680 break;
3681 };
3682 break;
3683 /* sync */
3684 case 36:
3685 break;
3686 /* kill */
3687 case 37:
3688 switch(ndx) {
3689 case 0:
3690 p = "int";
3691 break;
3692 case 1:
3693 p = "int";
3694 break;
3695 default:
3696 break;
3697 };
3698 break;
3699 /* getppid */
3700 case 39:
3701 break;
3702 /* dup */
3703 case 41:
3704 switch(ndx) {
3705 case 0:
3706 p = "u_int";
3707 break;
3708 default:
3709 break;
3710 };
3711 break;
3712 /* pipe */
3713 case 42:
3714 break;
3715 /* getegid */
3716 case 43:
3717 break;
3718 /* profil */
3719 case 44:
3720 switch(ndx) {
3721 case 0:
3722 p = "caddr_t";
3723 break;
3724 case 1:
3725 p = "size_t";
3726 break;
3727 case 2:
3728 p = "size_t";
3729 break;
3730 case 3:
3731 p = "u_int";
3732 break;
3733 default:
3734 break;
3735 };
3736 break;
3737 /* ktrace */
3738 case 45:
3739 switch(ndx) {
3740 case 0:
3741 p = "const char *";
3742 break;
3743 case 1:
3744 p = "int";
3745 break;
3746 case 2:
3747 p = "int";
3748 break;
3749 case 3:
3750 p = "int";
3751 break;
3752 default:
3753 break;
3754 };
3755 break;
3756 /* getgid */
3757 case 47:
3758 break;
3759 /* getlogin */
3760 case 49:
3761 switch(ndx) {
3762 case 0:
3763 p = "char *";
3764 break;
3765 case 1:
3766 p = "u_int";
3767 break;
3768 default:
3769 break;
3770 };
3771 break;
3772 /* setlogin */
3773 case 50:
3774 switch(ndx) {
3775 case 0:
3776 p = "char *";
3777 break;
3778 default:
3779 break;
3780 };
3781 break;
3782 /* acct */
3783 case 51:
3784 switch(ndx) {
3785 case 0:
3786 p = "char *";
3787 break;
3788 default:
3789 break;
3790 };
3791 break;
3792 /* sigaltstack */
3793 case 53:
3794 switch(ndx) {
3795 case 0:
3796 p = "stack_t *";
3797 break;
3798 case 1:
3799 p = "stack_t *";
3800 break;
3801 default:
3802 break;
3803 };
3804 break;
3805 /* ioctl */
3806 case 54:
3807 switch(ndx) {
3808 case 0:
3809 p = "int";
3810 break;
3811 case 1:
3812 p = "u_long";
3813 break;
3814 case 2:
3815 p = "caddr_t";
3816 break;
3817 default:
3818 break;
3819 };
3820 break;
3821 /* reboot */
3822 case 55:
3823 switch(ndx) {
3824 case 0:
3825 p = "int";
3826 break;
3827 default:
3828 break;
3829 };
3830 break;
3831 /* revoke */
3832 case 56:
3833 switch(ndx) {
3834 case 0:
3835 p = "char *";
3836 break;
3837 default:
3838 break;
3839 };
3840 break;
3841 /* symlink */
3842 case 57:
3843 switch(ndx) {
3844 case 0:
3845 p = "char *";
3846 break;
3847 case 1:
3848 p = "char *";
3849 break;
3850 default:
3851 break;
3852 };
3853 break;
3854 /* readlink */
3855 case 58:
3856 switch(ndx) {
3857 case 0:
3858 p = "char *";
3859 break;
3860 case 1:
3861 p = "char *";
3862 break;
3863 case 2:
3864 p = "size_t";
3865 break;
3866 default:
3867 break;
3868 };
3869 break;
3870 /* execve */
3871 case 59:
3872 switch(ndx) {
3873 case 0:
3874 p = "char *";
3875 break;
3876 case 1:
3877 p = "char **";
3878 break;
3879 case 2:
3880 p = "char **";
3881 break;
3882 default:
3883 break;
3884 };
3885 break;
3886 /* umask */
3887 case 60:
3888 switch(ndx) {
3889 case 0:
3890 p = "int";
3891 break;
3892 default:
3893 break;
3894 };
3895 break;
3896 /* chroot */
3897 case 61:
3898 switch(ndx) {
3899 case 0:
3900 p = "char *";
3901 break;
3902 default:
3903 break;
3904 };
3905 break;
3906 /* msync */
3907 case 65:
3908 switch(ndx) {
3909 case 0:
3910 p = "void *";
3911 break;
3912 case 1:
3913 p = "size_t";
3914 break;
3915 case 2:
3916 p = "int";
3917 break;
3918 default:
3919 break;
3920 };
3921 break;
3922 /* vfork */
3923 case 66:
3924 break;
3925 /* sbrk */
3926 case 69:
3927 switch(ndx) {
3928 case 0:
3929 p = "int";
3930 break;
3931 default:
3932 break;
3933 };
3934 break;
3935 /* sstk */
3936 case 70:
3937 switch(ndx) {
3938 case 0:
3939 p = "int";
3940 break;
3941 default:
3942 break;
3943 };
3944 break;
3945 /* ovadvise */
3946 case 72:
3947 switch(ndx) {
3948 case 0:
3949 p = "int";
3950 break;
3951 default:
3952 break;
3953 };
3954 break;
3955 /* munmap */
3956 case 73:
3957 switch(ndx) {
3958 case 0:
3959 p = "void *";
3960 break;
3961 case 1:
3962 p = "size_t";
3963 break;
3964 default:
3965 break;
3966 };
3967 break;
3968 /* mprotect */
3969 case 74:
3970 switch(ndx) {
3971 case 0:
3972 p = "const void *";
3973 break;
3974 case 1:
3975 p = "size_t";
3976 break;
3977 case 2:
3978 p = "int";
3979 break;
3980 default:
3981 break;
3982 };
3983 break;
3984 /* madvise */
3985 case 75:
3986 switch(ndx) {
3987 case 0:
3988 p = "void *";
3989 break;
3990 case 1:
3991 p = "size_t";
3992 break;
3993 case 2:
3994 p = "int";
3995 break;
3996 default:
3997 break;
3998 };
3999 break;
4000 /* mincore */
4001 case 78:
4002 switch(ndx) {
4003 case 0:
4004 p = "const void *";
4005 break;
4006 case 1:
4007 p = "size_t";
4008 break;
4009 case 2:
4010 p = "char *";
4011 break;
4012 default:
4013 break;
4014 };
4015 break;
4016 /* getgroups */
4017 case 79:
4018 switch(ndx) {
4019 case 0:
4020 p = "u_int";
4021 break;
4022 case 1:
4023 p = "gid_t *";
4024 break;
4025 default:
4026 break;
4027 };
4028 break;
4029 /* setgroups */
4030 case 80:
4031 switch(ndx) {
4032 case 0:
4033 p = "u_int";
4034 break;
4035 case 1:
4036 p = "gid_t *";
4037 break;
4038 default:
4039 break;
4040 };
4041 break;
4042 /* getpgrp */
4043 case 81:
4044 break;
4045 /* setpgid */
4046 case 82:
4047 switch(ndx) {
4048 case 0:
4049 p = "int";
4050 break;
4051 case 1:
4052 p = "int";
4053 break;
4054 default:
4055 break;
4056 };
4057 break;
4058 /* setitimer */
4059 case 83:
4060 switch(ndx) {
4061 case 0:
4062 p = "u_int";
4063 break;
4064 case 1:
4065 p = "struct itimerval *";
4066 break;
4067 case 2:
4068 p = "struct itimerval *";
4069 break;
4070 default:
4071 break;
4072 };
4073 break;
4074 /* swapon */
4075 case 85:
4076 switch(ndx) {
4077 case 0:
4078 p = "char *";
4079 break;
4080 default:
4081 break;
4082 };
4083 break;
4084 /* getitimer */
4085 case 86:
4086 switch(ndx) {
4087 case 0:
4088 p = "u_int";
4089 break;
4090 case 1:
4091 p = "struct itimerval *";
4092 break;
4093 default:
4094 break;
4095 };
4096 break;
4097 /* getdtablesize */
4098 case 89:
4099 break;
4100 /* dup2 */
4101 case 90:
4102 switch(ndx) {
4103 case 0:
4104 p = "u_int";
4105 break;
4106 case 1:
4107 p = "u_int";
4108 break;
4109 default:
4110 break;
4111 };
4112 break;
4113 /* fcntl */
4114 case 92:
4115 switch(ndx) {
4116 case 0:
4117 p = "int";
4118 break;
4119 case 1:
4120 p = "int";
4121 break;
4122 case 2:
4123 p = "long";
4124 break;
4125 default:
4126 break;
4127 };
4128 break;
4129 /* select */
4130 case 93:
4131 switch(ndx) {
4132 case 0:
4133 p = "int";
4134 break;
4135 case 1:
4136 p = "fd_set *";
4137 break;
4138 case 2:
4139 p = "fd_set *";
4140 break;
4141 case 3:
4142 p = "fd_set *";
4143 break;
4144 case 4:
4145 p = "struct timeval *";
4146 break;
4147 default:
4148 break;
4149 };
4150 break;
4151 /* fsync */
4152 case 95:
4153 switch(ndx) {
4154 case 0:
4155 p = "int";
4156 break;
4157 default:
4158 break;
4159 };
4160 break;
4161 /* setpriority */
4162 case 96:
4163 switch(ndx) {
4164 case 0:
4165 p = "int";
4166 break;
4167 case 1:
4168 p = "int";
4169 break;
4170 case 2:
4171 p = "int";
4172 break;
4173 default:
4174 break;
4175 };
4176 break;
4177 /* socket */
4178 case 97:
4179 switch(ndx) {
4180 case 0:
4181 p = "int";
4182 break;
4183 case 1:
4184 p = "int";
4185 break;
4186 case 2:
4187 p = "int";
4188 break;
4189 default:
4190 break;
4191 };
4192 break;
4193 /* connect */
4194 case 98:
4195 switch(ndx) {
4196 case 0:
4197 p = "int";
4198 break;
4199 case 1:
4200 p = "caddr_t";
4201 break;
4202 case 2:
4203 p = "int";
4204 break;
4205 default:
4206 break;
4207 };
4208 break;
4209 /* getpriority */
4210 case 100:
4211 switch(ndx) {
4212 case 0:
4213 p = "int";
4214 break;
4215 case 1:
4216 p = "int";
4217 break;
4218 default:
4219 break;
4220 };
4221 break;
4222 /* bind */
4223 case 104:
4224 switch(ndx) {
4225 case 0:
4226 p = "int";
4227 break;
4228 case 1:
4229 p = "caddr_t";
4230 break;
4231 case 2:
4232 p = "int";
4233 break;
4234 default:
4235 break;
4236 };
4237 break;
4238 /* setsockopt */
4239 case 105:
4240 switch(ndx) {
4241 case 0:
4242 p = "int";
4243 break;
4244 case 1:
4245 p = "int";
4246 break;
4247 case 2:
4248 p = "int";
4249 break;
4250 case 3:
4251 p = "caddr_t";
4252 break;
4253 case 4:
4254 p = "int";
4255 break;
4256 default:
4257 break;
4258 };
4259 break;
4260 /* listen */
4261 case 106:
4262 switch(ndx) {
4263 case 0:
4264 p = "int";
4265 break;
4266 case 1:
4267 p = "int";
4268 break;
4269 default:
4270 break;
4271 };
4272 break;
4273 /* gettimeofday */
4274 case 116:
4275 switch(ndx) {
4276 case 0:
4277 p = "struct timeval *";
4278 break;
4279 case 1:
4280 p = "struct timezone *";
4281 break;
4282 default:
4283 break;
4284 };
4285 break;
4286 /* getrusage */
4287 case 117:
4288 switch(ndx) {
4289 case 0:
4290 p = "int";
4291 break;
4292 case 1:
4293 p = "struct rusage *";
4294 break;
4295 default:
4296 break;
4297 };
4298 break;
4299 /* getsockopt */
4300 case 118:
4301 switch(ndx) {
4302 case 0:
4303 p = "int";
4304 break;
4305 case 1:
4306 p = "int";
4307 break;
4308 case 2:
4309 p = "int";
4310 break;
4311 case 3:
4312 p = "caddr_t";
4313 break;
4314 case 4:
4315 p = "int *";
4316 break;
4317 default:
4318 break;
4319 };
4320 break;
4321 /* readv */
4322 case 120:
4323 switch(ndx) {
4324 case 0:
4325 p = "int";
4326 break;
4327 case 1:
4328 p = "struct iovec *";
4329 break;
4330 case 2:
4331 p = "u_int";
4332 break;
4333 default:
4334 break;
4335 };
4336 break;
4337 /* writev */
4338 case 121:
4339 switch(ndx) {
4340 case 0:
4341 p = "int";
4342 break;
4343 case 1:
4344 p = "struct iovec *";
4345 break;
4346 case 2:
4347 p = "u_int";
4348 break;
4349 default:
4350 break;
4351 };
4352 break;
4353 /* settimeofday */
4354 case 122:
4355 switch(ndx) {
4356 case 0:
4357 p = "struct timeval *";
4358 break;
4359 case 1:
4360 p = "struct timezone *";
4361 break;
4362 default:
4363 break;
4364 };
4365 break;
4366 /* fchown */
4367 case 123:
4368 switch(ndx) {
4369 case 0:
4370 p = "int";
4371 break;
4372 case 1:
4373 p = "int";
4374 break;
4375 case 2:
4376 p = "int";
4377 break;
4378 default:
4379 break;
4380 };
4381 break;
4382 /* fchmod */
4383 case 124:
4384 switch(ndx) {
4385 case 0:
4386 p = "int";
4387 break;
4388 case 1:
4389 p = "int";
4390 break;
4391 default:
4392 break;
4393 };
4394 break;
4395 /* setreuid */
4396 case 126:
4397 switch(ndx) {
4398 case 0:
4399 p = "int";
4400 break;
4401 case 1:
4402 p = "int";
4403 break;
4404 default:
4405 break;
4406 };
4407 break;
4408 /* setregid */
4409 case 127:
4410 switch(ndx) {
4411 case 0:
4412 p = "int";
4413 break;
4414 case 1:
4415 p = "int";
4416 break;
4417 default:
4418 break;
4419 };
4420 break;
4421 /* rename */
4422 case 128:
4423 switch(ndx) {
4424 case 0:
4425 p = "char *";
4426 break;
4427 case 1:
4428 p = "char *";
4429 break;
4430 default:
4431 break;
4432 };
4433 break;
4434 /* flock */
4435 case 131:
4436 switch(ndx) {
4437 case 0:
4438 p = "int";
4439 break;
4440 case 1:
4441 p = "int";
4442 break;
4443 default:
4444 break;
4445 };
4446 break;
4447 /* mkfifo */
4448 case 132:
4449 switch(ndx) {
4450 case 0:
4451 p = "char *";
4452 break;
4453 case 1:
4454 p = "int";
4455 break;
4456 default:
4457 break;
4458 };
4459 break;
4460 /* sendto */
4461 case 133:
4462 switch(ndx) {
4463 case 0:
4464 p = "int";
4465 break;
4466 case 1:
4467 p = "caddr_t";
4468 break;
4469 case 2:
4470 p = "size_t";
4471 break;
4472 case 3:
4473 p = "int";
4474 break;
4475 case 4:
4476 p = "caddr_t";
4477 break;
4478 case 5:
4479 p = "int";
4480 break;
4481 default:
4482 break;
4483 };
4484 break;
4485 /* shutdown */
4486 case 134:
4487 switch(ndx) {
4488 case 0:
4489 p = "int";
4490 break;
4491 case 1:
4492 p = "int";
4493 break;
4494 default:
4495 break;
4496 };
4497 break;
4498 /* socketpair */
4499 case 135:
4500 switch(ndx) {
4501 case 0:
4502 p = "int";
4503 break;
4504 case 1:
4505 p = "int";
4506 break;
4507 case 2:
4508 p = "int";
4509 break;
4510 case 3:
4511 p = "int *";
4512 break;
4513 default:
4514 break;
4515 };
4516 break;
4517 /* mkdir */
4518 case 136:
4519 switch(ndx) {
4520 case 0:
4521 p = "char *";
4522 break;
4523 case 1:
4524 p = "int";
4525 break;
4526 default:
4527 break;
4528 };
4529 break;
4530 /* rmdir */
4531 case 137:
4532 switch(ndx) {
4533 case 0:
4534 p = "char *";
4535 break;
4536 default:
4537 break;
4538 };
4539 break;
4540 /* utimes */
4541 case 138:
4542 switch(ndx) {
4543 case 0:
4544 p = "char *";
4545 break;
4546 case 1:
4547 p = "struct timeval *";
4548 break;
4549 default:
4550 break;
4551 };
4552 break;
4553 /* adjtime */
4554 case 140:
4555 switch(ndx) {
4556 case 0:
4557 p = "struct timeval *";
4558 break;
4559 case 1:
4560 p = "struct timeval *";
4561 break;
4562 default:
4563 break;
4564 };
4565 break;
4566 /* setsid */
4567 case 147:
4568 break;
4569 /* quotactl */
4570 case 148:
4571 switch(ndx) {
4572 case 0:
4573 p = "char *";
4574 break;
4575 case 1:
4576 p = "int";
4577 break;
4578 case 2:
4579 p = "int";
4580 break;
4581 case 3:
4582 p = "caddr_t";
4583 break;
4584 default:
4585 break;
4586 };
4587 break;
4588 /* nlm_syscall */
4589 case 154:
4590 switch(ndx) {
4591 case 0:
4592 p = "int";
4593 break;
4594 case 1:
4595 p = "int";
4596 break;
4597 case 2:
4598 p = "int";
4599 break;
4600 case 3:
4601 p = "char **";
4602 break;
4603 default:
4604 break;
4605 };
4606 break;
4607 /* nfssvc */
4608 case 155:
4609 switch(ndx) {
4610 case 0:
4611 p = "int";
4612 break;
4613 case 1:
4614 p = "caddr_t";
4615 break;
4616 default:
4617 break;
4618 };
4619 break;
4620 /* lgetfh */
4621 case 160:
4622 switch(ndx) {
4623 case 0:
4624 p = "char *";
4625 break;
4626 case 1:
4627 p = "struct fhandle *";
4628 break;
4629 default:
4630 break;
4631 };
4632 break;
4633 /* getfh */
4634 case 161:
4635 switch(ndx) {
4636 case 0:
4637 p = "char *";
4638 break;
4639 case 1:
4640 p = "struct fhandle *";
4641 break;
4642 default:
4643 break;
4644 };
4645 break;
4646 /* sysarch */
4647 case 165:
4648 switch(ndx) {
4649 case 0:
4650 p = "int";
4651 break;
4652 case 1:
4653 p = "char *";
4654 break;
4655 default:
4656 break;
4657 };
4658 break;
4659 /* rtprio */
4660 case 166:
4661 switch(ndx) {
4662 case 0:
4663 p = "int";
4664 break;
4665 case 1:
4666 p = "pid_t";
4667 break;
4668 case 2:
4669 p = "struct rtprio *";
4670 break;
4671 default:
4672 break;
4673 };
4674 break;
4675 /* semsys */
4676 case 169:
4677 switch(ndx) {
4678 case 0:
4679 p = "int";
4680 break;
4681 case 1:
4682 p = "int";
4683 break;
4684 case 2:
4685 p = "int";
4686 break;
4687 case 3:
4688 p = "int";
4689 break;
4690 case 4:
4691 p = "int";
4692 break;
4693 default:
4694 break;
4695 };
4696 break;
4697 /* msgsys */
4698 case 170:
4699 switch(ndx) {
4700 case 0:
4701 p = "int";
4702 break;
4703 case 1:
4704 p = "int";
4705 break;
4706 case 2:
4707 p = "int";
4708 break;
4709 case 3:
4710 p = "int";
4711 break;
4712 case 4:
4713 p = "int";
4714 break;
4715 case 5:
4716 p = "int";
4717 break;
4718 default:
4719 break;
4720 };
4721 break;
4722 /* shmsys */
4723 case 171:
4724 switch(ndx) {
4725 case 0:
4726 p = "int";
4727 break;
4728 case 1:
4729 p = "int";
4730 break;
4731 case 2:
4732 p = "int";
4733 break;
4734 case 3:
4735 p = "int";
4736 break;
4737 default:
4738 break;
4739 };
4740 break;
4741 /* freebsd6_pread */
4742 case 173:
4743 switch(ndx) {
4744 case 0:
4745 p = "int";
4746 break;
4747 case 1:
4748 p = "void *";
4749 break;
4750 case 2:
4751 p = "size_t";
4752 break;
4753 case 3:
4754 p = "int";
4755 break;
4756 case 4:
4757 p = "off_t";
4758 break;
4759 default:
4760 break;
4761 };
4762 break;
4763 /* freebsd6_pwrite */
4764 case 174:
4765 switch(ndx) {
4766 case 0:
4767 p = "int";
4768 break;
4769 case 1:
4770 p = "const void *";
4771 break;
4772 case 2:
4773 p = "size_t";
4774 break;
4775 case 3:
4776 p = "int";
4777 break;
4778 case 4:
4779 p = "off_t";
4780 break;
4781 default:
4782 break;
4783 };
4784 break;
4785 /* setfib */
4786 case 175:
4787 switch(ndx) {
4788 case 0:
4789 p = "int";
4790 break;
4791 default:
4792 break;
4793 };
4794 break;
4795 /* ntp_adjtime */
4796 case 176:
4797 switch(ndx) {
4798 case 0:
4799 p = "struct timex *";
4800 break;
4801 default:
4802 break;
4803 };
4804 break;
4805 /* setgid */
4806 case 181:
4807 switch(ndx) {
4808 case 0:
4809 p = "gid_t";
4810 break;
4811 default:
4812 break;
4813 };
4814 break;
4815 /* setegid */
4816 case 182:
4817 switch(ndx) {
4818 case 0:
4819 p = "gid_t";
4820 break;
4821 default:
4822 break;
4823 };
4824 break;
4825 /* seteuid */
4826 case 183:
4827 switch(ndx) {
4828 case 0:
4829 p = "uid_t";
4830 break;
4831 default:
4832 break;
4833 };
4834 break;
4835 /* stat */
4836 case 188:
4837 switch(ndx) {
4838 case 0:
4839 p = "char *";
4840 break;
4841 case 1:
4842 p = "struct stat *";
4843 break;
4844 default:
4845 break;
4846 };
4847 break;
4848 /* fstat */
4849 case 189:
4850 switch(ndx) {
4851 case 0:
4852 p = "int";
4853 break;
4854 case 1:
4855 p = "struct stat *";
4856 break;
4857 default:
4858 break;
4859 };
4860 break;
4861 /* lstat */
4862 case 190:
4863 switch(ndx) {
4864 case 0:
4865 p = "char *";
4866 break;
4867 case 1:
4868 p = "struct stat *";
4869 break;
4870 default:
4871 break;
4872 };
4873 break;
4874 /* pathconf */
4875 case 191:
4876 switch(ndx) {
4877 case 0:
4878 p = "char *";
4879 break;
4880 case 1:
4881 p = "int";
4882 break;
4883 default:
4884 break;
4885 };
4886 break;
4887 /* fpathconf */
4888 case 192:
4889 switch(ndx) {
4890 case 0:
4891 p = "int";
4892 break;
4893 case 1:
4894 p = "int";
4895 break;
4896 default:
4897 break;
4898 };
4899 break;
4900 /* getrlimit */
4901 case 194:
4902 switch(ndx) {
4903 case 0:
4904 p = "u_int";
4905 break;
4906 case 1:
4907 p = "struct rlimit *";
4908 break;
4909 default:
4910 break;
4911 };
4912 break;
4913 /* setrlimit */
4914 case 195:
4915 switch(ndx) {
4916 case 0:
4917 p = "u_int";
4918 break;
4919 case 1:
4920 p = "struct rlimit *";
4921 break;
4922 default:
4923 break;
4924 };
4925 break;
4926 /* getdirentries */
4927 case 196:
4928 switch(ndx) {
4929 case 0:
4930 p = "int";
4931 break;
4932 case 1:
4933 p = "char *";
4934 break;
4935 case 2:
4936 p = "u_int";
4937 break;
4938 case 3:
4939 p = "long *";
4940 break;
4941 default:
4942 break;
4943 };
4944 break;
4945 /* freebsd6_mmap */
4946 case 197:
4947 switch(ndx) {
4948 case 0:
4949 p = "caddr_t";
4950 break;
4951 case 1:
4952 p = "size_t";
4953 break;
4954 case 2:
4955 p = "int";
4956 break;
4957 case 3:
4958 p = "int";
4959 break;
4960 case 4:
4961 p = "int";
4962 break;
4963 case 5:
4964 p = "int";
4965 break;
4966 case 6:
4967 p = "off_t";
4968 break;
4969 default:
4970 break;
4971 };
4972 break;
4973 /* nosys */
4974 case 198:
4975 break;
4976 /* freebsd6_lseek */
4977 case 199:
4978 switch(ndx) {
4979 case 0:
4980 p = "int";
4981 break;
4982 case 1:
4983 p = "int";
4984 break;
4985 case 2:
4986 p = "off_t";
4987 break;
4988 case 3:
4989 p = "int";
4990 break;
4991 default:
4992 break;
4993 };
4994 break;
4995 /* freebsd6_truncate */
4996 case 200:
4997 switch(ndx) {
4998 case 0:
4999 p = "char *";
5000 break;
5001 case 1:
5002 p = "int";
5003 break;
5004 case 2:
5005 p = "off_t";
5006 break;
5007 default:
5008 break;
5009 };
5010 break;
5011 /* freebsd6_ftruncate */
5012 case 201:
5013 switch(ndx) {
5014 case 0:
5015 p = "int";
5016 break;
5017 case 1:
5018 p = "int";
5019 break;
5020 case 2:
5021 p = "off_t";
5022 break;
5023 default:
5024 break;
5025 };
5026 break;
5027 /* __sysctl */
5028 case 202:
5029 switch(ndx) {
5030 case 0:
5031 p = "int *";
5032 break;
5033 case 1:
5034 p = "u_int";
5035 break;
5036 case 2:
5037 p = "void *";
5038 break;
5039 case 3:
5040 p = "size_t *";
5041 break;
5042 case 4:
5043 p = "void *";
5044 break;
5045 case 5:
5046 p = "size_t";
5047 break;
5048 default:
5049 break;
5050 };
5051 break;
5052 /* mlock */
5053 case 203:
5054 switch(ndx) {
5055 case 0:
5056 p = "const void *";
5057 break;
5058 case 1:
5059 p = "size_t";
5060 break;
5061 default:
5062 break;
5063 };
5064 break;
5065 /* munlock */
5066 case 204:
5067 switch(ndx) {
5068 case 0:
5069 p = "const void *";
5070 break;
5071 case 1:
5072 p = "size_t";
5073 break;
5074 default:
5075 break;
5076 };
5077 break;
5078 /* undelete */
5079 case 205:
5080 switch(ndx) {
5081 case 0:
5082 p = "char *";
5083 break;
5084 default:
5085 break;
5086 };
5087 break;
5088 /* futimes */
5089 case 206:
5090 switch(ndx) {
5091 case 0:
5092 p = "int";
5093 break;
5094 case 1:
5095 p = "struct timeval *";
5096 break;
5097 default:
5098 break;
5099 };
5100 break;
5101 /* getpgid */
5102 case 207:
5103 switch(ndx) {
5104 case 0:
5105 p = "pid_t";
5106 break;
5107 default:
5108 break;
5109 };
5110 break;
5111 /* poll */
5112 case 209:
5113 switch(ndx) {
5114 case 0:
5115 p = "struct pollfd *";
5116 break;
5117 case 1:
5118 p = "u_int";
5119 break;
5120 case 2:
5121 p = "int";
5122 break;
5123 default:
5124 break;
5125 };
5126 break;
5127 /* lkmnosys */
5128 case 210:
5129 break;
5130 /* lkmnosys */
5131 case 211:
5132 break;
5133 /* lkmnosys */
5134 case 212:
5135 break;
5136 /* lkmnosys */
5137 case 213:
5138 break;
5139 /* lkmnosys */
5140 case 214:
5141 break;
5142 /* lkmnosys */
5143 case 215:
5144 break;
5145 /* lkmnosys */
5146 case 216:
5147 break;
5148 /* lkmnosys */
5149 case 217:
5150 break;
5151 /* lkmnosys */
5152 case 218:
5153 break;
5154 /* lkmnosys */
5155 case 219:
5156 break;
5157 /* semget */
5158 case 221:
5159 switch(ndx) {
5160 case 0:
5161 p = "key_t";
5162 break;
5163 case 1:
5164 p = "int";
5165 break;
5166 case 2:
5167 p = "int";
5168 break;
5169 default:
5170 break;
5171 };
5172 break;
5173 /* semop */
5174 case 222:
5175 switch(ndx) {
5176 case 0:
5177 p = "int";
5178 break;
5179 case 1:
5180 p = "struct sembuf *";
5181 break;
5182 case 2:
5183 p = "size_t";
5184 break;
5185 default:
5186 break;
5187 };
5188 break;
5189 /* msgget */
5190 case 225:
5191 switch(ndx) {
5192 case 0:
5193 p = "key_t";
5194 break;
5195 case 1:
5196 p = "int";
5197 break;
5198 default:
5199 break;
5200 };
5201 break;
5202 /* msgsnd */
5203 case 226:
5204 switch(ndx) {
5205 case 0:
5206 p = "int";
5207 break;
5208 case 1:
5209 p = "const void *";
5210 break;
5211 case 2:
5212 p = "size_t";
5213 break;
5214 case 3:
5215 p = "int";
5216 break;
5217 default:
5218 break;
5219 };
5220 break;
5221 /* msgrcv */
5222 case 227:
5223 switch(ndx) {
5224 case 0:
5225 p = "int";
5226 break;
5227 case 1:
5228 p = "void *";
5229 break;
5230 case 2:
5231 p = "size_t";
5232 break;
5233 case 3:
5234 p = "long";
5235 break;
5236 case 4:
5237 p = "int";
5238 break;
5239 default:
5240 break;
5241 };
5242 break;
5243 /* shmat */
5244 case 228:
5245 switch(ndx) {
5246 case 0:
5247 p = "int";
5248 break;
5249 case 1:
5250 p = "const void *";
5251 break;
5252 case 2:
5253 p = "int";
5254 break;
5255 default:
5256 break;
5257 };
5258 break;
5259 /* shmdt */
5260 case 230:
5261 switch(ndx) {
5262 case 0:
5263 p = "const void *";
5264 break;
5265 default:
5266 break;
5267 };
5268 break;
5269 /* shmget */
5270 case 231:
5271 switch(ndx) {
5272 case 0:
5273 p = "key_t";
5274 break;
5275 case 1:
5276 p = "size_t";
5277 break;
5278 case 2:
5279 p = "int";
5280 break;
5281 default:
5282 break;
5283 };
5284 break;
5285 /* clock_gettime */
5286 case 232:
5287 switch(ndx) {
5288 case 0:
5289 p = "clockid_t";
5290 break;
5291 case 1:
5292 p = "struct timespec *";
5293 break;
5294 default:
5295 break;
5296 };
5297 break;
5298 /* clock_settime */
5299 case 233:
5300 switch(ndx) {
5301 case 0:
5302 p = "clockid_t";
5303 break;
5304 case 1:
5305 p = "const struct timespec *";
5306 break;
5307 default:
5308 break;
5309 };
5310 break;
5311 /* clock_getres */
5312 case 234:
5313 switch(ndx) {
5314 case 0:
5315 p = "clockid_t";
5316 break;
5317 case 1:
5318 p = "struct timespec *";
5319 break;
5320 default:
5321 break;
5322 };
5323 break;
5324 /* ktimer_create */
5325 case 235:
5326 switch(ndx) {
5327 case 0:
5328 p = "clockid_t";
5329 break;
5330 case 1:
5331 p = "struct sigevent *";
5332 break;
5333 case 2:
5334 p = "int *";
5335 break;
5336 default:
5337 break;
5338 };
5339 break;
5340 /* ktimer_delete */
5341 case 236:
5342 switch(ndx) {
5343 case 0:
5344 p = "int";
5345 break;
5346 default:
5347 break;
5348 };
5349 break;
5350 /* ktimer_settime */
5351 case 237:
5352 switch(ndx) {
5353 case 0:
5354 p = "int";
5355 break;
5356 case 1:
5357 p = "int";
5358 break;
5359 case 2:
5360 p = "const struct itimerspec *";
5361 break;
5362 case 3:
5363 p = "struct itimerspec *";
5364 break;
5365 default:
5366 break;
5367 };
5368 break;
5369 /* ktimer_gettime */
5370 case 238:
5371 switch(ndx) {
5372 case 0:
5373 p = "int";
5374 break;
5375 case 1:
5376 p = "struct itimerspec *";
5377 break;
5378 default:
5379 break;
5380 };
5381 break;
5382 /* ktimer_getoverrun */
5383 case 239:
5384 switch(ndx) {
5385 case 0:
5386 p = "int";
5387 break;
5388 default:
5389 break;
5390 };
5391 break;
5392 /* nanosleep */
5393 case 240:
5394 switch(ndx) {
5395 case 0:
5396 p = "const struct timespec *";
5397 break;
5398 case 1:
5399 p = "struct timespec *";
5400 break;
5401 default:
5402 break;
5403 };
5404 break;
5405 /* ffclock_getcounter */
5406 case 241:
5407 switch(ndx) {
5408 case 0:
5409 p = "ffcounter *";
5410 break;
5411 default:
5412 break;
5413 };
5414 break;
5415 /* ffclock_setestimate */
5416 case 242:
5417 switch(ndx) {
5418 case 0:
5419 p = "struct ffclock_estimate *";
5420 break;
5421 default:
5422 break;
5423 };
5424 break;
5425 /* ffclock_getestimate */
5426 case 243:
5427 switch(ndx) {
5428 case 0:
5429 p = "struct ffclock_estimate *";
5430 break;
5431 default:
5432 break;
5433 };
5434 break;
5435 /* ntp_gettime */
5436 case 248:
5437 switch(ndx) {
5438 case 0:
5439 p = "struct ntptimeval *";
5440 break;
5441 default:
5442 break;
5443 };
5444 break;
5445 /* minherit */
5446 case 250:
5447 switch(ndx) {
5448 case 0:
5449 p = "void *";
5450 break;
5451 case 1:
5452 p = "size_t";
5453 break;
5454 case 2:
5455 p = "int";
5456 break;
5457 default:
5458 break;
5459 };
5460 break;
5461 /* rfork */
5462 case 251:
5463 switch(ndx) {
5464 case 0:
5465 p = "int";
5466 break;
5467 default:
5468 break;
5469 };
5470 break;
5471 /* openbsd_poll */
5472 case 252:
5473 switch(ndx) {
5474 case 0:
5475 p = "struct pollfd *";
5476 break;
5477 case 1:
5478 p = "u_int";
5479 break;
5480 case 2:
5481 p = "int";
5482 break;
5483 default:
5484 break;
5485 };
5486 break;
5487 /* issetugid */
5488 case 253:
5489 break;
5490 /* lchown */
5491 case 254:
5492 switch(ndx) {
5493 case 0:
5494 p = "char *";
5495 break;
5496 case 1:
5497 p = "int";
5498 break;
5499 case 2:
5500 p = "int";
5501 break;
5502 default:
5503 break;
5504 };
5505 break;
5506 /* aio_read */
5507 case 255:
5508 switch(ndx) {
5509 case 0:
5510 p = "struct aiocb *";
5511 break;
5512 default:
5513 break;
5514 };
5515 break;
5516 /* aio_write */
5517 case 256:
5518 switch(ndx) {
5519 case 0:
5520 p = "struct aiocb *";
5521 break;
5522 default:
5523 break;
5524 };
5525 break;
5526 /* lio_listio */
5527 case 257:
5528 switch(ndx) {
5529 case 0:
5530 p = "int";
5531 break;
5532 case 1:
5533 p = "struct aiocb *const *";
5534 break;
5535 case 2:
5536 p = "int";
5537 break;
5538 case 3:
5539 p = "struct sigevent *";
5540 break;
5541 default:
5542 break;
5543 };
5544 break;
5545 /* getdents */
5546 case 272:
5547 switch(ndx) {
5548 case 0:
5549 p = "int";
5550 break;
5551 case 1:
5552 p = "char *";
5553 break;
5554 case 2:
5555 p = "size_t";
5556 break;
5557 default:
5558 break;
5559 };
5560 break;
5561 /* lchmod */
5562 case 274:
5563 switch(ndx) {
5564 case 0:
5565 p = "char *";
5566 break;
5567 case 1:
5568 p = "mode_t";
5569 break;
5570 default:
5571 break;
5572 };
5573 break;
5574 /* lchown */
5575 case 275:
5576 switch(ndx) {
5577 case 0:
5578 p = "char *";
5579 break;
5580 case 1:
5581 p = "uid_t";
5582 break;
5583 case 2:
5584 p = "gid_t";
5585 break;
5586 default:
5587 break;
5588 };
5589 break;
5590 /* lutimes */
5591 case 276:
5592 switch(ndx) {
5593 case 0:
5594 p = "char *";
5595 break;
5596 case 1:
5597 p = "struct timeval *";
5598 break;
5599 default:
5600 break;
5601 };
5602 break;
5603 /* msync */
5604 case 277:
5605 switch(ndx) {
5606 case 0:
5607 p = "void *";
5608 break;
5609 case 1:
5610 p = "size_t";
5611 break;
5612 case 2:
5613 p = "int";
5614 break;
5615 default:
5616 break;
5617 };
5618 break;
5619 /* nstat */
5620 case 278:
5621 switch(ndx) {
5622 case 0:
5623 p = "char *";
5624 break;
5625 case 1:
5626 p = "struct nstat *";
5627 break;
5628 default:
5629 break;
5630 };
5631 break;
5632 /* nfstat */
5633 case 279:
5634 switch(ndx) {
5635 case 0:
5636 p = "int";
5637 break;
5638 case 1:
5639 p = "struct nstat *";
5640 break;
5641 default:
5642 break;
5643 };
5644 break;
5645 /* nlstat */
5646 case 280:
5647 switch(ndx) {
5648 case 0:
5649 p = "char *";
5650 break;
5651 case 1:
5652 p = "struct nstat *";
5653 break;
5654 default:
5655 break;
5656 };
5657 break;
5658 /* preadv */
5659 case 289:
5660 switch(ndx) {
5661 case 0:
5662 p = "int";
5663 break;
5664 case 1:
5665 p = "struct iovec *";
5666 break;
5667 case 2:
5668 p = "u_int";
5669 break;
5670 case 3:
5671 p = "off_t";
5672 break;
5673 default:
5674 break;
5675 };
5676 break;
5677 /* pwritev */
5678 case 290:
5679 switch(ndx) {
5680 case 0:
5681 p = "int";
5682 break;
5683 case 1:
5684 p = "struct iovec *";
5685 break;
5686 case 2:
5687 p = "u_int";
5688 break;
5689 case 3:
5690 p = "off_t";
5691 break;
5692 default:
5693 break;
5694 };
5695 break;
5696 /* fhopen */
5697 case 298:
5698 switch(ndx) {
5699 case 0:
5700 p = "const struct fhandle *";
5701 break;
5702 case 1:
5703 p = "int";
5704 break;
5705 default:
5706 break;
5707 };
5708 break;
5709 /* fhstat */
5710 case 299:
5711 switch(ndx) {
5712 case 0:
5713 p = "const struct fhandle *";
5714 break;
5715 case 1:
5716 p = "struct stat *";
5717 break;
5718 default:
5719 break;
5720 };
5721 break;
5722 /* modnext */
5723 case 300:
5724 switch(ndx) {
5725 case 0:
5726 p = "int";
5727 break;
5728 default:
5729 break;
5730 };
5731 break;
5732 /* modstat */
5733 case 301:
5734 switch(ndx) {
5735 case 0:
5736 p = "int";
5737 break;
5738 case 1:
5739 p = "struct module_stat *";
5740 break;
5741 default:
5742 break;
5743 };
5744 break;
5745 /* modfnext */
5746 case 302:
5747 switch(ndx) {
5748 case 0:
5749 p = "int";
5750 break;
5751 default:
5752 break;
5753 };
5754 break;
5755 /* modfind */
5756 case 303:
5757 switch(ndx) {
5758 case 0:
5759 p = "const char *";
5760 break;
5761 default:
5762 break;
5763 };
5764 break;
5765 /* kldload */
5766 case 304:
5767 switch(ndx) {
5768 case 0:
5769 p = "const char *";
5770 break;
5771 default:
5772 break;
5773 };
5774 break;
5775 /* kldunload */
5776 case 305:
5777 switch(ndx) {
5778 case 0:
5779 p = "int";
5780 break;
5781 default:
5782 break;
5783 };
5784 break;
5785 /* kldfind */
5786 case 306:
5787 switch(ndx) {
5788 case 0:
5789 p = "const char *";
5790 break;
5791 default:
5792 break;
5793 };
5794 break;
5795 /* kldnext */
5796 case 307:
5797 switch(ndx) {
5798 case 0:
5799 p = "int";
5800 break;
5801 default:
5802 break;
5803 };
5804 break;
5805 /* kldstat */
5806 case 308:
5807 switch(ndx) {
5808 case 0:
5809 p = "int";
5810 break;
5811 case 1:
5812 p = "struct kld_file_stat *";
5813 break;
5814 default:
5815 break;
5816 };
5817 break;
5818 /* kldfirstmod */
5819 case 309:
5820 switch(ndx) {
5821 case 0:
5822 p = "int";
5823 break;
5824 default:
5825 break;
5826 };
5827 break;
5828 /* getsid */
5829 case 310:
5830 switch(ndx) {
5831 case 0:
5832 p = "pid_t";
5833 break;
5834 default:
5835 break;
5836 };
5837 break;
5838 /* setresuid */
5839 case 311:
5840 switch(ndx) {
5841 case 0:
5842 p = "uid_t";
5843 break;
5844 case 1:
5845 p = "uid_t";
5846 break;
5847 case 2:
5848 p = "uid_t";
5849 break;
5850 default:
5851 break;
5852 };
5853 break;
5854 /* setresgid */
5855 case 312:
5856 switch(ndx) {
5857 case 0:
5858 p = "gid_t";
5859 break;
5860 case 1:
5861 p = "gid_t";
5862 break;
5863 case 2:
5864 p = "gid_t";
5865 break;
5866 default:
5867 break;
5868 };
5869 break;
5870 /* aio_return */
5871 case 314:
5872 switch(ndx) {
5873 case 0:
5874 p = "struct aiocb *";
5875 break;
5876 default:
5877 break;
5878 };
5879 break;
5880 /* aio_suspend */
5881 case 315:
5882 switch(ndx) {
5883 case 0:
5884 p = "struct aiocb *const *";
5885 break;
5886 case 1:
5887 p = "int";
5888 break;
5889 case 2:
5890 p = "const struct timespec *";
5891 break;
5892 default:
5893 break;
5894 };
5895 break;
5896 /* aio_cancel */
5897 case 316:
5898 switch(ndx) {
5899 case 0:
5900 p = "int";
5901 break;
5902 case 1:
5903 p = "struct aiocb *";
5904 break;
5905 default:
5906 break;
5907 };
5908 break;
5909 /* aio_error */
5910 case 317:
5911 switch(ndx) {
5912 case 0:
5913 p = "struct aiocb *";
5914 break;
5915 default:
5916 break;
5917 };
5918 break;
5919 /* oaio_read */
5920 case 318:
5921 switch(ndx) {
5922 case 0:
5923 p = "struct oaiocb *";
5924 break;
5925 default:
5926 break;
5927 };
5928 break;
5929 /* oaio_write */
5930 case 319:
5931 switch(ndx) {
5932 case 0:
5933 p = "struct oaiocb *";
5934 break;
5935 default:
5936 break;
5937 };
5938 break;
5939 /* olio_listio */
5940 case 320:
5941 switch(ndx) {
5942 case 0:
5943 p = "int";
5944 break;
5945 case 1:
5946 p = "struct oaiocb *const *";
5947 break;
5948 case 2:
5949 p = "int";
5950 break;
5951 case 3:
5952 p = "struct osigevent *";
5953 break;
5954 default:
5955 break;
5956 };
5957 break;
5958 /* yield */
5959 case 321:
5960 break;
5961 /* mlockall */
5962 case 324:
5963 switch(ndx) {
5964 case 0:
5965 p = "int";
5966 break;
5967 default:
5968 break;
5969 };
5970 break;
5971 /* munlockall */
5972 case 325:
5973 break;
5974 /* __getcwd */
5975 case 326:
5976 switch(ndx) {
5977 case 0:
5978 p = "u_char *";
5979 break;
5980 case 1:
5981 p = "u_int";
5982 break;
5983 default:
5984 break;
5985 };
5986 break;
5987 /* sched_setparam */
5988 case 327:
5989 switch(ndx) {
5990 case 0:
5991 p = "pid_t";
5992 break;
5993 case 1:
5994 p = "const struct sched_param *";
5995 break;
5996 default:
5997 break;
5998 };
5999 break;
6000 /* sched_getparam */
6001 case 328:
6002 switch(ndx) {
6003 case 0:
6004 p = "pid_t";
6005 break;
6006 case 1:
6007 p = "struct sched_param *";
6008 break;
6009 default:
6010 break;
6011 };
6012 break;
6013 /* sched_setscheduler */
6014 case 329:
6015 switch(ndx) {
6016 case 0:
6017 p = "pid_t";
6018 break;
6019 case 1:
6020 p = "int";
6021 break;
6022 case 2:
6023 p = "const struct sched_param *";
6024 break;
6025 default:
6026 break;
6027 };
6028 break;
6029 /* sched_getscheduler */
6030 case 330:
6031 switch(ndx) {
6032 case 0:
6033 p = "pid_t";
6034 break;
6035 default:
6036 break;
6037 };
6038 break;
6039 /* sched_yield */
6040 case 331:
6041 break;
6042 /* sched_get_priority_max */
6043 case 332:
6044 switch(ndx) {
6045 case 0:
6046 p = "int";
6047 break;
6048 default:
6049 break;
6050 };
6051 break;
6052 /* sched_get_priority_min */
6053 case 333:
6054 switch(ndx) {
6055 case 0:
6056 p = "int";
6057 break;
6058 default:
6059 break;
6060 };
6061 break;
6062 /* sched_rr_get_interval */
6063 case 334:
6064 switch(ndx) {
6065 case 0:
6066 p = "pid_t";
6067 break;
6068 case 1:
6069 p = "struct timespec *";
6070 break;
6071 default:
6072 break;
6073 };
6074 break;
6075 /* utrace */
6076 case 335:
6077 switch(ndx) {
6078 case 0:
6079 p = "const void *";
6080 break;
6081 case 1:
6082 p = "size_t";
6083 break;
6084 default:
6085 break;
6086 };
6087 break;
6088 /* kldsym */
6089 case 337:
6090 switch(ndx) {
6091 case 0:
6092 p = "int";
6093 break;
6094 case 1:
6095 p = "int";
6096 break;
6097 case 2:
6098 p = "void *";
6099 break;
6100 default:
6101 break;
6102 };
6103 break;
6104 /* jail */
6105 case 338:
6106 switch(ndx) {
6107 case 0:
6108 p = "struct jail *";
6109 break;
6110 default:
6111 break;
6112 };
6113 break;
6114 /* nnpfs_syscall */
6115 case 339:
6116 switch(ndx) {
6117 case 0:
6118 p = "int";
6119 break;
6120 case 1:
6121 p = "char *";
6122 break;
6123 case 2:
6124 p = "int";
6125 break;
6126 case 3:
6127 p = "void *";
6128 break;
6129 case 4:
6130 p = "int";
6131 break;
6132 default:
6133 break;
6134 };
6135 break;
6136 /* sigprocmask */
6137 case 340:
6138 switch(ndx) {
6139 case 0:
6140 p = "int";
6141 break;
6142 case 1:
6143 p = "const sigset_t *";
6144 break;
6145 case 2:
6146 p = "sigset_t *";
6147 break;
6148 default:
6149 break;
6150 };
6151 break;
6152 /* sigsuspend */
6153 case 341:
6154 switch(ndx) {
6155 case 0:
6156 p = "const sigset_t *";
6157 break;
6158 default:
6159 break;
6160 };
6161 break;
6162 /* sigpending */
6163 case 343:
6164 switch(ndx) {
6165 case 0:
6166 p = "sigset_t *";
6167 break;
6168 default:
6169 break;
6170 };
6171 break;
6172 /* sigtimedwait */
6173 case 345:
6174 switch(ndx) {
6175 case 0:
6176 p = "const sigset_t *";
6177 break;
6178 case 1:
6179 p = "siginfo_t *";
6180 break;
6181 case 2:
6182 p = "const struct timespec *";
6183 break;
6184 default:
6185 break;
6186 };
6187 break;
6188 /* sigwaitinfo */
6189 case 346:
6190 switch(ndx) {
6191 case 0:
6192 p = "const sigset_t *";
6193 break;
6194 case 1:
6195 p = "siginfo_t *";
6196 break;
6197 default:
6198 break;
6199 };
6200 break;
6201 /* __acl_get_file */
6202 case 347:
6203 switch(ndx) {
6204 case 0:
6205 p = "const char *";
6206 break;
6207 case 1:
6208 p = "acl_type_t";
6209 break;
6210 case 2:
6211 p = "struct acl *";
6212 break;
6213 default:
6214 break;
6215 };
6216 break;
6217 /* __acl_set_file */
6218 case 348:
6219 switch(ndx) {
6220 case 0:
6221 p = "const char *";
6222 break;
6223 case 1:
6224 p = "acl_type_t";
6225 break;
6226 case 2:
6227 p = "struct acl *";
6228 break;
6229 default:
6230 break;
6231 };
6232 break;
6233 /* __acl_get_fd */
6234 case 349:
6235 switch(ndx) {
6236 case 0:
6237 p = "int";
6238 break;
6239 case 1:
6240 p = "acl_type_t";
6241 break;
6242 case 2:
6243 p = "struct acl *";
6244 break;
6245 default:
6246 break;
6247 };
6248 break;
6249 /* __acl_set_fd */
6250 case 350:
6251 switch(ndx) {
6252 case 0:
6253 p = "int";
6254 break;
6255 case 1:
6256 p = "acl_type_t";
6257 break;
6258 case 2:
6259 p = "struct acl *";
6260 break;
6261 default:
6262 break;
6263 };
6264 break;
6265 /* __acl_delete_file */
6266 case 351:
6267 switch(ndx) {
6268 case 0:
6269 p = "const char *";
6270 break;
6271 case 1:
6272 p = "acl_type_t";
6273 break;
6274 default:
6275 break;
6276 };
6277 break;
6278 /* __acl_delete_fd */
6279 case 352:
6280 switch(ndx) {
6281 case 0:
6282 p = "int";
6283 break;
6284 case 1:
6285 p = "acl_type_t";
6286 break;
6287 default:
6288 break;
6289 };
6290 break;
6291 /* __acl_aclcheck_file */
6292 case 353:
6293 switch(ndx) {
6294 case 0:
6295 p = "const char *";
6296 break;
6297 case 1:
6298 p = "acl_type_t";
6299 break;
6300 case 2:
6301 p = "struct acl *";
6302 break;
6303 default:
6304 break;
6305 };
6306 break;
6307 /* __acl_aclcheck_fd */
6308 case 354:
6309 switch(ndx) {
6310 case 0:
6311 p = "int";
6312 break;
6313 case 1:
6314 p = "acl_type_t";
6315 break;
6316 case 2:
6317 p = "struct acl *";
6318 break;
6319 default:
6320 break;
6321 };
6322 break;
6323 /* extattrctl */
6324 case 355:
6325 switch(ndx) {
6326 case 0:
6327 p = "const char *";
6328 break;
6329 case 1:
6330 p = "int";
6331 break;
6332 case 2:
6333 p = "const char *";
6334 break;
6335 case 3:
6336 p = "int";
6337 break;
6338 case 4:
6339 p = "const char *";
6340 break;
6341 default:
6342 break;
6343 };
6344 break;
6345 /* extattr_set_file */
6346 case 356:
6347 switch(ndx) {
6348 case 0:
6349 p = "const char *";
6350 break;
6351 case 1:
6352 p = "int";
6353 break;
6354 case 2:
6355 p = "const char *";
6356 break;
6357 case 3:
6358 p = "void *";
6359 break;
6360 case 4:
6361 p = "size_t";
6362 break;
6363 default:
6364 break;
6365 };
6366 break;
6367 /* extattr_get_file */
6368 case 357:
6369 switch(ndx) {
6370 case 0:
6371 p = "const char *";
6372 break;
6373 case 1:
6374 p = "int";
6375 break;
6376 case 2:
6377 p = "const char *";
6378 break;
6379 case 3:
6380 p = "void *";
6381 break;
6382 case 4:
6383 p = "size_t";
6384 break;
6385 default:
6386 break;
6387 };
6388 break;
6389 /* extattr_delete_file */
6390 case 358:
6391 switch(ndx) {
6392 case 0:
6393 p = "const char *";
6394 break;
6395 case 1:
6396 p = "int";
6397 break;
6398 case 2:
6399 p = "const char *";
6400 break;
6401 default:
6402 break;
6403 };
6404 break;
6405 /* aio_waitcomplete */
6406 case 359:
6407 switch(ndx) {
6408 case 0:
6409 p = "struct aiocb **";
6410 break;
6411 case 1:
6412 p = "struct timespec *";
6413 break;
6414 default:
6415 break;
6416 };
6417 break;
6418 /* getresuid */
6419 case 360:
6420 switch(ndx) {
6421 case 0:
6422 p = "uid_t *";
6423 break;
6424 case 1:
6425 p = "uid_t *";
6426 break;
6427 case 2:
6428 p = "uid_t *";
6429 break;
6430 default:
6431 break;
6432 };
6433 break;
6434 /* getresgid */
6435 case 361:
6436 switch(ndx) {
6437 case 0:
6438 p = "gid_t *";
6439 break;
6440 case 1:
6441 p = "gid_t *";
6442 break;
6443 case 2:
6444 p = "gid_t *";
6445 break;
6446 default:
6447 break;
6448 };
6449 break;
6450 /* kqueue */
6451 case 362:
6452 break;
6453 /* kevent */
6454 case 363:
6455 switch(ndx) {
6456 case 0:
6457 p = "int";
6458 break;
6459 case 1:
6460 p = "struct kevent *";
6461 break;
6462 case 2:
6463 p = "int";
6464 break;
6465 case 3:
6466 p = "struct kevent *";
6467 break;
6468 case 4:
6469 p = "int";
6470 break;
6471 case 5:
6472 p = "const struct timespec *";
6473 break;
6474 default:
6475 break;
6476 };
6477 break;
6478 /* extattr_set_fd */
6479 case 371:
6480 switch(ndx) {
6481 case 0:
6482 p = "int";
6483 break;
6484 case 1:
6485 p = "int";
6486 break;
6487 case 2:
6488 p = "const char *";
6489 break;
6490 case 3:
6491 p = "void *";
6492 break;
6493 case 4:
6494 p = "size_t";
6495 break;
6496 default:
6497 break;
6498 };
6499 break;
6500 /* extattr_get_fd */
6501 case 372:
6502 switch(ndx) {
6503 case 0:
6504 p = "int";
6505 break;
6506 case 1:
6507 p = "int";
6508 break;
6509 case 2:
6510 p = "const char *";
6511 break;
6512 case 3:
6513 p = "void *";
6514 break;
6515 case 4:
6516 p = "size_t";
6517 break;
6518 default:
6519 break;
6520 };
6521 break;
6522 /* extattr_delete_fd */
6523 case 373:
6524 switch(ndx) {
6525 case 0:
6526 p = "int";
6527 break;
6528 case 1:
6529 p = "int";
6530 break;
6531 case 2:
6532 p = "const char *";
6533 break;
6534 default:
6535 break;
6536 };
6537 break;
6538 /* __setugid */
6539 case 374:
6540 switch(ndx) {
6541 case 0:
6542 p = "int";
6543 break;
6544 default:
6545 break;
6546 };
6547 break;
6548 /* eaccess */
6549 case 376:
6550 switch(ndx) {
6551 case 0:
6552 p = "char *";
6553 break;
6554 case 1:
6555 p = "int";
6556 break;
6557 default:
6558 break;
6559 };
6560 break;
6561 /* afs3_syscall */
6562 case 377:
6563 switch(ndx) {
6564 case 0:
6565 p = "long";
6566 break;
6567 case 1:
6568 p = "long";
6569 break;
6570 case 2:
6571 p = "long";
6572 break;
6573 case 3:
6574 p = "long";
6575 break;
6576 case 4:
6577 p = "long";
6578 break;
6579 case 5:
6580 p = "long";
6581 break;
6582 case 6:
6583 p = "long";
6584 break;
6585 default:
6586 break;
6587 };
6588 break;
6589 /* nmount */
6590 case 378:
6591 switch(ndx) {
6592 case 0:
6593 p = "struct iovec *";
6594 break;
6595 case 1:
6596 p = "unsigned int";
6597 break;
6598 case 2:
6599 p = "int";
6600 break;
6601 default:
6602 break;
6603 };
6604 break;
6605 /* __mac_get_proc */
6606 case 384:
6607 switch(ndx) {
6608 case 0:
6609 p = "struct mac *";
6610 break;
6611 default:
6612 break;
6613 };
6614 break;
6615 /* __mac_set_proc */
6616 case 385:
6617 switch(ndx) {
6618 case 0:
6619 p = "struct mac *";
6620 break;
6621 default:
6622 break;
6623 };
6624 break;
6625 /* __mac_get_fd */
6626 case 386:
6627 switch(ndx) {
6628 case 0:
6629 p = "int";
6630 break;
6631 case 1:
6632 p = "struct mac *";
6633 break;
6634 default:
6635 break;
6636 };
6637 break;
6638 /* __mac_get_file */
6639 case 387:
6640 switch(ndx) {
6641 case 0:
6642 p = "const char *";
6643 break;
6644 case 1:
6645 p = "struct mac *";
6646 break;
6647 default:
6648 break;
6649 };
6650 break;
6651 /* __mac_set_fd */
6652 case 388:
6653 switch(ndx) {
6654 case 0:
6655 p = "int";
6656 break;
6657 case 1:
6658 p = "struct mac *";
6659 break;
6660 default:
6661 break;
6662 };
6663 break;
6664 /* __mac_set_file */
6665 case 389:
6666 switch(ndx) {
6667 case 0:
6668 p = "const char *";
6669 break;
6670 case 1:
6671 p = "struct mac *";
6672 break;
6673 default:
6674 break;
6675 };
6676 break;
6677 /* kenv */
6678 case 390:
6679 switch(ndx) {
6680 case 0:
6681 p = "int";
6682 break;
6683 case 1:
6684 p = "const char *";
6685 break;
6686 case 2:
6687 p = "char *";
6688 break;
6689 case 3:
6690 p = "int";
6691 break;
6692 default:
6693 break;
6694 };
6695 break;
6696 /* lchflags */
6697 case 391:
6698 switch(ndx) {
6699 case 0:
6700 p = "const char *";
6701 break;
6702 case 1:
6703 p = "int";
6704 break;
6705 default:
6706 break;
6707 };
6708 break;
6709 /* uuidgen */
6710 case 392:
6711 switch(ndx) {
6712 case 0:
6713 p = "struct uuid *";
6714 break;
6715 case 1:
6716 p = "int";
6717 break;
6718 default:
6719 break;
6720 };
6721 break;
6722 /* sendfile */
6723 case 393:
6724 switch(ndx) {
6725 case 0:
6726 p = "int";
6727 break;
6728 case 1:
6729 p = "int";
6730 break;
6731 case 2:
6732 p = "off_t";
6733 break;
6734 case 3:
6735 p = "size_t";
6736 break;
6737 case 4:
6738 p = "struct sf_hdtr *";
6739 break;
6740 case 5:
6741 p = "off_t *";
6742 break;
6743 case 6:
6744 p = "int";
6745 break;
6746 default:
6747 break;
6748 };
6749 break;
6750 /* mac_syscall */
6751 case 394:
6752 switch(ndx) {
6753 case 0:
6754 p = "const char *";
6755 break;
6756 case 1:
6757 p = "int";
6758 break;
6759 case 2:
6760 p = "void *";
6761 break;
6762 default:
6763 break;
6764 };
6765 break;
6766 /* getfsstat */
6767 case 395:
6768 switch(ndx) {
6769 case 0:
6770 p = "struct statfs *";
6771 break;
6772 case 1:
6773 p = "long";
6774 break;
6775 case 2:
6776 p = "int";
6777 break;
6778 default:
6779 break;
6780 };
6781 break;
6782 /* statfs */
6783 case 396:
6784 switch(ndx) {
6785 case 0:
6786 p = "char *";
6787 break;
6788 case 1:
6789 p = "struct statfs *";
6790 break;
6791 default:
6792 break;
6793 };
6794 break;
6795 /* fstatfs */
6796 case 397:
6797 switch(ndx) {
6798 case 0:
6799 p = "int";
6800 break;
6801 case 1:
6802 p = "struct statfs *";
6803 break;
6804 default:
6805 break;
6806 };
6807 break;
6808 /* fhstatfs */
6809 case 398:
6810 switch(ndx) {
6811 case 0:
6812 p = "const struct fhandle *";
6813 break;
6814 case 1:
6815 p = "struct statfs *";
6816 break;
6817 default:
6818 break;
6819 };
6820 break;
6821 /* ksem_close */
6822 case 400:
6823 switch(ndx) {
6824 case 0:
6825 p = "semid_t";
6826 break;
6827 default:
6828 break;
6829 };
6830 break;
6831 /* ksem_post */
6832 case 401:
6833 switch(ndx) {
6834 case 0:
6835 p = "semid_t";
6836 break;
6837 default:
6838 break;
6839 };
6840 break;
6841 /* ksem_wait */
6842 case 402:
6843 switch(ndx) {
6844 case 0:
6845 p = "semid_t";
6846 break;
6847 default:
6848 break;
6849 };
6850 break;
6851 /* ksem_trywait */
6852 case 403:
6853 switch(ndx) {
6854 case 0:
6855 p = "semid_t";
6856 break;
6857 default:
6858 break;
6859 };
6860 break;
6861 /* ksem_init */
6862 case 404:
6863 switch(ndx) {
6864 case 0:
6865 p = "semid_t *";
6866 break;
6867 case 1:
6868 p = "unsigned int";
6869 break;
6870 default:
6871 break;
6872 };
6873 break;
6874 /* ksem_open */
6875 case 405:
6876 switch(ndx) {
6877 case 0:
6878 p = "semid_t *";
6879 break;
6880 case 1:
6881 p = "const char *";
6882 break;
6883 case 2:
6884 p = "int";
6885 break;
6886 case 3:
6887 p = "mode_t";
6888 break;
6889 case 4:
6890 p = "unsigned int";
6891 break;
6892 default:
6893 break;
6894 };
6895 break;
6896 /* ksem_unlink */
6897 case 406:
6898 switch(ndx) {
6899 case 0:
6900 p = "const char *";
6901 break;
6902 default:
6903 break;
6904 };
6905 break;
6906 /* ksem_getvalue */
6907 case 407:
6908 switch(ndx) {
6909 case 0:
6910 p = "semid_t";
6911 break;
6912 case 1:
6913 p = "int *";
6914 break;
6915 default:
6916 break;
6917 };
6918 break;
6919 /* ksem_destroy */
6920 case 408:
6921 switch(ndx) {
6922 case 0:
6923 p = "semid_t";
6924 break;
6925 default:
6926 break;
6927 };
6928 break;
6929 /* __mac_get_pid */
6930 case 409:
6931 switch(ndx) {
6932 case 0:
6933 p = "pid_t";
6934 break;
6935 case 1:
6936 p = "struct mac *";
6937 break;
6938 default:
6939 break;
6940 };
6941 break;
6942 /* __mac_get_link */
6943 case 410:
6944 switch(ndx) {
6945 case 0:
6946 p = "const char *";
6947 break;
6948 case 1:
6949 p = "struct mac *";
6950 break;
6951 default:
6952 break;
6953 };
6954 break;
6955 /* __mac_set_link */
6956 case 411:
6957 switch(ndx) {
6958 case 0:
6959 p = "const char *";
6960 break;
6961 case 1:
6962 p = "struct mac *";
6963 break;
6964 default:
6965 break;
6966 };
6967 break;
6968 /* extattr_set_link */
6969 case 412:
6970 switch(ndx) {
6971 case 0:
6972 p = "const char *";
6973 break;
6974 case 1:
6975 p = "int";
6976 break;
6977 case 2:
6978 p = "const char *";
6979 break;
6980 case 3:
6981 p = "void *";
6982 break;
6983 case 4:
6984 p = "size_t";
6985 break;
6986 default:
6987 break;
6988 };
6989 break;
6990 /* extattr_get_link */
6991 case 413:
6992 switch(ndx) {
6993 case 0:
6994 p = "const char *";
6995 break;
6996 case 1:
6997 p = "int";
6998 break;
6999 case 2:
7000 p = "const char *";
7001 break;
7002 case 3:
7003 p = "void *";
7004 break;
7005 case 4:
7006 p = "size_t";
7007 break;
7008 default:
7009 break;
7010 };
7011 break;
7012 /* extattr_delete_link */
7013 case 414:
7014 switch(ndx) {
7015 case 0:
7016 p = "const char *";
7017 break;
7018 case 1:
7019 p = "int";
7020 break;
7021 case 2:
7022 p = "const char *";
7023 break;
7024 default:
7025 break;
7026 };
7027 break;
7028 /* __mac_execve */
7029 case 415:
7030 switch(ndx) {
7031 case 0:
7032 p = "char *";
7033 break;
7034 case 1:
7035 p = "char **";
7036 break;
7037 case 2:
7038 p = "char **";
7039 break;
7040 case 3:
7041 p = "struct mac *";
7042 break;
7043 default:
7044 break;
7045 };
7046 break;
7047 /* sigaction */
7048 case 416:
7049 switch(ndx) {
7050 case 0:
7051 p = "int";
7052 break;
7053 case 1:
7054 p = "const struct sigaction *";
7055 break;
7056 case 2:
7057 p = "struct sigaction *";
7058 break;
7059 default:
7060 break;
7061 };
7062 break;
7063 /* sigreturn */
7064 case 417:
7065 switch(ndx) {
7066 case 0:
7067 p = "const struct __ucontext *";
7068 break;
7069 default:
7070 break;
7071 };
7072 break;
7073 /* getcontext */
7074 case 421:
7075 switch(ndx) {
7076 case 0:
7077 p = "struct __ucontext *";
7078 break;
7079 default:
7080 break;
7081 };
7082 break;
7083 /* setcontext */
7084 case 422:
7085 switch(ndx) {
7086 case 0:
7087 p = "const struct __ucontext *";
7088 break;
7089 default:
7090 break;
7091 };
7092 break;
7093 /* swapcontext */
7094 case 423:
7095 switch(ndx) {
7096 case 0:
7097 p = "struct __ucontext *";
7098 break;
7099 case 1:
7100 p = "const struct __ucontext *";
7101 break;
7102 default:
7103 break;
7104 };
7105 break;
7106 /* swapoff */
7107 case 424:
7108 switch(ndx) {
7109 case 0:
7110 p = "const char *";
7111 break;
7112 default:
7113 break;
7114 };
7115 break;
7116 /* __acl_get_link */
7117 case 425:
7118 switch(ndx) {
7119 case 0:
7120 p = "const char *";
7121 break;
7122 case 1:
7123 p = "acl_type_t";
7124 break;
7125 case 2:
7126 p = "struct acl *";
7127 break;
7128 default:
7129 break;
7130 };
7131 break;
7132 /* __acl_set_link */
7133 case 426:
7134 switch(ndx) {
7135 case 0:
7136 p = "const char *";
7137 break;
7138 case 1:
7139 p = "acl_type_t";
7140 break;
7141 case 2:
7142 p = "struct acl *";
7143 break;
7144 default:
7145 break;
7146 };
7147 break;
7148 /* __acl_delete_link */
7149 case 427:
7150 switch(ndx) {
7151 case 0:
7152 p = "const char *";
7153 break;
7154 case 1:
7155 p = "acl_type_t";
7156 break;
7157 default:
7158 break;
7159 };
7160 break;
7161 /* __acl_aclcheck_link */
7162 case 428:
7163 switch(ndx) {
7164 case 0:
7165 p = "const char *";
7166 break;
7167 case 1:
7168 p = "acl_type_t";
7169 break;
7170 case 2:
7171 p = "struct acl *";
7172 break;
7173 default:
7174 break;
7175 };
7176 break;
7177 /* sigwait */
7178 case 429:
7179 switch(ndx) {
7180 case 0:
7181 p = "const sigset_t *";
7182 break;
7183 case 1:
7184 p = "int *";
7185 break;
7186 default:
7187 break;
7188 };
7189 break;
7190 /* thr_create */
7191 case 430:
7192 switch(ndx) {
7193 case 0:
7194 p = "ucontext_t *";
7195 break;
7196 case 1:
7197 p = "long *";
7198 break;
7199 case 2:
7200 p = "int";
7201 break;
7202 default:
7203 break;
7204 };
7205 break;
7206 /* thr_exit */
7207 case 431:
7208 switch(ndx) {
7209 case 0:
7210 p = "long *";
7211 break;
7212 default:
7213 break;
7214 };
7215 break;
7216 /* thr_self */
7217 case 432:
7218 switch(ndx) {
7219 case 0:
7220 p = "long *";
7221 break;
7222 default:
7223 break;
7224 };
7225 break;
7226 /* thr_kill */
7227 case 433:
7228 switch(ndx) {
7229 case 0:
7230 p = "long";
7231 break;
7232 case 1:
7233 p = "int";
7234 break;
7235 default:
7236 break;
7237 };
7238 break;
7239 /* _umtx_lock */
7240 case 434:
7241 switch(ndx) {
7242 case 0:
7243 p = "struct umtx *";
7244 break;
7245 default:
7246 break;
7247 };
7248 break;
7249 /* _umtx_unlock */
7250 case 435:
7251 switch(ndx) {
7252 case 0:
7253 p = "struct umtx *";
7254 break;
7255 default:
7256 break;
7257 };
7258 break;
7259 /* jail_attach */
7260 case 436:
7261 switch(ndx) {
7262 case 0:
7263 p = "int";
7264 break;
7265 default:
7266 break;
7267 };
7268 break;
7269 /* extattr_list_fd */
7270 case 437:
7271 switch(ndx) {
7272 case 0:
7273 p = "int";
7274 break;
7275 case 1:
7276 p = "int";
7277 break;
7278 case 2:
7279 p = "void *";
7280 break;
7281 case 3:
7282 p = "size_t";
7283 break;
7284 default:
7285 break;
7286 };
7287 break;
7288 /* extattr_list_file */
7289 case 438:
7290 switch(ndx) {
7291 case 0:
7292 p = "const char *";
7293 break;
7294 case 1:
7295 p = "int";
7296 break;
7297 case 2:
7298 p = "void *";
7299 break;
7300 case 3:
7301 p = "size_t";
7302 break;
7303 default:
7304 break;
7305 };
7306 break;
7307 /* extattr_list_link */
7308 case 439:
7309 switch(ndx) {
7310 case 0:
7311 p = "const char *";
7312 break;
7313 case 1:
7314 p = "int";
7315 break;
7316 case 2:
7317 p = "void *";
7318 break;
7319 case 3:
7320 p = "size_t";
7321 break;
7322 default:
7323 break;
7324 };
7325 break;
7326 /* ksem_timedwait */
7327 case 441:
7328 switch(ndx) {
7329 case 0:
7330 p = "semid_t";
7331 break;
7332 case 1:
7333 p = "const struct timespec *";
7334 break;
7335 default:
7336 break;
7337 };
7338 break;
7339 /* thr_suspend */
7340 case 442:
7341 switch(ndx) {
7342 case 0:
7343 p = "const struct timespec *";
7344 break;
7345 default:
7346 break;
7347 };
7348 break;
7349 /* thr_wake */
7350 case 443:
7351 switch(ndx) {
7352 case 0:
7353 p = "long";
7354 break;
7355 default:
7356 break;
7357 };
7358 break;
7359 /* kldunloadf */
7360 case 444:
7361 switch(ndx) {
7362 case 0:
7363 p = "int";
7364 break;
7365 case 1:
7366 p = "int";
7367 break;
7368 default:
7369 break;
7370 };
7371 break;
7372 /* audit */
7373 case 445:
7374 switch(ndx) {
7375 case 0:
7376 p = "const void *";
7377 break;
7378 case 1:
7379 p = "u_int";
7380 break;
7381 default:
7382 break;
7383 };
7384 break;
7385 /* auditon */
7386 case 446:
7387 switch(ndx) {
7388 case 0:
7389 p = "int";
7390 break;
7391 case 1:
7392 p = "void *";
7393 break;
7394 case 2:
7395 p = "u_int";
7396 break;
7397 default:
7398 break;
7399 };
7400 break;
7401 /* getauid */
7402 case 447:
7403 switch(ndx) {
7404 case 0:
7405 p = "uid_t *";
7406 break;
7407 default:
7408 break;
7409 };
7410 break;
7411 /* setauid */
7412 case 448:
7413 switch(ndx) {
7414 case 0:
7415 p = "uid_t *";
7416 break;
7417 default:
7418 break;
7419 };
7420 break;
7421 /* getaudit */
7422 case 449:
7423 switch(ndx) {
7424 case 0:
7425 p = "struct auditinfo *";
7426 break;
7427 default:
7428 break;
7429 };
7430 break;
7431 /* setaudit */
7432 case 450:
7433 switch(ndx) {
7434 case 0:
7435 p = "struct auditinfo *";
7436 break;
7437 default:
7438 break;
7439 };
7440 break;
7441 /* getaudit_addr */
7442 case 451:
7443 switch(ndx) {
7444 case 0:
7445 p = "struct auditinfo_addr *";
7446 break;
7447 case 1:
7448 p = "u_int";
7449 break;
7450 default:
7451 break;
7452 };
7453 break;
7454 /* setaudit_addr */
7455 case 452:
7456 switch(ndx) {
7457 case 0:
7458 p = "struct auditinfo_addr *";
7459 break;
7460 case 1:
7461 p = "u_int";
7462 break;
7463 default:
7464 break;
7465 };
7466 break;
7467 /* auditctl */
7468 case 453:
7469 switch(ndx) {
7470 case 0:
7471 p = "char *";
7472 break;
7473 default:
7474 break;
7475 };
7476 break;
7477 /* _umtx_op */
7478 case 454:
7479 switch(ndx) {
7480 case 0:
7481 p = "void *";
7482 break;
7483 case 1:
7484 p = "int";
7485 break;
7486 case 2:
7487 p = "u_long";
7488 break;
7489 case 3:
7490 p = "void *";
7491 break;
7492 case 4:
7493 p = "void *";
7494 break;
7495 default:
7496 break;
7497 };
7498 break;
7499 /* thr_new */
7500 case 455:
7501 switch(ndx) {
7502 case 0:
7503 p = "struct thr_param *";
7504 break;
7505 case 1:
7506 p = "int";
7507 break;
7508 default:
7509 break;
7510 };
7511 break;
7512 /* sigqueue */
7513 case 456:
7514 switch(ndx) {
7515 case 0:
7516 p = "pid_t";
7517 break;
7518 case 1:
7519 p = "int";
7520 break;
7521 case 2:
7522 p = "void *";
7523 break;
7524 default:
7525 break;
7526 };
7527 break;
7528 /* kmq_open */
7529 case 457:
7530 switch(ndx) {
7531 case 0:
7532 p = "const char *";
7533 break;
7534 case 1:
7535 p = "int";
7536 break;
7537 case 2:
7538 p = "mode_t";
7539 break;
7540 case 3:
7541 p = "const struct mq_attr *";
7542 break;
7543 default:
7544 break;
7545 };
7546 break;
7547 /* kmq_setattr */
7548 case 458:
7549 switch(ndx) {
7550 case 0:
7551 p = "int";
7552 break;
7553 case 1:
7554 p = "const struct mq_attr *";
7555 break;
7556 case 2:
7557 p = "struct mq_attr *";
7558 break;
7559 default:
7560 break;
7561 };
7562 break;
7563 /* kmq_timedreceive */
7564 case 459:
7565 switch(ndx) {
7566 case 0:
7567 p = "int";
7568 break;
7569 case 1:
7570 p = "char *";
7571 break;
7572 case 2:
7573 p = "size_t";
7574 break;
7575 case 3:
7576 p = "unsigned *";
7577 break;
7578 case 4:
7579 p = "const struct timespec *";
7580 break;
7581 default:
7582 break;
7583 };
7584 break;
7585 /* kmq_timedsend */
7586 case 460:
7587 switch(ndx) {
7588 case 0:
7589 p = "int";
7590 break;
7591 case 1:
7592 p = "const char *";
7593 break;
7594 case 2:
7595 p = "size_t";
7596 break;
7597 case 3:
7598 p = "unsigned";
7599 break;
7600 case 4:
7601 p = "const struct timespec *";
7602 break;
7603 default:
7604 break;
7605 };
7606 break;
7607 /* kmq_notify */
7608 case 461:
7609 switch(ndx) {
7610 case 0:
7611 p = "int";
7612 break;
7613 case 1:
7614 p = "const struct sigevent *";
7615 break;
7616 default:
7617 break;
7618 };
7619 break;
7620 /* kmq_unlink */
7621 case 462:
7622 switch(ndx) {
7623 case 0:
7624 p = "const char *";
7625 break;
7626 default:
7627 break;
7628 };
7629 break;
7630 /* abort2 */
7631 case 463:
7632 switch(ndx) {
7633 case 0:
7634 p = "const char *";
7635 break;
7636 case 1:
7637 p = "int";
7638 break;
7639 case 2:
7640 p = "void **";
7641 break;
7642 default:
7643 break;
7644 };
7645 break;
7646 /* thr_set_name */
7647 case 464:
7648 switch(ndx) {
7649 case 0:
7650 p = "long";
7651 break;
7652 case 1:
7653 p = "const char *";
7654 break;
7655 default:
7656 break;
7657 };
7658 break;
7659 /* aio_fsync */
7660 case 465:
7661 switch(ndx) {
7662 case 0:
7663 p = "int";
7664 break;
7665 case 1:
7666 p = "struct aiocb *";
7667 break;
7668 default:
7669 break;
7670 };
7671 break;
7672 /* rtprio_thread */
7673 case 466:
7674 switch(ndx) {
7675 case 0:
7676 p = "int";
7677 break;
7678 case 1:
7679 p = "lwpid_t";
7680 break;
7681 case 2:
7682 p = "struct rtprio *";
7683 break;
7684 default:
7685 break;
7686 };
7687 break;
7688 /* sctp_peeloff */
7689 case 471:
7690 switch(ndx) {
7691 case 0:
7692 p = "int";
7693 break;
7694 case 1:
7695 p = "uint32_t";
7696 break;
7697 default:
7698 break;
7699 };
7700 break;
7701 /* sctp_generic_sendmsg */
7702 case 472:
7703 switch(ndx) {
7704 case 0:
7705 p = "int";
7706 break;
7707 case 1:
7708 p = "caddr_t";
7709 break;
7710 case 2:
7711 p = "int";
7712 break;
7713 case 3:
7714 p = "caddr_t";
7715 break;
7716 case 4:
7717 p = "__socklen_t";
7718 break;
7719 case 5:
7720 p = "struct sctp_sndrcvinfo *";
7721 break;
7722 case 6:
7723 p = "int";
7724 break;
7725 default:
7726 break;
7727 };
7728 break;
7729 /* sctp_generic_sendmsg_iov */
7730 case 473:
7731 switch(ndx) {
7732 case 0:
7733 p = "int";
7734 break;
7735 case 1:
7736 p = "struct iovec *";
7737 break;
7738 case 2:
7739 p = "int";
7740 break;
7741 case 3:
7742 p = "caddr_t";
7743 break;
7744 case 4:
7745 p = "__socklen_t";
7746 break;
7747 case 5:
7748 p = "struct sctp_sndrcvinfo *";
7749 break;
7750 case 6:
7751 p = "int";
7752 break;
7753 default:
7754 break;
7755 };
7756 break;
7757 /* sctp_generic_recvmsg */
7758 case 474:
7759 switch(ndx) {
7760 case 0:
7761 p = "int";
7762 break;
7763 case 1:
7764 p = "struct iovec *";
7765 break;
7766 case 2:
7767 p = "int";
7768 break;
7769 case 3:
7770 p = "struct sockaddr *";
7771 break;
7772 case 4:
7773 p = "__socklen_t *";
7774 break;
7775 case 5:
7776 p = "struct sctp_sndrcvinfo *";
7777 break;
7778 case 6:
7779 p = "int *";
7780 break;
7781 default:
7782 break;
7783 };
7784 break;
7785 /* pread */
7786 case 475:
7787 switch(ndx) {
7788 case 0:
7789 p = "int";
7790 break;
7791 case 1:
7792 p = "void *";
7793 break;
7794 case 2:
7795 p = "size_t";
7796 break;
7797 case 3:
7798 p = "off_t";
7799 break;
7800 default:
7801 break;
7802 };
7803 break;
7804 /* pwrite */
7805 case 476:
7806 switch(ndx) {
7807 case 0:
7808 p = "int";
7809 break;
7810 case 1:
7811 p = "const void *";
7812 break;
7813 case 2:
7814 p = "size_t";
7815 break;
7816 case 3:
7817 p = "off_t";
7818 break;
7819 default:
7820 break;
7821 };
7822 break;
7823 /* mmap */
7824 case 477:
7825 switch(ndx) {
7826 case 0:
7827 p = "caddr_t";
7828 break;
7829 case 1:
7830 p = "size_t";
7831 break;
7832 case 2:
7833 p = "int";
7834 break;
7835 case 3:
7836 p = "int";
7837 break;
7838 case 4:
7839 p = "int";
7840 break;
7841 case 5:
7842 p = "off_t";
7843 break;
7844 default:
7845 break;
7846 };
7847 break;
7848 /* lseek */
7849 case 478:
7850 switch(ndx) {
7851 case 0:
7852 p = "int";
7853 break;
7854 case 1:
7855 p = "off_t";
7856 break;
7857 case 2:
7858 p = "int";
7859 break;
7860 default:
7861 break;
7862 };
7863 break;
7864 /* truncate */
7865 case 479:
7866 switch(ndx) {
7867 case 0:
7868 p = "char *";
7869 break;
7870 case 1:
7871 p = "off_t";
7872 break;
7873 default:
7874 break;
7875 };
7876 break;
7877 /* ftruncate */
7878 case 480:
7879 switch(ndx) {
7880 case 0:
7881 p = "int";
7882 break;
7883 case 1:
7884 p = "off_t";
7885 break;
7886 default:
7887 break;
7888 };
7889 break;
7890 /* thr_kill2 */
7891 case 481:
7892 switch(ndx) {
7893 case 0:
7894 p = "pid_t";
7895 break;
7896 case 1:
7897 p = "long";
7898 break;
7899 case 2:
7900 p = "int";
7901 break;
7902 default:
7903 break;
7904 };
7905 break;
7906 /* shm_open */
7907 case 482:
7908 switch(ndx) {
7909 case 0:
7910 p = "const char *";
7911 break;
7912 case 1:
7913 p = "int";
7914 break;
7915 case 2:
7916 p = "mode_t";
7917 break;
7918 default:
7919 break;
7920 };
7921 break;
7922 /* shm_unlink */
7923 case 483:
7924 switch(ndx) {
7925 case 0:
7926 p = "const char *";
7927 break;
7928 default:
7929 break;
7930 };
7931 break;
7932 /* cpuset */
7933 case 484:
7934 switch(ndx) {
7935 case 0:
7936 p = "cpusetid_t *";
7937 break;
7938 default:
7939 break;
7940 };
7941 break;
7942 /* cpuset_setid */
7943 case 485:
7944 switch(ndx) {
7945 case 0:
7946 p = "cpuwhich_t";
7947 break;
7948 case 1:
7949 p = "id_t";
7950 break;
7951 case 2:
7952 p = "cpusetid_t";
7953 break;
7954 default:
7955 break;
7956 };
7957 break;
7958 /* cpuset_getid */
7959 case 486:
7960 switch(ndx) {
7961 case 0:
7962 p = "cpulevel_t";
7963 break;
7964 case 1:
7965 p = "cpuwhich_t";
7966 break;
7967 case 2:
7968 p = "id_t";
7969 break;
7970 case 3:
7971 p = "cpusetid_t *";
7972 break;
7973 default:
7974 break;
7975 };
7976 break;
7977 /* cpuset_getaffinity */
7978 case 487:
7979 switch(ndx) {
7980 case 0:
7981 p = "cpulevel_t";
7982 break;
7983 case 1:
7984 p = "cpuwhich_t";
7985 break;
7986 case 2:
7987 p = "id_t";
7988 break;
7989 case 3:
7990 p = "size_t";
7991 break;
7992 case 4:
7993 p = "cpuset_t *";
7994 break;
7995 default:
7996 break;
7997 };
7998 break;
7999 /* cpuset_setaffinity */
8000 case 488:
8001 switch(ndx) {
8002 case 0:
8003 p = "cpulevel_t";
8004 break;
8005 case 1:
8006 p = "cpuwhich_t";
8007 break;
8008 case 2:
8009 p = "id_t";
8010 break;
8011 case 3:
8012 p = "size_t";
8013 break;
8014 case 4:
8015 p = "const cpuset_t *";
8016 break;
8017 default:
8018 break;
8019 };
8020 break;
8021 /* faccessat */
8022 case 489:
8023 switch(ndx) {
8024 case 0:
8025 p = "int";
8026 break;
8027 case 1:
8028 p = "char *";
8029 break;
8030 case 2:
8031 p = "int";
8032 break;
8033 case 3:
8034 p = "int";
8035 break;
8036 default:
8037 break;
8038 };
8039 break;
8040 /* fchmodat */
8041 case 490:
8042 switch(ndx) {
8043 case 0:
8044 p = "int";
8045 break;
8046 case 1:
8047 p = "char *";
8048 break;
8049 case 2:
8050 p = "mode_t";
8051 break;
8052 case 3:
8053 p = "int";
8054 break;
8055 default:
8056 break;
8057 };
8058 break;
8059 /* fchownat */
8060 case 491:
8061 switch(ndx) {
8062 case 0:
8063 p = "int";
8064 break;
8065 case 1:
8066 p = "char *";
8067 break;
8068 case 2:
8069 p = "uid_t";
8070 break;
8071 case 3:
8072 p = "gid_t";
8073 break;
8074 case 4:
8075 p = "int";
8076 break;
8077 default:
8078 break;
8079 };
8080 break;
8081 /* fexecve */
8082 case 492:
8083 switch(ndx) {
8084 case 0:
8085 p = "int";
8086 break;
8087 case 1:
8088 p = "char **";
8089 break;
8090 case 2:
8091 p = "char **";
8092 break;
8093 default:
8094 break;
8095 };
8096 break;
8097 /* fstatat */
8098 case 493:
8099 switch(ndx) {
8100 case 0:
8101 p = "int";
8102 break;
8103 case 1:
8104 p = "char *";
8105 break;
8106 case 2:
8107 p = "struct stat *";
8108 break;
8109 case 3:
8110 p = "int";
8111 break;
8112 default:
8113 break;
8114 };
8115 break;
8116 /* futimesat */
8117 case 494:
8118 switch(ndx) {
8119 case 0:
8120 p = "int";
8121 break;
8122 case 1:
8123 p = "char *";
8124 break;
8125 case 2:
8126 p = "struct timeval *";
8127 break;
8128 default:
8129 break;
8130 };
8131 break;
8132 /* linkat */
8133 case 495:
8134 switch(ndx) {
8135 case 0:
8136 p = "int";
8137 break;
8138 case 1:
8139 p = "char *";
8140 break;
8141 case 2:
8142 p = "int";
8143 break;
8144 case 3:
8145 p = "char *";
8146 break;
8147 case 4:
8148 p = "int";
8149 break;
8150 default:
8151 break;
8152 };
8153 break;
8154 /* mkdirat */
8155 case 496:
8156 switch(ndx) {
8157 case 0:
8158 p = "int";
8159 break;
8160 case 1:
8161 p = "char *";
8162 break;
8163 case 2:
8164 p = "mode_t";
8165 break;
8166 default:
8167 break;
8168 };
8169 break;
8170 /* mkfifoat */
8171 case 497:
8172 switch(ndx) {
8173 case 0:
8174 p = "int";
8175 break;
8176 case 1:
8177 p = "char *";
8178 break;
8179 case 2:
8180 p = "mode_t";
8181 break;
8182 default:
8183 break;
8184 };
8185 break;
8186 /* mknodat */
8187 case 498:
8188 switch(ndx) {
8189 case 0:
8190 p = "int";
8191 break;
8192 case 1:
8193 p = "char *";
8194 break;
8195 case 2:
8196 p = "mode_t";
8197 break;
8198 case 3:
8199 p = "dev_t";
8200 break;
8201 default:
8202 break;
8203 };
8204 break;
8205 /* openat */
8206 case 499:
8207 switch(ndx) {
8208 case 0:
8209 p = "int";
8210 break;
8211 case 1:
8212 p = "char *";
8213 break;
8214 case 2:
8215 p = "int";
8216 break;
8217 case 3:
8218 p = "mode_t";
8219 break;
8220 default:
8221 break;
8222 };
8223 break;
8224 /* readlinkat */
8225 case 500:
8226 switch(ndx) {
8227 case 0:
8228 p = "int";
8229 break;
8230 case 1:
8231 p = "char *";
8232 break;
8233 case 2:
8234 p = "char *";
8235 break;
8236 case 3:
8237 p = "size_t";
8238 break;
8239 default:
8240 break;
8241 };
8242 break;
8243 /* renameat */
8244 case 501:
8245 switch(ndx) {
8246 case 0:
8247 p = "int";
8248 break;
8249 case 1:
8250 p = "char *";
8251 break;
8252 case 2:
8253 p = "int";
8254 break;
8255 case 3:
8256 p = "char *";
8257 break;
8258 default:
8259 break;
8260 };
8261 break;
8262 /* symlinkat */
8263 case 502:
8264 switch(ndx) {
8265 case 0:
8266 p = "char *";
8267 break;
8268 case 1:
8269 p = "int";
8270 break;
8271 case 2:
8272 p = "char *";
8273 break;
8274 default:
8275 break;
8276 };
8277 break;
8278 /* unlinkat */
8279 case 503:
8280 switch(ndx) {
8281 case 0:
8282 p = "int";
8283 break;
8284 case 1:
8285 p = "char *";
8286 break;
8287 case 2:
8288 p = "int";
8289 break;
8290 default:
8291 break;
8292 };
8293 break;
8294 /* posix_openpt */
8295 case 504:
8296 switch(ndx) {
8297 case 0:
8298 p = "int";
8299 break;
8300 default:
8301 break;
8302 };
8303 break;
8304 /* gssd_syscall */
8305 case 505:
8306 switch(ndx) {
8307 case 0:
8308 p = "char *";
8309 break;
8310 default:
8311 break;
8312 };
8313 break;
8314 /* jail_get */
8315 case 506:
8316 switch(ndx) {
8317 case 0:
8318 p = "struct iovec *";
8319 break;
8320 case 1:
8321 p = "unsigned int";
8322 break;
8323 case 2:
8324 p = "int";
8325 break;
8326 default:
8327 break;
8328 };
8329 break;
8330 /* jail_set */
8331 case 507:
8332 switch(ndx) {
8333 case 0:
8334 p = "struct iovec *";
8335 break;
8336 case 1:
8337 p = "unsigned int";
8338 break;
8339 case 2:
8340 p = "int";
8341 break;
8342 default:
8343 break;
8344 };
8345 break;
8346 /* jail_remove */
8347 case 508:
8348 switch(ndx) {
8349 case 0:
8350 p = "int";
8351 break;
8352 default:
8353 break;
8354 };
8355 break;
8356 /* closefrom */
8357 case 509:
8358 switch(ndx) {
8359 case 0:
8360 p = "int";
8361 break;
8362 default:
8363 break;
8364 };
8365 break;
8366 /* __semctl */
8367 case 510:
8368 switch(ndx) {
8369 case 0:
8370 p = "int";
8371 break;
8372 case 1:
8373 p = "int";
8374 break;
8375 case 2:
8376 p = "int";
8377 break;
8378 case 3:
8379 p = "union semun *";
8380 break;
8381 default:
8382 break;
8383 };
8384 break;
8385 /* msgctl */
8386 case 511:
8387 switch(ndx) {
8388 case 0:
8389 p = "int";
8390 break;
8391 case 1:
8392 p = "int";
8393 break;
8394 case 2:
8395 p = "struct msqid_ds *";
8396 break;
8397 default:
8398 break;
8399 };
8400 break;
8401 /* shmctl */
8402 case 512:
8403 switch(ndx) {
8404 case 0:
8405 p = "int";
8406 break;
8407 case 1:
8408 p = "int";
8409 break;
8410 case 2:
8411 p = "struct shmid_ds *";
8412 break;
8413 default:
8414 break;
8415 };
8416 break;
8417 /* lpathconf */
8418 case 513:
8419 switch(ndx) {
8420 case 0:
8421 p = "char *";
8422 break;
8423 case 1:
8424 p = "int";
8425 break;
8426 default:
8427 break;
8428 };
8429 break;
8430 /* cap_new */
8431 case 514:
8432 switch(ndx) {
8433 case 0:
8434 p = "int";
8435 break;
8436 case 1:
8437 p = "uint64_t";
8438 break;
8439 default:
8440 break;
8441 };
8442 break;
8443 /* cap_getrights */
8444 case 515:
8445 switch(ndx) {
8446 case 0:
8447 p = "int";
8448 break;
8449 case 1:
8450 p = "uint64_t *";
8451 break;
8452 default:
8453 break;
8454 };
8455 break;
8456 /* cap_enter */
8457 case 516:
8458 break;
8459 /* cap_getmode */
8460 case 517:
8461 switch(ndx) {
8462 case 0:
8463 p = "u_int *";
8464 break;
8465 default:
8466 break;
8467 };
8468 break;
8469 /* pdfork */
8470 case 518:
8471 switch(ndx) {
8472 case 0:
8473 p = "int *";
8474 break;
8475 case 1:
8476 p = "int";
8477 break;
8478 default:
8479 break;
8480 };
8481 break;
8482 /* pdkill */
8483 case 519:
8484 switch(ndx) {
8485 case 0:
8486 p = "int";
8487 break;
8488 case 1:
8489 p = "int";
8490 break;
8491 default:
8492 break;
8493 };
8494 break;
8495 /* pdgetpid */
8496 case 520:
8497 switch(ndx) {
8498 case 0:
8499 p = "int";
8500 break;
8501 case 1:
8502 p = "pid_t *";
8503 break;
8504 default:
8505 break;
8506 };
8507 break;
8508 /* pselect */
8509 case 522:
8510 switch(ndx) {
8511 case 0:
8512 p = "int";
8513 break;
8514 case 1:
8515 p = "fd_set *";
8516 break;
8517 case 2:
8518 p = "fd_set *";
8519 break;
8520 case 3:
8521 p = "fd_set *";
8522 break;
8523 case 4:
8524 p = "const struct timespec *";
8525 break;
8526 case 5:
8527 p = "const sigset_t *";
8528 break;
8529 default:
8530 break;
8531 };
8532 break;
8533 /* getloginclass */
8534 case 523:
8535 switch(ndx) {
8536 case 0:
8537 p = "char *";
8538 break;
8539 case 1:
8540 p = "size_t";
8541 break;
8542 default:
8543 break;
8544 };
8545 break;
8546 /* setloginclass */
8547 case 524:
8548 switch(ndx) {
8549 case 0:
8550 p = "const char *";
8551 break;
8552 default:
8553 break;
8554 };
8555 break;
8556 /* rctl_get_racct */
8557 case 525:
8558 switch(ndx) {
8559 case 0:
8560 p = "const void *";
8561 break;
8562 case 1:
8563 p = "size_t";
8564 break;
8565 case 2:
8566 p = "void *";
8567 break;
8568 case 3:
8569 p = "size_t";
8570 break;
8571 default:
8572 break;
8573 };
8574 break;
8575 /* rctl_get_rules */
8576 case 526:
8577 switch(ndx) {
8578 case 0:
8579 p = "const void *";
8580 break;
8581 case 1:
8582 p = "size_t";
8583 break;
8584 case 2:
8585 p = "void *";
8586 break;
8587 case 3:
8588 p = "size_t";
8589 break;
8590 default:
8591 break;
8592 };
8593 break;
8594 /* rctl_get_limits */
8595 case 527:
8596 switch(ndx) {
8597 case 0:
8598 p = "const void *";
8599 break;
8600 case 1:
8601 p = "size_t";
8602 break;
8603 case 2:
8604 p = "void *";
8605 break;
8606 case 3:
8607 p = "size_t";
8608 break;
8609 default:
8610 break;
8611 };
8612 break;
8613 /* rctl_add_rule */
8614 case 528:
8615 switch(ndx) {
8616 case 0:
8617 p = "const void *";
8618 break;
8619 case 1:
8620 p = "size_t";
8621 break;
8622 case 2:
8623 p = "void *";
8624 break;
8625 case 3:
8626 p = "size_t";
8627 break;
8628 default:
8629 break;
8630 };
8631 break;
8632 /* rctl_remove_rule */
8633 case 529:
8634 switch(ndx) {
8635 case 0:
8636 p = "const void *";
8637 break;
8638 case 1:
8639 p = "size_t";
8640 break;
8641 case 2:
8642 p = "void *";
8643 break;
8644 case 3:
8645 p = "size_t";
8646 break;
8647 default:
8648 break;
8649 };
8650 break;
8651 /* posix_fallocate */
8652 case 530:
8653 switch(ndx) {
8654 case 0:
8655 p = "int";
8656 break;
8657 case 1:
8658 p = "off_t";
8659 break;
8660 case 2:
8661 p = "off_t";
8662 break;
8663 default:
8664 break;
8665 };
8666 break;
8667 /* posix_fadvise */
8668 case 531:
8669 switch(ndx) {
8670 case 0:
8671 p = "int";
8672 break;
8673 case 1:
8674 p = "off_t";
8675 break;
8676 case 2:
8677 p = "off_t";
8678 break;
8679 case 3:
8680 p = "int";
8681 break;
8682 default:
8683 break;
8684 };
8685 break;
8686 default:
8687 break;
8688 };
8689 if (p != NULL)
8690 strlcpy(desc, p, descsz);
8691}
8692static void
8693systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8694{
8695 const char *p = NULL;
8696 switch (sysnum) {
8697 /* nosys */
8698 case 0:
8699 /* sys_exit */
8700 case 1:
8701 if (ndx == 0 || ndx == 1)
8702 p = "void";
8703 break;
8704 /* fork */
8705 case 2:
8706 /* read */
8707 case 3:
8708 if (ndx == 0 || ndx == 1)
8709 p = "ssize_t";
8710 break;
8711 /* write */
8712 case 4:
8713 if (ndx == 0 || ndx == 1)
8714 p = "ssize_t";
8715 break;
8716 /* open */
8717 case 5:
8718 if (ndx == 0 || ndx == 1)
8719 p = "int";
8720 break;
8721 /* close */
8722 case 6:
8723 if (ndx == 0 || ndx == 1)
8724 p = "int";
8725 break;
8726 /* wait4 */
8727 case 7:
8728 if (ndx == 0 || ndx == 1)
8729 p = "int";
8730 break;
8731 /* link */
8732 case 9:
8733 if (ndx == 0 || ndx == 1)
8734 p = "int";
8735 break;
8736 /* unlink */
8737 case 10:
8738 if (ndx == 0 || ndx == 1)
8739 p = "int";
8740 break;
8741 /* chdir */
8742 case 12:
8743 if (ndx == 0 || ndx == 1)
8744 p = "int";
8745 break;
8746 /* fchdir */
8747 case 13:
8748 if (ndx == 0 || ndx == 1)
8749 p = "int";
8750 break;
8751 /* mknod */
8752 case 14:
8753 if (ndx == 0 || ndx == 1)
8754 p = "int";
8755 break;
8756 /* chmod */
8757 case 15:
8758 if (ndx == 0 || ndx == 1)
8759 p = "int";
8760 break;
8761 /* chown */
8762 case 16:
8763 if (ndx == 0 || ndx == 1)
8764 p = "int";
8765 break;
8766 /* obreak */
8767 case 17:
8768 if (ndx == 0 || ndx == 1)
8769 p = "int";
8770 break;
8771 /* getpid */
8772 case 20:
8773 /* mount */
8774 case 21:
8775 if (ndx == 0 || ndx == 1)
8776 p = "int";
8777 break;
8778 /* unmount */
8779 case 22:
8780 if (ndx == 0 || ndx == 1)
8781 p = "int";
8782 break;
8783 /* setuid */
8784 case 23:
8785 if (ndx == 0 || ndx == 1)
8786 p = "int";
8787 break;
8788 /* getuid */
8789 case 24:
8790 /* geteuid */
8791 case 25:
8792 /* ptrace */
8793 case 26:
8794 if (ndx == 0 || ndx == 1)
8795 p = "int";
8796 break;
8797 /* recvmsg */
8798 case 27:
8799 if (ndx == 0 || ndx == 1)
8800 p = "int";
8801 break;
8802 /* sendmsg */
8803 case 28:
8804 if (ndx == 0 || ndx == 1)
8805 p = "int";
8806 break;
8807 /* recvfrom */
8808 case 29:
8809 if (ndx == 0 || ndx == 1)
8810 p = "int";
8811 break;
8812 /* accept */
8813 case 30:
8814 if (ndx == 0 || ndx == 1)
8815 p = "int";
8816 break;
8817 /* getpeername */
8818 case 31:
8819 if (ndx == 0 || ndx == 1)
8820 p = "int";
8821 break;
8822 /* getsockname */
8823 case 32:
8824 if (ndx == 0 || ndx == 1)
8825 p = "int";
8826 break;
8827 /* access */
8828 case 33:
8829 if (ndx == 0 || ndx == 1)
8830 p = "int";
8831 break;
8832 /* chflags */
8833 case 34:
8834 if (ndx == 0 || ndx == 1)
8835 p = "int";
8836 break;
8837 /* fchflags */
8838 case 35:
8839 if (ndx == 0 || ndx == 1)
8840 p = "int";
8841 break;
8842 /* sync */
8843 case 36:
8844 /* kill */
8845 case 37:
8846 if (ndx == 0 || ndx == 1)
8847 p = "int";
8848 break;
8849 /* getppid */
8850 case 39:
8851 /* dup */
8852 case 41:
8853 if (ndx == 0 || ndx == 1)
8854 p = "int";
8855 break;
8856 /* pipe */
8857 case 42:
8858 /* getegid */
8859 case 43:
8860 /* profil */
8861 case 44:
8862 if (ndx == 0 || ndx == 1)
8863 p = "int";
8864 break;
8865 /* ktrace */
8866 case 45:
8867 if (ndx == 0 || ndx == 1)
8868 p = "int";
8869 break;
8870 /* getgid */
8871 case 47:
8872 /* getlogin */
8873 case 49:
8874 if (ndx == 0 || ndx == 1)
8875 p = "int";
8876 break;
8877 /* setlogin */
8878 case 50:
8879 if (ndx == 0 || ndx == 1)
8880 p = "int";
8881 break;
8882 /* acct */
8883 case 51:
8884 if (ndx == 0 || ndx == 1)
8885 p = "int";
8886 break;
8887 /* sigaltstack */
8888 case 53:
8889 if (ndx == 0 || ndx == 1)
8890 p = "int";
8891 break;
8892 /* ioctl */
8893 case 54:
8894 if (ndx == 0 || ndx == 1)
8895 p = "int";
8896 break;
8897 /* reboot */
8898 case 55:
8899 if (ndx == 0 || ndx == 1)
8900 p = "int";
8901 break;
8902 /* revoke */
8903 case 56:
8904 if (ndx == 0 || ndx == 1)
8905 p = "int";
8906 break;
8907 /* symlink */
8908 case 57:
8909 if (ndx == 0 || ndx == 1)
8910 p = "int";
8911 break;
8912 /* readlink */
8913 case 58:
8914 if (ndx == 0 || ndx == 1)
8915 p = "ssize_t";
8916 break;
8917 /* execve */
8918 case 59:
8919 if (ndx == 0 || ndx == 1)
8920 p = "int";
8921 break;
8922 /* umask */
8923 case 60:
8924 if (ndx == 0 || ndx == 1)
8925 p = "int";
8926 break;
8927 /* chroot */
8928 case 61:
8929 if (ndx == 0 || ndx == 1)
8930 p = "int";
8931 break;
8932 /* msync */
8933 case 65:
8934 if (ndx == 0 || ndx == 1)
8935 p = "int";
8936 break;
8937 /* vfork */
8938 case 66:
8939 /* sbrk */
8940 case 69:
8941 if (ndx == 0 || ndx == 1)
8942 p = "int";
8943 break;
8944 /* sstk */
8945 case 70:
8946 if (ndx == 0 || ndx == 1)
8947 p = "int";
8948 break;
8949 /* ovadvise */
8950 case 72:
8951 if (ndx == 0 || ndx == 1)
8952 p = "int";
8953 break;
8954 /* munmap */
8955 case 73:
8956 if (ndx == 0 || ndx == 1)
8957 p = "int";
8958 break;
8959 /* mprotect */
8960 case 74:
8961 if (ndx == 0 || ndx == 1)
8962 p = "int";
8963 break;
8964 /* madvise */
8965 case 75:
8966 if (ndx == 0 || ndx == 1)
8967 p = "int";
8968 break;
8969 /* mincore */
8970 case 78:
8971 if (ndx == 0 || ndx == 1)
8972 p = "int";
8973 break;
8974 /* getgroups */
8975 case 79:
8976 if (ndx == 0 || ndx == 1)
8977 p = "int";
8978 break;
8979 /* setgroups */
8980 case 80:
8981 if (ndx == 0 || ndx == 1)
8982 p = "int";
8983 break;
8984 /* getpgrp */
8985 case 81:
8986 /* setpgid */
8987 case 82:
8988 if (ndx == 0 || ndx == 1)
8989 p = "int";
8990 break;
8991 /* setitimer */
8992 case 83:
8993 if (ndx == 0 || ndx == 1)
8994 p = "int";
8995 break;
8996 /* swapon */
8997 case 85:
8998 if (ndx == 0 || ndx == 1)
8999 p = "int";
9000 break;
9001 /* getitimer */
9002 case 86:
9003 if (ndx == 0 || ndx == 1)
9004 p = "int";
9005 break;
9006 /* getdtablesize */
9007 case 89:
9008 /* dup2 */
9009 case 90:
9010 if (ndx == 0 || ndx == 1)
9011 p = "int";
9012 break;
9013 /* fcntl */
9014 case 92:
9015 if (ndx == 0 || ndx == 1)
9016 p = "int";
9017 break;
9018 /* select */
9019 case 93:
9020 if (ndx == 0 || ndx == 1)
9021 p = "int";
9022 break;
9023 /* fsync */
9024 case 95:
9025 if (ndx == 0 || ndx == 1)
9026 p = "int";
9027 break;
9028 /* setpriority */
9029 case 96:
9030 if (ndx == 0 || ndx == 1)
9031 p = "int";
9032 break;
9033 /* socket */
9034 case 97:
9035 if (ndx == 0 || ndx == 1)
9036 p = "int";
9037 break;
9038 /* connect */
9039 case 98:
9040 if (ndx == 0 || ndx == 1)
9041 p = "int";
9042 break;
9043 /* getpriority */
9044 case 100:
9045 if (ndx == 0 || ndx == 1)
9046 p = "int";
9047 break;
9048 /* bind */
9049 case 104:
9050 if (ndx == 0 || ndx == 1)
9051 p = "int";
9052 break;
9053 /* setsockopt */
9054 case 105:
9055 if (ndx == 0 || ndx == 1)
9056 p = "int";
9057 break;
9058 /* listen */
9059 case 106:
9060 if (ndx == 0 || ndx == 1)
9061 p = "int";
9062 break;
9063 /* gettimeofday */
9064 case 116:
9065 if (ndx == 0 || ndx == 1)
9066 p = "int";
9067 break;
9068 /* getrusage */
9069 case 117:
9070 if (ndx == 0 || ndx == 1)
9071 p = "int";
9072 break;
9073 /* getsockopt */
9074 case 118:
9075 if (ndx == 0 || ndx == 1)
9076 p = "int";
9077 break;
9078 /* readv */
9079 case 120:
9080 if (ndx == 0 || ndx == 1)
9081 p = "int";
9082 break;
9083 /* writev */
9084 case 121:
9085 if (ndx == 0 || ndx == 1)
9086 p = "int";
9087 break;
9088 /* settimeofday */
9089 case 122:
9090 if (ndx == 0 || ndx == 1)
9091 p = "int";
9092 break;
9093 /* fchown */
9094 case 123:
9095 if (ndx == 0 || ndx == 1)
9096 p = "int";
9097 break;
9098 /* fchmod */
9099 case 124:
9100 if (ndx == 0 || ndx == 1)
9101 p = "int";
9102 break;
9103 /* setreuid */
9104 case 126:
9105 if (ndx == 0 || ndx == 1)
9106 p = "int";
9107 break;
9108 /* setregid */
9109 case 127:
9110 if (ndx == 0 || ndx == 1)
9111 p = "int";
9112 break;
9113 /* rename */
9114 case 128:
9115 if (ndx == 0 || ndx == 1)
9116 p = "int";
9117 break;
9118 /* flock */
9119 case 131:
9120 if (ndx == 0 || ndx == 1)
9121 p = "int";
9122 break;
9123 /* mkfifo */
9124 case 132:
9125 if (ndx == 0 || ndx == 1)
9126 p = "int";
9127 break;
9128 /* sendto */
9129 case 133:
9130 if (ndx == 0 || ndx == 1)
9131 p = "int";
9132 break;
9133 /* shutdown */
9134 case 134:
9135 if (ndx == 0 || ndx == 1)
9136 p = "int";
9137 break;
9138 /* socketpair */
9139 case 135:
9140 if (ndx == 0 || ndx == 1)
9141 p = "int";
9142 break;
9143 /* mkdir */
9144 case 136:
9145 if (ndx == 0 || ndx == 1)
9146 p = "int";
9147 break;
9148 /* rmdir */
9149 case 137:
9150 if (ndx == 0 || ndx == 1)
9151 p = "int";
9152 break;
9153 /* utimes */
9154 case 138:
9155 if (ndx == 0 || ndx == 1)
9156 p = "int";
9157 break;
9158 /* adjtime */
9159 case 140:
9160 if (ndx == 0 || ndx == 1)
9161 p = "int";
9162 break;
9163 /* setsid */
9164 case 147:
9165 /* quotactl */
9166 case 148:
9167 if (ndx == 0 || ndx == 1)
9168 p = "int";
9169 break;
9170 /* nlm_syscall */
9171 case 154:
9172 if (ndx == 0 || ndx == 1)
9173 p = "int";
9174 break;
9175 /* nfssvc */
9176 case 155:
9177 if (ndx == 0 || ndx == 1)
9178 p = "int";
9179 break;
9180 /* lgetfh */
9181 case 160:
9182 if (ndx == 0 || ndx == 1)
9183 p = "int";
9184 break;
9185 /* getfh */
9186 case 161:
9187 if (ndx == 0 || ndx == 1)
9188 p = "int";
9189 break;
9190 /* sysarch */
9191 case 165:
9192 if (ndx == 0 || ndx == 1)
9193 p = "int";
9194 break;
9195 /* rtprio */
9196 case 166:
9197 if (ndx == 0 || ndx == 1)
9198 p = "int";
9199 break;
9200 /* semsys */
9201 case 169:
9202 if (ndx == 0 || ndx == 1)
9203 p = "int";
9204 break;
9205 /* msgsys */
9206 case 170:
9207 if (ndx == 0 || ndx == 1)
9208 p = "int";
9209 break;
9210 /* shmsys */
9211 case 171:
9212 if (ndx == 0 || ndx == 1)
9213 p = "int";
9214 break;
9215 /* freebsd6_pread */
9216 case 173:
9217 if (ndx == 0 || ndx == 1)
9218 p = "ssize_t";
9219 break;
9220 /* freebsd6_pwrite */
9221 case 174:
9222 if (ndx == 0 || ndx == 1)
9223 p = "ssize_t";
9224 break;
9225 /* setfib */
9226 case 175:
9227 if (ndx == 0 || ndx == 1)
9228 p = "int";
9229 break;
9230 /* ntp_adjtime */
9231 case 176:
9232 if (ndx == 0 || ndx == 1)
9233 p = "int";
9234 break;
9235 /* setgid */
9236 case 181:
9237 if (ndx == 0 || ndx == 1)
9238 p = "int";
9239 break;
9240 /* setegid */
9241 case 182:
9242 if (ndx == 0 || ndx == 1)
9243 p = "int";
9244 break;
9245 /* seteuid */
9246 case 183:
9247 if (ndx == 0 || ndx == 1)
9248 p = "int";
9249 break;
9250 /* stat */
9251 case 188:
9252 if (ndx == 0 || ndx == 1)
9253 p = "int";
9254 break;
9255 /* fstat */
9256 case 189:
9257 if (ndx == 0 || ndx == 1)
9258 p = "int";
9259 break;
9260 /* lstat */
9261 case 190:
9262 if (ndx == 0 || ndx == 1)
9263 p = "int";
9264 break;
9265 /* pathconf */
9266 case 191:
9267 if (ndx == 0 || ndx == 1)
9268 p = "int";
9269 break;
9270 /* fpathconf */
9271 case 192:
9272 if (ndx == 0 || ndx == 1)
9273 p = "int";
9274 break;
9275 /* getrlimit */
9276 case 194:
9277 if (ndx == 0 || ndx == 1)
9278 p = "int";
9279 break;
9280 /* setrlimit */
9281 case 195:
9282 if (ndx == 0 || ndx == 1)
9283 p = "int";
9284 break;
9285 /* getdirentries */
9286 case 196:
9287 if (ndx == 0 || ndx == 1)
9288 p = "int";
9289 break;
9290 /* freebsd6_mmap */
9291 case 197:
9292 if (ndx == 0 || ndx == 1)
9293 p = "caddr_t";
9294 break;
9295 /* nosys */
9296 case 198:
9297 /* freebsd6_lseek */
9298 case 199:
9299 if (ndx == 0 || ndx == 1)
9300 p = "off_t";
9301 break;
9302 /* freebsd6_truncate */
9303 case 200:
9304 if (ndx == 0 || ndx == 1)
9305 p = "int";
9306 break;
9307 /* freebsd6_ftruncate */
9308 case 201:
9309 if (ndx == 0 || ndx == 1)
9310 p = "int";
9311 break;
9312 /* __sysctl */
9313 case 202:
9314 if (ndx == 0 || ndx == 1)
9315 p = "int";
9316 break;
9317 /* mlock */
9318 case 203:
9319 if (ndx == 0 || ndx == 1)
9320 p = "int";
9321 break;
9322 /* munlock */
9323 case 204:
9324 if (ndx == 0 || ndx == 1)
9325 p = "int";
9326 break;
9327 /* undelete */
9328 case 205:
9329 if (ndx == 0 || ndx == 1)
9330 p = "int";
9331 break;
9332 /* futimes */
9333 case 206:
9334 if (ndx == 0 || ndx == 1)
9335 p = "int";
9336 break;
9337 /* getpgid */
9338 case 207:
9339 if (ndx == 0 || ndx == 1)
9340 p = "int";
9341 break;
9342 /* poll */
9343 case 209:
9344 if (ndx == 0 || ndx == 1)
9345 p = "int";
9346 break;
9347 /* lkmnosys */
9348 case 210:
9349 /* lkmnosys */
9350 case 211:
9351 /* lkmnosys */
9352 case 212:
9353 /* lkmnosys */
9354 case 213:
9355 /* lkmnosys */
9356 case 214:
9357 /* lkmnosys */
9358 case 215:
9359 /* lkmnosys */
9360 case 216:
9361 /* lkmnosys */
9362 case 217:
9363 /* lkmnosys */
9364 case 218:
9365 /* lkmnosys */
9366 case 219:
9367 /* semget */
9368 case 221:
9369 if (ndx == 0 || ndx == 1)
9370 p = "int";
9371 break;
9372 /* semop */
9373 case 222:
9374 if (ndx == 0 || ndx == 1)
9375 p = "int";
9376 break;
9377 /* msgget */
9378 case 225:
9379 if (ndx == 0 || ndx == 1)
9380 p = "int";
9381 break;
9382 /* msgsnd */
9383 case 226:
9384 if (ndx == 0 || ndx == 1)
9385 p = "int";
9386 break;
9387 /* msgrcv */
9388 case 227:
9389 if (ndx == 0 || ndx == 1)
9390 p = "int";
9391 break;
9392 /* shmat */
9393 case 228:
9394 if (ndx == 0 || ndx == 1)
9395 p = "int";
9396 break;
9397 /* shmdt */
9398 case 230:
9399 if (ndx == 0 || ndx == 1)
9400 p = "int";
9401 break;
9402 /* shmget */
9403 case 231:
9404 if (ndx == 0 || ndx == 1)
9405 p = "int";
9406 break;
9407 /* clock_gettime */
9408 case 232:
9409 if (ndx == 0 || ndx == 1)
9410 p = "int";
9411 break;
9412 /* clock_settime */
9413 case 233:
9414 if (ndx == 0 || ndx == 1)
9415 p = "int";
9416 break;
9417 /* clock_getres */
9418 case 234:
9419 if (ndx == 0 || ndx == 1)
9420 p = "int";
9421 break;
9422 /* ktimer_create */
9423 case 235:
9424 if (ndx == 0 || ndx == 1)
9425 p = "int";
9426 break;
9427 /* ktimer_delete */
9428 case 236:
9429 if (ndx == 0 || ndx == 1)
9430 p = "int";
9431 break;
9432 /* ktimer_settime */
9433 case 237:
9434 if (ndx == 0 || ndx == 1)
9435 p = "int";
9436 break;
9437 /* ktimer_gettime */
9438 case 238:
9439 if (ndx == 0 || ndx == 1)
9440 p = "int";
9441 break;
9442 /* ktimer_getoverrun */
9443 case 239:
9444 if (ndx == 0 || ndx == 1)
9445 p = "int";
9446 break;
9447 /* nanosleep */
9448 case 240:
9449 if (ndx == 0 || ndx == 1)
9450 p = "int";
9451 break;
9452 /* ffclock_getcounter */
9453 case 241:
9454 if (ndx == 0 || ndx == 1)
9455 p = "int";
9456 break;
9457 /* ffclock_setestimate */
9458 case 242:
9459 if (ndx == 0 || ndx == 1)
9460 p = "int";
9461 break;
9462 /* ffclock_getestimate */
9463 case 243:
9464 if (ndx == 0 || ndx == 1)
9465 p = "int";
9466 break;
9467 /* ntp_gettime */
9468 case 248:
9469 if (ndx == 0 || ndx == 1)
9470 p = "int";
9471 break;
9472 /* minherit */
9473 case 250:
9474 if (ndx == 0 || ndx == 1)
9475 p = "int";
9476 break;
9477 /* rfork */
9478 case 251:
9479 if (ndx == 0 || ndx == 1)
9480 p = "int";
9481 break;
9482 /* openbsd_poll */
9483 case 252:
9484 if (ndx == 0 || ndx == 1)
9485 p = "int";
9486 break;
9487 /* issetugid */
9488 case 253:
9489 /* lchown */
9490 case 254:
9491 if (ndx == 0 || ndx == 1)
9492 p = "int";
9493 break;
9494 /* aio_read */
9495 case 255:
9496 if (ndx == 0 || ndx == 1)
9497 p = "int";
9498 break;
9499 /* aio_write */
9500 case 256:
9501 if (ndx == 0 || ndx == 1)
9502 p = "int";
9503 break;
9504 /* lio_listio */
9505 case 257:
9506 if (ndx == 0 || ndx == 1)
9507 p = "int";
9508 break;
9509 /* getdents */
9510 case 272:
9511 if (ndx == 0 || ndx == 1)
9512 p = "int";
9513 break;
9514 /* lchmod */
9515 case 274:
9516 if (ndx == 0 || ndx == 1)
9517 p = "int";
9518 break;
9519 /* lchown */
9520 case 275:
9521 if (ndx == 0 || ndx == 1)
9522 p = "int";
9523 break;
9524 /* lutimes */
9525 case 276:
9526 if (ndx == 0 || ndx == 1)
9527 p = "int";
9528 break;
9529 /* msync */
9530 case 277:
9531 if (ndx == 0 || ndx == 1)
9532 p = "int";
9533 break;
9534 /* nstat */
9535 case 278:
9536 if (ndx == 0 || ndx == 1)
9537 p = "int";
9538 break;
9539 /* nfstat */
9540 case 279:
9541 if (ndx == 0 || ndx == 1)
9542 p = "int";
9543 break;
9544 /* nlstat */
9545 case 280:
9546 if (ndx == 0 || ndx == 1)
9547 p = "int";
9548 break;
9549 /* preadv */
9550 case 289:
9551 if (ndx == 0 || ndx == 1)
9552 p = "ssize_t";
9553 break;
9554 /* pwritev */
9555 case 290:
9556 if (ndx == 0 || ndx == 1)
9557 p = "ssize_t";
9558 break;
9559 /* fhopen */
9560 case 298:
9561 if (ndx == 0 || ndx == 1)
9562 p = "int";
9563 break;
9564 /* fhstat */
9565 case 299:
9566 if (ndx == 0 || ndx == 1)
9567 p = "int";
9568 break;
9569 /* modnext */
9570 case 300:
9571 if (ndx == 0 || ndx == 1)
9572 p = "int";
9573 break;
9574 /* modstat */
9575 case 301:
9576 if (ndx == 0 || ndx == 1)
9577 p = "int";
9578 break;
9579 /* modfnext */
9580 case 302:
9581 if (ndx == 0 || ndx == 1)
9582 p = "int";
9583 break;
9584 /* modfind */
9585 case 303:
9586 if (ndx == 0 || ndx == 1)
9587 p = "int";
9588 break;
9589 /* kldload */
9590 case 304:
9591 if (ndx == 0 || ndx == 1)
9592 p = "int";
9593 break;
9594 /* kldunload */
9595 case 305:
9596 if (ndx == 0 || ndx == 1)
9597 p = "int";
9598 break;
9599 /* kldfind */
9600 case 306:
9601 if (ndx == 0 || ndx == 1)
9602 p = "int";
9603 break;
9604 /* kldnext */
9605 case 307:
9606 if (ndx == 0 || ndx == 1)
9607 p = "int";
9608 break;
9609 /* kldstat */
9610 case 308:
9611 if (ndx == 0 || ndx == 1)
9612 p = "int";
9613 break;
9614 /* kldfirstmod */
9615 case 309:
9616 if (ndx == 0 || ndx == 1)
9617 p = "int";
9618 break;
9619 /* getsid */
9620 case 310:
9621 if (ndx == 0 || ndx == 1)
9622 p = "int";
9623 break;
9624 /* setresuid */
9625 case 311:
9626 if (ndx == 0 || ndx == 1)
9627 p = "int";
9628 break;
9629 /* setresgid */
9630 case 312:
9631 if (ndx == 0 || ndx == 1)
9632 p = "int";
9633 break;
9634 /* aio_return */
9635 case 314:
9636 if (ndx == 0 || ndx == 1)
9637 p = "int";
9638 break;
9639 /* aio_suspend */
9640 case 315:
9641 if (ndx == 0 || ndx == 1)
9642 p = "int";
9643 break;
9644 /* aio_cancel */
9645 case 316:
9646 if (ndx == 0 || ndx == 1)
9647 p = "int";
9648 break;
9649 /* aio_error */
9650 case 317:
9651 if (ndx == 0 || ndx == 1)
9652 p = "int";
9653 break;
9654 /* oaio_read */
9655 case 318:
9656 if (ndx == 0 || ndx == 1)
9657 p = "int";
9658 break;
9659 /* oaio_write */
9660 case 319:
9661 if (ndx == 0 || ndx == 1)
9662 p = "int";
9663 break;
9664 /* olio_listio */
9665 case 320:
9666 if (ndx == 0 || ndx == 1)
9667 p = "int";
9668 break;
9669 /* yield */
9670 case 321:
9671 /* mlockall */
9672 case 324:
9673 if (ndx == 0 || ndx == 1)
9674 p = "int";
9675 break;
9676 /* munlockall */
9677 case 325:
9678 /* __getcwd */
9679 case 326:
9680 if (ndx == 0 || ndx == 1)
9681 p = "int";
9682 break;
9683 /* sched_setparam */
9684 case 327:
9685 if (ndx == 0 || ndx == 1)
9686 p = "int";
9687 break;
9688 /* sched_getparam */
9689 case 328:
9690 if (ndx == 0 || ndx == 1)
9691 p = "int";
9692 break;
9693 /* sched_setscheduler */
9694 case 329:
9695 if (ndx == 0 || ndx == 1)
9696 p = "int";
9697 break;
9698 /* sched_getscheduler */
9699 case 330:
9700 if (ndx == 0 || ndx == 1)
9701 p = "int";
9702 break;
9703 /* sched_yield */
9704 case 331:
9705 /* sched_get_priority_max */
9706 case 332:
9707 if (ndx == 0 || ndx == 1)
9708 p = "int";
9709 break;
9710 /* sched_get_priority_min */
9711 case 333:
9712 if (ndx == 0 || ndx == 1)
9713 p = "int";
9714 break;
9715 /* sched_rr_get_interval */
9716 case 334:
9717 if (ndx == 0 || ndx == 1)
9718 p = "int";
9719 break;
9720 /* utrace */
9721 case 335:
9722 if (ndx == 0 || ndx == 1)
9723 p = "int";
9724 break;
9725 /* kldsym */
9726 case 337:
9727 if (ndx == 0 || ndx == 1)
9728 p = "int";
9729 break;
9730 /* jail */
9731 case 338:
9732 if (ndx == 0 || ndx == 1)
9733 p = "int";
9734 break;
9735 /* nnpfs_syscall */
9736 case 339:
9737 if (ndx == 0 || ndx == 1)
9738 p = "int";
9739 break;
9740 /* sigprocmask */
9741 case 340:
9742 if (ndx == 0 || ndx == 1)
9743 p = "int";
9744 break;
9745 /* sigsuspend */
9746 case 341:
9747 if (ndx == 0 || ndx == 1)
9748 p = "int";
9749 break;
9750 /* sigpending */
9751 case 343:
9752 if (ndx == 0 || ndx == 1)
9753 p = "int";
9754 break;
9755 /* sigtimedwait */
9756 case 345:
9757 if (ndx == 0 || ndx == 1)
9758 p = "int";
9759 break;
9760 /* sigwaitinfo */
9761 case 346:
9762 if (ndx == 0 || ndx == 1)
9763 p = "int";
9764 break;
9765 /* __acl_get_file */
9766 case 347:
9767 if (ndx == 0 || ndx == 1)
9768 p = "int";
9769 break;
9770 /* __acl_set_file */
9771 case 348:
9772 if (ndx == 0 || ndx == 1)
9773 p = "int";
9774 break;
9775 /* __acl_get_fd */
9776 case 349:
9777 if (ndx == 0 || ndx == 1)
9778 p = "int";
9779 break;
9780 /* __acl_set_fd */
9781 case 350:
9782 if (ndx == 0 || ndx == 1)
9783 p = "int";
9784 break;
9785 /* __acl_delete_file */
9786 case 351:
9787 if (ndx == 0 || ndx == 1)
9788 p = "int";
9789 break;
9790 /* __acl_delete_fd */
9791 case 352:
9792 if (ndx == 0 || ndx == 1)
9793 p = "int";
9794 break;
9795 /* __acl_aclcheck_file */
9796 case 353:
9797 if (ndx == 0 || ndx == 1)
9798 p = "int";
9799 break;
9800 /* __acl_aclcheck_fd */
9801 case 354:
9802 if (ndx == 0 || ndx == 1)
9803 p = "int";
9804 break;
9805 /* extattrctl */
9806 case 355:
9807 if (ndx == 0 || ndx == 1)
9808 p = "int";
9809 break;
9810 /* extattr_set_file */
9811 case 356:
9812 if (ndx == 0 || ndx == 1)
9813 p = "int";
9814 break;
9815 /* extattr_get_file */
9816 case 357:
9817 if (ndx == 0 || ndx == 1)
9818 p = "ssize_t";
9819 break;
9820 /* extattr_delete_file */
9821 case 358:
9822 if (ndx == 0 || ndx == 1)
9823 p = "int";
9824 break;
9825 /* aio_waitcomplete */
9826 case 359:
9827 if (ndx == 0 || ndx == 1)
9828 p = "int";
9829 break;
9830 /* getresuid */
9831 case 360:
9832 if (ndx == 0 || ndx == 1)
9833 p = "int";
9834 break;
9835 /* getresgid */
9836 case 361:
9837 if (ndx == 0 || ndx == 1)
9838 p = "int";
9839 break;
9840 /* kqueue */
9841 case 362:
9842 /* kevent */
9843 case 363:
9844 if (ndx == 0 || ndx == 1)
9845 p = "int";
9846 break;
9847 /* extattr_set_fd */
9848 case 371:
9849 if (ndx == 0 || ndx == 1)
9850 p = "int";
9851 break;
9852 /* extattr_get_fd */
9853 case 372:
9854 if (ndx == 0 || ndx == 1)
9855 p = "ssize_t";
9856 break;
9857 /* extattr_delete_fd */
9858 case 373:
9859 if (ndx == 0 || ndx == 1)
9860 p = "int";
9861 break;
9862 /* __setugid */
9863 case 374:
9864 if (ndx == 0 || ndx == 1)
9865 p = "int";
9866 break;
9867 /* eaccess */
9868 case 376:
9869 if (ndx == 0 || ndx == 1)
9870 p = "int";
9871 break;
9872 /* afs3_syscall */
9873 case 377:
9874 if (ndx == 0 || ndx == 1)
9875 p = "int";
9876 break;
9877 /* nmount */
9878 case 378:
9879 if (ndx == 0 || ndx == 1)
9880 p = "int";
9881 break;
9882 /* __mac_get_proc */
9883 case 384:
9884 if (ndx == 0 || ndx == 1)
9885 p = "int";
9886 break;
9887 /* __mac_set_proc */
9888 case 385:
9889 if (ndx == 0 || ndx == 1)
9890 p = "int";
9891 break;
9892 /* __mac_get_fd */
9893 case 386:
9894 if (ndx == 0 || ndx == 1)
9895 p = "int";
9896 break;
9897 /* __mac_get_file */
9898 case 387:
9899 if (ndx == 0 || ndx == 1)
9900 p = "int";
9901 break;
9902 /* __mac_set_fd */
9903 case 388:
9904 if (ndx == 0 || ndx == 1)
9905 p = "int";
9906 break;
9907 /* __mac_set_file */
9908 case 389:
9909 if (ndx == 0 || ndx == 1)
9910 p = "int";
9911 break;
9912 /* kenv */
9913 case 390:
9914 if (ndx == 0 || ndx == 1)
9915 p = "int";
9916 break;
9917 /* lchflags */
9918 case 391:
9919 if (ndx == 0 || ndx == 1)
9920 p = "int";
9921 break;
9922 /* uuidgen */
9923 case 392:
9924 if (ndx == 0 || ndx == 1)
9925 p = "int";
9926 break;
9927 /* sendfile */
9928 case 393:
9929 if (ndx == 0 || ndx == 1)
9930 p = "int";
9931 break;
9932 /* mac_syscall */
9933 case 394:
9934 if (ndx == 0 || ndx == 1)
9935 p = "int";
9936 break;
9937 /* getfsstat */
9938 case 395:
9939 if (ndx == 0 || ndx == 1)
9940 p = "int";
9941 break;
9942 /* statfs */
9943 case 396:
9944 if (ndx == 0 || ndx == 1)
9945 p = "int";
9946 break;
9947 /* fstatfs */
9948 case 397:
9949 if (ndx == 0 || ndx == 1)
9950 p = "int";
9951 break;
9952 /* fhstatfs */
9953 case 398:
9954 if (ndx == 0 || ndx == 1)
9955 p = "int";
9956 break;
9957 /* ksem_close */
9958 case 400:
9959 if (ndx == 0 || ndx == 1)
9960 p = "int";
9961 break;
9962 /* ksem_post */
9963 case 401:
9964 if (ndx == 0 || ndx == 1)
9965 p = "int";
9966 break;
9967 /* ksem_wait */
9968 case 402:
9969 if (ndx == 0 || ndx == 1)
9970 p = "int";
9971 break;
9972 /* ksem_trywait */
9973 case 403:
9974 if (ndx == 0 || ndx == 1)
9975 p = "int";
9976 break;
9977 /* ksem_init */
9978 case 404:
9979 if (ndx == 0 || ndx == 1)
9980 p = "int";
9981 break;
9982 /* ksem_open */
9983 case 405:
9984 if (ndx == 0 || ndx == 1)
9985 p = "int";
9986 break;
9987 /* ksem_unlink */
9988 case 406:
9989 if (ndx == 0 || ndx == 1)
9990 p = "int";
9991 break;
9992 /* ksem_getvalue */
9993 case 407:
9994 if (ndx == 0 || ndx == 1)
9995 p = "int";
9996 break;
9997 /* ksem_destroy */
9998 case 408:
9999 if (ndx == 0 || ndx == 1)
10000 p = "int";
10001 break;
10002 /* __mac_get_pid */
10003 case 409:
10004 if (ndx == 0 || ndx == 1)
10005 p = "int";
10006 break;
10007 /* __mac_get_link */
10008 case 410:
10009 if (ndx == 0 || ndx == 1)
10010 p = "int";
10011 break;
10012 /* __mac_set_link */
10013 case 411:
10014 if (ndx == 0 || ndx == 1)
10015 p = "int";
10016 break;
10017 /* extattr_set_link */
10018 case 412:
10019 if (ndx == 0 || ndx == 1)
10020 p = "int";
10021 break;
10022 /* extattr_get_link */
10023 case 413:
10024 if (ndx == 0 || ndx == 1)
10025 p = "ssize_t";
10026 break;
10027 /* extattr_delete_link */
10028 case 414:
10029 if (ndx == 0 || ndx == 1)
10030 p = "int";
10031 break;
10032 /* __mac_execve */
10033 case 415:
10034 if (ndx == 0 || ndx == 1)
10035 p = "int";
10036 break;
10037 /* sigaction */
10038 case 416:
10039 if (ndx == 0 || ndx == 1)
10040 p = "int";
10041 break;
10042 /* sigreturn */
10043 case 417:
10044 if (ndx == 0 || ndx == 1)
10045 p = "int";
10046 break;
10047 /* getcontext */
10048 case 421:
10049 if (ndx == 0 || ndx == 1)
10050 p = "int";
10051 break;
10052 /* setcontext */
10053 case 422:
10054 if (ndx == 0 || ndx == 1)
10055 p = "int";
10056 break;
10057 /* swapcontext */
10058 case 423:
10059 if (ndx == 0 || ndx == 1)
10060 p = "int";
10061 break;
10062 /* swapoff */
10063 case 424:
10064 if (ndx == 0 || ndx == 1)
10065 p = "int";
10066 break;
10067 /* __acl_get_link */
10068 case 425:
10069 if (ndx == 0 || ndx == 1)
10070 p = "int";
10071 break;
10072 /* __acl_set_link */
10073 case 426:
10074 if (ndx == 0 || ndx == 1)
10075 p = "int";
10076 break;
10077 /* __acl_delete_link */
10078 case 427:
10079 if (ndx == 0 || ndx == 1)
10080 p = "int";
10081 break;
10082 /* __acl_aclcheck_link */
10083 case 428:
10084 if (ndx == 0 || ndx == 1)
10085 p = "int";
10086 break;
10087 /* sigwait */
10088 case 429:
10089 if (ndx == 0 || ndx == 1)
10090 p = "int";
10091 break;
10092 /* thr_create */
10093 case 430:
10094 if (ndx == 0 || ndx == 1)
10095 p = "int";
10096 break;
10097 /* thr_exit */
10098 case 431:
10099 if (ndx == 0 || ndx == 1)
10100 p = "void";
10101 break;
10102 /* thr_self */
10103 case 432:
10104 if (ndx == 0 || ndx == 1)
10105 p = "int";
10106 break;
10107 /* thr_kill */
10108 case 433:
10109 if (ndx == 0 || ndx == 1)
10110 p = "int";
10111 break;
10112 /* _umtx_lock */
10113 case 434:
10114 if (ndx == 0 || ndx == 1)
10115 p = "int";
10116 break;
10117 /* _umtx_unlock */
10118 case 435:
10119 if (ndx == 0 || ndx == 1)
10120 p = "int";
10121 break;
10122 /* jail_attach */
10123 case 436:
10124 if (ndx == 0 || ndx == 1)
10125 p = "int";
10126 break;
10127 /* extattr_list_fd */
10128 case 437:
10129 if (ndx == 0 || ndx == 1)
10130 p = "ssize_t";
10131 break;
10132 /* extattr_list_file */
10133 case 438:
10134 if (ndx == 0 || ndx == 1)
10135 p = "ssize_t";
10136 break;
10137 /* extattr_list_link */
10138 case 439:
10139 if (ndx == 0 || ndx == 1)
10140 p = "ssize_t";
10141 break;
10142 /* ksem_timedwait */
10143 case 441:
10144 if (ndx == 0 || ndx == 1)
10145 p = "int";
10146 break;
10147 /* thr_suspend */
10148 case 442:
10149 if (ndx == 0 || ndx == 1)
10150 p = "int";
10151 break;
10152 /* thr_wake */
10153 case 443:
10154 if (ndx == 0 || ndx == 1)
10155 p = "int";
10156 break;
10157 /* kldunloadf */
10158 case 444:
10159 if (ndx == 0 || ndx == 1)
10160 p = "int";
10161 break;
10162 /* audit */
10163 case 445:
10164 if (ndx == 0 || ndx == 1)
10165 p = "int";
10166 break;
10167 /* auditon */
10168 case 446:
10169 if (ndx == 0 || ndx == 1)
10170 p = "int";
10171 break;
10172 /* getauid */
10173 case 447:
10174 if (ndx == 0 || ndx == 1)
10175 p = "int";
10176 break;
10177 /* setauid */
10178 case 448:
10179 if (ndx == 0 || ndx == 1)
10180 p = "int";
10181 break;
10182 /* getaudit */
10183 case 449:
10184 if (ndx == 0 || ndx == 1)
10185 p = "int";
10186 break;
10187 /* setaudit */
10188 case 450:
10189 if (ndx == 0 || ndx == 1)
10190 p = "int";
10191 break;
10192 /* getaudit_addr */
10193 case 451:
10194 if (ndx == 0 || ndx == 1)
10195 p = "int";
10196 break;
10197 /* setaudit_addr */
10198 case 452:
10199 if (ndx == 0 || ndx == 1)
10200 p = "int";
10201 break;
10202 /* auditctl */
10203 case 453:
10204 if (ndx == 0 || ndx == 1)
10205 p = "int";
10206 break;
10207 /* _umtx_op */
10208 case 454:
10209 if (ndx == 0 || ndx == 1)
10210 p = "int";
10211 break;
10212 /* thr_new */
10213 case 455:
10214 if (ndx == 0 || ndx == 1)
10215 p = "int";
10216 break;
10217 /* sigqueue */
10218 case 456:
10219 if (ndx == 0 || ndx == 1)
10220 p = "int";
10221 break;
10222 /* kmq_open */
10223 case 457:
10224 if (ndx == 0 || ndx == 1)
10225 p = "int";
10226 break;
10227 /* kmq_setattr */
10228 case 458:
10229 if (ndx == 0 || ndx == 1)
10230 p = "int";
10231 break;
10232 /* kmq_timedreceive */
10233 case 459:
10234 if (ndx == 0 || ndx == 1)
10235 p = "int";
10236 break;
10237 /* kmq_timedsend */
10238 case 460:
10239 if (ndx == 0 || ndx == 1)
10240 p = "int";
10241 break;
10242 /* kmq_notify */
10243 case 461:
10244 if (ndx == 0 || ndx == 1)
10245 p = "int";
10246 break;
10247 /* kmq_unlink */
10248 case 462:
10249 if (ndx == 0 || ndx == 1)
10250 p = "int";
10251 break;
10252 /* abort2 */
10253 case 463:
10254 if (ndx == 0 || ndx == 1)
10255 p = "int";
10256 break;
10257 /* thr_set_name */
10258 case 464:
10259 if (ndx == 0 || ndx == 1)
10260 p = "int";
10261 break;
10262 /* aio_fsync */
10263 case 465:
10264 if (ndx == 0 || ndx == 1)
10265 p = "int";
10266 break;
10267 /* rtprio_thread */
10268 case 466:
10269 if (ndx == 0 || ndx == 1)
10270 p = "int";
10271 break;
10272 /* sctp_peeloff */
10273 case 471:
10274 if (ndx == 0 || ndx == 1)
10275 p = "int";
10276 break;
10277 /* sctp_generic_sendmsg */
10278 case 472:
10279 if (ndx == 0 || ndx == 1)
10280 p = "int";
10281 break;
10282 /* sctp_generic_sendmsg_iov */
10283 case 473:
10284 if (ndx == 0 || ndx == 1)
10285 p = "int";
10286 break;
10287 /* sctp_generic_recvmsg */
10288 case 474:
10289 if (ndx == 0 || ndx == 1)
10290 p = "int";
10291 break;
10292 /* pread */
10293 case 475:
10294 if (ndx == 0 || ndx == 1)
10295 p = "ssize_t";
10296 break;
10297 /* pwrite */
10298 case 476:
10299 if (ndx == 0 || ndx == 1)
10300 p = "ssize_t";
10301 break;
10302 /* mmap */
10303 case 477:
10304 if (ndx == 0 || ndx == 1)
10305 p = "caddr_t";
10306 break;
10307 /* lseek */
10308 case 478:
10309 if (ndx == 0 || ndx == 1)
10310 p = "off_t";
10311 break;
10312 /* truncate */
10313 case 479:
10314 if (ndx == 0 || ndx == 1)
10315 p = "int";
10316 break;
10317 /* ftruncate */
10318 case 480:
10319 if (ndx == 0 || ndx == 1)
10320 p = "int";
10321 break;
10322 /* thr_kill2 */
10323 case 481:
10324 if (ndx == 0 || ndx == 1)
10325 p = "int";
10326 break;
10327 /* shm_open */
10328 case 482:
10329 if (ndx == 0 || ndx == 1)
10330 p = "int";
10331 break;
10332 /* shm_unlink */
10333 case 483:
10334 if (ndx == 0 || ndx == 1)
10335 p = "int";
10336 break;
10337 /* cpuset */
10338 case 484:
10339 if (ndx == 0 || ndx == 1)
10340 p = "int";
10341 break;
10342 /* cpuset_setid */
10343 case 485:
10344 if (ndx == 0 || ndx == 1)
10345 p = "int";
10346 break;
10347 /* cpuset_getid */
10348 case 486:
10349 if (ndx == 0 || ndx == 1)
10350 p = "int";
10351 break;
10352 /* cpuset_getaffinity */
10353 case 487:
10354 if (ndx == 0 || ndx == 1)
10355 p = "int";
10356 break;
10357 /* cpuset_setaffinity */
10358 case 488:
10359 if (ndx == 0 || ndx == 1)
10360 p = "int";
10361 break;
10362 /* faccessat */
10363 case 489:
10364 if (ndx == 0 || ndx == 1)
10365 p = "int";
10366 break;
10367 /* fchmodat */
10368 case 490:
10369 if (ndx == 0 || ndx == 1)
10370 p = "int";
10371 break;
10372 /* fchownat */
10373 case 491:
10374 if (ndx == 0 || ndx == 1)
10375 p = "int";
10376 break;
10377 /* fexecve */
10378 case 492:
10379 if (ndx == 0 || ndx == 1)
10380 p = "int";
10381 break;
10382 /* fstatat */
10383 case 493:
10384 if (ndx == 0 || ndx == 1)
10385 p = "int";
10386 break;
10387 /* futimesat */
10388 case 494:
10389 if (ndx == 0 || ndx == 1)
10390 p = "int";
10391 break;
10392 /* linkat */
10393 case 495:
10394 if (ndx == 0 || ndx == 1)
10395 p = "int";
10396 break;
10397 /* mkdirat */
10398 case 496:
10399 if (ndx == 0 || ndx == 1)
10400 p = "int";
10401 break;
10402 /* mkfifoat */
10403 case 497:
10404 if (ndx == 0 || ndx == 1)
10405 p = "int";
10406 break;
10407 /* mknodat */
10408 case 498:
10409 if (ndx == 0 || ndx == 1)
10410 p = "int";
10411 break;
10412 /* openat */
10413 case 499:
10414 if (ndx == 0 || ndx == 1)
10415 p = "int";
10416 break;
10417 /* readlinkat */
10418 case 500:
10419 if (ndx == 0 || ndx == 1)
10420 p = "int";
10421 break;
10422 /* renameat */
10423 case 501:
10424 if (ndx == 0 || ndx == 1)
10425 p = "int";
10426 break;
10427 /* symlinkat */
10428 case 502:
10429 if (ndx == 0 || ndx == 1)
10430 p = "int";
10431 break;
10432 /* unlinkat */
10433 case 503:
10434 if (ndx == 0 || ndx == 1)
10435 p = "int";
10436 break;
10437 /* posix_openpt */
10438 case 504:
10439 if (ndx == 0 || ndx == 1)
10440 p = "int";
10441 break;
10442 /* gssd_syscall */
10443 case 505:
10444 if (ndx == 0 || ndx == 1)
10445 p = "int";
10446 break;
10447 /* jail_get */
10448 case 506:
10449 if (ndx == 0 || ndx == 1)
10450 p = "int";
10451 break;
10452 /* jail_set */
10453 case 507:
10454 if (ndx == 0 || ndx == 1)
10455 p = "int";
10456 break;
10457 /* jail_remove */
10458 case 508:
10459 if (ndx == 0 || ndx == 1)
10460 p = "int";
10461 break;
10462 /* closefrom */
10463 case 509:
10464 if (ndx == 0 || ndx == 1)
10465 p = "int";
10466 break;
10467 /* __semctl */
10468 case 510:
10469 if (ndx == 0 || ndx == 1)
10470 p = "int";
10471 break;
10472 /* msgctl */
10473 case 511:
10474 if (ndx == 0 || ndx == 1)
10475 p = "int";
10476 break;
10477 /* shmctl */
10478 case 512:
10479 if (ndx == 0 || ndx == 1)
10480 p = "int";
10481 break;
10482 /* lpathconf */
10483 case 513:
10484 if (ndx == 0 || ndx == 1)
10485 p = "int";
10486 break;
10487 /* cap_new */
10488 case 514:
10489 if (ndx == 0 || ndx == 1)
10490 p = "int";
10491 break;
10492 /* cap_getrights */
10493 case 515:
10494 if (ndx == 0 || ndx == 1)
10495 p = "int";
10496 break;
10497 /* cap_enter */
10498 case 516:
10499 /* cap_getmode */
10500 case 517:
10501 if (ndx == 0 || ndx == 1)
10502 p = "int";
10503 break;
10504 /* pdfork */
10505 case 518:
10506 if (ndx == 0 || ndx == 1)
10507 p = "int";
10508 break;
10509 /* pdkill */
10510 case 519:
10511 if (ndx == 0 || ndx == 1)
10512 p = "int";
10513 break;
10514 /* pdgetpid */
10515 case 520:
10516 if (ndx == 0 || ndx == 1)
10517 p = "int";
10518 break;
10519 /* pselect */
10520 case 522:
10521 if (ndx == 0 || ndx == 1)
10522 p = "int";
10523 break;
10524 /* getloginclass */
10525 case 523:
10526 if (ndx == 0 || ndx == 1)
10527 p = "int";
10528 break;
10529 /* setloginclass */
10530 case 524:
10531 if (ndx == 0 || ndx == 1)
10532 p = "int";
10533 break;
10534 /* rctl_get_racct */
10535 case 525:
10536 if (ndx == 0 || ndx == 1)
10537 p = "int";
10538 break;
10539 /* rctl_get_rules */
10540 case 526:
10541 if (ndx == 0 || ndx == 1)
10542 p = "int";
10543 break;
10544 /* rctl_get_limits */
10545 case 527:
10546 if (ndx == 0 || ndx == 1)
10547 p = "int";
10548 break;
10549 /* rctl_add_rule */
10550 case 528:
10551 if (ndx == 0 || ndx == 1)
10552 p = "int";
10553 break;
10554 /* rctl_remove_rule */
10555 case 529:
10556 if (ndx == 0 || ndx == 1)
10557 p = "int";
10558 break;
10559 /* posix_fallocate */
10560 case 530:
10561 if (ndx == 0 || ndx == 1)
10562 p = "int";
10563 break;
10564 /* posix_fadvise */
10565 case 531:
10566 if (ndx == 0 || ndx == 1)
10567 p = "int";
10568 break;
10569 default:
10570 break;
10571 };
10572 if (p != NULL)
10573 strlcpy(desc, p, descsz);
10574}
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/kern/systrace_args.c 236027 2012-05-25 21:52:57Z ed $
6 * This file is part of the DTrace syscall provider.
7 */
8
9static void
10systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
11{
12 int64_t *iarg = (int64_t *) uarg;
13 switch (sysnum) {
14 /* nosys */
15 case 0: {
16 *n_args = 0;
17 break;
18 }
19 /* sys_exit */
20 case 1: {
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
23 *n_args = 1;
24 break;
25 }
26 /* fork */
27 case 2: {
28 *n_args = 0;
29 break;
30 }
31 /* read */
32 case 3: {
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
37 *n_args = 3;
38 break;
39 }
40 /* write */
41 case 4: {
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
46 *n_args = 3;
47 break;
48 }
49 /* open */
50 case 5: {
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
55 *n_args = 3;
56 break;
57 }
58 /* close */
59 case 6: {
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
62 *n_args = 1;
63 break;
64 }
65 /* wait4 */
66 case 7: {
67 struct wait_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
72 *n_args = 4;
73 break;
74 }
75 /* link */
76 case 9: {
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
80 *n_args = 2;
81 break;
82 }
83 /* unlink */
84 case 10: {
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
87 *n_args = 1;
88 break;
89 }
90 /* chdir */
91 case 12: {
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
94 *n_args = 1;
95 break;
96 }
97 /* fchdir */
98 case 13: {
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
101 *n_args = 1;
102 break;
103 }
104 /* mknod */
105 case 14: {
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
110 *n_args = 3;
111 break;
112 }
113 /* chmod */
114 case 15: {
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
118 *n_args = 2;
119 break;
120 }
121 /* chown */
122 case 16: {
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
127 *n_args = 3;
128 break;
129 }
130 /* obreak */
131 case 17: {
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
134 *n_args = 1;
135 break;
136 }
137 /* getpid */
138 case 20: {
139 *n_args = 0;
140 break;
141 }
142 /* mount */
143 case 21: {
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
149 *n_args = 4;
150 break;
151 }
152 /* unmount */
153 case 22: {
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
157 *n_args = 2;
158 break;
159 }
160 /* setuid */
161 case 23: {
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
164 *n_args = 1;
165 break;
166 }
167 /* getuid */
168 case 24: {
169 *n_args = 0;
170 break;
171 }
172 /* geteuid */
173 case 25: {
174 *n_args = 0;
175 break;
176 }
177 /* ptrace */
178 case 26: {
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
184 *n_args = 4;
185 break;
186 }
187 /* recvmsg */
188 case 27: {
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
193 *n_args = 3;
194 break;
195 }
196 /* sendmsg */
197 case 28: {
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
202 *n_args = 3;
203 break;
204 }
205 /* recvfrom */
206 case 29: {
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr *__restrict */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */
214 *n_args = 6;
215 break;
216 }
217 /* accept */
218 case 30: {
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */
223 *n_args = 3;
224 break;
225 }
226 /* getpeername */
227 case 31: {
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
232 *n_args = 3;
233 break;
234 }
235 /* getsockname */
236 case 32: {
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */
241 *n_args = 3;
242 break;
243 }
244 /* access */
245 case 33: {
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->amode; /* int */
249 *n_args = 2;
250 break;
251 }
252 /* chflags */
253 case 34: {
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* char * */
256 iarg[1] = p->flags; /* int */
257 *n_args = 2;
258 break;
259 }
260 /* fchflags */
261 case 35: {
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 iarg[1] = p->flags; /* int */
265 *n_args = 2;
266 break;
267 }
268 /* sync */
269 case 36: {
270 *n_args = 0;
271 break;
272 }
273 /* kill */
274 case 37: {
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
278 *n_args = 2;
279 break;
280 }
281 /* getppid */
282 case 39: {
283 *n_args = 0;
284 break;
285 }
286 /* dup */
287 case 41: {
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
290 *n_args = 1;
291 break;
292 }
293 /* pipe */
294 case 42: {
295 *n_args = 0;
296 break;
297 }
298 /* getegid */
299 case 43: {
300 *n_args = 0;
301 break;
302 }
303 /* profil */
304 case 44: {
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
310 *n_args = 4;
311 break;
312 }
313 /* ktrace */
314 case 45: {
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
320 *n_args = 4;
321 break;
322 }
323 /* getgid */
324 case 47: {
325 *n_args = 0;
326 break;
327 }
328 /* getlogin */
329 case 49: {
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
333 *n_args = 2;
334 break;
335 }
336 /* setlogin */
337 case 50: {
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
340 *n_args = 1;
341 break;
342 }
343 /* acct */
344 case 51: {
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
347 *n_args = 1;
348 break;
349 }
350 /* sigaltstack */
351 case 53: {
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
355 *n_args = 2;
356 break;
357 }
358 /* ioctl */
359 case 54: {
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
364 *n_args = 3;
365 break;
366 }
367 /* reboot */
368 case 55: {
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
371 *n_args = 1;
372 break;
373 }
374 /* revoke */
375 case 56: {
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
378 *n_args = 1;
379 break;
380 }
381 /* symlink */
382 case 57: {
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
386 *n_args = 2;
387 break;
388 }
389 /* readlink */
390 case 58: {
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 uarg[2] = p->count; /* size_t */
395 *n_args = 3;
396 break;
397 }
398 /* execve */
399 case 59: {
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
404 *n_args = 3;
405 break;
406 }
407 /* umask */
408 case 60: {
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
411 *n_args = 1;
412 break;
413 }
414 /* chroot */
415 case 61: {
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
418 *n_args = 1;
419 break;
420 }
421 /* msync */
422 case 65: {
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
427 *n_args = 3;
428 break;
429 }
430 /* vfork */
431 case 66: {
432 *n_args = 0;
433 break;
434 }
435 /* sbrk */
436 case 69: {
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
439 *n_args = 1;
440 break;
441 }
442 /* sstk */
443 case 70: {
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
446 *n_args = 1;
447 break;
448 }
449 /* ovadvise */
450 case 72: {
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
453 *n_args = 1;
454 break;
455 }
456 /* munmap */
457 case 73: {
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
461 *n_args = 2;
462 break;
463 }
464 /* mprotect */
465 case 74: {
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
470 *n_args = 3;
471 break;
472 }
473 /* madvise */
474 case 75: {
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
479 *n_args = 3;
480 break;
481 }
482 /* mincore */
483 case 78: {
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
488 *n_args = 3;
489 break;
490 }
491 /* getgroups */
492 case 79: {
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
496 *n_args = 2;
497 break;
498 }
499 /* setgroups */
500 case 80: {
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
504 *n_args = 2;
505 break;
506 }
507 /* getpgrp */
508 case 81: {
509 *n_args = 0;
510 break;
511 }
512 /* setpgid */
513 case 82: {
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
517 *n_args = 2;
518 break;
519 }
520 /* setitimer */
521 case 83: {
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
526 *n_args = 3;
527 break;
528 }
529 /* swapon */
530 case 85: {
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
533 *n_args = 1;
534 break;
535 }
536 /* getitimer */
537 case 86: {
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
541 *n_args = 2;
542 break;
543 }
544 /* getdtablesize */
545 case 89: {
546 *n_args = 0;
547 break;
548 }
549 /* dup2 */
550 case 90: {
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
554 *n_args = 2;
555 break;
556 }
557 /* fcntl */
558 case 92: {
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
563 *n_args = 3;
564 break;
565 }
566 /* select */
567 case 93: {
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
574 *n_args = 5;
575 break;
576 }
577 /* fsync */
578 case 95: {
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
581 *n_args = 1;
582 break;
583 }
584 /* setpriority */
585 case 96: {
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
590 *n_args = 3;
591 break;
592 }
593 /* socket */
594 case 97: {
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
599 *n_args = 3;
600 break;
601 }
602 /* connect */
603 case 98: {
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
608 *n_args = 3;
609 break;
610 }
611 /* getpriority */
612 case 100: {
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
616 *n_args = 2;
617 break;
618 }
619 /* bind */
620 case 104: {
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
625 *n_args = 3;
626 break;
627 }
628 /* setsockopt */
629 case 105: {
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
636 *n_args = 5;
637 break;
638 }
639 /* listen */
640 case 106: {
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
644 *n_args = 2;
645 break;
646 }
647 /* gettimeofday */
648 case 116: {
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
652 *n_args = 2;
653 break;
654 }
655 /* getrusage */
656 case 117: {
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
660 *n_args = 2;
661 break;
662 }
663 /* getsockopt */
664 case 118: {
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
671 *n_args = 5;
672 break;
673 }
674 /* readv */
675 case 120: {
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
680 *n_args = 3;
681 break;
682 }
683 /* writev */
684 case 121: {
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
689 *n_args = 3;
690 break;
691 }
692 /* settimeofday */
693 case 122: {
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
697 *n_args = 2;
698 break;
699 }
700 /* fchown */
701 case 123: {
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
706 *n_args = 3;
707 break;
708 }
709 /* fchmod */
710 case 124: {
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
714 *n_args = 2;
715 break;
716 }
717 /* setreuid */
718 case 126: {
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
722 *n_args = 2;
723 break;
724 }
725 /* setregid */
726 case 127: {
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
730 *n_args = 2;
731 break;
732 }
733 /* rename */
734 case 128: {
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
738 *n_args = 2;
739 break;
740 }
741 /* flock */
742 case 131: {
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
746 *n_args = 2;
747 break;
748 }
749 /* mkfifo */
750 case 132: {
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
754 *n_args = 2;
755 break;
756 }
757 /* sendto */
758 case 133: {
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
766 *n_args = 6;
767 break;
768 }
769 /* shutdown */
770 case 134: {
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
774 *n_args = 2;
775 break;
776 }
777 /* socketpair */
778 case 135: {
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
784 *n_args = 4;
785 break;
786 }
787 /* mkdir */
788 case 136: {
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
792 *n_args = 2;
793 break;
794 }
795 /* rmdir */
796 case 137: {
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
799 *n_args = 1;
800 break;
801 }
802 /* utimes */
803 case 138: {
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
807 *n_args = 2;
808 break;
809 }
810 /* adjtime */
811 case 140: {
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
815 *n_args = 2;
816 break;
817 }
818 /* setsid */
819 case 147: {
820 *n_args = 0;
821 break;
822 }
823 /* quotactl */
824 case 148: {
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
830 *n_args = 4;
831 break;
832 }
833 /* nlm_syscall */
834 case 154: {
835 struct nlm_syscall_args *p = params;
836 iarg[0] = p->debug_level; /* int */
837 iarg[1] = p->grace_period; /* int */
838 iarg[2] = p->addr_count; /* int */
839 uarg[3] = (intptr_t) p->addrs; /* char ** */
840 *n_args = 4;
841 break;
842 }
843 /* nfssvc */
844 case 155: {
845 struct nfssvc_args *p = params;
846 iarg[0] = p->flag; /* int */
847 uarg[1] = (intptr_t) p->argp; /* caddr_t */
848 *n_args = 2;
849 break;
850 }
851 /* lgetfh */
852 case 160: {
853 struct lgetfh_args *p = params;
854 uarg[0] = (intptr_t) p->fname; /* char * */
855 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
856 *n_args = 2;
857 break;
858 }
859 /* getfh */
860 case 161: {
861 struct getfh_args *p = params;
862 uarg[0] = (intptr_t) p->fname; /* char * */
863 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
864 *n_args = 2;
865 break;
866 }
867 /* sysarch */
868 case 165: {
869 struct sysarch_args *p = params;
870 iarg[0] = p->op; /* int */
871 uarg[1] = (intptr_t) p->parms; /* char * */
872 *n_args = 2;
873 break;
874 }
875 /* rtprio */
876 case 166: {
877 struct rtprio_args *p = params;
878 iarg[0] = p->function; /* int */
879 iarg[1] = p->pid; /* pid_t */
880 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
881 *n_args = 3;
882 break;
883 }
884 /* semsys */
885 case 169: {
886 struct semsys_args *p = params;
887 iarg[0] = p->which; /* int */
888 iarg[1] = p->a2; /* int */
889 iarg[2] = p->a3; /* int */
890 iarg[3] = p->a4; /* int */
891 iarg[4] = p->a5; /* int */
892 *n_args = 5;
893 break;
894 }
895 /* msgsys */
896 case 170: {
897 struct msgsys_args *p = params;
898 iarg[0] = p->which; /* int */
899 iarg[1] = p->a2; /* int */
900 iarg[2] = p->a3; /* int */
901 iarg[3] = p->a4; /* int */
902 iarg[4] = p->a5; /* int */
903 iarg[5] = p->a6; /* int */
904 *n_args = 6;
905 break;
906 }
907 /* shmsys */
908 case 171: {
909 struct shmsys_args *p = params;
910 iarg[0] = p->which; /* int */
911 iarg[1] = p->a2; /* int */
912 iarg[2] = p->a3; /* int */
913 iarg[3] = p->a4; /* int */
914 *n_args = 4;
915 break;
916 }
917 /* freebsd6_pread */
918 case 173: {
919 struct freebsd6_pread_args *p = params;
920 iarg[0] = p->fd; /* int */
921 uarg[1] = (intptr_t) p->buf; /* void * */
922 uarg[2] = p->nbyte; /* size_t */
923 iarg[3] = p->pad; /* int */
924 iarg[4] = p->offset; /* off_t */
925 *n_args = 5;
926 break;
927 }
928 /* freebsd6_pwrite */
929 case 174: {
930 struct freebsd6_pwrite_args *p = params;
931 iarg[0] = p->fd; /* int */
932 uarg[1] = (intptr_t) p->buf; /* const void * */
933 uarg[2] = p->nbyte; /* size_t */
934 iarg[3] = p->pad; /* int */
935 iarg[4] = p->offset; /* off_t */
936 *n_args = 5;
937 break;
938 }
939 /* setfib */
940 case 175: {
941 struct setfib_args *p = params;
942 iarg[0] = p->fibnum; /* int */
943 *n_args = 1;
944 break;
945 }
946 /* ntp_adjtime */
947 case 176: {
948 struct ntp_adjtime_args *p = params;
949 uarg[0] = (intptr_t) p->tp; /* struct timex * */
950 *n_args = 1;
951 break;
952 }
953 /* setgid */
954 case 181: {
955 struct setgid_args *p = params;
956 iarg[0] = p->gid; /* gid_t */
957 *n_args = 1;
958 break;
959 }
960 /* setegid */
961 case 182: {
962 struct setegid_args *p = params;
963 iarg[0] = p->egid; /* gid_t */
964 *n_args = 1;
965 break;
966 }
967 /* seteuid */
968 case 183: {
969 struct seteuid_args *p = params;
970 uarg[0] = p->euid; /* uid_t */
971 *n_args = 1;
972 break;
973 }
974 /* stat */
975 case 188: {
976 struct stat_args *p = params;
977 uarg[0] = (intptr_t) p->path; /* char * */
978 uarg[1] = (intptr_t) p->ub; /* struct stat * */
979 *n_args = 2;
980 break;
981 }
982 /* fstat */
983 case 189: {
984 struct fstat_args *p = params;
985 iarg[0] = p->fd; /* int */
986 uarg[1] = (intptr_t) p->sb; /* struct stat * */
987 *n_args = 2;
988 break;
989 }
990 /* lstat */
991 case 190: {
992 struct lstat_args *p = params;
993 uarg[0] = (intptr_t) p->path; /* char * */
994 uarg[1] = (intptr_t) p->ub; /* struct stat * */
995 *n_args = 2;
996 break;
997 }
998 /* pathconf */
999 case 191: {
1000 struct pathconf_args *p = params;
1001 uarg[0] = (intptr_t) p->path; /* char * */
1002 iarg[1] = p->name; /* int */
1003 *n_args = 2;
1004 break;
1005 }
1006 /* fpathconf */
1007 case 192: {
1008 struct fpathconf_args *p = params;
1009 iarg[0] = p->fd; /* int */
1010 iarg[1] = p->name; /* int */
1011 *n_args = 2;
1012 break;
1013 }
1014 /* getrlimit */
1015 case 194: {
1016 struct __getrlimit_args *p = params;
1017 uarg[0] = p->which; /* u_int */
1018 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1019 *n_args = 2;
1020 break;
1021 }
1022 /* setrlimit */
1023 case 195: {
1024 struct __setrlimit_args *p = params;
1025 uarg[0] = p->which; /* u_int */
1026 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1027 *n_args = 2;
1028 break;
1029 }
1030 /* getdirentries */
1031 case 196: {
1032 struct getdirentries_args *p = params;
1033 iarg[0] = p->fd; /* int */
1034 uarg[1] = (intptr_t) p->buf; /* char * */
1035 uarg[2] = p->count; /* u_int */
1036 uarg[3] = (intptr_t) p->basep; /* long * */
1037 *n_args = 4;
1038 break;
1039 }
1040 /* freebsd6_mmap */
1041 case 197: {
1042 struct freebsd6_mmap_args *p = params;
1043 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1044 uarg[1] = p->len; /* size_t */
1045 iarg[2] = p->prot; /* int */
1046 iarg[3] = p->flags; /* int */
1047 iarg[4] = p->fd; /* int */
1048 iarg[5] = p->pad; /* int */
1049 iarg[6] = p->pos; /* off_t */
1050 *n_args = 7;
1051 break;
1052 }
1053 /* nosys */
1054 case 198: {
1055 *n_args = 0;
1056 break;
1057 }
1058 /* freebsd6_lseek */
1059 case 199: {
1060 struct freebsd6_lseek_args *p = params;
1061 iarg[0] = p->fd; /* int */
1062 iarg[1] = p->pad; /* int */
1063 iarg[2] = p->offset; /* off_t */
1064 iarg[3] = p->whence; /* int */
1065 *n_args = 4;
1066 break;
1067 }
1068 /* freebsd6_truncate */
1069 case 200: {
1070 struct freebsd6_truncate_args *p = params;
1071 uarg[0] = (intptr_t) p->path; /* char * */
1072 iarg[1] = p->pad; /* int */
1073 iarg[2] = p->length; /* off_t */
1074 *n_args = 3;
1075 break;
1076 }
1077 /* freebsd6_ftruncate */
1078 case 201: {
1079 struct freebsd6_ftruncate_args *p = params;
1080 iarg[0] = p->fd; /* int */
1081 iarg[1] = p->pad; /* int */
1082 iarg[2] = p->length; /* off_t */
1083 *n_args = 3;
1084 break;
1085 }
1086 /* __sysctl */
1087 case 202: {
1088 struct sysctl_args *p = params;
1089 uarg[0] = (intptr_t) p->name; /* int * */
1090 uarg[1] = p->namelen; /* u_int */
1091 uarg[2] = (intptr_t) p->old; /* void * */
1092 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1093 uarg[4] = (intptr_t) p->new; /* void * */
1094 uarg[5] = p->newlen; /* size_t */
1095 *n_args = 6;
1096 break;
1097 }
1098 /* mlock */
1099 case 203: {
1100 struct mlock_args *p = params;
1101 uarg[0] = (intptr_t) p->addr; /* const void * */
1102 uarg[1] = p->len; /* size_t */
1103 *n_args = 2;
1104 break;
1105 }
1106 /* munlock */
1107 case 204: {
1108 struct munlock_args *p = params;
1109 uarg[0] = (intptr_t) p->addr; /* const void * */
1110 uarg[1] = p->len; /* size_t */
1111 *n_args = 2;
1112 break;
1113 }
1114 /* undelete */
1115 case 205: {
1116 struct undelete_args *p = params;
1117 uarg[0] = (intptr_t) p->path; /* char * */
1118 *n_args = 1;
1119 break;
1120 }
1121 /* futimes */
1122 case 206: {
1123 struct futimes_args *p = params;
1124 iarg[0] = p->fd; /* int */
1125 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1126 *n_args = 2;
1127 break;
1128 }
1129 /* getpgid */
1130 case 207: {
1131 struct getpgid_args *p = params;
1132 iarg[0] = p->pid; /* pid_t */
1133 *n_args = 1;
1134 break;
1135 }
1136 /* poll */
1137 case 209: {
1138 struct poll_args *p = params;
1139 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1140 uarg[1] = p->nfds; /* u_int */
1141 iarg[2] = p->timeout; /* int */
1142 *n_args = 3;
1143 break;
1144 }
1145 /* lkmnosys */
1146 case 210: {
1147 *n_args = 0;
1148 break;
1149 }
1150 /* lkmnosys */
1151 case 211: {
1152 *n_args = 0;
1153 break;
1154 }
1155 /* lkmnosys */
1156 case 212: {
1157 *n_args = 0;
1158 break;
1159 }
1160 /* lkmnosys */
1161 case 213: {
1162 *n_args = 0;
1163 break;
1164 }
1165 /* lkmnosys */
1166 case 214: {
1167 *n_args = 0;
1168 break;
1169 }
1170 /* lkmnosys */
1171 case 215: {
1172 *n_args = 0;
1173 break;
1174 }
1175 /* lkmnosys */
1176 case 216: {
1177 *n_args = 0;
1178 break;
1179 }
1180 /* lkmnosys */
1181 case 217: {
1182 *n_args = 0;
1183 break;
1184 }
1185 /* lkmnosys */
1186 case 218: {
1187 *n_args = 0;
1188 break;
1189 }
1190 /* lkmnosys */
1191 case 219: {
1192 *n_args = 0;
1193 break;
1194 }
1195 /* semget */
1196 case 221: {
1197 struct semget_args *p = params;
1198 iarg[0] = p->key; /* key_t */
1199 iarg[1] = p->nsems; /* int */
1200 iarg[2] = p->semflg; /* int */
1201 *n_args = 3;
1202 break;
1203 }
1204 /* semop */
1205 case 222: {
1206 struct semop_args *p = params;
1207 iarg[0] = p->semid; /* int */
1208 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1209 uarg[2] = p->nsops; /* size_t */
1210 *n_args = 3;
1211 break;
1212 }
1213 /* msgget */
1214 case 225: {
1215 struct msgget_args *p = params;
1216 iarg[0] = p->key; /* key_t */
1217 iarg[1] = p->msgflg; /* int */
1218 *n_args = 2;
1219 break;
1220 }
1221 /* msgsnd */
1222 case 226: {
1223 struct msgsnd_args *p = params;
1224 iarg[0] = p->msqid; /* int */
1225 uarg[1] = (intptr_t) p->msgp; /* const void * */
1226 uarg[2] = p->msgsz; /* size_t */
1227 iarg[3] = p->msgflg; /* int */
1228 *n_args = 4;
1229 break;
1230 }
1231 /* msgrcv */
1232 case 227: {
1233 struct msgrcv_args *p = params;
1234 iarg[0] = p->msqid; /* int */
1235 uarg[1] = (intptr_t) p->msgp; /* void * */
1236 uarg[2] = p->msgsz; /* size_t */
1237 iarg[3] = p->msgtyp; /* long */
1238 iarg[4] = p->msgflg; /* int */
1239 *n_args = 5;
1240 break;
1241 }
1242 /* shmat */
1243 case 228: {
1244 struct shmat_args *p = params;
1245 iarg[0] = p->shmid; /* int */
1246 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1247 iarg[2] = p->shmflg; /* int */
1248 *n_args = 3;
1249 break;
1250 }
1251 /* shmdt */
1252 case 230: {
1253 struct shmdt_args *p = params;
1254 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1255 *n_args = 1;
1256 break;
1257 }
1258 /* shmget */
1259 case 231: {
1260 struct shmget_args *p = params;
1261 iarg[0] = p->key; /* key_t */
1262 uarg[1] = p->size; /* size_t */
1263 iarg[2] = p->shmflg; /* int */
1264 *n_args = 3;
1265 break;
1266 }
1267 /* clock_gettime */
1268 case 232: {
1269 struct clock_gettime_args *p = params;
1270 iarg[0] = p->clock_id; /* clockid_t */
1271 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1272 *n_args = 2;
1273 break;
1274 }
1275 /* clock_settime */
1276 case 233: {
1277 struct clock_settime_args *p = params;
1278 iarg[0] = p->clock_id; /* clockid_t */
1279 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1280 *n_args = 2;
1281 break;
1282 }
1283 /* clock_getres */
1284 case 234: {
1285 struct clock_getres_args *p = params;
1286 iarg[0] = p->clock_id; /* clockid_t */
1287 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1288 *n_args = 2;
1289 break;
1290 }
1291 /* ktimer_create */
1292 case 235: {
1293 struct ktimer_create_args *p = params;
1294 iarg[0] = p->clock_id; /* clockid_t */
1295 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1296 uarg[2] = (intptr_t) p->timerid; /* int * */
1297 *n_args = 3;
1298 break;
1299 }
1300 /* ktimer_delete */
1301 case 236: {
1302 struct ktimer_delete_args *p = params;
1303 iarg[0] = p->timerid; /* int */
1304 *n_args = 1;
1305 break;
1306 }
1307 /* ktimer_settime */
1308 case 237: {
1309 struct ktimer_settime_args *p = params;
1310 iarg[0] = p->timerid; /* int */
1311 iarg[1] = p->flags; /* int */
1312 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1313 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1314 *n_args = 4;
1315 break;
1316 }
1317 /* ktimer_gettime */
1318 case 238: {
1319 struct ktimer_gettime_args *p = params;
1320 iarg[0] = p->timerid; /* int */
1321 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1322 *n_args = 2;
1323 break;
1324 }
1325 /* ktimer_getoverrun */
1326 case 239: {
1327 struct ktimer_getoverrun_args *p = params;
1328 iarg[0] = p->timerid; /* int */
1329 *n_args = 1;
1330 break;
1331 }
1332 /* nanosleep */
1333 case 240: {
1334 struct nanosleep_args *p = params;
1335 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1336 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1337 *n_args = 2;
1338 break;
1339 }
1340 /* ffclock_getcounter */
1341 case 241: {
1342 struct ffclock_getcounter_args *p = params;
1343 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1344 *n_args = 1;
1345 break;
1346 }
1347 /* ffclock_setestimate */
1348 case 242: {
1349 struct ffclock_setestimate_args *p = params;
1350 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1351 *n_args = 1;
1352 break;
1353 }
1354 /* ffclock_getestimate */
1355 case 243: {
1356 struct ffclock_getestimate_args *p = params;
1357 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1358 *n_args = 1;
1359 break;
1360 }
1361 /* ntp_gettime */
1362 case 248: {
1363 struct ntp_gettime_args *p = params;
1364 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1365 *n_args = 1;
1366 break;
1367 }
1368 /* minherit */
1369 case 250: {
1370 struct minherit_args *p = params;
1371 uarg[0] = (intptr_t) p->addr; /* void * */
1372 uarg[1] = p->len; /* size_t */
1373 iarg[2] = p->inherit; /* int */
1374 *n_args = 3;
1375 break;
1376 }
1377 /* rfork */
1378 case 251: {
1379 struct rfork_args *p = params;
1380 iarg[0] = p->flags; /* int */
1381 *n_args = 1;
1382 break;
1383 }
1384 /* openbsd_poll */
1385 case 252: {
1386 struct openbsd_poll_args *p = params;
1387 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1388 uarg[1] = p->nfds; /* u_int */
1389 iarg[2] = p->timeout; /* int */
1390 *n_args = 3;
1391 break;
1392 }
1393 /* issetugid */
1394 case 253: {
1395 *n_args = 0;
1396 break;
1397 }
1398 /* lchown */
1399 case 254: {
1400 struct lchown_args *p = params;
1401 uarg[0] = (intptr_t) p->path; /* char * */
1402 iarg[1] = p->uid; /* int */
1403 iarg[2] = p->gid; /* int */
1404 *n_args = 3;
1405 break;
1406 }
1407 /* aio_read */
1408 case 255: {
1409 struct aio_read_args *p = params;
1410 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1411 *n_args = 1;
1412 break;
1413 }
1414 /* aio_write */
1415 case 256: {
1416 struct aio_write_args *p = params;
1417 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1418 *n_args = 1;
1419 break;
1420 }
1421 /* lio_listio */
1422 case 257: {
1423 struct lio_listio_args *p = params;
1424 iarg[0] = p->mode; /* int */
1425 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1426 iarg[2] = p->nent; /* int */
1427 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1428 *n_args = 4;
1429 break;
1430 }
1431 /* getdents */
1432 case 272: {
1433 struct getdents_args *p = params;
1434 iarg[0] = p->fd; /* int */
1435 uarg[1] = (intptr_t) p->buf; /* char * */
1436 uarg[2] = p->count; /* size_t */
1437 *n_args = 3;
1438 break;
1439 }
1440 /* lchmod */
1441 case 274: {
1442 struct lchmod_args *p = params;
1443 uarg[0] = (intptr_t) p->path; /* char * */
1444 iarg[1] = p->mode; /* mode_t */
1445 *n_args = 2;
1446 break;
1447 }
1448 /* lchown */
1449 case 275: {
1450 struct lchown_args *p = params;
1451 uarg[0] = (intptr_t) p->path; /* char * */
1452 uarg[1] = p->uid; /* uid_t */
1453 iarg[2] = p->gid; /* gid_t */
1454 *n_args = 3;
1455 break;
1456 }
1457 /* lutimes */
1458 case 276: {
1459 struct lutimes_args *p = params;
1460 uarg[0] = (intptr_t) p->path; /* char * */
1461 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1462 *n_args = 2;
1463 break;
1464 }
1465 /* msync */
1466 case 277: {
1467 struct msync_args *p = params;
1468 uarg[0] = (intptr_t) p->addr; /* void * */
1469 uarg[1] = p->len; /* size_t */
1470 iarg[2] = p->flags; /* int */
1471 *n_args = 3;
1472 break;
1473 }
1474 /* nstat */
1475 case 278: {
1476 struct nstat_args *p = params;
1477 uarg[0] = (intptr_t) p->path; /* char * */
1478 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1479 *n_args = 2;
1480 break;
1481 }
1482 /* nfstat */
1483 case 279: {
1484 struct nfstat_args *p = params;
1485 iarg[0] = p->fd; /* int */
1486 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1487 *n_args = 2;
1488 break;
1489 }
1490 /* nlstat */
1491 case 280: {
1492 struct nlstat_args *p = params;
1493 uarg[0] = (intptr_t) p->path; /* char * */
1494 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1495 *n_args = 2;
1496 break;
1497 }
1498 /* preadv */
1499 case 289: {
1500 struct preadv_args *p = params;
1501 iarg[0] = p->fd; /* int */
1502 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1503 uarg[2] = p->iovcnt; /* u_int */
1504 iarg[3] = p->offset; /* off_t */
1505 *n_args = 4;
1506 break;
1507 }
1508 /* pwritev */
1509 case 290: {
1510 struct pwritev_args *p = params;
1511 iarg[0] = p->fd; /* int */
1512 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1513 uarg[2] = p->iovcnt; /* u_int */
1514 iarg[3] = p->offset; /* off_t */
1515 *n_args = 4;
1516 break;
1517 }
1518 /* fhopen */
1519 case 298: {
1520 struct fhopen_args *p = params;
1521 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1522 iarg[1] = p->flags; /* int */
1523 *n_args = 2;
1524 break;
1525 }
1526 /* fhstat */
1527 case 299: {
1528 struct fhstat_args *p = params;
1529 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1530 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1531 *n_args = 2;
1532 break;
1533 }
1534 /* modnext */
1535 case 300: {
1536 struct modnext_args *p = params;
1537 iarg[0] = p->modid; /* int */
1538 *n_args = 1;
1539 break;
1540 }
1541 /* modstat */
1542 case 301: {
1543 struct modstat_args *p = params;
1544 iarg[0] = p->modid; /* int */
1545 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1546 *n_args = 2;
1547 break;
1548 }
1549 /* modfnext */
1550 case 302: {
1551 struct modfnext_args *p = params;
1552 iarg[0] = p->modid; /* int */
1553 *n_args = 1;
1554 break;
1555 }
1556 /* modfind */
1557 case 303: {
1558 struct modfind_args *p = params;
1559 uarg[0] = (intptr_t) p->name; /* const char * */
1560 *n_args = 1;
1561 break;
1562 }
1563 /* kldload */
1564 case 304: {
1565 struct kldload_args *p = params;
1566 uarg[0] = (intptr_t) p->file; /* const char * */
1567 *n_args = 1;
1568 break;
1569 }
1570 /* kldunload */
1571 case 305: {
1572 struct kldunload_args *p = params;
1573 iarg[0] = p->fileid; /* int */
1574 *n_args = 1;
1575 break;
1576 }
1577 /* kldfind */
1578 case 306: {
1579 struct kldfind_args *p = params;
1580 uarg[0] = (intptr_t) p->file; /* const char * */
1581 *n_args = 1;
1582 break;
1583 }
1584 /* kldnext */
1585 case 307: {
1586 struct kldnext_args *p = params;
1587 iarg[0] = p->fileid; /* int */
1588 *n_args = 1;
1589 break;
1590 }
1591 /* kldstat */
1592 case 308: {
1593 struct kldstat_args *p = params;
1594 iarg[0] = p->fileid; /* int */
1595 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1596 *n_args = 2;
1597 break;
1598 }
1599 /* kldfirstmod */
1600 case 309: {
1601 struct kldfirstmod_args *p = params;
1602 iarg[0] = p->fileid; /* int */
1603 *n_args = 1;
1604 break;
1605 }
1606 /* getsid */
1607 case 310: {
1608 struct getsid_args *p = params;
1609 iarg[0] = p->pid; /* pid_t */
1610 *n_args = 1;
1611 break;
1612 }
1613 /* setresuid */
1614 case 311: {
1615 struct setresuid_args *p = params;
1616 uarg[0] = p->ruid; /* uid_t */
1617 uarg[1] = p->euid; /* uid_t */
1618 uarg[2] = p->suid; /* uid_t */
1619 *n_args = 3;
1620 break;
1621 }
1622 /* setresgid */
1623 case 312: {
1624 struct setresgid_args *p = params;
1625 iarg[0] = p->rgid; /* gid_t */
1626 iarg[1] = p->egid; /* gid_t */
1627 iarg[2] = p->sgid; /* gid_t */
1628 *n_args = 3;
1629 break;
1630 }
1631 /* aio_return */
1632 case 314: {
1633 struct aio_return_args *p = params;
1634 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1635 *n_args = 1;
1636 break;
1637 }
1638 /* aio_suspend */
1639 case 315: {
1640 struct aio_suspend_args *p = params;
1641 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1642 iarg[1] = p->nent; /* int */
1643 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1644 *n_args = 3;
1645 break;
1646 }
1647 /* aio_cancel */
1648 case 316: {
1649 struct aio_cancel_args *p = params;
1650 iarg[0] = p->fd; /* int */
1651 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1652 *n_args = 2;
1653 break;
1654 }
1655 /* aio_error */
1656 case 317: {
1657 struct aio_error_args *p = params;
1658 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1659 *n_args = 1;
1660 break;
1661 }
1662 /* oaio_read */
1663 case 318: {
1664 struct oaio_read_args *p = params;
1665 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1666 *n_args = 1;
1667 break;
1668 }
1669 /* oaio_write */
1670 case 319: {
1671 struct oaio_write_args *p = params;
1672 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1673 *n_args = 1;
1674 break;
1675 }
1676 /* olio_listio */
1677 case 320: {
1678 struct olio_listio_args *p = params;
1679 iarg[0] = p->mode; /* int */
1680 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1681 iarg[2] = p->nent; /* int */
1682 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1683 *n_args = 4;
1684 break;
1685 }
1686 /* yield */
1687 case 321: {
1688 *n_args = 0;
1689 break;
1690 }
1691 /* mlockall */
1692 case 324: {
1693 struct mlockall_args *p = params;
1694 iarg[0] = p->how; /* int */
1695 *n_args = 1;
1696 break;
1697 }
1698 /* munlockall */
1699 case 325: {
1700 *n_args = 0;
1701 break;
1702 }
1703 /* __getcwd */
1704 case 326: {
1705 struct __getcwd_args *p = params;
1706 uarg[0] = (intptr_t) p->buf; /* u_char * */
1707 uarg[1] = p->buflen; /* u_int */
1708 *n_args = 2;
1709 break;
1710 }
1711 /* sched_setparam */
1712 case 327: {
1713 struct sched_setparam_args *p = params;
1714 iarg[0] = p->pid; /* pid_t */
1715 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1716 *n_args = 2;
1717 break;
1718 }
1719 /* sched_getparam */
1720 case 328: {
1721 struct sched_getparam_args *p = params;
1722 iarg[0] = p->pid; /* pid_t */
1723 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1724 *n_args = 2;
1725 break;
1726 }
1727 /* sched_setscheduler */
1728 case 329: {
1729 struct sched_setscheduler_args *p = params;
1730 iarg[0] = p->pid; /* pid_t */
1731 iarg[1] = p->policy; /* int */
1732 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1733 *n_args = 3;
1734 break;
1735 }
1736 /* sched_getscheduler */
1737 case 330: {
1738 struct sched_getscheduler_args *p = params;
1739 iarg[0] = p->pid; /* pid_t */
1740 *n_args = 1;
1741 break;
1742 }
1743 /* sched_yield */
1744 case 331: {
1745 *n_args = 0;
1746 break;
1747 }
1748 /* sched_get_priority_max */
1749 case 332: {
1750 struct sched_get_priority_max_args *p = params;
1751 iarg[0] = p->policy; /* int */
1752 *n_args = 1;
1753 break;
1754 }
1755 /* sched_get_priority_min */
1756 case 333: {
1757 struct sched_get_priority_min_args *p = params;
1758 iarg[0] = p->policy; /* int */
1759 *n_args = 1;
1760 break;
1761 }
1762 /* sched_rr_get_interval */
1763 case 334: {
1764 struct sched_rr_get_interval_args *p = params;
1765 iarg[0] = p->pid; /* pid_t */
1766 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1767 *n_args = 2;
1768 break;
1769 }
1770 /* utrace */
1771 case 335: {
1772 struct utrace_args *p = params;
1773 uarg[0] = (intptr_t) p->addr; /* const void * */
1774 uarg[1] = p->len; /* size_t */
1775 *n_args = 2;
1776 break;
1777 }
1778 /* kldsym */
1779 case 337: {
1780 struct kldsym_args *p = params;
1781 iarg[0] = p->fileid; /* int */
1782 iarg[1] = p->cmd; /* int */
1783 uarg[2] = (intptr_t) p->data; /* void * */
1784 *n_args = 3;
1785 break;
1786 }
1787 /* jail */
1788 case 338: {
1789 struct jail_args *p = params;
1790 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1791 *n_args = 1;
1792 break;
1793 }
1794 /* nnpfs_syscall */
1795 case 339: {
1796 struct nnpfs_syscall_args *p = params;
1797 iarg[0] = p->operation; /* int */
1798 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1799 iarg[2] = p->a_opcode; /* int */
1800 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1801 iarg[4] = p->a_followSymlinks; /* int */
1802 *n_args = 5;
1803 break;
1804 }
1805 /* sigprocmask */
1806 case 340: {
1807 struct sigprocmask_args *p = params;
1808 iarg[0] = p->how; /* int */
1809 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1810 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1811 *n_args = 3;
1812 break;
1813 }
1814 /* sigsuspend */
1815 case 341: {
1816 struct sigsuspend_args *p = params;
1817 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1818 *n_args = 1;
1819 break;
1820 }
1821 /* sigpending */
1822 case 343: {
1823 struct sigpending_args *p = params;
1824 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1825 *n_args = 1;
1826 break;
1827 }
1828 /* sigtimedwait */
1829 case 345: {
1830 struct sigtimedwait_args *p = params;
1831 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1832 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1833 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1834 *n_args = 3;
1835 break;
1836 }
1837 /* sigwaitinfo */
1838 case 346: {
1839 struct sigwaitinfo_args *p = params;
1840 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1841 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1842 *n_args = 2;
1843 break;
1844 }
1845 /* __acl_get_file */
1846 case 347: {
1847 struct __acl_get_file_args *p = params;
1848 uarg[0] = (intptr_t) p->path; /* const char * */
1849 iarg[1] = p->type; /* acl_type_t */
1850 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1851 *n_args = 3;
1852 break;
1853 }
1854 /* __acl_set_file */
1855 case 348: {
1856 struct __acl_set_file_args *p = params;
1857 uarg[0] = (intptr_t) p->path; /* const char * */
1858 iarg[1] = p->type; /* acl_type_t */
1859 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1860 *n_args = 3;
1861 break;
1862 }
1863 /* __acl_get_fd */
1864 case 349: {
1865 struct __acl_get_fd_args *p = params;
1866 iarg[0] = p->filedes; /* int */
1867 iarg[1] = p->type; /* acl_type_t */
1868 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1869 *n_args = 3;
1870 break;
1871 }
1872 /* __acl_set_fd */
1873 case 350: {
1874 struct __acl_set_fd_args *p = params;
1875 iarg[0] = p->filedes; /* int */
1876 iarg[1] = p->type; /* acl_type_t */
1877 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1878 *n_args = 3;
1879 break;
1880 }
1881 /* __acl_delete_file */
1882 case 351: {
1883 struct __acl_delete_file_args *p = params;
1884 uarg[0] = (intptr_t) p->path; /* const char * */
1885 iarg[1] = p->type; /* acl_type_t */
1886 *n_args = 2;
1887 break;
1888 }
1889 /* __acl_delete_fd */
1890 case 352: {
1891 struct __acl_delete_fd_args *p = params;
1892 iarg[0] = p->filedes; /* int */
1893 iarg[1] = p->type; /* acl_type_t */
1894 *n_args = 2;
1895 break;
1896 }
1897 /* __acl_aclcheck_file */
1898 case 353: {
1899 struct __acl_aclcheck_file_args *p = params;
1900 uarg[0] = (intptr_t) p->path; /* const char * */
1901 iarg[1] = p->type; /* acl_type_t */
1902 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1903 *n_args = 3;
1904 break;
1905 }
1906 /* __acl_aclcheck_fd */
1907 case 354: {
1908 struct __acl_aclcheck_fd_args *p = params;
1909 iarg[0] = p->filedes; /* int */
1910 iarg[1] = p->type; /* acl_type_t */
1911 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1912 *n_args = 3;
1913 break;
1914 }
1915 /* extattrctl */
1916 case 355: {
1917 struct extattrctl_args *p = params;
1918 uarg[0] = (intptr_t) p->path; /* const char * */
1919 iarg[1] = p->cmd; /* int */
1920 uarg[2] = (intptr_t) p->filename; /* const char * */
1921 iarg[3] = p->attrnamespace; /* int */
1922 uarg[4] = (intptr_t) p->attrname; /* const char * */
1923 *n_args = 5;
1924 break;
1925 }
1926 /* extattr_set_file */
1927 case 356: {
1928 struct extattr_set_file_args *p = params;
1929 uarg[0] = (intptr_t) p->path; /* const char * */
1930 iarg[1] = p->attrnamespace; /* int */
1931 uarg[2] = (intptr_t) p->attrname; /* const char * */
1932 uarg[3] = (intptr_t) p->data; /* void * */
1933 uarg[4] = p->nbytes; /* size_t */
1934 *n_args = 5;
1935 break;
1936 }
1937 /* extattr_get_file */
1938 case 357: {
1939 struct extattr_get_file_args *p = params;
1940 uarg[0] = (intptr_t) p->path; /* const char * */
1941 iarg[1] = p->attrnamespace; /* int */
1942 uarg[2] = (intptr_t) p->attrname; /* const char * */
1943 uarg[3] = (intptr_t) p->data; /* void * */
1944 uarg[4] = p->nbytes; /* size_t */
1945 *n_args = 5;
1946 break;
1947 }
1948 /* extattr_delete_file */
1949 case 358: {
1950 struct extattr_delete_file_args *p = params;
1951 uarg[0] = (intptr_t) p->path; /* const char * */
1952 iarg[1] = p->attrnamespace; /* int */
1953 uarg[2] = (intptr_t) p->attrname; /* const char * */
1954 *n_args = 3;
1955 break;
1956 }
1957 /* aio_waitcomplete */
1958 case 359: {
1959 struct aio_waitcomplete_args *p = params;
1960 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1961 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1962 *n_args = 2;
1963 break;
1964 }
1965 /* getresuid */
1966 case 360: {
1967 struct getresuid_args *p = params;
1968 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1969 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1970 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1971 *n_args = 3;
1972 break;
1973 }
1974 /* getresgid */
1975 case 361: {
1976 struct getresgid_args *p = params;
1977 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1978 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1979 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1980 *n_args = 3;
1981 break;
1982 }
1983 /* kqueue */
1984 case 362: {
1985 *n_args = 0;
1986 break;
1987 }
1988 /* kevent */
1989 case 363: {
1990 struct kevent_args *p = params;
1991 iarg[0] = p->fd; /* int */
1992 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
1993 iarg[2] = p->nchanges; /* int */
1994 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
1995 iarg[4] = p->nevents; /* int */
1996 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
1997 *n_args = 6;
1998 break;
1999 }
2000 /* extattr_set_fd */
2001 case 371: {
2002 struct extattr_set_fd_args *p = params;
2003 iarg[0] = p->fd; /* int */
2004 iarg[1] = p->attrnamespace; /* int */
2005 uarg[2] = (intptr_t) p->attrname; /* const char * */
2006 uarg[3] = (intptr_t) p->data; /* void * */
2007 uarg[4] = p->nbytes; /* size_t */
2008 *n_args = 5;
2009 break;
2010 }
2011 /* extattr_get_fd */
2012 case 372: {
2013 struct extattr_get_fd_args *p = params;
2014 iarg[0] = p->fd; /* int */
2015 iarg[1] = p->attrnamespace; /* int */
2016 uarg[2] = (intptr_t) p->attrname; /* const char * */
2017 uarg[3] = (intptr_t) p->data; /* void * */
2018 uarg[4] = p->nbytes; /* size_t */
2019 *n_args = 5;
2020 break;
2021 }
2022 /* extattr_delete_fd */
2023 case 373: {
2024 struct extattr_delete_fd_args *p = params;
2025 iarg[0] = p->fd; /* int */
2026 iarg[1] = p->attrnamespace; /* int */
2027 uarg[2] = (intptr_t) p->attrname; /* const char * */
2028 *n_args = 3;
2029 break;
2030 }
2031 /* __setugid */
2032 case 374: {
2033 struct __setugid_args *p = params;
2034 iarg[0] = p->flag; /* int */
2035 *n_args = 1;
2036 break;
2037 }
2038 /* eaccess */
2039 case 376: {
2040 struct eaccess_args *p = params;
2041 uarg[0] = (intptr_t) p->path; /* char * */
2042 iarg[1] = p->amode; /* int */
2043 *n_args = 2;
2044 break;
2045 }
2046 /* afs3_syscall */
2047 case 377: {
2048 struct afs3_syscall_args *p = params;
2049 iarg[0] = p->syscall; /* long */
2050 iarg[1] = p->parm1; /* long */
2051 iarg[2] = p->parm2; /* long */
2052 iarg[3] = p->parm3; /* long */
2053 iarg[4] = p->parm4; /* long */
2054 iarg[5] = p->parm5; /* long */
2055 iarg[6] = p->parm6; /* long */
2056 *n_args = 7;
2057 break;
2058 }
2059 /* nmount */
2060 case 378: {
2061 struct nmount_args *p = params;
2062 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2063 uarg[1] = p->iovcnt; /* unsigned int */
2064 iarg[2] = p->flags; /* int */
2065 *n_args = 3;
2066 break;
2067 }
2068 /* __mac_get_proc */
2069 case 384: {
2070 struct __mac_get_proc_args *p = params;
2071 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2072 *n_args = 1;
2073 break;
2074 }
2075 /* __mac_set_proc */
2076 case 385: {
2077 struct __mac_set_proc_args *p = params;
2078 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2079 *n_args = 1;
2080 break;
2081 }
2082 /* __mac_get_fd */
2083 case 386: {
2084 struct __mac_get_fd_args *p = params;
2085 iarg[0] = p->fd; /* int */
2086 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2087 *n_args = 2;
2088 break;
2089 }
2090 /* __mac_get_file */
2091 case 387: {
2092 struct __mac_get_file_args *p = params;
2093 uarg[0] = (intptr_t) p->path_p; /* const char * */
2094 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2095 *n_args = 2;
2096 break;
2097 }
2098 /* __mac_set_fd */
2099 case 388: {
2100 struct __mac_set_fd_args *p = params;
2101 iarg[0] = p->fd; /* int */
2102 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2103 *n_args = 2;
2104 break;
2105 }
2106 /* __mac_set_file */
2107 case 389: {
2108 struct __mac_set_file_args *p = params;
2109 uarg[0] = (intptr_t) p->path_p; /* const char * */
2110 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2111 *n_args = 2;
2112 break;
2113 }
2114 /* kenv */
2115 case 390: {
2116 struct kenv_args *p = params;
2117 iarg[0] = p->what; /* int */
2118 uarg[1] = (intptr_t) p->name; /* const char * */
2119 uarg[2] = (intptr_t) p->value; /* char * */
2120 iarg[3] = p->len; /* int */
2121 *n_args = 4;
2122 break;
2123 }
2124 /* lchflags */
2125 case 391: {
2126 struct lchflags_args *p = params;
2127 uarg[0] = (intptr_t) p->path; /* const char * */
2128 iarg[1] = p->flags; /* int */
2129 *n_args = 2;
2130 break;
2131 }
2132 /* uuidgen */
2133 case 392: {
2134 struct uuidgen_args *p = params;
2135 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2136 iarg[1] = p->count; /* int */
2137 *n_args = 2;
2138 break;
2139 }
2140 /* sendfile */
2141 case 393: {
2142 struct sendfile_args *p = params;
2143 iarg[0] = p->fd; /* int */
2144 iarg[1] = p->s; /* int */
2145 iarg[2] = p->offset; /* off_t */
2146 uarg[3] = p->nbytes; /* size_t */
2147 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2148 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2149 iarg[6] = p->flags; /* int */
2150 *n_args = 7;
2151 break;
2152 }
2153 /* mac_syscall */
2154 case 394: {
2155 struct mac_syscall_args *p = params;
2156 uarg[0] = (intptr_t) p->policy; /* const char * */
2157 iarg[1] = p->call; /* int */
2158 uarg[2] = (intptr_t) p->arg; /* void * */
2159 *n_args = 3;
2160 break;
2161 }
2162 /* getfsstat */
2163 case 395: {
2164 struct getfsstat_args *p = params;
2165 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2166 iarg[1] = p->bufsize; /* long */
2167 iarg[2] = p->flags; /* int */
2168 *n_args = 3;
2169 break;
2170 }
2171 /* statfs */
2172 case 396: {
2173 struct statfs_args *p = params;
2174 uarg[0] = (intptr_t) p->path; /* char * */
2175 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2176 *n_args = 2;
2177 break;
2178 }
2179 /* fstatfs */
2180 case 397: {
2181 struct fstatfs_args *p = params;
2182 iarg[0] = p->fd; /* int */
2183 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2184 *n_args = 2;
2185 break;
2186 }
2187 /* fhstatfs */
2188 case 398: {
2189 struct fhstatfs_args *p = params;
2190 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2191 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2192 *n_args = 2;
2193 break;
2194 }
2195 /* ksem_close */
2196 case 400: {
2197 struct ksem_close_args *p = params;
2198 iarg[0] = p->id; /* semid_t */
2199 *n_args = 1;
2200 break;
2201 }
2202 /* ksem_post */
2203 case 401: {
2204 struct ksem_post_args *p = params;
2205 iarg[0] = p->id; /* semid_t */
2206 *n_args = 1;
2207 break;
2208 }
2209 /* ksem_wait */
2210 case 402: {
2211 struct ksem_wait_args *p = params;
2212 iarg[0] = p->id; /* semid_t */
2213 *n_args = 1;
2214 break;
2215 }
2216 /* ksem_trywait */
2217 case 403: {
2218 struct ksem_trywait_args *p = params;
2219 iarg[0] = p->id; /* semid_t */
2220 *n_args = 1;
2221 break;
2222 }
2223 /* ksem_init */
2224 case 404: {
2225 struct ksem_init_args *p = params;
2226 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2227 uarg[1] = p->value; /* unsigned int */
2228 *n_args = 2;
2229 break;
2230 }
2231 /* ksem_open */
2232 case 405: {
2233 struct ksem_open_args *p = params;
2234 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2235 uarg[1] = (intptr_t) p->name; /* const char * */
2236 iarg[2] = p->oflag; /* int */
2237 iarg[3] = p->mode; /* mode_t */
2238 uarg[4] = p->value; /* unsigned int */
2239 *n_args = 5;
2240 break;
2241 }
2242 /* ksem_unlink */
2243 case 406: {
2244 struct ksem_unlink_args *p = params;
2245 uarg[0] = (intptr_t) p->name; /* const char * */
2246 *n_args = 1;
2247 break;
2248 }
2249 /* ksem_getvalue */
2250 case 407: {
2251 struct ksem_getvalue_args *p = params;
2252 iarg[0] = p->id; /* semid_t */
2253 uarg[1] = (intptr_t) p->val; /* int * */
2254 *n_args = 2;
2255 break;
2256 }
2257 /* ksem_destroy */
2258 case 408: {
2259 struct ksem_destroy_args *p = params;
2260 iarg[0] = p->id; /* semid_t */
2261 *n_args = 1;
2262 break;
2263 }
2264 /* __mac_get_pid */
2265 case 409: {
2266 struct __mac_get_pid_args *p = params;
2267 iarg[0] = p->pid; /* pid_t */
2268 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2269 *n_args = 2;
2270 break;
2271 }
2272 /* __mac_get_link */
2273 case 410: {
2274 struct __mac_get_link_args *p = params;
2275 uarg[0] = (intptr_t) p->path_p; /* const char * */
2276 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2277 *n_args = 2;
2278 break;
2279 }
2280 /* __mac_set_link */
2281 case 411: {
2282 struct __mac_set_link_args *p = params;
2283 uarg[0] = (intptr_t) p->path_p; /* const char * */
2284 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2285 *n_args = 2;
2286 break;
2287 }
2288 /* extattr_set_link */
2289 case 412: {
2290 struct extattr_set_link_args *p = params;
2291 uarg[0] = (intptr_t) p->path; /* const char * */
2292 iarg[1] = p->attrnamespace; /* int */
2293 uarg[2] = (intptr_t) p->attrname; /* const char * */
2294 uarg[3] = (intptr_t) p->data; /* void * */
2295 uarg[4] = p->nbytes; /* size_t */
2296 *n_args = 5;
2297 break;
2298 }
2299 /* extattr_get_link */
2300 case 413: {
2301 struct extattr_get_link_args *p = params;
2302 uarg[0] = (intptr_t) p->path; /* const char * */
2303 iarg[1] = p->attrnamespace; /* int */
2304 uarg[2] = (intptr_t) p->attrname; /* const char * */
2305 uarg[3] = (intptr_t) p->data; /* void * */
2306 uarg[4] = p->nbytes; /* size_t */
2307 *n_args = 5;
2308 break;
2309 }
2310 /* extattr_delete_link */
2311 case 414: {
2312 struct extattr_delete_link_args *p = params;
2313 uarg[0] = (intptr_t) p->path; /* const char * */
2314 iarg[1] = p->attrnamespace; /* int */
2315 uarg[2] = (intptr_t) p->attrname; /* const char * */
2316 *n_args = 3;
2317 break;
2318 }
2319 /* __mac_execve */
2320 case 415: {
2321 struct __mac_execve_args *p = params;
2322 uarg[0] = (intptr_t) p->fname; /* char * */
2323 uarg[1] = (intptr_t) p->argv; /* char ** */
2324 uarg[2] = (intptr_t) p->envv; /* char ** */
2325 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2326 *n_args = 4;
2327 break;
2328 }
2329 /* sigaction */
2330 case 416: {
2331 struct sigaction_args *p = params;
2332 iarg[0] = p->sig; /* int */
2333 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2334 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2335 *n_args = 3;
2336 break;
2337 }
2338 /* sigreturn */
2339 case 417: {
2340 struct sigreturn_args *p = params;
2341 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2342 *n_args = 1;
2343 break;
2344 }
2345 /* getcontext */
2346 case 421: {
2347 struct getcontext_args *p = params;
2348 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2349 *n_args = 1;
2350 break;
2351 }
2352 /* setcontext */
2353 case 422: {
2354 struct setcontext_args *p = params;
2355 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2356 *n_args = 1;
2357 break;
2358 }
2359 /* swapcontext */
2360 case 423: {
2361 struct swapcontext_args *p = params;
2362 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2363 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2364 *n_args = 2;
2365 break;
2366 }
2367 /* swapoff */
2368 case 424: {
2369 struct swapoff_args *p = params;
2370 uarg[0] = (intptr_t) p->name; /* const char * */
2371 *n_args = 1;
2372 break;
2373 }
2374 /* __acl_get_link */
2375 case 425: {
2376 struct __acl_get_link_args *p = params;
2377 uarg[0] = (intptr_t) p->path; /* const char * */
2378 iarg[1] = p->type; /* acl_type_t */
2379 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2380 *n_args = 3;
2381 break;
2382 }
2383 /* __acl_set_link */
2384 case 426: {
2385 struct __acl_set_link_args *p = params;
2386 uarg[0] = (intptr_t) p->path; /* const char * */
2387 iarg[1] = p->type; /* acl_type_t */
2388 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2389 *n_args = 3;
2390 break;
2391 }
2392 /* __acl_delete_link */
2393 case 427: {
2394 struct __acl_delete_link_args *p = params;
2395 uarg[0] = (intptr_t) p->path; /* const char * */
2396 iarg[1] = p->type; /* acl_type_t */
2397 *n_args = 2;
2398 break;
2399 }
2400 /* __acl_aclcheck_link */
2401 case 428: {
2402 struct __acl_aclcheck_link_args *p = params;
2403 uarg[0] = (intptr_t) p->path; /* const char * */
2404 iarg[1] = p->type; /* acl_type_t */
2405 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2406 *n_args = 3;
2407 break;
2408 }
2409 /* sigwait */
2410 case 429: {
2411 struct sigwait_args *p = params;
2412 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2413 uarg[1] = (intptr_t) p->sig; /* int * */
2414 *n_args = 2;
2415 break;
2416 }
2417 /* thr_create */
2418 case 430: {
2419 struct thr_create_args *p = params;
2420 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2421 uarg[1] = (intptr_t) p->id; /* long * */
2422 iarg[2] = p->flags; /* int */
2423 *n_args = 3;
2424 break;
2425 }
2426 /* thr_exit */
2427 case 431: {
2428 struct thr_exit_args *p = params;
2429 uarg[0] = (intptr_t) p->state; /* long * */
2430 *n_args = 1;
2431 break;
2432 }
2433 /* thr_self */
2434 case 432: {
2435 struct thr_self_args *p = params;
2436 uarg[0] = (intptr_t) p->id; /* long * */
2437 *n_args = 1;
2438 break;
2439 }
2440 /* thr_kill */
2441 case 433: {
2442 struct thr_kill_args *p = params;
2443 iarg[0] = p->id; /* long */
2444 iarg[1] = p->sig; /* int */
2445 *n_args = 2;
2446 break;
2447 }
2448 /* _umtx_lock */
2449 case 434: {
2450 struct _umtx_lock_args *p = params;
2451 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2452 *n_args = 1;
2453 break;
2454 }
2455 /* _umtx_unlock */
2456 case 435: {
2457 struct _umtx_unlock_args *p = params;
2458 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2459 *n_args = 1;
2460 break;
2461 }
2462 /* jail_attach */
2463 case 436: {
2464 struct jail_attach_args *p = params;
2465 iarg[0] = p->jid; /* int */
2466 *n_args = 1;
2467 break;
2468 }
2469 /* extattr_list_fd */
2470 case 437: {
2471 struct extattr_list_fd_args *p = params;
2472 iarg[0] = p->fd; /* int */
2473 iarg[1] = p->attrnamespace; /* int */
2474 uarg[2] = (intptr_t) p->data; /* void * */
2475 uarg[3] = p->nbytes; /* size_t */
2476 *n_args = 4;
2477 break;
2478 }
2479 /* extattr_list_file */
2480 case 438: {
2481 struct extattr_list_file_args *p = params;
2482 uarg[0] = (intptr_t) p->path; /* const char * */
2483 iarg[1] = p->attrnamespace; /* int */
2484 uarg[2] = (intptr_t) p->data; /* void * */
2485 uarg[3] = p->nbytes; /* size_t */
2486 *n_args = 4;
2487 break;
2488 }
2489 /* extattr_list_link */
2490 case 439: {
2491 struct extattr_list_link_args *p = params;
2492 uarg[0] = (intptr_t) p->path; /* const char * */
2493 iarg[1] = p->attrnamespace; /* int */
2494 uarg[2] = (intptr_t) p->data; /* void * */
2495 uarg[3] = p->nbytes; /* size_t */
2496 *n_args = 4;
2497 break;
2498 }
2499 /* ksem_timedwait */
2500 case 441: {
2501 struct ksem_timedwait_args *p = params;
2502 iarg[0] = p->id; /* semid_t */
2503 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2504 *n_args = 2;
2505 break;
2506 }
2507 /* thr_suspend */
2508 case 442: {
2509 struct thr_suspend_args *p = params;
2510 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2511 *n_args = 1;
2512 break;
2513 }
2514 /* thr_wake */
2515 case 443: {
2516 struct thr_wake_args *p = params;
2517 iarg[0] = p->id; /* long */
2518 *n_args = 1;
2519 break;
2520 }
2521 /* kldunloadf */
2522 case 444: {
2523 struct kldunloadf_args *p = params;
2524 iarg[0] = p->fileid; /* int */
2525 iarg[1] = p->flags; /* int */
2526 *n_args = 2;
2527 break;
2528 }
2529 /* audit */
2530 case 445: {
2531 struct audit_args *p = params;
2532 uarg[0] = (intptr_t) p->record; /* const void * */
2533 uarg[1] = p->length; /* u_int */
2534 *n_args = 2;
2535 break;
2536 }
2537 /* auditon */
2538 case 446: {
2539 struct auditon_args *p = params;
2540 iarg[0] = p->cmd; /* int */
2541 uarg[1] = (intptr_t) p->data; /* void * */
2542 uarg[2] = p->length; /* u_int */
2543 *n_args = 3;
2544 break;
2545 }
2546 /* getauid */
2547 case 447: {
2548 struct getauid_args *p = params;
2549 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2550 *n_args = 1;
2551 break;
2552 }
2553 /* setauid */
2554 case 448: {
2555 struct setauid_args *p = params;
2556 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2557 *n_args = 1;
2558 break;
2559 }
2560 /* getaudit */
2561 case 449: {
2562 struct getaudit_args *p = params;
2563 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2564 *n_args = 1;
2565 break;
2566 }
2567 /* setaudit */
2568 case 450: {
2569 struct setaudit_args *p = params;
2570 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2571 *n_args = 1;
2572 break;
2573 }
2574 /* getaudit_addr */
2575 case 451: {
2576 struct getaudit_addr_args *p = params;
2577 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2578 uarg[1] = p->length; /* u_int */
2579 *n_args = 2;
2580 break;
2581 }
2582 /* setaudit_addr */
2583 case 452: {
2584 struct setaudit_addr_args *p = params;
2585 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2586 uarg[1] = p->length; /* u_int */
2587 *n_args = 2;
2588 break;
2589 }
2590 /* auditctl */
2591 case 453: {
2592 struct auditctl_args *p = params;
2593 uarg[0] = (intptr_t) p->path; /* char * */
2594 *n_args = 1;
2595 break;
2596 }
2597 /* _umtx_op */
2598 case 454: {
2599 struct _umtx_op_args *p = params;
2600 uarg[0] = (intptr_t) p->obj; /* void * */
2601 iarg[1] = p->op; /* int */
2602 uarg[2] = p->val; /* u_long */
2603 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2604 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2605 *n_args = 5;
2606 break;
2607 }
2608 /* thr_new */
2609 case 455: {
2610 struct thr_new_args *p = params;
2611 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2612 iarg[1] = p->param_size; /* int */
2613 *n_args = 2;
2614 break;
2615 }
2616 /* sigqueue */
2617 case 456: {
2618 struct sigqueue_args *p = params;
2619 iarg[0] = p->pid; /* pid_t */
2620 iarg[1] = p->signum; /* int */
2621 uarg[2] = (intptr_t) p->value; /* void * */
2622 *n_args = 3;
2623 break;
2624 }
2625 /* kmq_open */
2626 case 457: {
2627 struct kmq_open_args *p = params;
2628 uarg[0] = (intptr_t) p->path; /* const char * */
2629 iarg[1] = p->flags; /* int */
2630 iarg[2] = p->mode; /* mode_t */
2631 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2632 *n_args = 4;
2633 break;
2634 }
2635 /* kmq_setattr */
2636 case 458: {
2637 struct kmq_setattr_args *p = params;
2638 iarg[0] = p->mqd; /* int */
2639 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2640 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2641 *n_args = 3;
2642 break;
2643 }
2644 /* kmq_timedreceive */
2645 case 459: {
2646 struct kmq_timedreceive_args *p = params;
2647 iarg[0] = p->mqd; /* int */
2648 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2649 uarg[2] = p->msg_len; /* size_t */
2650 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2651 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2652 *n_args = 5;
2653 break;
2654 }
2655 /* kmq_timedsend */
2656 case 460: {
2657 struct kmq_timedsend_args *p = params;
2658 iarg[0] = p->mqd; /* int */
2659 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2660 uarg[2] = p->msg_len; /* size_t */
2661 uarg[3] = p->msg_prio; /* unsigned */
2662 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2663 *n_args = 5;
2664 break;
2665 }
2666 /* kmq_notify */
2667 case 461: {
2668 struct kmq_notify_args *p = params;
2669 iarg[0] = p->mqd; /* int */
2670 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2671 *n_args = 2;
2672 break;
2673 }
2674 /* kmq_unlink */
2675 case 462: {
2676 struct kmq_unlink_args *p = params;
2677 uarg[0] = (intptr_t) p->path; /* const char * */
2678 *n_args = 1;
2679 break;
2680 }
2681 /* abort2 */
2682 case 463: {
2683 struct abort2_args *p = params;
2684 uarg[0] = (intptr_t) p->why; /* const char * */
2685 iarg[1] = p->nargs; /* int */
2686 uarg[2] = (intptr_t) p->args; /* void ** */
2687 *n_args = 3;
2688 break;
2689 }
2690 /* thr_set_name */
2691 case 464: {
2692 struct thr_set_name_args *p = params;
2693 iarg[0] = p->id; /* long */
2694 uarg[1] = (intptr_t) p->name; /* const char * */
2695 *n_args = 2;
2696 break;
2697 }
2698 /* aio_fsync */
2699 case 465: {
2700 struct aio_fsync_args *p = params;
2701 iarg[0] = p->op; /* int */
2702 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2703 *n_args = 2;
2704 break;
2705 }
2706 /* rtprio_thread */
2707 case 466: {
2708 struct rtprio_thread_args *p = params;
2709 iarg[0] = p->function; /* int */
2710 iarg[1] = p->lwpid; /* lwpid_t */
2711 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2712 *n_args = 3;
2713 break;
2714 }
2715 /* sctp_peeloff */
2716 case 471: {
2717 struct sctp_peeloff_args *p = params;
2718 iarg[0] = p->sd; /* int */
2719 uarg[1] = p->name; /* uint32_t */
2720 *n_args = 2;
2721 break;
2722 }
2723 /* sctp_generic_sendmsg */
2724 case 472: {
2725 struct sctp_generic_sendmsg_args *p = params;
2726 iarg[0] = p->sd; /* int */
2727 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2728 iarg[2] = p->mlen; /* int */
2729 uarg[3] = (intptr_t) p->to; /* caddr_t */
2730 iarg[4] = p->tolen; /* __socklen_t */
2731 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2732 iarg[6] = p->flags; /* int */
2733 *n_args = 7;
2734 break;
2735 }
2736 /* sctp_generic_sendmsg_iov */
2737 case 473: {
2738 struct sctp_generic_sendmsg_iov_args *p = params;
2739 iarg[0] = p->sd; /* int */
2740 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2741 iarg[2] = p->iovlen; /* int */
2742 uarg[3] = (intptr_t) p->to; /* caddr_t */
2743 iarg[4] = p->tolen; /* __socklen_t */
2744 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2745 iarg[6] = p->flags; /* int */
2746 *n_args = 7;
2747 break;
2748 }
2749 /* sctp_generic_recvmsg */
2750 case 474: {
2751 struct sctp_generic_recvmsg_args *p = params;
2752 iarg[0] = p->sd; /* int */
2753 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2754 iarg[2] = p->iovlen; /* int */
2755 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2756 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2757 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2758 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2759 *n_args = 7;
2760 break;
2761 }
2762 /* pread */
2763 case 475: {
2764 struct pread_args *p = params;
2765 iarg[0] = p->fd; /* int */
2766 uarg[1] = (intptr_t) p->buf; /* void * */
2767 uarg[2] = p->nbyte; /* size_t */
2768 iarg[3] = p->offset; /* off_t */
2769 *n_args = 4;
2770 break;
2771 }
2772 /* pwrite */
2773 case 476: {
2774 struct pwrite_args *p = params;
2775 iarg[0] = p->fd; /* int */
2776 uarg[1] = (intptr_t) p->buf; /* const void * */
2777 uarg[2] = p->nbyte; /* size_t */
2778 iarg[3] = p->offset; /* off_t */
2779 *n_args = 4;
2780 break;
2781 }
2782 /* mmap */
2783 case 477: {
2784 struct mmap_args *p = params;
2785 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2786 uarg[1] = p->len; /* size_t */
2787 iarg[2] = p->prot; /* int */
2788 iarg[3] = p->flags; /* int */
2789 iarg[4] = p->fd; /* int */
2790 iarg[5] = p->pos; /* off_t */
2791 *n_args = 6;
2792 break;
2793 }
2794 /* lseek */
2795 case 478: {
2796 struct lseek_args *p = params;
2797 iarg[0] = p->fd; /* int */
2798 iarg[1] = p->offset; /* off_t */
2799 iarg[2] = p->whence; /* int */
2800 *n_args = 3;
2801 break;
2802 }
2803 /* truncate */
2804 case 479: {
2805 struct truncate_args *p = params;
2806 uarg[0] = (intptr_t) p->path; /* char * */
2807 iarg[1] = p->length; /* off_t */
2808 *n_args = 2;
2809 break;
2810 }
2811 /* ftruncate */
2812 case 480: {
2813 struct ftruncate_args *p = params;
2814 iarg[0] = p->fd; /* int */
2815 iarg[1] = p->length; /* off_t */
2816 *n_args = 2;
2817 break;
2818 }
2819 /* thr_kill2 */
2820 case 481: {
2821 struct thr_kill2_args *p = params;
2822 iarg[0] = p->pid; /* pid_t */
2823 iarg[1] = p->id; /* long */
2824 iarg[2] = p->sig; /* int */
2825 *n_args = 3;
2826 break;
2827 }
2828 /* shm_open */
2829 case 482: {
2830 struct shm_open_args *p = params;
2831 uarg[0] = (intptr_t) p->path; /* const char * */
2832 iarg[1] = p->flags; /* int */
2833 iarg[2] = p->mode; /* mode_t */
2834 *n_args = 3;
2835 break;
2836 }
2837 /* shm_unlink */
2838 case 483: {
2839 struct shm_unlink_args *p = params;
2840 uarg[0] = (intptr_t) p->path; /* const char * */
2841 *n_args = 1;
2842 break;
2843 }
2844 /* cpuset */
2845 case 484: {
2846 struct cpuset_args *p = params;
2847 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2848 *n_args = 1;
2849 break;
2850 }
2851 /* cpuset_setid */
2852 case 485: {
2853 struct cpuset_setid_args *p = params;
2854 iarg[0] = p->which; /* cpuwhich_t */
2855 iarg[1] = p->id; /* id_t */
2856 iarg[2] = p->setid; /* cpusetid_t */
2857 *n_args = 3;
2858 break;
2859 }
2860 /* cpuset_getid */
2861 case 486: {
2862 struct cpuset_getid_args *p = params;
2863 iarg[0] = p->level; /* cpulevel_t */
2864 iarg[1] = p->which; /* cpuwhich_t */
2865 iarg[2] = p->id; /* id_t */
2866 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2867 *n_args = 4;
2868 break;
2869 }
2870 /* cpuset_getaffinity */
2871 case 487: {
2872 struct cpuset_getaffinity_args *p = params;
2873 iarg[0] = p->level; /* cpulevel_t */
2874 iarg[1] = p->which; /* cpuwhich_t */
2875 iarg[2] = p->id; /* id_t */
2876 uarg[3] = p->cpusetsize; /* size_t */
2877 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2878 *n_args = 5;
2879 break;
2880 }
2881 /* cpuset_setaffinity */
2882 case 488: {
2883 struct cpuset_setaffinity_args *p = params;
2884 iarg[0] = p->level; /* cpulevel_t */
2885 iarg[1] = p->which; /* cpuwhich_t */
2886 iarg[2] = p->id; /* id_t */
2887 uarg[3] = p->cpusetsize; /* size_t */
2888 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2889 *n_args = 5;
2890 break;
2891 }
2892 /* faccessat */
2893 case 489: {
2894 struct faccessat_args *p = params;
2895 iarg[0] = p->fd; /* int */
2896 uarg[1] = (intptr_t) p->path; /* char * */
2897 iarg[2] = p->amode; /* int */
2898 iarg[3] = p->flag; /* int */
2899 *n_args = 4;
2900 break;
2901 }
2902 /* fchmodat */
2903 case 490: {
2904 struct fchmodat_args *p = params;
2905 iarg[0] = p->fd; /* int */
2906 uarg[1] = (intptr_t) p->path; /* char * */
2907 iarg[2] = p->mode; /* mode_t */
2908 iarg[3] = p->flag; /* int */
2909 *n_args = 4;
2910 break;
2911 }
2912 /* fchownat */
2913 case 491: {
2914 struct fchownat_args *p = params;
2915 iarg[0] = p->fd; /* int */
2916 uarg[1] = (intptr_t) p->path; /* char * */
2917 uarg[2] = p->uid; /* uid_t */
2918 iarg[3] = p->gid; /* gid_t */
2919 iarg[4] = p->flag; /* int */
2920 *n_args = 5;
2921 break;
2922 }
2923 /* fexecve */
2924 case 492: {
2925 struct fexecve_args *p = params;
2926 iarg[0] = p->fd; /* int */
2927 uarg[1] = (intptr_t) p->argv; /* char ** */
2928 uarg[2] = (intptr_t) p->envv; /* char ** */
2929 *n_args = 3;
2930 break;
2931 }
2932 /* fstatat */
2933 case 493: {
2934 struct fstatat_args *p = params;
2935 iarg[0] = p->fd; /* int */
2936 uarg[1] = (intptr_t) p->path; /* char * */
2937 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2938 iarg[3] = p->flag; /* int */
2939 *n_args = 4;
2940 break;
2941 }
2942 /* futimesat */
2943 case 494: {
2944 struct futimesat_args *p = params;
2945 iarg[0] = p->fd; /* int */
2946 uarg[1] = (intptr_t) p->path; /* char * */
2947 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2948 *n_args = 3;
2949 break;
2950 }
2951 /* linkat */
2952 case 495: {
2953 struct linkat_args *p = params;
2954 iarg[0] = p->fd1; /* int */
2955 uarg[1] = (intptr_t) p->path1; /* char * */
2956 iarg[2] = p->fd2; /* int */
2957 uarg[3] = (intptr_t) p->path2; /* char * */
2958 iarg[4] = p->flag; /* int */
2959 *n_args = 5;
2960 break;
2961 }
2962 /* mkdirat */
2963 case 496: {
2964 struct mkdirat_args *p = params;
2965 iarg[0] = p->fd; /* int */
2966 uarg[1] = (intptr_t) p->path; /* char * */
2967 iarg[2] = p->mode; /* mode_t */
2968 *n_args = 3;
2969 break;
2970 }
2971 /* mkfifoat */
2972 case 497: {
2973 struct mkfifoat_args *p = params;
2974 iarg[0] = p->fd; /* int */
2975 uarg[1] = (intptr_t) p->path; /* char * */
2976 iarg[2] = p->mode; /* mode_t */
2977 *n_args = 3;
2978 break;
2979 }
2980 /* mknodat */
2981 case 498: {
2982 struct mknodat_args *p = params;
2983 iarg[0] = p->fd; /* int */
2984 uarg[1] = (intptr_t) p->path; /* char * */
2985 iarg[2] = p->mode; /* mode_t */
2986 iarg[3] = p->dev; /* dev_t */
2987 *n_args = 4;
2988 break;
2989 }
2990 /* openat */
2991 case 499: {
2992 struct openat_args *p = params;
2993 iarg[0] = p->fd; /* int */
2994 uarg[1] = (intptr_t) p->path; /* char * */
2995 iarg[2] = p->flag; /* int */
2996 iarg[3] = p->mode; /* mode_t */
2997 *n_args = 4;
2998 break;
2999 }
3000 /* readlinkat */
3001 case 500: {
3002 struct readlinkat_args *p = params;
3003 iarg[0] = p->fd; /* int */
3004 uarg[1] = (intptr_t) p->path; /* char * */
3005 uarg[2] = (intptr_t) p->buf; /* char * */
3006 uarg[3] = p->bufsize; /* size_t */
3007 *n_args = 4;
3008 break;
3009 }
3010 /* renameat */
3011 case 501: {
3012 struct renameat_args *p = params;
3013 iarg[0] = p->oldfd; /* int */
3014 uarg[1] = (intptr_t) p->old; /* char * */
3015 iarg[2] = p->newfd; /* int */
3016 uarg[3] = (intptr_t) p->new; /* char * */
3017 *n_args = 4;
3018 break;
3019 }
3020 /* symlinkat */
3021 case 502: {
3022 struct symlinkat_args *p = params;
3023 uarg[0] = (intptr_t) p->path1; /* char * */
3024 iarg[1] = p->fd; /* int */
3025 uarg[2] = (intptr_t) p->path2; /* char * */
3026 *n_args = 3;
3027 break;
3028 }
3029 /* unlinkat */
3030 case 503: {
3031 struct unlinkat_args *p = params;
3032 iarg[0] = p->fd; /* int */
3033 uarg[1] = (intptr_t) p->path; /* char * */
3034 iarg[2] = p->flag; /* int */
3035 *n_args = 3;
3036 break;
3037 }
3038 /* posix_openpt */
3039 case 504: {
3040 struct posix_openpt_args *p = params;
3041 iarg[0] = p->flags; /* int */
3042 *n_args = 1;
3043 break;
3044 }
3045 /* gssd_syscall */
3046 case 505: {
3047 struct gssd_syscall_args *p = params;
3048 uarg[0] = (intptr_t) p->path; /* char * */
3049 *n_args = 1;
3050 break;
3051 }
3052 /* jail_get */
3053 case 506: {
3054 struct jail_get_args *p = params;
3055 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3056 uarg[1] = p->iovcnt; /* unsigned int */
3057 iarg[2] = p->flags; /* int */
3058 *n_args = 3;
3059 break;
3060 }
3061 /* jail_set */
3062 case 507: {
3063 struct jail_set_args *p = params;
3064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3065 uarg[1] = p->iovcnt; /* unsigned int */
3066 iarg[2] = p->flags; /* int */
3067 *n_args = 3;
3068 break;
3069 }
3070 /* jail_remove */
3071 case 508: {
3072 struct jail_remove_args *p = params;
3073 iarg[0] = p->jid; /* int */
3074 *n_args = 1;
3075 break;
3076 }
3077 /* closefrom */
3078 case 509: {
3079 struct closefrom_args *p = params;
3080 iarg[0] = p->lowfd; /* int */
3081 *n_args = 1;
3082 break;
3083 }
3084 /* __semctl */
3085 case 510: {
3086 struct __semctl_args *p = params;
3087 iarg[0] = p->semid; /* int */
3088 iarg[1] = p->semnum; /* int */
3089 iarg[2] = p->cmd; /* int */
3090 uarg[3] = (intptr_t) p->arg; /* union semun * */
3091 *n_args = 4;
3092 break;
3093 }
3094 /* msgctl */
3095 case 511: {
3096 struct msgctl_args *p = params;
3097 iarg[0] = p->msqid; /* int */
3098 iarg[1] = p->cmd; /* int */
3099 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3100 *n_args = 3;
3101 break;
3102 }
3103 /* shmctl */
3104 case 512: {
3105 struct shmctl_args *p = params;
3106 iarg[0] = p->shmid; /* int */
3107 iarg[1] = p->cmd; /* int */
3108 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3109 *n_args = 3;
3110 break;
3111 }
3112 /* lpathconf */
3113 case 513: {
3114 struct lpathconf_args *p = params;
3115 uarg[0] = (intptr_t) p->path; /* char * */
3116 iarg[1] = p->name; /* int */
3117 *n_args = 2;
3118 break;
3119 }
3120 /* cap_new */
3121 case 514: {
3122 struct cap_new_args *p = params;
3123 iarg[0] = p->fd; /* int */
3124 uarg[1] = p->rights; /* uint64_t */
3125 *n_args = 2;
3126 break;
3127 }
3128 /* cap_getrights */
3129 case 515: {
3130 struct cap_getrights_args *p = params;
3131 iarg[0] = p->fd; /* int */
3132 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
3133 *n_args = 2;
3134 break;
3135 }
3136 /* cap_enter */
3137 case 516: {
3138 *n_args = 0;
3139 break;
3140 }
3141 /* cap_getmode */
3142 case 517: {
3143 struct cap_getmode_args *p = params;
3144 uarg[0] = (intptr_t) p->modep; /* u_int * */
3145 *n_args = 1;
3146 break;
3147 }
3148 /* pdfork */
3149 case 518: {
3150 struct pdfork_args *p = params;
3151 uarg[0] = (intptr_t) p->fdp; /* int * */
3152 iarg[1] = p->flags; /* int */
3153 *n_args = 2;
3154 break;
3155 }
3156 /* pdkill */
3157 case 519: {
3158 struct pdkill_args *p = params;
3159 iarg[0] = p->fd; /* int */
3160 iarg[1] = p->signum; /* int */
3161 *n_args = 2;
3162 break;
3163 }
3164 /* pdgetpid */
3165 case 520: {
3166 struct pdgetpid_args *p = params;
3167 iarg[0] = p->fd; /* int */
3168 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3169 *n_args = 2;
3170 break;
3171 }
3172 /* pselect */
3173 case 522: {
3174 struct pselect_args *p = params;
3175 iarg[0] = p->nd; /* int */
3176 uarg[1] = (intptr_t) p->in; /* fd_set * */
3177 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3178 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3179 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3180 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3181 *n_args = 6;
3182 break;
3183 }
3184 /* getloginclass */
3185 case 523: {
3186 struct getloginclass_args *p = params;
3187 uarg[0] = (intptr_t) p->namebuf; /* char * */
3188 uarg[1] = p->namelen; /* size_t */
3189 *n_args = 2;
3190 break;
3191 }
3192 /* setloginclass */
3193 case 524: {
3194 struct setloginclass_args *p = params;
3195 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3196 *n_args = 1;
3197 break;
3198 }
3199 /* rctl_get_racct */
3200 case 525: {
3201 struct rctl_get_racct_args *p = params;
3202 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3203 uarg[1] = p->inbuflen; /* size_t */
3204 uarg[2] = (intptr_t) p->outbufp; /* void * */
3205 uarg[3] = p->outbuflen; /* size_t */
3206 *n_args = 4;
3207 break;
3208 }
3209 /* rctl_get_rules */
3210 case 526: {
3211 struct rctl_get_rules_args *p = params;
3212 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3213 uarg[1] = p->inbuflen; /* size_t */
3214 uarg[2] = (intptr_t) p->outbufp; /* void * */
3215 uarg[3] = p->outbuflen; /* size_t */
3216 *n_args = 4;
3217 break;
3218 }
3219 /* rctl_get_limits */
3220 case 527: {
3221 struct rctl_get_limits_args *p = params;
3222 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3223 uarg[1] = p->inbuflen; /* size_t */
3224 uarg[2] = (intptr_t) p->outbufp; /* void * */
3225 uarg[3] = p->outbuflen; /* size_t */
3226 *n_args = 4;
3227 break;
3228 }
3229 /* rctl_add_rule */
3230 case 528: {
3231 struct rctl_add_rule_args *p = params;
3232 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3233 uarg[1] = p->inbuflen; /* size_t */
3234 uarg[2] = (intptr_t) p->outbufp; /* void * */
3235 uarg[3] = p->outbuflen; /* size_t */
3236 *n_args = 4;
3237 break;
3238 }
3239 /* rctl_remove_rule */
3240 case 529: {
3241 struct rctl_remove_rule_args *p = params;
3242 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3243 uarg[1] = p->inbuflen; /* size_t */
3244 uarg[2] = (intptr_t) p->outbufp; /* void * */
3245 uarg[3] = p->outbuflen; /* size_t */
3246 *n_args = 4;
3247 break;
3248 }
3249 /* posix_fallocate */
3250 case 530: {
3251 struct posix_fallocate_args *p = params;
3252 iarg[0] = p->fd; /* int */
3253 iarg[1] = p->offset; /* off_t */
3254 iarg[2] = p->len; /* off_t */
3255 *n_args = 3;
3256 break;
3257 }
3258 /* posix_fadvise */
3259 case 531: {
3260 struct posix_fadvise_args *p = params;
3261 iarg[0] = p->fd; /* int */
3262 iarg[1] = p->offset; /* off_t */
3263 iarg[2] = p->len; /* off_t */
3264 iarg[3] = p->advice; /* int */
3265 *n_args = 4;
3266 break;
3267 }
3268 default:
3269 *n_args = 0;
3270 break;
3271 };
3272}
3273static void
3274systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3275{
3276 const char *p = NULL;
3277 switch (sysnum) {
3278 /* nosys */
3279 case 0:
3280 break;
3281 /* sys_exit */
3282 case 1:
3283 switch(ndx) {
3284 case 0:
3285 p = "int";
3286 break;
3287 default:
3288 break;
3289 };
3290 break;
3291 /* fork */
3292 case 2:
3293 break;
3294 /* read */
3295 case 3:
3296 switch(ndx) {
3297 case 0:
3298 p = "int";
3299 break;
3300 case 1:
3301 p = "void *";
3302 break;
3303 case 2:
3304 p = "size_t";
3305 break;
3306 default:
3307 break;
3308 };
3309 break;
3310 /* write */
3311 case 4:
3312 switch(ndx) {
3313 case 0:
3314 p = "int";
3315 break;
3316 case 1:
3317 p = "const void *";
3318 break;
3319 case 2:
3320 p = "size_t";
3321 break;
3322 default:
3323 break;
3324 };
3325 break;
3326 /* open */
3327 case 5:
3328 switch(ndx) {
3329 case 0:
3330 p = "char *";
3331 break;
3332 case 1:
3333 p = "int";
3334 break;
3335 case 2:
3336 p = "int";
3337 break;
3338 default:
3339 break;
3340 };
3341 break;
3342 /* close */
3343 case 6:
3344 switch(ndx) {
3345 case 0:
3346 p = "int";
3347 break;
3348 default:
3349 break;
3350 };
3351 break;
3352 /* wait4 */
3353 case 7:
3354 switch(ndx) {
3355 case 0:
3356 p = "int";
3357 break;
3358 case 1:
3359 p = "int *";
3360 break;
3361 case 2:
3362 p = "int";
3363 break;
3364 case 3:
3365 p = "struct rusage *";
3366 break;
3367 default:
3368 break;
3369 };
3370 break;
3371 /* link */
3372 case 9:
3373 switch(ndx) {
3374 case 0:
3375 p = "char *";
3376 break;
3377 case 1:
3378 p = "char *";
3379 break;
3380 default:
3381 break;
3382 };
3383 break;
3384 /* unlink */
3385 case 10:
3386 switch(ndx) {
3387 case 0:
3388 p = "char *";
3389 break;
3390 default:
3391 break;
3392 };
3393 break;
3394 /* chdir */
3395 case 12:
3396 switch(ndx) {
3397 case 0:
3398 p = "char *";
3399 break;
3400 default:
3401 break;
3402 };
3403 break;
3404 /* fchdir */
3405 case 13:
3406 switch(ndx) {
3407 case 0:
3408 p = "int";
3409 break;
3410 default:
3411 break;
3412 };
3413 break;
3414 /* mknod */
3415 case 14:
3416 switch(ndx) {
3417 case 0:
3418 p = "char *";
3419 break;
3420 case 1:
3421 p = "int";
3422 break;
3423 case 2:
3424 p = "int";
3425 break;
3426 default:
3427 break;
3428 };
3429 break;
3430 /* chmod */
3431 case 15:
3432 switch(ndx) {
3433 case 0:
3434 p = "char *";
3435 break;
3436 case 1:
3437 p = "int";
3438 break;
3439 default:
3440 break;
3441 };
3442 break;
3443 /* chown */
3444 case 16:
3445 switch(ndx) {
3446 case 0:
3447 p = "char *";
3448 break;
3449 case 1:
3450 p = "int";
3451 break;
3452 case 2:
3453 p = "int";
3454 break;
3455 default:
3456 break;
3457 };
3458 break;
3459 /* obreak */
3460 case 17:
3461 switch(ndx) {
3462 case 0:
3463 p = "char *";
3464 break;
3465 default:
3466 break;
3467 };
3468 break;
3469 /* getpid */
3470 case 20:
3471 break;
3472 /* mount */
3473 case 21:
3474 switch(ndx) {
3475 case 0:
3476 p = "char *";
3477 break;
3478 case 1:
3479 p = "char *";
3480 break;
3481 case 2:
3482 p = "int";
3483 break;
3484 case 3:
3485 p = "caddr_t";
3486 break;
3487 default:
3488 break;
3489 };
3490 break;
3491 /* unmount */
3492 case 22:
3493 switch(ndx) {
3494 case 0:
3495 p = "char *";
3496 break;
3497 case 1:
3498 p = "int";
3499 break;
3500 default:
3501 break;
3502 };
3503 break;
3504 /* setuid */
3505 case 23:
3506 switch(ndx) {
3507 case 0:
3508 p = "uid_t";
3509 break;
3510 default:
3511 break;
3512 };
3513 break;
3514 /* getuid */
3515 case 24:
3516 break;
3517 /* geteuid */
3518 case 25:
3519 break;
3520 /* ptrace */
3521 case 26:
3522 switch(ndx) {
3523 case 0:
3524 p = "int";
3525 break;
3526 case 1:
3527 p = "pid_t";
3528 break;
3529 case 2:
3530 p = "caddr_t";
3531 break;
3532 case 3:
3533 p = "int";
3534 break;
3535 default:
3536 break;
3537 };
3538 break;
3539 /* recvmsg */
3540 case 27:
3541 switch(ndx) {
3542 case 0:
3543 p = "int";
3544 break;
3545 case 1:
3546 p = "struct msghdr *";
3547 break;
3548 case 2:
3549 p = "int";
3550 break;
3551 default:
3552 break;
3553 };
3554 break;
3555 /* sendmsg */
3556 case 28:
3557 switch(ndx) {
3558 case 0:
3559 p = "int";
3560 break;
3561 case 1:
3562 p = "struct msghdr *";
3563 break;
3564 case 2:
3565 p = "int";
3566 break;
3567 default:
3568 break;
3569 };
3570 break;
3571 /* recvfrom */
3572 case 29:
3573 switch(ndx) {
3574 case 0:
3575 p = "int";
3576 break;
3577 case 1:
3578 p = "caddr_t";
3579 break;
3580 case 2:
3581 p = "size_t";
3582 break;
3583 case 3:
3584 p = "int";
3585 break;
3586 case 4:
3587 p = "struct sockaddr *__restrict";
3588 break;
3589 case 5:
3590 p = "__socklen_t *__restrict";
3591 break;
3592 default:
3593 break;
3594 };
3595 break;
3596 /* accept */
3597 case 30:
3598 switch(ndx) {
3599 case 0:
3600 p = "int";
3601 break;
3602 case 1:
3603 p = "struct sockaddr *__restrict";
3604 break;
3605 case 2:
3606 p = "__socklen_t *__restrict";
3607 break;
3608 default:
3609 break;
3610 };
3611 break;
3612 /* getpeername */
3613 case 31:
3614 switch(ndx) {
3615 case 0:
3616 p = "int";
3617 break;
3618 case 1:
3619 p = "struct sockaddr *__restrict";
3620 break;
3621 case 2:
3622 p = "__socklen_t *__restrict";
3623 break;
3624 default:
3625 break;
3626 };
3627 break;
3628 /* getsockname */
3629 case 32:
3630 switch(ndx) {
3631 case 0:
3632 p = "int";
3633 break;
3634 case 1:
3635 p = "struct sockaddr *__restrict";
3636 break;
3637 case 2:
3638 p = "__socklen_t *__restrict";
3639 break;
3640 default:
3641 break;
3642 };
3643 break;
3644 /* access */
3645 case 33:
3646 switch(ndx) {
3647 case 0:
3648 p = "char *";
3649 break;
3650 case 1:
3651 p = "int";
3652 break;
3653 default:
3654 break;
3655 };
3656 break;
3657 /* chflags */
3658 case 34:
3659 switch(ndx) {
3660 case 0:
3661 p = "char *";
3662 break;
3663 case 1:
3664 p = "int";
3665 break;
3666 default:
3667 break;
3668 };
3669 break;
3670 /* fchflags */
3671 case 35:
3672 switch(ndx) {
3673 case 0:
3674 p = "int";
3675 break;
3676 case 1:
3677 p = "int";
3678 break;
3679 default:
3680 break;
3681 };
3682 break;
3683 /* sync */
3684 case 36:
3685 break;
3686 /* kill */
3687 case 37:
3688 switch(ndx) {
3689 case 0:
3690 p = "int";
3691 break;
3692 case 1:
3693 p = "int";
3694 break;
3695 default:
3696 break;
3697 };
3698 break;
3699 /* getppid */
3700 case 39:
3701 break;
3702 /* dup */
3703 case 41:
3704 switch(ndx) {
3705 case 0:
3706 p = "u_int";
3707 break;
3708 default:
3709 break;
3710 };
3711 break;
3712 /* pipe */
3713 case 42:
3714 break;
3715 /* getegid */
3716 case 43:
3717 break;
3718 /* profil */
3719 case 44:
3720 switch(ndx) {
3721 case 0:
3722 p = "caddr_t";
3723 break;
3724 case 1:
3725 p = "size_t";
3726 break;
3727 case 2:
3728 p = "size_t";
3729 break;
3730 case 3:
3731 p = "u_int";
3732 break;
3733 default:
3734 break;
3735 };
3736 break;
3737 /* ktrace */
3738 case 45:
3739 switch(ndx) {
3740 case 0:
3741 p = "const char *";
3742 break;
3743 case 1:
3744 p = "int";
3745 break;
3746 case 2:
3747 p = "int";
3748 break;
3749 case 3:
3750 p = "int";
3751 break;
3752 default:
3753 break;
3754 };
3755 break;
3756 /* getgid */
3757 case 47:
3758 break;
3759 /* getlogin */
3760 case 49:
3761 switch(ndx) {
3762 case 0:
3763 p = "char *";
3764 break;
3765 case 1:
3766 p = "u_int";
3767 break;
3768 default:
3769 break;
3770 };
3771 break;
3772 /* setlogin */
3773 case 50:
3774 switch(ndx) {
3775 case 0:
3776 p = "char *";
3777 break;
3778 default:
3779 break;
3780 };
3781 break;
3782 /* acct */
3783 case 51:
3784 switch(ndx) {
3785 case 0:
3786 p = "char *";
3787 break;
3788 default:
3789 break;
3790 };
3791 break;
3792 /* sigaltstack */
3793 case 53:
3794 switch(ndx) {
3795 case 0:
3796 p = "stack_t *";
3797 break;
3798 case 1:
3799 p = "stack_t *";
3800 break;
3801 default:
3802 break;
3803 };
3804 break;
3805 /* ioctl */
3806 case 54:
3807 switch(ndx) {
3808 case 0:
3809 p = "int";
3810 break;
3811 case 1:
3812 p = "u_long";
3813 break;
3814 case 2:
3815 p = "caddr_t";
3816 break;
3817 default:
3818 break;
3819 };
3820 break;
3821 /* reboot */
3822 case 55:
3823 switch(ndx) {
3824 case 0:
3825 p = "int";
3826 break;
3827 default:
3828 break;
3829 };
3830 break;
3831 /* revoke */
3832 case 56:
3833 switch(ndx) {
3834 case 0:
3835 p = "char *";
3836 break;
3837 default:
3838 break;
3839 };
3840 break;
3841 /* symlink */
3842 case 57:
3843 switch(ndx) {
3844 case 0:
3845 p = "char *";
3846 break;
3847 case 1:
3848 p = "char *";
3849 break;
3850 default:
3851 break;
3852 };
3853 break;
3854 /* readlink */
3855 case 58:
3856 switch(ndx) {
3857 case 0:
3858 p = "char *";
3859 break;
3860 case 1:
3861 p = "char *";
3862 break;
3863 case 2:
3864 p = "size_t";
3865 break;
3866 default:
3867 break;
3868 };
3869 break;
3870 /* execve */
3871 case 59:
3872 switch(ndx) {
3873 case 0:
3874 p = "char *";
3875 break;
3876 case 1:
3877 p = "char **";
3878 break;
3879 case 2:
3880 p = "char **";
3881 break;
3882 default:
3883 break;
3884 };
3885 break;
3886 /* umask */
3887 case 60:
3888 switch(ndx) {
3889 case 0:
3890 p = "int";
3891 break;
3892 default:
3893 break;
3894 };
3895 break;
3896 /* chroot */
3897 case 61:
3898 switch(ndx) {
3899 case 0:
3900 p = "char *";
3901 break;
3902 default:
3903 break;
3904 };
3905 break;
3906 /* msync */
3907 case 65:
3908 switch(ndx) {
3909 case 0:
3910 p = "void *";
3911 break;
3912 case 1:
3913 p = "size_t";
3914 break;
3915 case 2:
3916 p = "int";
3917 break;
3918 default:
3919 break;
3920 };
3921 break;
3922 /* vfork */
3923 case 66:
3924 break;
3925 /* sbrk */
3926 case 69:
3927 switch(ndx) {
3928 case 0:
3929 p = "int";
3930 break;
3931 default:
3932 break;
3933 };
3934 break;
3935 /* sstk */
3936 case 70:
3937 switch(ndx) {
3938 case 0:
3939 p = "int";
3940 break;
3941 default:
3942 break;
3943 };
3944 break;
3945 /* ovadvise */
3946 case 72:
3947 switch(ndx) {
3948 case 0:
3949 p = "int";
3950 break;
3951 default:
3952 break;
3953 };
3954 break;
3955 /* munmap */
3956 case 73:
3957 switch(ndx) {
3958 case 0:
3959 p = "void *";
3960 break;
3961 case 1:
3962 p = "size_t";
3963 break;
3964 default:
3965 break;
3966 };
3967 break;
3968 /* mprotect */
3969 case 74:
3970 switch(ndx) {
3971 case 0:
3972 p = "const void *";
3973 break;
3974 case 1:
3975 p = "size_t";
3976 break;
3977 case 2:
3978 p = "int";
3979 break;
3980 default:
3981 break;
3982 };
3983 break;
3984 /* madvise */
3985 case 75:
3986 switch(ndx) {
3987 case 0:
3988 p = "void *";
3989 break;
3990 case 1:
3991 p = "size_t";
3992 break;
3993 case 2:
3994 p = "int";
3995 break;
3996 default:
3997 break;
3998 };
3999 break;
4000 /* mincore */
4001 case 78:
4002 switch(ndx) {
4003 case 0:
4004 p = "const void *";
4005 break;
4006 case 1:
4007 p = "size_t";
4008 break;
4009 case 2:
4010 p = "char *";
4011 break;
4012 default:
4013 break;
4014 };
4015 break;
4016 /* getgroups */
4017 case 79:
4018 switch(ndx) {
4019 case 0:
4020 p = "u_int";
4021 break;
4022 case 1:
4023 p = "gid_t *";
4024 break;
4025 default:
4026 break;
4027 };
4028 break;
4029 /* setgroups */
4030 case 80:
4031 switch(ndx) {
4032 case 0:
4033 p = "u_int";
4034 break;
4035 case 1:
4036 p = "gid_t *";
4037 break;
4038 default:
4039 break;
4040 };
4041 break;
4042 /* getpgrp */
4043 case 81:
4044 break;
4045 /* setpgid */
4046 case 82:
4047 switch(ndx) {
4048 case 0:
4049 p = "int";
4050 break;
4051 case 1:
4052 p = "int";
4053 break;
4054 default:
4055 break;
4056 };
4057 break;
4058 /* setitimer */
4059 case 83:
4060 switch(ndx) {
4061 case 0:
4062 p = "u_int";
4063 break;
4064 case 1:
4065 p = "struct itimerval *";
4066 break;
4067 case 2:
4068 p = "struct itimerval *";
4069 break;
4070 default:
4071 break;
4072 };
4073 break;
4074 /* swapon */
4075 case 85:
4076 switch(ndx) {
4077 case 0:
4078 p = "char *";
4079 break;
4080 default:
4081 break;
4082 };
4083 break;
4084 /* getitimer */
4085 case 86:
4086 switch(ndx) {
4087 case 0:
4088 p = "u_int";
4089 break;
4090 case 1:
4091 p = "struct itimerval *";
4092 break;
4093 default:
4094 break;
4095 };
4096 break;
4097 /* getdtablesize */
4098 case 89:
4099 break;
4100 /* dup2 */
4101 case 90:
4102 switch(ndx) {
4103 case 0:
4104 p = "u_int";
4105 break;
4106 case 1:
4107 p = "u_int";
4108 break;
4109 default:
4110 break;
4111 };
4112 break;
4113 /* fcntl */
4114 case 92:
4115 switch(ndx) {
4116 case 0:
4117 p = "int";
4118 break;
4119 case 1:
4120 p = "int";
4121 break;
4122 case 2:
4123 p = "long";
4124 break;
4125 default:
4126 break;
4127 };
4128 break;
4129 /* select */
4130 case 93:
4131 switch(ndx) {
4132 case 0:
4133 p = "int";
4134 break;
4135 case 1:
4136 p = "fd_set *";
4137 break;
4138 case 2:
4139 p = "fd_set *";
4140 break;
4141 case 3:
4142 p = "fd_set *";
4143 break;
4144 case 4:
4145 p = "struct timeval *";
4146 break;
4147 default:
4148 break;
4149 };
4150 break;
4151 /* fsync */
4152 case 95:
4153 switch(ndx) {
4154 case 0:
4155 p = "int";
4156 break;
4157 default:
4158 break;
4159 };
4160 break;
4161 /* setpriority */
4162 case 96:
4163 switch(ndx) {
4164 case 0:
4165 p = "int";
4166 break;
4167 case 1:
4168 p = "int";
4169 break;
4170 case 2:
4171 p = "int";
4172 break;
4173 default:
4174 break;
4175 };
4176 break;
4177 /* socket */
4178 case 97:
4179 switch(ndx) {
4180 case 0:
4181 p = "int";
4182 break;
4183 case 1:
4184 p = "int";
4185 break;
4186 case 2:
4187 p = "int";
4188 break;
4189 default:
4190 break;
4191 };
4192 break;
4193 /* connect */
4194 case 98:
4195 switch(ndx) {
4196 case 0:
4197 p = "int";
4198 break;
4199 case 1:
4200 p = "caddr_t";
4201 break;
4202 case 2:
4203 p = "int";
4204 break;
4205 default:
4206 break;
4207 };
4208 break;
4209 /* getpriority */
4210 case 100:
4211 switch(ndx) {
4212 case 0:
4213 p = "int";
4214 break;
4215 case 1:
4216 p = "int";
4217 break;
4218 default:
4219 break;
4220 };
4221 break;
4222 /* bind */
4223 case 104:
4224 switch(ndx) {
4225 case 0:
4226 p = "int";
4227 break;
4228 case 1:
4229 p = "caddr_t";
4230 break;
4231 case 2:
4232 p = "int";
4233 break;
4234 default:
4235 break;
4236 };
4237 break;
4238 /* setsockopt */
4239 case 105:
4240 switch(ndx) {
4241 case 0:
4242 p = "int";
4243 break;
4244 case 1:
4245 p = "int";
4246 break;
4247 case 2:
4248 p = "int";
4249 break;
4250 case 3:
4251 p = "caddr_t";
4252 break;
4253 case 4:
4254 p = "int";
4255 break;
4256 default:
4257 break;
4258 };
4259 break;
4260 /* listen */
4261 case 106:
4262 switch(ndx) {
4263 case 0:
4264 p = "int";
4265 break;
4266 case 1:
4267 p = "int";
4268 break;
4269 default:
4270 break;
4271 };
4272 break;
4273 /* gettimeofday */
4274 case 116:
4275 switch(ndx) {
4276 case 0:
4277 p = "struct timeval *";
4278 break;
4279 case 1:
4280 p = "struct timezone *";
4281 break;
4282 default:
4283 break;
4284 };
4285 break;
4286 /* getrusage */
4287 case 117:
4288 switch(ndx) {
4289 case 0:
4290 p = "int";
4291 break;
4292 case 1:
4293 p = "struct rusage *";
4294 break;
4295 default:
4296 break;
4297 };
4298 break;
4299 /* getsockopt */
4300 case 118:
4301 switch(ndx) {
4302 case 0:
4303 p = "int";
4304 break;
4305 case 1:
4306 p = "int";
4307 break;
4308 case 2:
4309 p = "int";
4310 break;
4311 case 3:
4312 p = "caddr_t";
4313 break;
4314 case 4:
4315 p = "int *";
4316 break;
4317 default:
4318 break;
4319 };
4320 break;
4321 /* readv */
4322 case 120:
4323 switch(ndx) {
4324 case 0:
4325 p = "int";
4326 break;
4327 case 1:
4328 p = "struct iovec *";
4329 break;
4330 case 2:
4331 p = "u_int";
4332 break;
4333 default:
4334 break;
4335 };
4336 break;
4337 /* writev */
4338 case 121:
4339 switch(ndx) {
4340 case 0:
4341 p = "int";
4342 break;
4343 case 1:
4344 p = "struct iovec *";
4345 break;
4346 case 2:
4347 p = "u_int";
4348 break;
4349 default:
4350 break;
4351 };
4352 break;
4353 /* settimeofday */
4354 case 122:
4355 switch(ndx) {
4356 case 0:
4357 p = "struct timeval *";
4358 break;
4359 case 1:
4360 p = "struct timezone *";
4361 break;
4362 default:
4363 break;
4364 };
4365 break;
4366 /* fchown */
4367 case 123:
4368 switch(ndx) {
4369 case 0:
4370 p = "int";
4371 break;
4372 case 1:
4373 p = "int";
4374 break;
4375 case 2:
4376 p = "int";
4377 break;
4378 default:
4379 break;
4380 };
4381 break;
4382 /* fchmod */
4383 case 124:
4384 switch(ndx) {
4385 case 0:
4386 p = "int";
4387 break;
4388 case 1:
4389 p = "int";
4390 break;
4391 default:
4392 break;
4393 };
4394 break;
4395 /* setreuid */
4396 case 126:
4397 switch(ndx) {
4398 case 0:
4399 p = "int";
4400 break;
4401 case 1:
4402 p = "int";
4403 break;
4404 default:
4405 break;
4406 };
4407 break;
4408 /* setregid */
4409 case 127:
4410 switch(ndx) {
4411 case 0:
4412 p = "int";
4413 break;
4414 case 1:
4415 p = "int";
4416 break;
4417 default:
4418 break;
4419 };
4420 break;
4421 /* rename */
4422 case 128:
4423 switch(ndx) {
4424 case 0:
4425 p = "char *";
4426 break;
4427 case 1:
4428 p = "char *";
4429 break;
4430 default:
4431 break;
4432 };
4433 break;
4434 /* flock */
4435 case 131:
4436 switch(ndx) {
4437 case 0:
4438 p = "int";
4439 break;
4440 case 1:
4441 p = "int";
4442 break;
4443 default:
4444 break;
4445 };
4446 break;
4447 /* mkfifo */
4448 case 132:
4449 switch(ndx) {
4450 case 0:
4451 p = "char *";
4452 break;
4453 case 1:
4454 p = "int";
4455 break;
4456 default:
4457 break;
4458 };
4459 break;
4460 /* sendto */
4461 case 133:
4462 switch(ndx) {
4463 case 0:
4464 p = "int";
4465 break;
4466 case 1:
4467 p = "caddr_t";
4468 break;
4469 case 2:
4470 p = "size_t";
4471 break;
4472 case 3:
4473 p = "int";
4474 break;
4475 case 4:
4476 p = "caddr_t";
4477 break;
4478 case 5:
4479 p = "int";
4480 break;
4481 default:
4482 break;
4483 };
4484 break;
4485 /* shutdown */
4486 case 134:
4487 switch(ndx) {
4488 case 0:
4489 p = "int";
4490 break;
4491 case 1:
4492 p = "int";
4493 break;
4494 default:
4495 break;
4496 };
4497 break;
4498 /* socketpair */
4499 case 135:
4500 switch(ndx) {
4501 case 0:
4502 p = "int";
4503 break;
4504 case 1:
4505 p = "int";
4506 break;
4507 case 2:
4508 p = "int";
4509 break;
4510 case 3:
4511 p = "int *";
4512 break;
4513 default:
4514 break;
4515 };
4516 break;
4517 /* mkdir */
4518 case 136:
4519 switch(ndx) {
4520 case 0:
4521 p = "char *";
4522 break;
4523 case 1:
4524 p = "int";
4525 break;
4526 default:
4527 break;
4528 };
4529 break;
4530 /* rmdir */
4531 case 137:
4532 switch(ndx) {
4533 case 0:
4534 p = "char *";
4535 break;
4536 default:
4537 break;
4538 };
4539 break;
4540 /* utimes */
4541 case 138:
4542 switch(ndx) {
4543 case 0:
4544 p = "char *";
4545 break;
4546 case 1:
4547 p = "struct timeval *";
4548 break;
4549 default:
4550 break;
4551 };
4552 break;
4553 /* adjtime */
4554 case 140:
4555 switch(ndx) {
4556 case 0:
4557 p = "struct timeval *";
4558 break;
4559 case 1:
4560 p = "struct timeval *";
4561 break;
4562 default:
4563 break;
4564 };
4565 break;
4566 /* setsid */
4567 case 147:
4568 break;
4569 /* quotactl */
4570 case 148:
4571 switch(ndx) {
4572 case 0:
4573 p = "char *";
4574 break;
4575 case 1:
4576 p = "int";
4577 break;
4578 case 2:
4579 p = "int";
4580 break;
4581 case 3:
4582 p = "caddr_t";
4583 break;
4584 default:
4585 break;
4586 };
4587 break;
4588 /* nlm_syscall */
4589 case 154:
4590 switch(ndx) {
4591 case 0:
4592 p = "int";
4593 break;
4594 case 1:
4595 p = "int";
4596 break;
4597 case 2:
4598 p = "int";
4599 break;
4600 case 3:
4601 p = "char **";
4602 break;
4603 default:
4604 break;
4605 };
4606 break;
4607 /* nfssvc */
4608 case 155:
4609 switch(ndx) {
4610 case 0:
4611 p = "int";
4612 break;
4613 case 1:
4614 p = "caddr_t";
4615 break;
4616 default:
4617 break;
4618 };
4619 break;
4620 /* lgetfh */
4621 case 160:
4622 switch(ndx) {
4623 case 0:
4624 p = "char *";
4625 break;
4626 case 1:
4627 p = "struct fhandle *";
4628 break;
4629 default:
4630 break;
4631 };
4632 break;
4633 /* getfh */
4634 case 161:
4635 switch(ndx) {
4636 case 0:
4637 p = "char *";
4638 break;
4639 case 1:
4640 p = "struct fhandle *";
4641 break;
4642 default:
4643 break;
4644 };
4645 break;
4646 /* sysarch */
4647 case 165:
4648 switch(ndx) {
4649 case 0:
4650 p = "int";
4651 break;
4652 case 1:
4653 p = "char *";
4654 break;
4655 default:
4656 break;
4657 };
4658 break;
4659 /* rtprio */
4660 case 166:
4661 switch(ndx) {
4662 case 0:
4663 p = "int";
4664 break;
4665 case 1:
4666 p = "pid_t";
4667 break;
4668 case 2:
4669 p = "struct rtprio *";
4670 break;
4671 default:
4672 break;
4673 };
4674 break;
4675 /* semsys */
4676 case 169:
4677 switch(ndx) {
4678 case 0:
4679 p = "int";
4680 break;
4681 case 1:
4682 p = "int";
4683 break;
4684 case 2:
4685 p = "int";
4686 break;
4687 case 3:
4688 p = "int";
4689 break;
4690 case 4:
4691 p = "int";
4692 break;
4693 default:
4694 break;
4695 };
4696 break;
4697 /* msgsys */
4698 case 170:
4699 switch(ndx) {
4700 case 0:
4701 p = "int";
4702 break;
4703 case 1:
4704 p = "int";
4705 break;
4706 case 2:
4707 p = "int";
4708 break;
4709 case 3:
4710 p = "int";
4711 break;
4712 case 4:
4713 p = "int";
4714 break;
4715 case 5:
4716 p = "int";
4717 break;
4718 default:
4719 break;
4720 };
4721 break;
4722 /* shmsys */
4723 case 171:
4724 switch(ndx) {
4725 case 0:
4726 p = "int";
4727 break;
4728 case 1:
4729 p = "int";
4730 break;
4731 case 2:
4732 p = "int";
4733 break;
4734 case 3:
4735 p = "int";
4736 break;
4737 default:
4738 break;
4739 };
4740 break;
4741 /* freebsd6_pread */
4742 case 173:
4743 switch(ndx) {
4744 case 0:
4745 p = "int";
4746 break;
4747 case 1:
4748 p = "void *";
4749 break;
4750 case 2:
4751 p = "size_t";
4752 break;
4753 case 3:
4754 p = "int";
4755 break;
4756 case 4:
4757 p = "off_t";
4758 break;
4759 default:
4760 break;
4761 };
4762 break;
4763 /* freebsd6_pwrite */
4764 case 174:
4765 switch(ndx) {
4766 case 0:
4767 p = "int";
4768 break;
4769 case 1:
4770 p = "const void *";
4771 break;
4772 case 2:
4773 p = "size_t";
4774 break;
4775 case 3:
4776 p = "int";
4777 break;
4778 case 4:
4779 p = "off_t";
4780 break;
4781 default:
4782 break;
4783 };
4784 break;
4785 /* setfib */
4786 case 175:
4787 switch(ndx) {
4788 case 0:
4789 p = "int";
4790 break;
4791 default:
4792 break;
4793 };
4794 break;
4795 /* ntp_adjtime */
4796 case 176:
4797 switch(ndx) {
4798 case 0:
4799 p = "struct timex *";
4800 break;
4801 default:
4802 break;
4803 };
4804 break;
4805 /* setgid */
4806 case 181:
4807 switch(ndx) {
4808 case 0:
4809 p = "gid_t";
4810 break;
4811 default:
4812 break;
4813 };
4814 break;
4815 /* setegid */
4816 case 182:
4817 switch(ndx) {
4818 case 0:
4819 p = "gid_t";
4820 break;
4821 default:
4822 break;
4823 };
4824 break;
4825 /* seteuid */
4826 case 183:
4827 switch(ndx) {
4828 case 0:
4829 p = "uid_t";
4830 break;
4831 default:
4832 break;
4833 };
4834 break;
4835 /* stat */
4836 case 188:
4837 switch(ndx) {
4838 case 0:
4839 p = "char *";
4840 break;
4841 case 1:
4842 p = "struct stat *";
4843 break;
4844 default:
4845 break;
4846 };
4847 break;
4848 /* fstat */
4849 case 189:
4850 switch(ndx) {
4851 case 0:
4852 p = "int";
4853 break;
4854 case 1:
4855 p = "struct stat *";
4856 break;
4857 default:
4858 break;
4859 };
4860 break;
4861 /* lstat */
4862 case 190:
4863 switch(ndx) {
4864 case 0:
4865 p = "char *";
4866 break;
4867 case 1:
4868 p = "struct stat *";
4869 break;
4870 default:
4871 break;
4872 };
4873 break;
4874 /* pathconf */
4875 case 191:
4876 switch(ndx) {
4877 case 0:
4878 p = "char *";
4879 break;
4880 case 1:
4881 p = "int";
4882 break;
4883 default:
4884 break;
4885 };
4886 break;
4887 /* fpathconf */
4888 case 192:
4889 switch(ndx) {
4890 case 0:
4891 p = "int";
4892 break;
4893 case 1:
4894 p = "int";
4895 break;
4896 default:
4897 break;
4898 };
4899 break;
4900 /* getrlimit */
4901 case 194:
4902 switch(ndx) {
4903 case 0:
4904 p = "u_int";
4905 break;
4906 case 1:
4907 p = "struct rlimit *";
4908 break;
4909 default:
4910 break;
4911 };
4912 break;
4913 /* setrlimit */
4914 case 195:
4915 switch(ndx) {
4916 case 0:
4917 p = "u_int";
4918 break;
4919 case 1:
4920 p = "struct rlimit *";
4921 break;
4922 default:
4923 break;
4924 };
4925 break;
4926 /* getdirentries */
4927 case 196:
4928 switch(ndx) {
4929 case 0:
4930 p = "int";
4931 break;
4932 case 1:
4933 p = "char *";
4934 break;
4935 case 2:
4936 p = "u_int";
4937 break;
4938 case 3:
4939 p = "long *";
4940 break;
4941 default:
4942 break;
4943 };
4944 break;
4945 /* freebsd6_mmap */
4946 case 197:
4947 switch(ndx) {
4948 case 0:
4949 p = "caddr_t";
4950 break;
4951 case 1:
4952 p = "size_t";
4953 break;
4954 case 2:
4955 p = "int";
4956 break;
4957 case 3:
4958 p = "int";
4959 break;
4960 case 4:
4961 p = "int";
4962 break;
4963 case 5:
4964 p = "int";
4965 break;
4966 case 6:
4967 p = "off_t";
4968 break;
4969 default:
4970 break;
4971 };
4972 break;
4973 /* nosys */
4974 case 198:
4975 break;
4976 /* freebsd6_lseek */
4977 case 199:
4978 switch(ndx) {
4979 case 0:
4980 p = "int";
4981 break;
4982 case 1:
4983 p = "int";
4984 break;
4985 case 2:
4986 p = "off_t";
4987 break;
4988 case 3:
4989 p = "int";
4990 break;
4991 default:
4992 break;
4993 };
4994 break;
4995 /* freebsd6_truncate */
4996 case 200:
4997 switch(ndx) {
4998 case 0:
4999 p = "char *";
5000 break;
5001 case 1:
5002 p = "int";
5003 break;
5004 case 2:
5005 p = "off_t";
5006 break;
5007 default:
5008 break;
5009 };
5010 break;
5011 /* freebsd6_ftruncate */
5012 case 201:
5013 switch(ndx) {
5014 case 0:
5015 p = "int";
5016 break;
5017 case 1:
5018 p = "int";
5019 break;
5020 case 2:
5021 p = "off_t";
5022 break;
5023 default:
5024 break;
5025 };
5026 break;
5027 /* __sysctl */
5028 case 202:
5029 switch(ndx) {
5030 case 0:
5031 p = "int *";
5032 break;
5033 case 1:
5034 p = "u_int";
5035 break;
5036 case 2:
5037 p = "void *";
5038 break;
5039 case 3:
5040 p = "size_t *";
5041 break;
5042 case 4:
5043 p = "void *";
5044 break;
5045 case 5:
5046 p = "size_t";
5047 break;
5048 default:
5049 break;
5050 };
5051 break;
5052 /* mlock */
5053 case 203:
5054 switch(ndx) {
5055 case 0:
5056 p = "const void *";
5057 break;
5058 case 1:
5059 p = "size_t";
5060 break;
5061 default:
5062 break;
5063 };
5064 break;
5065 /* munlock */
5066 case 204:
5067 switch(ndx) {
5068 case 0:
5069 p = "const void *";
5070 break;
5071 case 1:
5072 p = "size_t";
5073 break;
5074 default:
5075 break;
5076 };
5077 break;
5078 /* undelete */
5079 case 205:
5080 switch(ndx) {
5081 case 0:
5082 p = "char *";
5083 break;
5084 default:
5085 break;
5086 };
5087 break;
5088 /* futimes */
5089 case 206:
5090 switch(ndx) {
5091 case 0:
5092 p = "int";
5093 break;
5094 case 1:
5095 p = "struct timeval *";
5096 break;
5097 default:
5098 break;
5099 };
5100 break;
5101 /* getpgid */
5102 case 207:
5103 switch(ndx) {
5104 case 0:
5105 p = "pid_t";
5106 break;
5107 default:
5108 break;
5109 };
5110 break;
5111 /* poll */
5112 case 209:
5113 switch(ndx) {
5114 case 0:
5115 p = "struct pollfd *";
5116 break;
5117 case 1:
5118 p = "u_int";
5119 break;
5120 case 2:
5121 p = "int";
5122 break;
5123 default:
5124 break;
5125 };
5126 break;
5127 /* lkmnosys */
5128 case 210:
5129 break;
5130 /* lkmnosys */
5131 case 211:
5132 break;
5133 /* lkmnosys */
5134 case 212:
5135 break;
5136 /* lkmnosys */
5137 case 213:
5138 break;
5139 /* lkmnosys */
5140 case 214:
5141 break;
5142 /* lkmnosys */
5143 case 215:
5144 break;
5145 /* lkmnosys */
5146 case 216:
5147 break;
5148 /* lkmnosys */
5149 case 217:
5150 break;
5151 /* lkmnosys */
5152 case 218:
5153 break;
5154 /* lkmnosys */
5155 case 219:
5156 break;
5157 /* semget */
5158 case 221:
5159 switch(ndx) {
5160 case 0:
5161 p = "key_t";
5162 break;
5163 case 1:
5164 p = "int";
5165 break;
5166 case 2:
5167 p = "int";
5168 break;
5169 default:
5170 break;
5171 };
5172 break;
5173 /* semop */
5174 case 222:
5175 switch(ndx) {
5176 case 0:
5177 p = "int";
5178 break;
5179 case 1:
5180 p = "struct sembuf *";
5181 break;
5182 case 2:
5183 p = "size_t";
5184 break;
5185 default:
5186 break;
5187 };
5188 break;
5189 /* msgget */
5190 case 225:
5191 switch(ndx) {
5192 case 0:
5193 p = "key_t";
5194 break;
5195 case 1:
5196 p = "int";
5197 break;
5198 default:
5199 break;
5200 };
5201 break;
5202 /* msgsnd */
5203 case 226:
5204 switch(ndx) {
5205 case 0:
5206 p = "int";
5207 break;
5208 case 1:
5209 p = "const void *";
5210 break;
5211 case 2:
5212 p = "size_t";
5213 break;
5214 case 3:
5215 p = "int";
5216 break;
5217 default:
5218 break;
5219 };
5220 break;
5221 /* msgrcv */
5222 case 227:
5223 switch(ndx) {
5224 case 0:
5225 p = "int";
5226 break;
5227 case 1:
5228 p = "void *";
5229 break;
5230 case 2:
5231 p = "size_t";
5232 break;
5233 case 3:
5234 p = "long";
5235 break;
5236 case 4:
5237 p = "int";
5238 break;
5239 default:
5240 break;
5241 };
5242 break;
5243 /* shmat */
5244 case 228:
5245 switch(ndx) {
5246 case 0:
5247 p = "int";
5248 break;
5249 case 1:
5250 p = "const void *";
5251 break;
5252 case 2:
5253 p = "int";
5254 break;
5255 default:
5256 break;
5257 };
5258 break;
5259 /* shmdt */
5260 case 230:
5261 switch(ndx) {
5262 case 0:
5263 p = "const void *";
5264 break;
5265 default:
5266 break;
5267 };
5268 break;
5269 /* shmget */
5270 case 231:
5271 switch(ndx) {
5272 case 0:
5273 p = "key_t";
5274 break;
5275 case 1:
5276 p = "size_t";
5277 break;
5278 case 2:
5279 p = "int";
5280 break;
5281 default:
5282 break;
5283 };
5284 break;
5285 /* clock_gettime */
5286 case 232:
5287 switch(ndx) {
5288 case 0:
5289 p = "clockid_t";
5290 break;
5291 case 1:
5292 p = "struct timespec *";
5293 break;
5294 default:
5295 break;
5296 };
5297 break;
5298 /* clock_settime */
5299 case 233:
5300 switch(ndx) {
5301 case 0:
5302 p = "clockid_t";
5303 break;
5304 case 1:
5305 p = "const struct timespec *";
5306 break;
5307 default:
5308 break;
5309 };
5310 break;
5311 /* clock_getres */
5312 case 234:
5313 switch(ndx) {
5314 case 0:
5315 p = "clockid_t";
5316 break;
5317 case 1:
5318 p = "struct timespec *";
5319 break;
5320 default:
5321 break;
5322 };
5323 break;
5324 /* ktimer_create */
5325 case 235:
5326 switch(ndx) {
5327 case 0:
5328 p = "clockid_t";
5329 break;
5330 case 1:
5331 p = "struct sigevent *";
5332 break;
5333 case 2:
5334 p = "int *";
5335 break;
5336 default:
5337 break;
5338 };
5339 break;
5340 /* ktimer_delete */
5341 case 236:
5342 switch(ndx) {
5343 case 0:
5344 p = "int";
5345 break;
5346 default:
5347 break;
5348 };
5349 break;
5350 /* ktimer_settime */
5351 case 237:
5352 switch(ndx) {
5353 case 0:
5354 p = "int";
5355 break;
5356 case 1:
5357 p = "int";
5358 break;
5359 case 2:
5360 p = "const struct itimerspec *";
5361 break;
5362 case 3:
5363 p = "struct itimerspec *";
5364 break;
5365 default:
5366 break;
5367 };
5368 break;
5369 /* ktimer_gettime */
5370 case 238:
5371 switch(ndx) {
5372 case 0:
5373 p = "int";
5374 break;
5375 case 1:
5376 p = "struct itimerspec *";
5377 break;
5378 default:
5379 break;
5380 };
5381 break;
5382 /* ktimer_getoverrun */
5383 case 239:
5384 switch(ndx) {
5385 case 0:
5386 p = "int";
5387 break;
5388 default:
5389 break;
5390 };
5391 break;
5392 /* nanosleep */
5393 case 240:
5394 switch(ndx) {
5395 case 0:
5396 p = "const struct timespec *";
5397 break;
5398 case 1:
5399 p = "struct timespec *";
5400 break;
5401 default:
5402 break;
5403 };
5404 break;
5405 /* ffclock_getcounter */
5406 case 241:
5407 switch(ndx) {
5408 case 0:
5409 p = "ffcounter *";
5410 break;
5411 default:
5412 break;
5413 };
5414 break;
5415 /* ffclock_setestimate */
5416 case 242:
5417 switch(ndx) {
5418 case 0:
5419 p = "struct ffclock_estimate *";
5420 break;
5421 default:
5422 break;
5423 };
5424 break;
5425 /* ffclock_getestimate */
5426 case 243:
5427 switch(ndx) {
5428 case 0:
5429 p = "struct ffclock_estimate *";
5430 break;
5431 default:
5432 break;
5433 };
5434 break;
5435 /* ntp_gettime */
5436 case 248:
5437 switch(ndx) {
5438 case 0:
5439 p = "struct ntptimeval *";
5440 break;
5441 default:
5442 break;
5443 };
5444 break;
5445 /* minherit */
5446 case 250:
5447 switch(ndx) {
5448 case 0:
5449 p = "void *";
5450 break;
5451 case 1:
5452 p = "size_t";
5453 break;
5454 case 2:
5455 p = "int";
5456 break;
5457 default:
5458 break;
5459 };
5460 break;
5461 /* rfork */
5462 case 251:
5463 switch(ndx) {
5464 case 0:
5465 p = "int";
5466 break;
5467 default:
5468 break;
5469 };
5470 break;
5471 /* openbsd_poll */
5472 case 252:
5473 switch(ndx) {
5474 case 0:
5475 p = "struct pollfd *";
5476 break;
5477 case 1:
5478 p = "u_int";
5479 break;
5480 case 2:
5481 p = "int";
5482 break;
5483 default:
5484 break;
5485 };
5486 break;
5487 /* issetugid */
5488 case 253:
5489 break;
5490 /* lchown */
5491 case 254:
5492 switch(ndx) {
5493 case 0:
5494 p = "char *";
5495 break;
5496 case 1:
5497 p = "int";
5498 break;
5499 case 2:
5500 p = "int";
5501 break;
5502 default:
5503 break;
5504 };
5505 break;
5506 /* aio_read */
5507 case 255:
5508 switch(ndx) {
5509 case 0:
5510 p = "struct aiocb *";
5511 break;
5512 default:
5513 break;
5514 };
5515 break;
5516 /* aio_write */
5517 case 256:
5518 switch(ndx) {
5519 case 0:
5520 p = "struct aiocb *";
5521 break;
5522 default:
5523 break;
5524 };
5525 break;
5526 /* lio_listio */
5527 case 257:
5528 switch(ndx) {
5529 case 0:
5530 p = "int";
5531 break;
5532 case 1:
5533 p = "struct aiocb *const *";
5534 break;
5535 case 2:
5536 p = "int";
5537 break;
5538 case 3:
5539 p = "struct sigevent *";
5540 break;
5541 default:
5542 break;
5543 };
5544 break;
5545 /* getdents */
5546 case 272:
5547 switch(ndx) {
5548 case 0:
5549 p = "int";
5550 break;
5551 case 1:
5552 p = "char *";
5553 break;
5554 case 2:
5555 p = "size_t";
5556 break;
5557 default:
5558 break;
5559 };
5560 break;
5561 /* lchmod */
5562 case 274:
5563 switch(ndx) {
5564 case 0:
5565 p = "char *";
5566 break;
5567 case 1:
5568 p = "mode_t";
5569 break;
5570 default:
5571 break;
5572 };
5573 break;
5574 /* lchown */
5575 case 275:
5576 switch(ndx) {
5577 case 0:
5578 p = "char *";
5579 break;
5580 case 1:
5581 p = "uid_t";
5582 break;
5583 case 2:
5584 p = "gid_t";
5585 break;
5586 default:
5587 break;
5588 };
5589 break;
5590 /* lutimes */
5591 case 276:
5592 switch(ndx) {
5593 case 0:
5594 p = "char *";
5595 break;
5596 case 1:
5597 p = "struct timeval *";
5598 break;
5599 default:
5600 break;
5601 };
5602 break;
5603 /* msync */
5604 case 277:
5605 switch(ndx) {
5606 case 0:
5607 p = "void *";
5608 break;
5609 case 1:
5610 p = "size_t";
5611 break;
5612 case 2:
5613 p = "int";
5614 break;
5615 default:
5616 break;
5617 };
5618 break;
5619 /* nstat */
5620 case 278:
5621 switch(ndx) {
5622 case 0:
5623 p = "char *";
5624 break;
5625 case 1:
5626 p = "struct nstat *";
5627 break;
5628 default:
5629 break;
5630 };
5631 break;
5632 /* nfstat */
5633 case 279:
5634 switch(ndx) {
5635 case 0:
5636 p = "int";
5637 break;
5638 case 1:
5639 p = "struct nstat *";
5640 break;
5641 default:
5642 break;
5643 };
5644 break;
5645 /* nlstat */
5646 case 280:
5647 switch(ndx) {
5648 case 0:
5649 p = "char *";
5650 break;
5651 case 1:
5652 p = "struct nstat *";
5653 break;
5654 default:
5655 break;
5656 };
5657 break;
5658 /* preadv */
5659 case 289:
5660 switch(ndx) {
5661 case 0:
5662 p = "int";
5663 break;
5664 case 1:
5665 p = "struct iovec *";
5666 break;
5667 case 2:
5668 p = "u_int";
5669 break;
5670 case 3:
5671 p = "off_t";
5672 break;
5673 default:
5674 break;
5675 };
5676 break;
5677 /* pwritev */
5678 case 290:
5679 switch(ndx) {
5680 case 0:
5681 p = "int";
5682 break;
5683 case 1:
5684 p = "struct iovec *";
5685 break;
5686 case 2:
5687 p = "u_int";
5688 break;
5689 case 3:
5690 p = "off_t";
5691 break;
5692 default:
5693 break;
5694 };
5695 break;
5696 /* fhopen */
5697 case 298:
5698 switch(ndx) {
5699 case 0:
5700 p = "const struct fhandle *";
5701 break;
5702 case 1:
5703 p = "int";
5704 break;
5705 default:
5706 break;
5707 };
5708 break;
5709 /* fhstat */
5710 case 299:
5711 switch(ndx) {
5712 case 0:
5713 p = "const struct fhandle *";
5714 break;
5715 case 1:
5716 p = "struct stat *";
5717 break;
5718 default:
5719 break;
5720 };
5721 break;
5722 /* modnext */
5723 case 300:
5724 switch(ndx) {
5725 case 0:
5726 p = "int";
5727 break;
5728 default:
5729 break;
5730 };
5731 break;
5732 /* modstat */
5733 case 301:
5734 switch(ndx) {
5735 case 0:
5736 p = "int";
5737 break;
5738 case 1:
5739 p = "struct module_stat *";
5740 break;
5741 default:
5742 break;
5743 };
5744 break;
5745 /* modfnext */
5746 case 302:
5747 switch(ndx) {
5748 case 0:
5749 p = "int";
5750 break;
5751 default:
5752 break;
5753 };
5754 break;
5755 /* modfind */
5756 case 303:
5757 switch(ndx) {
5758 case 0:
5759 p = "const char *";
5760 break;
5761 default:
5762 break;
5763 };
5764 break;
5765 /* kldload */
5766 case 304:
5767 switch(ndx) {
5768 case 0:
5769 p = "const char *";
5770 break;
5771 default:
5772 break;
5773 };
5774 break;
5775 /* kldunload */
5776 case 305:
5777 switch(ndx) {
5778 case 0:
5779 p = "int";
5780 break;
5781 default:
5782 break;
5783 };
5784 break;
5785 /* kldfind */
5786 case 306:
5787 switch(ndx) {
5788 case 0:
5789 p = "const char *";
5790 break;
5791 default:
5792 break;
5793 };
5794 break;
5795 /* kldnext */
5796 case 307:
5797 switch(ndx) {
5798 case 0:
5799 p = "int";
5800 break;
5801 default:
5802 break;
5803 };
5804 break;
5805 /* kldstat */
5806 case 308:
5807 switch(ndx) {
5808 case 0:
5809 p = "int";
5810 break;
5811 case 1:
5812 p = "struct kld_file_stat *";
5813 break;
5814 default:
5815 break;
5816 };
5817 break;
5818 /* kldfirstmod */
5819 case 309:
5820 switch(ndx) {
5821 case 0:
5822 p = "int";
5823 break;
5824 default:
5825 break;
5826 };
5827 break;
5828 /* getsid */
5829 case 310:
5830 switch(ndx) {
5831 case 0:
5832 p = "pid_t";
5833 break;
5834 default:
5835 break;
5836 };
5837 break;
5838 /* setresuid */
5839 case 311:
5840 switch(ndx) {
5841 case 0:
5842 p = "uid_t";
5843 break;
5844 case 1:
5845 p = "uid_t";
5846 break;
5847 case 2:
5848 p = "uid_t";
5849 break;
5850 default:
5851 break;
5852 };
5853 break;
5854 /* setresgid */
5855 case 312:
5856 switch(ndx) {
5857 case 0:
5858 p = "gid_t";
5859 break;
5860 case 1:
5861 p = "gid_t";
5862 break;
5863 case 2:
5864 p = "gid_t";
5865 break;
5866 default:
5867 break;
5868 };
5869 break;
5870 /* aio_return */
5871 case 314:
5872 switch(ndx) {
5873 case 0:
5874 p = "struct aiocb *";
5875 break;
5876 default:
5877 break;
5878 };
5879 break;
5880 /* aio_suspend */
5881 case 315:
5882 switch(ndx) {
5883 case 0:
5884 p = "struct aiocb *const *";
5885 break;
5886 case 1:
5887 p = "int";
5888 break;
5889 case 2:
5890 p = "const struct timespec *";
5891 break;
5892 default:
5893 break;
5894 };
5895 break;
5896 /* aio_cancel */
5897 case 316:
5898 switch(ndx) {
5899 case 0:
5900 p = "int";
5901 break;
5902 case 1:
5903 p = "struct aiocb *";
5904 break;
5905 default:
5906 break;
5907 };
5908 break;
5909 /* aio_error */
5910 case 317:
5911 switch(ndx) {
5912 case 0:
5913 p = "struct aiocb *";
5914 break;
5915 default:
5916 break;
5917 };
5918 break;
5919 /* oaio_read */
5920 case 318:
5921 switch(ndx) {
5922 case 0:
5923 p = "struct oaiocb *";
5924 break;
5925 default:
5926 break;
5927 };
5928 break;
5929 /* oaio_write */
5930 case 319:
5931 switch(ndx) {
5932 case 0:
5933 p = "struct oaiocb *";
5934 break;
5935 default:
5936 break;
5937 };
5938 break;
5939 /* olio_listio */
5940 case 320:
5941 switch(ndx) {
5942 case 0:
5943 p = "int";
5944 break;
5945 case 1:
5946 p = "struct oaiocb *const *";
5947 break;
5948 case 2:
5949 p = "int";
5950 break;
5951 case 3:
5952 p = "struct osigevent *";
5953 break;
5954 default:
5955 break;
5956 };
5957 break;
5958 /* yield */
5959 case 321:
5960 break;
5961 /* mlockall */
5962 case 324:
5963 switch(ndx) {
5964 case 0:
5965 p = "int";
5966 break;
5967 default:
5968 break;
5969 };
5970 break;
5971 /* munlockall */
5972 case 325:
5973 break;
5974 /* __getcwd */
5975 case 326:
5976 switch(ndx) {
5977 case 0:
5978 p = "u_char *";
5979 break;
5980 case 1:
5981 p = "u_int";
5982 break;
5983 default:
5984 break;
5985 };
5986 break;
5987 /* sched_setparam */
5988 case 327:
5989 switch(ndx) {
5990 case 0:
5991 p = "pid_t";
5992 break;
5993 case 1:
5994 p = "const struct sched_param *";
5995 break;
5996 default:
5997 break;
5998 };
5999 break;
6000 /* sched_getparam */
6001 case 328:
6002 switch(ndx) {
6003 case 0:
6004 p = "pid_t";
6005 break;
6006 case 1:
6007 p = "struct sched_param *";
6008 break;
6009 default:
6010 break;
6011 };
6012 break;
6013 /* sched_setscheduler */
6014 case 329:
6015 switch(ndx) {
6016 case 0:
6017 p = "pid_t";
6018 break;
6019 case 1:
6020 p = "int";
6021 break;
6022 case 2:
6023 p = "const struct sched_param *";
6024 break;
6025 default:
6026 break;
6027 };
6028 break;
6029 /* sched_getscheduler */
6030 case 330:
6031 switch(ndx) {
6032 case 0:
6033 p = "pid_t";
6034 break;
6035 default:
6036 break;
6037 };
6038 break;
6039 /* sched_yield */
6040 case 331:
6041 break;
6042 /* sched_get_priority_max */
6043 case 332:
6044 switch(ndx) {
6045 case 0:
6046 p = "int";
6047 break;
6048 default:
6049 break;
6050 };
6051 break;
6052 /* sched_get_priority_min */
6053 case 333:
6054 switch(ndx) {
6055 case 0:
6056 p = "int";
6057 break;
6058 default:
6059 break;
6060 };
6061 break;
6062 /* sched_rr_get_interval */
6063 case 334:
6064 switch(ndx) {
6065 case 0:
6066 p = "pid_t";
6067 break;
6068 case 1:
6069 p = "struct timespec *";
6070 break;
6071 default:
6072 break;
6073 };
6074 break;
6075 /* utrace */
6076 case 335:
6077 switch(ndx) {
6078 case 0:
6079 p = "const void *";
6080 break;
6081 case 1:
6082 p = "size_t";
6083 break;
6084 default:
6085 break;
6086 };
6087 break;
6088 /* kldsym */
6089 case 337:
6090 switch(ndx) {
6091 case 0:
6092 p = "int";
6093 break;
6094 case 1:
6095 p = "int";
6096 break;
6097 case 2:
6098 p = "void *";
6099 break;
6100 default:
6101 break;
6102 };
6103 break;
6104 /* jail */
6105 case 338:
6106 switch(ndx) {
6107 case 0:
6108 p = "struct jail *";
6109 break;
6110 default:
6111 break;
6112 };
6113 break;
6114 /* nnpfs_syscall */
6115 case 339:
6116 switch(ndx) {
6117 case 0:
6118 p = "int";
6119 break;
6120 case 1:
6121 p = "char *";
6122 break;
6123 case 2:
6124 p = "int";
6125 break;
6126 case 3:
6127 p = "void *";
6128 break;
6129 case 4:
6130 p = "int";
6131 break;
6132 default:
6133 break;
6134 };
6135 break;
6136 /* sigprocmask */
6137 case 340:
6138 switch(ndx) {
6139 case 0:
6140 p = "int";
6141 break;
6142 case 1:
6143 p = "const sigset_t *";
6144 break;
6145 case 2:
6146 p = "sigset_t *";
6147 break;
6148 default:
6149 break;
6150 };
6151 break;
6152 /* sigsuspend */
6153 case 341:
6154 switch(ndx) {
6155 case 0:
6156 p = "const sigset_t *";
6157 break;
6158 default:
6159 break;
6160 };
6161 break;
6162 /* sigpending */
6163 case 343:
6164 switch(ndx) {
6165 case 0:
6166 p = "sigset_t *";
6167 break;
6168 default:
6169 break;
6170 };
6171 break;
6172 /* sigtimedwait */
6173 case 345:
6174 switch(ndx) {
6175 case 0:
6176 p = "const sigset_t *";
6177 break;
6178 case 1:
6179 p = "siginfo_t *";
6180 break;
6181 case 2:
6182 p = "const struct timespec *";
6183 break;
6184 default:
6185 break;
6186 };
6187 break;
6188 /* sigwaitinfo */
6189 case 346:
6190 switch(ndx) {
6191 case 0:
6192 p = "const sigset_t *";
6193 break;
6194 case 1:
6195 p = "siginfo_t *";
6196 break;
6197 default:
6198 break;
6199 };
6200 break;
6201 /* __acl_get_file */
6202 case 347:
6203 switch(ndx) {
6204 case 0:
6205 p = "const char *";
6206 break;
6207 case 1:
6208 p = "acl_type_t";
6209 break;
6210 case 2:
6211 p = "struct acl *";
6212 break;
6213 default:
6214 break;
6215 };
6216 break;
6217 /* __acl_set_file */
6218 case 348:
6219 switch(ndx) {
6220 case 0:
6221 p = "const char *";
6222 break;
6223 case 1:
6224 p = "acl_type_t";
6225 break;
6226 case 2:
6227 p = "struct acl *";
6228 break;
6229 default:
6230 break;
6231 };
6232 break;
6233 /* __acl_get_fd */
6234 case 349:
6235 switch(ndx) {
6236 case 0:
6237 p = "int";
6238 break;
6239 case 1:
6240 p = "acl_type_t";
6241 break;
6242 case 2:
6243 p = "struct acl *";
6244 break;
6245 default:
6246 break;
6247 };
6248 break;
6249 /* __acl_set_fd */
6250 case 350:
6251 switch(ndx) {
6252 case 0:
6253 p = "int";
6254 break;
6255 case 1:
6256 p = "acl_type_t";
6257 break;
6258 case 2:
6259 p = "struct acl *";
6260 break;
6261 default:
6262 break;
6263 };
6264 break;
6265 /* __acl_delete_file */
6266 case 351:
6267 switch(ndx) {
6268 case 0:
6269 p = "const char *";
6270 break;
6271 case 1:
6272 p = "acl_type_t";
6273 break;
6274 default:
6275 break;
6276 };
6277 break;
6278 /* __acl_delete_fd */
6279 case 352:
6280 switch(ndx) {
6281 case 0:
6282 p = "int";
6283 break;
6284 case 1:
6285 p = "acl_type_t";
6286 break;
6287 default:
6288 break;
6289 };
6290 break;
6291 /* __acl_aclcheck_file */
6292 case 353:
6293 switch(ndx) {
6294 case 0:
6295 p = "const char *";
6296 break;
6297 case 1:
6298 p = "acl_type_t";
6299 break;
6300 case 2:
6301 p = "struct acl *";
6302 break;
6303 default:
6304 break;
6305 };
6306 break;
6307 /* __acl_aclcheck_fd */
6308 case 354:
6309 switch(ndx) {
6310 case 0:
6311 p = "int";
6312 break;
6313 case 1:
6314 p = "acl_type_t";
6315 break;
6316 case 2:
6317 p = "struct acl *";
6318 break;
6319 default:
6320 break;
6321 };
6322 break;
6323 /* extattrctl */
6324 case 355:
6325 switch(ndx) {
6326 case 0:
6327 p = "const char *";
6328 break;
6329 case 1:
6330 p = "int";
6331 break;
6332 case 2:
6333 p = "const char *";
6334 break;
6335 case 3:
6336 p = "int";
6337 break;
6338 case 4:
6339 p = "const char *";
6340 break;
6341 default:
6342 break;
6343 };
6344 break;
6345 /* extattr_set_file */
6346 case 356:
6347 switch(ndx) {
6348 case 0:
6349 p = "const char *";
6350 break;
6351 case 1:
6352 p = "int";
6353 break;
6354 case 2:
6355 p = "const char *";
6356 break;
6357 case 3:
6358 p = "void *";
6359 break;
6360 case 4:
6361 p = "size_t";
6362 break;
6363 default:
6364 break;
6365 };
6366 break;
6367 /* extattr_get_file */
6368 case 357:
6369 switch(ndx) {
6370 case 0:
6371 p = "const char *";
6372 break;
6373 case 1:
6374 p = "int";
6375 break;
6376 case 2:
6377 p = "const char *";
6378 break;
6379 case 3:
6380 p = "void *";
6381 break;
6382 case 4:
6383 p = "size_t";
6384 break;
6385 default:
6386 break;
6387 };
6388 break;
6389 /* extattr_delete_file */
6390 case 358:
6391 switch(ndx) {
6392 case 0:
6393 p = "const char *";
6394 break;
6395 case 1:
6396 p = "int";
6397 break;
6398 case 2:
6399 p = "const char *";
6400 break;
6401 default:
6402 break;
6403 };
6404 break;
6405 /* aio_waitcomplete */
6406 case 359:
6407 switch(ndx) {
6408 case 0:
6409 p = "struct aiocb **";
6410 break;
6411 case 1:
6412 p = "struct timespec *";
6413 break;
6414 default:
6415 break;
6416 };
6417 break;
6418 /* getresuid */
6419 case 360:
6420 switch(ndx) {
6421 case 0:
6422 p = "uid_t *";
6423 break;
6424 case 1:
6425 p = "uid_t *";
6426 break;
6427 case 2:
6428 p = "uid_t *";
6429 break;
6430 default:
6431 break;
6432 };
6433 break;
6434 /* getresgid */
6435 case 361:
6436 switch(ndx) {
6437 case 0:
6438 p = "gid_t *";
6439 break;
6440 case 1:
6441 p = "gid_t *";
6442 break;
6443 case 2:
6444 p = "gid_t *";
6445 break;
6446 default:
6447 break;
6448 };
6449 break;
6450 /* kqueue */
6451 case 362:
6452 break;
6453 /* kevent */
6454 case 363:
6455 switch(ndx) {
6456 case 0:
6457 p = "int";
6458 break;
6459 case 1:
6460 p = "struct kevent *";
6461 break;
6462 case 2:
6463 p = "int";
6464 break;
6465 case 3:
6466 p = "struct kevent *";
6467 break;
6468 case 4:
6469 p = "int";
6470 break;
6471 case 5:
6472 p = "const struct timespec *";
6473 break;
6474 default:
6475 break;
6476 };
6477 break;
6478 /* extattr_set_fd */
6479 case 371:
6480 switch(ndx) {
6481 case 0:
6482 p = "int";
6483 break;
6484 case 1:
6485 p = "int";
6486 break;
6487 case 2:
6488 p = "const char *";
6489 break;
6490 case 3:
6491 p = "void *";
6492 break;
6493 case 4:
6494 p = "size_t";
6495 break;
6496 default:
6497 break;
6498 };
6499 break;
6500 /* extattr_get_fd */
6501 case 372:
6502 switch(ndx) {
6503 case 0:
6504 p = "int";
6505 break;
6506 case 1:
6507 p = "int";
6508 break;
6509 case 2:
6510 p = "const char *";
6511 break;
6512 case 3:
6513 p = "void *";
6514 break;
6515 case 4:
6516 p = "size_t";
6517 break;
6518 default:
6519 break;
6520 };
6521 break;
6522 /* extattr_delete_fd */
6523 case 373:
6524 switch(ndx) {
6525 case 0:
6526 p = "int";
6527 break;
6528 case 1:
6529 p = "int";
6530 break;
6531 case 2:
6532 p = "const char *";
6533 break;
6534 default:
6535 break;
6536 };
6537 break;
6538 /* __setugid */
6539 case 374:
6540 switch(ndx) {
6541 case 0:
6542 p = "int";
6543 break;
6544 default:
6545 break;
6546 };
6547 break;
6548 /* eaccess */
6549 case 376:
6550 switch(ndx) {
6551 case 0:
6552 p = "char *";
6553 break;
6554 case 1:
6555 p = "int";
6556 break;
6557 default:
6558 break;
6559 };
6560 break;
6561 /* afs3_syscall */
6562 case 377:
6563 switch(ndx) {
6564 case 0:
6565 p = "long";
6566 break;
6567 case 1:
6568 p = "long";
6569 break;
6570 case 2:
6571 p = "long";
6572 break;
6573 case 3:
6574 p = "long";
6575 break;
6576 case 4:
6577 p = "long";
6578 break;
6579 case 5:
6580 p = "long";
6581 break;
6582 case 6:
6583 p = "long";
6584 break;
6585 default:
6586 break;
6587 };
6588 break;
6589 /* nmount */
6590 case 378:
6591 switch(ndx) {
6592 case 0:
6593 p = "struct iovec *";
6594 break;
6595 case 1:
6596 p = "unsigned int";
6597 break;
6598 case 2:
6599 p = "int";
6600 break;
6601 default:
6602 break;
6603 };
6604 break;
6605 /* __mac_get_proc */
6606 case 384:
6607 switch(ndx) {
6608 case 0:
6609 p = "struct mac *";
6610 break;
6611 default:
6612 break;
6613 };
6614 break;
6615 /* __mac_set_proc */
6616 case 385:
6617 switch(ndx) {
6618 case 0:
6619 p = "struct mac *";
6620 break;
6621 default:
6622 break;
6623 };
6624 break;
6625 /* __mac_get_fd */
6626 case 386:
6627 switch(ndx) {
6628 case 0:
6629 p = "int";
6630 break;
6631 case 1:
6632 p = "struct mac *";
6633 break;
6634 default:
6635 break;
6636 };
6637 break;
6638 /* __mac_get_file */
6639 case 387:
6640 switch(ndx) {
6641 case 0:
6642 p = "const char *";
6643 break;
6644 case 1:
6645 p = "struct mac *";
6646 break;
6647 default:
6648 break;
6649 };
6650 break;
6651 /* __mac_set_fd */
6652 case 388:
6653 switch(ndx) {
6654 case 0:
6655 p = "int";
6656 break;
6657 case 1:
6658 p = "struct mac *";
6659 break;
6660 default:
6661 break;
6662 };
6663 break;
6664 /* __mac_set_file */
6665 case 389:
6666 switch(ndx) {
6667 case 0:
6668 p = "const char *";
6669 break;
6670 case 1:
6671 p = "struct mac *";
6672 break;
6673 default:
6674 break;
6675 };
6676 break;
6677 /* kenv */
6678 case 390:
6679 switch(ndx) {
6680 case 0:
6681 p = "int";
6682 break;
6683 case 1:
6684 p = "const char *";
6685 break;
6686 case 2:
6687 p = "char *";
6688 break;
6689 case 3:
6690 p = "int";
6691 break;
6692 default:
6693 break;
6694 };
6695 break;
6696 /* lchflags */
6697 case 391:
6698 switch(ndx) {
6699 case 0:
6700 p = "const char *";
6701 break;
6702 case 1:
6703 p = "int";
6704 break;
6705 default:
6706 break;
6707 };
6708 break;
6709 /* uuidgen */
6710 case 392:
6711 switch(ndx) {
6712 case 0:
6713 p = "struct uuid *";
6714 break;
6715 case 1:
6716 p = "int";
6717 break;
6718 default:
6719 break;
6720 };
6721 break;
6722 /* sendfile */
6723 case 393:
6724 switch(ndx) {
6725 case 0:
6726 p = "int";
6727 break;
6728 case 1:
6729 p = "int";
6730 break;
6731 case 2:
6732 p = "off_t";
6733 break;
6734 case 3:
6735 p = "size_t";
6736 break;
6737 case 4:
6738 p = "struct sf_hdtr *";
6739 break;
6740 case 5:
6741 p = "off_t *";
6742 break;
6743 case 6:
6744 p = "int";
6745 break;
6746 default:
6747 break;
6748 };
6749 break;
6750 /* mac_syscall */
6751 case 394:
6752 switch(ndx) {
6753 case 0:
6754 p = "const char *";
6755 break;
6756 case 1:
6757 p = "int";
6758 break;
6759 case 2:
6760 p = "void *";
6761 break;
6762 default:
6763 break;
6764 };
6765 break;
6766 /* getfsstat */
6767 case 395:
6768 switch(ndx) {
6769 case 0:
6770 p = "struct statfs *";
6771 break;
6772 case 1:
6773 p = "long";
6774 break;
6775 case 2:
6776 p = "int";
6777 break;
6778 default:
6779 break;
6780 };
6781 break;
6782 /* statfs */
6783 case 396:
6784 switch(ndx) {
6785 case 0:
6786 p = "char *";
6787 break;
6788 case 1:
6789 p = "struct statfs *";
6790 break;
6791 default:
6792 break;
6793 };
6794 break;
6795 /* fstatfs */
6796 case 397:
6797 switch(ndx) {
6798 case 0:
6799 p = "int";
6800 break;
6801 case 1:
6802 p = "struct statfs *";
6803 break;
6804 default:
6805 break;
6806 };
6807 break;
6808 /* fhstatfs */
6809 case 398:
6810 switch(ndx) {
6811 case 0:
6812 p = "const struct fhandle *";
6813 break;
6814 case 1:
6815 p = "struct statfs *";
6816 break;
6817 default:
6818 break;
6819 };
6820 break;
6821 /* ksem_close */
6822 case 400:
6823 switch(ndx) {
6824 case 0:
6825 p = "semid_t";
6826 break;
6827 default:
6828 break;
6829 };
6830 break;
6831 /* ksem_post */
6832 case 401:
6833 switch(ndx) {
6834 case 0:
6835 p = "semid_t";
6836 break;
6837 default:
6838 break;
6839 };
6840 break;
6841 /* ksem_wait */
6842 case 402:
6843 switch(ndx) {
6844 case 0:
6845 p = "semid_t";
6846 break;
6847 default:
6848 break;
6849 };
6850 break;
6851 /* ksem_trywait */
6852 case 403:
6853 switch(ndx) {
6854 case 0:
6855 p = "semid_t";
6856 break;
6857 default:
6858 break;
6859 };
6860 break;
6861 /* ksem_init */
6862 case 404:
6863 switch(ndx) {
6864 case 0:
6865 p = "semid_t *";
6866 break;
6867 case 1:
6868 p = "unsigned int";
6869 break;
6870 default:
6871 break;
6872 };
6873 break;
6874 /* ksem_open */
6875 case 405:
6876 switch(ndx) {
6877 case 0:
6878 p = "semid_t *";
6879 break;
6880 case 1:
6881 p = "const char *";
6882 break;
6883 case 2:
6884 p = "int";
6885 break;
6886 case 3:
6887 p = "mode_t";
6888 break;
6889 case 4:
6890 p = "unsigned int";
6891 break;
6892 default:
6893 break;
6894 };
6895 break;
6896 /* ksem_unlink */
6897 case 406:
6898 switch(ndx) {
6899 case 0:
6900 p = "const char *";
6901 break;
6902 default:
6903 break;
6904 };
6905 break;
6906 /* ksem_getvalue */
6907 case 407:
6908 switch(ndx) {
6909 case 0:
6910 p = "semid_t";
6911 break;
6912 case 1:
6913 p = "int *";
6914 break;
6915 default:
6916 break;
6917 };
6918 break;
6919 /* ksem_destroy */
6920 case 408:
6921 switch(ndx) {
6922 case 0:
6923 p = "semid_t";
6924 break;
6925 default:
6926 break;
6927 };
6928 break;
6929 /* __mac_get_pid */
6930 case 409:
6931 switch(ndx) {
6932 case 0:
6933 p = "pid_t";
6934 break;
6935 case 1:
6936 p = "struct mac *";
6937 break;
6938 default:
6939 break;
6940 };
6941 break;
6942 /* __mac_get_link */
6943 case 410:
6944 switch(ndx) {
6945 case 0:
6946 p = "const char *";
6947 break;
6948 case 1:
6949 p = "struct mac *";
6950 break;
6951 default:
6952 break;
6953 };
6954 break;
6955 /* __mac_set_link */
6956 case 411:
6957 switch(ndx) {
6958 case 0:
6959 p = "const char *";
6960 break;
6961 case 1:
6962 p = "struct mac *";
6963 break;
6964 default:
6965 break;
6966 };
6967 break;
6968 /* extattr_set_link */
6969 case 412:
6970 switch(ndx) {
6971 case 0:
6972 p = "const char *";
6973 break;
6974 case 1:
6975 p = "int";
6976 break;
6977 case 2:
6978 p = "const char *";
6979 break;
6980 case 3:
6981 p = "void *";
6982 break;
6983 case 4:
6984 p = "size_t";
6985 break;
6986 default:
6987 break;
6988 };
6989 break;
6990 /* extattr_get_link */
6991 case 413:
6992 switch(ndx) {
6993 case 0:
6994 p = "const char *";
6995 break;
6996 case 1:
6997 p = "int";
6998 break;
6999 case 2:
7000 p = "const char *";
7001 break;
7002 case 3:
7003 p = "void *";
7004 break;
7005 case 4:
7006 p = "size_t";
7007 break;
7008 default:
7009 break;
7010 };
7011 break;
7012 /* extattr_delete_link */
7013 case 414:
7014 switch(ndx) {
7015 case 0:
7016 p = "const char *";
7017 break;
7018 case 1:
7019 p = "int";
7020 break;
7021 case 2:
7022 p = "const char *";
7023 break;
7024 default:
7025 break;
7026 };
7027 break;
7028 /* __mac_execve */
7029 case 415:
7030 switch(ndx) {
7031 case 0:
7032 p = "char *";
7033 break;
7034 case 1:
7035 p = "char **";
7036 break;
7037 case 2:
7038 p = "char **";
7039 break;
7040 case 3:
7041 p = "struct mac *";
7042 break;
7043 default:
7044 break;
7045 };
7046 break;
7047 /* sigaction */
7048 case 416:
7049 switch(ndx) {
7050 case 0:
7051 p = "int";
7052 break;
7053 case 1:
7054 p = "const struct sigaction *";
7055 break;
7056 case 2:
7057 p = "struct sigaction *";
7058 break;
7059 default:
7060 break;
7061 };
7062 break;
7063 /* sigreturn */
7064 case 417:
7065 switch(ndx) {
7066 case 0:
7067 p = "const struct __ucontext *";
7068 break;
7069 default:
7070 break;
7071 };
7072 break;
7073 /* getcontext */
7074 case 421:
7075 switch(ndx) {
7076 case 0:
7077 p = "struct __ucontext *";
7078 break;
7079 default:
7080 break;
7081 };
7082 break;
7083 /* setcontext */
7084 case 422:
7085 switch(ndx) {
7086 case 0:
7087 p = "const struct __ucontext *";
7088 break;
7089 default:
7090 break;
7091 };
7092 break;
7093 /* swapcontext */
7094 case 423:
7095 switch(ndx) {
7096 case 0:
7097 p = "struct __ucontext *";
7098 break;
7099 case 1:
7100 p = "const struct __ucontext *";
7101 break;
7102 default:
7103 break;
7104 };
7105 break;
7106 /* swapoff */
7107 case 424:
7108 switch(ndx) {
7109 case 0:
7110 p = "const char *";
7111 break;
7112 default:
7113 break;
7114 };
7115 break;
7116 /* __acl_get_link */
7117 case 425:
7118 switch(ndx) {
7119 case 0:
7120 p = "const char *";
7121 break;
7122 case 1:
7123 p = "acl_type_t";
7124 break;
7125 case 2:
7126 p = "struct acl *";
7127 break;
7128 default:
7129 break;
7130 };
7131 break;
7132 /* __acl_set_link */
7133 case 426:
7134 switch(ndx) {
7135 case 0:
7136 p = "const char *";
7137 break;
7138 case 1:
7139 p = "acl_type_t";
7140 break;
7141 case 2:
7142 p = "struct acl *";
7143 break;
7144 default:
7145 break;
7146 };
7147 break;
7148 /* __acl_delete_link */
7149 case 427:
7150 switch(ndx) {
7151 case 0:
7152 p = "const char *";
7153 break;
7154 case 1:
7155 p = "acl_type_t";
7156 break;
7157 default:
7158 break;
7159 };
7160 break;
7161 /* __acl_aclcheck_link */
7162 case 428:
7163 switch(ndx) {
7164 case 0:
7165 p = "const char *";
7166 break;
7167 case 1:
7168 p = "acl_type_t";
7169 break;
7170 case 2:
7171 p = "struct acl *";
7172 break;
7173 default:
7174 break;
7175 };
7176 break;
7177 /* sigwait */
7178 case 429:
7179 switch(ndx) {
7180 case 0:
7181 p = "const sigset_t *";
7182 break;
7183 case 1:
7184 p = "int *";
7185 break;
7186 default:
7187 break;
7188 };
7189 break;
7190 /* thr_create */
7191 case 430:
7192 switch(ndx) {
7193 case 0:
7194 p = "ucontext_t *";
7195 break;
7196 case 1:
7197 p = "long *";
7198 break;
7199 case 2:
7200 p = "int";
7201 break;
7202 default:
7203 break;
7204 };
7205 break;
7206 /* thr_exit */
7207 case 431:
7208 switch(ndx) {
7209 case 0:
7210 p = "long *";
7211 break;
7212 default:
7213 break;
7214 };
7215 break;
7216 /* thr_self */
7217 case 432:
7218 switch(ndx) {
7219 case 0:
7220 p = "long *";
7221 break;
7222 default:
7223 break;
7224 };
7225 break;
7226 /* thr_kill */
7227 case 433:
7228 switch(ndx) {
7229 case 0:
7230 p = "long";
7231 break;
7232 case 1:
7233 p = "int";
7234 break;
7235 default:
7236 break;
7237 };
7238 break;
7239 /* _umtx_lock */
7240 case 434:
7241 switch(ndx) {
7242 case 0:
7243 p = "struct umtx *";
7244 break;
7245 default:
7246 break;
7247 };
7248 break;
7249 /* _umtx_unlock */
7250 case 435:
7251 switch(ndx) {
7252 case 0:
7253 p = "struct umtx *";
7254 break;
7255 default:
7256 break;
7257 };
7258 break;
7259 /* jail_attach */
7260 case 436:
7261 switch(ndx) {
7262 case 0:
7263 p = "int";
7264 break;
7265 default:
7266 break;
7267 };
7268 break;
7269 /* extattr_list_fd */
7270 case 437:
7271 switch(ndx) {
7272 case 0:
7273 p = "int";
7274 break;
7275 case 1:
7276 p = "int";
7277 break;
7278 case 2:
7279 p = "void *";
7280 break;
7281 case 3:
7282 p = "size_t";
7283 break;
7284 default:
7285 break;
7286 };
7287 break;
7288 /* extattr_list_file */
7289 case 438:
7290 switch(ndx) {
7291 case 0:
7292 p = "const char *";
7293 break;
7294 case 1:
7295 p = "int";
7296 break;
7297 case 2:
7298 p = "void *";
7299 break;
7300 case 3:
7301 p = "size_t";
7302 break;
7303 default:
7304 break;
7305 };
7306 break;
7307 /* extattr_list_link */
7308 case 439:
7309 switch(ndx) {
7310 case 0:
7311 p = "const char *";
7312 break;
7313 case 1:
7314 p = "int";
7315 break;
7316 case 2:
7317 p = "void *";
7318 break;
7319 case 3:
7320 p = "size_t";
7321 break;
7322 default:
7323 break;
7324 };
7325 break;
7326 /* ksem_timedwait */
7327 case 441:
7328 switch(ndx) {
7329 case 0:
7330 p = "semid_t";
7331 break;
7332 case 1:
7333 p = "const struct timespec *";
7334 break;
7335 default:
7336 break;
7337 };
7338 break;
7339 /* thr_suspend */
7340 case 442:
7341 switch(ndx) {
7342 case 0:
7343 p = "const struct timespec *";
7344 break;
7345 default:
7346 break;
7347 };
7348 break;
7349 /* thr_wake */
7350 case 443:
7351 switch(ndx) {
7352 case 0:
7353 p = "long";
7354 break;
7355 default:
7356 break;
7357 };
7358 break;
7359 /* kldunloadf */
7360 case 444:
7361 switch(ndx) {
7362 case 0:
7363 p = "int";
7364 break;
7365 case 1:
7366 p = "int";
7367 break;
7368 default:
7369 break;
7370 };
7371 break;
7372 /* audit */
7373 case 445:
7374 switch(ndx) {
7375 case 0:
7376 p = "const void *";
7377 break;
7378 case 1:
7379 p = "u_int";
7380 break;
7381 default:
7382 break;
7383 };
7384 break;
7385 /* auditon */
7386 case 446:
7387 switch(ndx) {
7388 case 0:
7389 p = "int";
7390 break;
7391 case 1:
7392 p = "void *";
7393 break;
7394 case 2:
7395 p = "u_int";
7396 break;
7397 default:
7398 break;
7399 };
7400 break;
7401 /* getauid */
7402 case 447:
7403 switch(ndx) {
7404 case 0:
7405 p = "uid_t *";
7406 break;
7407 default:
7408 break;
7409 };
7410 break;
7411 /* setauid */
7412 case 448:
7413 switch(ndx) {
7414 case 0:
7415 p = "uid_t *";
7416 break;
7417 default:
7418 break;
7419 };
7420 break;
7421 /* getaudit */
7422 case 449:
7423 switch(ndx) {
7424 case 0:
7425 p = "struct auditinfo *";
7426 break;
7427 default:
7428 break;
7429 };
7430 break;
7431 /* setaudit */
7432 case 450:
7433 switch(ndx) {
7434 case 0:
7435 p = "struct auditinfo *";
7436 break;
7437 default:
7438 break;
7439 };
7440 break;
7441 /* getaudit_addr */
7442 case 451:
7443 switch(ndx) {
7444 case 0:
7445 p = "struct auditinfo_addr *";
7446 break;
7447 case 1:
7448 p = "u_int";
7449 break;
7450 default:
7451 break;
7452 };
7453 break;
7454 /* setaudit_addr */
7455 case 452:
7456 switch(ndx) {
7457 case 0:
7458 p = "struct auditinfo_addr *";
7459 break;
7460 case 1:
7461 p = "u_int";
7462 break;
7463 default:
7464 break;
7465 };
7466 break;
7467 /* auditctl */
7468 case 453:
7469 switch(ndx) {
7470 case 0:
7471 p = "char *";
7472 break;
7473 default:
7474 break;
7475 };
7476 break;
7477 /* _umtx_op */
7478 case 454:
7479 switch(ndx) {
7480 case 0:
7481 p = "void *";
7482 break;
7483 case 1:
7484 p = "int";
7485 break;
7486 case 2:
7487 p = "u_long";
7488 break;
7489 case 3:
7490 p = "void *";
7491 break;
7492 case 4:
7493 p = "void *";
7494 break;
7495 default:
7496 break;
7497 };
7498 break;
7499 /* thr_new */
7500 case 455:
7501 switch(ndx) {
7502 case 0:
7503 p = "struct thr_param *";
7504 break;
7505 case 1:
7506 p = "int";
7507 break;
7508 default:
7509 break;
7510 };
7511 break;
7512 /* sigqueue */
7513 case 456:
7514 switch(ndx) {
7515 case 0:
7516 p = "pid_t";
7517 break;
7518 case 1:
7519 p = "int";
7520 break;
7521 case 2:
7522 p = "void *";
7523 break;
7524 default:
7525 break;
7526 };
7527 break;
7528 /* kmq_open */
7529 case 457:
7530 switch(ndx) {
7531 case 0:
7532 p = "const char *";
7533 break;
7534 case 1:
7535 p = "int";
7536 break;
7537 case 2:
7538 p = "mode_t";
7539 break;
7540 case 3:
7541 p = "const struct mq_attr *";
7542 break;
7543 default:
7544 break;
7545 };
7546 break;
7547 /* kmq_setattr */
7548 case 458:
7549 switch(ndx) {
7550 case 0:
7551 p = "int";
7552 break;
7553 case 1:
7554 p = "const struct mq_attr *";
7555 break;
7556 case 2:
7557 p = "struct mq_attr *";
7558 break;
7559 default:
7560 break;
7561 };
7562 break;
7563 /* kmq_timedreceive */
7564 case 459:
7565 switch(ndx) {
7566 case 0:
7567 p = "int";
7568 break;
7569 case 1:
7570 p = "char *";
7571 break;
7572 case 2:
7573 p = "size_t";
7574 break;
7575 case 3:
7576 p = "unsigned *";
7577 break;
7578 case 4:
7579 p = "const struct timespec *";
7580 break;
7581 default:
7582 break;
7583 };
7584 break;
7585 /* kmq_timedsend */
7586 case 460:
7587 switch(ndx) {
7588 case 0:
7589 p = "int";
7590 break;
7591 case 1:
7592 p = "const char *";
7593 break;
7594 case 2:
7595 p = "size_t";
7596 break;
7597 case 3:
7598 p = "unsigned";
7599 break;
7600 case 4:
7601 p = "const struct timespec *";
7602 break;
7603 default:
7604 break;
7605 };
7606 break;
7607 /* kmq_notify */
7608 case 461:
7609 switch(ndx) {
7610 case 0:
7611 p = "int";
7612 break;
7613 case 1:
7614 p = "const struct sigevent *";
7615 break;
7616 default:
7617 break;
7618 };
7619 break;
7620 /* kmq_unlink */
7621 case 462:
7622 switch(ndx) {
7623 case 0:
7624 p = "const char *";
7625 break;
7626 default:
7627 break;
7628 };
7629 break;
7630 /* abort2 */
7631 case 463:
7632 switch(ndx) {
7633 case 0:
7634 p = "const char *";
7635 break;
7636 case 1:
7637 p = "int";
7638 break;
7639 case 2:
7640 p = "void **";
7641 break;
7642 default:
7643 break;
7644 };
7645 break;
7646 /* thr_set_name */
7647 case 464:
7648 switch(ndx) {
7649 case 0:
7650 p = "long";
7651 break;
7652 case 1:
7653 p = "const char *";
7654 break;
7655 default:
7656 break;
7657 };
7658 break;
7659 /* aio_fsync */
7660 case 465:
7661 switch(ndx) {
7662 case 0:
7663 p = "int";
7664 break;
7665 case 1:
7666 p = "struct aiocb *";
7667 break;
7668 default:
7669 break;
7670 };
7671 break;
7672 /* rtprio_thread */
7673 case 466:
7674 switch(ndx) {
7675 case 0:
7676 p = "int";
7677 break;
7678 case 1:
7679 p = "lwpid_t";
7680 break;
7681 case 2:
7682 p = "struct rtprio *";
7683 break;
7684 default:
7685 break;
7686 };
7687 break;
7688 /* sctp_peeloff */
7689 case 471:
7690 switch(ndx) {
7691 case 0:
7692 p = "int";
7693 break;
7694 case 1:
7695 p = "uint32_t";
7696 break;
7697 default:
7698 break;
7699 };
7700 break;
7701 /* sctp_generic_sendmsg */
7702 case 472:
7703 switch(ndx) {
7704 case 0:
7705 p = "int";
7706 break;
7707 case 1:
7708 p = "caddr_t";
7709 break;
7710 case 2:
7711 p = "int";
7712 break;
7713 case 3:
7714 p = "caddr_t";
7715 break;
7716 case 4:
7717 p = "__socklen_t";
7718 break;
7719 case 5:
7720 p = "struct sctp_sndrcvinfo *";
7721 break;
7722 case 6:
7723 p = "int";
7724 break;
7725 default:
7726 break;
7727 };
7728 break;
7729 /* sctp_generic_sendmsg_iov */
7730 case 473:
7731 switch(ndx) {
7732 case 0:
7733 p = "int";
7734 break;
7735 case 1:
7736 p = "struct iovec *";
7737 break;
7738 case 2:
7739 p = "int";
7740 break;
7741 case 3:
7742 p = "caddr_t";
7743 break;
7744 case 4:
7745 p = "__socklen_t";
7746 break;
7747 case 5:
7748 p = "struct sctp_sndrcvinfo *";
7749 break;
7750 case 6:
7751 p = "int";
7752 break;
7753 default:
7754 break;
7755 };
7756 break;
7757 /* sctp_generic_recvmsg */
7758 case 474:
7759 switch(ndx) {
7760 case 0:
7761 p = "int";
7762 break;
7763 case 1:
7764 p = "struct iovec *";
7765 break;
7766 case 2:
7767 p = "int";
7768 break;
7769 case 3:
7770 p = "struct sockaddr *";
7771 break;
7772 case 4:
7773 p = "__socklen_t *";
7774 break;
7775 case 5:
7776 p = "struct sctp_sndrcvinfo *";
7777 break;
7778 case 6:
7779 p = "int *";
7780 break;
7781 default:
7782 break;
7783 };
7784 break;
7785 /* pread */
7786 case 475:
7787 switch(ndx) {
7788 case 0:
7789 p = "int";
7790 break;
7791 case 1:
7792 p = "void *";
7793 break;
7794 case 2:
7795 p = "size_t";
7796 break;
7797 case 3:
7798 p = "off_t";
7799 break;
7800 default:
7801 break;
7802 };
7803 break;
7804 /* pwrite */
7805 case 476:
7806 switch(ndx) {
7807 case 0:
7808 p = "int";
7809 break;
7810 case 1:
7811 p = "const void *";
7812 break;
7813 case 2:
7814 p = "size_t";
7815 break;
7816 case 3:
7817 p = "off_t";
7818 break;
7819 default:
7820 break;
7821 };
7822 break;
7823 /* mmap */
7824 case 477:
7825 switch(ndx) {
7826 case 0:
7827 p = "caddr_t";
7828 break;
7829 case 1:
7830 p = "size_t";
7831 break;
7832 case 2:
7833 p = "int";
7834 break;
7835 case 3:
7836 p = "int";
7837 break;
7838 case 4:
7839 p = "int";
7840 break;
7841 case 5:
7842 p = "off_t";
7843 break;
7844 default:
7845 break;
7846 };
7847 break;
7848 /* lseek */
7849 case 478:
7850 switch(ndx) {
7851 case 0:
7852 p = "int";
7853 break;
7854 case 1:
7855 p = "off_t";
7856 break;
7857 case 2:
7858 p = "int";
7859 break;
7860 default:
7861 break;
7862 };
7863 break;
7864 /* truncate */
7865 case 479:
7866 switch(ndx) {
7867 case 0:
7868 p = "char *";
7869 break;
7870 case 1:
7871 p = "off_t";
7872 break;
7873 default:
7874 break;
7875 };
7876 break;
7877 /* ftruncate */
7878 case 480:
7879 switch(ndx) {
7880 case 0:
7881 p = "int";
7882 break;
7883 case 1:
7884 p = "off_t";
7885 break;
7886 default:
7887 break;
7888 };
7889 break;
7890 /* thr_kill2 */
7891 case 481:
7892 switch(ndx) {
7893 case 0:
7894 p = "pid_t";
7895 break;
7896 case 1:
7897 p = "long";
7898 break;
7899 case 2:
7900 p = "int";
7901 break;
7902 default:
7903 break;
7904 };
7905 break;
7906 /* shm_open */
7907 case 482:
7908 switch(ndx) {
7909 case 0:
7910 p = "const char *";
7911 break;
7912 case 1:
7913 p = "int";
7914 break;
7915 case 2:
7916 p = "mode_t";
7917 break;
7918 default:
7919 break;
7920 };
7921 break;
7922 /* shm_unlink */
7923 case 483:
7924 switch(ndx) {
7925 case 0:
7926 p = "const char *";
7927 break;
7928 default:
7929 break;
7930 };
7931 break;
7932 /* cpuset */
7933 case 484:
7934 switch(ndx) {
7935 case 0:
7936 p = "cpusetid_t *";
7937 break;
7938 default:
7939 break;
7940 };
7941 break;
7942 /* cpuset_setid */
7943 case 485:
7944 switch(ndx) {
7945 case 0:
7946 p = "cpuwhich_t";
7947 break;
7948 case 1:
7949 p = "id_t";
7950 break;
7951 case 2:
7952 p = "cpusetid_t";
7953 break;
7954 default:
7955 break;
7956 };
7957 break;
7958 /* cpuset_getid */
7959 case 486:
7960 switch(ndx) {
7961 case 0:
7962 p = "cpulevel_t";
7963 break;
7964 case 1:
7965 p = "cpuwhich_t";
7966 break;
7967 case 2:
7968 p = "id_t";
7969 break;
7970 case 3:
7971 p = "cpusetid_t *";
7972 break;
7973 default:
7974 break;
7975 };
7976 break;
7977 /* cpuset_getaffinity */
7978 case 487:
7979 switch(ndx) {
7980 case 0:
7981 p = "cpulevel_t";
7982 break;
7983 case 1:
7984 p = "cpuwhich_t";
7985 break;
7986 case 2:
7987 p = "id_t";
7988 break;
7989 case 3:
7990 p = "size_t";
7991 break;
7992 case 4:
7993 p = "cpuset_t *";
7994 break;
7995 default:
7996 break;
7997 };
7998 break;
7999 /* cpuset_setaffinity */
8000 case 488:
8001 switch(ndx) {
8002 case 0:
8003 p = "cpulevel_t";
8004 break;
8005 case 1:
8006 p = "cpuwhich_t";
8007 break;
8008 case 2:
8009 p = "id_t";
8010 break;
8011 case 3:
8012 p = "size_t";
8013 break;
8014 case 4:
8015 p = "const cpuset_t *";
8016 break;
8017 default:
8018 break;
8019 };
8020 break;
8021 /* faccessat */
8022 case 489:
8023 switch(ndx) {
8024 case 0:
8025 p = "int";
8026 break;
8027 case 1:
8028 p = "char *";
8029 break;
8030 case 2:
8031 p = "int";
8032 break;
8033 case 3:
8034 p = "int";
8035 break;
8036 default:
8037 break;
8038 };
8039 break;
8040 /* fchmodat */
8041 case 490:
8042 switch(ndx) {
8043 case 0:
8044 p = "int";
8045 break;
8046 case 1:
8047 p = "char *";
8048 break;
8049 case 2:
8050 p = "mode_t";
8051 break;
8052 case 3:
8053 p = "int";
8054 break;
8055 default:
8056 break;
8057 };
8058 break;
8059 /* fchownat */
8060 case 491:
8061 switch(ndx) {
8062 case 0:
8063 p = "int";
8064 break;
8065 case 1:
8066 p = "char *";
8067 break;
8068 case 2:
8069 p = "uid_t";
8070 break;
8071 case 3:
8072 p = "gid_t";
8073 break;
8074 case 4:
8075 p = "int";
8076 break;
8077 default:
8078 break;
8079 };
8080 break;
8081 /* fexecve */
8082 case 492:
8083 switch(ndx) {
8084 case 0:
8085 p = "int";
8086 break;
8087 case 1:
8088 p = "char **";
8089 break;
8090 case 2:
8091 p = "char **";
8092 break;
8093 default:
8094 break;
8095 };
8096 break;
8097 /* fstatat */
8098 case 493:
8099 switch(ndx) {
8100 case 0:
8101 p = "int";
8102 break;
8103 case 1:
8104 p = "char *";
8105 break;
8106 case 2:
8107 p = "struct stat *";
8108 break;
8109 case 3:
8110 p = "int";
8111 break;
8112 default:
8113 break;
8114 };
8115 break;
8116 /* futimesat */
8117 case 494:
8118 switch(ndx) {
8119 case 0:
8120 p = "int";
8121 break;
8122 case 1:
8123 p = "char *";
8124 break;
8125 case 2:
8126 p = "struct timeval *";
8127 break;
8128 default:
8129 break;
8130 };
8131 break;
8132 /* linkat */
8133 case 495:
8134 switch(ndx) {
8135 case 0:
8136 p = "int";
8137 break;
8138 case 1:
8139 p = "char *";
8140 break;
8141 case 2:
8142 p = "int";
8143 break;
8144 case 3:
8145 p = "char *";
8146 break;
8147 case 4:
8148 p = "int";
8149 break;
8150 default:
8151 break;
8152 };
8153 break;
8154 /* mkdirat */
8155 case 496:
8156 switch(ndx) {
8157 case 0:
8158 p = "int";
8159 break;
8160 case 1:
8161 p = "char *";
8162 break;
8163 case 2:
8164 p = "mode_t";
8165 break;
8166 default:
8167 break;
8168 };
8169 break;
8170 /* mkfifoat */
8171 case 497:
8172 switch(ndx) {
8173 case 0:
8174 p = "int";
8175 break;
8176 case 1:
8177 p = "char *";
8178 break;
8179 case 2:
8180 p = "mode_t";
8181 break;
8182 default:
8183 break;
8184 };
8185 break;
8186 /* mknodat */
8187 case 498:
8188 switch(ndx) {
8189 case 0:
8190 p = "int";
8191 break;
8192 case 1:
8193 p = "char *";
8194 break;
8195 case 2:
8196 p = "mode_t";
8197 break;
8198 case 3:
8199 p = "dev_t";
8200 break;
8201 default:
8202 break;
8203 };
8204 break;
8205 /* openat */
8206 case 499:
8207 switch(ndx) {
8208 case 0:
8209 p = "int";
8210 break;
8211 case 1:
8212 p = "char *";
8213 break;
8214 case 2:
8215 p = "int";
8216 break;
8217 case 3:
8218 p = "mode_t";
8219 break;
8220 default:
8221 break;
8222 };
8223 break;
8224 /* readlinkat */
8225 case 500:
8226 switch(ndx) {
8227 case 0:
8228 p = "int";
8229 break;
8230 case 1:
8231 p = "char *";
8232 break;
8233 case 2:
8234 p = "char *";
8235 break;
8236 case 3:
8237 p = "size_t";
8238 break;
8239 default:
8240 break;
8241 };
8242 break;
8243 /* renameat */
8244 case 501:
8245 switch(ndx) {
8246 case 0:
8247 p = "int";
8248 break;
8249 case 1:
8250 p = "char *";
8251 break;
8252 case 2:
8253 p = "int";
8254 break;
8255 case 3:
8256 p = "char *";
8257 break;
8258 default:
8259 break;
8260 };
8261 break;
8262 /* symlinkat */
8263 case 502:
8264 switch(ndx) {
8265 case 0:
8266 p = "char *";
8267 break;
8268 case 1:
8269 p = "int";
8270 break;
8271 case 2:
8272 p = "char *";
8273 break;
8274 default:
8275 break;
8276 };
8277 break;
8278 /* unlinkat */
8279 case 503:
8280 switch(ndx) {
8281 case 0:
8282 p = "int";
8283 break;
8284 case 1:
8285 p = "char *";
8286 break;
8287 case 2:
8288 p = "int";
8289 break;
8290 default:
8291 break;
8292 };
8293 break;
8294 /* posix_openpt */
8295 case 504:
8296 switch(ndx) {
8297 case 0:
8298 p = "int";
8299 break;
8300 default:
8301 break;
8302 };
8303 break;
8304 /* gssd_syscall */
8305 case 505:
8306 switch(ndx) {
8307 case 0:
8308 p = "char *";
8309 break;
8310 default:
8311 break;
8312 };
8313 break;
8314 /* jail_get */
8315 case 506:
8316 switch(ndx) {
8317 case 0:
8318 p = "struct iovec *";
8319 break;
8320 case 1:
8321 p = "unsigned int";
8322 break;
8323 case 2:
8324 p = "int";
8325 break;
8326 default:
8327 break;
8328 };
8329 break;
8330 /* jail_set */
8331 case 507:
8332 switch(ndx) {
8333 case 0:
8334 p = "struct iovec *";
8335 break;
8336 case 1:
8337 p = "unsigned int";
8338 break;
8339 case 2:
8340 p = "int";
8341 break;
8342 default:
8343 break;
8344 };
8345 break;
8346 /* jail_remove */
8347 case 508:
8348 switch(ndx) {
8349 case 0:
8350 p = "int";
8351 break;
8352 default:
8353 break;
8354 };
8355 break;
8356 /* closefrom */
8357 case 509:
8358 switch(ndx) {
8359 case 0:
8360 p = "int";
8361 break;
8362 default:
8363 break;
8364 };
8365 break;
8366 /* __semctl */
8367 case 510:
8368 switch(ndx) {
8369 case 0:
8370 p = "int";
8371 break;
8372 case 1:
8373 p = "int";
8374 break;
8375 case 2:
8376 p = "int";
8377 break;
8378 case 3:
8379 p = "union semun *";
8380 break;
8381 default:
8382 break;
8383 };
8384 break;
8385 /* msgctl */
8386 case 511:
8387 switch(ndx) {
8388 case 0:
8389 p = "int";
8390 break;
8391 case 1:
8392 p = "int";
8393 break;
8394 case 2:
8395 p = "struct msqid_ds *";
8396 break;
8397 default:
8398 break;
8399 };
8400 break;
8401 /* shmctl */
8402 case 512:
8403 switch(ndx) {
8404 case 0:
8405 p = "int";
8406 break;
8407 case 1:
8408 p = "int";
8409 break;
8410 case 2:
8411 p = "struct shmid_ds *";
8412 break;
8413 default:
8414 break;
8415 };
8416 break;
8417 /* lpathconf */
8418 case 513:
8419 switch(ndx) {
8420 case 0:
8421 p = "char *";
8422 break;
8423 case 1:
8424 p = "int";
8425 break;
8426 default:
8427 break;
8428 };
8429 break;
8430 /* cap_new */
8431 case 514:
8432 switch(ndx) {
8433 case 0:
8434 p = "int";
8435 break;
8436 case 1:
8437 p = "uint64_t";
8438 break;
8439 default:
8440 break;
8441 };
8442 break;
8443 /* cap_getrights */
8444 case 515:
8445 switch(ndx) {
8446 case 0:
8447 p = "int";
8448 break;
8449 case 1:
8450 p = "uint64_t *";
8451 break;
8452 default:
8453 break;
8454 };
8455 break;
8456 /* cap_enter */
8457 case 516:
8458 break;
8459 /* cap_getmode */
8460 case 517:
8461 switch(ndx) {
8462 case 0:
8463 p = "u_int *";
8464 break;
8465 default:
8466 break;
8467 };
8468 break;
8469 /* pdfork */
8470 case 518:
8471 switch(ndx) {
8472 case 0:
8473 p = "int *";
8474 break;
8475 case 1:
8476 p = "int";
8477 break;
8478 default:
8479 break;
8480 };
8481 break;
8482 /* pdkill */
8483 case 519:
8484 switch(ndx) {
8485 case 0:
8486 p = "int";
8487 break;
8488 case 1:
8489 p = "int";
8490 break;
8491 default:
8492 break;
8493 };
8494 break;
8495 /* pdgetpid */
8496 case 520:
8497 switch(ndx) {
8498 case 0:
8499 p = "int";
8500 break;
8501 case 1:
8502 p = "pid_t *";
8503 break;
8504 default:
8505 break;
8506 };
8507 break;
8508 /* pselect */
8509 case 522:
8510 switch(ndx) {
8511 case 0:
8512 p = "int";
8513 break;
8514 case 1:
8515 p = "fd_set *";
8516 break;
8517 case 2:
8518 p = "fd_set *";
8519 break;
8520 case 3:
8521 p = "fd_set *";
8522 break;
8523 case 4:
8524 p = "const struct timespec *";
8525 break;
8526 case 5:
8527 p = "const sigset_t *";
8528 break;
8529 default:
8530 break;
8531 };
8532 break;
8533 /* getloginclass */
8534 case 523:
8535 switch(ndx) {
8536 case 0:
8537 p = "char *";
8538 break;
8539 case 1:
8540 p = "size_t";
8541 break;
8542 default:
8543 break;
8544 };
8545 break;
8546 /* setloginclass */
8547 case 524:
8548 switch(ndx) {
8549 case 0:
8550 p = "const char *";
8551 break;
8552 default:
8553 break;
8554 };
8555 break;
8556 /* rctl_get_racct */
8557 case 525:
8558 switch(ndx) {
8559 case 0:
8560 p = "const void *";
8561 break;
8562 case 1:
8563 p = "size_t";
8564 break;
8565 case 2:
8566 p = "void *";
8567 break;
8568 case 3:
8569 p = "size_t";
8570 break;
8571 default:
8572 break;
8573 };
8574 break;
8575 /* rctl_get_rules */
8576 case 526:
8577 switch(ndx) {
8578 case 0:
8579 p = "const void *";
8580 break;
8581 case 1:
8582 p = "size_t";
8583 break;
8584 case 2:
8585 p = "void *";
8586 break;
8587 case 3:
8588 p = "size_t";
8589 break;
8590 default:
8591 break;
8592 };
8593 break;
8594 /* rctl_get_limits */
8595 case 527:
8596 switch(ndx) {
8597 case 0:
8598 p = "const void *";
8599 break;
8600 case 1:
8601 p = "size_t";
8602 break;
8603 case 2:
8604 p = "void *";
8605 break;
8606 case 3:
8607 p = "size_t";
8608 break;
8609 default:
8610 break;
8611 };
8612 break;
8613 /* rctl_add_rule */
8614 case 528:
8615 switch(ndx) {
8616 case 0:
8617 p = "const void *";
8618 break;
8619 case 1:
8620 p = "size_t";
8621 break;
8622 case 2:
8623 p = "void *";
8624 break;
8625 case 3:
8626 p = "size_t";
8627 break;
8628 default:
8629 break;
8630 };
8631 break;
8632 /* rctl_remove_rule */
8633 case 529:
8634 switch(ndx) {
8635 case 0:
8636 p = "const void *";
8637 break;
8638 case 1:
8639 p = "size_t";
8640 break;
8641 case 2:
8642 p = "void *";
8643 break;
8644 case 3:
8645 p = "size_t";
8646 break;
8647 default:
8648 break;
8649 };
8650 break;
8651 /* posix_fallocate */
8652 case 530:
8653 switch(ndx) {
8654 case 0:
8655 p = "int";
8656 break;
8657 case 1:
8658 p = "off_t";
8659 break;
8660 case 2:
8661 p = "off_t";
8662 break;
8663 default:
8664 break;
8665 };
8666 break;
8667 /* posix_fadvise */
8668 case 531:
8669 switch(ndx) {
8670 case 0:
8671 p = "int";
8672 break;
8673 case 1:
8674 p = "off_t";
8675 break;
8676 case 2:
8677 p = "off_t";
8678 break;
8679 case 3:
8680 p = "int";
8681 break;
8682 default:
8683 break;
8684 };
8685 break;
8686 default:
8687 break;
8688 };
8689 if (p != NULL)
8690 strlcpy(desc, p, descsz);
8691}
8692static void
8693systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8694{
8695 const char *p = NULL;
8696 switch (sysnum) {
8697 /* nosys */
8698 case 0:
8699 /* sys_exit */
8700 case 1:
8701 if (ndx == 0 || ndx == 1)
8702 p = "void";
8703 break;
8704 /* fork */
8705 case 2:
8706 /* read */
8707 case 3:
8708 if (ndx == 0 || ndx == 1)
8709 p = "ssize_t";
8710 break;
8711 /* write */
8712 case 4:
8713 if (ndx == 0 || ndx == 1)
8714 p = "ssize_t";
8715 break;
8716 /* open */
8717 case 5:
8718 if (ndx == 0 || ndx == 1)
8719 p = "int";
8720 break;
8721 /* close */
8722 case 6:
8723 if (ndx == 0 || ndx == 1)
8724 p = "int";
8725 break;
8726 /* wait4 */
8727 case 7:
8728 if (ndx == 0 || ndx == 1)
8729 p = "int";
8730 break;
8731 /* link */
8732 case 9:
8733 if (ndx == 0 || ndx == 1)
8734 p = "int";
8735 break;
8736 /* unlink */
8737 case 10:
8738 if (ndx == 0 || ndx == 1)
8739 p = "int";
8740 break;
8741 /* chdir */
8742 case 12:
8743 if (ndx == 0 || ndx == 1)
8744 p = "int";
8745 break;
8746 /* fchdir */
8747 case 13:
8748 if (ndx == 0 || ndx == 1)
8749 p = "int";
8750 break;
8751 /* mknod */
8752 case 14:
8753 if (ndx == 0 || ndx == 1)
8754 p = "int";
8755 break;
8756 /* chmod */
8757 case 15:
8758 if (ndx == 0 || ndx == 1)
8759 p = "int";
8760 break;
8761 /* chown */
8762 case 16:
8763 if (ndx == 0 || ndx == 1)
8764 p = "int";
8765 break;
8766 /* obreak */
8767 case 17:
8768 if (ndx == 0 || ndx == 1)
8769 p = "int";
8770 break;
8771 /* getpid */
8772 case 20:
8773 /* mount */
8774 case 21:
8775 if (ndx == 0 || ndx == 1)
8776 p = "int";
8777 break;
8778 /* unmount */
8779 case 22:
8780 if (ndx == 0 || ndx == 1)
8781 p = "int";
8782 break;
8783 /* setuid */
8784 case 23:
8785 if (ndx == 0 || ndx == 1)
8786 p = "int";
8787 break;
8788 /* getuid */
8789 case 24:
8790 /* geteuid */
8791 case 25:
8792 /* ptrace */
8793 case 26:
8794 if (ndx == 0 || ndx == 1)
8795 p = "int";
8796 break;
8797 /* recvmsg */
8798 case 27:
8799 if (ndx == 0 || ndx == 1)
8800 p = "int";
8801 break;
8802 /* sendmsg */
8803 case 28:
8804 if (ndx == 0 || ndx == 1)
8805 p = "int";
8806 break;
8807 /* recvfrom */
8808 case 29:
8809 if (ndx == 0 || ndx == 1)
8810 p = "int";
8811 break;
8812 /* accept */
8813 case 30:
8814 if (ndx == 0 || ndx == 1)
8815 p = "int";
8816 break;
8817 /* getpeername */
8818 case 31:
8819 if (ndx == 0 || ndx == 1)
8820 p = "int";
8821 break;
8822 /* getsockname */
8823 case 32:
8824 if (ndx == 0 || ndx == 1)
8825 p = "int";
8826 break;
8827 /* access */
8828 case 33:
8829 if (ndx == 0 || ndx == 1)
8830 p = "int";
8831 break;
8832 /* chflags */
8833 case 34:
8834 if (ndx == 0 || ndx == 1)
8835 p = "int";
8836 break;
8837 /* fchflags */
8838 case 35:
8839 if (ndx == 0 || ndx == 1)
8840 p = "int";
8841 break;
8842 /* sync */
8843 case 36:
8844 /* kill */
8845 case 37:
8846 if (ndx == 0 || ndx == 1)
8847 p = "int";
8848 break;
8849 /* getppid */
8850 case 39:
8851 /* dup */
8852 case 41:
8853 if (ndx == 0 || ndx == 1)
8854 p = "int";
8855 break;
8856 /* pipe */
8857 case 42:
8858 /* getegid */
8859 case 43:
8860 /* profil */
8861 case 44:
8862 if (ndx == 0 || ndx == 1)
8863 p = "int";
8864 break;
8865 /* ktrace */
8866 case 45:
8867 if (ndx == 0 || ndx == 1)
8868 p = "int";
8869 break;
8870 /* getgid */
8871 case 47:
8872 /* getlogin */
8873 case 49:
8874 if (ndx == 0 || ndx == 1)
8875 p = "int";
8876 break;
8877 /* setlogin */
8878 case 50:
8879 if (ndx == 0 || ndx == 1)
8880 p = "int";
8881 break;
8882 /* acct */
8883 case 51:
8884 if (ndx == 0 || ndx == 1)
8885 p = "int";
8886 break;
8887 /* sigaltstack */
8888 case 53:
8889 if (ndx == 0 || ndx == 1)
8890 p = "int";
8891 break;
8892 /* ioctl */
8893 case 54:
8894 if (ndx == 0 || ndx == 1)
8895 p = "int";
8896 break;
8897 /* reboot */
8898 case 55:
8899 if (ndx == 0 || ndx == 1)
8900 p = "int";
8901 break;
8902 /* revoke */
8903 case 56:
8904 if (ndx == 0 || ndx == 1)
8905 p = "int";
8906 break;
8907 /* symlink */
8908 case 57:
8909 if (ndx == 0 || ndx == 1)
8910 p = "int";
8911 break;
8912 /* readlink */
8913 case 58:
8914 if (ndx == 0 || ndx == 1)
8915 p = "ssize_t";
8916 break;
8917 /* execve */
8918 case 59:
8919 if (ndx == 0 || ndx == 1)
8920 p = "int";
8921 break;
8922 /* umask */
8923 case 60:
8924 if (ndx == 0 || ndx == 1)
8925 p = "int";
8926 break;
8927 /* chroot */
8928 case 61:
8929 if (ndx == 0 || ndx == 1)
8930 p = "int";
8931 break;
8932 /* msync */
8933 case 65:
8934 if (ndx == 0 || ndx == 1)
8935 p = "int";
8936 break;
8937 /* vfork */
8938 case 66:
8939 /* sbrk */
8940 case 69:
8941 if (ndx == 0 || ndx == 1)
8942 p = "int";
8943 break;
8944 /* sstk */
8945 case 70:
8946 if (ndx == 0 || ndx == 1)
8947 p = "int";
8948 break;
8949 /* ovadvise */
8950 case 72:
8951 if (ndx == 0 || ndx == 1)
8952 p = "int";
8953 break;
8954 /* munmap */
8955 case 73:
8956 if (ndx == 0 || ndx == 1)
8957 p = "int";
8958 break;
8959 /* mprotect */
8960 case 74:
8961 if (ndx == 0 || ndx == 1)
8962 p = "int";
8963 break;
8964 /* madvise */
8965 case 75:
8966 if (ndx == 0 || ndx == 1)
8967 p = "int";
8968 break;
8969 /* mincore */
8970 case 78:
8971 if (ndx == 0 || ndx == 1)
8972 p = "int";
8973 break;
8974 /* getgroups */
8975 case 79:
8976 if (ndx == 0 || ndx == 1)
8977 p = "int";
8978 break;
8979 /* setgroups */
8980 case 80:
8981 if (ndx == 0 || ndx == 1)
8982 p = "int";
8983 break;
8984 /* getpgrp */
8985 case 81:
8986 /* setpgid */
8987 case 82:
8988 if (ndx == 0 || ndx == 1)
8989 p = "int";
8990 break;
8991 /* setitimer */
8992 case 83:
8993 if (ndx == 0 || ndx == 1)
8994 p = "int";
8995 break;
8996 /* swapon */
8997 case 85:
8998 if (ndx == 0 || ndx == 1)
8999 p = "int";
9000 break;
9001 /* getitimer */
9002 case 86:
9003 if (ndx == 0 || ndx == 1)
9004 p = "int";
9005 break;
9006 /* getdtablesize */
9007 case 89:
9008 /* dup2 */
9009 case 90:
9010 if (ndx == 0 || ndx == 1)
9011 p = "int";
9012 break;
9013 /* fcntl */
9014 case 92:
9015 if (ndx == 0 || ndx == 1)
9016 p = "int";
9017 break;
9018 /* select */
9019 case 93:
9020 if (ndx == 0 || ndx == 1)
9021 p = "int";
9022 break;
9023 /* fsync */
9024 case 95:
9025 if (ndx == 0 || ndx == 1)
9026 p = "int";
9027 break;
9028 /* setpriority */
9029 case 96:
9030 if (ndx == 0 || ndx == 1)
9031 p = "int";
9032 break;
9033 /* socket */
9034 case 97:
9035 if (ndx == 0 || ndx == 1)
9036 p = "int";
9037 break;
9038 /* connect */
9039 case 98:
9040 if (ndx == 0 || ndx == 1)
9041 p = "int";
9042 break;
9043 /* getpriority */
9044 case 100:
9045 if (ndx == 0 || ndx == 1)
9046 p = "int";
9047 break;
9048 /* bind */
9049 case 104:
9050 if (ndx == 0 || ndx == 1)
9051 p = "int";
9052 break;
9053 /* setsockopt */
9054 case 105:
9055 if (ndx == 0 || ndx == 1)
9056 p = "int";
9057 break;
9058 /* listen */
9059 case 106:
9060 if (ndx == 0 || ndx == 1)
9061 p = "int";
9062 break;
9063 /* gettimeofday */
9064 case 116:
9065 if (ndx == 0 || ndx == 1)
9066 p = "int";
9067 break;
9068 /* getrusage */
9069 case 117:
9070 if (ndx == 0 || ndx == 1)
9071 p = "int";
9072 break;
9073 /* getsockopt */
9074 case 118:
9075 if (ndx == 0 || ndx == 1)
9076 p = "int";
9077 break;
9078 /* readv */
9079 case 120:
9080 if (ndx == 0 || ndx == 1)
9081 p = "int";
9082 break;
9083 /* writev */
9084 case 121:
9085 if (ndx == 0 || ndx == 1)
9086 p = "int";
9087 break;
9088 /* settimeofday */
9089 case 122:
9090 if (ndx == 0 || ndx == 1)
9091 p = "int";
9092 break;
9093 /* fchown */
9094 case 123:
9095 if (ndx == 0 || ndx == 1)
9096 p = "int";
9097 break;
9098 /* fchmod */
9099 case 124:
9100 if (ndx == 0 || ndx == 1)
9101 p = "int";
9102 break;
9103 /* setreuid */
9104 case 126:
9105 if (ndx == 0 || ndx == 1)
9106 p = "int";
9107 break;
9108 /* setregid */
9109 case 127:
9110 if (ndx == 0 || ndx == 1)
9111 p = "int";
9112 break;
9113 /* rename */
9114 case 128:
9115 if (ndx == 0 || ndx == 1)
9116 p = "int";
9117 break;
9118 /* flock */
9119 case 131:
9120 if (ndx == 0 || ndx == 1)
9121 p = "int";
9122 break;
9123 /* mkfifo */
9124 case 132:
9125 if (ndx == 0 || ndx == 1)
9126 p = "int";
9127 break;
9128 /* sendto */
9129 case 133:
9130 if (ndx == 0 || ndx == 1)
9131 p = "int";
9132 break;
9133 /* shutdown */
9134 case 134:
9135 if (ndx == 0 || ndx == 1)
9136 p = "int";
9137 break;
9138 /* socketpair */
9139 case 135:
9140 if (ndx == 0 || ndx == 1)
9141 p = "int";
9142 break;
9143 /* mkdir */
9144 case 136:
9145 if (ndx == 0 || ndx == 1)
9146 p = "int";
9147 break;
9148 /* rmdir */
9149 case 137:
9150 if (ndx == 0 || ndx == 1)
9151 p = "int";
9152 break;
9153 /* utimes */
9154 case 138:
9155 if (ndx == 0 || ndx == 1)
9156 p = "int";
9157 break;
9158 /* adjtime */
9159 case 140:
9160 if (ndx == 0 || ndx == 1)
9161 p = "int";
9162 break;
9163 /* setsid */
9164 case 147:
9165 /* quotactl */
9166 case 148:
9167 if (ndx == 0 || ndx == 1)
9168 p = "int";
9169 break;
9170 /* nlm_syscall */
9171 case 154:
9172 if (ndx == 0 || ndx == 1)
9173 p = "int";
9174 break;
9175 /* nfssvc */
9176 case 155:
9177 if (ndx == 0 || ndx == 1)
9178 p = "int";
9179 break;
9180 /* lgetfh */
9181 case 160:
9182 if (ndx == 0 || ndx == 1)
9183 p = "int";
9184 break;
9185 /* getfh */
9186 case 161:
9187 if (ndx == 0 || ndx == 1)
9188 p = "int";
9189 break;
9190 /* sysarch */
9191 case 165:
9192 if (ndx == 0 || ndx == 1)
9193 p = "int";
9194 break;
9195 /* rtprio */
9196 case 166:
9197 if (ndx == 0 || ndx == 1)
9198 p = "int";
9199 break;
9200 /* semsys */
9201 case 169:
9202 if (ndx == 0 || ndx == 1)
9203 p = "int";
9204 break;
9205 /* msgsys */
9206 case 170:
9207 if (ndx == 0 || ndx == 1)
9208 p = "int";
9209 break;
9210 /* shmsys */
9211 case 171:
9212 if (ndx == 0 || ndx == 1)
9213 p = "int";
9214 break;
9215 /* freebsd6_pread */
9216 case 173:
9217 if (ndx == 0 || ndx == 1)
9218 p = "ssize_t";
9219 break;
9220 /* freebsd6_pwrite */
9221 case 174:
9222 if (ndx == 0 || ndx == 1)
9223 p = "ssize_t";
9224 break;
9225 /* setfib */
9226 case 175:
9227 if (ndx == 0 || ndx == 1)
9228 p = "int";
9229 break;
9230 /* ntp_adjtime */
9231 case 176:
9232 if (ndx == 0 || ndx == 1)
9233 p = "int";
9234 break;
9235 /* setgid */
9236 case 181:
9237 if (ndx == 0 || ndx == 1)
9238 p = "int";
9239 break;
9240 /* setegid */
9241 case 182:
9242 if (ndx == 0 || ndx == 1)
9243 p = "int";
9244 break;
9245 /* seteuid */
9246 case 183:
9247 if (ndx == 0 || ndx == 1)
9248 p = "int";
9249 break;
9250 /* stat */
9251 case 188:
9252 if (ndx == 0 || ndx == 1)
9253 p = "int";
9254 break;
9255 /* fstat */
9256 case 189:
9257 if (ndx == 0 || ndx == 1)
9258 p = "int";
9259 break;
9260 /* lstat */
9261 case 190:
9262 if (ndx == 0 || ndx == 1)
9263 p = "int";
9264 break;
9265 /* pathconf */
9266 case 191:
9267 if (ndx == 0 || ndx == 1)
9268 p = "int";
9269 break;
9270 /* fpathconf */
9271 case 192:
9272 if (ndx == 0 || ndx == 1)
9273 p = "int";
9274 break;
9275 /* getrlimit */
9276 case 194:
9277 if (ndx == 0 || ndx == 1)
9278 p = "int";
9279 break;
9280 /* setrlimit */
9281 case 195:
9282 if (ndx == 0 || ndx == 1)
9283 p = "int";
9284 break;
9285 /* getdirentries */
9286 case 196:
9287 if (ndx == 0 || ndx == 1)
9288 p = "int";
9289 break;
9290 /* freebsd6_mmap */
9291 case 197:
9292 if (ndx == 0 || ndx == 1)
9293 p = "caddr_t";
9294 break;
9295 /* nosys */
9296 case 198:
9297 /* freebsd6_lseek */
9298 case 199:
9299 if (ndx == 0 || ndx == 1)
9300 p = "off_t";
9301 break;
9302 /* freebsd6_truncate */
9303 case 200:
9304 if (ndx == 0 || ndx == 1)
9305 p = "int";
9306 break;
9307 /* freebsd6_ftruncate */
9308 case 201:
9309 if (ndx == 0 || ndx == 1)
9310 p = "int";
9311 break;
9312 /* __sysctl */
9313 case 202:
9314 if (ndx == 0 || ndx == 1)
9315 p = "int";
9316 break;
9317 /* mlock */
9318 case 203:
9319 if (ndx == 0 || ndx == 1)
9320 p = "int";
9321 break;
9322 /* munlock */
9323 case 204:
9324 if (ndx == 0 || ndx == 1)
9325 p = "int";
9326 break;
9327 /* undelete */
9328 case 205:
9329 if (ndx == 0 || ndx == 1)
9330 p = "int";
9331 break;
9332 /* futimes */
9333 case 206:
9334 if (ndx == 0 || ndx == 1)
9335 p = "int";
9336 break;
9337 /* getpgid */
9338 case 207:
9339 if (ndx == 0 || ndx == 1)
9340 p = "int";
9341 break;
9342 /* poll */
9343 case 209:
9344 if (ndx == 0 || ndx == 1)
9345 p = "int";
9346 break;
9347 /* lkmnosys */
9348 case 210:
9349 /* lkmnosys */
9350 case 211:
9351 /* lkmnosys */
9352 case 212:
9353 /* lkmnosys */
9354 case 213:
9355 /* lkmnosys */
9356 case 214:
9357 /* lkmnosys */
9358 case 215:
9359 /* lkmnosys */
9360 case 216:
9361 /* lkmnosys */
9362 case 217:
9363 /* lkmnosys */
9364 case 218:
9365 /* lkmnosys */
9366 case 219:
9367 /* semget */
9368 case 221:
9369 if (ndx == 0 || ndx == 1)
9370 p = "int";
9371 break;
9372 /* semop */
9373 case 222:
9374 if (ndx == 0 || ndx == 1)
9375 p = "int";
9376 break;
9377 /* msgget */
9378 case 225:
9379 if (ndx == 0 || ndx == 1)
9380 p = "int";
9381 break;
9382 /* msgsnd */
9383 case 226:
9384 if (ndx == 0 || ndx == 1)
9385 p = "int";
9386 break;
9387 /* msgrcv */
9388 case 227:
9389 if (ndx == 0 || ndx == 1)
9390 p = "int";
9391 break;
9392 /* shmat */
9393 case 228:
9394 if (ndx == 0 || ndx == 1)
9395 p = "int";
9396 break;
9397 /* shmdt */
9398 case 230:
9399 if (ndx == 0 || ndx == 1)
9400 p = "int";
9401 break;
9402 /* shmget */
9403 case 231:
9404 if (ndx == 0 || ndx == 1)
9405 p = "int";
9406 break;
9407 /* clock_gettime */
9408 case 232:
9409 if (ndx == 0 || ndx == 1)
9410 p = "int";
9411 break;
9412 /* clock_settime */
9413 case 233:
9414 if (ndx == 0 || ndx == 1)
9415 p = "int";
9416 break;
9417 /* clock_getres */
9418 case 234:
9419 if (ndx == 0 || ndx == 1)
9420 p = "int";
9421 break;
9422 /* ktimer_create */
9423 case 235:
9424 if (ndx == 0 || ndx == 1)
9425 p = "int";
9426 break;
9427 /* ktimer_delete */
9428 case 236:
9429 if (ndx == 0 || ndx == 1)
9430 p = "int";
9431 break;
9432 /* ktimer_settime */
9433 case 237:
9434 if (ndx == 0 || ndx == 1)
9435 p = "int";
9436 break;
9437 /* ktimer_gettime */
9438 case 238:
9439 if (ndx == 0 || ndx == 1)
9440 p = "int";
9441 break;
9442 /* ktimer_getoverrun */
9443 case 239:
9444 if (ndx == 0 || ndx == 1)
9445 p = "int";
9446 break;
9447 /* nanosleep */
9448 case 240:
9449 if (ndx == 0 || ndx == 1)
9450 p = "int";
9451 break;
9452 /* ffclock_getcounter */
9453 case 241:
9454 if (ndx == 0 || ndx == 1)
9455 p = "int";
9456 break;
9457 /* ffclock_setestimate */
9458 case 242:
9459 if (ndx == 0 || ndx == 1)
9460 p = "int";
9461 break;
9462 /* ffclock_getestimate */
9463 case 243:
9464 if (ndx == 0 || ndx == 1)
9465 p = "int";
9466 break;
9467 /* ntp_gettime */
9468 case 248:
9469 if (ndx == 0 || ndx == 1)
9470 p = "int";
9471 break;
9472 /* minherit */
9473 case 250:
9474 if (ndx == 0 || ndx == 1)
9475 p = "int";
9476 break;
9477 /* rfork */
9478 case 251:
9479 if (ndx == 0 || ndx == 1)
9480 p = "int";
9481 break;
9482 /* openbsd_poll */
9483 case 252:
9484 if (ndx == 0 || ndx == 1)
9485 p = "int";
9486 break;
9487 /* issetugid */
9488 case 253:
9489 /* lchown */
9490 case 254:
9491 if (ndx == 0 || ndx == 1)
9492 p = "int";
9493 break;
9494 /* aio_read */
9495 case 255:
9496 if (ndx == 0 || ndx == 1)
9497 p = "int";
9498 break;
9499 /* aio_write */
9500 case 256:
9501 if (ndx == 0 || ndx == 1)
9502 p = "int";
9503 break;
9504 /* lio_listio */
9505 case 257:
9506 if (ndx == 0 || ndx == 1)
9507 p = "int";
9508 break;
9509 /* getdents */
9510 case 272:
9511 if (ndx == 0 || ndx == 1)
9512 p = "int";
9513 break;
9514 /* lchmod */
9515 case 274:
9516 if (ndx == 0 || ndx == 1)
9517 p = "int";
9518 break;
9519 /* lchown */
9520 case 275:
9521 if (ndx == 0 || ndx == 1)
9522 p = "int";
9523 break;
9524 /* lutimes */
9525 case 276:
9526 if (ndx == 0 || ndx == 1)
9527 p = "int";
9528 break;
9529 /* msync */
9530 case 277:
9531 if (ndx == 0 || ndx == 1)
9532 p = "int";
9533 break;
9534 /* nstat */
9535 case 278:
9536 if (ndx == 0 || ndx == 1)
9537 p = "int";
9538 break;
9539 /* nfstat */
9540 case 279:
9541 if (ndx == 0 || ndx == 1)
9542 p = "int";
9543 break;
9544 /* nlstat */
9545 case 280:
9546 if (ndx == 0 || ndx == 1)
9547 p = "int";
9548 break;
9549 /* preadv */
9550 case 289:
9551 if (ndx == 0 || ndx == 1)
9552 p = "ssize_t";
9553 break;
9554 /* pwritev */
9555 case 290:
9556 if (ndx == 0 || ndx == 1)
9557 p = "ssize_t";
9558 break;
9559 /* fhopen */
9560 case 298:
9561 if (ndx == 0 || ndx == 1)
9562 p = "int";
9563 break;
9564 /* fhstat */
9565 case 299:
9566 if (ndx == 0 || ndx == 1)
9567 p = "int";
9568 break;
9569 /* modnext */
9570 case 300:
9571 if (ndx == 0 || ndx == 1)
9572 p = "int";
9573 break;
9574 /* modstat */
9575 case 301:
9576 if (ndx == 0 || ndx == 1)
9577 p = "int";
9578 break;
9579 /* modfnext */
9580 case 302:
9581 if (ndx == 0 || ndx == 1)
9582 p = "int";
9583 break;
9584 /* modfind */
9585 case 303:
9586 if (ndx == 0 || ndx == 1)
9587 p = "int";
9588 break;
9589 /* kldload */
9590 case 304:
9591 if (ndx == 0 || ndx == 1)
9592 p = "int";
9593 break;
9594 /* kldunload */
9595 case 305:
9596 if (ndx == 0 || ndx == 1)
9597 p = "int";
9598 break;
9599 /* kldfind */
9600 case 306:
9601 if (ndx == 0 || ndx == 1)
9602 p = "int";
9603 break;
9604 /* kldnext */
9605 case 307:
9606 if (ndx == 0 || ndx == 1)
9607 p = "int";
9608 break;
9609 /* kldstat */
9610 case 308:
9611 if (ndx == 0 || ndx == 1)
9612 p = "int";
9613 break;
9614 /* kldfirstmod */
9615 case 309:
9616 if (ndx == 0 || ndx == 1)
9617 p = "int";
9618 break;
9619 /* getsid */
9620 case 310:
9621 if (ndx == 0 || ndx == 1)
9622 p = "int";
9623 break;
9624 /* setresuid */
9625 case 311:
9626 if (ndx == 0 || ndx == 1)
9627 p = "int";
9628 break;
9629 /* setresgid */
9630 case 312:
9631 if (ndx == 0 || ndx == 1)
9632 p = "int";
9633 break;
9634 /* aio_return */
9635 case 314:
9636 if (ndx == 0 || ndx == 1)
9637 p = "int";
9638 break;
9639 /* aio_suspend */
9640 case 315:
9641 if (ndx == 0 || ndx == 1)
9642 p = "int";
9643 break;
9644 /* aio_cancel */
9645 case 316:
9646 if (ndx == 0 || ndx == 1)
9647 p = "int";
9648 break;
9649 /* aio_error */
9650 case 317:
9651 if (ndx == 0 || ndx == 1)
9652 p = "int";
9653 break;
9654 /* oaio_read */
9655 case 318:
9656 if (ndx == 0 || ndx == 1)
9657 p = "int";
9658 break;
9659 /* oaio_write */
9660 case 319:
9661 if (ndx == 0 || ndx == 1)
9662 p = "int";
9663 break;
9664 /* olio_listio */
9665 case 320:
9666 if (ndx == 0 || ndx == 1)
9667 p = "int";
9668 break;
9669 /* yield */
9670 case 321:
9671 /* mlockall */
9672 case 324:
9673 if (ndx == 0 || ndx == 1)
9674 p = "int";
9675 break;
9676 /* munlockall */
9677 case 325:
9678 /* __getcwd */
9679 case 326:
9680 if (ndx == 0 || ndx == 1)
9681 p = "int";
9682 break;
9683 /* sched_setparam */
9684 case 327:
9685 if (ndx == 0 || ndx == 1)
9686 p = "int";
9687 break;
9688 /* sched_getparam */
9689 case 328:
9690 if (ndx == 0 || ndx == 1)
9691 p = "int";
9692 break;
9693 /* sched_setscheduler */
9694 case 329:
9695 if (ndx == 0 || ndx == 1)
9696 p = "int";
9697 break;
9698 /* sched_getscheduler */
9699 case 330:
9700 if (ndx == 0 || ndx == 1)
9701 p = "int";
9702 break;
9703 /* sched_yield */
9704 case 331:
9705 /* sched_get_priority_max */
9706 case 332:
9707 if (ndx == 0 || ndx == 1)
9708 p = "int";
9709 break;
9710 /* sched_get_priority_min */
9711 case 333:
9712 if (ndx == 0 || ndx == 1)
9713 p = "int";
9714 break;
9715 /* sched_rr_get_interval */
9716 case 334:
9717 if (ndx == 0 || ndx == 1)
9718 p = "int";
9719 break;
9720 /* utrace */
9721 case 335:
9722 if (ndx == 0 || ndx == 1)
9723 p = "int";
9724 break;
9725 /* kldsym */
9726 case 337:
9727 if (ndx == 0 || ndx == 1)
9728 p = "int";
9729 break;
9730 /* jail */
9731 case 338:
9732 if (ndx == 0 || ndx == 1)
9733 p = "int";
9734 break;
9735 /* nnpfs_syscall */
9736 case 339:
9737 if (ndx == 0 || ndx == 1)
9738 p = "int";
9739 break;
9740 /* sigprocmask */
9741 case 340:
9742 if (ndx == 0 || ndx == 1)
9743 p = "int";
9744 break;
9745 /* sigsuspend */
9746 case 341:
9747 if (ndx == 0 || ndx == 1)
9748 p = "int";
9749 break;
9750 /* sigpending */
9751 case 343:
9752 if (ndx == 0 || ndx == 1)
9753 p = "int";
9754 break;
9755 /* sigtimedwait */
9756 case 345:
9757 if (ndx == 0 || ndx == 1)
9758 p = "int";
9759 break;
9760 /* sigwaitinfo */
9761 case 346:
9762 if (ndx == 0 || ndx == 1)
9763 p = "int";
9764 break;
9765 /* __acl_get_file */
9766 case 347:
9767 if (ndx == 0 || ndx == 1)
9768 p = "int";
9769 break;
9770 /* __acl_set_file */
9771 case 348:
9772 if (ndx == 0 || ndx == 1)
9773 p = "int";
9774 break;
9775 /* __acl_get_fd */
9776 case 349:
9777 if (ndx == 0 || ndx == 1)
9778 p = "int";
9779 break;
9780 /* __acl_set_fd */
9781 case 350:
9782 if (ndx == 0 || ndx == 1)
9783 p = "int";
9784 break;
9785 /* __acl_delete_file */
9786 case 351:
9787 if (ndx == 0 || ndx == 1)
9788 p = "int";
9789 break;
9790 /* __acl_delete_fd */
9791 case 352:
9792 if (ndx == 0 || ndx == 1)
9793 p = "int";
9794 break;
9795 /* __acl_aclcheck_file */
9796 case 353:
9797 if (ndx == 0 || ndx == 1)
9798 p = "int";
9799 break;
9800 /* __acl_aclcheck_fd */
9801 case 354:
9802 if (ndx == 0 || ndx == 1)
9803 p = "int";
9804 break;
9805 /* extattrctl */
9806 case 355:
9807 if (ndx == 0 || ndx == 1)
9808 p = "int";
9809 break;
9810 /* extattr_set_file */
9811 case 356:
9812 if (ndx == 0 || ndx == 1)
9813 p = "int";
9814 break;
9815 /* extattr_get_file */
9816 case 357:
9817 if (ndx == 0 || ndx == 1)
9818 p = "ssize_t";
9819 break;
9820 /* extattr_delete_file */
9821 case 358:
9822 if (ndx == 0 || ndx == 1)
9823 p = "int";
9824 break;
9825 /* aio_waitcomplete */
9826 case 359:
9827 if (ndx == 0 || ndx == 1)
9828 p = "int";
9829 break;
9830 /* getresuid */
9831 case 360:
9832 if (ndx == 0 || ndx == 1)
9833 p = "int";
9834 break;
9835 /* getresgid */
9836 case 361:
9837 if (ndx == 0 || ndx == 1)
9838 p = "int";
9839 break;
9840 /* kqueue */
9841 case 362:
9842 /* kevent */
9843 case 363:
9844 if (ndx == 0 || ndx == 1)
9845 p = "int";
9846 break;
9847 /* extattr_set_fd */
9848 case 371:
9849 if (ndx == 0 || ndx == 1)
9850 p = "int";
9851 break;
9852 /* extattr_get_fd */
9853 case 372:
9854 if (ndx == 0 || ndx == 1)
9855 p = "ssize_t";
9856 break;
9857 /* extattr_delete_fd */
9858 case 373:
9859 if (ndx == 0 || ndx == 1)
9860 p = "int";
9861 break;
9862 /* __setugid */
9863 case 374:
9864 if (ndx == 0 || ndx == 1)
9865 p = "int";
9866 break;
9867 /* eaccess */
9868 case 376:
9869 if (ndx == 0 || ndx == 1)
9870 p = "int";
9871 break;
9872 /* afs3_syscall */
9873 case 377:
9874 if (ndx == 0 || ndx == 1)
9875 p = "int";
9876 break;
9877 /* nmount */
9878 case 378:
9879 if (ndx == 0 || ndx == 1)
9880 p = "int";
9881 break;
9882 /* __mac_get_proc */
9883 case 384:
9884 if (ndx == 0 || ndx == 1)
9885 p = "int";
9886 break;
9887 /* __mac_set_proc */
9888 case 385:
9889 if (ndx == 0 || ndx == 1)
9890 p = "int";
9891 break;
9892 /* __mac_get_fd */
9893 case 386:
9894 if (ndx == 0 || ndx == 1)
9895 p = "int";
9896 break;
9897 /* __mac_get_file */
9898 case 387:
9899 if (ndx == 0 || ndx == 1)
9900 p = "int";
9901 break;
9902 /* __mac_set_fd */
9903 case 388:
9904 if (ndx == 0 || ndx == 1)
9905 p = "int";
9906 break;
9907 /* __mac_set_file */
9908 case 389:
9909 if (ndx == 0 || ndx == 1)
9910 p = "int";
9911 break;
9912 /* kenv */
9913 case 390:
9914 if (ndx == 0 || ndx == 1)
9915 p = "int";
9916 break;
9917 /* lchflags */
9918 case 391:
9919 if (ndx == 0 || ndx == 1)
9920 p = "int";
9921 break;
9922 /* uuidgen */
9923 case 392:
9924 if (ndx == 0 || ndx == 1)
9925 p = "int";
9926 break;
9927 /* sendfile */
9928 case 393:
9929 if (ndx == 0 || ndx == 1)
9930 p = "int";
9931 break;
9932 /* mac_syscall */
9933 case 394:
9934 if (ndx == 0 || ndx == 1)
9935 p = "int";
9936 break;
9937 /* getfsstat */
9938 case 395:
9939 if (ndx == 0 || ndx == 1)
9940 p = "int";
9941 break;
9942 /* statfs */
9943 case 396:
9944 if (ndx == 0 || ndx == 1)
9945 p = "int";
9946 break;
9947 /* fstatfs */
9948 case 397:
9949 if (ndx == 0 || ndx == 1)
9950 p = "int";
9951 break;
9952 /* fhstatfs */
9953 case 398:
9954 if (ndx == 0 || ndx == 1)
9955 p = "int";
9956 break;
9957 /* ksem_close */
9958 case 400:
9959 if (ndx == 0 || ndx == 1)
9960 p = "int";
9961 break;
9962 /* ksem_post */
9963 case 401:
9964 if (ndx == 0 || ndx == 1)
9965 p = "int";
9966 break;
9967 /* ksem_wait */
9968 case 402:
9969 if (ndx == 0 || ndx == 1)
9970 p = "int";
9971 break;
9972 /* ksem_trywait */
9973 case 403:
9974 if (ndx == 0 || ndx == 1)
9975 p = "int";
9976 break;
9977 /* ksem_init */
9978 case 404:
9979 if (ndx == 0 || ndx == 1)
9980 p = "int";
9981 break;
9982 /* ksem_open */
9983 case 405:
9984 if (ndx == 0 || ndx == 1)
9985 p = "int";
9986 break;
9987 /* ksem_unlink */
9988 case 406:
9989 if (ndx == 0 || ndx == 1)
9990 p = "int";
9991 break;
9992 /* ksem_getvalue */
9993 case 407:
9994 if (ndx == 0 || ndx == 1)
9995 p = "int";
9996 break;
9997 /* ksem_destroy */
9998 case 408:
9999 if (ndx == 0 || ndx == 1)
10000 p = "int";
10001 break;
10002 /* __mac_get_pid */
10003 case 409:
10004 if (ndx == 0 || ndx == 1)
10005 p = "int";
10006 break;
10007 /* __mac_get_link */
10008 case 410:
10009 if (ndx == 0 || ndx == 1)
10010 p = "int";
10011 break;
10012 /* __mac_set_link */
10013 case 411:
10014 if (ndx == 0 || ndx == 1)
10015 p = "int";
10016 break;
10017 /* extattr_set_link */
10018 case 412:
10019 if (ndx == 0 || ndx == 1)
10020 p = "int";
10021 break;
10022 /* extattr_get_link */
10023 case 413:
10024 if (ndx == 0 || ndx == 1)
10025 p = "ssize_t";
10026 break;
10027 /* extattr_delete_link */
10028 case 414:
10029 if (ndx == 0 || ndx == 1)
10030 p = "int";
10031 break;
10032 /* __mac_execve */
10033 case 415:
10034 if (ndx == 0 || ndx == 1)
10035 p = "int";
10036 break;
10037 /* sigaction */
10038 case 416:
10039 if (ndx == 0 || ndx == 1)
10040 p = "int";
10041 break;
10042 /* sigreturn */
10043 case 417:
10044 if (ndx == 0 || ndx == 1)
10045 p = "int";
10046 break;
10047 /* getcontext */
10048 case 421:
10049 if (ndx == 0 || ndx == 1)
10050 p = "int";
10051 break;
10052 /* setcontext */
10053 case 422:
10054 if (ndx == 0 || ndx == 1)
10055 p = "int";
10056 break;
10057 /* swapcontext */
10058 case 423:
10059 if (ndx == 0 || ndx == 1)
10060 p = "int";
10061 break;
10062 /* swapoff */
10063 case 424:
10064 if (ndx == 0 || ndx == 1)
10065 p = "int";
10066 break;
10067 /* __acl_get_link */
10068 case 425:
10069 if (ndx == 0 || ndx == 1)
10070 p = "int";
10071 break;
10072 /* __acl_set_link */
10073 case 426:
10074 if (ndx == 0 || ndx == 1)
10075 p = "int";
10076 break;
10077 /* __acl_delete_link */
10078 case 427:
10079 if (ndx == 0 || ndx == 1)
10080 p = "int";
10081 break;
10082 /* __acl_aclcheck_link */
10083 case 428:
10084 if (ndx == 0 || ndx == 1)
10085 p = "int";
10086 break;
10087 /* sigwait */
10088 case 429:
10089 if (ndx == 0 || ndx == 1)
10090 p = "int";
10091 break;
10092 /* thr_create */
10093 case 430:
10094 if (ndx == 0 || ndx == 1)
10095 p = "int";
10096 break;
10097 /* thr_exit */
10098 case 431:
10099 if (ndx == 0 || ndx == 1)
10100 p = "void";
10101 break;
10102 /* thr_self */
10103 case 432:
10104 if (ndx == 0 || ndx == 1)
10105 p = "int";
10106 break;
10107 /* thr_kill */
10108 case 433:
10109 if (ndx == 0 || ndx == 1)
10110 p = "int";
10111 break;
10112 /* _umtx_lock */
10113 case 434:
10114 if (ndx == 0 || ndx == 1)
10115 p = "int";
10116 break;
10117 /* _umtx_unlock */
10118 case 435:
10119 if (ndx == 0 || ndx == 1)
10120 p = "int";
10121 break;
10122 /* jail_attach */
10123 case 436:
10124 if (ndx == 0 || ndx == 1)
10125 p = "int";
10126 break;
10127 /* extattr_list_fd */
10128 case 437:
10129 if (ndx == 0 || ndx == 1)
10130 p = "ssize_t";
10131 break;
10132 /* extattr_list_file */
10133 case 438:
10134 if (ndx == 0 || ndx == 1)
10135 p = "ssize_t";
10136 break;
10137 /* extattr_list_link */
10138 case 439:
10139 if (ndx == 0 || ndx == 1)
10140 p = "ssize_t";
10141 break;
10142 /* ksem_timedwait */
10143 case 441:
10144 if (ndx == 0 || ndx == 1)
10145 p = "int";
10146 break;
10147 /* thr_suspend */
10148 case 442:
10149 if (ndx == 0 || ndx == 1)
10150 p = "int";
10151 break;
10152 /* thr_wake */
10153 case 443:
10154 if (ndx == 0 || ndx == 1)
10155 p = "int";
10156 break;
10157 /* kldunloadf */
10158 case 444:
10159 if (ndx == 0 || ndx == 1)
10160 p = "int";
10161 break;
10162 /* audit */
10163 case 445:
10164 if (ndx == 0 || ndx == 1)
10165 p = "int";
10166 break;
10167 /* auditon */
10168 case 446:
10169 if (ndx == 0 || ndx == 1)
10170 p = "int";
10171 break;
10172 /* getauid */
10173 case 447:
10174 if (ndx == 0 || ndx == 1)
10175 p = "int";
10176 break;
10177 /* setauid */
10178 case 448:
10179 if (ndx == 0 || ndx == 1)
10180 p = "int";
10181 break;
10182 /* getaudit */
10183 case 449:
10184 if (ndx == 0 || ndx == 1)
10185 p = "int";
10186 break;
10187 /* setaudit */
10188 case 450:
10189 if (ndx == 0 || ndx == 1)
10190 p = "int";
10191 break;
10192 /* getaudit_addr */
10193 case 451:
10194 if (ndx == 0 || ndx == 1)
10195 p = "int";
10196 break;
10197 /* setaudit_addr */
10198 case 452:
10199 if (ndx == 0 || ndx == 1)
10200 p = "int";
10201 break;
10202 /* auditctl */
10203 case 453:
10204 if (ndx == 0 || ndx == 1)
10205 p = "int";
10206 break;
10207 /* _umtx_op */
10208 case 454:
10209 if (ndx == 0 || ndx == 1)
10210 p = "int";
10211 break;
10212 /* thr_new */
10213 case 455:
10214 if (ndx == 0 || ndx == 1)
10215 p = "int";
10216 break;
10217 /* sigqueue */
10218 case 456:
10219 if (ndx == 0 || ndx == 1)
10220 p = "int";
10221 break;
10222 /* kmq_open */
10223 case 457:
10224 if (ndx == 0 || ndx == 1)
10225 p = "int";
10226 break;
10227 /* kmq_setattr */
10228 case 458:
10229 if (ndx == 0 || ndx == 1)
10230 p = "int";
10231 break;
10232 /* kmq_timedreceive */
10233 case 459:
10234 if (ndx == 0 || ndx == 1)
10235 p = "int";
10236 break;
10237 /* kmq_timedsend */
10238 case 460:
10239 if (ndx == 0 || ndx == 1)
10240 p = "int";
10241 break;
10242 /* kmq_notify */
10243 case 461:
10244 if (ndx == 0 || ndx == 1)
10245 p = "int";
10246 break;
10247 /* kmq_unlink */
10248 case 462:
10249 if (ndx == 0 || ndx == 1)
10250 p = "int";
10251 break;
10252 /* abort2 */
10253 case 463:
10254 if (ndx == 0 || ndx == 1)
10255 p = "int";
10256 break;
10257 /* thr_set_name */
10258 case 464:
10259 if (ndx == 0 || ndx == 1)
10260 p = "int";
10261 break;
10262 /* aio_fsync */
10263 case 465:
10264 if (ndx == 0 || ndx == 1)
10265 p = "int";
10266 break;
10267 /* rtprio_thread */
10268 case 466:
10269 if (ndx == 0 || ndx == 1)
10270 p = "int";
10271 break;
10272 /* sctp_peeloff */
10273 case 471:
10274 if (ndx == 0 || ndx == 1)
10275 p = "int";
10276 break;
10277 /* sctp_generic_sendmsg */
10278 case 472:
10279 if (ndx == 0 || ndx == 1)
10280 p = "int";
10281 break;
10282 /* sctp_generic_sendmsg_iov */
10283 case 473:
10284 if (ndx == 0 || ndx == 1)
10285 p = "int";
10286 break;
10287 /* sctp_generic_recvmsg */
10288 case 474:
10289 if (ndx == 0 || ndx == 1)
10290 p = "int";
10291 break;
10292 /* pread */
10293 case 475:
10294 if (ndx == 0 || ndx == 1)
10295 p = "ssize_t";
10296 break;
10297 /* pwrite */
10298 case 476:
10299 if (ndx == 0 || ndx == 1)
10300 p = "ssize_t";
10301 break;
10302 /* mmap */
10303 case 477:
10304 if (ndx == 0 || ndx == 1)
10305 p = "caddr_t";
10306 break;
10307 /* lseek */
10308 case 478:
10309 if (ndx == 0 || ndx == 1)
10310 p = "off_t";
10311 break;
10312 /* truncate */
10313 case 479:
10314 if (ndx == 0 || ndx == 1)
10315 p = "int";
10316 break;
10317 /* ftruncate */
10318 case 480:
10319 if (ndx == 0 || ndx == 1)
10320 p = "int";
10321 break;
10322 /* thr_kill2 */
10323 case 481:
10324 if (ndx == 0 || ndx == 1)
10325 p = "int";
10326 break;
10327 /* shm_open */
10328 case 482:
10329 if (ndx == 0 || ndx == 1)
10330 p = "int";
10331 break;
10332 /* shm_unlink */
10333 case 483:
10334 if (ndx == 0 || ndx == 1)
10335 p = "int";
10336 break;
10337 /* cpuset */
10338 case 484:
10339 if (ndx == 0 || ndx == 1)
10340 p = "int";
10341 break;
10342 /* cpuset_setid */
10343 case 485:
10344 if (ndx == 0 || ndx == 1)
10345 p = "int";
10346 break;
10347 /* cpuset_getid */
10348 case 486:
10349 if (ndx == 0 || ndx == 1)
10350 p = "int";
10351 break;
10352 /* cpuset_getaffinity */
10353 case 487:
10354 if (ndx == 0 || ndx == 1)
10355 p = "int";
10356 break;
10357 /* cpuset_setaffinity */
10358 case 488:
10359 if (ndx == 0 || ndx == 1)
10360 p = "int";
10361 break;
10362 /* faccessat */
10363 case 489:
10364 if (ndx == 0 || ndx == 1)
10365 p = "int";
10366 break;
10367 /* fchmodat */
10368 case 490:
10369 if (ndx == 0 || ndx == 1)
10370 p = "int";
10371 break;
10372 /* fchownat */
10373 case 491:
10374 if (ndx == 0 || ndx == 1)
10375 p = "int";
10376 break;
10377 /* fexecve */
10378 case 492:
10379 if (ndx == 0 || ndx == 1)
10380 p = "int";
10381 break;
10382 /* fstatat */
10383 case 493:
10384 if (ndx == 0 || ndx == 1)
10385 p = "int";
10386 break;
10387 /* futimesat */
10388 case 494:
10389 if (ndx == 0 || ndx == 1)
10390 p = "int";
10391 break;
10392 /* linkat */
10393 case 495:
10394 if (ndx == 0 || ndx == 1)
10395 p = "int";
10396 break;
10397 /* mkdirat */
10398 case 496:
10399 if (ndx == 0 || ndx == 1)
10400 p = "int";
10401 break;
10402 /* mkfifoat */
10403 case 497:
10404 if (ndx == 0 || ndx == 1)
10405 p = "int";
10406 break;
10407 /* mknodat */
10408 case 498:
10409 if (ndx == 0 || ndx == 1)
10410 p = "int";
10411 break;
10412 /* openat */
10413 case 499:
10414 if (ndx == 0 || ndx == 1)
10415 p = "int";
10416 break;
10417 /* readlinkat */
10418 case 500:
10419 if (ndx == 0 || ndx == 1)
10420 p = "int";
10421 break;
10422 /* renameat */
10423 case 501:
10424 if (ndx == 0 || ndx == 1)
10425 p = "int";
10426 break;
10427 /* symlinkat */
10428 case 502:
10429 if (ndx == 0 || ndx == 1)
10430 p = "int";
10431 break;
10432 /* unlinkat */
10433 case 503:
10434 if (ndx == 0 || ndx == 1)
10435 p = "int";
10436 break;
10437 /* posix_openpt */
10438 case 504:
10439 if (ndx == 0 || ndx == 1)
10440 p = "int";
10441 break;
10442 /* gssd_syscall */
10443 case 505:
10444 if (ndx == 0 || ndx == 1)
10445 p = "int";
10446 break;
10447 /* jail_get */
10448 case 506:
10449 if (ndx == 0 || ndx == 1)
10450 p = "int";
10451 break;
10452 /* jail_set */
10453 case 507:
10454 if (ndx == 0 || ndx == 1)
10455 p = "int";
10456 break;
10457 /* jail_remove */
10458 case 508:
10459 if (ndx == 0 || ndx == 1)
10460 p = "int";
10461 break;
10462 /* closefrom */
10463 case 509:
10464 if (ndx == 0 || ndx == 1)
10465 p = "int";
10466 break;
10467 /* __semctl */
10468 case 510:
10469 if (ndx == 0 || ndx == 1)
10470 p = "int";
10471 break;
10472 /* msgctl */
10473 case 511:
10474 if (ndx == 0 || ndx == 1)
10475 p = "int";
10476 break;
10477 /* shmctl */
10478 case 512:
10479 if (ndx == 0 || ndx == 1)
10480 p = "int";
10481 break;
10482 /* lpathconf */
10483 case 513:
10484 if (ndx == 0 || ndx == 1)
10485 p = "int";
10486 break;
10487 /* cap_new */
10488 case 514:
10489 if (ndx == 0 || ndx == 1)
10490 p = "int";
10491 break;
10492 /* cap_getrights */
10493 case 515:
10494 if (ndx == 0 || ndx == 1)
10495 p = "int";
10496 break;
10497 /* cap_enter */
10498 case 516:
10499 /* cap_getmode */
10500 case 517:
10501 if (ndx == 0 || ndx == 1)
10502 p = "int";
10503 break;
10504 /* pdfork */
10505 case 518:
10506 if (ndx == 0 || ndx == 1)
10507 p = "int";
10508 break;
10509 /* pdkill */
10510 case 519:
10511 if (ndx == 0 || ndx == 1)
10512 p = "int";
10513 break;
10514 /* pdgetpid */
10515 case 520:
10516 if (ndx == 0 || ndx == 1)
10517 p = "int";
10518 break;
10519 /* pselect */
10520 case 522:
10521 if (ndx == 0 || ndx == 1)
10522 p = "int";
10523 break;
10524 /* getloginclass */
10525 case 523:
10526 if (ndx == 0 || ndx == 1)
10527 p = "int";
10528 break;
10529 /* setloginclass */
10530 case 524:
10531 if (ndx == 0 || ndx == 1)
10532 p = "int";
10533 break;
10534 /* rctl_get_racct */
10535 case 525:
10536 if (ndx == 0 || ndx == 1)
10537 p = "int";
10538 break;
10539 /* rctl_get_rules */
10540 case 526:
10541 if (ndx == 0 || ndx == 1)
10542 p = "int";
10543 break;
10544 /* rctl_get_limits */
10545 case 527:
10546 if (ndx == 0 || ndx == 1)
10547 p = "int";
10548 break;
10549 /* rctl_add_rule */
10550 case 528:
10551 if (ndx == 0 || ndx == 1)
10552 p = "int";
10553 break;
10554 /* rctl_remove_rule */
10555 case 529:
10556 if (ndx == 0 || ndx == 1)
10557 p = "int";
10558 break;
10559 /* posix_fallocate */
10560 case 530:
10561 if (ndx == 0 || ndx == 1)
10562 p = "int";
10563 break;
10564 /* posix_fadvise */
10565 case 531:
10566 if (ndx == 0 || ndx == 1)
10567 p = "int";
10568 break;
10569 default:
10570 break;
10571 };
10572 if (p != NULL)
10573 strlcpy(desc, p, descsz);
10574}