1/*
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/compat/freebsd32/freebsd32_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#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
15#define PAD64_REQUIRED
16#endif
17 /* nosys */
18 case 0: {
19 *n_args = 0;
20 break;
21 }
22 /* sys_exit */
23 case 1: {
24 struct sys_exit_args *p = params;
25 iarg[0] = p->rval; /* int */
26 *n_args = 1;
27 break;
28 }
29 /* fork */
30 case 2: {
31 *n_args = 0;
32 break;
33 }
34 /* read */
35 case 3: {
36 struct read_args *p = params;
37 iarg[0] = p->fd; /* int */
38 uarg[1] = (intptr_t) p->buf; /* void * */
39 uarg[2] = p->nbyte; /* size_t */
40 *n_args = 3;
41 break;
42 }
43 /* write */
44 case 4: {
45 struct write_args *p = params;
46 iarg[0] = p->fd; /* int */
47 uarg[1] = (intptr_t) p->buf; /* const void * */
48 uarg[2] = p->nbyte; /* size_t */
49 *n_args = 3;
50 break;
51 }
52 /* open */
53 case 5: {
54 struct open_args *p = params;
55 uarg[0] = (intptr_t) p->path; /* char * */
56 iarg[1] = p->flags; /* int */
57 iarg[2] = p->mode; /* int */
58 *n_args = 3;
59 break;
60 }
61 /* close */
62 case 6: {
63 struct close_args *p = params;
64 iarg[0] = p->fd; /* int */
65 *n_args = 1;
66 break;
67 }
68 /* freebsd32_wait4 */
69 case 7: {
70 struct freebsd32_wait4_args *p = params;
71 iarg[0] = p->pid; /* int */
72 uarg[1] = (intptr_t) p->status; /* int * */
73 iarg[2] = p->options; /* int */
74 uarg[3] = (intptr_t) p->rusage; /* struct rusage32 * */
75 *n_args = 4;
76 break;
77 }
78 /* link */
79 case 9: {
80 struct link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->link; /* char * */
83 *n_args = 2;
84 break;
85 }
86 /* unlink */
87 case 10: {
88 struct unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
90 *n_args = 1;
91 break;
92 }
93 /* chdir */
94 case 12: {
95 struct chdir_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 *n_args = 1;
98 break;
99 }
100 /* fchdir */
101 case 13: {
102 struct fchdir_args *p = params;
103 iarg[0] = p->fd; /* int */
104 *n_args = 1;
105 break;
106 }
107 /* mknod */
108 case 14: {
109 struct mknod_args *p = params;
110 uarg[0] = (intptr_t) p->path; /* char * */
111 iarg[1] = p->mode; /* int */
112 iarg[2] = p->dev; /* int */
113 *n_args = 3;
114 break;
115 }
116 /* chmod */
117 case 15: {
118 struct chmod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* int */
121 *n_args = 2;
122 break;
123 }
124 /* chown */
125 case 16: {
126 struct chown_args *p = params;
127 uarg[0] = (intptr_t) p->path; /* char * */
128 iarg[1] = p->uid; /* int */
129 iarg[2] = p->gid; /* int */
130 *n_args = 3;
131 break;
132 }
133 /* obreak */
134 case 17: {
135 struct obreak_args *p = params;
136 uarg[0] = (intptr_t) p->nsize; /* char * */
137 *n_args = 1;
138 break;
139 }
140 /* getpid */
141 case 20: {
142 *n_args = 0;
143 break;
144 }
145 /* mount */
146 case 21: {
147 struct mount_args *p = params;
148 uarg[0] = (intptr_t) p->type; /* char * */
149 uarg[1] = (intptr_t) p->path; /* char * */
150 iarg[2] = p->flags; /* int */
151 uarg[3] = (intptr_t) p->data; /* caddr_t */
152 *n_args = 4;
153 break;
154 }
155 /* unmount */
156 case 22: {
157 struct unmount_args *p = params;
158 uarg[0] = (intptr_t) p->path; /* char * */
159 iarg[1] = p->flags; /* int */
160 *n_args = 2;
161 break;
162 }
163 /* setuid */
164 case 23: {
165 struct setuid_args *p = params;
166 uarg[0] = p->uid; /* uid_t */
167 *n_args = 1;
168 break;
169 }
170 /* getuid */
171 case 24: {
172 *n_args = 0;
173 break;
174 }
175 /* geteuid */
176 case 25: {
177 *n_args = 0;
178 break;
179 }
180 /* ptrace */
181 case 26: {
182 struct ptrace_args *p = params;
183 iarg[0] = p->req; /* int */
184 iarg[1] = p->pid; /* pid_t */
185 uarg[2] = (intptr_t) p->addr; /* caddr_t */
186 iarg[3] = p->data; /* int */
187 *n_args = 4;
188 break;
189 }
190 /* freebsd32_recvmsg */
191 case 27: {
192 struct freebsd32_recvmsg_args *p = params;
193 iarg[0] = p->s; /* int */
194 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
195 iarg[2] = p->flags; /* int */
196 *n_args = 3;
197 break;
198 }
199 /* freebsd32_sendmsg */
200 case 28: {
201 struct freebsd32_sendmsg_args *p = params;
202 iarg[0] = p->s; /* int */
203 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
204 iarg[2] = p->flags; /* int */
205 *n_args = 3;
206 break;
207 }
208 /* freebsd32_recvfrom */
209 case 29: {
210 struct freebsd32_recvfrom_args *p = params;
211 iarg[0] = p->s; /* int */
212 uarg[1] = p->buf; /* uint32_t */
213 uarg[2] = p->len; /* uint32_t */
214 iarg[3] = p->flags; /* int */
215 uarg[4] = p->from; /* uint32_t */
216 uarg[5] = p->fromlenaddr; /* uint32_t */
217 *n_args = 6;
218 break;
219 }
220 /* accept */
221 case 30: {
222 struct accept_args *p = params;
223 iarg[0] = p->s; /* int */
224 uarg[1] = (intptr_t) p->name; /* caddr_t */
225 uarg[2] = (intptr_t) p->anamelen; /* int * */
226 *n_args = 3;
227 break;
228 }
229 /* getpeername */
230 case 31: {
231 struct getpeername_args *p = params;
232 iarg[0] = p->fdes; /* int */
233 uarg[1] = (intptr_t) p->asa; /* caddr_t */
234 uarg[2] = (intptr_t) p->alen; /* int * */
235 *n_args = 3;
236 break;
237 }
238 /* getsockname */
239 case 32: {
240 struct getsockname_args *p = params;
241 iarg[0] = p->fdes; /* int */
242 uarg[1] = (intptr_t) p->asa; /* caddr_t */
243 uarg[2] = (intptr_t) p->alen; /* int * */
244 *n_args = 3;
245 break;
246 }
247 /* access */
248 case 33: {
249 struct access_args *p = params;
250 uarg[0] = (intptr_t) p->path; /* char * */
251 iarg[1] = p->amode; /* int */
252 *n_args = 2;
253 break;
254 }
255 /* chflags */
256 case 34: {
257 struct chflags_args *p = params;
258 uarg[0] = (intptr_t) p->path; /* char * */
259 iarg[1] = p->flags; /* int */
260 *n_args = 2;
261 break;
262 }
263 /* fchflags */
264 case 35: {
265 struct fchflags_args *p = params;
266 iarg[0] = p->fd; /* int */
267 iarg[1] = p->flags; /* int */
268 *n_args = 2;
269 break;
270 }
271 /* sync */
272 case 36: {
273 *n_args = 0;
274 break;
275 }
276 /* kill */
277 case 37: {
278 struct kill_args *p = params;
279 iarg[0] = p->pid; /* int */
280 iarg[1] = p->signum; /* int */
281 *n_args = 2;
282 break;
283 }
284 /* getppid */
285 case 39: {
286 *n_args = 0;
287 break;
288 }
289 /* dup */
290 case 41: {
291 struct dup_args *p = params;
292 uarg[0] = p->fd; /* u_int */
293 *n_args = 1;
294 break;
295 }
296 /* pipe */
297 case 42: {
298 *n_args = 0;
299 break;
300 }
301 /* getegid */
302 case 43: {
303 *n_args = 0;
304 break;
305 }
306 /* profil */
307 case 44: {
308 struct profil_args *p = params;
309 uarg[0] = (intptr_t) p->samples; /* caddr_t */
310 uarg[1] = p->size; /* size_t */
311 uarg[2] = p->offset; /* size_t */
312 uarg[3] = p->scale; /* u_int */
313 *n_args = 4;
314 break;
315 }
316 /* ktrace */
317 case 45: {
318 struct ktrace_args *p = params;
319 uarg[0] = (intptr_t) p->fname; /* const char * */
320 iarg[1] = p->ops; /* int */
321 iarg[2] = p->facs; /* int */
322 iarg[3] = p->pid; /* int */
323 *n_args = 4;
324 break;
325 }
326 /* getgid */
327 case 47: {
328 *n_args = 0;
329 break;
330 }
331 /* getlogin */
332 case 49: {
333 struct getlogin_args *p = params;
334 uarg[0] = (intptr_t) p->namebuf; /* char * */
335 uarg[1] = p->namelen; /* u_int */
336 *n_args = 2;
337 break;
338 }
339 /* setlogin */
340 case 50: {
341 struct setlogin_args *p = params;
342 uarg[0] = (intptr_t) p->namebuf; /* char * */
343 *n_args = 1;
344 break;
345 }
346 /* acct */
347 case 51: {
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t) p->path; /* char * */
350 *n_args = 1;
351 break;
352 }
353 /* freebsd32_sigaltstack */
354 case 53: {
355 struct freebsd32_sigaltstack_args *p = params;
356 uarg[0] = (intptr_t) p->ss; /* struct sigaltstack32 * */
357 uarg[1] = (intptr_t) p->oss; /* struct sigaltstack32 * */
358 *n_args = 2;
359 break;
360 }
361 /* freebsd32_ioctl */
362 case 54: {
363 struct freebsd32_ioctl_args *p = params;
364 iarg[0] = p->fd; /* int */
365 uarg[1] = p->com; /* uint32_t */
366 uarg[2] = (intptr_t) p->data; /* struct md_ioctl32 * */
367 *n_args = 3;
368 break;
369 }
370 /* reboot */
371 case 55: {
372 struct reboot_args *p = params;
373 iarg[0] = p->opt; /* int */
374 *n_args = 1;
375 break;
376 }
377 /* revoke */
378 case 56: {
379 struct revoke_args *p = params;
380 uarg[0] = (intptr_t) p->path; /* char * */
381 *n_args = 1;
382 break;
383 }
384 /* symlink */
385 case 57: {
386 struct symlink_args *p = params;
387 uarg[0] = (intptr_t) p->path; /* char * */
388 uarg[1] = (intptr_t) p->link; /* char * */
389 *n_args = 2;
390 break;
391 }
392 /* readlink */
393 case 58: {
394 struct readlink_args *p = params;
395 uarg[0] = (intptr_t) p->path; /* char * */
396 uarg[1] = (intptr_t) p->buf; /* char * */
397 uarg[2] = p->count; /* size_t */
398 *n_args = 3;
399 break;
400 }
401 /* freebsd32_execve */
402 case 59: {
403 struct freebsd32_execve_args *p = params;
404 uarg[0] = (intptr_t) p->fname; /* char * */
405 uarg[1] = (intptr_t) p->argv; /* uint32_t * */
406 uarg[2] = (intptr_t) p->envv; /* uint32_t * */
407 *n_args = 3;
408 break;
409 }
410 /* umask */
411 case 60: {
412 struct umask_args *p = params;
413 iarg[0] = p->newmask; /* int */
414 *n_args = 1;
415 break;
416 }
417 /* chroot */
418 case 61: {
419 struct chroot_args *p = params;
420 uarg[0] = (intptr_t) p->path; /* char * */
421 *n_args = 1;
422 break;
423 }
424 /* msync */
425 case 65: {
426 struct msync_args *p = params;
427 uarg[0] = (intptr_t) p->addr; /* void * */
428 uarg[1] = p->len; /* size_t */
429 iarg[2] = p->flags; /* int */
430 *n_args = 3;
431 break;
432 }
433 /* vfork */
434 case 66: {
435 *n_args = 0;
436 break;
437 }
438 /* sbrk */
439 case 69: {
440 struct sbrk_args *p = params;
441 iarg[0] = p->incr; /* int */
442 *n_args = 1;
443 break;
444 }
445 /* sstk */
446 case 70: {
447 struct sstk_args *p = params;
448 iarg[0] = p->incr; /* int */
449 *n_args = 1;
450 break;
451 }
452 /* ovadvise */
453 case 72: {
454 struct ovadvise_args *p = params;
455 iarg[0] = p->anom; /* int */
456 *n_args = 1;
457 break;
458 }
459 /* munmap */
460 case 73: {
461 struct munmap_args *p = params;
462 uarg[0] = (intptr_t) p->addr; /* void * */
463 uarg[1] = p->len; /* size_t */
464 *n_args = 2;
465 break;
466 }
467 /* freebsd32_mprotect */
468 case 74: {
469 struct freebsd32_mprotect_args *p = params;
470 uarg[0] = (intptr_t) p->addr; /* const void * */
471 uarg[1] = p->len; /* size_t */
472 iarg[2] = p->prot; /* int */
473 *n_args = 3;
474 break;
475 }
476 /* madvise */
477 case 75: {
478 struct madvise_args *p = params;
479 uarg[0] = (intptr_t) p->addr; /* void * */
480 uarg[1] = p->len; /* size_t */
481 iarg[2] = p->behav; /* int */
482 *n_args = 3;
483 break;
484 }
485 /* mincore */
486 case 78: {
487 struct mincore_args *p = params;
488 uarg[0] = (intptr_t) p->addr; /* const void * */
489 uarg[1] = p->len; /* size_t */
490 uarg[2] = (intptr_t) p->vec; /* char * */
491 *n_args = 3;
492 break;
493 }
494 /* getgroups */
495 case 79: {
496 struct getgroups_args *p = params;
497 uarg[0] = p->gidsetsize; /* u_int */
498 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
499 *n_args = 2;
500 break;
501 }
502 /* setgroups */
503 case 80: {
504 struct setgroups_args *p = params;
505 uarg[0] = p->gidsetsize; /* u_int */
506 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
507 *n_args = 2;
508 break;
509 }
510 /* getpgrp */
511 case 81: {
512 *n_args = 0;
513 break;
514 }
515 /* setpgid */
516 case 82: {
517 struct setpgid_args *p = params;
518 iarg[0] = p->pid; /* int */
519 iarg[1] = p->pgid; /* int */
520 *n_args = 2;
521 break;
522 }
523 /* freebsd32_setitimer */
524 case 83: {
525 struct freebsd32_setitimer_args *p = params;
526 uarg[0] = p->which; /* u_int */
527 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
528 uarg[2] = (intptr_t) p->oitv; /* struct itimerval32 * */
529 *n_args = 3;
530 break;
531 }
532 /* swapon */
533 case 85: {
534 struct swapon_args *p = params;
535 uarg[0] = (intptr_t) p->name; /* char * */
536 *n_args = 1;
537 break;
538 }
539 /* freebsd32_getitimer */
540 case 86: {
541 struct freebsd32_getitimer_args *p = params;
542 uarg[0] = p->which; /* u_int */
543 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
544 *n_args = 2;
545 break;
546 }
547 /* getdtablesize */
548 case 89: {
549 *n_args = 0;
550 break;
551 }
552 /* dup2 */
553 case 90: {
554 struct dup2_args *p = params;
555 uarg[0] = p->from; /* u_int */
556 uarg[1] = p->to; /* u_int */
557 *n_args = 2;
558 break;
559 }
560 /* fcntl */
561 case 92: {
562 struct fcntl_args *p = params;
563 iarg[0] = p->fd; /* int */
564 iarg[1] = p->cmd; /* int */
565 iarg[2] = p->arg; /* long */
566 *n_args = 3;
567 break;
568 }
569 /* freebsd32_select */
570 case 93: {
571 struct freebsd32_select_args *p = params;
572 iarg[0] = p->nd; /* int */
573 uarg[1] = (intptr_t) p->in; /* fd_set * */
574 uarg[2] = (intptr_t) p->ou; /* fd_set * */
575 uarg[3] = (intptr_t) p->ex; /* fd_set * */
576 uarg[4] = (intptr_t) p->tv; /* struct timeval32 * */
577 *n_args = 5;
578 break;
579 }
580 /* fsync */
581 case 95: {
582 struct fsync_args *p = params;
583 iarg[0] = p->fd; /* int */
584 *n_args = 1;
585 break;
586 }
587 /* setpriority */
588 case 96: {
589 struct setpriority_args *p = params;
590 iarg[0] = p->which; /* int */
591 iarg[1] = p->who; /* int */
592 iarg[2] = p->prio; /* int */
593 *n_args = 3;
594 break;
595 }
596 /* socket */
597 case 97: {
598 struct socket_args *p = params;
599 iarg[0] = p->domain; /* int */
600 iarg[1] = p->type; /* int */
601 iarg[2] = p->protocol; /* int */
602 *n_args = 3;
603 break;
604 }
605 /* connect */
606 case 98: {
607 struct connect_args *p = params;
608 iarg[0] = p->s; /* int */
609 uarg[1] = (intptr_t) p->name; /* caddr_t */
610 iarg[2] = p->namelen; /* int */
611 *n_args = 3;
612 break;
613 }
614 /* getpriority */
615 case 100: {
616 struct getpriority_args *p = params;
617 iarg[0] = p->which; /* int */
618 iarg[1] = p->who; /* int */
619 *n_args = 2;
620 break;
621 }
622 /* bind */
623 case 104: {
624 struct bind_args *p = params;
625 iarg[0] = p->s; /* int */
626 uarg[1] = (intptr_t) p->name; /* caddr_t */
627 iarg[2] = p->namelen; /* int */
628 *n_args = 3;
629 break;
630 }
631 /* setsockopt */
632 case 105: {
633 struct setsockopt_args *p = params;
634 iarg[0] = p->s; /* int */
635 iarg[1] = p->level; /* int */
636 iarg[2] = p->name; /* int */
637 uarg[3] = (intptr_t) p->val; /* caddr_t */
638 iarg[4] = p->valsize; /* int */
639 *n_args = 5;
640 break;
641 }
642 /* listen */
643 case 106: {
644 struct listen_args *p = params;
645 iarg[0] = p->s; /* int */
646 iarg[1] = p->backlog; /* int */
647 *n_args = 2;
648 break;
649 }
650 /* freebsd32_gettimeofday */
651 case 116: {
652 struct freebsd32_gettimeofday_args *p = params;
653 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
654 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
655 *n_args = 2;
656 break;
657 }
658 /* freebsd32_getrusage */
659 case 117: {
660 struct freebsd32_getrusage_args *p = params;
661 iarg[0] = p->who; /* int */
662 uarg[1] = (intptr_t) p->rusage; /* struct rusage32 * */
663 *n_args = 2;
664 break;
665 }
666 /* getsockopt */
667 case 118: {
668 struct getsockopt_args *p = params;
669 iarg[0] = p->s; /* int */
670 iarg[1] = p->level; /* int */
671 iarg[2] = p->name; /* int */
672 uarg[3] = (intptr_t) p->val; /* caddr_t */
673 uarg[4] = (intptr_t) p->avalsize; /* int * */
674 *n_args = 5;
675 break;
676 }
677 /* freebsd32_readv */
678 case 120: {
679 struct freebsd32_readv_args *p = params;
680 iarg[0] = p->fd; /* int */
681 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
682 uarg[2] = p->iovcnt; /* u_int */
683 *n_args = 3;
684 break;
685 }
686 /* freebsd32_writev */
687 case 121: {
688 struct freebsd32_writev_args *p = params;
689 iarg[0] = p->fd; /* int */
690 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
691 uarg[2] = p->iovcnt; /* u_int */
692 *n_args = 3;
693 break;
694 }
695 /* freebsd32_settimeofday */
696 case 122: {
697 struct freebsd32_settimeofday_args *p = params;
698 uarg[0] = (intptr_t) p->tv; /* struct timeval32 * */
699 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
700 *n_args = 2;
701 break;
702 }
703 /* fchown */
704 case 123: {
705 struct fchown_args *p = params;
706 iarg[0] = p->fd; /* int */
707 iarg[1] = p->uid; /* int */
708 iarg[2] = p->gid; /* int */
709 *n_args = 3;
710 break;
711 }
712 /* fchmod */
713 case 124: {
714 struct fchmod_args *p = params;
715 iarg[0] = p->fd; /* int */
716 iarg[1] = p->mode; /* int */
717 *n_args = 2;
718 break;
719 }
720 /* setreuid */
721 case 126: {
722 struct setreuid_args *p = params;
723 iarg[0] = p->ruid; /* int */
724 iarg[1] = p->euid; /* int */
725 *n_args = 2;
726 break;
727 }
728 /* setregid */
729 case 127: {
730 struct setregid_args *p = params;
731 iarg[0] = p->rgid; /* int */
732 iarg[1] = p->egid; /* int */
733 *n_args = 2;
734 break;
735 }
736 /* rename */
737 case 128: {
738 struct rename_args *p = params;
739 uarg[0] = (intptr_t) p->from; /* char * */
740 uarg[1] = (intptr_t) p->to; /* char * */
741 *n_args = 2;
742 break;
743 }
744 /* flock */
745 case 131: {
746 struct flock_args *p = params;
747 iarg[0] = p->fd; /* int */
748 iarg[1] = p->how; /* int */
749 *n_args = 2;
750 break;
751 }
752 /* mkfifo */
753 case 132: {
754 struct mkfifo_args *p = params;
755 uarg[0] = (intptr_t) p->path; /* char * */
756 iarg[1] = p->mode; /* int */
757 *n_args = 2;
758 break;
759 }
760 /* sendto */
761 case 133: {
762 struct sendto_args *p = params;
763 iarg[0] = p->s; /* int */
764 uarg[1] = (intptr_t) p->buf; /* caddr_t */
765 uarg[2] = p->len; /* size_t */
766 iarg[3] = p->flags; /* int */
767 uarg[4] = (intptr_t) p->to; /* caddr_t */
768 iarg[5] = p->tolen; /* int */
769 *n_args = 6;
770 break;
771 }
772 /* shutdown */
773 case 134: {
774 struct shutdown_args *p = params;
775 iarg[0] = p->s; /* int */
776 iarg[1] = p->how; /* int */
777 *n_args = 2;
778 break;
779 }
780 /* socketpair */
781 case 135: {
782 struct socketpair_args *p = params;
783 iarg[0] = p->domain; /* int */
784 iarg[1] = p->type; /* int */
785 iarg[2] = p->protocol; /* int */
786 uarg[3] = (intptr_t) p->rsv; /* int * */
787 *n_args = 4;
788 break;
789 }
790 /* mkdir */
791 case 136: {
792 struct mkdir_args *p = params;
793 uarg[0] = (intptr_t) p->path; /* char * */
794 iarg[1] = p->mode; /* int */
795 *n_args = 2;
796 break;
797 }
798 /* rmdir */
799 case 137: {
800 struct rmdir_args *p = params;
801 uarg[0] = (intptr_t) p->path; /* char * */
802 *n_args = 1;
803 break;
804 }
805 /* freebsd32_utimes */
806 case 138: {
807 struct freebsd32_utimes_args *p = params;
808 uarg[0] = (intptr_t) p->path; /* char * */
809 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
810 *n_args = 2;
811 break;
812 }
813 /* freebsd32_adjtime */
814 case 140: {
815 struct freebsd32_adjtime_args *p = params;
816 uarg[0] = (intptr_t) p->delta; /* struct timeval32 * */
817 uarg[1] = (intptr_t) p->olddelta; /* struct timeval32 * */
818 *n_args = 2;
819 break;
820 }
821 /* setsid */
822 case 147: {
823 *n_args = 0;
824 break;
825 }
826 /* quotactl */
827 case 148: {
828 struct quotactl_args *p = params;
829 uarg[0] = (intptr_t) p->path; /* char * */
830 iarg[1] = p->cmd; /* int */
831 iarg[2] = p->uid; /* int */
832 uarg[3] = (intptr_t) p->arg; /* caddr_t */
833 *n_args = 4;
834 break;
835 }
836 /* getfh */
837 case 161: {
838 struct getfh_args *p = params;
839 uarg[0] = (intptr_t) p->fname; /* char * */
840 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
841 *n_args = 2;
842 break;
843 }
844 /* freebsd32_sysarch */
845 case 165: {
846 struct freebsd32_sysarch_args *p = params;
847 iarg[0] = p->op; /* int */
848 uarg[1] = (intptr_t) p->parms; /* char * */
849 *n_args = 2;
850 break;
851 }
852 /* rtprio */
853 case 166: {
854 struct rtprio_args *p = params;
855 iarg[0] = p->function; /* int */
856 iarg[1] = p->pid; /* pid_t */
857 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
858 *n_args = 3;
859 break;
860 }
861 /* freebsd32_semsys */
862 case 169: {
863 struct freebsd32_semsys_args *p = params;
864 iarg[0] = p->which; /* int */
865 iarg[1] = p->a2; /* int */
866 iarg[2] = p->a3; /* int */
867 iarg[3] = p->a4; /* int */
868 iarg[4] = p->a5; /* int */
869 *n_args = 5;
870 break;
871 }
872 /* freebsd32_msgsys */
873 case 170: {
874 struct freebsd32_msgsys_args *p = params;
875 iarg[0] = p->which; /* int */
876 iarg[1] = p->a2; /* int */
877 iarg[2] = p->a3; /* int */
878 iarg[3] = p->a4; /* int */
879 iarg[4] = p->a5; /* int */
880 iarg[5] = p->a6; /* int */
881 *n_args = 6;
882 break;
883 }
884 /* freebsd32_shmsys */
885 case 171: {
886 struct freebsd32_shmsys_args *p = params;
887 uarg[0] = p->which; /* uint32_t */
888 uarg[1] = p->a2; /* uint32_t */
889 uarg[2] = p->a3; /* uint32_t */
890 uarg[3] = p->a4; /* uint32_t */
891 *n_args = 4;
892 break;
893 }
894 /* ntp_adjtime */
895 case 176: {
896 struct ntp_adjtime_args *p = params;
897 uarg[0] = (intptr_t) p->tp; /* struct timex * */
898 *n_args = 1;
899 break;
900 }
901 /* setgid */
902 case 181: {
903 struct setgid_args *p = params;
904 iarg[0] = p->gid; /* gid_t */
905 *n_args = 1;
906 break;
907 }
908 /* setegid */
909 case 182: {
910 struct setegid_args *p = params;
911 iarg[0] = p->egid; /* gid_t */
912 *n_args = 1;
913 break;
914 }
915 /* seteuid */
916 case 183: {
917 struct seteuid_args *p = params;
918 uarg[0] = p->euid; /* uid_t */
919 *n_args = 1;
920 break;
921 }
922 /* freebsd32_stat */
923 case 188: {
924 struct freebsd32_stat_args *p = params;
925 uarg[0] = (intptr_t) p->path; /* char * */
926 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
927 *n_args = 2;
928 break;
929 }
930 /* freebsd32_fstat */
931 case 189: {
932 struct freebsd32_fstat_args *p = params;
933 iarg[0] = p->fd; /* int */
934 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
935 *n_args = 2;
936 break;
937 }
938 /* freebsd32_lstat */
939 case 190: {
940 struct freebsd32_lstat_args *p = params;
941 uarg[0] = (intptr_t) p->path; /* char * */
942 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
943 *n_args = 2;
944 break;
945 }
946 /* pathconf */
947 case 191: {
948 struct pathconf_args *p = params;
949 uarg[0] = (intptr_t) p->path; /* char * */
950 iarg[1] = p->name; /* int */
951 *n_args = 2;
952 break;
953 }
954 /* fpathconf */
955 case 192: {
956 struct fpathconf_args *p = params;
957 iarg[0] = p->fd; /* int */
958 iarg[1] = p->name; /* int */
959 *n_args = 2;
960 break;
961 }
962 /* getrlimit */
963 case 194: {
964 struct __getrlimit_args *p = params;
965 uarg[0] = p->which; /* u_int */
966 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
967 *n_args = 2;
968 break;
969 }
970 /* setrlimit */
971 case 195: {
972 struct __setrlimit_args *p = params;
973 uarg[0] = p->which; /* u_int */
974 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
975 *n_args = 2;
976 break;
977 }
978 /* freebsd32_getdirentries */
979 case 196: {
980 struct freebsd32_getdirentries_args *p = params;
981 iarg[0] = p->fd; /* int */
982 uarg[1] = (intptr_t) p->buf; /* char * */
983 uarg[2] = p->count; /* u_int */
984 uarg[3] = (intptr_t) p->basep; /* int32_t * */
985 *n_args = 4;
986 break;
987 }
988 /* nosys */
989 case 198: {
990 *n_args = 0;
991 break;
992 }
993 /* freebsd32_sysctl */
994 case 202: {
995 struct freebsd32_sysctl_args *p = params;
996 uarg[0] = (intptr_t) p->name; /* int * */
997 uarg[1] = p->namelen; /* u_int */
998 uarg[2] = (intptr_t) p->old; /* void * */
999 uarg[3] = (intptr_t) p->oldlenp; /* uint32_t * */
1000 uarg[4] = (intptr_t) p->new; /* void * */
1001 uarg[5] = p->newlen; /* uint32_t */
1002 *n_args = 6;
1003 break;
1004 }
1005 /* mlock */
1006 case 203: {
1007 struct mlock_args *p = params;
1008 uarg[0] = (intptr_t) p->addr; /* const void * */
1009 uarg[1] = p->len; /* size_t */
1010 *n_args = 2;
1011 break;
1012 }
1013 /* munlock */
1014 case 204: {
1015 struct munlock_args *p = params;
1016 uarg[0] = (intptr_t) p->addr; /* const void * */
1017 uarg[1] = p->len; /* size_t */
1018 *n_args = 2;
1019 break;
1020 }
1021 /* undelete */
1022 case 205: {
1023 struct undelete_args *p = params;
1024 uarg[0] = (intptr_t) p->path; /* char * */
1025 *n_args = 1;
1026 break;
1027 }
1028 /* freebsd32_futimes */
1029 case 206: {
1030 struct freebsd32_futimes_args *p = params;
1031 iarg[0] = p->fd; /* int */
1032 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1033 *n_args = 2;
1034 break;
1035 }
1036 /* getpgid */
1037 case 207: {
1038 struct getpgid_args *p = params;
1039 iarg[0] = p->pid; /* pid_t */
1040 *n_args = 1;
1041 break;
1042 }
1043 /* poll */
1044 case 209: {
1045 struct poll_args *p = params;
1046 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1047 uarg[1] = p->nfds; /* u_int */
1048 iarg[2] = p->timeout; /* int */
1049 *n_args = 3;
1050 break;
1051 }
1052 /* lkmnosys */
1053 case 210: {
1054 *n_args = 0;
1055 break;
1056 }
1057 /* lkmnosys */
1058 case 211: {
1059 *n_args = 0;
1060 break;
1061 }
1062 /* lkmnosys */
1063 case 212: {
1064 *n_args = 0;
1065 break;
1066 }
1067 /* lkmnosys */
1068 case 213: {
1069 *n_args = 0;
1070 break;
1071 }
1072 /* lkmnosys */
1073 case 214: {
1074 *n_args = 0;
1075 break;
1076 }
1077 /* lkmnosys */
1078 case 215: {
1079 *n_args = 0;
1080 break;
1081 }
1082 /* lkmnosys */
1083 case 216: {
1084 *n_args = 0;
1085 break;
1086 }
1087 /* lkmnosys */
1088 case 217: {
1089 *n_args = 0;
1090 break;
1091 }
1092 /* lkmnosys */
1093 case 218: {
1094 *n_args = 0;
1095 break;
1096 }
1097 /* lkmnosys */
1098 case 219: {
1099 *n_args = 0;
1100 break;
1101 }
1102 /* semget */
1103 case 221: {
1104 struct semget_args *p = params;
1105 iarg[0] = p->key; /* key_t */
1106 iarg[1] = p->nsems; /* int */
1107 iarg[2] = p->semflg; /* int */
1108 *n_args = 3;
1109 break;
1110 }
1111 /* semop */
1112 case 222: {
1113 struct semop_args *p = params;
1114 iarg[0] = p->semid; /* int */
1115 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1116 uarg[2] = p->nsops; /* u_int */
1117 *n_args = 3;
1118 break;
1119 }
1120 /* msgget */
1121 case 225: {
1122 struct msgget_args *p = params;
1123 iarg[0] = p->key; /* key_t */
1124 iarg[1] = p->msgflg; /* int */
1125 *n_args = 2;
1126 break;
1127 }
1128 /* freebsd32_msgsnd */
1129 case 226: {
1130 struct freebsd32_msgsnd_args *p = params;
1131 iarg[0] = p->msqid; /* int */
1132 uarg[1] = (intptr_t) p->msgp; /* void * */
1133 uarg[2] = p->msgsz; /* size_t */
1134 iarg[3] = p->msgflg; /* int */
1135 *n_args = 4;
1136 break;
1137 }
1138 /* freebsd32_msgrcv */
1139 case 227: {
1140 struct freebsd32_msgrcv_args *p = params;
1141 iarg[0] = p->msqid; /* int */
1142 uarg[1] = (intptr_t) p->msgp; /* void * */
1143 uarg[2] = p->msgsz; /* size_t */
1144 iarg[3] = p->msgtyp; /* long */
1145 iarg[4] = p->msgflg; /* int */
1146 *n_args = 5;
1147 break;
1148 }
1149 /* shmat */
1150 case 228: {
1151 struct shmat_args *p = params;
1152 iarg[0] = p->shmid; /* int */
1153 uarg[1] = (intptr_t) p->shmaddr; /* void * */
1154 iarg[2] = p->shmflg; /* int */
1155 *n_args = 3;
1156 break;
1157 }
1158 /* shmdt */
1159 case 230: {
1160 struct shmdt_args *p = params;
1161 uarg[0] = (intptr_t) p->shmaddr; /* void * */
1162 *n_args = 1;
1163 break;
1164 }
1165 /* shmget */
1166 case 231: {
1167 struct shmget_args *p = params;
1168 iarg[0] = p->key; /* key_t */
1169 iarg[1] = p->size; /* int */
1170 iarg[2] = p->shmflg; /* int */
1171 *n_args = 3;
1172 break;
1173 }
1174 /* freebsd32_clock_gettime */
1175 case 232: {
1176 struct freebsd32_clock_gettime_args *p = params;
1177 iarg[0] = p->clock_id; /* clockid_t */
1178 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1179 *n_args = 2;
1180 break;
1181 }
1182 /* freebsd32_clock_settime */
1183 case 233: {
1184 struct freebsd32_clock_settime_args *p = params;
1185 iarg[0] = p->clock_id; /* clockid_t */
1186 uarg[1] = (intptr_t) p->tp; /* const struct timespec32 * */
1187 *n_args = 2;
1188 break;
1189 }
1190 /* freebsd32_clock_getres */
1191 case 234: {
1192 struct freebsd32_clock_getres_args *p = params;
1193 iarg[0] = p->clock_id; /* clockid_t */
1194 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1195 *n_args = 2;
1196 break;
1197 }
1198 /* freebsd32_nanosleep */
1199 case 240: {
1200 struct freebsd32_nanosleep_args *p = params;
1201 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec32 * */
1202 uarg[1] = (intptr_t) p->rmtp; /* struct timespec32 * */
1203 *n_args = 2;
1204 break;
1205 }
1206 /* ffclock_getcounter */
1207 case 241: {
1208 struct ffclock_getcounter_args *p = params;
1209 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1210 *n_args = 1;
1211 break;
1212 }
1213 /* ffclock_setestimate */
1214 case 242: {
1215 struct ffclock_setestimate_args *p = params;
1216 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1217 *n_args = 1;
1218 break;
1219 }
1220 /* ffclock_getestimate */
1221 case 243: {
1222 struct ffclock_getestimate_args *p = params;
1223 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1224 *n_args = 1;
1225 break;
1226 }
1227 /* minherit */
1228 case 250: {
1229 struct minherit_args *p = params;
1230 uarg[0] = (intptr_t) p->addr; /* void * */
1231 uarg[1] = p->len; /* size_t */
1232 iarg[2] = p->inherit; /* int */
1233 *n_args = 3;
1234 break;
1235 }
1236 /* rfork */
1237 case 251: {
1238 struct rfork_args *p = params;
1239 iarg[0] = p->flags; /* int */
1240 *n_args = 1;
1241 break;
1242 }
1243 /* openbsd_poll */
1244 case 252: {
1245 struct openbsd_poll_args *p = params;
1246 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1247 uarg[1] = p->nfds; /* u_int */
1248 iarg[2] = p->timeout; /* int */
1249 *n_args = 3;
1250 break;
1251 }
1252 /* issetugid */
1253 case 253: {
1254 *n_args = 0;
1255 break;
1256 }
1257 /* lchown */
1258 case 254: {
1259 struct lchown_args *p = params;
1260 uarg[0] = (intptr_t) p->path; /* char * */
1261 iarg[1] = p->uid; /* int */
1262 iarg[2] = p->gid; /* int */
1263 *n_args = 3;
1264 break;
1265 }
1266 /* freebsd32_aio_read */
1267 case 255: {
1268 struct freebsd32_aio_read_args *p = params;
1269 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1270 *n_args = 1;
1271 break;
1272 }
1273 /* freebsd32_aio_write */
1274 case 256: {
1275 struct freebsd32_aio_write_args *p = params;
1276 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1277 *n_args = 1;
1278 break;
1279 }
1280 /* freebsd32_lio_listio */
1281 case 257: {
1282 struct freebsd32_lio_listio_args *p = params;
1283 iarg[0] = p->mode; /* int */
1284 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */
1285 iarg[2] = p->nent; /* int */
1286 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1287 *n_args = 4;
1288 break;
1289 }
1290 /* getdents */
1291 case 272: {
1292 struct getdents_args *p = params;
1293 iarg[0] = p->fd; /* int */
1294 uarg[1] = (intptr_t) p->buf; /* char * */
1295 uarg[2] = p->count; /* size_t */
1296 *n_args = 3;
1297 break;
1298 }
1299 /* lchmod */
1300 case 274: {
1301 struct lchmod_args *p = params;
1302 uarg[0] = (intptr_t) p->path; /* char * */
1303 iarg[1] = p->mode; /* mode_t */
1304 *n_args = 2;
1305 break;
1306 }
1307 /* lchown */
1308 case 275: {
1309 struct lchown_args *p = params;
1310 uarg[0] = (intptr_t) p->path; /* char * */
1311 uarg[1] = p->uid; /* uid_t */
1312 iarg[2] = p->gid; /* gid_t */
1313 *n_args = 3;
1314 break;
1315 }
1316 /* freebsd32_lutimes */
1317 case 276: {
1318 struct freebsd32_lutimes_args *p = params;
1319 uarg[0] = (intptr_t) p->path; /* char * */
1320 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1321 *n_args = 2;
1322 break;
1323 }
1324 /* msync */
1325 case 277: {
1326 struct msync_args *p = params;
1327 uarg[0] = (intptr_t) p->addr; /* void * */
1328 uarg[1] = p->len; /* size_t */
1329 iarg[2] = p->flags; /* int */
1330 *n_args = 3;
1331 break;
1332 }
1333 /* nstat */
1334 case 278: {
1335 struct nstat_args *p = params;
1336 uarg[0] = (intptr_t) p->path; /* char * */
1337 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1338 *n_args = 2;
1339 break;
1340 }
1341 /* nfstat */
1342 case 279: {
1343 struct nfstat_args *p = params;
1344 iarg[0] = p->fd; /* int */
1345 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1346 *n_args = 2;
1347 break;
1348 }
1349 /* nlstat */
1350 case 280: {
1351 struct nlstat_args *p = params;
1352 uarg[0] = (intptr_t) p->path; /* char * */
1353 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1354 *n_args = 2;
1355 break;
1356 }
1357 /* freebsd32_preadv */
1358 case 289: {
1359 struct freebsd32_preadv_args *p = params;
1360 iarg[0] = p->fd; /* int */
1361 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1362 uarg[2] = p->iovcnt; /* u_int */
1363 uarg[3] = p->offset1; /* uint32_t */
1364 uarg[4] = p->offset2; /* uint32_t */
1365 *n_args = 5;
1366 break;
1367 }
1368 /* freebsd32_pwritev */
1369 case 290: {
1370 struct freebsd32_pwritev_args *p = params;
1371 iarg[0] = p->fd; /* int */
1372 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1373 uarg[2] = p->iovcnt; /* u_int */
1374 uarg[3] = p->offset1; /* uint32_t */
1375 uarg[4] = p->offset2; /* uint32_t */
1376 *n_args = 5;
1377 break;
1378 }
1379 /* fhopen */
1380 case 298: {
1381 struct fhopen_args *p = params;
1382 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1383 iarg[1] = p->flags; /* int */
1384 *n_args = 2;
1385 break;
1386 }
1387 /* fhstat */
1388 case 299: {
1389 struct fhstat_args *p = params;
1390 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1391 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1392 *n_args = 2;
1393 break;
1394 }
1395 /* modnext */
1396 case 300: {
1397 struct modnext_args *p = params;
1398 iarg[0] = p->modid; /* int */
1399 *n_args = 1;
1400 break;
1401 }
1402 /* freebsd32_modstat */
1403 case 301: {
1404 struct freebsd32_modstat_args *p = params;
1405 iarg[0] = p->modid; /* int */
1406 uarg[1] = (intptr_t) p->stat; /* struct module_stat32 * */
1407 *n_args = 2;
1408 break;
1409 }
1410 /* modfnext */
1411 case 302: {
1412 struct modfnext_args *p = params;
1413 iarg[0] = p->modid; /* int */
1414 *n_args = 1;
1415 break;
1416 }
1417 /* modfind */
1418 case 303: {
1419 struct modfind_args *p = params;
1420 uarg[0] = (intptr_t) p->name; /* const char * */
1421 *n_args = 1;
1422 break;
1423 }
1424 /* kldload */
1425 case 304: {
1426 struct kldload_args *p = params;
1427 uarg[0] = (intptr_t) p->file; /* const char * */
1428 *n_args = 1;
1429 break;
1430 }
1431 /* kldunload */
1432 case 305: {
1433 struct kldunload_args *p = params;
1434 iarg[0] = p->fileid; /* int */
1435 *n_args = 1;
1436 break;
1437 }
1438 /* kldfind */
1439 case 306: {
1440 struct kldfind_args *p = params;
1441 uarg[0] = (intptr_t) p->file; /* const char * */
1442 *n_args = 1;
1443 break;
1444 }
1445 /* kldnext */
1446 case 307: {
1447 struct kldnext_args *p = params;
1448 iarg[0] = p->fileid; /* int */
1449 *n_args = 1;
1450 break;
1451 }
1452 /* freebsd32_kldstat */
1453 case 308: {
1454 struct freebsd32_kldstat_args *p = params;
1455 iarg[0] = p->fileid; /* int */
1456 uarg[1] = (intptr_t) p->stat; /* struct kld32_file_stat * */
1457 *n_args = 2;
1458 break;
1459 }
1460 /* kldfirstmod */
1461 case 309: {
1462 struct kldfirstmod_args *p = params;
1463 iarg[0] = p->fileid; /* int */
1464 *n_args = 1;
1465 break;
1466 }
1467 /* getsid */
1468 case 310: {
1469 struct getsid_args *p = params;
1470 iarg[0] = p->pid; /* pid_t */
1471 *n_args = 1;
1472 break;
1473 }
1474 /* setresuid */
1475 case 311: {
1476 struct setresuid_args *p = params;
1477 uarg[0] = p->ruid; /* uid_t */
1478 uarg[1] = p->euid; /* uid_t */
1479 uarg[2] = p->suid; /* uid_t */
1480 *n_args = 3;
1481 break;
1482 }
1483 /* setresgid */
1484 case 312: {
1485 struct setresgid_args *p = params;
1486 iarg[0] = p->rgid; /* gid_t */
1487 iarg[1] = p->egid; /* gid_t */
1488 iarg[2] = p->sgid; /* gid_t */
1489 *n_args = 3;
1490 break;
1491 }
1492 /* freebsd32_aio_return */
1493 case 314: {
1494 struct freebsd32_aio_return_args *p = params;
1495 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1496 *n_args = 1;
1497 break;
1498 }
1499 /* freebsd32_aio_suspend */
1500 case 315: {
1501 struct freebsd32_aio_suspend_args *p = params;
1502 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 *const * */
1503 iarg[1] = p->nent; /* int */
1504 uarg[2] = (intptr_t) p->timeout; /* const struct timespec32 * */
1505 *n_args = 3;
1506 break;
1507 }
1508 /* freebsd32_aio_cancel */
1509 case 316: {
1510 struct freebsd32_aio_cancel_args *p = params;
1511 iarg[0] = p->fd; /* int */
1512 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1513 *n_args = 2;
1514 break;
1515 }
1516 /* freebsd32_aio_error */
1517 case 317: {
1518 struct freebsd32_aio_error_args *p = params;
1519 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1520 *n_args = 1;
1521 break;
1522 }
1523 /* freebsd32_oaio_read */
1524 case 318: {
1525 struct freebsd32_oaio_read_args *p = params;
1526 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
1527 *n_args = 1;
1528 break;
1529 }
1530 /* freebsd32_oaio_write */
1531 case 319: {
1532 struct freebsd32_oaio_write_args *p = params;
1533 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
1534 *n_args = 1;
1535 break;
1536 }
1537 /* freebsd32_olio_listio */
1538 case 320: {
1539 struct freebsd32_olio_listio_args *p = params;
1540 iarg[0] = p->mode; /* int */
1541 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb32 *const * */
1542 iarg[2] = p->nent; /* int */
1543 uarg[3] = (intptr_t) p->sig; /* struct osigevent32 * */
1544 *n_args = 4;
1545 break;
1546 }
1547 /* yield */
1548 case 321: {
1549 *n_args = 0;
1550 break;
1551 }
1552 /* mlockall */
1553 case 324: {
1554 struct mlockall_args *p = params;
1555 iarg[0] = p->how; /* int */
1556 *n_args = 1;
1557 break;
1558 }
1559 /* munlockall */
1560 case 325: {
1561 *n_args = 0;
1562 break;
1563 }
1564 /* __getcwd */
1565 case 326: {
1566 struct __getcwd_args *p = params;
1567 uarg[0] = (intptr_t) p->buf; /* u_char * */
1568 uarg[1] = p->buflen; /* u_int */
1569 *n_args = 2;
1570 break;
1571 }
1572 /* sched_setparam */
1573 case 327: {
1574 struct sched_setparam_args *p = params;
1575 iarg[0] = p->pid; /* pid_t */
1576 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1577 *n_args = 2;
1578 break;
1579 }
1580 /* sched_getparam */
1581 case 328: {
1582 struct sched_getparam_args *p = params;
1583 iarg[0] = p->pid; /* pid_t */
1584 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1585 *n_args = 2;
1586 break;
1587 }
1588 /* sched_setscheduler */
1589 case 329: {
1590 struct sched_setscheduler_args *p = params;
1591 iarg[0] = p->pid; /* pid_t */
1592 iarg[1] = p->policy; /* int */
1593 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1594 *n_args = 3;
1595 break;
1596 }
1597 /* sched_getscheduler */
1598 case 330: {
1599 struct sched_getscheduler_args *p = params;
1600 iarg[0] = p->pid; /* pid_t */
1601 *n_args = 1;
1602 break;
1603 }
1604 /* sched_yield */
1605 case 331: {
1606 *n_args = 0;
1607 break;
1608 }
1609 /* sched_get_priority_max */
1610 case 332: {
1611 struct sched_get_priority_max_args *p = params;
1612 iarg[0] = p->policy; /* int */
1613 *n_args = 1;
1614 break;
1615 }
1616 /* sched_get_priority_min */
1617 case 333: {
1618 struct sched_get_priority_min_args *p = params;
1619 iarg[0] = p->policy; /* int */
1620 *n_args = 1;
1621 break;
1622 }
1623 /* sched_rr_get_interval */
1624 case 334: {
1625 struct sched_rr_get_interval_args *p = params;
1626 iarg[0] = p->pid; /* pid_t */
1627 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1628 *n_args = 2;
1629 break;
1630 }
1631 /* utrace */
1632 case 335: {
1633 struct utrace_args *p = params;
1634 uarg[0] = (intptr_t) p->addr; /* const void * */
1635 uarg[1] = p->len; /* size_t */
1636 *n_args = 2;
1637 break;
1638 }
1639 /* kldsym */
1640 case 337: {
1641 struct kldsym_args *p = params;
1642 iarg[0] = p->fileid; /* int */
1643 iarg[1] = p->cmd; /* int */
1644 uarg[2] = (intptr_t) p->data; /* void * */
1645 *n_args = 3;
1646 break;
1647 }
1648 /* freebsd32_jail */
1649 case 338: {
1650 struct freebsd32_jail_args *p = params;
1651 uarg[0] = (intptr_t) p->jail; /* struct jail32 * */
1652 *n_args = 1;
1653 break;
1654 }
1655 /* sigprocmask */
1656 case 340: {
1657 struct sigprocmask_args *p = params;
1658 iarg[0] = p->how; /* int */
1659 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1660 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1661 *n_args = 3;
1662 break;
1663 }
1664 /* sigsuspend */
1665 case 341: {
1666 struct sigsuspend_args *p = params;
1667 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1668 *n_args = 1;
1669 break;
1670 }
1671 /* sigpending */
1672 case 343: {
1673 struct sigpending_args *p = params;
1674 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1675 *n_args = 1;
1676 break;
1677 }
1678 /* freebsd32_sigtimedwait */
1679 case 345: {
1680 struct freebsd32_sigtimedwait_args *p = params;
1681 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1682 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1683 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1684 *n_args = 3;
1685 break;
1686 }
1687 /* freebsd32_sigwaitinfo */
1688 case 346: {
1689 struct freebsd32_sigwaitinfo_args *p = params;
1690 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1691 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1692 *n_args = 2;
1693 break;
1694 }
1695 /* __acl_get_file */
1696 case 347: {
1697 struct __acl_get_file_args *p = params;
1698 uarg[0] = (intptr_t) p->path; /* const char * */
1699 iarg[1] = p->type; /* acl_type_t */
1700 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1701 *n_args = 3;
1702 break;
1703 }
1704 /* __acl_set_file */
1705 case 348: {
1706 struct __acl_set_file_args *p = params;
1707 uarg[0] = (intptr_t) p->path; /* const char * */
1708 iarg[1] = p->type; /* acl_type_t */
1709 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1710 *n_args = 3;
1711 break;
1712 }
1713 /* __acl_get_fd */
1714 case 349: {
1715 struct __acl_get_fd_args *p = params;
1716 iarg[0] = p->filedes; /* int */
1717 iarg[1] = p->type; /* acl_type_t */
1718 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1719 *n_args = 3;
1720 break;
1721 }
1722 /* __acl_set_fd */
1723 case 350: {
1724 struct __acl_set_fd_args *p = params;
1725 iarg[0] = p->filedes; /* int */
1726 iarg[1] = p->type; /* acl_type_t */
1727 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1728 *n_args = 3;
1729 break;
1730 }
1731 /* __acl_delete_file */
1732 case 351: {
1733 struct __acl_delete_file_args *p = params;
1734 uarg[0] = (intptr_t) p->path; /* const char * */
1735 iarg[1] = p->type; /* acl_type_t */
1736 *n_args = 2;
1737 break;
1738 }
1739 /* __acl_delete_fd */
1740 case 352: {
1741 struct __acl_delete_fd_args *p = params;
1742 iarg[0] = p->filedes; /* int */
1743 iarg[1] = p->type; /* acl_type_t */
1744 *n_args = 2;
1745 break;
1746 }
1747 /* __acl_aclcheck_file */
1748 case 353: {
1749 struct __acl_aclcheck_file_args *p = params;
1750 uarg[0] = (intptr_t) p->path; /* const char * */
1751 iarg[1] = p->type; /* acl_type_t */
1752 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1753 *n_args = 3;
1754 break;
1755 }
1756 /* __acl_aclcheck_fd */
1757 case 354: {
1758 struct __acl_aclcheck_fd_args *p = params;
1759 iarg[0] = p->filedes; /* int */
1760 iarg[1] = p->type; /* acl_type_t */
1761 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1762 *n_args = 3;
1763 break;
1764 }
1765 /* extattrctl */
1766 case 355: {
1767 struct extattrctl_args *p = params;
1768 uarg[0] = (intptr_t) p->path; /* const char * */
1769 iarg[1] = p->cmd; /* int */
1770 uarg[2] = (intptr_t) p->filename; /* const char * */
1771 iarg[3] = p->attrnamespace; /* int */
1772 uarg[4] = (intptr_t) p->attrname; /* const char * */
1773 *n_args = 5;
1774 break;
1775 }
1776 /* extattr_set_file */
1777 case 356: {
1778 struct extattr_set_file_args *p = params;
1779 uarg[0] = (intptr_t) p->path; /* const char * */
1780 iarg[1] = p->attrnamespace; /* int */
1781 uarg[2] = (intptr_t) p->attrname; /* const char * */
1782 uarg[3] = (intptr_t) p->data; /* void * */
1783 uarg[4] = p->nbytes; /* size_t */
1784 *n_args = 5;
1785 break;
1786 }
1787 /* extattr_get_file */
1788 case 357: {
1789 struct extattr_get_file_args *p = params;
1790 uarg[0] = (intptr_t) p->path; /* const char * */
1791 iarg[1] = p->attrnamespace; /* int */
1792 uarg[2] = (intptr_t) p->attrname; /* const char * */
1793 uarg[3] = (intptr_t) p->data; /* void * */
1794 uarg[4] = p->nbytes; /* size_t */
1795 *n_args = 5;
1796 break;
1797 }
1798 /* extattr_delete_file */
1799 case 358: {
1800 struct extattr_delete_file_args *p = params;
1801 uarg[0] = (intptr_t) p->path; /* const char * */
1802 iarg[1] = p->attrnamespace; /* int */
1803 uarg[2] = (intptr_t) p->attrname; /* const char * */
1804 *n_args = 3;
1805 break;
1806 }
1807 /* freebsd32_aio_waitcomplete */
1808 case 359: {
1809 struct freebsd32_aio_waitcomplete_args *p = params;
1810 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 ** */
1811 uarg[1] = (intptr_t) p->timeout; /* struct timespec32 * */
1812 *n_args = 2;
1813 break;
1814 }
1815 /* getresuid */
1816 case 360: {
1817 struct getresuid_args *p = params;
1818 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1819 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1820 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1821 *n_args = 3;
1822 break;
1823 }
1824 /* getresgid */
1825 case 361: {
1826 struct getresgid_args *p = params;
1827 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1828 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1829 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1830 *n_args = 3;
1831 break;
1832 }
1833 /* kqueue */
1834 case 362: {
1835 *n_args = 0;
1836 break;
1837 }
1838 /* freebsd32_kevent */
1839 case 363: {
1840 struct freebsd32_kevent_args *p = params;
1841 iarg[0] = p->fd; /* int */
1842 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */
1843 iarg[2] = p->nchanges; /* int */
1844 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */
1845 iarg[4] = p->nevents; /* int */
1846 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */
1847 *n_args = 6;
1848 break;
1849 }
1850 /* extattr_set_fd */
1851 case 371: {
1852 struct extattr_set_fd_args *p = params;
1853 iarg[0] = p->fd; /* int */
1854 iarg[1] = p->attrnamespace; /* int */
1855 uarg[2] = (intptr_t) p->attrname; /* const char * */
1856 uarg[3] = (intptr_t) p->data; /* void * */
1857 uarg[4] = p->nbytes; /* size_t */
1858 *n_args = 5;
1859 break;
1860 }
1861 /* extattr_get_fd */
1862 case 372: {
1863 struct extattr_get_fd_args *p = params;
1864 iarg[0] = p->fd; /* int */
1865 iarg[1] = p->attrnamespace; /* int */
1866 uarg[2] = (intptr_t) p->attrname; /* const char * */
1867 uarg[3] = (intptr_t) p->data; /* void * */
1868 uarg[4] = p->nbytes; /* size_t */
1869 *n_args = 5;
1870 break;
1871 }
1872 /* extattr_delete_fd */
1873 case 373: {
1874 struct extattr_delete_fd_args *p = params;
1875 iarg[0] = p->fd; /* int */
1876 iarg[1] = p->attrnamespace; /* int */
1877 uarg[2] = (intptr_t) p->attrname; /* const char * */
1878 *n_args = 3;
1879 break;
1880 }
1881 /* __setugid */
1882 case 374: {
1883 struct __setugid_args *p = params;
1884 iarg[0] = p->flag; /* int */
1885 *n_args = 1;
1886 break;
1887 }
1888 /* eaccess */
1889 case 376: {
1890 struct eaccess_args *p = params;
1891 uarg[0] = (intptr_t) p->path; /* char * */
1892 iarg[1] = p->amode; /* int */
1893 *n_args = 2;
1894 break;
1895 }
1896 /* freebsd32_nmount */
1897 case 378: {
1898 struct freebsd32_nmount_args *p = params;
1899 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
1900 uarg[1] = p->iovcnt; /* unsigned int */
1901 iarg[2] = p->flags; /* int */
1902 *n_args = 3;
1903 break;
1904 }
1905 /* kenv */
1906 case 390: {
1907 struct kenv_args *p = params;
1908 iarg[0] = p->what; /* int */
1909 uarg[1] = (intptr_t) p->name; /* const char * */
1910 uarg[2] = (intptr_t) p->value; /* char * */
1911 iarg[3] = p->len; /* int */
1912 *n_args = 4;
1913 break;
1914 }
1915 /* lchflags */
1916 case 391: {
1917 struct lchflags_args *p = params;
1918 uarg[0] = (intptr_t) p->path; /* const char * */
1919 iarg[1] = p->flags; /* int */
1920 *n_args = 2;
1921 break;
1922 }
1923 /* uuidgen */
1924 case 392: {
1925 struct uuidgen_args *p = params;
1926 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1927 iarg[1] = p->count; /* int */
1928 *n_args = 2;
1929 break;
1930 }
1931 /* freebsd32_sendfile */
1932 case 393: {
1933 struct freebsd32_sendfile_args *p = params;
1934 iarg[0] = p->fd; /* int */
1935 iarg[1] = p->s; /* int */
1936 uarg[2] = p->offset1; /* uint32_t */
1937 uarg[3] = p->offset2; /* uint32_t */
1938 uarg[4] = p->nbytes; /* size_t */
1939 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
1940 uarg[6] = (intptr_t) p->sbytes; /* off_t * */
1941 iarg[7] = p->flags; /* int */
1942 *n_args = 8;
1943 break;
1944 }
1945 /* getfsstat */
1946 case 395: {
1947 struct getfsstat_args *p = params;
1948 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
1949 iarg[1] = p->bufsize; /* long */
1950 iarg[2] = p->flags; /* int */
1951 *n_args = 3;
1952 break;
1953 }
1954 /* statfs */
1955 case 396: {
1956 struct statfs_args *p = params;
1957 uarg[0] = (intptr_t) p->path; /* char * */
1958 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1959 *n_args = 2;
1960 break;
1961 }
1962 /* fstatfs */
1963 case 397: {
1964 struct fstatfs_args *p = params;
1965 iarg[0] = p->fd; /* int */
1966 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1967 *n_args = 2;
1968 break;
1969 }
1970 /* fhstatfs */
1971 case 398: {
1972 struct fhstatfs_args *p = params;
1973 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1974 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1975 *n_args = 2;
1976 break;
1977 }
1978 /* ksem_close */
1979 case 400: {
1980 struct ksem_close_args *p = params;
1981 iarg[0] = p->id; /* semid_t */
1982 *n_args = 1;
1983 break;
1984 }
1985 /* ksem_post */
1986 case 401: {
1987 struct ksem_post_args *p = params;
1988 iarg[0] = p->id; /* semid_t */
1989 *n_args = 1;
1990 break;
1991 }
1992 /* ksem_wait */
1993 case 402: {
1994 struct ksem_wait_args *p = params;
1995 iarg[0] = p->id; /* semid_t */
1996 *n_args = 1;
1997 break;
1998 }
1999 /* ksem_trywait */
2000 case 403: {
2001 struct ksem_trywait_args *p = params;
2002 iarg[0] = p->id; /* semid_t */
2003 *n_args = 1;
2004 break;
2005 }
2006 /* freebsd32_ksem_init */
2007 case 404: {
2008 struct freebsd32_ksem_init_args *p = params;
2009 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2010 uarg[1] = p->value; /* unsigned int */
2011 *n_args = 2;
2012 break;
2013 }
2014 /* freebsd32_ksem_open */
2015 case 405: {
2016 struct freebsd32_ksem_open_args *p = params;
2017 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2018 uarg[1] = (intptr_t) p->name; /* const char * */
2019 iarg[2] = p->oflag; /* int */
2020 iarg[3] = p->mode; /* mode_t */
2021 uarg[4] = p->value; /* unsigned int */
2022 *n_args = 5;
2023 break;
2024 }
2025 /* ksem_unlink */
2026 case 406: {
2027 struct ksem_unlink_args *p = params;
2028 uarg[0] = (intptr_t) p->name; /* const char * */
2029 *n_args = 1;
2030 break;
2031 }
2032 /* ksem_getvalue */
2033 case 407: {
2034 struct ksem_getvalue_args *p = params;
2035 iarg[0] = p->id; /* semid_t */
2036 uarg[1] = (intptr_t) p->val; /* int * */
2037 *n_args = 2;
2038 break;
2039 }
2040 /* ksem_destroy */
2041 case 408: {
2042 struct ksem_destroy_args *p = params;
2043 iarg[0] = p->id; /* semid_t */
2044 *n_args = 1;
2045 break;
2046 }
2047 /* extattr_set_link */
2048 case 412: {
2049 struct extattr_set_link_args *p = params;
2050 uarg[0] = (intptr_t) p->path; /* const char * */
2051 iarg[1] = p->attrnamespace; /* int */
2052 uarg[2] = (intptr_t) p->attrname; /* const char * */
2053 uarg[3] = (intptr_t) p->data; /* void * */
2054 uarg[4] = p->nbytes; /* size_t */
2055 *n_args = 5;
2056 break;
2057 }
2058 /* extattr_get_link */
2059 case 413: {
2060 struct extattr_get_link_args *p = params;
2061 uarg[0] = (intptr_t) p->path; /* const char * */
2062 iarg[1] = p->attrnamespace; /* int */
2063 uarg[2] = (intptr_t) p->attrname; /* const char * */
2064 uarg[3] = (intptr_t) p->data; /* void * */
2065 uarg[4] = p->nbytes; /* size_t */
2066 *n_args = 5;
2067 break;
2068 }
2069 /* extattr_delete_link */
2070 case 414: {
2071 struct extattr_delete_link_args *p = params;
2072 uarg[0] = (intptr_t) p->path; /* const char * */
2073 iarg[1] = p->attrnamespace; /* int */
2074 uarg[2] = (intptr_t) p->attrname; /* const char * */
2075 *n_args = 3;
2076 break;
2077 }
2078 /* freebsd32_sigaction */
2079 case 416: {
2080 struct freebsd32_sigaction_args *p = params;
2081 iarg[0] = p->sig; /* int */
2082 uarg[1] = (intptr_t) p->act; /* struct sigaction32 * */
2083 uarg[2] = (intptr_t) p->oact; /* struct sigaction32 * */
2084 *n_args = 3;
2085 break;
2086 }
2087 /* freebsd32_sigreturn */
2088 case 417: {
2089 struct freebsd32_sigreturn_args *p = params;
2090 uarg[0] = (intptr_t) p->sigcntxp; /* const struct freebsd32_ucontext * */
2091 *n_args = 1;
2092 break;
2093 }
2094 /* freebsd32_getcontext */
2095 case 421: {
2096 struct freebsd32_getcontext_args *p = params;
2097 uarg[0] = (intptr_t) p->ucp; /* struct freebsd32_ucontext * */
2098 *n_args = 1;
2099 break;
2100 }
2101 /* freebsd32_setcontext */
2102 case 422: {
2103 struct freebsd32_setcontext_args *p = params;
2104 uarg[0] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
2105 *n_args = 1;
2106 break;
2107 }
2108 /* freebsd32_swapcontext */
2109 case 423: {
2110 struct freebsd32_swapcontext_args *p = params;
2111 uarg[0] = (intptr_t) p->oucp; /* struct freebsd32_ucontext * */
2112 uarg[1] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
2113 *n_args = 2;
2114 break;
2115 }
2116 /* __acl_get_link */
2117 case 425: {
2118 struct __acl_get_link_args *p = params;
2119 uarg[0] = (intptr_t) p->path; /* const char * */
2120 iarg[1] = p->type; /* acl_type_t */
2121 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2122 *n_args = 3;
2123 break;
2124 }
2125 /* __acl_set_link */
2126 case 426: {
2127 struct __acl_set_link_args *p = params;
2128 uarg[0] = (intptr_t) p->path; /* const char * */
2129 iarg[1] = p->type; /* acl_type_t */
2130 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2131 *n_args = 3;
2132 break;
2133 }
2134 /* __acl_delete_link */
2135 case 427: {
2136 struct __acl_delete_link_args *p = params;
2137 uarg[0] = (intptr_t) p->path; /* const char * */
2138 iarg[1] = p->type; /* acl_type_t */
2139 *n_args = 2;
2140 break;
2141 }
2142 /* __acl_aclcheck_link */
2143 case 428: {
2144 struct __acl_aclcheck_link_args *p = params;
2145 uarg[0] = (intptr_t) p->path; /* const char * */
2146 iarg[1] = p->type; /* acl_type_t */
2147 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2148 *n_args = 3;
2149 break;
2150 }
2151 /* sigwait */
2152 case 429: {
2153 struct sigwait_args *p = params;
2154 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2155 uarg[1] = (intptr_t) p->sig; /* int * */
2156 *n_args = 2;
2157 break;
2158 }
2159 /* thr_exit */
2160 case 431: {
2161 struct thr_exit_args *p = params;
2162 uarg[0] = (intptr_t) p->state; /* long * */
2163 *n_args = 1;
2164 break;
2165 }
2166 /* thr_self */
2167 case 432: {
2168 struct thr_self_args *p = params;
2169 uarg[0] = (intptr_t) p->id; /* long * */
2170 *n_args = 1;
2171 break;
2172 }
2173 /* thr_kill */
2174 case 433: {
2175 struct thr_kill_args *p = params;
2176 iarg[0] = p->id; /* long */
2177 iarg[1] = p->sig; /* int */
2178 *n_args = 2;
2179 break;
2180 }
2181 /* freebsd32_umtx_lock */
2182 case 434: {
2183 struct freebsd32_umtx_lock_args *p = params;
2184 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2185 *n_args = 1;
2186 break;
2187 }
2188 /* freebsd32_umtx_unlock */
2189 case 435: {
2190 struct freebsd32_umtx_unlock_args *p = params;
2191 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2192 *n_args = 1;
2193 break;
2194 }
2195 /* jail_attach */
2196 case 436: {
2197 struct jail_attach_args *p = params;
2198 iarg[0] = p->jid; /* int */
2199 *n_args = 1;
2200 break;
2201 }
2202 /* extattr_list_fd */
2203 case 437: {
2204 struct extattr_list_fd_args *p = params;
2205 iarg[0] = p->fd; /* int */
2206 iarg[1] = p->attrnamespace; /* int */
2207 uarg[2] = (intptr_t) p->data; /* void * */
2208 uarg[3] = p->nbytes; /* size_t */
2209 *n_args = 4;
2210 break;
2211 }
2212 /* extattr_list_file */
2213 case 438: {
2214 struct extattr_list_file_args *p = params;
2215 uarg[0] = (intptr_t) p->path; /* const char * */
2216 iarg[1] = p->attrnamespace; /* int */
2217 uarg[2] = (intptr_t) p->data; /* void * */
2218 uarg[3] = p->nbytes; /* size_t */
2219 *n_args = 4;
2220 break;
2221 }
2222 /* extattr_list_link */
2223 case 439: {
2224 struct extattr_list_link_args *p = params;
2225 uarg[0] = (intptr_t) p->path; /* const char * */
2226 iarg[1] = p->attrnamespace; /* int */
2227 uarg[2] = (intptr_t) p->data; /* void * */
2228 uarg[3] = p->nbytes; /* size_t */
2229 *n_args = 4;
2230 break;
2231 }
2232 /* freebsd32_ksem_timedwait */
2233 case 441: {
2234 struct freebsd32_ksem_timedwait_args *p = params;
2235 iarg[0] = p->id; /* semid_t */
2236 uarg[1] = (intptr_t) p->abstime; /* const struct timespec32 * */
2237 *n_args = 2;
2238 break;
2239 }
2240 /* freebsd32_thr_suspend */
2241 case 442: {
2242 struct freebsd32_thr_suspend_args *p = params;
2243 uarg[0] = (intptr_t) p->timeout; /* const struct timespec32 * */
2244 *n_args = 1;
2245 break;
2246 }
2247 /* thr_wake */
2248 case 443: {
2249 struct thr_wake_args *p = params;
2250 iarg[0] = p->id; /* long */
2251 *n_args = 1;
2252 break;
2253 }
2254 /* kldunloadf */
2255 case 444: {
2256 struct kldunloadf_args *p = params;
2257 iarg[0] = p->fileid; /* int */
2258 iarg[1] = p->flags; /* int */
2259 *n_args = 2;
2260 break;
2261 }
2262 /* audit */
2263 case 445: {
2264 struct audit_args *p = params;
2265 uarg[0] = (intptr_t) p->record; /* const void * */
2266 uarg[1] = p->length; /* u_int */
2267 *n_args = 2;
2268 break;
2269 }
2270 /* auditon */
2271 case 446: {
2272 struct auditon_args *p = params;
2273 iarg[0] = p->cmd; /* int */
2274 uarg[1] = (intptr_t) p->data; /* void * */
2275 uarg[2] = p->length; /* u_int */
2276 *n_args = 3;
2277 break;
2278 }
2279 /* getauid */
2280 case 447: {
2281 struct getauid_args *p = params;
2282 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2283 *n_args = 1;
2284 break;
2285 }
2286 /* setauid */
2287 case 448: {
2288 struct setauid_args *p = params;
2289 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2290 *n_args = 1;
2291 break;
2292 }
2293 /* getaudit */
2294 case 449: {
2295 struct getaudit_args *p = params;
2296 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2297 *n_args = 1;
2298 break;
2299 }
2300 /* setaudit */
2301 case 450: {
2302 struct setaudit_args *p = params;
2303 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2304 *n_args = 1;
2305 break;
2306 }
2307 /* getaudit_addr */
2308 case 451: {
2309 struct getaudit_addr_args *p = params;
2310 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2311 uarg[1] = p->length; /* u_int */
2312 *n_args = 2;
2313 break;
2314 }
2315 /* setaudit_addr */
2316 case 452: {
2317 struct setaudit_addr_args *p = params;
2318 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2319 uarg[1] = p->length; /* u_int */
2320 *n_args = 2;
2321 break;
2322 }
2323 /* auditctl */
2324 case 453: {
2325 struct auditctl_args *p = params;
2326 uarg[0] = (intptr_t) p->path; /* char * */
2327 *n_args = 1;
2328 break;
2329 }
2330 /* freebsd32_umtx_op */
2331 case 454: {
2332 struct freebsd32_umtx_op_args *p = params;
2333 uarg[0] = (intptr_t) p->obj; /* void * */
2334 iarg[1] = p->op; /* int */
2335 uarg[2] = p->val; /* u_long */
2336 uarg[3] = (intptr_t) p->uaddr; /* void * */
2337 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2338 *n_args = 5;
2339 break;
2340 }
2341 /* freebsd32_thr_new */
2342 case 455: {
2343 struct freebsd32_thr_new_args *p = params;
2344 uarg[0] = (intptr_t) p->param; /* struct thr_param32 * */
2345 iarg[1] = p->param_size; /* int */
2346 *n_args = 2;
2347 break;
2348 }
2349 /* sigqueue */
2350 case 456: {
2351 struct sigqueue_args *p = params;
2352 iarg[0] = p->pid; /* pid_t */
2353 iarg[1] = p->signum; /* int */
2354 uarg[2] = (intptr_t) p->value; /* void * */
2355 *n_args = 3;
2356 break;
2357 }
2358 /* freebsd32_kmq_open */
2359 case 457: {
2360 struct freebsd32_kmq_open_args *p = params;
2361 uarg[0] = (intptr_t) p->path; /* const char * */
2362 iarg[1] = p->flags; /* int */
2363 iarg[2] = p->mode; /* mode_t */
2364 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2365 *n_args = 4;
2366 break;
2367 }
2368 /* freebsd32_kmq_setattr */
2369 case 458: {
2370 struct freebsd32_kmq_setattr_args *p = params;
2371 iarg[0] = p->mqd; /* int */
2372 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2373 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr32 * */
2374 *n_args = 3;
2375 break;
2376 }
2377 /* freebsd32_kmq_timedreceive */
2378 case 459: {
2379 struct freebsd32_kmq_timedreceive_args *p = params;
2380 iarg[0] = p->mqd; /* int */
2381 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2382 uarg[2] = p->msg_len; /* size_t */
2383 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2384 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2385 *n_args = 5;
2386 break;
2387 }
2388 /* freebsd32_kmq_timedsend */
2389 case 460: {
2390 struct freebsd32_kmq_timedsend_args *p = params;
2391 iarg[0] = p->mqd; /* int */
2392 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2393 uarg[2] = p->msg_len; /* size_t */
2394 uarg[3] = p->msg_prio; /* unsigned */
2395 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2396 *n_args = 5;
2397 break;
2398 }
2399 /* kmq_notify */
2400 case 461: {
2401 struct kmq_notify_args *p = params;
2402 iarg[0] = p->mqd; /* int */
2403 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2404 *n_args = 2;
2405 break;
2406 }
2407 /* kmq_unlink */
2408 case 462: {
2409 struct kmq_unlink_args *p = params;
2410 uarg[0] = (intptr_t) p->path; /* const char * */
2411 *n_args = 1;
2412 break;
2413 }
2414 /* abort2 */
2415 case 463: {
2416 struct abort2_args *p = params;
2417 uarg[0] = (intptr_t) p->why; /* const char * */
2418 iarg[1] = p->nargs; /* int */
2419 uarg[2] = (intptr_t) p->args; /* void ** */
2420 *n_args = 3;
2421 break;
2422 }
2423 /* thr_set_name */
2424 case 464: {
2425 struct thr_set_name_args *p = params;
2426 iarg[0] = p->id; /* long */
2427 uarg[1] = (intptr_t) p->name; /* const char * */
2428 *n_args = 2;
2429 break;
2430 }
2431 /* freebsd32_aio_fsync */
2432 case 465: {
2433 struct freebsd32_aio_fsync_args *p = params;
2434 iarg[0] = p->op; /* int */
2435 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
2436 *n_args = 2;
2437 break;
2438 }
2439 /* rtprio_thread */
2440 case 466: {
2441 struct rtprio_thread_args *p = params;
2442 iarg[0] = p->function; /* int */
2443 iarg[1] = p->lwpid; /* lwpid_t */
2444 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2445 *n_args = 3;
2446 break;
2447 }
2448 /* sctp_peeloff */
2449 case 471: {
2450 struct sctp_peeloff_args *p = params;
2451 iarg[0] = p->sd; /* int */
2452 uarg[1] = p->name; /* uint32_t */
2453 *n_args = 2;
2454 break;
2455 }
2456 /* sctp_generic_sendmsg */
2457 case 472: {
2458 struct sctp_generic_sendmsg_args *p = params;
2459 iarg[0] = p->sd; /* int */
2460 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2461 iarg[2] = p->mlen; /* int */
2462 uarg[3] = (intptr_t) p->to; /* caddr_t */
2463 iarg[4] = p->tolen; /* __socklen_t */
2464 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2465 iarg[6] = p->flags; /* int */
2466 *n_args = 7;
2467 break;
2468 }
2469 /* sctp_generic_sendmsg_iov */
2470 case 473: {
2471 struct sctp_generic_sendmsg_iov_args *p = params;
2472 iarg[0] = p->sd; /* int */
2473 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2474 iarg[2] = p->iovlen; /* int */
2475 uarg[3] = (intptr_t) p->to; /* caddr_t */
2476 iarg[4] = p->tolen; /* __socklen_t */
2477 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2478 iarg[6] = p->flags; /* int */
2479 *n_args = 7;
2480 break;
2481 }
2482 /* sctp_generic_recvmsg */
2483 case 474: {
2484 struct sctp_generic_recvmsg_args *p = params;
2485 iarg[0] = p->sd; /* int */
2486 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2487 iarg[2] = p->iovlen; /* int */
2488 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2489 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2490 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2491 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2492 *n_args = 7;
2493 break;
2494 }
2495#ifdef PAD64_REQUIRED
2496 /* freebsd32_pread */
2497 case 475: {
2498 struct freebsd32_pread_args *p = params;
2499 iarg[0] = p->fd; /* int */
2500 uarg[1] = (intptr_t) p->buf; /* void * */
2501 uarg[2] = p->nbyte; /* size_t */
2502 iarg[3] = p->pad; /* int */
2503 uarg[4] = p->offset1; /* uint32_t */
2504 uarg[5] = p->offset2; /* uint32_t */
2505 *n_args = 6;
2506 break;
2507 }
2508 /* freebsd32_pwrite */
2509 case 476: {
2510 struct freebsd32_pwrite_args *p = params;
2511 iarg[0] = p->fd; /* int */
2512 uarg[1] = (intptr_t) p->buf; /* const void * */
2513 uarg[2] = p->nbyte; /* size_t */
2514 iarg[3] = p->pad; /* int */
2515 uarg[4] = p->offset1; /* uint32_t */
2516 uarg[5] = p->offset2; /* uint32_t */
2517 *n_args = 6;
2518 break;
2519 }
2520 /* freebsd32_mmap */
2521 case 477: {
2522 struct freebsd32_mmap_args *p = params;
2523 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2524 uarg[1] = p->len; /* size_t */
2525 iarg[2] = p->prot; /* int */
2526 iarg[3] = p->flags; /* int */
2527 iarg[4] = p->fd; /* int */
2528 iarg[5] = p->pad; /* int */
2529 uarg[6] = p->pos1; /* uint32_t */
2530 uarg[7] = p->pos2; /* uint32_t */
2531 *n_args = 8;
2532 break;
2533 }
2534 /* freebsd32_lseek */
2535 case 478: {
2536 struct freebsd32_lseek_args *p = params;
2537 iarg[0] = p->fd; /* int */
2538 iarg[1] = p->pad; /* int */
2539 uarg[2] = p->offset1; /* uint32_t */
2540 uarg[3] = p->offset2; /* uint32_t */
2541 iarg[4] = p->whence; /* int */
2542 *n_args = 5;
2543 break;
2544 }
2545 /* freebsd32_truncate */
2546 case 479: {
2547 struct freebsd32_truncate_args *p = params;
2548 uarg[0] = (intptr_t) p->path; /* char * */
2549 iarg[1] = p->pad; /* int */
2550 uarg[2] = p->length1; /* uint32_t */
2551 uarg[3] = p->length2; /* uint32_t */
2552 *n_args = 4;
2553 break;
2554 }
2555 /* freebsd32_ftruncate */
2556 case 480: {
2557 struct freebsd32_ftruncate_args *p = params;
2558 iarg[0] = p->fd; /* int */
2559 iarg[1] = p->pad; /* int */
2560 uarg[2] = p->length1; /* uint32_t */
2561 uarg[3] = p->length2; /* uint32_t */
2562 *n_args = 4;
2563 break;
2564 }
2565#else
2566 /* freebsd32_pread */
2567 case 475: {
2568 struct freebsd32_pread_args *p = params;
2569 iarg[0] = p->fd; /* int */
2570 uarg[1] = (intptr_t) p->buf; /* void * */
2571 uarg[2] = p->nbyte; /* size_t */
2572 uarg[3] = p->offset1; /* uint32_t */
2573 uarg[4] = p->offset2; /* uint32_t */
2574 *n_args = 5;
2575 break;
2576 }
2577 /* freebsd32_pwrite */
2578 case 476: {
2579 struct freebsd32_pwrite_args *p = params;
2580 iarg[0] = p->fd; /* int */
2581 uarg[1] = (intptr_t) p->buf; /* const void * */
2582 uarg[2] = p->nbyte; /* size_t */
2583 uarg[3] = p->offset1; /* uint32_t */
2584 uarg[4] = p->offset2; /* uint32_t */
2585 *n_args = 5;
2586 break;
2587 }
2588 /* freebsd32_mmap */
2589 case 477: {
2590 struct freebsd32_mmap_args *p = params;
2591 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2592 uarg[1] = p->len; /* size_t */
2593 iarg[2] = p->prot; /* int */
2594 iarg[3] = p->flags; /* int */
2595 iarg[4] = p->fd; /* int */
2596 uarg[5] = p->pos1; /* uint32_t */
2597 uarg[6] = p->pos2; /* uint32_t */
2598 *n_args = 7;
2599 break;
2600 }
2601 /* freebsd32_lseek */
2602 case 478: {
2603 struct freebsd32_lseek_args *p = params;
2604 iarg[0] = p->fd; /* int */
2605 uarg[1] = p->offset1; /* uint32_t */
2606 uarg[2] = p->offset2; /* uint32_t */
2607 iarg[3] = p->whence; /* int */
2608 *n_args = 4;
2609 break;
2610 }
2611 /* freebsd32_truncate */
2612 case 479: {
2613 struct freebsd32_truncate_args *p = params;
2614 uarg[0] = (intptr_t) p->path; /* char * */
2615 uarg[1] = p->length1; /* uint32_t */
2616 uarg[2] = p->length2; /* uint32_t */
2617 *n_args = 3;
2618 break;
2619 }
2620 /* freebsd32_ftruncate */
2621 case 480: {
2622 struct freebsd32_ftruncate_args *p = params;
2623 iarg[0] = p->fd; /* int */
2624 uarg[1] = p->length1; /* uint32_t */
2625 uarg[2] = p->length2; /* uint32_t */
2626 *n_args = 3;
2627 break;
2628 }
2629#endif
2630 /* thr_kill2 */
2631 case 481: {
2632 struct thr_kill2_args *p = params;
2633 iarg[0] = p->pid; /* pid_t */
2634 iarg[1] = p->id; /* long */
2635 iarg[2] = p->sig; /* int */
2636 *n_args = 3;
2637 break;
2638 }
2639 /* shm_open */
2640 case 482: {
2641 struct shm_open_args *p = params;
2642 uarg[0] = (intptr_t) p->path; /* const char * */
2643 iarg[1] = p->flags; /* int */
2644 iarg[2] = p->mode; /* mode_t */
2645 *n_args = 3;
2646 break;
2647 }
2648 /* shm_unlink */
2649 case 483: {
2650 struct shm_unlink_args *p = params;
2651 uarg[0] = (intptr_t) p->path; /* const char * */
2652 *n_args = 1;
2653 break;
2654 }
2655 /* cpuset */
2656 case 484: {
2657 struct cpuset_args *p = params;
2658 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2659 *n_args = 1;
2660 break;
2661 }
2662#ifdef PAD64_REQUIRED
2663 /* freebsd32_cpuset_setid */
2664 case 485: {
2665 struct freebsd32_cpuset_setid_args *p = params;
2666 iarg[0] = p->which; /* cpuwhich_t */
2667 iarg[1] = p->pad; /* int */
2668 uarg[2] = p->id1; /* uint32_t */
2669 uarg[3] = p->id2; /* uint32_t */
2670 iarg[4] = p->setid; /* cpusetid_t */
2671 *n_args = 5;
2672 break;
2673 }
2674#else
2675 /* freebsd32_cpuset_setid */
2676 case 485: {
2677 struct freebsd32_cpuset_setid_args *p = params;
2678 iarg[0] = p->which; /* cpuwhich_t */
2679 uarg[1] = p->id1; /* uint32_t */
2680 uarg[2] = p->id2; /* uint32_t */
2681 iarg[3] = p->setid; /* cpusetid_t */
2682 *n_args = 4;
2683 break;
2684 }
2685#endif
2686 /* freebsd32_cpuset_getid */
2687 case 486: {
2688 struct freebsd32_cpuset_getid_args *p = params;
2689 iarg[0] = p->level; /* cpulevel_t */
2690 iarg[1] = p->which; /* cpuwhich_t */
2691 uarg[2] = p->id1; /* uint32_t */
2692 uarg[3] = p->id2; /* uint32_t */
2693 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */
2694 *n_args = 5;
2695 break;
2696 }
2697 /* freebsd32_cpuset_getaffinity */
2698 case 487: {
2699 struct freebsd32_cpuset_getaffinity_args *p = params;
2700 iarg[0] = p->level; /* cpulevel_t */
2701 iarg[1] = p->which; /* cpuwhich_t */
2702 uarg[2] = p->id1; /* uint32_t */
2703 uarg[3] = p->id2; /* uint32_t */
2704 uarg[4] = p->cpusetsize; /* size_t */
2705 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */
2706 *n_args = 6;
2707 break;
2708 }
2709 /* freebsd32_cpuset_setaffinity */
2710 case 488: {
2711 struct freebsd32_cpuset_setaffinity_args *p = params;
2712 iarg[0] = p->level; /* cpulevel_t */
2713 iarg[1] = p->which; /* cpuwhich_t */
2714 uarg[2] = p->id1; /* uint32_t */
2715 uarg[3] = p->id2; /* uint32_t */
2716 uarg[4] = p->cpusetsize; /* size_t */
2717 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */
2718 *n_args = 6;
2719 break;
2720 }
2721 /* faccessat */
2722 case 489: {
2723 struct faccessat_args *p = params;
2724 iarg[0] = p->fd; /* int */
2725 uarg[1] = (intptr_t) p->path; /* char * */
2726 iarg[2] = p->amode; /* int */
2727 iarg[3] = p->flag; /* int */
2728 *n_args = 4;
2729 break;
2730 }
2731 /* fchmodat */
2732 case 490: {
2733 struct fchmodat_args *p = params;
2734 iarg[0] = p->fd; /* int */
2735 uarg[1] = (intptr_t) p->path; /* const char * */
2736 iarg[2] = p->mode; /* mode_t */
2737 iarg[3] = p->flag; /* int */
2738 *n_args = 4;
2739 break;
2740 }
2741 /* fchownat */
2742 case 491: {
2743 struct fchownat_args *p = params;
2744 iarg[0] = p->fd; /* int */
2745 uarg[1] = (intptr_t) p->path; /* char * */
2746 uarg[2] = p->uid; /* uid_t */
2747 iarg[3] = p->gid; /* gid_t */
2748 iarg[4] = p->flag; /* int */
2749 *n_args = 5;
2750 break;
2751 }
2752 /* freebsd32_fexecve */
2753 case 492: {
2754 struct freebsd32_fexecve_args *p = params;
2755 iarg[0] = p->fd; /* int */
2756 uarg[1] = (intptr_t) p->argv; /* uint32_t * */
2757 uarg[2] = (intptr_t) p->envv; /* uint32_t * */
2758 *n_args = 3;
2759 break;
2760 }
2761 /* freebsd32_fstatat */
2762 case 493: {
2763 struct freebsd32_fstatat_args *p = params;
2764 iarg[0] = p->fd; /* int */
2765 uarg[1] = (intptr_t) p->path; /* char * */
2766 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2767 iarg[3] = p->flag; /* int */
2768 *n_args = 4;
2769 break;
2770 }
2771 /* freebsd32_futimesat */
2772 case 494: {
2773 struct freebsd32_futimesat_args *p = params;
2774 iarg[0] = p->fd; /* int */
2775 uarg[1] = (intptr_t) p->path; /* char * */
2776 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2777 *n_args = 3;
2778 break;
2779 }
2780 /* linkat */
2781 case 495: {
2782 struct linkat_args *p = params;
2783 iarg[0] = p->fd1; /* int */
2784 uarg[1] = (intptr_t) p->path1; /* char * */
2785 iarg[2] = p->fd2; /* int */
2786 uarg[3] = (intptr_t) p->path2; /* char * */
2787 iarg[4] = p->flag; /* int */
2788 *n_args = 5;
2789 break;
2790 }
2791 /* mkdirat */
2792 case 496: {
2793 struct mkdirat_args *p = params;
2794 iarg[0] = p->fd; /* int */
2795 uarg[1] = (intptr_t) p->path; /* char * */
2796 iarg[2] = p->mode; /* mode_t */
2797 *n_args = 3;
2798 break;
2799 }
2800 /* mkfifoat */
2801 case 497: {
2802 struct mkfifoat_args *p = params;
2803 iarg[0] = p->fd; /* int */
2804 uarg[1] = (intptr_t) p->path; /* char * */
2805 iarg[2] = p->mode; /* mode_t */
2806 *n_args = 3;
2807 break;
2808 }
2809 /* mknodat */
2810 case 498: {
2811 struct mknodat_args *p = params;
2812 iarg[0] = p->fd; /* int */
2813 uarg[1] = (intptr_t) p->path; /* char * */
2814 iarg[2] = p->mode; /* mode_t */
2815 iarg[3] = p->dev; /* dev_t */
2816 *n_args = 4;
2817 break;
2818 }
2819 /* openat */
2820 case 499: {
2821 struct openat_args *p = params;
2822 iarg[0] = p->fd; /* int */
2823 uarg[1] = (intptr_t) p->path; /* char * */
2824 iarg[2] = p->flag; /* int */
2825 iarg[3] = p->mode; /* mode_t */
2826 *n_args = 4;
2827 break;
2828 }
2829 /* readlinkat */
2830 case 500: {
2831 struct readlinkat_args *p = params;
2832 iarg[0] = p->fd; /* int */
2833 uarg[1] = (intptr_t) p->path; /* char * */
2834 uarg[2] = (intptr_t) p->buf; /* char * */
2835 uarg[3] = p->bufsize; /* size_t */
2836 *n_args = 4;
2837 break;
2838 }
2839 /* renameat */
2840 case 501: {
2841 struct renameat_args *p = params;
2842 iarg[0] = p->oldfd; /* int */
2843 uarg[1] = (intptr_t) p->old; /* char * */
2844 iarg[2] = p->newfd; /* int */
2845 uarg[3] = (intptr_t) p->new; /* const char * */
2846 *n_args = 4;
2847 break;
2848 }
2849 /* symlinkat */
2850 case 502: {
2851 struct symlinkat_args *p = params;
2852 uarg[0] = (intptr_t) p->path1; /* char * */
2853 iarg[1] = p->fd; /* int */
2854 uarg[2] = (intptr_t) p->path2; /* char * */
2855 *n_args = 3;
2856 break;
2857 }
2858 /* unlinkat */
2859 case 503: {
2860 struct unlinkat_args *p = params;
2861 iarg[0] = p->fd; /* int */
2862 uarg[1] = (intptr_t) p->path; /* char * */
2863 iarg[2] = p->flag; /* int */
2864 *n_args = 3;
2865 break;
2866 }
2867 /* posix_openpt */
2868 case 504: {
2869 struct posix_openpt_args *p = params;
2870 iarg[0] = p->flags; /* int */
2871 *n_args = 1;
2872 break;
2873 }
2874 /* freebsd32_jail_get */
2875 case 506: {
2876 struct freebsd32_jail_get_args *p = params;
2877 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2878 uarg[1] = p->iovcnt; /* unsigned int */
2879 iarg[2] = p->flags; /* int */
2880 *n_args = 3;
2881 break;
2882 }
2883 /* freebsd32_jail_set */
2884 case 507: {
2885 struct freebsd32_jail_set_args *p = params;
2886 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2887 uarg[1] = p->iovcnt; /* unsigned int */
2888 iarg[2] = p->flags; /* int */
2889 *n_args = 3;
2890 break;
2891 }
2892 /* jail_remove */
2893 case 508: {
2894 struct jail_remove_args *p = params;
2895 iarg[0] = p->jid; /* int */
2896 *n_args = 1;
2897 break;
2898 }
2899 /* closefrom */
2900 case 509: {
2901 struct closefrom_args *p = params;
2902 iarg[0] = p->lowfd; /* int */
2903 *n_args = 1;
2904 break;
2905 }
2906 /* freebsd32_semctl */
2907 case 510: {
2908 struct freebsd32_semctl_args *p = params;
2909 iarg[0] = p->semid; /* int */
2910 iarg[1] = p->semnum; /* int */
2911 iarg[2] = p->cmd; /* int */
2912 uarg[3] = (intptr_t) p->arg; /* union semun32 * */
2913 *n_args = 4;
2914 break;
2915 }
2916 /* freebsd32_msgctl */
2917 case 511: {
2918 struct freebsd32_msgctl_args *p = params;
2919 iarg[0] = p->msqid; /* int */
2920 iarg[1] = p->cmd; /* int */
2921 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */
2922 *n_args = 3;
2923 break;
2924 }
2925 /* freebsd32_shmctl */
2926 case 512: {
2927 struct freebsd32_shmctl_args *p = params;
2928 iarg[0] = p->shmid; /* int */
2929 iarg[1] = p->cmd; /* int */
2930 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */
2931 *n_args = 3;
2932 break;
2933 }
2934 /* lpathconf */
2935 case 513: {
2936 struct lpathconf_args *p = params;
2937 uarg[0] = (intptr_t) p->path; /* char * */
2938 iarg[1] = p->name; /* int */
2939 *n_args = 2;
2940 break;
2941 }
2942 /* cap_new */
2943 case 514: {
2944 struct cap_new_args *p = params;
2945 iarg[0] = p->fd; /* int */
2946 uarg[1] = p->rights; /* uint64_t */
2947 *n_args = 2;
2948 break;
2949 }
2950 /* cap_getrights */
2951 case 515: {
2952 struct cap_getrights_args *p = params;
2953 iarg[0] = p->fd; /* int */
2954 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
2955 *n_args = 2;
2956 break;
2957 }
2958 /* cap_enter */
2959 case 516: {
2960 *n_args = 0;
2961 break;
2962 }
2963 /* cap_getmode */
2964 case 517: {
2965 struct cap_getmode_args *p = params;
2966 uarg[0] = (intptr_t) p->modep; /* u_int * */
2967 *n_args = 1;
2968 break;
2969 }
2970 /* freebsd32_pselect */
2971 case 522: {
2972 struct freebsd32_pselect_args *p = params;
2973 iarg[0] = p->nd; /* int */
2974 uarg[1] = (intptr_t) p->in; /* fd_set * */
2975 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2976 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2977 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */
2978 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2979 *n_args = 6;
2980 break;
2981 }
2982 /* getloginclass */
2983 case 523: {
2984 struct getloginclass_args *p = params;
2985 uarg[0] = (intptr_t) p->namebuf; /* char * */
2986 uarg[1] = p->namelen; /* size_t */
2987 *n_args = 2;
2988 break;
2989 }
2990 /* setloginclass */
2991 case 524: {
2992 struct setloginclass_args *p = params;
2993 uarg[0] = (intptr_t) p->namebuf; /* const char * */
2994 *n_args = 1;
2995 break;
2996 }
2997 /* rctl_get_racct */
2998 case 525: {
2999 struct rctl_get_racct_args *p = params;
3000 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3001 uarg[1] = p->inbuflen; /* size_t */
3002 uarg[2] = (intptr_t) p->outbufp; /* void * */
3003 uarg[3] = p->outbuflen; /* size_t */
3004 *n_args = 4;
3005 break;
3006 }
3007 /* rctl_get_rules */
3008 case 526: {
3009 struct rctl_get_rules_args *p = params;
3010 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3011 uarg[1] = p->inbuflen; /* size_t */
3012 uarg[2] = (intptr_t) p->outbufp; /* void * */
3013 uarg[3] = p->outbuflen; /* size_t */
3014 *n_args = 4;
3015 break;
3016 }
3017 /* rctl_get_limits */
3018 case 527: {
3019 struct rctl_get_limits_args *p = params;
3020 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3021 uarg[1] = p->inbuflen; /* size_t */
3022 uarg[2] = (intptr_t) p->outbufp; /* void * */
3023 uarg[3] = p->outbuflen; /* size_t */
3024 *n_args = 4;
3025 break;
3026 }
3027 /* rctl_add_rule */
3028 case 528: {
3029 struct rctl_add_rule_args *p = params;
3030 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3031 uarg[1] = p->inbuflen; /* size_t */
3032 uarg[2] = (intptr_t) p->outbufp; /* void * */
3033 uarg[3] = p->outbuflen; /* size_t */
3034 *n_args = 4;
3035 break;
3036 }
3037 /* rctl_remove_rule */
3038 case 529: {
3039 struct rctl_remove_rule_args *p = params;
3040 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3041 uarg[1] = p->inbuflen; /* size_t */
3042 uarg[2] = (intptr_t) p->outbufp; /* void * */
3043 uarg[3] = p->outbuflen; /* size_t */
3044 *n_args = 4;
3045 break;
3046 }
3047 /* freebsd32_posix_fallocate */
3048 case 530: {
3049 struct freebsd32_posix_fallocate_args *p = params;
3050 iarg[0] = p->fd; /* int */
3051 uarg[1] = p->offset1; /* uint32_t */
3052 uarg[2] = p->offset2; /* uint32_t */
3053 uarg[3] = p->len1; /* uint32_t */
3054 uarg[4] = p->len2; /* uint32_t */
3055 *n_args = 5;
3056 break;
3057 }
3058 /* freebsd32_posix_fadvise */
3059 case 531: {
3060 struct freebsd32_posix_fadvise_args *p = params;
3061 iarg[0] = p->fd; /* int */
3062 uarg[1] = p->offset1; /* uint32_t */
3063 uarg[2] = p->offset2; /* uint32_t */
3064 uarg[3] = p->len1; /* uint32_t */
3065 uarg[4] = p->len2; /* uint32_t */
3066 iarg[5] = p->advice; /* int */
3067 *n_args = 6;
3068 break;
3069 }
3070 default:
3071 *n_args = 0;
3072 break;
3073 };
3074}
3075static void
3076systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3077{
3078 const char *p = NULL;
3079 switch (sysnum) {
3080#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
3081#define PAD64_REQUIRED
3082#endif
3083 /* nosys */
3084 case 0:
3085 break;
3086 /* sys_exit */
3087 case 1:
3088 switch(ndx) {
3089 case 0:
3090 p = "int";
3091 break;
3092 default:
3093 break;
3094 };
3095 break;
3096 /* fork */
3097 case 2:
3098 break;
3099 /* read */
3100 case 3:
3101 switch(ndx) {
3102 case 0:
3103 p = "int";
3104 break;
3105 case 1:
3106 p = "void *";
3107 break;
3108 case 2:
3109 p = "size_t";
3110 break;
3111 default:
3112 break;
3113 };
3114 break;
3115 /* write */
3116 case 4:
3117 switch(ndx) {
3118 case 0:
3119 p = "int";
3120 break;
3121 case 1:
3122 p = "const void *";
3123 break;
3124 case 2:
3125 p = "size_t";
3126 break;
3127 default:
3128 break;
3129 };
3130 break;
3131 /* open */
3132 case 5:
3133 switch(ndx) {
3134 case 0:
3135 p = "char *";
3136 break;
3137 case 1:
3138 p = "int";
3139 break;
3140 case 2:
3141 p = "int";
3142 break;
3143 default:
3144 break;
3145 };
3146 break;
3147 /* close */
3148 case 6:
3149 switch(ndx) {
3150 case 0:
3151 p = "int";
3152 break;
3153 default:
3154 break;
3155 };
3156 break;
3157 /* freebsd32_wait4 */
3158 case 7:
3159 switch(ndx) {
3160 case 0:
3161 p = "int";
3162 break;
3163 case 1:
3164 p = "int *";
3165 break;
3166 case 2:
3167 p = "int";
3168 break;
3169 case 3:
3170 p = "struct rusage32 *";
3171 break;
3172 default:
3173 break;
3174 };
3175 break;
3176 /* link */
3177 case 9:
3178 switch(ndx) {
3179 case 0:
3180 p = "char *";
3181 break;
3182 case 1:
3183 p = "char *";
3184 break;
3185 default:
3186 break;
3187 };
3188 break;
3189 /* unlink */
3190 case 10:
3191 switch(ndx) {
3192 case 0:
3193 p = "char *";
3194 break;
3195 default:
3196 break;
3197 };
3198 break;
3199 /* chdir */
3200 case 12:
3201 switch(ndx) {
3202 case 0:
3203 p = "char *";
3204 break;
3205 default:
3206 break;
3207 };
3208 break;
3209 /* fchdir */
3210 case 13:
3211 switch(ndx) {
3212 case 0:
3213 p = "int";
3214 break;
3215 default:
3216 break;
3217 };
3218 break;
3219 /* mknod */
3220 case 14:
3221 switch(ndx) {
3222 case 0:
3223 p = "char *";
3224 break;
3225 case 1:
3226 p = "int";
3227 break;
3228 case 2:
3229 p = "int";
3230 break;
3231 default:
3232 break;
3233 };
3234 break;
3235 /* chmod */
3236 case 15:
3237 switch(ndx) {
3238 case 0:
3239 p = "char *";
3240 break;
3241 case 1:
3242 p = "int";
3243 break;
3244 default:
3245 break;
3246 };
3247 break;
3248 /* chown */
3249 case 16:
3250 switch(ndx) {
3251 case 0:
3252 p = "char *";
3253 break;
3254 case 1:
3255 p = "int";
3256 break;
3257 case 2:
3258 p = "int";
3259 break;
3260 default:
3261 break;
3262 };
3263 break;
3264 /* obreak */
3265 case 17:
3266 switch(ndx) {
3267 case 0:
3268 p = "char *";
3269 break;
3270 default:
3271 break;
3272 };
3273 break;
3274 /* getpid */
3275 case 20:
3276 break;
3277 /* mount */
3278 case 21:
3279 switch(ndx) {
3280 case 0:
3281 p = "char *";
3282 break;
3283 case 1:
3284 p = "char *";
3285 break;
3286 case 2:
3287 p = "int";
3288 break;
3289 case 3:
3290 p = "caddr_t";
3291 break;
3292 default:
3293 break;
3294 };
3295 break;
3296 /* unmount */
3297 case 22:
3298 switch(ndx) {
3299 case 0:
3300 p = "char *";
3301 break;
3302 case 1:
3303 p = "int";
3304 break;
3305 default:
3306 break;
3307 };
3308 break;
3309 /* setuid */
3310 case 23:
3311 switch(ndx) {
3312 case 0:
3313 p = "uid_t";
3314 break;
3315 default:
3316 break;
3317 };
3318 break;
3319 /* getuid */
3320 case 24:
3321 break;
3322 /* geteuid */
3323 case 25:
3324 break;
3325 /* ptrace */
3326 case 26:
3327 switch(ndx) {
3328 case 0:
3329 p = "int";
3330 break;
3331 case 1:
3332 p = "pid_t";
3333 break;
3334 case 2:
3335 p = "caddr_t";
3336 break;
3337 case 3:
3338 p = "int";
3339 break;
3340 default:
3341 break;
3342 };
3343 break;
3344 /* freebsd32_recvmsg */
3345 case 27:
3346 switch(ndx) {
3347 case 0:
3348 p = "int";
3349 break;
3350 case 1:
3351 p = "struct msghdr32 *";
3352 break;
3353 case 2:
3354 p = "int";
3355 break;
3356 default:
3357 break;
3358 };
3359 break;
3360 /* freebsd32_sendmsg */
3361 case 28:
3362 switch(ndx) {
3363 case 0:
3364 p = "int";
3365 break;
3366 case 1:
3367 p = "struct msghdr32 *";
3368 break;
3369 case 2:
3370 p = "int";
3371 break;
3372 default:
3373 break;
3374 };
3375 break;
3376 /* freebsd32_recvfrom */
3377 case 29:
3378 switch(ndx) {
3379 case 0:
3380 p = "int";
3381 break;
3382 case 1:
3383 p = "uint32_t";
3384 break;
3385 case 2:
3386 p = "uint32_t";
3387 break;
3388 case 3:
3389 p = "int";
3390 break;
3391 case 4:
3392 p = "uint32_t";
3393 break;
3394 case 5:
3395 p = "uint32_t";
3396 break;
3397 default:
3398 break;
3399 };
3400 break;
3401 /* accept */
3402 case 30:
3403 switch(ndx) {
3404 case 0:
3405 p = "int";
3406 break;
3407 case 1:
3408 p = "caddr_t";
3409 break;
3410 case 2:
3411 p = "int *";
3412 break;
3413 default:
3414 break;
3415 };
3416 break;
3417 /* getpeername */
3418 case 31:
3419 switch(ndx) {
3420 case 0:
3421 p = "int";
3422 break;
3423 case 1:
3424 p = "caddr_t";
3425 break;
3426 case 2:
3427 p = "int *";
3428 break;
3429 default:
3430 break;
3431 };
3432 break;
3433 /* getsockname */
3434 case 32:
3435 switch(ndx) {
3436 case 0:
3437 p = "int";
3438 break;
3439 case 1:
3440 p = "caddr_t";
3441 break;
3442 case 2:
3443 p = "int *";
3444 break;
3445 default:
3446 break;
3447 };
3448 break;
3449 /* access */
3450 case 33:
3451 switch(ndx) {
3452 case 0:
3453 p = "char *";
3454 break;
3455 case 1:
3456 p = "int";
3457 break;
3458 default:
3459 break;
3460 };
3461 break;
3462 /* chflags */
3463 case 34:
3464 switch(ndx) {
3465 case 0:
3466 p = "char *";
3467 break;
3468 case 1:
3469 p = "int";
3470 break;
3471 default:
3472 break;
3473 };
3474 break;
3475 /* fchflags */
3476 case 35:
3477 switch(ndx) {
3478 case 0:
3479 p = "int";
3480 break;
3481 case 1:
3482 p = "int";
3483 break;
3484 default:
3485 break;
3486 };
3487 break;
3488 /* sync */
3489 case 36:
3490 break;
3491 /* kill */
3492 case 37:
3493 switch(ndx) {
3494 case 0:
3495 p = "int";
3496 break;
3497 case 1:
3498 p = "int";
3499 break;
3500 default:
3501 break;
3502 };
3503 break;
3504 /* getppid */
3505 case 39:
3506 break;
3507 /* dup */
3508 case 41:
3509 switch(ndx) {
3510 case 0:
3511 p = "u_int";
3512 break;
3513 default:
3514 break;
3515 };
3516 break;
3517 /* pipe */
3518 case 42:
3519 break;
3520 /* getegid */
3521 case 43:
3522 break;
3523 /* profil */
3524 case 44:
3525 switch(ndx) {
3526 case 0:
3527 p = "caddr_t";
3528 break;
3529 case 1:
3530 p = "size_t";
3531 break;
3532 case 2:
3533 p = "size_t";
3534 break;
3535 case 3:
3536 p = "u_int";
3537 break;
3538 default:
3539 break;
3540 };
3541 break;
3542 /* ktrace */
3543 case 45:
3544 switch(ndx) {
3545 case 0:
3546 p = "const char *";
3547 break;
3548 case 1:
3549 p = "int";
3550 break;
3551 case 2:
3552 p = "int";
3553 break;
3554 case 3:
3555 p = "int";
3556 break;
3557 default:
3558 break;
3559 };
3560 break;
3561 /* getgid */
3562 case 47:
3563 break;
3564 /* getlogin */
3565 case 49:
3566 switch(ndx) {
3567 case 0:
3568 p = "char *";
3569 break;
3570 case 1:
3571 p = "u_int";
3572 break;
3573 default:
3574 break;
3575 };
3576 break;
3577 /* setlogin */
3578 case 50:
3579 switch(ndx) {
3580 case 0:
3581 p = "char *";
3582 break;
3583 default:
3584 break;
3585 };
3586 break;
3587 /* acct */
3588 case 51:
3589 switch(ndx) {
3590 case 0:
3591 p = "char *";
3592 break;
3593 default:
3594 break;
3595 };
3596 break;
3597 /* freebsd32_sigaltstack */
3598 case 53:
3599 switch(ndx) {
3600 case 0:
3601 p = "struct sigaltstack32 *";
3602 break;
3603 case 1:
3604 p = "struct sigaltstack32 *";
3605 break;
3606 default:
3607 break;
3608 };
3609 break;
3610 /* freebsd32_ioctl */
3611 case 54:
3612 switch(ndx) {
3613 case 0:
3614 p = "int";
3615 break;
3616 case 1:
3617 p = "uint32_t";
3618 break;
3619 case 2:
3620 p = "struct md_ioctl32 *";
3621 break;
3622 default:
3623 break;
3624 };
3625 break;
3626 /* reboot */
3627 case 55:
3628 switch(ndx) {
3629 case 0:
3630 p = "int";
3631 break;
3632 default:
3633 break;
3634 };
3635 break;
3636 /* revoke */
3637 case 56:
3638 switch(ndx) {
3639 case 0:
3640 p = "char *";
3641 break;
3642 default:
3643 break;
3644 };
3645 break;
3646 /* symlink */
3647 case 57:
3648 switch(ndx) {
3649 case 0:
3650 p = "char *";
3651 break;
3652 case 1:
3653 p = "char *";
3654 break;
3655 default:
3656 break;
3657 };
3658 break;
3659 /* readlink */
3660 case 58:
3661 switch(ndx) {
3662 case 0:
3663 p = "char *";
3664 break;
3665 case 1:
3666 p = "char *";
3667 break;
3668 case 2:
3669 p = "size_t";
3670 break;
3671 default:
3672 break;
3673 };
3674 break;
3675 /* freebsd32_execve */
3676 case 59:
3677 switch(ndx) {
3678 case 0:
3679 p = "char *";
3680 break;
3681 case 1:
3682 p = "uint32_t *";
3683 break;
3684 case 2:
3685 p = "uint32_t *";
3686 break;
3687 default:
3688 break;
3689 };
3690 break;
3691 /* umask */
3692 case 60:
3693 switch(ndx) {
3694 case 0:
3695 p = "int";
3696 break;
3697 default:
3698 break;
3699 };
3700 break;
3701 /* chroot */
3702 case 61:
3703 switch(ndx) {
3704 case 0:
3705 p = "char *";
3706 break;
3707 default:
3708 break;
3709 };
3710 break;
3711 /* msync */
3712 case 65:
3713 switch(ndx) {
3714 case 0:
3715 p = "void *";
3716 break;
3717 case 1:
3718 p = "size_t";
3719 break;
3720 case 2:
3721 p = "int";
3722 break;
3723 default:
3724 break;
3725 };
3726 break;
3727 /* vfork */
3728 case 66:
3729 break;
3730 /* sbrk */
3731 case 69:
3732 switch(ndx) {
3733 case 0:
3734 p = "int";
3735 break;
3736 default:
3737 break;
3738 };
3739 break;
3740 /* sstk */
3741 case 70:
3742 switch(ndx) {
3743 case 0:
3744 p = "int";
3745 break;
3746 default:
3747 break;
3748 };
3749 break;
3750 /* ovadvise */
3751 case 72:
3752 switch(ndx) {
3753 case 0:
3754 p = "int";
3755 break;
3756 default:
3757 break;
3758 };
3759 break;
3760 /* munmap */
3761 case 73:
3762 switch(ndx) {
3763 case 0:
3764 p = "void *";
3765 break;
3766 case 1:
3767 p = "size_t";
3768 break;
3769 default:
3770 break;
3771 };
3772 break;
3773 /* freebsd32_mprotect */
3774 case 74:
3775 switch(ndx) {
3776 case 0:
3777 p = "const void *";
3778 break;
3779 case 1:
3780 p = "size_t";
3781 break;
3782 case 2:
3783 p = "int";
3784 break;
3785 default:
3786 break;
3787 };
3788 break;
3789 /* madvise */
3790 case 75:
3791 switch(ndx) {
3792 case 0:
3793 p = "void *";
3794 break;
3795 case 1:
3796 p = "size_t";
3797 break;
3798 case 2:
3799 p = "int";
3800 break;
3801 default:
3802 break;
3803 };
3804 break;
3805 /* mincore */
3806 case 78:
3807 switch(ndx) {
3808 case 0:
3809 p = "const void *";
3810 break;
3811 case 1:
3812 p = "size_t";
3813 break;
3814 case 2:
3815 p = "char *";
3816 break;
3817 default:
3818 break;
3819 };
3820 break;
3821 /* getgroups */
3822 case 79:
3823 switch(ndx) {
3824 case 0:
3825 p = "u_int";
3826 break;
3827 case 1:
3828 p = "gid_t *";
3829 break;
3830 default:
3831 break;
3832 };
3833 break;
3834 /* setgroups */
3835 case 80:
3836 switch(ndx) {
3837 case 0:
3838 p = "u_int";
3839 break;
3840 case 1:
3841 p = "gid_t *";
3842 break;
3843 default:
3844 break;
3845 };
3846 break;
3847 /* getpgrp */
3848 case 81:
3849 break;
3850 /* setpgid */
3851 case 82:
3852 switch(ndx) {
3853 case 0:
3854 p = "int";
3855 break;
3856 case 1:
3857 p = "int";
3858 break;
3859 default:
3860 break;
3861 };
3862 break;
3863 /* freebsd32_setitimer */
3864 case 83:
3865 switch(ndx) {
3866 case 0:
3867 p = "u_int";
3868 break;
3869 case 1:
3870 p = "struct itimerval32 *";
3871 break;
3872 case 2:
3873 p = "struct itimerval32 *";
3874 break;
3875 default:
3876 break;
3877 };
3878 break;
3879 /* swapon */
3880 case 85:
3881 switch(ndx) {
3882 case 0:
3883 p = "char *";
3884 break;
3885 default:
3886 break;
3887 };
3888 break;
3889 /* freebsd32_getitimer */
3890 case 86:
3891 switch(ndx) {
3892 case 0:
3893 p = "u_int";
3894 break;
3895 case 1:
3896 p = "struct itimerval32 *";
3897 break;
3898 default:
3899 break;
3900 };
3901 break;
3902 /* getdtablesize */
3903 case 89:
3904 break;
3905 /* dup2 */
3906 case 90:
3907 switch(ndx) {
3908 case 0:
3909 p = "u_int";
3910 break;
3911 case 1:
3912 p = "u_int";
3913 break;
3914 default:
3915 break;
3916 };
3917 break;
3918 /* fcntl */
3919 case 92:
3920 switch(ndx) {
3921 case 0:
3922 p = "int";
3923 break;
3924 case 1:
3925 p = "int";
3926 break;
3927 case 2:
3928 p = "long";
3929 break;
3930 default:
3931 break;
3932 };
3933 break;
3934 /* freebsd32_select */
3935 case 93:
3936 switch(ndx) {
3937 case 0:
3938 p = "int";
3939 break;
3940 case 1:
3941 p = "fd_set *";
3942 break;
3943 case 2:
3944 p = "fd_set *";
3945 break;
3946 case 3:
3947 p = "fd_set *";
3948 break;
3949 case 4:
3950 p = "struct timeval32 *";
3951 break;
3952 default:
3953 break;
3954 };
3955 break;
3956 /* fsync */
3957 case 95:
3958 switch(ndx) {
3959 case 0:
3960 p = "int";
3961 break;
3962 default:
3963 break;
3964 };
3965 break;
3966 /* setpriority */
3967 case 96:
3968 switch(ndx) {
3969 case 0:
3970 p = "int";
3971 break;
3972 case 1:
3973 p = "int";
3974 break;
3975 case 2:
3976 p = "int";
3977 break;
3978 default:
3979 break;
3980 };
3981 break;
3982 /* socket */
3983 case 97:
3984 switch(ndx) {
3985 case 0:
3986 p = "int";
3987 break;
3988 case 1:
3989 p = "int";
3990 break;
3991 case 2:
3992 p = "int";
3993 break;
3994 default:
3995 break;
3996 };
3997 break;
3998 /* connect */
3999 case 98:
4000 switch(ndx) {
4001 case 0:
4002 p = "int";
4003 break;
4004 case 1:
4005 p = "caddr_t";
4006 break;
4007 case 2:
4008 p = "int";
4009 break;
4010 default:
4011 break;
4012 };
4013 break;
4014 /* getpriority */
4015 case 100:
4016 switch(ndx) {
4017 case 0:
4018 p = "int";
4019 break;
4020 case 1:
4021 p = "int";
4022 break;
4023 default:
4024 break;
4025 };
4026 break;
4027 /* bind */
4028 case 104:
4029 switch(ndx) {
4030 case 0:
4031 p = "int";
4032 break;
4033 case 1:
4034 p = "caddr_t";
4035 break;
4036 case 2:
4037 p = "int";
4038 break;
4039 default:
4040 break;
4041 };
4042 break;
4043 /* setsockopt */
4044 case 105:
4045 switch(ndx) {
4046 case 0:
4047 p = "int";
4048 break;
4049 case 1:
4050 p = "int";
4051 break;
4052 case 2:
4053 p = "int";
4054 break;
4055 case 3:
4056 p = "caddr_t";
4057 break;
4058 case 4:
4059 p = "int";
4060 break;
4061 default:
4062 break;
4063 };
4064 break;
4065 /* listen */
4066 case 106:
4067 switch(ndx) {
4068 case 0:
4069 p = "int";
4070 break;
4071 case 1:
4072 p = "int";
4073 break;
4074 default:
4075 break;
4076 };
4077 break;
4078 /* freebsd32_gettimeofday */
4079 case 116:
4080 switch(ndx) {
4081 case 0:
4082 p = "struct timeval32 *";
4083 break;
4084 case 1:
4085 p = "struct timezone *";
4086 break;
4087 default:
4088 break;
4089 };
4090 break;
4091 /* freebsd32_getrusage */
4092 case 117:
4093 switch(ndx) {
4094 case 0:
4095 p = "int";
4096 break;
4097 case 1:
4098 p = "struct rusage32 *";
4099 break;
4100 default:
4101 break;
4102 };
4103 break;
4104 /* getsockopt */
4105 case 118:
4106 switch(ndx) {
4107 case 0:
4108 p = "int";
4109 break;
4110 case 1:
4111 p = "int";
4112 break;
4113 case 2:
4114 p = "int";
4115 break;
4116 case 3:
4117 p = "caddr_t";
4118 break;
4119 case 4:
4120 p = "int *";
4121 break;
4122 default:
4123 break;
4124 };
4125 break;
4126 /* freebsd32_readv */
4127 case 120:
4128 switch(ndx) {
4129 case 0:
4130 p = "int";
4131 break;
4132 case 1:
4133 p = "struct iovec32 *";
4134 break;
4135 case 2:
4136 p = "u_int";
4137 break;
4138 default:
4139 break;
4140 };
4141 break;
4142 /* freebsd32_writev */
4143 case 121:
4144 switch(ndx) {
4145 case 0:
4146 p = "int";
4147 break;
4148 case 1:
4149 p = "struct iovec32 *";
4150 break;
4151 case 2:
4152 p = "u_int";
4153 break;
4154 default:
4155 break;
4156 };
4157 break;
4158 /* freebsd32_settimeofday */
4159 case 122:
4160 switch(ndx) {
4161 case 0:
4162 p = "struct timeval32 *";
4163 break;
4164 case 1:
4165 p = "struct timezone *";
4166 break;
4167 default:
4168 break;
4169 };
4170 break;
4171 /* fchown */
4172 case 123:
4173 switch(ndx) {
4174 case 0:
4175 p = "int";
4176 break;
4177 case 1:
4178 p = "int";
4179 break;
4180 case 2:
4181 p = "int";
4182 break;
4183 default:
4184 break;
4185 };
4186 break;
4187 /* fchmod */
4188 case 124:
4189 switch(ndx) {
4190 case 0:
4191 p = "int";
4192 break;
4193 case 1:
4194 p = "int";
4195 break;
4196 default:
4197 break;
4198 };
4199 break;
4200 /* setreuid */
4201 case 126:
4202 switch(ndx) {
4203 case 0:
4204 p = "int";
4205 break;
4206 case 1:
4207 p = "int";
4208 break;
4209 default:
4210 break;
4211 };
4212 break;
4213 /* setregid */
4214 case 127:
4215 switch(ndx) {
4216 case 0:
4217 p = "int";
4218 break;
4219 case 1:
4220 p = "int";
4221 break;
4222 default:
4223 break;
4224 };
4225 break;
4226 /* rename */
4227 case 128:
4228 switch(ndx) {
4229 case 0:
4230 p = "char *";
4231 break;
4232 case 1:
4233 p = "char *";
4234 break;
4235 default:
4236 break;
4237 };
4238 break;
4239 /* flock */
4240 case 131:
4241 switch(ndx) {
4242 case 0:
4243 p = "int";
4244 break;
4245 case 1:
4246 p = "int";
4247 break;
4248 default:
4249 break;
4250 };
4251 break;
4252 /* mkfifo */
4253 case 132:
4254 switch(ndx) {
4255 case 0:
4256 p = "char *";
4257 break;
4258 case 1:
4259 p = "int";
4260 break;
4261 default:
4262 break;
4263 };
4264 break;
4265 /* sendto */
4266 case 133:
4267 switch(ndx) {
4268 case 0:
4269 p = "int";
4270 break;
4271 case 1:
4272 p = "caddr_t";
4273 break;
4274 case 2:
4275 p = "size_t";
4276 break;
4277 case 3:
4278 p = "int";
4279 break;
4280 case 4:
4281 p = "caddr_t";
4282 break;
4283 case 5:
4284 p = "int";
4285 break;
4286 default:
4287 break;
4288 };
4289 break;
4290 /* shutdown */
4291 case 134:
4292 switch(ndx) {
4293 case 0:
4294 p = "int";
4295 break;
4296 case 1:
4297 p = "int";
4298 break;
4299 default:
4300 break;
4301 };
4302 break;
4303 /* socketpair */
4304 case 135:
4305 switch(ndx) {
4306 case 0:
4307 p = "int";
4308 break;
4309 case 1:
4310 p = "int";
4311 break;
4312 case 2:
4313 p = "int";
4314 break;
4315 case 3:
4316 p = "int *";
4317 break;
4318 default:
4319 break;
4320 };
4321 break;
4322 /* mkdir */
4323 case 136:
4324 switch(ndx) {
4325 case 0:
4326 p = "char *";
4327 break;
4328 case 1:
4329 p = "int";
4330 break;
4331 default:
4332 break;
4333 };
4334 break;
4335 /* rmdir */
4336 case 137:
4337 switch(ndx) {
4338 case 0:
4339 p = "char *";
4340 break;
4341 default:
4342 break;
4343 };
4344 break;
4345 /* freebsd32_utimes */
4346 case 138:
4347 switch(ndx) {
4348 case 0:
4349 p = "char *";
4350 break;
4351 case 1:
4352 p = "struct timeval32 *";
4353 break;
4354 default:
4355 break;
4356 };
4357 break;
4358 /* freebsd32_adjtime */
4359 case 140:
4360 switch(ndx) {
4361 case 0:
4362 p = "struct timeval32 *";
4363 break;
4364 case 1:
4365 p = "struct timeval32 *";
4366 break;
4367 default:
4368 break;
4369 };
4370 break;
4371 /* setsid */
4372 case 147:
4373 break;
4374 /* quotactl */
4375 case 148:
4376 switch(ndx) {
4377 case 0:
4378 p = "char *";
4379 break;
4380 case 1:
4381 p = "int";
4382 break;
4383 case 2:
4384 p = "int";
4385 break;
4386 case 3:
4387 p = "caddr_t";
4388 break;
4389 default:
4390 break;
4391 };
4392 break;
4393 /* getfh */
4394 case 161:
4395 switch(ndx) {
4396 case 0:
4397 p = "char *";
4398 break;
4399 case 1:
4400 p = "struct fhandle *";
4401 break;
4402 default:
4403 break;
4404 };
4405 break;
4406 /* freebsd32_sysarch */
4407 case 165:
4408 switch(ndx) {
4409 case 0:
4410 p = "int";
4411 break;
4412 case 1:
4413 p = "char *";
4414 break;
4415 default:
4416 break;
4417 };
4418 break;
4419 /* rtprio */
4420 case 166:
4421 switch(ndx) {
4422 case 0:
4423 p = "int";
4424 break;
4425 case 1:
4426 p = "pid_t";
4427 break;
4428 case 2:
4429 p = "struct rtprio *";
4430 break;
4431 default:
4432 break;
4433 };
4434 break;
4435 /* freebsd32_semsys */
4436 case 169:
4437 switch(ndx) {
4438 case 0:
4439 p = "int";
4440 break;
4441 case 1:
4442 p = "int";
4443 break;
4444 case 2:
4445 p = "int";
4446 break;
4447 case 3:
4448 p = "int";
4449 break;
4450 case 4:
4451 p = "int";
4452 break;
4453 default:
4454 break;
4455 };
4456 break;
4457 /* freebsd32_msgsys */
4458 case 170:
4459 switch(ndx) {
4460 case 0:
4461 p = "int";
4462 break;
4463 case 1:
4464 p = "int";
4465 break;
4466 case 2:
4467 p = "int";
4468 break;
4469 case 3:
4470 p = "int";
4471 break;
4472 case 4:
4473 p = "int";
4474 break;
4475 case 5:
4476 p = "int";
4477 break;
4478 default:
4479 break;
4480 };
4481 break;
4482 /* freebsd32_shmsys */
4483 case 171:
4484 switch(ndx) {
4485 case 0:
4486 p = "uint32_t";
4487 break;
4488 case 1:
4489 p = "uint32_t";
4490 break;
4491 case 2:
4492 p = "uint32_t";
4493 break;
4494 case 3:
4495 p = "uint32_t";
4496 break;
4497 default:
4498 break;
4499 };
4500 break;
4501 /* ntp_adjtime */
4502 case 176:
4503 switch(ndx) {
4504 case 0:
4505 p = "struct timex *";
4506 break;
4507 default:
4508 break;
4509 };
4510 break;
4511 /* setgid */
4512 case 181:
4513 switch(ndx) {
4514 case 0:
4515 p = "gid_t";
4516 break;
4517 default:
4518 break;
4519 };
4520 break;
4521 /* setegid */
4522 case 182:
4523 switch(ndx) {
4524 case 0:
4525 p = "gid_t";
4526 break;
4527 default:
4528 break;
4529 };
4530 break;
4531 /* seteuid */
4532 case 183:
4533 switch(ndx) {
4534 case 0:
4535 p = "uid_t";
4536 break;
4537 default:
4538 break;
4539 };
4540 break;
4541 /* freebsd32_stat */
4542 case 188:
4543 switch(ndx) {
4544 case 0:
4545 p = "char *";
4546 break;
4547 case 1:
4548 p = "struct stat32 *";
4549 break;
4550 default:
4551 break;
4552 };
4553 break;
4554 /* freebsd32_fstat */
4555 case 189:
4556 switch(ndx) {
4557 case 0:
4558 p = "int";
4559 break;
4560 case 1:
4561 p = "struct stat32 *";
4562 break;
4563 default:
4564 break;
4565 };
4566 break;
4567 /* freebsd32_lstat */
4568 case 190:
4569 switch(ndx) {
4570 case 0:
4571 p = "char *";
4572 break;
4573 case 1:
4574 p = "struct stat32 *";
4575 break;
4576 default:
4577 break;
4578 };
4579 break;
4580 /* pathconf */
4581 case 191:
4582 switch(ndx) {
4583 case 0:
4584 p = "char *";
4585 break;
4586 case 1:
4587 p = "int";
4588 break;
4589 default:
4590 break;
4591 };
4592 break;
4593 /* fpathconf */
4594 case 192:
4595 switch(ndx) {
4596 case 0:
4597 p = "int";
4598 break;
4599 case 1:
4600 p = "int";
4601 break;
4602 default:
4603 break;
4604 };
4605 break;
4606 /* getrlimit */
4607 case 194:
4608 switch(ndx) {
4609 case 0:
4610 p = "u_int";
4611 break;
4612 case 1:
4613 p = "struct rlimit *";
4614 break;
4615 default:
4616 break;
4617 };
4618 break;
4619 /* setrlimit */
4620 case 195:
4621 switch(ndx) {
4622 case 0:
4623 p = "u_int";
4624 break;
4625 case 1:
4626 p = "struct rlimit *";
4627 break;
4628 default:
4629 break;
4630 };
4631 break;
4632 /* freebsd32_getdirentries */
4633 case 196:
4634 switch(ndx) {
4635 case 0:
4636 p = "int";
4637 break;
4638 case 1:
4639 p = "char *";
4640 break;
4641 case 2:
4642 p = "u_int";
4643 break;
4644 case 3:
4645 p = "int32_t *";
4646 break;
4647 default:
4648 break;
4649 };
4650 break;
4651 /* nosys */
4652 case 198:
4653 break;
4654 /* freebsd32_sysctl */
4655 case 202:
4656 switch(ndx) {
4657 case 0:
4658 p = "int *";
4659 break;
4660 case 1:
4661 p = "u_int";
4662 break;
4663 case 2:
4664 p = "void *";
4665 break;
4666 case 3:
4667 p = "uint32_t *";
4668 break;
4669 case 4:
4670 p = "void *";
4671 break;
4672 case 5:
4673 p = "uint32_t";
4674 break;
4675 default:
4676 break;
4677 };
4678 break;
4679 /* mlock */
4680 case 203:
4681 switch(ndx) {
4682 case 0:
4683 p = "const void *";
4684 break;
4685 case 1:
4686 p = "size_t";
4687 break;
4688 default:
4689 break;
4690 };
4691 break;
4692 /* munlock */
4693 case 204:
4694 switch(ndx) {
4695 case 0:
4696 p = "const void *";
4697 break;
4698 case 1:
4699 p = "size_t";
4700 break;
4701 default:
4702 break;
4703 };
4704 break;
4705 /* undelete */
4706 case 205:
4707 switch(ndx) {
4708 case 0:
4709 p = "char *";
4710 break;
4711 default:
4712 break;
4713 };
4714 break;
4715 /* freebsd32_futimes */
4716 case 206:
4717 switch(ndx) {
4718 case 0:
4719 p = "int";
4720 break;
4721 case 1:
4722 p = "struct timeval32 *";
4723 break;
4724 default:
4725 break;
4726 };
4727 break;
4728 /* getpgid */
4729 case 207:
4730 switch(ndx) {
4731 case 0:
4732 p = "pid_t";
4733 break;
4734 default:
4735 break;
4736 };
4737 break;
4738 /* poll */
4739 case 209:
4740 switch(ndx) {
4741 case 0:
4742 p = "struct pollfd *";
4743 break;
4744 case 1:
4745 p = "u_int";
4746 break;
4747 case 2:
4748 p = "int";
4749 break;
4750 default:
4751 break;
4752 };
4753 break;
4754 /* lkmnosys */
4755 case 210:
4756 break;
4757 /* lkmnosys */
4758 case 211:
4759 break;
4760 /* lkmnosys */
4761 case 212:
4762 break;
4763 /* lkmnosys */
4764 case 213:
4765 break;
4766 /* lkmnosys */
4767 case 214:
4768 break;
4769 /* lkmnosys */
4770 case 215:
4771 break;
4772 /* lkmnosys */
4773 case 216:
4774 break;
4775 /* lkmnosys */
4776 case 217:
4777 break;
4778 /* lkmnosys */
4779 case 218:
4780 break;
4781 /* lkmnosys */
4782 case 219:
4783 break;
4784 /* semget */
4785 case 221:
4786 switch(ndx) {
4787 case 0:
4788 p = "key_t";
4789 break;
4790 case 1:
4791 p = "int";
4792 break;
4793 case 2:
4794 p = "int";
4795 break;
4796 default:
4797 break;
4798 };
4799 break;
4800 /* semop */
4801 case 222:
4802 switch(ndx) {
4803 case 0:
4804 p = "int";
4805 break;
4806 case 1:
4807 p = "struct sembuf *";
4808 break;
4809 case 2:
4810 p = "u_int";
4811 break;
4812 default:
4813 break;
4814 };
4815 break;
4816 /* msgget */
4817 case 225:
4818 switch(ndx) {
4819 case 0:
4820 p = "key_t";
4821 break;
4822 case 1:
4823 p = "int";
4824 break;
4825 default:
4826 break;
4827 };
4828 break;
4829 /* freebsd32_msgsnd */
4830 case 226:
4831 switch(ndx) {
4832 case 0:
4833 p = "int";
4834 break;
4835 case 1:
4836 p = "void *";
4837 break;
4838 case 2:
4839 p = "size_t";
4840 break;
4841 case 3:
4842 p = "int";
4843 break;
4844 default:
4845 break;
4846 };
4847 break;
4848 /* freebsd32_msgrcv */
4849 case 227:
4850 switch(ndx) {
4851 case 0:
4852 p = "int";
4853 break;
4854 case 1:
4855 p = "void *";
4856 break;
4857 case 2:
4858 p = "size_t";
4859 break;
4860 case 3:
4861 p = "long";
4862 break;
4863 case 4:
4864 p = "int";
4865 break;
4866 default:
4867 break;
4868 };
4869 break;
4870 /* shmat */
4871 case 228:
4872 switch(ndx) {
4873 case 0:
4874 p = "int";
4875 break;
4876 case 1:
4877 p = "void *";
4878 break;
4879 case 2:
4880 p = "int";
4881 break;
4882 default:
4883 break;
4884 };
4885 break;
4886 /* shmdt */
4887 case 230:
4888 switch(ndx) {
4889 case 0:
4890 p = "void *";
4891 break;
4892 default:
4893 break;
4894 };
4895 break;
4896 /* shmget */
4897 case 231:
4898 switch(ndx) {
4899 case 0:
4900 p = "key_t";
4901 break;
4902 case 1:
4903 p = "int";
4904 break;
4905 case 2:
4906 p = "int";
4907 break;
4908 default:
4909 break;
4910 };
4911 break;
4912 /* freebsd32_clock_gettime */
4913 case 232:
4914 switch(ndx) {
4915 case 0:
4916 p = "clockid_t";
4917 break;
4918 case 1:
4919 p = "struct timespec32 *";
4920 break;
4921 default:
4922 break;
4923 };
4924 break;
4925 /* freebsd32_clock_settime */
4926 case 233:
4927 switch(ndx) {
4928 case 0:
4929 p = "clockid_t";
4930 break;
4931 case 1:
4932 p = "const struct timespec32 *";
4933 break;
4934 default:
4935 break;
4936 };
4937 break;
4938 /* freebsd32_clock_getres */
4939 case 234:
4940 switch(ndx) {
4941 case 0:
4942 p = "clockid_t";
4943 break;
4944 case 1:
4945 p = "struct timespec32 *";
4946 break;
4947 default:
4948 break;
4949 };
4950 break;
4951 /* freebsd32_nanosleep */
4952 case 240:
4953 switch(ndx) {
4954 case 0:
4955 p = "const struct timespec32 *";
4956 break;
4957 case 1:
4958 p = "struct timespec32 *";
4959 break;
4960 default:
4961 break;
4962 };
4963 break;
4964 /* ffclock_getcounter */
4965 case 241:
4966 switch(ndx) {
4967 case 0:
4968 p = "ffcounter *";
4969 break;
4970 default:
4971 break;
4972 };
4973 break;
4974 /* ffclock_setestimate */
4975 case 242:
4976 switch(ndx) {
4977 case 0:
4978 p = "struct ffclock_estimate *";
4979 break;
4980 default:
4981 break;
4982 };
4983 break;
4984 /* ffclock_getestimate */
4985 case 243:
4986 switch(ndx) {
4987 case 0:
4988 p = "struct ffclock_estimate *";
4989 break;
4990 default:
4991 break;
4992 };
4993 break;
4994 /* minherit */
4995 case 250:
4996 switch(ndx) {
4997 case 0:
4998 p = "void *";
4999 break;
5000 case 1:
5001 p = "size_t";
5002 break;
5003 case 2:
5004 p = "int";
5005 break;
5006 default:
5007 break;
5008 };
5009 break;
5010 /* rfork */
5011 case 251:
5012 switch(ndx) {
5013 case 0:
5014 p = "int";
5015 break;
5016 default:
5017 break;
5018 };
5019 break;
5020 /* openbsd_poll */
5021 case 252:
5022 switch(ndx) {
5023 case 0:
5024 p = "struct pollfd *";
5025 break;
5026 case 1:
5027 p = "u_int";
5028 break;
5029 case 2:
5030 p = "int";
5031 break;
5032 default:
5033 break;
5034 };
5035 break;
5036 /* issetugid */
5037 case 253:
5038 break;
5039 /* lchown */
5040 case 254:
5041 switch(ndx) {
5042 case 0:
5043 p = "char *";
5044 break;
5045 case 1:
5046 p = "int";
5047 break;
5048 case 2:
5049 p = "int";
5050 break;
5051 default:
5052 break;
5053 };
5054 break;
5055 /* freebsd32_aio_read */
5056 case 255:
5057 switch(ndx) {
5058 case 0:
5059 p = "struct aiocb32 *";
5060 break;
5061 default:
5062 break;
5063 };
5064 break;
5065 /* freebsd32_aio_write */
5066 case 256:
5067 switch(ndx) {
5068 case 0:
5069 p = "struct aiocb32 *";
5070 break;
5071 default:
5072 break;
5073 };
5074 break;
5075 /* freebsd32_lio_listio */
5076 case 257:
5077 switch(ndx) {
5078 case 0:
5079 p = "int";
5080 break;
5081 case 1:
5082 p = "struct aiocb32 *const *";
5083 break;
5084 case 2:
5085 p = "int";
5086 break;
5087 case 3:
5088 p = "struct sigevent *";
5089 break;
5090 default:
5091 break;
5092 };
5093 break;
5094 /* getdents */
5095 case 272:
5096 switch(ndx) {
5097 case 0:
5098 p = "int";
5099 break;
5100 case 1:
5101 p = "char *";
5102 break;
5103 case 2:
5104 p = "size_t";
5105 break;
5106 default:
5107 break;
5108 };
5109 break;
5110 /* lchmod */
5111 case 274:
5112 switch(ndx) {
5113 case 0:
5114 p = "char *";
5115 break;
5116 case 1:
5117 p = "mode_t";
5118 break;
5119 default:
5120 break;
5121 };
5122 break;
5123 /* lchown */
5124 case 275:
5125 switch(ndx) {
5126 case 0:
5127 p = "char *";
5128 break;
5129 case 1:
5130 p = "uid_t";
5131 break;
5132 case 2:
5133 p = "gid_t";
5134 break;
5135 default:
5136 break;
5137 };
5138 break;
5139 /* freebsd32_lutimes */
5140 case 276:
5141 switch(ndx) {
5142 case 0:
5143 p = "char *";
5144 break;
5145 case 1:
5146 p = "struct timeval32 *";
5147 break;
5148 default:
5149 break;
5150 };
5151 break;
5152 /* msync */
5153 case 277:
5154 switch(ndx) {
5155 case 0:
5156 p = "void *";
5157 break;
5158 case 1:
5159 p = "size_t";
5160 break;
5161 case 2:
5162 p = "int";
5163 break;
5164 default:
5165 break;
5166 };
5167 break;
5168 /* nstat */
5169 case 278:
5170 switch(ndx) {
5171 case 0:
5172 p = "char *";
5173 break;
5174 case 1:
5175 p = "struct nstat *";
5176 break;
5177 default:
5178 break;
5179 };
5180 break;
5181 /* nfstat */
5182 case 279:
5183 switch(ndx) {
5184 case 0:
5185 p = "int";
5186 break;
5187 case 1:
5188 p = "struct nstat *";
5189 break;
5190 default:
5191 break;
5192 };
5193 break;
5194 /* nlstat */
5195 case 280:
5196 switch(ndx) {
5197 case 0:
5198 p = "char *";
5199 break;
5200 case 1:
5201 p = "struct nstat *";
5202 break;
5203 default:
5204 break;
5205 };
5206 break;
5207 /* freebsd32_preadv */
5208 case 289:
5209 switch(ndx) {
5210 case 0:
5211 p = "int";
5212 break;
5213 case 1:
5214 p = "struct iovec32 *";
5215 break;
5216 case 2:
5217 p = "u_int";
5218 break;
5219 case 3:
5220 p = "uint32_t";
5221 break;
5222 case 4:
5223 p = "uint32_t";
5224 break;
5225 default:
5226 break;
5227 };
5228 break;
5229 /* freebsd32_pwritev */
5230 case 290:
5231 switch(ndx) {
5232 case 0:
5233 p = "int";
5234 break;
5235 case 1:
5236 p = "struct iovec32 *";
5237 break;
5238 case 2:
5239 p = "u_int";
5240 break;
5241 case 3:
5242 p = "uint32_t";
5243 break;
5244 case 4:
5245 p = "uint32_t";
5246 break;
5247 default:
5248 break;
5249 };
5250 break;
5251 /* fhopen */
5252 case 298:
5253 switch(ndx) {
5254 case 0:
5255 p = "const struct fhandle *";
5256 break;
5257 case 1:
5258 p = "int";
5259 break;
5260 default:
5261 break;
5262 };
5263 break;
5264 /* fhstat */
5265 case 299:
5266 switch(ndx) {
5267 case 0:
5268 p = "const struct fhandle *";
5269 break;
5270 case 1:
5271 p = "struct stat *";
5272 break;
5273 default:
5274 break;
5275 };
5276 break;
5277 /* modnext */
5278 case 300:
5279 switch(ndx) {
5280 case 0:
5281 p = "int";
5282 break;
5283 default:
5284 break;
5285 };
5286 break;
5287 /* freebsd32_modstat */
5288 case 301:
5289 switch(ndx) {
5290 case 0:
5291 p = "int";
5292 break;
5293 case 1:
5294 p = "struct module_stat32 *";
5295 break;
5296 default:
5297 break;
5298 };
5299 break;
5300 /* modfnext */
5301 case 302:
5302 switch(ndx) {
5303 case 0:
5304 p = "int";
5305 break;
5306 default:
5307 break;
5308 };
5309 break;
5310 /* modfind */
5311 case 303:
5312 switch(ndx) {
5313 case 0:
5314 p = "const char *";
5315 break;
5316 default:
5317 break;
5318 };
5319 break;
5320 /* kldload */
5321 case 304:
5322 switch(ndx) {
5323 case 0:
5324 p = "const char *";
5325 break;
5326 default:
5327 break;
5328 };
5329 break;
5330 /* kldunload */
5331 case 305:
5332 switch(ndx) {
5333 case 0:
5334 p = "int";
5335 break;
5336 default:
5337 break;
5338 };
5339 break;
5340 /* kldfind */
5341 case 306:
5342 switch(ndx) {
5343 case 0:
5344 p = "const char *";
5345 break;
5346 default:
5347 break;
5348 };
5349 break;
5350 /* kldnext */
5351 case 307:
5352 switch(ndx) {
5353 case 0:
5354 p = "int";
5355 break;
5356 default:
5357 break;
5358 };
5359 break;
5360 /* freebsd32_kldstat */
5361 case 308:
5362 switch(ndx) {
5363 case 0:
5364 p = "int";
5365 break;
5366 case 1:
5367 p = "struct kld32_file_stat *";
5368 break;
5369 default:
5370 break;
5371 };
5372 break;
5373 /* kldfirstmod */
5374 case 309:
5375 switch(ndx) {
5376 case 0:
5377 p = "int";
5378 break;
5379 default:
5380 break;
5381 };
5382 break;
5383 /* getsid */
5384 case 310:
5385 switch(ndx) {
5386 case 0:
5387 p = "pid_t";
5388 break;
5389 default:
5390 break;
5391 };
5392 break;
5393 /* setresuid */
5394 case 311:
5395 switch(ndx) {
5396 case 0:
5397 p = "uid_t";
5398 break;
5399 case 1:
5400 p = "uid_t";
5401 break;
5402 case 2:
5403 p = "uid_t";
5404 break;
5405 default:
5406 break;
5407 };
5408 break;
5409 /* setresgid */
5410 case 312:
5411 switch(ndx) {
5412 case 0:
5413 p = "gid_t";
5414 break;
5415 case 1:
5416 p = "gid_t";
5417 break;
5418 case 2:
5419 p = "gid_t";
5420 break;
5421 default:
5422 break;
5423 };
5424 break;
5425 /* freebsd32_aio_return */
5426 case 314:
5427 switch(ndx) {
5428 case 0:
5429 p = "struct aiocb32 *";
5430 break;
5431 default:
5432 break;
5433 };
5434 break;
5435 /* freebsd32_aio_suspend */
5436 case 315:
5437 switch(ndx) {
5438 case 0:
5439 p = "struct aiocb32 *const *";
5440 break;
5441 case 1:
5442 p = "int";
5443 break;
5444 case 2:
5445 p = "const struct timespec32 *";
5446 break;
5447 default:
5448 break;
5449 };
5450 break;
5451 /* freebsd32_aio_cancel */
5452 case 316:
5453 switch(ndx) {
5454 case 0:
5455 p = "int";
5456 break;
5457 case 1:
5458 p = "struct aiocb32 *";
5459 break;
5460 default:
5461 break;
5462 };
5463 break;
5464 /* freebsd32_aio_error */
5465 case 317:
5466 switch(ndx) {
5467 case 0:
5468 p = "struct aiocb32 *";
5469 break;
5470 default:
5471 break;
5472 };
5473 break;
5474 /* freebsd32_oaio_read */
5475 case 318:
5476 switch(ndx) {
5477 case 0:
5478 p = "struct oaiocb32 *";
5479 break;
5480 default:
5481 break;
5482 };
5483 break;
5484 /* freebsd32_oaio_write */
5485 case 319:
5486 switch(ndx) {
5487 case 0:
5488 p = "struct oaiocb32 *";
5489 break;
5490 default:
5491 break;
5492 };
5493 break;
5494 /* freebsd32_olio_listio */
5495 case 320:
5496 switch(ndx) {
5497 case 0:
5498 p = "int";
5499 break;
5500 case 1:
5501 p = "struct oaiocb32 *const *";
5502 break;
5503 case 2:
5504 p = "int";
5505 break;
5506 case 3:
5507 p = "struct osigevent32 *";
5508 break;
5509 default:
5510 break;
5511 };
5512 break;
5513 /* yield */
5514 case 321:
5515 break;
5516 /* mlockall */
5517 case 324:
5518 switch(ndx) {
5519 case 0:
5520 p = "int";
5521 break;
5522 default:
5523 break;
5524 };
5525 break;
5526 /* munlockall */
5527 case 325:
5528 break;
5529 /* __getcwd */
5530 case 326:
5531 switch(ndx) {
5532 case 0:
5533 p = "u_char *";
5534 break;
5535 case 1:
5536 p = "u_int";
5537 break;
5538 default:
5539 break;
5540 };
5541 break;
5542 /* sched_setparam */
5543 case 327:
5544 switch(ndx) {
5545 case 0:
5546 p = "pid_t";
5547 break;
5548 case 1:
5549 p = "const struct sched_param *";
5550 break;
5551 default:
5552 break;
5553 };
5554 break;
5555 /* sched_getparam */
5556 case 328:
5557 switch(ndx) {
5558 case 0:
5559 p = "pid_t";
5560 break;
5561 case 1:
5562 p = "struct sched_param *";
5563 break;
5564 default:
5565 break;
5566 };
5567 break;
5568 /* sched_setscheduler */
5569 case 329:
5570 switch(ndx) {
5571 case 0:
5572 p = "pid_t";
5573 break;
5574 case 1:
5575 p = "int";
5576 break;
5577 case 2:
5578 p = "const struct sched_param *";
5579 break;
5580 default:
5581 break;
5582 };
5583 break;
5584 /* sched_getscheduler */
5585 case 330:
5586 switch(ndx) {
5587 case 0:
5588 p = "pid_t";
5589 break;
5590 default:
5591 break;
5592 };
5593 break;
5594 /* sched_yield */
5595 case 331:
5596 break;
5597 /* sched_get_priority_max */
5598 case 332:
5599 switch(ndx) {
5600 case 0:
5601 p = "int";
5602 break;
5603 default:
5604 break;
5605 };
5606 break;
5607 /* sched_get_priority_min */
5608 case 333:
5609 switch(ndx) {
5610 case 0:
5611 p = "int";
5612 break;
5613 default:
5614 break;
5615 };
5616 break;
5617 /* sched_rr_get_interval */
5618 case 334:
5619 switch(ndx) {
5620 case 0:
5621 p = "pid_t";
5622 break;
5623 case 1:
5624 p = "struct timespec *";
5625 break;
5626 default:
5627 break;
5628 };
5629 break;
5630 /* utrace */
5631 case 335:
5632 switch(ndx) {
5633 case 0:
5634 p = "const void *";
5635 break;
5636 case 1:
5637 p = "size_t";
5638 break;
5639 default:
5640 break;
5641 };
5642 break;
5643 /* kldsym */
5644 case 337:
5645 switch(ndx) {
5646 case 0:
5647 p = "int";
5648 break;
5649 case 1:
5650 p = "int";
5651 break;
5652 case 2:
5653 p = "void *";
5654 break;
5655 default:
5656 break;
5657 };
5658 break;
5659 /* freebsd32_jail */
5660 case 338:
5661 switch(ndx) {
5662 case 0:
5663 p = "struct jail32 *";
5664 break;
5665 default:
5666 break;
5667 };
5668 break;
5669 /* sigprocmask */
5670 case 340:
5671 switch(ndx) {
5672 case 0:
5673 p = "int";
5674 break;
5675 case 1:
5676 p = "const sigset_t *";
5677 break;
5678 case 2:
5679 p = "sigset_t *";
5680 break;
5681 default:
5682 break;
5683 };
5684 break;
5685 /* sigsuspend */
5686 case 341:
5687 switch(ndx) {
5688 case 0:
5689 p = "const sigset_t *";
5690 break;
5691 default:
5692 break;
5693 };
5694 break;
5695 /* sigpending */
5696 case 343:
5697 switch(ndx) {
5698 case 0:
5699 p = "sigset_t *";
5700 break;
5701 default:
5702 break;
5703 };
5704 break;
5705 /* freebsd32_sigtimedwait */
5706 case 345:
5707 switch(ndx) {
5708 case 0:
5709 p = "const sigset_t *";
5710 break;
5711 case 1:
5712 p = "siginfo_t *";
5713 break;
5714 case 2:
5715 p = "const struct timespec *";
5716 break;
5717 default:
5718 break;
5719 };
5720 break;
5721 /* freebsd32_sigwaitinfo */
5722 case 346:
5723 switch(ndx) {
5724 case 0:
5725 p = "const sigset_t *";
5726 break;
5727 case 1:
5728 p = "siginfo_t *";
5729 break;
5730 default:
5731 break;
5732 };
5733 break;
5734 /* __acl_get_file */
5735 case 347:
5736 switch(ndx) {
5737 case 0:
5738 p = "const char *";
5739 break;
5740 case 1:
5741 p = "acl_type_t";
5742 break;
5743 case 2:
5744 p = "struct acl *";
5745 break;
5746 default:
5747 break;
5748 };
5749 break;
5750 /* __acl_set_file */
5751 case 348:
5752 switch(ndx) {
5753 case 0:
5754 p = "const char *";
5755 break;
5756 case 1:
5757 p = "acl_type_t";
5758 break;
5759 case 2:
5760 p = "struct acl *";
5761 break;
5762 default:
5763 break;
5764 };
5765 break;
5766 /* __acl_get_fd */
5767 case 349:
5768 switch(ndx) {
5769 case 0:
5770 p = "int";
5771 break;
5772 case 1:
5773 p = "acl_type_t";
5774 break;
5775 case 2:
5776 p = "struct acl *";
5777 break;
5778 default:
5779 break;
5780 };
5781 break;
5782 /* __acl_set_fd */
5783 case 350:
5784 switch(ndx) {
5785 case 0:
5786 p = "int";
5787 break;
5788 case 1:
5789 p = "acl_type_t";
5790 break;
5791 case 2:
5792 p = "struct acl *";
5793 break;
5794 default:
5795 break;
5796 };
5797 break;
5798 /* __acl_delete_file */
5799 case 351:
5800 switch(ndx) {
5801 case 0:
5802 p = "const char *";
5803 break;
5804 case 1:
5805 p = "acl_type_t";
5806 break;
5807 default:
5808 break;
5809 };
5810 break;
5811 /* __acl_delete_fd */
5812 case 352:
5813 switch(ndx) {
5814 case 0:
5815 p = "int";
5816 break;
5817 case 1:
5818 p = "acl_type_t";
5819 break;
5820 default:
5821 break;
5822 };
5823 break;
5824 /* __acl_aclcheck_file */
5825 case 353:
5826 switch(ndx) {
5827 case 0:
5828 p = "const char *";
5829 break;
5830 case 1:
5831 p = "acl_type_t";
5832 break;
5833 case 2:
5834 p = "struct acl *";
5835 break;
5836 default:
5837 break;
5838 };
5839 break;
5840 /* __acl_aclcheck_fd */
5841 case 354:
5842 switch(ndx) {
5843 case 0:
5844 p = "int";
5845 break;
5846 case 1:
5847 p = "acl_type_t";
5848 break;
5849 case 2:
5850 p = "struct acl *";
5851 break;
5852 default:
5853 break;
5854 };
5855 break;
5856 /* extattrctl */
5857 case 355:
5858 switch(ndx) {
5859 case 0:
5860 p = "const char *";
5861 break;
5862 case 1:
5863 p = "int";
5864 break;
5865 case 2:
5866 p = "const char *";
5867 break;
5868 case 3:
5869 p = "int";
5870 break;
5871 case 4:
5872 p = "const char *";
5873 break;
5874 default:
5875 break;
5876 };
5877 break;
5878 /* extattr_set_file */
5879 case 356:
5880 switch(ndx) {
5881 case 0:
5882 p = "const char *";
5883 break;
5884 case 1:
5885 p = "int";
5886 break;
5887 case 2:
5888 p = "const char *";
5889 break;
5890 case 3:
5891 p = "void *";
5892 break;
5893 case 4:
5894 p = "size_t";
5895 break;
5896 default:
5897 break;
5898 };
5899 break;
5900 /* extattr_get_file */
5901 case 357:
5902 switch(ndx) {
5903 case 0:
5904 p = "const char *";
5905 break;
5906 case 1:
5907 p = "int";
5908 break;
5909 case 2:
5910 p = "const char *";
5911 break;
5912 case 3:
5913 p = "void *";
5914 break;
5915 case 4:
5916 p = "size_t";
5917 break;
5918 default:
5919 break;
5920 };
5921 break;
5922 /* extattr_delete_file */
5923 case 358:
5924 switch(ndx) {
5925 case 0:
5926 p = "const char *";
5927 break;
5928 case 1:
5929 p = "int";
5930 break;
5931 case 2:
5932 p = "const char *";
5933 break;
5934 default:
5935 break;
5936 };
5937 break;
5938 /* freebsd32_aio_waitcomplete */
5939 case 359:
5940 switch(ndx) {
5941 case 0:
5942 p = "struct aiocb32 **";
5943 break;
5944 case 1:
5945 p = "struct timespec32 *";
5946 break;
5947 default:
5948 break;
5949 };
5950 break;
5951 /* getresuid */
5952 case 360:
5953 switch(ndx) {
5954 case 0:
5955 p = "uid_t *";
5956 break;
5957 case 1:
5958 p = "uid_t *";
5959 break;
5960 case 2:
5961 p = "uid_t *";
5962 break;
5963 default:
5964 break;
5965 };
5966 break;
5967 /* getresgid */
5968 case 361:
5969 switch(ndx) {
5970 case 0:
5971 p = "gid_t *";
5972 break;
5973 case 1:
5974 p = "gid_t *";
5975 break;
5976 case 2:
5977 p = "gid_t *";
5978 break;
5979 default:
5980 break;
5981 };
5982 break;
5983 /* kqueue */
5984 case 362:
5985 break;
5986 /* freebsd32_kevent */
5987 case 363:
5988 switch(ndx) {
5989 case 0:
5990 p = "int";
5991 break;
5992 case 1:
5993 p = "const struct kevent32 *";
5994 break;
5995 case 2:
5996 p = "int";
5997 break;
5998 case 3:
5999 p = "struct kevent32 *";
6000 break;
6001 case 4:
6002 p = "int";
6003 break;
6004 case 5:
6005 p = "const struct timespec32 *";
6006 break;
6007 default:
6008 break;
6009 };
6010 break;
6011 /* extattr_set_fd */
6012 case 371:
6013 switch(ndx) {
6014 case 0:
6015 p = "int";
6016 break;
6017 case 1:
6018 p = "int";
6019 break;
6020 case 2:
6021 p = "const char *";
6022 break;
6023 case 3:
6024 p = "void *";
6025 break;
6026 case 4:
6027 p = "size_t";
6028 break;
6029 default:
6030 break;
6031 };
6032 break;
6033 /* extattr_get_fd */
6034 case 372:
6035 switch(ndx) {
6036 case 0:
6037 p = "int";
6038 break;
6039 case 1:
6040 p = "int";
6041 break;
6042 case 2:
6043 p = "const char *";
6044 break;
6045 case 3:
6046 p = "void *";
6047 break;
6048 case 4:
6049 p = "size_t";
6050 break;
6051 default:
6052 break;
6053 };
6054 break;
6055 /* extattr_delete_fd */
6056 case 373:
6057 switch(ndx) {
6058 case 0:
6059 p = "int";
6060 break;
6061 case 1:
6062 p = "int";
6063 break;
6064 case 2:
6065 p = "const char *";
6066 break;
6067 default:
6068 break;
6069 };
6070 break;
6071 /* __setugid */
6072 case 374:
6073 switch(ndx) {
6074 case 0:
6075 p = "int";
6076 break;
6077 default:
6078 break;
6079 };
6080 break;
6081 /* eaccess */
6082 case 376:
6083 switch(ndx) {
6084 case 0:
6085 p = "char *";
6086 break;
6087 case 1:
6088 p = "int";
6089 break;
6090 default:
6091 break;
6092 };
6093 break;
6094 /* freebsd32_nmount */
6095 case 378:
6096 switch(ndx) {
6097 case 0:
6098 p = "struct iovec32 *";
6099 break;
6100 case 1:
6101 p = "unsigned int";
6102 break;
6103 case 2:
6104 p = "int";
6105 break;
6106 default:
6107 break;
6108 };
6109 break;
6110 /* kenv */
6111 case 390:
6112 switch(ndx) {
6113 case 0:
6114 p = "int";
6115 break;
6116 case 1:
6117 p = "const char *";
6118 break;
6119 case 2:
6120 p = "char *";
6121 break;
6122 case 3:
6123 p = "int";
6124 break;
6125 default:
6126 break;
6127 };
6128 break;
6129 /* lchflags */
6130 case 391:
6131 switch(ndx) {
6132 case 0:
6133 p = "const char *";
6134 break;
6135 case 1:
6136 p = "int";
6137 break;
6138 default:
6139 break;
6140 };
6141 break;
6142 /* uuidgen */
6143 case 392:
6144 switch(ndx) {
6145 case 0:
6146 p = "struct uuid *";
6147 break;
6148 case 1:
6149 p = "int";
6150 break;
6151 default:
6152 break;
6153 };
6154 break;
6155 /* freebsd32_sendfile */
6156 case 393:
6157 switch(ndx) {
6158 case 0:
6159 p = "int";
6160 break;
6161 case 1:
6162 p = "int";
6163 break;
6164 case 2:
6165 p = "uint32_t";
6166 break;
6167 case 3:
6168 p = "uint32_t";
6169 break;
6170 case 4:
6171 p = "size_t";
6172 break;
6173 case 5:
6174 p = "struct sf_hdtr32 *";
6175 break;
6176 case 6:
6177 p = "off_t *";
6178 break;
6179 case 7:
6180 p = "int";
6181 break;
6182 default:
6183 break;
6184 };
6185 break;
6186 /* getfsstat */
6187 case 395:
6188 switch(ndx) {
6189 case 0:
6190 p = "struct statfs *";
6191 break;
6192 case 1:
6193 p = "long";
6194 break;
6195 case 2:
6196 p = "int";
6197 break;
6198 default:
6199 break;
6200 };
6201 break;
6202 /* statfs */
6203 case 396:
6204 switch(ndx) {
6205 case 0:
6206 p = "char *";
6207 break;
6208 case 1:
6209 p = "struct statfs *";
6210 break;
6211 default:
6212 break;
6213 };
6214 break;
6215 /* fstatfs */
6216 case 397:
6217 switch(ndx) {
6218 case 0:
6219 p = "int";
6220 break;
6221 case 1:
6222 p = "struct statfs *";
6223 break;
6224 default:
6225 break;
6226 };
6227 break;
6228 /* fhstatfs */
6229 case 398:
6230 switch(ndx) {
6231 case 0:
6232 p = "const struct fhandle *";
6233 break;
6234 case 1:
6235 p = "struct statfs *";
6236 break;
6237 default:
6238 break;
6239 };
6240 break;
6241 /* ksem_close */
6242 case 400:
6243 switch(ndx) {
6244 case 0:
6245 p = "semid_t";
6246 break;
6247 default:
6248 break;
6249 };
6250 break;
6251 /* ksem_post */
6252 case 401:
6253 switch(ndx) {
6254 case 0:
6255 p = "semid_t";
6256 break;
6257 default:
6258 break;
6259 };
6260 break;
6261 /* ksem_wait */
6262 case 402:
6263 switch(ndx) {
6264 case 0:
6265 p = "semid_t";
6266 break;
6267 default:
6268 break;
6269 };
6270 break;
6271 /* ksem_trywait */
6272 case 403:
6273 switch(ndx) {
6274 case 0:
6275 p = "semid_t";
6276 break;
6277 default:
6278 break;
6279 };
6280 break;
6281 /* freebsd32_ksem_init */
6282 case 404:
6283 switch(ndx) {
6284 case 0:
6285 p = "semid_t *";
6286 break;
6287 case 1:
6288 p = "unsigned int";
6289 break;
6290 default:
6291 break;
6292 };
6293 break;
6294 /* freebsd32_ksem_open */
6295 case 405:
6296 switch(ndx) {
6297 case 0:
6298 p = "semid_t *";
6299 break;
6300 case 1:
6301 p = "const char *";
6302 break;
6303 case 2:
6304 p = "int";
6305 break;
6306 case 3:
6307 p = "mode_t";
6308 break;
6309 case 4:
6310 p = "unsigned int";
6311 break;
6312 default:
6313 break;
6314 };
6315 break;
6316 /* ksem_unlink */
6317 case 406:
6318 switch(ndx) {
6319 case 0:
6320 p = "const char *";
6321 break;
6322 default:
6323 break;
6324 };
6325 break;
6326 /* ksem_getvalue */
6327 case 407:
6328 switch(ndx) {
6329 case 0:
6330 p = "semid_t";
6331 break;
6332 case 1:
6333 p = "int *";
6334 break;
6335 default:
6336 break;
6337 };
6338 break;
6339 /* ksem_destroy */
6340 case 408:
6341 switch(ndx) {
6342 case 0:
6343 p = "semid_t";
6344 break;
6345 default:
6346 break;
6347 };
6348 break;
6349 /* extattr_set_link */
6350 case 412:
6351 switch(ndx) {
6352 case 0:
6353 p = "const char *";
6354 break;
6355 case 1:
6356 p = "int";
6357 break;
6358 case 2:
6359 p = "const char *";
6360 break;
6361 case 3:
6362 p = "void *";
6363 break;
6364 case 4:
6365 p = "size_t";
6366 break;
6367 default:
6368 break;
6369 };
6370 break;
6371 /* extattr_get_link */
6372 case 413:
6373 switch(ndx) {
6374 case 0:
6375 p = "const char *";
6376 break;
6377 case 1:
6378 p = "int";
6379 break;
6380 case 2:
6381 p = "const char *";
6382 break;
6383 case 3:
6384 p = "void *";
6385 break;
6386 case 4:
6387 p = "size_t";
6388 break;
6389 default:
6390 break;
6391 };
6392 break;
6393 /* extattr_delete_link */
6394 case 414:
6395 switch(ndx) {
6396 case 0:
6397 p = "const char *";
6398 break;
6399 case 1:
6400 p = "int";
6401 break;
6402 case 2:
6403 p = "const char *";
6404 break;
6405 default:
6406 break;
6407 };
6408 break;
6409 /* freebsd32_sigaction */
6410 case 416:
6411 switch(ndx) {
6412 case 0:
6413 p = "int";
6414 break;
6415 case 1:
6416 p = "struct sigaction32 *";
6417 break;
6418 case 2:
6419 p = "struct sigaction32 *";
6420 break;
6421 default:
6422 break;
6423 };
6424 break;
6425 /* freebsd32_sigreturn */
6426 case 417:
6427 switch(ndx) {
6428 case 0:
6429 p = "const struct freebsd32_ucontext *";
6430 break;
6431 default:
6432 break;
6433 };
6434 break;
6435 /* freebsd32_getcontext */
6436 case 421:
6437 switch(ndx) {
6438 case 0:
6439 p = "struct freebsd32_ucontext *";
6440 break;
6441 default:
6442 break;
6443 };
6444 break;
6445 /* freebsd32_setcontext */
6446 case 422:
6447 switch(ndx) {
6448 case 0:
6449 p = "const struct freebsd32_ucontext *";
6450 break;
6451 default:
6452 break;
6453 };
6454 break;
6455 /* freebsd32_swapcontext */
6456 case 423:
6457 switch(ndx) {
6458 case 0:
6459 p = "struct freebsd32_ucontext *";
6460 break;
6461 case 1:
6462 p = "const struct freebsd32_ucontext *";
6463 break;
6464 default:
6465 break;
6466 };
6467 break;
6468 /* __acl_get_link */
6469 case 425:
6470 switch(ndx) {
6471 case 0:
6472 p = "const char *";
6473 break;
6474 case 1:
6475 p = "acl_type_t";
6476 break;
6477 case 2:
6478 p = "struct acl *";
6479 break;
6480 default:
6481 break;
6482 };
6483 break;
6484 /* __acl_set_link */
6485 case 426:
6486 switch(ndx) {
6487 case 0:
6488 p = "const char *";
6489 break;
6490 case 1:
6491 p = "acl_type_t";
6492 break;
6493 case 2:
6494 p = "struct acl *";
6495 break;
6496 default:
6497 break;
6498 };
6499 break;
6500 /* __acl_delete_link */
6501 case 427:
6502 switch(ndx) {
6503 case 0:
6504 p = "const char *";
6505 break;
6506 case 1:
6507 p = "acl_type_t";
6508 break;
6509 default:
6510 break;
6511 };
6512 break;
6513 /* __acl_aclcheck_link */
6514 case 428:
6515 switch(ndx) {
6516 case 0:
6517 p = "const char *";
6518 break;
6519 case 1:
6520 p = "acl_type_t";
6521 break;
6522 case 2:
6523 p = "struct acl *";
6524 break;
6525 default:
6526 break;
6527 };
6528 break;
6529 /* sigwait */
6530 case 429:
6531 switch(ndx) {
6532 case 0:
6533 p = "const sigset_t *";
6534 break;
6535 case 1:
6536 p = "int *";
6537 break;
6538 default:
6539 break;
6540 };
6541 break;
6542 /* thr_exit */
6543 case 431:
6544 switch(ndx) {
6545 case 0:
6546 p = "long *";
6547 break;
6548 default:
6549 break;
6550 };
6551 break;
6552 /* thr_self */
6553 case 432:
6554 switch(ndx) {
6555 case 0:
6556 p = "long *";
6557 break;
6558 default:
6559 break;
6560 };
6561 break;
6562 /* thr_kill */
6563 case 433:
6564 switch(ndx) {
6565 case 0:
6566 p = "long";
6567 break;
6568 case 1:
6569 p = "int";
6570 break;
6571 default:
6572 break;
6573 };
6574 break;
6575 /* freebsd32_umtx_lock */
6576 case 434:
6577 switch(ndx) {
6578 case 0:
6579 p = "struct umtx *";
6580 break;
6581 default:
6582 break;
6583 };
6584 break;
6585 /* freebsd32_umtx_unlock */
6586 case 435:
6587 switch(ndx) {
6588 case 0:
6589 p = "struct umtx *";
6590 break;
6591 default:
6592 break;
6593 };
6594 break;
6595 /* jail_attach */
6596 case 436:
6597 switch(ndx) {
6598 case 0:
6599 p = "int";
6600 break;
6601 default:
6602 break;
6603 };
6604 break;
6605 /* extattr_list_fd */
6606 case 437:
6607 switch(ndx) {
6608 case 0:
6609 p = "int";
6610 break;
6611 case 1:
6612 p = "int";
6613 break;
6614 case 2:
6615 p = "void *";
6616 break;
6617 case 3:
6618 p = "size_t";
6619 break;
6620 default:
6621 break;
6622 };
6623 break;
6624 /* extattr_list_file */
6625 case 438:
6626 switch(ndx) {
6627 case 0:
6628 p = "const char *";
6629 break;
6630 case 1:
6631 p = "int";
6632 break;
6633 case 2:
6634 p = "void *";
6635 break;
6636 case 3:
6637 p = "size_t";
6638 break;
6639 default:
6640 break;
6641 };
6642 break;
6643 /* extattr_list_link */
6644 case 439:
6645 switch(ndx) {
6646 case 0:
6647 p = "const char *";
6648 break;
6649 case 1:
6650 p = "int";
6651 break;
6652 case 2:
6653 p = "void *";
6654 break;
6655 case 3:
6656 p = "size_t";
6657 break;
6658 default:
6659 break;
6660 };
6661 break;
6662 /* freebsd32_ksem_timedwait */
6663 case 441:
6664 switch(ndx) {
6665 case 0:
6666 p = "semid_t";
6667 break;
6668 case 1:
6669 p = "const struct timespec32 *";
6670 break;
6671 default:
6672 break;
6673 };
6674 break;
6675 /* freebsd32_thr_suspend */
6676 case 442:
6677 switch(ndx) {
6678 case 0:
6679 p = "const struct timespec32 *";
6680 break;
6681 default:
6682 break;
6683 };
6684 break;
6685 /* thr_wake */
6686 case 443:
6687 switch(ndx) {
6688 case 0:
6689 p = "long";
6690 break;
6691 default:
6692 break;
6693 };
6694 break;
6695 /* kldunloadf */
6696 case 444:
6697 switch(ndx) {
6698 case 0:
6699 p = "int";
6700 break;
6701 case 1:
6702 p = "int";
6703 break;
6704 default:
6705 break;
6706 };
6707 break;
6708 /* audit */
6709 case 445:
6710 switch(ndx) {
6711 case 0:
6712 p = "const void *";
6713 break;
6714 case 1:
6715 p = "u_int";
6716 break;
6717 default:
6718 break;
6719 };
6720 break;
6721 /* auditon */
6722 case 446:
6723 switch(ndx) {
6724 case 0:
6725 p = "int";
6726 break;
6727 case 1:
6728 p = "void *";
6729 break;
6730 case 2:
6731 p = "u_int";
6732 break;
6733 default:
6734 break;
6735 };
6736 break;
6737 /* getauid */
6738 case 447:
6739 switch(ndx) {
6740 case 0:
6741 p = "uid_t *";
6742 break;
6743 default:
6744 break;
6745 };
6746 break;
6747 /* setauid */
6748 case 448:
6749 switch(ndx) {
6750 case 0:
6751 p = "uid_t *";
6752 break;
6753 default:
6754 break;
6755 };
6756 break;
6757 /* getaudit */
6758 case 449:
6759 switch(ndx) {
6760 case 0:
6761 p = "struct auditinfo *";
6762 break;
6763 default:
6764 break;
6765 };
6766 break;
6767 /* setaudit */
6768 case 450:
6769 switch(ndx) {
6770 case 0:
6771 p = "struct auditinfo *";
6772 break;
6773 default:
6774 break;
6775 };
6776 break;
6777 /* getaudit_addr */
6778 case 451:
6779 switch(ndx) {
6780 case 0:
6781 p = "struct auditinfo_addr *";
6782 break;
6783 case 1:
6784 p = "u_int";
6785 break;
6786 default:
6787 break;
6788 };
6789 break;
6790 /* setaudit_addr */
6791 case 452:
6792 switch(ndx) {
6793 case 0:
6794 p = "struct auditinfo_addr *";
6795 break;
6796 case 1:
6797 p = "u_int";
6798 break;
6799 default:
6800 break;
6801 };
6802 break;
6803 /* auditctl */
6804 case 453:
6805 switch(ndx) {
6806 case 0:
6807 p = "char *";
6808 break;
6809 default:
6810 break;
6811 };
6812 break;
6813 /* freebsd32_umtx_op */
6814 case 454:
6815 switch(ndx) {
6816 case 0:
6817 p = "void *";
6818 break;
6819 case 1:
6820 p = "int";
6821 break;
6822 case 2:
6823 p = "u_long";
6824 break;
6825 case 3:
6826 p = "void *";
6827 break;
6828 case 4:
6829 p = "void *";
6830 break;
6831 default:
6832 break;
6833 };
6834 break;
6835 /* freebsd32_thr_new */
6836 case 455:
6837 switch(ndx) {
6838 case 0:
6839 p = "struct thr_param32 *";
6840 break;
6841 case 1:
6842 p = "int";
6843 break;
6844 default:
6845 break;
6846 };
6847 break;
6848 /* sigqueue */
6849 case 456:
6850 switch(ndx) {
6851 case 0:
6852 p = "pid_t";
6853 break;
6854 case 1:
6855 p = "int";
6856 break;
6857 case 2:
6858 p = "void *";
6859 break;
6860 default:
6861 break;
6862 };
6863 break;
6864 /* freebsd32_kmq_open */
6865 case 457:
6866 switch(ndx) {
6867 case 0:
6868 p = "const char *";
6869 break;
6870 case 1:
6871 p = "int";
6872 break;
6873 case 2:
6874 p = "mode_t";
6875 break;
6876 case 3:
6877 p = "const struct mq_attr32 *";
6878 break;
6879 default:
6880 break;
6881 };
6882 break;
6883 /* freebsd32_kmq_setattr */
6884 case 458:
6885 switch(ndx) {
6886 case 0:
6887 p = "int";
6888 break;
6889 case 1:
6890 p = "const struct mq_attr32 *";
6891 break;
6892 case 2:
6893 p = "struct mq_attr32 *";
6894 break;
6895 default:
6896 break;
6897 };
6898 break;
6899 /* freebsd32_kmq_timedreceive */
6900 case 459:
6901 switch(ndx) {
6902 case 0:
6903 p = "int";
6904 break;
6905 case 1:
6906 p = "char *";
6907 break;
6908 case 2:
6909 p = "size_t";
6910 break;
6911 case 3:
6912 p = "unsigned *";
6913 break;
6914 case 4:
6915 p = "const struct timespec32 *";
6916 break;
6917 default:
6918 break;
6919 };
6920 break;
6921 /* freebsd32_kmq_timedsend */
6922 case 460:
6923 switch(ndx) {
6924 case 0:
6925 p = "int";
6926 break;
6927 case 1:
6928 p = "const char *";
6929 break;
6930 case 2:
6931 p = "size_t";
6932 break;
6933 case 3:
6934 p = "unsigned";
6935 break;
6936 case 4:
6937 p = "const struct timespec32 *";
6938 break;
6939 default:
6940 break;
6941 };
6942 break;
6943 /* kmq_notify */
6944 case 461:
6945 switch(ndx) {
6946 case 0:
6947 p = "int";
6948 break;
6949 case 1:
6950 p = "const struct sigevent *";
6951 break;
6952 default:
6953 break;
6954 };
6955 break;
6956 /* kmq_unlink */
6957 case 462:
6958 switch(ndx) {
6959 case 0:
6960 p = "const char *";
6961 break;
6962 default:
6963 break;
6964 };
6965 break;
6966 /* abort2 */
6967 case 463:
6968 switch(ndx) {
6969 case 0:
6970 p = "const char *";
6971 break;
6972 case 1:
6973 p = "int";
6974 break;
6975 case 2:
6976 p = "void **";
6977 break;
6978 default:
6979 break;
6980 };
6981 break;
6982 /* thr_set_name */
6983 case 464:
6984 switch(ndx) {
6985 case 0:
6986 p = "long";
6987 break;
6988 case 1:
6989 p = "const char *";
6990 break;
6991 default:
6992 break;
6993 };
6994 break;
6995 /* freebsd32_aio_fsync */
6996 case 465:
6997 switch(ndx) {
6998 case 0:
6999 p = "int";
7000 break;
7001 case 1:
7002 p = "struct aiocb32 *";
7003 break;
7004 default:
7005 break;
7006 };
7007 break;
7008 /* rtprio_thread */
7009 case 466:
7010 switch(ndx) {
7011 case 0:
7012 p = "int";
7013 break;
7014 case 1:
7015 p = "lwpid_t";
7016 break;
7017 case 2:
7018 p = "struct rtprio *";
7019 break;
7020 default:
7021 break;
7022 };
7023 break;
7024 /* sctp_peeloff */
7025 case 471:
7026 switch(ndx) {
7027 case 0:
7028 p = "int";
7029 break;
7030 case 1:
7031 p = "uint32_t";
7032 break;
7033 default:
7034 break;
7035 };
7036 break;
7037 /* sctp_generic_sendmsg */
7038 case 472:
7039 switch(ndx) {
7040 case 0:
7041 p = "int";
7042 break;
7043 case 1:
7044 p = "caddr_t";
7045 break;
7046 case 2:
7047 p = "int";
7048 break;
7049 case 3:
7050 p = "caddr_t";
7051 break;
7052 case 4:
7053 p = "__socklen_t";
7054 break;
7055 case 5:
7056 p = "struct sctp_sndrcvinfo *";
7057 break;
7058 case 6:
7059 p = "int";
7060 break;
7061 default:
7062 break;
7063 };
7064 break;
7065 /* sctp_generic_sendmsg_iov */
7066 case 473:
7067 switch(ndx) {
7068 case 0:
7069 p = "int";
7070 break;
7071 case 1:
7072 p = "struct iovec *";
7073 break;
7074 case 2:
7075 p = "int";
7076 break;
7077 case 3:
7078 p = "caddr_t";
7079 break;
7080 case 4:
7081 p = "__socklen_t";
7082 break;
7083 case 5:
7084 p = "struct sctp_sndrcvinfo *";
7085 break;
7086 case 6:
7087 p = "int";
7088 break;
7089 default:
7090 break;
7091 };
7092 break;
7093 /* sctp_generic_recvmsg */
7094 case 474:
7095 switch(ndx) {
7096 case 0:
7097 p = "int";
7098 break;
7099 case 1:
7100 p = "struct iovec *";
7101 break;
7102 case 2:
7103 p = "int";
7104 break;
7105 case 3:
7106 p = "struct sockaddr *";
7107 break;
7108 case 4:
7109 p = "__socklen_t *";
7110 break;
7111 case 5:
7112 p = "struct sctp_sndrcvinfo *";
7113 break;
7114 case 6:
7115 p = "int *";
7116 break;
7117 default:
7118 break;
7119 };
7120 break;
7121#ifdef PAD64_REQUIRED
7122 /* freebsd32_pread */
7123 case 475:
7124 switch(ndx) {
7125 case 0:
7126 p = "int";
7127 break;
7128 case 1:
7129 p = "void *";
7130 break;
7131 case 2:
7132 p = "size_t";
7133 break;
7134 case 3:
7135 p = "int";
7136 break;
7137 case 4:
7138 p = "uint32_t";
7139 break;
7140 case 5:
7141 p = "uint32_t";
7142 break;
7143 default:
7144 break;
7145 };
7146 break;
7147 /* freebsd32_pwrite */
7148 case 476:
7149 switch(ndx) {
7150 case 0:
7151 p = "int";
7152 break;
7153 case 1:
7154 p = "const void *";
7155 break;
7156 case 2:
7157 p = "size_t";
7158 break;
7159 case 3:
7160 p = "int";
7161 break;
7162 case 4:
7163 p = "uint32_t";
7164 break;
7165 case 5:
7166 p = "uint32_t";
7167 break;
7168 default:
7169 break;
7170 };
7171 break;
7172 /* freebsd32_mmap */
7173 case 477:
7174 switch(ndx) {
7175 case 0:
7176 p = "caddr_t";
7177 break;
7178 case 1:
7179 p = "size_t";
7180 break;
7181 case 2:
7182 p = "int";
7183 break;
7184 case 3:
7185 p = "int";
7186 break;
7187 case 4:
7188 p = "int";
7189 break;
7190 case 5:
7191 p = "int";
7192 break;
7193 case 6:
7194 p = "uint32_t";
7195 break;
7196 case 7:
7197 p = "uint32_t";
7198 break;
7199 default:
7200 break;
7201 };
7202 break;
7203 /* freebsd32_lseek */
7204 case 478:
7205 switch(ndx) {
7206 case 0:
7207 p = "int";
7208 break;
7209 case 1:
7210 p = "int";
7211 break;
7212 case 2:
7213 p = "uint32_t";
7214 break;
7215 case 3:
7216 p = "uint32_t";
7217 break;
7218 case 4:
7219 p = "int";
7220 break;
7221 default:
7222 break;
7223 };
7224 break;
7225 /* freebsd32_truncate */
7226 case 479:
7227 switch(ndx) {
7228 case 0:
7229 p = "char *";
7230 break;
7231 case 1:
7232 p = "int";
7233 break;
7234 case 2:
7235 p = "uint32_t";
7236 break;
7237 case 3:
7238 p = "uint32_t";
7239 break;
7240 default:
7241 break;
7242 };
7243 break;
7244 /* freebsd32_ftruncate */
7245 case 480:
7246 switch(ndx) {
7247 case 0:
7248 p = "int";
7249 break;
7250 case 1:
7251 p = "int";
7252 break;
7253 case 2:
7254 p = "uint32_t";
7255 break;
7256 case 3:
7257 p = "uint32_t";
7258 break;
7259 default:
7260 break;
7261 };
7262 break;
7263#else
7264 /* freebsd32_pread */
7265 case 475:
7266 switch(ndx) {
7267 case 0:
7268 p = "int";
7269 break;
7270 case 1:
7271 p = "void *";
7272 break;
7273 case 2:
7274 p = "size_t";
7275 break;
7276 case 3:
7277 p = "uint32_t";
7278 break;
7279 case 4:
7280 p = "uint32_t";
7281 break;
7282 default:
7283 break;
7284 };
7285 break;
7286 /* freebsd32_pwrite */
7287 case 476:
7288 switch(ndx) {
7289 case 0:
7290 p = "int";
7291 break;
7292 case 1:
7293 p = "const void *";
7294 break;
7295 case 2:
7296 p = "size_t";
7297 break;
7298 case 3:
7299 p = "uint32_t";
7300 break;
7301 case 4:
7302 p = "uint32_t";
7303 break;
7304 default:
7305 break;
7306 };
7307 break;
7308 /* freebsd32_mmap */
7309 case 477:
7310 switch(ndx) {
7311 case 0:
7312 p = "caddr_t";
7313 break;
7314 case 1:
7315 p = "size_t";
7316 break;
7317 case 2:
7318 p = "int";
7319 break;
7320 case 3:
7321 p = "int";
7322 break;
7323 case 4:
7324 p = "int";
7325 break;
7326 case 5:
7327 p = "uint32_t";
7328 break;
7329 case 6:
7330 p = "uint32_t";
7331 break;
7332 default:
7333 break;
7334 };
7335 break;
7336 /* freebsd32_lseek */
7337 case 478:
7338 switch(ndx) {
7339 case 0:
7340 p = "int";
7341 break;
7342 case 1:
7343 p = "uint32_t";
7344 break;
7345 case 2:
7346 p = "uint32_t";
7347 break;
7348 case 3:
7349 p = "int";
7350 break;
7351 default:
7352 break;
7353 };
7354 break;
7355 /* freebsd32_truncate */
7356 case 479:
7357 switch(ndx) {
7358 case 0:
7359 p = "char *";
7360 break;
7361 case 1:
7362 p = "uint32_t";
7363 break;
7364 case 2:
7365 p = "uint32_t";
7366 break;
7367 default:
7368 break;
7369 };
7370 break;
7371 /* freebsd32_ftruncate */
7372 case 480:
7373 switch(ndx) {
7374 case 0:
7375 p = "int";
7376 break;
7377 case 1:
7378 p = "uint32_t";
7379 break;
7380 case 2:
7381 p = "uint32_t";
7382 break;
7383 default:
7384 break;
7385 };
7386 break;
7387#endif
7388 /* thr_kill2 */
7389 case 481:
7390 switch(ndx) {
7391 case 0:
7392 p = "pid_t";
7393 break;
7394 case 1:
7395 p = "long";
7396 break;
7397 case 2:
7398 p = "int";
7399 break;
7400 default:
7401 break;
7402 };
7403 break;
7404 /* shm_open */
7405 case 482:
7406 switch(ndx) {
7407 case 0:
7408 p = "const char *";
7409 break;
7410 case 1:
7411 p = "int";
7412 break;
7413 case 2:
7414 p = "mode_t";
7415 break;
7416 default:
7417 break;
7418 };
7419 break;
7420 /* shm_unlink */
7421 case 483:
7422 switch(ndx) {
7423 case 0:
7424 p = "const char *";
7425 break;
7426 default:
7427 break;
7428 };
7429 break;
7430 /* cpuset */
7431 case 484:
7432 switch(ndx) {
7433 case 0:
7434 p = "cpusetid_t *";
7435 break;
7436 default:
7437 break;
7438 };
7439 break;
7440#ifdef PAD64_REQUIRED
7441 /* freebsd32_cpuset_setid */
7442 case 485:
7443 switch(ndx) {
7444 case 0:
7445 p = "cpuwhich_t";
7446 break;
7447 case 1:
7448 p = "int";
7449 break;
7450 case 2:
7451 p = "uint32_t";
7452 break;
7453 case 3:
7454 p = "uint32_t";
7455 break;
7456 case 4:
7457 p = "cpusetid_t";
7458 break;
7459 default:
7460 break;
7461 };
7462 break;
7463#else
7464 /* freebsd32_cpuset_setid */
7465 case 485:
7466 switch(ndx) {
7467 case 0:
7468 p = "cpuwhich_t";
7469 break;
7470 case 1:
7471 p = "uint32_t";
7472 break;
7473 case 2:
7474 p = "uint32_t";
7475 break;
7476 case 3:
7477 p = "cpusetid_t";
7478 break;
7479 default:
7480 break;
7481 };
7482 break;
7483#endif
7484 /* freebsd32_cpuset_getid */
7485 case 486:
7486 switch(ndx) {
7487 case 0:
7488 p = "cpulevel_t";
7489 break;
7490 case 1:
7491 p = "cpuwhich_t";
7492 break;
7493 case 2:
7494 p = "uint32_t";
7495 break;
7496 case 3:
7497 p = "uint32_t";
7498 break;
7499 case 4:
7500 p = "cpusetid_t *";
7501 break;
7502 default:
7503 break;
7504 };
7505 break;
7506 /* freebsd32_cpuset_getaffinity */
7507 case 487:
7508 switch(ndx) {
7509 case 0:
7510 p = "cpulevel_t";
7511 break;
7512 case 1:
7513 p = "cpuwhich_t";
7514 break;
7515 case 2:
7516 p = "uint32_t";
7517 break;
7518 case 3:
7519 p = "uint32_t";
7520 break;
7521 case 4:
7522 p = "size_t";
7523 break;
7524 case 5:
7525 p = "cpuset_t *";
7526 break;
7527 default:
7528 break;
7529 };
7530 break;
7531 /* freebsd32_cpuset_setaffinity */
7532 case 488:
7533 switch(ndx) {
7534 case 0:
7535 p = "cpulevel_t";
7536 break;
7537 case 1:
7538 p = "cpuwhich_t";
7539 break;
7540 case 2:
7541 p = "uint32_t";
7542 break;
7543 case 3:
7544 p = "uint32_t";
7545 break;
7546 case 4:
7547 p = "size_t";
7548 break;
7549 case 5:
7550 p = "const cpuset_t *";
7551 break;
7552 default:
7553 break;
7554 };
7555 break;
7556 /* faccessat */
7557 case 489:
7558 switch(ndx) {
7559 case 0:
7560 p = "int";
7561 break;
7562 case 1:
7563 p = "char *";
7564 break;
7565 case 2:
7566 p = "int";
7567 break;
7568 case 3:
7569 p = "int";
7570 break;
7571 default:
7572 break;
7573 };
7574 break;
7575 /* fchmodat */
7576 case 490:
7577 switch(ndx) {
7578 case 0:
7579 p = "int";
7580 break;
7581 case 1:
7582 p = "const char *";
7583 break;
7584 case 2:
7585 p = "mode_t";
7586 break;
7587 case 3:
7588 p = "int";
7589 break;
7590 default:
7591 break;
7592 };
7593 break;
7594 /* fchownat */
7595 case 491:
7596 switch(ndx) {
7597 case 0:
7598 p = "int";
7599 break;
7600 case 1:
7601 p = "char *";
7602 break;
7603 case 2:
7604 p = "uid_t";
7605 break;
7606 case 3:
7607 p = "gid_t";
7608 break;
7609 case 4:
7610 p = "int";
7611 break;
7612 default:
7613 break;
7614 };
7615 break;
7616 /* freebsd32_fexecve */
7617 case 492:
7618 switch(ndx) {
7619 case 0:
7620 p = "int";
7621 break;
7622 case 1:
7623 p = "uint32_t *";
7624 break;
7625 case 2:
7626 p = "uint32_t *";
7627 break;
7628 default:
7629 break;
7630 };
7631 break;
7632 /* freebsd32_fstatat */
7633 case 493:
7634 switch(ndx) {
7635 case 0:
7636 p = "int";
7637 break;
7638 case 1:
7639 p = "char *";
7640 break;
7641 case 2:
7642 p = "struct stat *";
7643 break;
7644 case 3:
7645 p = "int";
7646 break;
7647 default:
7648 break;
7649 };
7650 break;
7651 /* freebsd32_futimesat */
7652 case 494:
7653 switch(ndx) {
7654 case 0:
7655 p = "int";
7656 break;
7657 case 1:
7658 p = "char *";
7659 break;
7660 case 2:
7661 p = "struct timeval *";
7662 break;
7663 default:
7664 break;
7665 };
7666 break;
7667 /* linkat */
7668 case 495:
7669 switch(ndx) {
7670 case 0:
7671 p = "int";
7672 break;
7673 case 1:
7674 p = "char *";
7675 break;
7676 case 2:
7677 p = "int";
7678 break;
7679 case 3:
7680 p = "char *";
7681 break;
7682 case 4:
7683 p = "int";
7684 break;
7685 default:
7686 break;
7687 };
7688 break;
7689 /* mkdirat */
7690 case 496:
7691 switch(ndx) {
7692 case 0:
7693 p = "int";
7694 break;
7695 case 1:
7696 p = "char *";
7697 break;
7698 case 2:
7699 p = "mode_t";
7700 break;
7701 default:
7702 break;
7703 };
7704 break;
7705 /* mkfifoat */
7706 case 497:
7707 switch(ndx) {
7708 case 0:
7709 p = "int";
7710 break;
7711 case 1:
7712 p = "char *";
7713 break;
7714 case 2:
7715 p = "mode_t";
7716 break;
7717 default:
7718 break;
7719 };
7720 break;
7721 /* mknodat */
7722 case 498:
7723 switch(ndx) {
7724 case 0:
7725 p = "int";
7726 break;
7727 case 1:
7728 p = "char *";
7729 break;
7730 case 2:
7731 p = "mode_t";
7732 break;
7733 case 3:
7734 p = "dev_t";
7735 break;
7736 default:
7737 break;
7738 };
7739 break;
7740 /* openat */
7741 case 499:
7742 switch(ndx) {
7743 case 0:
7744 p = "int";
7745 break;
7746 case 1:
7747 p = "char *";
7748 break;
7749 case 2:
7750 p = "int";
7751 break;
7752 case 3:
7753 p = "mode_t";
7754 break;
7755 default:
7756 break;
7757 };
7758 break;
7759 /* readlinkat */
7760 case 500:
7761 switch(ndx) {
7762 case 0:
7763 p = "int";
7764 break;
7765 case 1:
7766 p = "char *";
7767 break;
7768 case 2:
7769 p = "char *";
7770 break;
7771 case 3:
7772 p = "size_t";
7773 break;
7774 default:
7775 break;
7776 };
7777 break;
7778 /* renameat */
7779 case 501:
7780 switch(ndx) {
7781 case 0:
7782 p = "int";
7783 break;
7784 case 1:
7785 p = "char *";
7786 break;
7787 case 2:
7788 p = "int";
7789 break;
7790 case 3:
7791 p = "const char *";
7792 break;
7793 default:
7794 break;
7795 };
7796 break;
7797 /* symlinkat */
7798 case 502:
7799 switch(ndx) {
7800 case 0:
7801 p = "char *";
7802 break;
7803 case 1:
7804 p = "int";
7805 break;
7806 case 2:
7807 p = "char *";
7808 break;
7809 default:
7810 break;
7811 };
7812 break;
7813 /* unlinkat */
7814 case 503:
7815 switch(ndx) {
7816 case 0:
7817 p = "int";
7818 break;
7819 case 1:
7820 p = "char *";
7821 break;
7822 case 2:
7823 p = "int";
7824 break;
7825 default:
7826 break;
7827 };
7828 break;
7829 /* posix_openpt */
7830 case 504:
7831 switch(ndx) {
7832 case 0:
7833 p = "int";
7834 break;
7835 default:
7836 break;
7837 };
7838 break;
7839 /* freebsd32_jail_get */
7840 case 506:
7841 switch(ndx) {
7842 case 0:
7843 p = "struct iovec32 *";
7844 break;
7845 case 1:
7846 p = "unsigned int";
7847 break;
7848 case 2:
7849 p = "int";
7850 break;
7851 default:
7852 break;
7853 };
7854 break;
7855 /* freebsd32_jail_set */
7856 case 507:
7857 switch(ndx) {
7858 case 0:
7859 p = "struct iovec32 *";
7860 break;
7861 case 1:
7862 p = "unsigned int";
7863 break;
7864 case 2:
7865 p = "int";
7866 break;
7867 default:
7868 break;
7869 };
7870 break;
7871 /* jail_remove */
7872 case 508:
7873 switch(ndx) {
7874 case 0:
7875 p = "int";
7876 break;
7877 default:
7878 break;
7879 };
7880 break;
7881 /* closefrom */
7882 case 509:
7883 switch(ndx) {
7884 case 0:
7885 p = "int";
7886 break;
7887 default:
7888 break;
7889 };
7890 break;
7891 /* freebsd32_semctl */
7892 case 510:
7893 switch(ndx) {
7894 case 0:
7895 p = "int";
7896 break;
7897 case 1:
7898 p = "int";
7899 break;
7900 case 2:
7901 p = "int";
7902 break;
7903 case 3:
7904 p = "union semun32 *";
7905 break;
7906 default:
7907 break;
7908 };
7909 break;
7910 /* freebsd32_msgctl */
7911 case 511:
7912 switch(ndx) {
7913 case 0:
7914 p = "int";
7915 break;
7916 case 1:
7917 p = "int";
7918 break;
7919 case 2:
7920 p = "struct msqid_ds32 *";
7921 break;
7922 default:
7923 break;
7924 };
7925 break;
7926 /* freebsd32_shmctl */
7927 case 512:
7928 switch(ndx) {
7929 case 0:
7930 p = "int";
7931 break;
7932 case 1:
7933 p = "int";
7934 break;
7935 case 2:
7936 p = "struct shmid_ds32 *";
7937 break;
7938 default:
7939 break;
7940 };
7941 break;
7942 /* lpathconf */
7943 case 513:
7944 switch(ndx) {
7945 case 0:
7946 p = "char *";
7947 break;
7948 case 1:
7949 p = "int";
7950 break;
7951 default:
7952 break;
7953 };
7954 break;
7955 /* cap_new */
7956 case 514:
7957 switch(ndx) {
7958 case 0:
7959 p = "int";
7960 break;
7961 case 1:
7962 p = "uint64_t";
7963 break;
7964 default:
7965 break;
7966 };
7967 break;
7968 /* cap_getrights */
7969 case 515:
7970 switch(ndx) {
7971 case 0:
7972 p = "int";
7973 break;
7974 case 1:
7975 p = "uint64_t *";
7976 break;
7977 default:
7978 break;
7979 };
7980 break;
7981 /* cap_enter */
7982 case 516:
7983 break;
7984 /* cap_getmode */
7985 case 517:
7986 switch(ndx) {
7987 case 0:
7988 p = "u_int *";
7989 break;
7990 default:
7991 break;
7992 };
7993 break;
7994 /* freebsd32_pselect */
7995 case 522:
7996 switch(ndx) {
7997 case 0:
7998 p = "int";
7999 break;
8000 case 1:
8001 p = "fd_set *";
8002 break;
8003 case 2:
8004 p = "fd_set *";
8005 break;
8006 case 3:
8007 p = "fd_set *";
8008 break;
8009 case 4:
8010 p = "const struct timespec32 *";
8011 break;
8012 case 5:
8013 p = "const sigset_t *";
8014 break;
8015 default:
8016 break;
8017 };
8018 break;
8019 /* getloginclass */
8020 case 523:
8021 switch(ndx) {
8022 case 0:
8023 p = "char *";
8024 break;
8025 case 1:
8026 p = "size_t";
8027 break;
8028 default:
8029 break;
8030 };
8031 break;
8032 /* setloginclass */
8033 case 524:
8034 switch(ndx) {
8035 case 0:
8036 p = "const char *";
8037 break;
8038 default:
8039 break;
8040 };
8041 break;
8042 /* rctl_get_racct */
8043 case 525:
8044 switch(ndx) {
8045 case 0:
8046 p = "const void *";
8047 break;
8048 case 1:
8049 p = "size_t";
8050 break;
8051 case 2:
8052 p = "void *";
8053 break;
8054 case 3:
8055 p = "size_t";
8056 break;
8057 default:
8058 break;
8059 };
8060 break;
8061 /* rctl_get_rules */
8062 case 526:
8063 switch(ndx) {
8064 case 0:
8065 p = "const void *";
8066 break;
8067 case 1:
8068 p = "size_t";
8069 break;
8070 case 2:
8071 p = "void *";
8072 break;
8073 case 3:
8074 p = "size_t";
8075 break;
8076 default:
8077 break;
8078 };
8079 break;
8080 /* rctl_get_limits */
8081 case 527:
8082 switch(ndx) {
8083 case 0:
8084 p = "const void *";
8085 break;
8086 case 1:
8087 p = "size_t";
8088 break;
8089 case 2:
8090 p = "void *";
8091 break;
8092 case 3:
8093 p = "size_t";
8094 break;
8095 default:
8096 break;
8097 };
8098 break;
8099 /* rctl_add_rule */
8100 case 528:
8101 switch(ndx) {
8102 case 0:
8103 p = "const void *";
8104 break;
8105 case 1:
8106 p = "size_t";
8107 break;
8108 case 2:
8109 p = "void *";
8110 break;
8111 case 3:
8112 p = "size_t";
8113 break;
8114 default:
8115 break;
8116 };
8117 break;
8118 /* rctl_remove_rule */
8119 case 529:
8120 switch(ndx) {
8121 case 0:
8122 p = "const void *";
8123 break;
8124 case 1:
8125 p = "size_t";
8126 break;
8127 case 2:
8128 p = "void *";
8129 break;
8130 case 3:
8131 p = "size_t";
8132 break;
8133 default:
8134 break;
8135 };
8136 break;
8137 /* freebsd32_posix_fallocate */
8138 case 530:
8139 switch(ndx) {
8140 case 0:
8141 p = "int";
8142 break;
8143 case 1:
8144 p = "uint32_t";
8145 break;
8146 case 2:
8147 p = "uint32_t";
8148 break;
8149 case 3:
8150 p = "uint32_t";
8151 break;
8152 case 4:
8153 p = "uint32_t";
8154 break;
8155 default:
8156 break;
8157 };
8158 break;
8159 /* freebsd32_posix_fadvise */
8160 case 531:
8161 switch(ndx) {
8162 case 0:
8163 p = "int";
8164 break;
8165 case 1:
8166 p = "uint32_t";
8167 break;
8168 case 2:
8169 p = "uint32_t";
8170 break;
8171 case 3:
8172 p = "uint32_t";
8173 break;
8174 case 4:
8175 p = "uint32_t";
8176 break;
8177 case 5:
8178 p = "int";
8179 break;
8180 default:
8181 break;
8182 };
8183 break;
8184 default:
8185 break;
8186 };
8187 if (p != NULL)
8188 strlcpy(desc, p, descsz);
8189}
8190static void
8191systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8192{
8193 const char *p = NULL;
8194 switch (sysnum) {
8195#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
8196#define PAD64_REQUIRED
8197#endif
8198 /* nosys */
8199 case 0:
8200 /* sys_exit */
8201 case 1:
8202 if (ndx == 0 || ndx == 1)
8203 p = "void";
8204 break;
8205 /* fork */
8206 case 2:
8207 /* read */
8208 case 3:
8209 if (ndx == 0 || ndx == 1)
8210 p = "ssize_t";
8211 break;
8212 /* write */
8213 case 4:
8214 if (ndx == 0 || ndx == 1)
8215 p = "ssize_t";
8216 break;
8217 /* open */
8218 case 5:
8219 if (ndx == 0 || ndx == 1)
8220 p = "int";
8221 break;
8222 /* close */
8223 case 6:
8224 if (ndx == 0 || ndx == 1)
8225 p = "int";
8226 break;
8227 /* freebsd32_wait4 */
8228 case 7:
8229 if (ndx == 0 || ndx == 1)
8230 p = "int";
8231 break;
8232 /* link */
8233 case 9:
8234 if (ndx == 0 || ndx == 1)
8235 p = "int";
8236 break;
8237 /* unlink */
8238 case 10:
8239 if (ndx == 0 || ndx == 1)
8240 p = "int";
8241 break;
8242 /* chdir */
8243 case 12:
8244 if (ndx == 0 || ndx == 1)
8245 p = "int";
8246 break;
8247 /* fchdir */
8248 case 13:
8249 if (ndx == 0 || ndx == 1)
8250 p = "int";
8251 break;
8252 /* mknod */
8253 case 14:
8254 if (ndx == 0 || ndx == 1)
8255 p = "int";
8256 break;
8257 /* chmod */
8258 case 15:
8259 if (ndx == 0 || ndx == 1)
8260 p = "int";
8261 break;
8262 /* chown */
8263 case 16:
8264 if (ndx == 0 || ndx == 1)
8265 p = "int";
8266 break;
8267 /* obreak */
8268 case 17:
8269 if (ndx == 0 || ndx == 1)
8270 p = "int";
8271 break;
8272 /* getpid */
8273 case 20:
8274 /* mount */
8275 case 21:
8276 if (ndx == 0 || ndx == 1)
8277 p = "int";
8278 break;
8279 /* unmount */
8280 case 22:
8281 if (ndx == 0 || ndx == 1)
8282 p = "int";
8283 break;
8284 /* setuid */
8285 case 23:
8286 if (ndx == 0 || ndx == 1)
8287 p = "int";
8288 break;
8289 /* getuid */
8290 case 24:
8291 /* geteuid */
8292 case 25:
8293 /* ptrace */
8294 case 26:
8295 if (ndx == 0 || ndx == 1)
8296 p = "int";
8297 break;
8298 /* freebsd32_recvmsg */
8299 case 27:
8300 if (ndx == 0 || ndx == 1)
8301 p = "int";
8302 break;
8303 /* freebsd32_sendmsg */
8304 case 28:
8305 if (ndx == 0 || ndx == 1)
8306 p = "int";
8307 break;
8308 /* freebsd32_recvfrom */
8309 case 29:
8310 if (ndx == 0 || ndx == 1)
8311 p = "int";
8312 break;
8313 /* accept */
8314 case 30:
8315 if (ndx == 0 || ndx == 1)
8316 p = "int";
8317 break;
8318 /* getpeername */
8319 case 31:
8320 if (ndx == 0 || ndx == 1)
8321 p = "int";
8322 break;
8323 /* getsockname */
8324 case 32:
8325 if (ndx == 0 || ndx == 1)
8326 p = "int";
8327 break;
8328 /* access */
8329 case 33:
8330 if (ndx == 0 || ndx == 1)
8331 p = "int";
8332 break;
8333 /* chflags */
8334 case 34:
8335 if (ndx == 0 || ndx == 1)
8336 p = "int";
8337 break;
8338 /* fchflags */
8339 case 35:
8340 if (ndx == 0 || ndx == 1)
8341 p = "int";
8342 break;
8343 /* sync */
8344 case 36:
8345 /* kill */
8346 case 37:
8347 if (ndx == 0 || ndx == 1)
8348 p = "int";
8349 break;
8350 /* getppid */
8351 case 39:
8352 /* dup */
8353 case 41:
8354 if (ndx == 0 || ndx == 1)
8355 p = "int";
8356 break;
8357 /* pipe */
8358 case 42:
8359 /* getegid */
8360 case 43:
8361 /* profil */
8362 case 44:
8363 if (ndx == 0 || ndx == 1)
8364 p = "int";
8365 break;
8366 /* ktrace */
8367 case 45:
8368 if (ndx == 0 || ndx == 1)
8369 p = "int";
8370 break;
8371 /* getgid */
8372 case 47:
8373 /* getlogin */
8374 case 49:
8375 if (ndx == 0 || ndx == 1)
8376 p = "int";
8377 break;
8378 /* setlogin */
8379 case 50:
8380 if (ndx == 0 || ndx == 1)
8381 p = "int";
8382 break;
8383 /* acct */
8384 case 51:
8385 if (ndx == 0 || ndx == 1)
8386 p = "int";
8387 break;
8388 /* freebsd32_sigaltstack */
8389 case 53:
8390 if (ndx == 0 || ndx == 1)
8391 p = "int";
8392 break;
8393 /* freebsd32_ioctl */
8394 case 54:
8395 if (ndx == 0 || ndx == 1)
8396 p = "int";
8397 break;
8398 /* reboot */
8399 case 55:
8400 if (ndx == 0 || ndx == 1)
8401 p = "int";
8402 break;
8403 /* revoke */
8404 case 56:
8405 if (ndx == 0 || ndx == 1)
8406 p = "int";
8407 break;
8408 /* symlink */
8409 case 57:
8410 if (ndx == 0 || ndx == 1)
8411 p = "int";
8412 break;
8413 /* readlink */
8414 case 58:
8415 if (ndx == 0 || ndx == 1)
8416 p = "ssize_t";
8417 break;
8418 /* freebsd32_execve */
8419 case 59:
8420 if (ndx == 0 || ndx == 1)
8421 p = "int";
8422 break;
8423 /* umask */
8424 case 60:
8425 if (ndx == 0 || ndx == 1)
8426 p = "int";
8427 break;
8428 /* chroot */
8429 case 61:
8430 if (ndx == 0 || ndx == 1)
8431 p = "int";
8432 break;
8433 /* msync */
8434 case 65:
8435 if (ndx == 0 || ndx == 1)
8436 p = "int";
8437 break;
8438 /* vfork */
8439 case 66:
8440 /* sbrk */
8441 case 69:
8442 if (ndx == 0 || ndx == 1)
8443 p = "int";
8444 break;
8445 /* sstk */
8446 case 70:
8447 if (ndx == 0 || ndx == 1)
8448 p = "int";
8449 break;
8450 /* ovadvise */
8451 case 72:
8452 if (ndx == 0 || ndx == 1)
8453 p = "int";
8454 break;
8455 /* munmap */
8456 case 73:
8457 if (ndx == 0 || ndx == 1)
8458 p = "int";
8459 break;
8460 /* freebsd32_mprotect */
8461 case 74:
8462 if (ndx == 0 || ndx == 1)
8463 p = "int";
8464 break;
8465 /* madvise */
8466 case 75:
8467 if (ndx == 0 || ndx == 1)
8468 p = "int";
8469 break;
8470 /* mincore */
8471 case 78:
8472 if (ndx == 0 || ndx == 1)
8473 p = "int";
8474 break;
8475 /* getgroups */
8476 case 79:
8477 if (ndx == 0 || ndx == 1)
8478 p = "int";
8479 break;
8480 /* setgroups */
8481 case 80:
8482 if (ndx == 0 || ndx == 1)
8483 p = "int";
8484 break;
8485 /* getpgrp */
8486 case 81:
8487 /* setpgid */
8488 case 82:
8489 if (ndx == 0 || ndx == 1)
8490 p = "int";
8491 break;
8492 /* freebsd32_setitimer */
8493 case 83:
8494 if (ndx == 0 || ndx == 1)
8495 p = "int";
8496 break;
8497 /* swapon */
8498 case 85:
8499 if (ndx == 0 || ndx == 1)
8500 p = "int";
8501 break;
8502 /* freebsd32_getitimer */
8503 case 86:
8504 if (ndx == 0 || ndx == 1)
8505 p = "int";
8506 break;
8507 /* getdtablesize */
8508 case 89:
8509 /* dup2 */
8510 case 90:
8511 if (ndx == 0 || ndx == 1)
8512 p = "int";
8513 break;
8514 /* fcntl */
8515 case 92:
8516 if (ndx == 0 || ndx == 1)
8517 p = "int";
8518 break;
8519 /* freebsd32_select */
8520 case 93:
8521 if (ndx == 0 || ndx == 1)
8522 p = "int";
8523 break;
8524 /* fsync */
8525 case 95:
8526 if (ndx == 0 || ndx == 1)
8527 p = "int";
8528 break;
8529 /* setpriority */
8530 case 96:
8531 if (ndx == 0 || ndx == 1)
8532 p = "int";
8533 break;
8534 /* socket */
8535 case 97:
8536 if (ndx == 0 || ndx == 1)
8537 p = "int";
8538 break;
8539 /* connect */
8540 case 98:
8541 if (ndx == 0 || ndx == 1)
8542 p = "int";
8543 break;
8544 /* getpriority */
8545 case 100:
8546 if (ndx == 0 || ndx == 1)
8547 p = "int";
8548 break;
8549 /* bind */
8550 case 104:
8551 if (ndx == 0 || ndx == 1)
8552 p = "int";
8553 break;
8554 /* setsockopt */
8555 case 105:
8556 if (ndx == 0 || ndx == 1)
8557 p = "int";
8558 break;
8559 /* listen */
8560 case 106:
8561 if (ndx == 0 || ndx == 1)
8562 p = "int";
8563 break;
8564 /* freebsd32_gettimeofday */
8565 case 116:
8566 if (ndx == 0 || ndx == 1)
8567 p = "int";
8568 break;
8569 /* freebsd32_getrusage */
8570 case 117:
8571 if (ndx == 0 || ndx == 1)
8572 p = "int";
8573 break;
8574 /* getsockopt */
8575 case 118:
8576 if (ndx == 0 || ndx == 1)
8577 p = "int";
8578 break;
8579 /* freebsd32_readv */
8580 case 120:
8581 if (ndx == 0 || ndx == 1)
8582 p = "int";
8583 break;
8584 /* freebsd32_writev */
8585 case 121:
8586 if (ndx == 0 || ndx == 1)
8587 p = "int";
8588 break;
8589 /* freebsd32_settimeofday */
8590 case 122:
8591 if (ndx == 0 || ndx == 1)
8592 p = "int";
8593 break;
8594 /* fchown */
8595 case 123:
8596 if (ndx == 0 || ndx == 1)
8597 p = "int";
8598 break;
8599 /* fchmod */
8600 case 124:
8601 if (ndx == 0 || ndx == 1)
8602 p = "int";
8603 break;
8604 /* setreuid */
8605 case 126:
8606 if (ndx == 0 || ndx == 1)
8607 p = "int";
8608 break;
8609 /* setregid */
8610 case 127:
8611 if (ndx == 0 || ndx == 1)
8612 p = "int";
8613 break;
8614 /* rename */
8615 case 128:
8616 if (ndx == 0 || ndx == 1)
8617 p = "int";
8618 break;
8619 /* flock */
8620 case 131:
8621 if (ndx == 0 || ndx == 1)
8622 p = "int";
8623 break;
8624 /* mkfifo */
8625 case 132:
8626 if (ndx == 0 || ndx == 1)
8627 p = "int";
8628 break;
8629 /* sendto */
8630 case 133:
8631 if (ndx == 0 || ndx == 1)
8632 p = "int";
8633 break;
8634 /* shutdown */
8635 case 134:
8636 if (ndx == 0 || ndx == 1)
8637 p = "int";
8638 break;
8639 /* socketpair */
8640 case 135:
8641 if (ndx == 0 || ndx == 1)
8642 p = "int";
8643 break;
8644 /* mkdir */
8645 case 136:
8646 if (ndx == 0 || ndx == 1)
8647 p = "int";
8648 break;
8649 /* rmdir */
8650 case 137:
8651 if (ndx == 0 || ndx == 1)
8652 p = "int";
8653 break;
8654 /* freebsd32_utimes */
8655 case 138:
8656 if (ndx == 0 || ndx == 1)
8657 p = "int";
8658 break;
8659 /* freebsd32_adjtime */
8660 case 140:
8661 if (ndx == 0 || ndx == 1)
8662 p = "int";
8663 break;
8664 /* setsid */
8665 case 147:
8666 /* quotactl */
8667 case 148:
8668 if (ndx == 0 || ndx == 1)
8669 p = "int";
8670 break;
8671 /* getfh */
8672 case 161:
8673 if (ndx == 0 || ndx == 1)
8674 p = "int";
8675 break;
8676 /* freebsd32_sysarch */
8677 case 165:
8678 if (ndx == 0 || ndx == 1)
8679 p = "int";
8680 break;
8681 /* rtprio */
8682 case 166:
8683 if (ndx == 0 || ndx == 1)
8684 p = "int";
8685 break;
8686 /* freebsd32_semsys */
8687 case 169:
8688 if (ndx == 0 || ndx == 1)
8689 p = "int";
8690 break;
8691 /* freebsd32_msgsys */
8692 case 170:
8693 if (ndx == 0 || ndx == 1)
8694 p = "int";
8695 break;
8696 /* freebsd32_shmsys */
8697 case 171:
8698 if (ndx == 0 || ndx == 1)
8699 p = "int";
8700 break;
8701 /* ntp_adjtime */
8702 case 176:
8703 if (ndx == 0 || ndx == 1)
8704 p = "int";
8705 break;
8706 /* setgid */
8707 case 181:
8708 if (ndx == 0 || ndx == 1)
8709 p = "int";
8710 break;
8711 /* setegid */
8712 case 182:
8713 if (ndx == 0 || ndx == 1)
8714 p = "int";
8715 break;
8716 /* seteuid */
8717 case 183:
8718 if (ndx == 0 || ndx == 1)
8719 p = "int";
8720 break;
8721 /* freebsd32_stat */
8722 case 188:
8723 if (ndx == 0 || ndx == 1)
8724 p = "int";
8725 break;
8726 /* freebsd32_fstat */
8727 case 189:
8728 if (ndx == 0 || ndx == 1)
8729 p = "int";
8730 break;
8731 /* freebsd32_lstat */
8732 case 190:
8733 if (ndx == 0 || ndx == 1)
8734 p = "int";
8735 break;
8736 /* pathconf */
8737 case 191:
8738 if (ndx == 0 || ndx == 1)
8739 p = "int";
8740 break;
8741 /* fpathconf */
8742 case 192:
8743 if (ndx == 0 || ndx == 1)
8744 p = "int";
8745 break;
8746 /* getrlimit */
8747 case 194:
8748 if (ndx == 0 || ndx == 1)
8749 p = "int";
8750 break;
8751 /* setrlimit */
8752 case 195:
8753 if (ndx == 0 || ndx == 1)
8754 p = "int";
8755 break;
8756 /* freebsd32_getdirentries */
8757 case 196:
8758 if (ndx == 0 || ndx == 1)
8759 p = "int";
8760 break;
8761 /* nosys */
8762 case 198:
8763 /* freebsd32_sysctl */
8764 case 202:
8765 if (ndx == 0 || ndx == 1)
8766 p = "int";
8767 break;
8768 /* mlock */
8769 case 203:
8770 if (ndx == 0 || ndx == 1)
8771 p = "int";
8772 break;
8773 /* munlock */
8774 case 204:
8775 if (ndx == 0 || ndx == 1)
8776 p = "int";
8777 break;
8778 /* undelete */
8779 case 205:
8780 if (ndx == 0 || ndx == 1)
8781 p = "int";
8782 break;
8783 /* freebsd32_futimes */
8784 case 206:
8785 if (ndx == 0 || ndx == 1)
8786 p = "int";
8787 break;
8788 /* getpgid */
8789 case 207:
8790 if (ndx == 0 || ndx == 1)
8791 p = "int";
8792 break;
8793 /* poll */
8794 case 209:
8795 if (ndx == 0 || ndx == 1)
8796 p = "int";
8797 break;
8798 /* lkmnosys */
8799 case 210:
8800 /* lkmnosys */
8801 case 211:
8802 /* lkmnosys */
8803 case 212:
8804 /* lkmnosys */
8805 case 213:
8806 /* lkmnosys */
8807 case 214:
8808 /* lkmnosys */
8809 case 215:
8810 /* lkmnosys */
8811 case 216:
8812 /* lkmnosys */
8813 case 217:
8814 /* lkmnosys */
8815 case 218:
8816 /* lkmnosys */
8817 case 219:
8818 /* semget */
8819 case 221:
8820 if (ndx == 0 || ndx == 1)
8821 p = "int";
8822 break;
8823 /* semop */
8824 case 222:
8825 if (ndx == 0 || ndx == 1)
8826 p = "int";
8827 break;
8828 /* msgget */
8829 case 225:
8830 if (ndx == 0 || ndx == 1)
8831 p = "int";
8832 break;
8833 /* freebsd32_msgsnd */
8834 case 226:
8835 if (ndx == 0 || ndx == 1)
8836 p = "int";
8837 break;
8838 /* freebsd32_msgrcv */
8839 case 227:
8840 if (ndx == 0 || ndx == 1)
8841 p = "int";
8842 break;
8843 /* shmat */
8844 case 228:
8845 if (ndx == 0 || ndx == 1)
8846 p = "int";
8847 break;
8848 /* shmdt */
8849 case 230:
8850 if (ndx == 0 || ndx == 1)
8851 p = "int";
8852 break;
8853 /* shmget */
8854 case 231:
8855 if (ndx == 0 || ndx == 1)
8856 p = "int";
8857 break;
8858 /* freebsd32_clock_gettime */
8859 case 232:
8860 if (ndx == 0 || ndx == 1)
8861 p = "int";
8862 break;
8863 /* freebsd32_clock_settime */
8864 case 233:
8865 if (ndx == 0 || ndx == 1)
8866 p = "int";
8867 break;
8868 /* freebsd32_clock_getres */
8869 case 234:
8870 if (ndx == 0 || ndx == 1)
8871 p = "int";
8872 break;
8873 /* freebsd32_nanosleep */
8874 case 240:
8875 if (ndx == 0 || ndx == 1)
8876 p = "int";
8877 break;
8878 /* ffclock_getcounter */
8879 case 241:
8880 if (ndx == 0 || ndx == 1)
8881 p = "int";
8882 break;
8883 /* ffclock_setestimate */
8884 case 242:
8885 if (ndx == 0 || ndx == 1)
8886 p = "int";
8887 break;
8888 /* ffclock_getestimate */
8889 case 243:
8890 if (ndx == 0 || ndx == 1)
8891 p = "int";
8892 break;
8893 /* minherit */
8894 case 250:
8895 if (ndx == 0 || ndx == 1)
8896 p = "int";
8897 break;
8898 /* rfork */
8899 case 251:
8900 if (ndx == 0 || ndx == 1)
8901 p = "int";
8902 break;
8903 /* openbsd_poll */
8904 case 252:
8905 if (ndx == 0 || ndx == 1)
8906 p = "int";
8907 break;
8908 /* issetugid */
8909 case 253:
8910 /* lchown */
8911 case 254:
8912 if (ndx == 0 || ndx == 1)
8913 p = "int";
8914 break;
8915 /* freebsd32_aio_read */
8916 case 255:
8917 if (ndx == 0 || ndx == 1)
8918 p = "int";
8919 break;
8920 /* freebsd32_aio_write */
8921 case 256:
8922 if (ndx == 0 || ndx == 1)
8923 p = "int";
8924 break;
8925 /* freebsd32_lio_listio */
8926 case 257:
8927 if (ndx == 0 || ndx == 1)
8928 p = "int";
8929 break;
8930 /* getdents */
8931 case 272:
8932 if (ndx == 0 || ndx == 1)
8933 p = "int";
8934 break;
8935 /* lchmod */
8936 case 274:
8937 if (ndx == 0 || ndx == 1)
8938 p = "int";
8939 break;
8940 /* lchown */
8941 case 275:
8942 if (ndx == 0 || ndx == 1)
8943 p = "int";
8944 break;
8945 /* freebsd32_lutimes */
8946 case 276:
8947 if (ndx == 0 || ndx == 1)
8948 p = "int";
8949 break;
8950 /* msync */
8951 case 277:
8952 if (ndx == 0 || ndx == 1)
8953 p = "int";
8954 break;
8955 /* nstat */
8956 case 278:
8957 if (ndx == 0 || ndx == 1)
8958 p = "int";
8959 break;
8960 /* nfstat */
8961 case 279:
8962 if (ndx == 0 || ndx == 1)
8963 p = "int";
8964 break;
8965 /* nlstat */
8966 case 280:
8967 if (ndx == 0 || ndx == 1)
8968 p = "int";
8969 break;
8970 /* freebsd32_preadv */
8971 case 289:
8972 if (ndx == 0 || ndx == 1)
8973 p = "ssize_t";
8974 break;
8975 /* freebsd32_pwritev */
8976 case 290:
8977 if (ndx == 0 || ndx == 1)
8978 p = "ssize_t";
8979 break;
8980 /* fhopen */
8981 case 298:
8982 if (ndx == 0 || ndx == 1)
8983 p = "int";
8984 break;
8985 /* fhstat */
8986 case 299:
8987 if (ndx == 0 || ndx == 1)
8988 p = "int";
8989 break;
8990 /* modnext */
8991 case 300:
8992 if (ndx == 0 || ndx == 1)
8993 p = "int";
8994 break;
8995 /* freebsd32_modstat */
8996 case 301:
8997 if (ndx == 0 || ndx == 1)
8998 p = "int";
8999 break;
9000 /* modfnext */
9001 case 302:
9002 if (ndx == 0 || ndx == 1)
9003 p = "int";
9004 break;
9005 /* modfind */
9006 case 303:
9007 if (ndx == 0 || ndx == 1)
9008 p = "int";
9009 break;
9010 /* kldload */
9011 case 304:
9012 if (ndx == 0 || ndx == 1)
9013 p = "int";
9014 break;
9015 /* kldunload */
9016 case 305:
9017 if (ndx == 0 || ndx == 1)
9018 p = "int";
9019 break;
9020 /* kldfind */
9021 case 306:
9022 if (ndx == 0 || ndx == 1)
9023 p = "int";
9024 break;
9025 /* kldnext */
9026 case 307:
9027 if (ndx == 0 || ndx == 1)
9028 p = "int";
9029 break;
9030 /* freebsd32_kldstat */
9031 case 308:
9032 if (ndx == 0 || ndx == 1)
9033 p = "int";
9034 break;
9035 /* kldfirstmod */
9036 case 309:
9037 if (ndx == 0 || ndx == 1)
9038 p = "int";
9039 break;
9040 /* getsid */
9041 case 310:
9042 if (ndx == 0 || ndx == 1)
9043 p = "int";
9044 break;
9045 /* setresuid */
9046 case 311:
9047 if (ndx == 0 || ndx == 1)
9048 p = "int";
9049 break;
9050 /* setresgid */
9051 case 312:
9052 if (ndx == 0 || ndx == 1)
9053 p = "int";
9054 break;
9055 /* freebsd32_aio_return */
9056 case 314:
9057 if (ndx == 0 || ndx == 1)
9058 p = "int";
9059 break;
9060 /* freebsd32_aio_suspend */
9061 case 315:
9062 if (ndx == 0 || ndx == 1)
9063 p = "int";
9064 break;
9065 /* freebsd32_aio_cancel */
9066 case 316:
9067 if (ndx == 0 || ndx == 1)
9068 p = "int";
9069 break;
9070 /* freebsd32_aio_error */
9071 case 317:
9072 if (ndx == 0 || ndx == 1)
9073 p = "int";
9074 break;
9075 /* freebsd32_oaio_read */
9076 case 318:
9077 if (ndx == 0 || ndx == 1)
9078 p = "int";
9079 break;
9080 /* freebsd32_oaio_write */
9081 case 319:
9082 if (ndx == 0 || ndx == 1)
9083 p = "int";
9084 break;
9085 /* freebsd32_olio_listio */
9086 case 320:
9087 if (ndx == 0 || ndx == 1)
9088 p = "int";
9089 break;
9090 /* yield */
9091 case 321:
9092 /* mlockall */
9093 case 324:
9094 if (ndx == 0 || ndx == 1)
9095 p = "int";
9096 break;
9097 /* munlockall */
9098 case 325:
9099 /* __getcwd */
9100 case 326:
9101 if (ndx == 0 || ndx == 1)
9102 p = "int";
9103 break;
9104 /* sched_setparam */
9105 case 327:
9106 if (ndx == 0 || ndx == 1)
9107 p = "int";
9108 break;
9109 /* sched_getparam */
9110 case 328:
9111 if (ndx == 0 || ndx == 1)
9112 p = "int";
9113 break;
9114 /* sched_setscheduler */
9115 case 329:
9116 if (ndx == 0 || ndx == 1)
9117 p = "int";
9118 break;
9119 /* sched_getscheduler */
9120 case 330:
9121 if (ndx == 0 || ndx == 1)
9122 p = "int";
9123 break;
9124 /* sched_yield */
9125 case 331:
9126 /* sched_get_priority_max */
9127 case 332:
9128 if (ndx == 0 || ndx == 1)
9129 p = "int";
9130 break;
9131 /* sched_get_priority_min */
9132 case 333:
9133 if (ndx == 0 || ndx == 1)
9134 p = "int";
9135 break;
9136 /* sched_rr_get_interval */
9137 case 334:
9138 if (ndx == 0 || ndx == 1)
9139 p = "int";
9140 break;
9141 /* utrace */
9142 case 335:
9143 if (ndx == 0 || ndx == 1)
9144 p = "int";
9145 break;
9146 /* kldsym */
9147 case 337:
9148 if (ndx == 0 || ndx == 1)
9149 p = "int";
9150 break;
9151 /* freebsd32_jail */
9152 case 338:
9153 if (ndx == 0 || ndx == 1)
9154 p = "int";
9155 break;
9156 /* sigprocmask */
9157 case 340:
9158 if (ndx == 0 || ndx == 1)
9159 p = "int";
9160 break;
9161 /* sigsuspend */
9162 case 341:
9163 if (ndx == 0 || ndx == 1)
9164 p = "int";
9165 break;
9166 /* sigpending */
9167 case 343:
9168 if (ndx == 0 || ndx == 1)
9169 p = "int";
9170 break;
9171 /* freebsd32_sigtimedwait */
9172 case 345:
9173 if (ndx == 0 || ndx == 1)
9174 p = "int";
9175 break;
9176 /* freebsd32_sigwaitinfo */
9177 case 346:
9178 if (ndx == 0 || ndx == 1)
9179 p = "int";
9180 break;
9181 /* __acl_get_file */
9182 case 347:
9183 if (ndx == 0 || ndx == 1)
9184 p = "int";
9185 break;
9186 /* __acl_set_file */
9187 case 348:
9188 if (ndx == 0 || ndx == 1)
9189 p = "int";
9190 break;
9191 /* __acl_get_fd */
9192 case 349:
9193 if (ndx == 0 || ndx == 1)
9194 p = "int";
9195 break;
9196 /* __acl_set_fd */
9197 case 350:
9198 if (ndx == 0 || ndx == 1)
9199 p = "int";
9200 break;
9201 /* __acl_delete_file */
9202 case 351:
9203 if (ndx == 0 || ndx == 1)
9204 p = "int";
9205 break;
9206 /* __acl_delete_fd */
9207 case 352:
9208 if (ndx == 0 || ndx == 1)
9209 p = "int";
9210 break;
9211 /* __acl_aclcheck_file */
9212 case 353:
9213 if (ndx == 0 || ndx == 1)
9214 p = "int";
9215 break;
9216 /* __acl_aclcheck_fd */
9217 case 354:
9218 if (ndx == 0 || ndx == 1)
9219 p = "int";
9220 break;
9221 /* extattrctl */
9222 case 355:
9223 if (ndx == 0 || ndx == 1)
9224 p = "int";
9225 break;
9226 /* extattr_set_file */
9227 case 356:
9228 if (ndx == 0 || ndx == 1)
9229 p = "int";
9230 break;
9231 /* extattr_get_file */
9232 case 357:
9233 if (ndx == 0 || ndx == 1)
9234 p = "ssize_t";
9235 break;
9236 /* extattr_delete_file */
9237 case 358:
9238 if (ndx == 0 || ndx == 1)
9239 p = "int";
9240 break;
9241 /* freebsd32_aio_waitcomplete */
9242 case 359:
9243 if (ndx == 0 || ndx == 1)
9244 p = "int";
9245 break;
9246 /* getresuid */
9247 case 360:
9248 if (ndx == 0 || ndx == 1)
9249 p = "int";
9250 break;
9251 /* getresgid */
9252 case 361:
9253 if (ndx == 0 || ndx == 1)
9254 p = "int";
9255 break;
9256 /* kqueue */
9257 case 362:
9258 /* freebsd32_kevent */
9259 case 363:
9260 if (ndx == 0 || ndx == 1)
9261 p = "int";
9262 break;
9263 /* extattr_set_fd */
9264 case 371:
9265 if (ndx == 0 || ndx == 1)
9266 p = "int";
9267 break;
9268 /* extattr_get_fd */
9269 case 372:
9270 if (ndx == 0 || ndx == 1)
9271 p = "ssize_t";
9272 break;
9273 /* extattr_delete_fd */
9274 case 373:
9275 if (ndx == 0 || ndx == 1)
9276 p = "int";
9277 break;
9278 /* __setugid */
9279 case 374:
9280 if (ndx == 0 || ndx == 1)
9281 p = "int";
9282 break;
9283 /* eaccess */
9284 case 376:
9285 if (ndx == 0 || ndx == 1)
9286 p = "int";
9287 break;
9288 /* freebsd32_nmount */
9289 case 378:
9290 if (ndx == 0 || ndx == 1)
9291 p = "int";
9292 break;
9293 /* kenv */
9294 case 390:
9295 if (ndx == 0 || ndx == 1)
9296 p = "int";
9297 break;
9298 /* lchflags */
9299 case 391:
9300 if (ndx == 0 || ndx == 1)
9301 p = "int";
9302 break;
9303 /* uuidgen */
9304 case 392:
9305 if (ndx == 0 || ndx == 1)
9306 p = "int";
9307 break;
9308 /* freebsd32_sendfile */
9309 case 393:
9310 if (ndx == 0 || ndx == 1)
9311 p = "int";
9312 break;
9313 /* getfsstat */
9314 case 395:
9315 if (ndx == 0 || ndx == 1)
9316 p = "int";
9317 break;
9318 /* statfs */
9319 case 396:
9320 if (ndx == 0 || ndx == 1)
9321 p = "int";
9322 break;
9323 /* fstatfs */
9324 case 397:
9325 if (ndx == 0 || ndx == 1)
9326 p = "int";
9327 break;
9328 /* fhstatfs */
9329 case 398:
9330 if (ndx == 0 || ndx == 1)
9331 p = "int";
9332 break;
9333 /* ksem_close */
9334 case 400:
9335 if (ndx == 0 || ndx == 1)
9336 p = "int";
9337 break;
9338 /* ksem_post */
9339 case 401:
9340 if (ndx == 0 || ndx == 1)
9341 p = "int";
9342 break;
9343 /* ksem_wait */
9344 case 402:
9345 if (ndx == 0 || ndx == 1)
9346 p = "int";
9347 break;
9348 /* ksem_trywait */
9349 case 403:
9350 if (ndx == 0 || ndx == 1)
9351 p = "int";
9352 break;
9353 /* freebsd32_ksem_init */
9354 case 404:
9355 if (ndx == 0 || ndx == 1)
9356 p = "int";
9357 break;
9358 /* freebsd32_ksem_open */
9359 case 405:
9360 if (ndx == 0 || ndx == 1)
9361 p = "int";
9362 break;
9363 /* ksem_unlink */
9364 case 406:
9365 if (ndx == 0 || ndx == 1)
9366 p = "int";
9367 break;
9368 /* ksem_getvalue */
9369 case 407:
9370 if (ndx == 0 || ndx == 1)
9371 p = "int";
9372 break;
9373 /* ksem_destroy */
9374 case 408:
9375 if (ndx == 0 || ndx == 1)
9376 p = "int";
9377 break;
9378 /* extattr_set_link */
9379 case 412:
9380 if (ndx == 0 || ndx == 1)
9381 p = "int";
9382 break;
9383 /* extattr_get_link */
9384 case 413:
9385 if (ndx == 0 || ndx == 1)
9386 p = "ssize_t";
9387 break;
9388 /* extattr_delete_link */
9389 case 414:
9390 if (ndx == 0 || ndx == 1)
9391 p = "int";
9392 break;
9393 /* freebsd32_sigaction */
9394 case 416:
9395 if (ndx == 0 || ndx == 1)
9396 p = "int";
9397 break;
9398 /* freebsd32_sigreturn */
9399 case 417:
9400 if (ndx == 0 || ndx == 1)
9401 p = "int";
9402 break;
9403 /* freebsd32_getcontext */
9404 case 421:
9405 if (ndx == 0 || ndx == 1)
9406 p = "int";
9407 break;
9408 /* freebsd32_setcontext */
9409 case 422:
9410 if (ndx == 0 || ndx == 1)
9411 p = "int";
9412 break;
9413 /* freebsd32_swapcontext */
9414 case 423:
9415 if (ndx == 0 || ndx == 1)
9416 p = "int";
9417 break;
9418 /* __acl_get_link */
9419 case 425:
9420 if (ndx == 0 || ndx == 1)
9421 p = "int";
9422 break;
9423 /* __acl_set_link */
9424 case 426:
9425 if (ndx == 0 || ndx == 1)
9426 p = "int";
9427 break;
9428 /* __acl_delete_link */
9429 case 427:
9430 if (ndx == 0 || ndx == 1)
9431 p = "int";
9432 break;
9433 /* __acl_aclcheck_link */
9434 case 428:
9435 if (ndx == 0 || ndx == 1)
9436 p = "int";
9437 break;
9438 /* sigwait */
9439 case 429:
9440 if (ndx == 0 || ndx == 1)
9441 p = "int";
9442 break;
9443 /* thr_exit */
9444 case 431:
9445 if (ndx == 0 || ndx == 1)
9446 p = "void";
9447 break;
9448 /* thr_self */
9449 case 432:
9450 if (ndx == 0 || ndx == 1)
9451 p = "int";
9452 break;
9453 /* thr_kill */
9454 case 433:
9455 if (ndx == 0 || ndx == 1)
9456 p = "int";
9457 break;
9458 /* freebsd32_umtx_lock */
9459 case 434:
9460 if (ndx == 0 || ndx == 1)
9461 p = "int";
9462 break;
9463 /* freebsd32_umtx_unlock */
9464 case 435:
9465 if (ndx == 0 || ndx == 1)
9466 p = "int";
9467 break;
9468 /* jail_attach */
9469 case 436:
9470 if (ndx == 0 || ndx == 1)
9471 p = "int";
9472 break;
9473 /* extattr_list_fd */
9474 case 437:
9475 if (ndx == 0 || ndx == 1)
9476 p = "ssize_t";
9477 break;
9478 /* extattr_list_file */
9479 case 438:
9480 if (ndx == 0 || ndx == 1)
9481 p = "ssize_t";
9482 break;
9483 /* extattr_list_link */
9484 case 439:
9485 if (ndx == 0 || ndx == 1)
9486 p = "ssize_t";
9487 break;
9488 /* freebsd32_ksem_timedwait */
9489 case 441:
9490 if (ndx == 0 || ndx == 1)
9491 p = "int";
9492 break;
9493 /* freebsd32_thr_suspend */
9494 case 442:
9495 if (ndx == 0 || ndx == 1)
9496 p = "int";
9497 break;
9498 /* thr_wake */
9499 case 443:
9500 if (ndx == 0 || ndx == 1)
9501 p = "int";
9502 break;
9503 /* kldunloadf */
9504 case 444:
9505 if (ndx == 0 || ndx == 1)
9506 p = "int";
9507 break;
9508 /* audit */
9509 case 445:
9510 if (ndx == 0 || ndx == 1)
9511 p = "int";
9512 break;
9513 /* auditon */
9514 case 446:
9515 if (ndx == 0 || ndx == 1)
9516 p = "int";
9517 break;
9518 /* getauid */
9519 case 447:
9520 if (ndx == 0 || ndx == 1)
9521 p = "int";
9522 break;
9523 /* setauid */
9524 case 448:
9525 if (ndx == 0 || ndx == 1)
9526 p = "int";
9527 break;
9528 /* getaudit */
9529 case 449:
9530 if (ndx == 0 || ndx == 1)
9531 p = "int";
9532 break;
9533 /* setaudit */
9534 case 450:
9535 if (ndx == 0 || ndx == 1)
9536 p = "int";
9537 break;
9538 /* getaudit_addr */
9539 case 451:
9540 if (ndx == 0 || ndx == 1)
9541 p = "int";
9542 break;
9543 /* setaudit_addr */
9544 case 452:
9545 if (ndx == 0 || ndx == 1)
9546 p = "int";
9547 break;
9548 /* auditctl */
9549 case 453:
9550 if (ndx == 0 || ndx == 1)
9551 p = "int";
9552 break;
9553 /* freebsd32_umtx_op */
9554 case 454:
9555 if (ndx == 0 || ndx == 1)
9556 p = "int";
9557 break;
9558 /* freebsd32_thr_new */
9559 case 455:
9560 if (ndx == 0 || ndx == 1)
9561 p = "int";
9562 break;
9563 /* sigqueue */
9564 case 456:
9565 if (ndx == 0 || ndx == 1)
9566 p = "int";
9567 break;
9568 /* freebsd32_kmq_open */
9569 case 457:
9570 if (ndx == 0 || ndx == 1)
9571 p = "int";
9572 break;
9573 /* freebsd32_kmq_setattr */
9574 case 458:
9575 if (ndx == 0 || ndx == 1)
9576 p = "int";
9577 break;
9578 /* freebsd32_kmq_timedreceive */
9579 case 459:
9580 if (ndx == 0 || ndx == 1)
9581 p = "int";
9582 break;
9583 /* freebsd32_kmq_timedsend */
9584 case 460:
9585 if (ndx == 0 || ndx == 1)
9586 p = "int";
9587 break;
9588 /* kmq_notify */
9589 case 461:
9590 if (ndx == 0 || ndx == 1)
9591 p = "int";
9592 break;
9593 /* kmq_unlink */
9594 case 462:
9595 if (ndx == 0 || ndx == 1)
9596 p = "int";
9597 break;
9598 /* abort2 */
9599 case 463:
9600 if (ndx == 0 || ndx == 1)
9601 p = "int";
9602 break;
9603 /* thr_set_name */
9604 case 464:
9605 if (ndx == 0 || ndx == 1)
9606 p = "int";
9607 break;
9608 /* freebsd32_aio_fsync */
9609 case 465:
9610 if (ndx == 0 || ndx == 1)
9611 p = "int";
9612 break;
9613 /* rtprio_thread */
9614 case 466:
9615 if (ndx == 0 || ndx == 1)
9616 p = "int";
9617 break;
9618 /* sctp_peeloff */
9619 case 471:
9620 if (ndx == 0 || ndx == 1)
9621 p = "int";
9622 break;
9623 /* sctp_generic_sendmsg */
9624 case 472:
9625 if (ndx == 0 || ndx == 1)
9626 p = "int";
9627 break;
9628 /* sctp_generic_sendmsg_iov */
9629 case 473:
9630 if (ndx == 0 || ndx == 1)
9631 p = "int";
9632 break;
9633 /* sctp_generic_recvmsg */
9634 case 474:
9635 if (ndx == 0 || ndx == 1)
9636 p = "int";
9637 break;
9638#ifdef PAD64_REQUIRED
9639 /* freebsd32_pread */
9640 case 475:
9641 if (ndx == 0 || ndx == 1)
9642 p = "ssize_t";
9643 break;
9644 /* freebsd32_pwrite */
9645 case 476:
9646 if (ndx == 0 || ndx == 1)
9647 p = "ssize_t";
9648 break;
9649 /* freebsd32_mmap */
9650 case 477:
9651 if (ndx == 0 || ndx == 1)
9652 p = "caddr_t";
9653 break;
9654 /* freebsd32_lseek */
9655 case 478:
9656 if (ndx == 0 || ndx == 1)
9657 p = "off_t";
9658 break;
9659 /* freebsd32_truncate */
9660 case 479:
9661 if (ndx == 0 || ndx == 1)
9662 p = "int";
9663 break;
9664 /* freebsd32_ftruncate */
9665 case 480:
9666 if (ndx == 0 || ndx == 1)
9667 p = "int";
9668 break;
9669#else
9670 /* freebsd32_pread */
9671 case 475:
9672 if (ndx == 0 || ndx == 1)
9673 p = "ssize_t";
9674 break;
9675 /* freebsd32_pwrite */
9676 case 476:
9677 if (ndx == 0 || ndx == 1)
9678 p = "ssize_t";
9679 break;
9680 /* freebsd32_mmap */
9681 case 477:
9682 if (ndx == 0 || ndx == 1)
9683 p = "caddr_t";
9684 break;
9685 /* freebsd32_lseek */
9686 case 478:
9687 if (ndx == 0 || ndx == 1)
9688 p = "off_t";
9689 break;
9690 /* freebsd32_truncate */
9691 case 479:
9692 if (ndx == 0 || ndx == 1)
9693 p = "int";
9694 break;
9695 /* freebsd32_ftruncate */
9696 case 480:
9697 if (ndx == 0 || ndx == 1)
9698 p = "int";
9699 break;
9700#endif
9701 /* thr_kill2 */
9702 case 481:
9703 if (ndx == 0 || ndx == 1)
9704 p = "int";
9705 break;
9706 /* shm_open */
9707 case 482:
9708 if (ndx == 0 || ndx == 1)
9709 p = "int";
9710 break;
9711 /* shm_unlink */
9712 case 483:
9713 if (ndx == 0 || ndx == 1)
9714 p = "int";
9715 break;
9716 /* cpuset */
9717 case 484:
9718 if (ndx == 0 || ndx == 1)
9719 p = "int";
9720 break;
9721#ifdef PAD64_REQUIRED
9722 /* freebsd32_cpuset_setid */
9723 case 485:
9724 if (ndx == 0 || ndx == 1)
9725 p = "int";
9726 break;
9727#else
9728 /* freebsd32_cpuset_setid */
9729 case 485:
9730 if (ndx == 0 || ndx == 1)
9731 p = "int";
9732 break;
9733#endif
9734 /* freebsd32_cpuset_getid */
9735 case 486:
9736 if (ndx == 0 || ndx == 1)
9737 p = "int";
9738 break;
9739 /* freebsd32_cpuset_getaffinity */
9740 case 487:
9741 if (ndx == 0 || ndx == 1)
9742 p = "int";
9743 break;
9744 /* freebsd32_cpuset_setaffinity */
9745 case 488:
9746 if (ndx == 0 || ndx == 1)
9747 p = "int";
9748 break;
9749 /* faccessat */
9750 case 489:
9751 if (ndx == 0 || ndx == 1)
9752 p = "int";
9753 break;
9754 /* fchmodat */
9755 case 490:
9756 if (ndx == 0 || ndx == 1)
9757 p = "int";
9758 break;
9759 /* fchownat */
9760 case 491:
9761 if (ndx == 0 || ndx == 1)
9762 p = "int";
9763 break;
9764 /* freebsd32_fexecve */
9765 case 492:
9766 if (ndx == 0 || ndx == 1)
9767 p = "int";
9768 break;
9769 /* freebsd32_fstatat */
9770 case 493:
9771 if (ndx == 0 || ndx == 1)
9772 p = "int";
9773 break;
9774 /* freebsd32_futimesat */
9775 case 494:
9776 if (ndx == 0 || ndx == 1)
9777 p = "int";
9778 break;
9779 /* linkat */
9780 case 495:
9781 if (ndx == 0 || ndx == 1)
9782 p = "int";
9783 break;
9784 /* mkdirat */
9785 case 496:
9786 if (ndx == 0 || ndx == 1)
9787 p = "int";
9788 break;
9789 /* mkfifoat */
9790 case 497:
9791 if (ndx == 0 || ndx == 1)
9792 p = "int";
9793 break;
9794 /* mknodat */
9795 case 498:
9796 if (ndx == 0 || ndx == 1)
9797 p = "int";
9798 break;
9799 /* openat */
9800 case 499:
9801 if (ndx == 0 || ndx == 1)
9802 p = "int";
9803 break;
9804 /* readlinkat */
9805 case 500:
9806 if (ndx == 0 || ndx == 1)
9807 p = "int";
9808 break;
9809 /* renameat */
9810 case 501:
9811 if (ndx == 0 || ndx == 1)
9812 p = "int";
9813 break;
9814 /* symlinkat */
9815 case 502:
9816 if (ndx == 0 || ndx == 1)
9817 p = "int";
9818 break;
9819 /* unlinkat */
9820 case 503:
9821 if (ndx == 0 || ndx == 1)
9822 p = "int";
9823 break;
9824 /* posix_openpt */
9825 case 504:
9826 if (ndx == 0 || ndx == 1)
9827 p = "int";
9828 break;
9829 /* freebsd32_jail_get */
9830 case 506:
9831 if (ndx == 0 || ndx == 1)
9832 p = "int";
9833 break;
9834 /* freebsd32_jail_set */
9835 case 507:
9836 if (ndx == 0 || ndx == 1)
9837 p = "int";
9838 break;
9839 /* jail_remove */
9840 case 508:
9841 if (ndx == 0 || ndx == 1)
9842 p = "int";
9843 break;
9844 /* closefrom */
9845 case 509:
9846 if (ndx == 0 || ndx == 1)
9847 p = "int";
9848 break;
9849 /* freebsd32_semctl */
9850 case 510:
9851 if (ndx == 0 || ndx == 1)
9852 p = "int";
9853 break;
9854 /* freebsd32_msgctl */
9855 case 511:
9856 if (ndx == 0 || ndx == 1)
9857 p = "int";
9858 break;
9859 /* freebsd32_shmctl */
9860 case 512:
9861 if (ndx == 0 || ndx == 1)
9862 p = "int";
9863 break;
9864 /* lpathconf */
9865 case 513:
9866 if (ndx == 0 || ndx == 1)
9867 p = "int";
9868 break;
9869 /* cap_new */
9870 case 514:
9871 if (ndx == 0 || ndx == 1)
9872 p = "int";
9873 break;
9874 /* cap_getrights */
9875 case 515:
9876 if (ndx == 0 || ndx == 1)
9877 p = "int";
9878 break;
9879 /* cap_enter */
9880 case 516:
9881 /* cap_getmode */
9882 case 517:
9883 if (ndx == 0 || ndx == 1)
9884 p = "int";
9885 break;
9886 /* freebsd32_pselect */
9887 case 522:
9888 if (ndx == 0 || ndx == 1)
9889 p = "int";
9890 break;
9891 /* getloginclass */
9892 case 523:
9893 if (ndx == 0 || ndx == 1)
9894 p = "int";
9895 break;
9896 /* setloginclass */
9897 case 524:
9898 if (ndx == 0 || ndx == 1)
9899 p = "int";
9900 break;
9901 /* rctl_get_racct */
9902 case 525:
9903 if (ndx == 0 || ndx == 1)
9904 p = "int";
9905 break;
9906 /* rctl_get_rules */
9907 case 526:
9908 if (ndx == 0 || ndx == 1)
9909 p = "int";
9910 break;
9911 /* rctl_get_limits */
9912 case 527:
9913 if (ndx == 0 || ndx == 1)
9914 p = "int";
9915 break;
9916 /* rctl_add_rule */
9917 case 528:
9918 if (ndx == 0 || ndx == 1)
9919 p = "int";
9920 break;
9921 /* rctl_remove_rule */
9922 case 529:
9923 if (ndx == 0 || ndx == 1)
9924 p = "int";
9925 break;
9926 /* freebsd32_posix_fallocate */
9927 case 530:
9928 if (ndx == 0 || ndx == 1)
9929 p = "int";
9930 break;
9931 /* freebsd32_posix_fadvise */
9932 case 531:
9933 if (ndx == 0 || ndx == 1)
9934 p = "int";
9935 break;
9936 default:
9937 break;
9938 };
9939 if (p != NULL)
9940 strlcpy(desc, p, descsz);
9941}
2 * System call argument to DTrace register array converstion.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/compat/freebsd32/freebsd32_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#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
15#define PAD64_REQUIRED
16#endif
17 /* nosys */
18 case 0: {
19 *n_args = 0;
20 break;
21 }
22 /* sys_exit */
23 case 1: {
24 struct sys_exit_args *p = params;
25 iarg[0] = p->rval; /* int */
26 *n_args = 1;
27 break;
28 }
29 /* fork */
30 case 2: {
31 *n_args = 0;
32 break;
33 }
34 /* read */
35 case 3: {
36 struct read_args *p = params;
37 iarg[0] = p->fd; /* int */
38 uarg[1] = (intptr_t) p->buf; /* void * */
39 uarg[2] = p->nbyte; /* size_t */
40 *n_args = 3;
41 break;
42 }
43 /* write */
44 case 4: {
45 struct write_args *p = params;
46 iarg[0] = p->fd; /* int */
47 uarg[1] = (intptr_t) p->buf; /* const void * */
48 uarg[2] = p->nbyte; /* size_t */
49 *n_args = 3;
50 break;
51 }
52 /* open */
53 case 5: {
54 struct open_args *p = params;
55 uarg[0] = (intptr_t) p->path; /* char * */
56 iarg[1] = p->flags; /* int */
57 iarg[2] = p->mode; /* int */
58 *n_args = 3;
59 break;
60 }
61 /* close */
62 case 6: {
63 struct close_args *p = params;
64 iarg[0] = p->fd; /* int */
65 *n_args = 1;
66 break;
67 }
68 /* freebsd32_wait4 */
69 case 7: {
70 struct freebsd32_wait4_args *p = params;
71 iarg[0] = p->pid; /* int */
72 uarg[1] = (intptr_t) p->status; /* int * */
73 iarg[2] = p->options; /* int */
74 uarg[3] = (intptr_t) p->rusage; /* struct rusage32 * */
75 *n_args = 4;
76 break;
77 }
78 /* link */
79 case 9: {
80 struct link_args *p = params;
81 uarg[0] = (intptr_t) p->path; /* char * */
82 uarg[1] = (intptr_t) p->link; /* char * */
83 *n_args = 2;
84 break;
85 }
86 /* unlink */
87 case 10: {
88 struct unlink_args *p = params;
89 uarg[0] = (intptr_t) p->path; /* char * */
90 *n_args = 1;
91 break;
92 }
93 /* chdir */
94 case 12: {
95 struct chdir_args *p = params;
96 uarg[0] = (intptr_t) p->path; /* char * */
97 *n_args = 1;
98 break;
99 }
100 /* fchdir */
101 case 13: {
102 struct fchdir_args *p = params;
103 iarg[0] = p->fd; /* int */
104 *n_args = 1;
105 break;
106 }
107 /* mknod */
108 case 14: {
109 struct mknod_args *p = params;
110 uarg[0] = (intptr_t) p->path; /* char * */
111 iarg[1] = p->mode; /* int */
112 iarg[2] = p->dev; /* int */
113 *n_args = 3;
114 break;
115 }
116 /* chmod */
117 case 15: {
118 struct chmod_args *p = params;
119 uarg[0] = (intptr_t) p->path; /* char * */
120 iarg[1] = p->mode; /* int */
121 *n_args = 2;
122 break;
123 }
124 /* chown */
125 case 16: {
126 struct chown_args *p = params;
127 uarg[0] = (intptr_t) p->path; /* char * */
128 iarg[1] = p->uid; /* int */
129 iarg[2] = p->gid; /* int */
130 *n_args = 3;
131 break;
132 }
133 /* obreak */
134 case 17: {
135 struct obreak_args *p = params;
136 uarg[0] = (intptr_t) p->nsize; /* char * */
137 *n_args = 1;
138 break;
139 }
140 /* getpid */
141 case 20: {
142 *n_args = 0;
143 break;
144 }
145 /* mount */
146 case 21: {
147 struct mount_args *p = params;
148 uarg[0] = (intptr_t) p->type; /* char * */
149 uarg[1] = (intptr_t) p->path; /* char * */
150 iarg[2] = p->flags; /* int */
151 uarg[3] = (intptr_t) p->data; /* caddr_t */
152 *n_args = 4;
153 break;
154 }
155 /* unmount */
156 case 22: {
157 struct unmount_args *p = params;
158 uarg[0] = (intptr_t) p->path; /* char * */
159 iarg[1] = p->flags; /* int */
160 *n_args = 2;
161 break;
162 }
163 /* setuid */
164 case 23: {
165 struct setuid_args *p = params;
166 uarg[0] = p->uid; /* uid_t */
167 *n_args = 1;
168 break;
169 }
170 /* getuid */
171 case 24: {
172 *n_args = 0;
173 break;
174 }
175 /* geteuid */
176 case 25: {
177 *n_args = 0;
178 break;
179 }
180 /* ptrace */
181 case 26: {
182 struct ptrace_args *p = params;
183 iarg[0] = p->req; /* int */
184 iarg[1] = p->pid; /* pid_t */
185 uarg[2] = (intptr_t) p->addr; /* caddr_t */
186 iarg[3] = p->data; /* int */
187 *n_args = 4;
188 break;
189 }
190 /* freebsd32_recvmsg */
191 case 27: {
192 struct freebsd32_recvmsg_args *p = params;
193 iarg[0] = p->s; /* int */
194 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
195 iarg[2] = p->flags; /* int */
196 *n_args = 3;
197 break;
198 }
199 /* freebsd32_sendmsg */
200 case 28: {
201 struct freebsd32_sendmsg_args *p = params;
202 iarg[0] = p->s; /* int */
203 uarg[1] = (intptr_t) p->msg; /* struct msghdr32 * */
204 iarg[2] = p->flags; /* int */
205 *n_args = 3;
206 break;
207 }
208 /* freebsd32_recvfrom */
209 case 29: {
210 struct freebsd32_recvfrom_args *p = params;
211 iarg[0] = p->s; /* int */
212 uarg[1] = p->buf; /* uint32_t */
213 uarg[2] = p->len; /* uint32_t */
214 iarg[3] = p->flags; /* int */
215 uarg[4] = p->from; /* uint32_t */
216 uarg[5] = p->fromlenaddr; /* uint32_t */
217 *n_args = 6;
218 break;
219 }
220 /* accept */
221 case 30: {
222 struct accept_args *p = params;
223 iarg[0] = p->s; /* int */
224 uarg[1] = (intptr_t) p->name; /* caddr_t */
225 uarg[2] = (intptr_t) p->anamelen; /* int * */
226 *n_args = 3;
227 break;
228 }
229 /* getpeername */
230 case 31: {
231 struct getpeername_args *p = params;
232 iarg[0] = p->fdes; /* int */
233 uarg[1] = (intptr_t) p->asa; /* caddr_t */
234 uarg[2] = (intptr_t) p->alen; /* int * */
235 *n_args = 3;
236 break;
237 }
238 /* getsockname */
239 case 32: {
240 struct getsockname_args *p = params;
241 iarg[0] = p->fdes; /* int */
242 uarg[1] = (intptr_t) p->asa; /* caddr_t */
243 uarg[2] = (intptr_t) p->alen; /* int * */
244 *n_args = 3;
245 break;
246 }
247 /* access */
248 case 33: {
249 struct access_args *p = params;
250 uarg[0] = (intptr_t) p->path; /* char * */
251 iarg[1] = p->amode; /* int */
252 *n_args = 2;
253 break;
254 }
255 /* chflags */
256 case 34: {
257 struct chflags_args *p = params;
258 uarg[0] = (intptr_t) p->path; /* char * */
259 iarg[1] = p->flags; /* int */
260 *n_args = 2;
261 break;
262 }
263 /* fchflags */
264 case 35: {
265 struct fchflags_args *p = params;
266 iarg[0] = p->fd; /* int */
267 iarg[1] = p->flags; /* int */
268 *n_args = 2;
269 break;
270 }
271 /* sync */
272 case 36: {
273 *n_args = 0;
274 break;
275 }
276 /* kill */
277 case 37: {
278 struct kill_args *p = params;
279 iarg[0] = p->pid; /* int */
280 iarg[1] = p->signum; /* int */
281 *n_args = 2;
282 break;
283 }
284 /* getppid */
285 case 39: {
286 *n_args = 0;
287 break;
288 }
289 /* dup */
290 case 41: {
291 struct dup_args *p = params;
292 uarg[0] = p->fd; /* u_int */
293 *n_args = 1;
294 break;
295 }
296 /* pipe */
297 case 42: {
298 *n_args = 0;
299 break;
300 }
301 /* getegid */
302 case 43: {
303 *n_args = 0;
304 break;
305 }
306 /* profil */
307 case 44: {
308 struct profil_args *p = params;
309 uarg[0] = (intptr_t) p->samples; /* caddr_t */
310 uarg[1] = p->size; /* size_t */
311 uarg[2] = p->offset; /* size_t */
312 uarg[3] = p->scale; /* u_int */
313 *n_args = 4;
314 break;
315 }
316 /* ktrace */
317 case 45: {
318 struct ktrace_args *p = params;
319 uarg[0] = (intptr_t) p->fname; /* const char * */
320 iarg[1] = p->ops; /* int */
321 iarg[2] = p->facs; /* int */
322 iarg[3] = p->pid; /* int */
323 *n_args = 4;
324 break;
325 }
326 /* getgid */
327 case 47: {
328 *n_args = 0;
329 break;
330 }
331 /* getlogin */
332 case 49: {
333 struct getlogin_args *p = params;
334 uarg[0] = (intptr_t) p->namebuf; /* char * */
335 uarg[1] = p->namelen; /* u_int */
336 *n_args = 2;
337 break;
338 }
339 /* setlogin */
340 case 50: {
341 struct setlogin_args *p = params;
342 uarg[0] = (intptr_t) p->namebuf; /* char * */
343 *n_args = 1;
344 break;
345 }
346 /* acct */
347 case 51: {
348 struct acct_args *p = params;
349 uarg[0] = (intptr_t) p->path; /* char * */
350 *n_args = 1;
351 break;
352 }
353 /* freebsd32_sigaltstack */
354 case 53: {
355 struct freebsd32_sigaltstack_args *p = params;
356 uarg[0] = (intptr_t) p->ss; /* struct sigaltstack32 * */
357 uarg[1] = (intptr_t) p->oss; /* struct sigaltstack32 * */
358 *n_args = 2;
359 break;
360 }
361 /* freebsd32_ioctl */
362 case 54: {
363 struct freebsd32_ioctl_args *p = params;
364 iarg[0] = p->fd; /* int */
365 uarg[1] = p->com; /* uint32_t */
366 uarg[2] = (intptr_t) p->data; /* struct md_ioctl32 * */
367 *n_args = 3;
368 break;
369 }
370 /* reboot */
371 case 55: {
372 struct reboot_args *p = params;
373 iarg[0] = p->opt; /* int */
374 *n_args = 1;
375 break;
376 }
377 /* revoke */
378 case 56: {
379 struct revoke_args *p = params;
380 uarg[0] = (intptr_t) p->path; /* char * */
381 *n_args = 1;
382 break;
383 }
384 /* symlink */
385 case 57: {
386 struct symlink_args *p = params;
387 uarg[0] = (intptr_t) p->path; /* char * */
388 uarg[1] = (intptr_t) p->link; /* char * */
389 *n_args = 2;
390 break;
391 }
392 /* readlink */
393 case 58: {
394 struct readlink_args *p = params;
395 uarg[0] = (intptr_t) p->path; /* char * */
396 uarg[1] = (intptr_t) p->buf; /* char * */
397 uarg[2] = p->count; /* size_t */
398 *n_args = 3;
399 break;
400 }
401 /* freebsd32_execve */
402 case 59: {
403 struct freebsd32_execve_args *p = params;
404 uarg[0] = (intptr_t) p->fname; /* char * */
405 uarg[1] = (intptr_t) p->argv; /* uint32_t * */
406 uarg[2] = (intptr_t) p->envv; /* uint32_t * */
407 *n_args = 3;
408 break;
409 }
410 /* umask */
411 case 60: {
412 struct umask_args *p = params;
413 iarg[0] = p->newmask; /* int */
414 *n_args = 1;
415 break;
416 }
417 /* chroot */
418 case 61: {
419 struct chroot_args *p = params;
420 uarg[0] = (intptr_t) p->path; /* char * */
421 *n_args = 1;
422 break;
423 }
424 /* msync */
425 case 65: {
426 struct msync_args *p = params;
427 uarg[0] = (intptr_t) p->addr; /* void * */
428 uarg[1] = p->len; /* size_t */
429 iarg[2] = p->flags; /* int */
430 *n_args = 3;
431 break;
432 }
433 /* vfork */
434 case 66: {
435 *n_args = 0;
436 break;
437 }
438 /* sbrk */
439 case 69: {
440 struct sbrk_args *p = params;
441 iarg[0] = p->incr; /* int */
442 *n_args = 1;
443 break;
444 }
445 /* sstk */
446 case 70: {
447 struct sstk_args *p = params;
448 iarg[0] = p->incr; /* int */
449 *n_args = 1;
450 break;
451 }
452 /* ovadvise */
453 case 72: {
454 struct ovadvise_args *p = params;
455 iarg[0] = p->anom; /* int */
456 *n_args = 1;
457 break;
458 }
459 /* munmap */
460 case 73: {
461 struct munmap_args *p = params;
462 uarg[0] = (intptr_t) p->addr; /* void * */
463 uarg[1] = p->len; /* size_t */
464 *n_args = 2;
465 break;
466 }
467 /* freebsd32_mprotect */
468 case 74: {
469 struct freebsd32_mprotect_args *p = params;
470 uarg[0] = (intptr_t) p->addr; /* const void * */
471 uarg[1] = p->len; /* size_t */
472 iarg[2] = p->prot; /* int */
473 *n_args = 3;
474 break;
475 }
476 /* madvise */
477 case 75: {
478 struct madvise_args *p = params;
479 uarg[0] = (intptr_t) p->addr; /* void * */
480 uarg[1] = p->len; /* size_t */
481 iarg[2] = p->behav; /* int */
482 *n_args = 3;
483 break;
484 }
485 /* mincore */
486 case 78: {
487 struct mincore_args *p = params;
488 uarg[0] = (intptr_t) p->addr; /* const void * */
489 uarg[1] = p->len; /* size_t */
490 uarg[2] = (intptr_t) p->vec; /* char * */
491 *n_args = 3;
492 break;
493 }
494 /* getgroups */
495 case 79: {
496 struct getgroups_args *p = params;
497 uarg[0] = p->gidsetsize; /* u_int */
498 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
499 *n_args = 2;
500 break;
501 }
502 /* setgroups */
503 case 80: {
504 struct setgroups_args *p = params;
505 uarg[0] = p->gidsetsize; /* u_int */
506 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
507 *n_args = 2;
508 break;
509 }
510 /* getpgrp */
511 case 81: {
512 *n_args = 0;
513 break;
514 }
515 /* setpgid */
516 case 82: {
517 struct setpgid_args *p = params;
518 iarg[0] = p->pid; /* int */
519 iarg[1] = p->pgid; /* int */
520 *n_args = 2;
521 break;
522 }
523 /* freebsd32_setitimer */
524 case 83: {
525 struct freebsd32_setitimer_args *p = params;
526 uarg[0] = p->which; /* u_int */
527 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
528 uarg[2] = (intptr_t) p->oitv; /* struct itimerval32 * */
529 *n_args = 3;
530 break;
531 }
532 /* swapon */
533 case 85: {
534 struct swapon_args *p = params;
535 uarg[0] = (intptr_t) p->name; /* char * */
536 *n_args = 1;
537 break;
538 }
539 /* freebsd32_getitimer */
540 case 86: {
541 struct freebsd32_getitimer_args *p = params;
542 uarg[0] = p->which; /* u_int */
543 uarg[1] = (intptr_t) p->itv; /* struct itimerval32 * */
544 *n_args = 2;
545 break;
546 }
547 /* getdtablesize */
548 case 89: {
549 *n_args = 0;
550 break;
551 }
552 /* dup2 */
553 case 90: {
554 struct dup2_args *p = params;
555 uarg[0] = p->from; /* u_int */
556 uarg[1] = p->to; /* u_int */
557 *n_args = 2;
558 break;
559 }
560 /* fcntl */
561 case 92: {
562 struct fcntl_args *p = params;
563 iarg[0] = p->fd; /* int */
564 iarg[1] = p->cmd; /* int */
565 iarg[2] = p->arg; /* long */
566 *n_args = 3;
567 break;
568 }
569 /* freebsd32_select */
570 case 93: {
571 struct freebsd32_select_args *p = params;
572 iarg[0] = p->nd; /* int */
573 uarg[1] = (intptr_t) p->in; /* fd_set * */
574 uarg[2] = (intptr_t) p->ou; /* fd_set * */
575 uarg[3] = (intptr_t) p->ex; /* fd_set * */
576 uarg[4] = (intptr_t) p->tv; /* struct timeval32 * */
577 *n_args = 5;
578 break;
579 }
580 /* fsync */
581 case 95: {
582 struct fsync_args *p = params;
583 iarg[0] = p->fd; /* int */
584 *n_args = 1;
585 break;
586 }
587 /* setpriority */
588 case 96: {
589 struct setpriority_args *p = params;
590 iarg[0] = p->which; /* int */
591 iarg[1] = p->who; /* int */
592 iarg[2] = p->prio; /* int */
593 *n_args = 3;
594 break;
595 }
596 /* socket */
597 case 97: {
598 struct socket_args *p = params;
599 iarg[0] = p->domain; /* int */
600 iarg[1] = p->type; /* int */
601 iarg[2] = p->protocol; /* int */
602 *n_args = 3;
603 break;
604 }
605 /* connect */
606 case 98: {
607 struct connect_args *p = params;
608 iarg[0] = p->s; /* int */
609 uarg[1] = (intptr_t) p->name; /* caddr_t */
610 iarg[2] = p->namelen; /* int */
611 *n_args = 3;
612 break;
613 }
614 /* getpriority */
615 case 100: {
616 struct getpriority_args *p = params;
617 iarg[0] = p->which; /* int */
618 iarg[1] = p->who; /* int */
619 *n_args = 2;
620 break;
621 }
622 /* bind */
623 case 104: {
624 struct bind_args *p = params;
625 iarg[0] = p->s; /* int */
626 uarg[1] = (intptr_t) p->name; /* caddr_t */
627 iarg[2] = p->namelen; /* int */
628 *n_args = 3;
629 break;
630 }
631 /* setsockopt */
632 case 105: {
633 struct setsockopt_args *p = params;
634 iarg[0] = p->s; /* int */
635 iarg[1] = p->level; /* int */
636 iarg[2] = p->name; /* int */
637 uarg[3] = (intptr_t) p->val; /* caddr_t */
638 iarg[4] = p->valsize; /* int */
639 *n_args = 5;
640 break;
641 }
642 /* listen */
643 case 106: {
644 struct listen_args *p = params;
645 iarg[0] = p->s; /* int */
646 iarg[1] = p->backlog; /* int */
647 *n_args = 2;
648 break;
649 }
650 /* freebsd32_gettimeofday */
651 case 116: {
652 struct freebsd32_gettimeofday_args *p = params;
653 uarg[0] = (intptr_t) p->tp; /* struct timeval32 * */
654 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
655 *n_args = 2;
656 break;
657 }
658 /* freebsd32_getrusage */
659 case 117: {
660 struct freebsd32_getrusage_args *p = params;
661 iarg[0] = p->who; /* int */
662 uarg[1] = (intptr_t) p->rusage; /* struct rusage32 * */
663 *n_args = 2;
664 break;
665 }
666 /* getsockopt */
667 case 118: {
668 struct getsockopt_args *p = params;
669 iarg[0] = p->s; /* int */
670 iarg[1] = p->level; /* int */
671 iarg[2] = p->name; /* int */
672 uarg[3] = (intptr_t) p->val; /* caddr_t */
673 uarg[4] = (intptr_t) p->avalsize; /* int * */
674 *n_args = 5;
675 break;
676 }
677 /* freebsd32_readv */
678 case 120: {
679 struct freebsd32_readv_args *p = params;
680 iarg[0] = p->fd; /* int */
681 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
682 uarg[2] = p->iovcnt; /* u_int */
683 *n_args = 3;
684 break;
685 }
686 /* freebsd32_writev */
687 case 121: {
688 struct freebsd32_writev_args *p = params;
689 iarg[0] = p->fd; /* int */
690 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
691 uarg[2] = p->iovcnt; /* u_int */
692 *n_args = 3;
693 break;
694 }
695 /* freebsd32_settimeofday */
696 case 122: {
697 struct freebsd32_settimeofday_args *p = params;
698 uarg[0] = (intptr_t) p->tv; /* struct timeval32 * */
699 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
700 *n_args = 2;
701 break;
702 }
703 /* fchown */
704 case 123: {
705 struct fchown_args *p = params;
706 iarg[0] = p->fd; /* int */
707 iarg[1] = p->uid; /* int */
708 iarg[2] = p->gid; /* int */
709 *n_args = 3;
710 break;
711 }
712 /* fchmod */
713 case 124: {
714 struct fchmod_args *p = params;
715 iarg[0] = p->fd; /* int */
716 iarg[1] = p->mode; /* int */
717 *n_args = 2;
718 break;
719 }
720 /* setreuid */
721 case 126: {
722 struct setreuid_args *p = params;
723 iarg[0] = p->ruid; /* int */
724 iarg[1] = p->euid; /* int */
725 *n_args = 2;
726 break;
727 }
728 /* setregid */
729 case 127: {
730 struct setregid_args *p = params;
731 iarg[0] = p->rgid; /* int */
732 iarg[1] = p->egid; /* int */
733 *n_args = 2;
734 break;
735 }
736 /* rename */
737 case 128: {
738 struct rename_args *p = params;
739 uarg[0] = (intptr_t) p->from; /* char * */
740 uarg[1] = (intptr_t) p->to; /* char * */
741 *n_args = 2;
742 break;
743 }
744 /* flock */
745 case 131: {
746 struct flock_args *p = params;
747 iarg[0] = p->fd; /* int */
748 iarg[1] = p->how; /* int */
749 *n_args = 2;
750 break;
751 }
752 /* mkfifo */
753 case 132: {
754 struct mkfifo_args *p = params;
755 uarg[0] = (intptr_t) p->path; /* char * */
756 iarg[1] = p->mode; /* int */
757 *n_args = 2;
758 break;
759 }
760 /* sendto */
761 case 133: {
762 struct sendto_args *p = params;
763 iarg[0] = p->s; /* int */
764 uarg[1] = (intptr_t) p->buf; /* caddr_t */
765 uarg[2] = p->len; /* size_t */
766 iarg[3] = p->flags; /* int */
767 uarg[4] = (intptr_t) p->to; /* caddr_t */
768 iarg[5] = p->tolen; /* int */
769 *n_args = 6;
770 break;
771 }
772 /* shutdown */
773 case 134: {
774 struct shutdown_args *p = params;
775 iarg[0] = p->s; /* int */
776 iarg[1] = p->how; /* int */
777 *n_args = 2;
778 break;
779 }
780 /* socketpair */
781 case 135: {
782 struct socketpair_args *p = params;
783 iarg[0] = p->domain; /* int */
784 iarg[1] = p->type; /* int */
785 iarg[2] = p->protocol; /* int */
786 uarg[3] = (intptr_t) p->rsv; /* int * */
787 *n_args = 4;
788 break;
789 }
790 /* mkdir */
791 case 136: {
792 struct mkdir_args *p = params;
793 uarg[0] = (intptr_t) p->path; /* char * */
794 iarg[1] = p->mode; /* int */
795 *n_args = 2;
796 break;
797 }
798 /* rmdir */
799 case 137: {
800 struct rmdir_args *p = params;
801 uarg[0] = (intptr_t) p->path; /* char * */
802 *n_args = 1;
803 break;
804 }
805 /* freebsd32_utimes */
806 case 138: {
807 struct freebsd32_utimes_args *p = params;
808 uarg[0] = (intptr_t) p->path; /* char * */
809 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
810 *n_args = 2;
811 break;
812 }
813 /* freebsd32_adjtime */
814 case 140: {
815 struct freebsd32_adjtime_args *p = params;
816 uarg[0] = (intptr_t) p->delta; /* struct timeval32 * */
817 uarg[1] = (intptr_t) p->olddelta; /* struct timeval32 * */
818 *n_args = 2;
819 break;
820 }
821 /* setsid */
822 case 147: {
823 *n_args = 0;
824 break;
825 }
826 /* quotactl */
827 case 148: {
828 struct quotactl_args *p = params;
829 uarg[0] = (intptr_t) p->path; /* char * */
830 iarg[1] = p->cmd; /* int */
831 iarg[2] = p->uid; /* int */
832 uarg[3] = (intptr_t) p->arg; /* caddr_t */
833 *n_args = 4;
834 break;
835 }
836 /* getfh */
837 case 161: {
838 struct getfh_args *p = params;
839 uarg[0] = (intptr_t) p->fname; /* char * */
840 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
841 *n_args = 2;
842 break;
843 }
844 /* freebsd32_sysarch */
845 case 165: {
846 struct freebsd32_sysarch_args *p = params;
847 iarg[0] = p->op; /* int */
848 uarg[1] = (intptr_t) p->parms; /* char * */
849 *n_args = 2;
850 break;
851 }
852 /* rtprio */
853 case 166: {
854 struct rtprio_args *p = params;
855 iarg[0] = p->function; /* int */
856 iarg[1] = p->pid; /* pid_t */
857 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
858 *n_args = 3;
859 break;
860 }
861 /* freebsd32_semsys */
862 case 169: {
863 struct freebsd32_semsys_args *p = params;
864 iarg[0] = p->which; /* int */
865 iarg[1] = p->a2; /* int */
866 iarg[2] = p->a3; /* int */
867 iarg[3] = p->a4; /* int */
868 iarg[4] = p->a5; /* int */
869 *n_args = 5;
870 break;
871 }
872 /* freebsd32_msgsys */
873 case 170: {
874 struct freebsd32_msgsys_args *p = params;
875 iarg[0] = p->which; /* int */
876 iarg[1] = p->a2; /* int */
877 iarg[2] = p->a3; /* int */
878 iarg[3] = p->a4; /* int */
879 iarg[4] = p->a5; /* int */
880 iarg[5] = p->a6; /* int */
881 *n_args = 6;
882 break;
883 }
884 /* freebsd32_shmsys */
885 case 171: {
886 struct freebsd32_shmsys_args *p = params;
887 uarg[0] = p->which; /* uint32_t */
888 uarg[1] = p->a2; /* uint32_t */
889 uarg[2] = p->a3; /* uint32_t */
890 uarg[3] = p->a4; /* uint32_t */
891 *n_args = 4;
892 break;
893 }
894 /* ntp_adjtime */
895 case 176: {
896 struct ntp_adjtime_args *p = params;
897 uarg[0] = (intptr_t) p->tp; /* struct timex * */
898 *n_args = 1;
899 break;
900 }
901 /* setgid */
902 case 181: {
903 struct setgid_args *p = params;
904 iarg[0] = p->gid; /* gid_t */
905 *n_args = 1;
906 break;
907 }
908 /* setegid */
909 case 182: {
910 struct setegid_args *p = params;
911 iarg[0] = p->egid; /* gid_t */
912 *n_args = 1;
913 break;
914 }
915 /* seteuid */
916 case 183: {
917 struct seteuid_args *p = params;
918 uarg[0] = p->euid; /* uid_t */
919 *n_args = 1;
920 break;
921 }
922 /* freebsd32_stat */
923 case 188: {
924 struct freebsd32_stat_args *p = params;
925 uarg[0] = (intptr_t) p->path; /* char * */
926 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
927 *n_args = 2;
928 break;
929 }
930 /* freebsd32_fstat */
931 case 189: {
932 struct freebsd32_fstat_args *p = params;
933 iarg[0] = p->fd; /* int */
934 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
935 *n_args = 2;
936 break;
937 }
938 /* freebsd32_lstat */
939 case 190: {
940 struct freebsd32_lstat_args *p = params;
941 uarg[0] = (intptr_t) p->path; /* char * */
942 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
943 *n_args = 2;
944 break;
945 }
946 /* pathconf */
947 case 191: {
948 struct pathconf_args *p = params;
949 uarg[0] = (intptr_t) p->path; /* char * */
950 iarg[1] = p->name; /* int */
951 *n_args = 2;
952 break;
953 }
954 /* fpathconf */
955 case 192: {
956 struct fpathconf_args *p = params;
957 iarg[0] = p->fd; /* int */
958 iarg[1] = p->name; /* int */
959 *n_args = 2;
960 break;
961 }
962 /* getrlimit */
963 case 194: {
964 struct __getrlimit_args *p = params;
965 uarg[0] = p->which; /* u_int */
966 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
967 *n_args = 2;
968 break;
969 }
970 /* setrlimit */
971 case 195: {
972 struct __setrlimit_args *p = params;
973 uarg[0] = p->which; /* u_int */
974 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
975 *n_args = 2;
976 break;
977 }
978 /* freebsd32_getdirentries */
979 case 196: {
980 struct freebsd32_getdirentries_args *p = params;
981 iarg[0] = p->fd; /* int */
982 uarg[1] = (intptr_t) p->buf; /* char * */
983 uarg[2] = p->count; /* u_int */
984 uarg[3] = (intptr_t) p->basep; /* int32_t * */
985 *n_args = 4;
986 break;
987 }
988 /* nosys */
989 case 198: {
990 *n_args = 0;
991 break;
992 }
993 /* freebsd32_sysctl */
994 case 202: {
995 struct freebsd32_sysctl_args *p = params;
996 uarg[0] = (intptr_t) p->name; /* int * */
997 uarg[1] = p->namelen; /* u_int */
998 uarg[2] = (intptr_t) p->old; /* void * */
999 uarg[3] = (intptr_t) p->oldlenp; /* uint32_t * */
1000 uarg[4] = (intptr_t) p->new; /* void * */
1001 uarg[5] = p->newlen; /* uint32_t */
1002 *n_args = 6;
1003 break;
1004 }
1005 /* mlock */
1006 case 203: {
1007 struct mlock_args *p = params;
1008 uarg[0] = (intptr_t) p->addr; /* const void * */
1009 uarg[1] = p->len; /* size_t */
1010 *n_args = 2;
1011 break;
1012 }
1013 /* munlock */
1014 case 204: {
1015 struct munlock_args *p = params;
1016 uarg[0] = (intptr_t) p->addr; /* const void * */
1017 uarg[1] = p->len; /* size_t */
1018 *n_args = 2;
1019 break;
1020 }
1021 /* undelete */
1022 case 205: {
1023 struct undelete_args *p = params;
1024 uarg[0] = (intptr_t) p->path; /* char * */
1025 *n_args = 1;
1026 break;
1027 }
1028 /* freebsd32_futimes */
1029 case 206: {
1030 struct freebsd32_futimes_args *p = params;
1031 iarg[0] = p->fd; /* int */
1032 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1033 *n_args = 2;
1034 break;
1035 }
1036 /* getpgid */
1037 case 207: {
1038 struct getpgid_args *p = params;
1039 iarg[0] = p->pid; /* pid_t */
1040 *n_args = 1;
1041 break;
1042 }
1043 /* poll */
1044 case 209: {
1045 struct poll_args *p = params;
1046 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1047 uarg[1] = p->nfds; /* u_int */
1048 iarg[2] = p->timeout; /* int */
1049 *n_args = 3;
1050 break;
1051 }
1052 /* lkmnosys */
1053 case 210: {
1054 *n_args = 0;
1055 break;
1056 }
1057 /* lkmnosys */
1058 case 211: {
1059 *n_args = 0;
1060 break;
1061 }
1062 /* lkmnosys */
1063 case 212: {
1064 *n_args = 0;
1065 break;
1066 }
1067 /* lkmnosys */
1068 case 213: {
1069 *n_args = 0;
1070 break;
1071 }
1072 /* lkmnosys */
1073 case 214: {
1074 *n_args = 0;
1075 break;
1076 }
1077 /* lkmnosys */
1078 case 215: {
1079 *n_args = 0;
1080 break;
1081 }
1082 /* lkmnosys */
1083 case 216: {
1084 *n_args = 0;
1085 break;
1086 }
1087 /* lkmnosys */
1088 case 217: {
1089 *n_args = 0;
1090 break;
1091 }
1092 /* lkmnosys */
1093 case 218: {
1094 *n_args = 0;
1095 break;
1096 }
1097 /* lkmnosys */
1098 case 219: {
1099 *n_args = 0;
1100 break;
1101 }
1102 /* semget */
1103 case 221: {
1104 struct semget_args *p = params;
1105 iarg[0] = p->key; /* key_t */
1106 iarg[1] = p->nsems; /* int */
1107 iarg[2] = p->semflg; /* int */
1108 *n_args = 3;
1109 break;
1110 }
1111 /* semop */
1112 case 222: {
1113 struct semop_args *p = params;
1114 iarg[0] = p->semid; /* int */
1115 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1116 uarg[2] = p->nsops; /* u_int */
1117 *n_args = 3;
1118 break;
1119 }
1120 /* msgget */
1121 case 225: {
1122 struct msgget_args *p = params;
1123 iarg[0] = p->key; /* key_t */
1124 iarg[1] = p->msgflg; /* int */
1125 *n_args = 2;
1126 break;
1127 }
1128 /* freebsd32_msgsnd */
1129 case 226: {
1130 struct freebsd32_msgsnd_args *p = params;
1131 iarg[0] = p->msqid; /* int */
1132 uarg[1] = (intptr_t) p->msgp; /* void * */
1133 uarg[2] = p->msgsz; /* size_t */
1134 iarg[3] = p->msgflg; /* int */
1135 *n_args = 4;
1136 break;
1137 }
1138 /* freebsd32_msgrcv */
1139 case 227: {
1140 struct freebsd32_msgrcv_args *p = params;
1141 iarg[0] = p->msqid; /* int */
1142 uarg[1] = (intptr_t) p->msgp; /* void * */
1143 uarg[2] = p->msgsz; /* size_t */
1144 iarg[3] = p->msgtyp; /* long */
1145 iarg[4] = p->msgflg; /* int */
1146 *n_args = 5;
1147 break;
1148 }
1149 /* shmat */
1150 case 228: {
1151 struct shmat_args *p = params;
1152 iarg[0] = p->shmid; /* int */
1153 uarg[1] = (intptr_t) p->shmaddr; /* void * */
1154 iarg[2] = p->shmflg; /* int */
1155 *n_args = 3;
1156 break;
1157 }
1158 /* shmdt */
1159 case 230: {
1160 struct shmdt_args *p = params;
1161 uarg[0] = (intptr_t) p->shmaddr; /* void * */
1162 *n_args = 1;
1163 break;
1164 }
1165 /* shmget */
1166 case 231: {
1167 struct shmget_args *p = params;
1168 iarg[0] = p->key; /* key_t */
1169 iarg[1] = p->size; /* int */
1170 iarg[2] = p->shmflg; /* int */
1171 *n_args = 3;
1172 break;
1173 }
1174 /* freebsd32_clock_gettime */
1175 case 232: {
1176 struct freebsd32_clock_gettime_args *p = params;
1177 iarg[0] = p->clock_id; /* clockid_t */
1178 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1179 *n_args = 2;
1180 break;
1181 }
1182 /* freebsd32_clock_settime */
1183 case 233: {
1184 struct freebsd32_clock_settime_args *p = params;
1185 iarg[0] = p->clock_id; /* clockid_t */
1186 uarg[1] = (intptr_t) p->tp; /* const struct timespec32 * */
1187 *n_args = 2;
1188 break;
1189 }
1190 /* freebsd32_clock_getres */
1191 case 234: {
1192 struct freebsd32_clock_getres_args *p = params;
1193 iarg[0] = p->clock_id; /* clockid_t */
1194 uarg[1] = (intptr_t) p->tp; /* struct timespec32 * */
1195 *n_args = 2;
1196 break;
1197 }
1198 /* freebsd32_nanosleep */
1199 case 240: {
1200 struct freebsd32_nanosleep_args *p = params;
1201 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec32 * */
1202 uarg[1] = (intptr_t) p->rmtp; /* struct timespec32 * */
1203 *n_args = 2;
1204 break;
1205 }
1206 /* ffclock_getcounter */
1207 case 241: {
1208 struct ffclock_getcounter_args *p = params;
1209 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1210 *n_args = 1;
1211 break;
1212 }
1213 /* ffclock_setestimate */
1214 case 242: {
1215 struct ffclock_setestimate_args *p = params;
1216 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1217 *n_args = 1;
1218 break;
1219 }
1220 /* ffclock_getestimate */
1221 case 243: {
1222 struct ffclock_getestimate_args *p = params;
1223 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1224 *n_args = 1;
1225 break;
1226 }
1227 /* minherit */
1228 case 250: {
1229 struct minherit_args *p = params;
1230 uarg[0] = (intptr_t) p->addr; /* void * */
1231 uarg[1] = p->len; /* size_t */
1232 iarg[2] = p->inherit; /* int */
1233 *n_args = 3;
1234 break;
1235 }
1236 /* rfork */
1237 case 251: {
1238 struct rfork_args *p = params;
1239 iarg[0] = p->flags; /* int */
1240 *n_args = 1;
1241 break;
1242 }
1243 /* openbsd_poll */
1244 case 252: {
1245 struct openbsd_poll_args *p = params;
1246 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1247 uarg[1] = p->nfds; /* u_int */
1248 iarg[2] = p->timeout; /* int */
1249 *n_args = 3;
1250 break;
1251 }
1252 /* issetugid */
1253 case 253: {
1254 *n_args = 0;
1255 break;
1256 }
1257 /* lchown */
1258 case 254: {
1259 struct lchown_args *p = params;
1260 uarg[0] = (intptr_t) p->path; /* char * */
1261 iarg[1] = p->uid; /* int */
1262 iarg[2] = p->gid; /* int */
1263 *n_args = 3;
1264 break;
1265 }
1266 /* freebsd32_aio_read */
1267 case 255: {
1268 struct freebsd32_aio_read_args *p = params;
1269 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1270 *n_args = 1;
1271 break;
1272 }
1273 /* freebsd32_aio_write */
1274 case 256: {
1275 struct freebsd32_aio_write_args *p = params;
1276 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1277 *n_args = 1;
1278 break;
1279 }
1280 /* freebsd32_lio_listio */
1281 case 257: {
1282 struct freebsd32_lio_listio_args *p = params;
1283 iarg[0] = p->mode; /* int */
1284 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */
1285 iarg[2] = p->nent; /* int */
1286 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1287 *n_args = 4;
1288 break;
1289 }
1290 /* getdents */
1291 case 272: {
1292 struct getdents_args *p = params;
1293 iarg[0] = p->fd; /* int */
1294 uarg[1] = (intptr_t) p->buf; /* char * */
1295 uarg[2] = p->count; /* size_t */
1296 *n_args = 3;
1297 break;
1298 }
1299 /* lchmod */
1300 case 274: {
1301 struct lchmod_args *p = params;
1302 uarg[0] = (intptr_t) p->path; /* char * */
1303 iarg[1] = p->mode; /* mode_t */
1304 *n_args = 2;
1305 break;
1306 }
1307 /* lchown */
1308 case 275: {
1309 struct lchown_args *p = params;
1310 uarg[0] = (intptr_t) p->path; /* char * */
1311 uarg[1] = p->uid; /* uid_t */
1312 iarg[2] = p->gid; /* gid_t */
1313 *n_args = 3;
1314 break;
1315 }
1316 /* freebsd32_lutimes */
1317 case 276: {
1318 struct freebsd32_lutimes_args *p = params;
1319 uarg[0] = (intptr_t) p->path; /* char * */
1320 uarg[1] = (intptr_t) p->tptr; /* struct timeval32 * */
1321 *n_args = 2;
1322 break;
1323 }
1324 /* msync */
1325 case 277: {
1326 struct msync_args *p = params;
1327 uarg[0] = (intptr_t) p->addr; /* void * */
1328 uarg[1] = p->len; /* size_t */
1329 iarg[2] = p->flags; /* int */
1330 *n_args = 3;
1331 break;
1332 }
1333 /* nstat */
1334 case 278: {
1335 struct nstat_args *p = params;
1336 uarg[0] = (intptr_t) p->path; /* char * */
1337 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1338 *n_args = 2;
1339 break;
1340 }
1341 /* nfstat */
1342 case 279: {
1343 struct nfstat_args *p = params;
1344 iarg[0] = p->fd; /* int */
1345 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1346 *n_args = 2;
1347 break;
1348 }
1349 /* nlstat */
1350 case 280: {
1351 struct nlstat_args *p = params;
1352 uarg[0] = (intptr_t) p->path; /* char * */
1353 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1354 *n_args = 2;
1355 break;
1356 }
1357 /* freebsd32_preadv */
1358 case 289: {
1359 struct freebsd32_preadv_args *p = params;
1360 iarg[0] = p->fd; /* int */
1361 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1362 uarg[2] = p->iovcnt; /* u_int */
1363 uarg[3] = p->offset1; /* uint32_t */
1364 uarg[4] = p->offset2; /* uint32_t */
1365 *n_args = 5;
1366 break;
1367 }
1368 /* freebsd32_pwritev */
1369 case 290: {
1370 struct freebsd32_pwritev_args *p = params;
1371 iarg[0] = p->fd; /* int */
1372 uarg[1] = (intptr_t) p->iovp; /* struct iovec32 * */
1373 uarg[2] = p->iovcnt; /* u_int */
1374 uarg[3] = p->offset1; /* uint32_t */
1375 uarg[4] = p->offset2; /* uint32_t */
1376 *n_args = 5;
1377 break;
1378 }
1379 /* fhopen */
1380 case 298: {
1381 struct fhopen_args *p = params;
1382 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1383 iarg[1] = p->flags; /* int */
1384 *n_args = 2;
1385 break;
1386 }
1387 /* fhstat */
1388 case 299: {
1389 struct fhstat_args *p = params;
1390 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1391 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1392 *n_args = 2;
1393 break;
1394 }
1395 /* modnext */
1396 case 300: {
1397 struct modnext_args *p = params;
1398 iarg[0] = p->modid; /* int */
1399 *n_args = 1;
1400 break;
1401 }
1402 /* freebsd32_modstat */
1403 case 301: {
1404 struct freebsd32_modstat_args *p = params;
1405 iarg[0] = p->modid; /* int */
1406 uarg[1] = (intptr_t) p->stat; /* struct module_stat32 * */
1407 *n_args = 2;
1408 break;
1409 }
1410 /* modfnext */
1411 case 302: {
1412 struct modfnext_args *p = params;
1413 iarg[0] = p->modid; /* int */
1414 *n_args = 1;
1415 break;
1416 }
1417 /* modfind */
1418 case 303: {
1419 struct modfind_args *p = params;
1420 uarg[0] = (intptr_t) p->name; /* const char * */
1421 *n_args = 1;
1422 break;
1423 }
1424 /* kldload */
1425 case 304: {
1426 struct kldload_args *p = params;
1427 uarg[0] = (intptr_t) p->file; /* const char * */
1428 *n_args = 1;
1429 break;
1430 }
1431 /* kldunload */
1432 case 305: {
1433 struct kldunload_args *p = params;
1434 iarg[0] = p->fileid; /* int */
1435 *n_args = 1;
1436 break;
1437 }
1438 /* kldfind */
1439 case 306: {
1440 struct kldfind_args *p = params;
1441 uarg[0] = (intptr_t) p->file; /* const char * */
1442 *n_args = 1;
1443 break;
1444 }
1445 /* kldnext */
1446 case 307: {
1447 struct kldnext_args *p = params;
1448 iarg[0] = p->fileid; /* int */
1449 *n_args = 1;
1450 break;
1451 }
1452 /* freebsd32_kldstat */
1453 case 308: {
1454 struct freebsd32_kldstat_args *p = params;
1455 iarg[0] = p->fileid; /* int */
1456 uarg[1] = (intptr_t) p->stat; /* struct kld32_file_stat * */
1457 *n_args = 2;
1458 break;
1459 }
1460 /* kldfirstmod */
1461 case 309: {
1462 struct kldfirstmod_args *p = params;
1463 iarg[0] = p->fileid; /* int */
1464 *n_args = 1;
1465 break;
1466 }
1467 /* getsid */
1468 case 310: {
1469 struct getsid_args *p = params;
1470 iarg[0] = p->pid; /* pid_t */
1471 *n_args = 1;
1472 break;
1473 }
1474 /* setresuid */
1475 case 311: {
1476 struct setresuid_args *p = params;
1477 uarg[0] = p->ruid; /* uid_t */
1478 uarg[1] = p->euid; /* uid_t */
1479 uarg[2] = p->suid; /* uid_t */
1480 *n_args = 3;
1481 break;
1482 }
1483 /* setresgid */
1484 case 312: {
1485 struct setresgid_args *p = params;
1486 iarg[0] = p->rgid; /* gid_t */
1487 iarg[1] = p->egid; /* gid_t */
1488 iarg[2] = p->sgid; /* gid_t */
1489 *n_args = 3;
1490 break;
1491 }
1492 /* freebsd32_aio_return */
1493 case 314: {
1494 struct freebsd32_aio_return_args *p = params;
1495 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1496 *n_args = 1;
1497 break;
1498 }
1499 /* freebsd32_aio_suspend */
1500 case 315: {
1501 struct freebsd32_aio_suspend_args *p = params;
1502 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 *const * */
1503 iarg[1] = p->nent; /* int */
1504 uarg[2] = (intptr_t) p->timeout; /* const struct timespec32 * */
1505 *n_args = 3;
1506 break;
1507 }
1508 /* freebsd32_aio_cancel */
1509 case 316: {
1510 struct freebsd32_aio_cancel_args *p = params;
1511 iarg[0] = p->fd; /* int */
1512 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1513 *n_args = 2;
1514 break;
1515 }
1516 /* freebsd32_aio_error */
1517 case 317: {
1518 struct freebsd32_aio_error_args *p = params;
1519 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
1520 *n_args = 1;
1521 break;
1522 }
1523 /* freebsd32_oaio_read */
1524 case 318: {
1525 struct freebsd32_oaio_read_args *p = params;
1526 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
1527 *n_args = 1;
1528 break;
1529 }
1530 /* freebsd32_oaio_write */
1531 case 319: {
1532 struct freebsd32_oaio_write_args *p = params;
1533 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb32 * */
1534 *n_args = 1;
1535 break;
1536 }
1537 /* freebsd32_olio_listio */
1538 case 320: {
1539 struct freebsd32_olio_listio_args *p = params;
1540 iarg[0] = p->mode; /* int */
1541 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb32 *const * */
1542 iarg[2] = p->nent; /* int */
1543 uarg[3] = (intptr_t) p->sig; /* struct osigevent32 * */
1544 *n_args = 4;
1545 break;
1546 }
1547 /* yield */
1548 case 321: {
1549 *n_args = 0;
1550 break;
1551 }
1552 /* mlockall */
1553 case 324: {
1554 struct mlockall_args *p = params;
1555 iarg[0] = p->how; /* int */
1556 *n_args = 1;
1557 break;
1558 }
1559 /* munlockall */
1560 case 325: {
1561 *n_args = 0;
1562 break;
1563 }
1564 /* __getcwd */
1565 case 326: {
1566 struct __getcwd_args *p = params;
1567 uarg[0] = (intptr_t) p->buf; /* u_char * */
1568 uarg[1] = p->buflen; /* u_int */
1569 *n_args = 2;
1570 break;
1571 }
1572 /* sched_setparam */
1573 case 327: {
1574 struct sched_setparam_args *p = params;
1575 iarg[0] = p->pid; /* pid_t */
1576 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1577 *n_args = 2;
1578 break;
1579 }
1580 /* sched_getparam */
1581 case 328: {
1582 struct sched_getparam_args *p = params;
1583 iarg[0] = p->pid; /* pid_t */
1584 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1585 *n_args = 2;
1586 break;
1587 }
1588 /* sched_setscheduler */
1589 case 329: {
1590 struct sched_setscheduler_args *p = params;
1591 iarg[0] = p->pid; /* pid_t */
1592 iarg[1] = p->policy; /* int */
1593 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1594 *n_args = 3;
1595 break;
1596 }
1597 /* sched_getscheduler */
1598 case 330: {
1599 struct sched_getscheduler_args *p = params;
1600 iarg[0] = p->pid; /* pid_t */
1601 *n_args = 1;
1602 break;
1603 }
1604 /* sched_yield */
1605 case 331: {
1606 *n_args = 0;
1607 break;
1608 }
1609 /* sched_get_priority_max */
1610 case 332: {
1611 struct sched_get_priority_max_args *p = params;
1612 iarg[0] = p->policy; /* int */
1613 *n_args = 1;
1614 break;
1615 }
1616 /* sched_get_priority_min */
1617 case 333: {
1618 struct sched_get_priority_min_args *p = params;
1619 iarg[0] = p->policy; /* int */
1620 *n_args = 1;
1621 break;
1622 }
1623 /* sched_rr_get_interval */
1624 case 334: {
1625 struct sched_rr_get_interval_args *p = params;
1626 iarg[0] = p->pid; /* pid_t */
1627 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1628 *n_args = 2;
1629 break;
1630 }
1631 /* utrace */
1632 case 335: {
1633 struct utrace_args *p = params;
1634 uarg[0] = (intptr_t) p->addr; /* const void * */
1635 uarg[1] = p->len; /* size_t */
1636 *n_args = 2;
1637 break;
1638 }
1639 /* kldsym */
1640 case 337: {
1641 struct kldsym_args *p = params;
1642 iarg[0] = p->fileid; /* int */
1643 iarg[1] = p->cmd; /* int */
1644 uarg[2] = (intptr_t) p->data; /* void * */
1645 *n_args = 3;
1646 break;
1647 }
1648 /* freebsd32_jail */
1649 case 338: {
1650 struct freebsd32_jail_args *p = params;
1651 uarg[0] = (intptr_t) p->jail; /* struct jail32 * */
1652 *n_args = 1;
1653 break;
1654 }
1655 /* sigprocmask */
1656 case 340: {
1657 struct sigprocmask_args *p = params;
1658 iarg[0] = p->how; /* int */
1659 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1660 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1661 *n_args = 3;
1662 break;
1663 }
1664 /* sigsuspend */
1665 case 341: {
1666 struct sigsuspend_args *p = params;
1667 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1668 *n_args = 1;
1669 break;
1670 }
1671 /* sigpending */
1672 case 343: {
1673 struct sigpending_args *p = params;
1674 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1675 *n_args = 1;
1676 break;
1677 }
1678 /* freebsd32_sigtimedwait */
1679 case 345: {
1680 struct freebsd32_sigtimedwait_args *p = params;
1681 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1682 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1683 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1684 *n_args = 3;
1685 break;
1686 }
1687 /* freebsd32_sigwaitinfo */
1688 case 346: {
1689 struct freebsd32_sigwaitinfo_args *p = params;
1690 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1691 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1692 *n_args = 2;
1693 break;
1694 }
1695 /* __acl_get_file */
1696 case 347: {
1697 struct __acl_get_file_args *p = params;
1698 uarg[0] = (intptr_t) p->path; /* const char * */
1699 iarg[1] = p->type; /* acl_type_t */
1700 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1701 *n_args = 3;
1702 break;
1703 }
1704 /* __acl_set_file */
1705 case 348: {
1706 struct __acl_set_file_args *p = params;
1707 uarg[0] = (intptr_t) p->path; /* const char * */
1708 iarg[1] = p->type; /* acl_type_t */
1709 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1710 *n_args = 3;
1711 break;
1712 }
1713 /* __acl_get_fd */
1714 case 349: {
1715 struct __acl_get_fd_args *p = params;
1716 iarg[0] = p->filedes; /* int */
1717 iarg[1] = p->type; /* acl_type_t */
1718 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1719 *n_args = 3;
1720 break;
1721 }
1722 /* __acl_set_fd */
1723 case 350: {
1724 struct __acl_set_fd_args *p = params;
1725 iarg[0] = p->filedes; /* int */
1726 iarg[1] = p->type; /* acl_type_t */
1727 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1728 *n_args = 3;
1729 break;
1730 }
1731 /* __acl_delete_file */
1732 case 351: {
1733 struct __acl_delete_file_args *p = params;
1734 uarg[0] = (intptr_t) p->path; /* const char * */
1735 iarg[1] = p->type; /* acl_type_t */
1736 *n_args = 2;
1737 break;
1738 }
1739 /* __acl_delete_fd */
1740 case 352: {
1741 struct __acl_delete_fd_args *p = params;
1742 iarg[0] = p->filedes; /* int */
1743 iarg[1] = p->type; /* acl_type_t */
1744 *n_args = 2;
1745 break;
1746 }
1747 /* __acl_aclcheck_file */
1748 case 353: {
1749 struct __acl_aclcheck_file_args *p = params;
1750 uarg[0] = (intptr_t) p->path; /* const char * */
1751 iarg[1] = p->type; /* acl_type_t */
1752 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1753 *n_args = 3;
1754 break;
1755 }
1756 /* __acl_aclcheck_fd */
1757 case 354: {
1758 struct __acl_aclcheck_fd_args *p = params;
1759 iarg[0] = p->filedes; /* int */
1760 iarg[1] = p->type; /* acl_type_t */
1761 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1762 *n_args = 3;
1763 break;
1764 }
1765 /* extattrctl */
1766 case 355: {
1767 struct extattrctl_args *p = params;
1768 uarg[0] = (intptr_t) p->path; /* const char * */
1769 iarg[1] = p->cmd; /* int */
1770 uarg[2] = (intptr_t) p->filename; /* const char * */
1771 iarg[3] = p->attrnamespace; /* int */
1772 uarg[4] = (intptr_t) p->attrname; /* const char * */
1773 *n_args = 5;
1774 break;
1775 }
1776 /* extattr_set_file */
1777 case 356: {
1778 struct extattr_set_file_args *p = params;
1779 uarg[0] = (intptr_t) p->path; /* const char * */
1780 iarg[1] = p->attrnamespace; /* int */
1781 uarg[2] = (intptr_t) p->attrname; /* const char * */
1782 uarg[3] = (intptr_t) p->data; /* void * */
1783 uarg[4] = p->nbytes; /* size_t */
1784 *n_args = 5;
1785 break;
1786 }
1787 /* extattr_get_file */
1788 case 357: {
1789 struct extattr_get_file_args *p = params;
1790 uarg[0] = (intptr_t) p->path; /* const char * */
1791 iarg[1] = p->attrnamespace; /* int */
1792 uarg[2] = (intptr_t) p->attrname; /* const char * */
1793 uarg[3] = (intptr_t) p->data; /* void * */
1794 uarg[4] = p->nbytes; /* size_t */
1795 *n_args = 5;
1796 break;
1797 }
1798 /* extattr_delete_file */
1799 case 358: {
1800 struct extattr_delete_file_args *p = params;
1801 uarg[0] = (intptr_t) p->path; /* const char * */
1802 iarg[1] = p->attrnamespace; /* int */
1803 uarg[2] = (intptr_t) p->attrname; /* const char * */
1804 *n_args = 3;
1805 break;
1806 }
1807 /* freebsd32_aio_waitcomplete */
1808 case 359: {
1809 struct freebsd32_aio_waitcomplete_args *p = params;
1810 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 ** */
1811 uarg[1] = (intptr_t) p->timeout; /* struct timespec32 * */
1812 *n_args = 2;
1813 break;
1814 }
1815 /* getresuid */
1816 case 360: {
1817 struct getresuid_args *p = params;
1818 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1819 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1820 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1821 *n_args = 3;
1822 break;
1823 }
1824 /* getresgid */
1825 case 361: {
1826 struct getresgid_args *p = params;
1827 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1828 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1829 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1830 *n_args = 3;
1831 break;
1832 }
1833 /* kqueue */
1834 case 362: {
1835 *n_args = 0;
1836 break;
1837 }
1838 /* freebsd32_kevent */
1839 case 363: {
1840 struct freebsd32_kevent_args *p = params;
1841 iarg[0] = p->fd; /* int */
1842 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */
1843 iarg[2] = p->nchanges; /* int */
1844 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */
1845 iarg[4] = p->nevents; /* int */
1846 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */
1847 *n_args = 6;
1848 break;
1849 }
1850 /* extattr_set_fd */
1851 case 371: {
1852 struct extattr_set_fd_args *p = params;
1853 iarg[0] = p->fd; /* int */
1854 iarg[1] = p->attrnamespace; /* int */
1855 uarg[2] = (intptr_t) p->attrname; /* const char * */
1856 uarg[3] = (intptr_t) p->data; /* void * */
1857 uarg[4] = p->nbytes; /* size_t */
1858 *n_args = 5;
1859 break;
1860 }
1861 /* extattr_get_fd */
1862 case 372: {
1863 struct extattr_get_fd_args *p = params;
1864 iarg[0] = p->fd; /* int */
1865 iarg[1] = p->attrnamespace; /* int */
1866 uarg[2] = (intptr_t) p->attrname; /* const char * */
1867 uarg[3] = (intptr_t) p->data; /* void * */
1868 uarg[4] = p->nbytes; /* size_t */
1869 *n_args = 5;
1870 break;
1871 }
1872 /* extattr_delete_fd */
1873 case 373: {
1874 struct extattr_delete_fd_args *p = params;
1875 iarg[0] = p->fd; /* int */
1876 iarg[1] = p->attrnamespace; /* int */
1877 uarg[2] = (intptr_t) p->attrname; /* const char * */
1878 *n_args = 3;
1879 break;
1880 }
1881 /* __setugid */
1882 case 374: {
1883 struct __setugid_args *p = params;
1884 iarg[0] = p->flag; /* int */
1885 *n_args = 1;
1886 break;
1887 }
1888 /* eaccess */
1889 case 376: {
1890 struct eaccess_args *p = params;
1891 uarg[0] = (intptr_t) p->path; /* char * */
1892 iarg[1] = p->amode; /* int */
1893 *n_args = 2;
1894 break;
1895 }
1896 /* freebsd32_nmount */
1897 case 378: {
1898 struct freebsd32_nmount_args *p = params;
1899 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
1900 uarg[1] = p->iovcnt; /* unsigned int */
1901 iarg[2] = p->flags; /* int */
1902 *n_args = 3;
1903 break;
1904 }
1905 /* kenv */
1906 case 390: {
1907 struct kenv_args *p = params;
1908 iarg[0] = p->what; /* int */
1909 uarg[1] = (intptr_t) p->name; /* const char * */
1910 uarg[2] = (intptr_t) p->value; /* char * */
1911 iarg[3] = p->len; /* int */
1912 *n_args = 4;
1913 break;
1914 }
1915 /* lchflags */
1916 case 391: {
1917 struct lchflags_args *p = params;
1918 uarg[0] = (intptr_t) p->path; /* const char * */
1919 iarg[1] = p->flags; /* int */
1920 *n_args = 2;
1921 break;
1922 }
1923 /* uuidgen */
1924 case 392: {
1925 struct uuidgen_args *p = params;
1926 uarg[0] = (intptr_t) p->store; /* struct uuid * */
1927 iarg[1] = p->count; /* int */
1928 *n_args = 2;
1929 break;
1930 }
1931 /* freebsd32_sendfile */
1932 case 393: {
1933 struct freebsd32_sendfile_args *p = params;
1934 iarg[0] = p->fd; /* int */
1935 iarg[1] = p->s; /* int */
1936 uarg[2] = p->offset1; /* uint32_t */
1937 uarg[3] = p->offset2; /* uint32_t */
1938 uarg[4] = p->nbytes; /* size_t */
1939 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
1940 uarg[6] = (intptr_t) p->sbytes; /* off_t * */
1941 iarg[7] = p->flags; /* int */
1942 *n_args = 8;
1943 break;
1944 }
1945 /* getfsstat */
1946 case 395: {
1947 struct getfsstat_args *p = params;
1948 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
1949 iarg[1] = p->bufsize; /* long */
1950 iarg[2] = p->flags; /* int */
1951 *n_args = 3;
1952 break;
1953 }
1954 /* statfs */
1955 case 396: {
1956 struct statfs_args *p = params;
1957 uarg[0] = (intptr_t) p->path; /* char * */
1958 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1959 *n_args = 2;
1960 break;
1961 }
1962 /* fstatfs */
1963 case 397: {
1964 struct fstatfs_args *p = params;
1965 iarg[0] = p->fd; /* int */
1966 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1967 *n_args = 2;
1968 break;
1969 }
1970 /* fhstatfs */
1971 case 398: {
1972 struct fhstatfs_args *p = params;
1973 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1974 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
1975 *n_args = 2;
1976 break;
1977 }
1978 /* ksem_close */
1979 case 400: {
1980 struct ksem_close_args *p = params;
1981 iarg[0] = p->id; /* semid_t */
1982 *n_args = 1;
1983 break;
1984 }
1985 /* ksem_post */
1986 case 401: {
1987 struct ksem_post_args *p = params;
1988 iarg[0] = p->id; /* semid_t */
1989 *n_args = 1;
1990 break;
1991 }
1992 /* ksem_wait */
1993 case 402: {
1994 struct ksem_wait_args *p = params;
1995 iarg[0] = p->id; /* semid_t */
1996 *n_args = 1;
1997 break;
1998 }
1999 /* ksem_trywait */
2000 case 403: {
2001 struct ksem_trywait_args *p = params;
2002 iarg[0] = p->id; /* semid_t */
2003 *n_args = 1;
2004 break;
2005 }
2006 /* freebsd32_ksem_init */
2007 case 404: {
2008 struct freebsd32_ksem_init_args *p = params;
2009 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2010 uarg[1] = p->value; /* unsigned int */
2011 *n_args = 2;
2012 break;
2013 }
2014 /* freebsd32_ksem_open */
2015 case 405: {
2016 struct freebsd32_ksem_open_args *p = params;
2017 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2018 uarg[1] = (intptr_t) p->name; /* const char * */
2019 iarg[2] = p->oflag; /* int */
2020 iarg[3] = p->mode; /* mode_t */
2021 uarg[4] = p->value; /* unsigned int */
2022 *n_args = 5;
2023 break;
2024 }
2025 /* ksem_unlink */
2026 case 406: {
2027 struct ksem_unlink_args *p = params;
2028 uarg[0] = (intptr_t) p->name; /* const char * */
2029 *n_args = 1;
2030 break;
2031 }
2032 /* ksem_getvalue */
2033 case 407: {
2034 struct ksem_getvalue_args *p = params;
2035 iarg[0] = p->id; /* semid_t */
2036 uarg[1] = (intptr_t) p->val; /* int * */
2037 *n_args = 2;
2038 break;
2039 }
2040 /* ksem_destroy */
2041 case 408: {
2042 struct ksem_destroy_args *p = params;
2043 iarg[0] = p->id; /* semid_t */
2044 *n_args = 1;
2045 break;
2046 }
2047 /* extattr_set_link */
2048 case 412: {
2049 struct extattr_set_link_args *p = params;
2050 uarg[0] = (intptr_t) p->path; /* const char * */
2051 iarg[1] = p->attrnamespace; /* int */
2052 uarg[2] = (intptr_t) p->attrname; /* const char * */
2053 uarg[3] = (intptr_t) p->data; /* void * */
2054 uarg[4] = p->nbytes; /* size_t */
2055 *n_args = 5;
2056 break;
2057 }
2058 /* extattr_get_link */
2059 case 413: {
2060 struct extattr_get_link_args *p = params;
2061 uarg[0] = (intptr_t) p->path; /* const char * */
2062 iarg[1] = p->attrnamespace; /* int */
2063 uarg[2] = (intptr_t) p->attrname; /* const char * */
2064 uarg[3] = (intptr_t) p->data; /* void * */
2065 uarg[4] = p->nbytes; /* size_t */
2066 *n_args = 5;
2067 break;
2068 }
2069 /* extattr_delete_link */
2070 case 414: {
2071 struct extattr_delete_link_args *p = params;
2072 uarg[0] = (intptr_t) p->path; /* const char * */
2073 iarg[1] = p->attrnamespace; /* int */
2074 uarg[2] = (intptr_t) p->attrname; /* const char * */
2075 *n_args = 3;
2076 break;
2077 }
2078 /* freebsd32_sigaction */
2079 case 416: {
2080 struct freebsd32_sigaction_args *p = params;
2081 iarg[0] = p->sig; /* int */
2082 uarg[1] = (intptr_t) p->act; /* struct sigaction32 * */
2083 uarg[2] = (intptr_t) p->oact; /* struct sigaction32 * */
2084 *n_args = 3;
2085 break;
2086 }
2087 /* freebsd32_sigreturn */
2088 case 417: {
2089 struct freebsd32_sigreturn_args *p = params;
2090 uarg[0] = (intptr_t) p->sigcntxp; /* const struct freebsd32_ucontext * */
2091 *n_args = 1;
2092 break;
2093 }
2094 /* freebsd32_getcontext */
2095 case 421: {
2096 struct freebsd32_getcontext_args *p = params;
2097 uarg[0] = (intptr_t) p->ucp; /* struct freebsd32_ucontext * */
2098 *n_args = 1;
2099 break;
2100 }
2101 /* freebsd32_setcontext */
2102 case 422: {
2103 struct freebsd32_setcontext_args *p = params;
2104 uarg[0] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
2105 *n_args = 1;
2106 break;
2107 }
2108 /* freebsd32_swapcontext */
2109 case 423: {
2110 struct freebsd32_swapcontext_args *p = params;
2111 uarg[0] = (intptr_t) p->oucp; /* struct freebsd32_ucontext * */
2112 uarg[1] = (intptr_t) p->ucp; /* const struct freebsd32_ucontext * */
2113 *n_args = 2;
2114 break;
2115 }
2116 /* __acl_get_link */
2117 case 425: {
2118 struct __acl_get_link_args *p = params;
2119 uarg[0] = (intptr_t) p->path; /* const char * */
2120 iarg[1] = p->type; /* acl_type_t */
2121 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2122 *n_args = 3;
2123 break;
2124 }
2125 /* __acl_set_link */
2126 case 426: {
2127 struct __acl_set_link_args *p = params;
2128 uarg[0] = (intptr_t) p->path; /* const char * */
2129 iarg[1] = p->type; /* acl_type_t */
2130 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2131 *n_args = 3;
2132 break;
2133 }
2134 /* __acl_delete_link */
2135 case 427: {
2136 struct __acl_delete_link_args *p = params;
2137 uarg[0] = (intptr_t) p->path; /* const char * */
2138 iarg[1] = p->type; /* acl_type_t */
2139 *n_args = 2;
2140 break;
2141 }
2142 /* __acl_aclcheck_link */
2143 case 428: {
2144 struct __acl_aclcheck_link_args *p = params;
2145 uarg[0] = (intptr_t) p->path; /* const char * */
2146 iarg[1] = p->type; /* acl_type_t */
2147 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2148 *n_args = 3;
2149 break;
2150 }
2151 /* sigwait */
2152 case 429: {
2153 struct sigwait_args *p = params;
2154 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2155 uarg[1] = (intptr_t) p->sig; /* int * */
2156 *n_args = 2;
2157 break;
2158 }
2159 /* thr_exit */
2160 case 431: {
2161 struct thr_exit_args *p = params;
2162 uarg[0] = (intptr_t) p->state; /* long * */
2163 *n_args = 1;
2164 break;
2165 }
2166 /* thr_self */
2167 case 432: {
2168 struct thr_self_args *p = params;
2169 uarg[0] = (intptr_t) p->id; /* long * */
2170 *n_args = 1;
2171 break;
2172 }
2173 /* thr_kill */
2174 case 433: {
2175 struct thr_kill_args *p = params;
2176 iarg[0] = p->id; /* long */
2177 iarg[1] = p->sig; /* int */
2178 *n_args = 2;
2179 break;
2180 }
2181 /* freebsd32_umtx_lock */
2182 case 434: {
2183 struct freebsd32_umtx_lock_args *p = params;
2184 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2185 *n_args = 1;
2186 break;
2187 }
2188 /* freebsd32_umtx_unlock */
2189 case 435: {
2190 struct freebsd32_umtx_unlock_args *p = params;
2191 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */
2192 *n_args = 1;
2193 break;
2194 }
2195 /* jail_attach */
2196 case 436: {
2197 struct jail_attach_args *p = params;
2198 iarg[0] = p->jid; /* int */
2199 *n_args = 1;
2200 break;
2201 }
2202 /* extattr_list_fd */
2203 case 437: {
2204 struct extattr_list_fd_args *p = params;
2205 iarg[0] = p->fd; /* int */
2206 iarg[1] = p->attrnamespace; /* int */
2207 uarg[2] = (intptr_t) p->data; /* void * */
2208 uarg[3] = p->nbytes; /* size_t */
2209 *n_args = 4;
2210 break;
2211 }
2212 /* extattr_list_file */
2213 case 438: {
2214 struct extattr_list_file_args *p = params;
2215 uarg[0] = (intptr_t) p->path; /* const char * */
2216 iarg[1] = p->attrnamespace; /* int */
2217 uarg[2] = (intptr_t) p->data; /* void * */
2218 uarg[3] = p->nbytes; /* size_t */
2219 *n_args = 4;
2220 break;
2221 }
2222 /* extattr_list_link */
2223 case 439: {
2224 struct extattr_list_link_args *p = params;
2225 uarg[0] = (intptr_t) p->path; /* const char * */
2226 iarg[1] = p->attrnamespace; /* int */
2227 uarg[2] = (intptr_t) p->data; /* void * */
2228 uarg[3] = p->nbytes; /* size_t */
2229 *n_args = 4;
2230 break;
2231 }
2232 /* freebsd32_ksem_timedwait */
2233 case 441: {
2234 struct freebsd32_ksem_timedwait_args *p = params;
2235 iarg[0] = p->id; /* semid_t */
2236 uarg[1] = (intptr_t) p->abstime; /* const struct timespec32 * */
2237 *n_args = 2;
2238 break;
2239 }
2240 /* freebsd32_thr_suspend */
2241 case 442: {
2242 struct freebsd32_thr_suspend_args *p = params;
2243 uarg[0] = (intptr_t) p->timeout; /* const struct timespec32 * */
2244 *n_args = 1;
2245 break;
2246 }
2247 /* thr_wake */
2248 case 443: {
2249 struct thr_wake_args *p = params;
2250 iarg[0] = p->id; /* long */
2251 *n_args = 1;
2252 break;
2253 }
2254 /* kldunloadf */
2255 case 444: {
2256 struct kldunloadf_args *p = params;
2257 iarg[0] = p->fileid; /* int */
2258 iarg[1] = p->flags; /* int */
2259 *n_args = 2;
2260 break;
2261 }
2262 /* audit */
2263 case 445: {
2264 struct audit_args *p = params;
2265 uarg[0] = (intptr_t) p->record; /* const void * */
2266 uarg[1] = p->length; /* u_int */
2267 *n_args = 2;
2268 break;
2269 }
2270 /* auditon */
2271 case 446: {
2272 struct auditon_args *p = params;
2273 iarg[0] = p->cmd; /* int */
2274 uarg[1] = (intptr_t) p->data; /* void * */
2275 uarg[2] = p->length; /* u_int */
2276 *n_args = 3;
2277 break;
2278 }
2279 /* getauid */
2280 case 447: {
2281 struct getauid_args *p = params;
2282 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2283 *n_args = 1;
2284 break;
2285 }
2286 /* setauid */
2287 case 448: {
2288 struct setauid_args *p = params;
2289 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2290 *n_args = 1;
2291 break;
2292 }
2293 /* getaudit */
2294 case 449: {
2295 struct getaudit_args *p = params;
2296 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2297 *n_args = 1;
2298 break;
2299 }
2300 /* setaudit */
2301 case 450: {
2302 struct setaudit_args *p = params;
2303 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2304 *n_args = 1;
2305 break;
2306 }
2307 /* getaudit_addr */
2308 case 451: {
2309 struct getaudit_addr_args *p = params;
2310 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2311 uarg[1] = p->length; /* u_int */
2312 *n_args = 2;
2313 break;
2314 }
2315 /* setaudit_addr */
2316 case 452: {
2317 struct setaudit_addr_args *p = params;
2318 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2319 uarg[1] = p->length; /* u_int */
2320 *n_args = 2;
2321 break;
2322 }
2323 /* auditctl */
2324 case 453: {
2325 struct auditctl_args *p = params;
2326 uarg[0] = (intptr_t) p->path; /* char * */
2327 *n_args = 1;
2328 break;
2329 }
2330 /* freebsd32_umtx_op */
2331 case 454: {
2332 struct freebsd32_umtx_op_args *p = params;
2333 uarg[0] = (intptr_t) p->obj; /* void * */
2334 iarg[1] = p->op; /* int */
2335 uarg[2] = p->val; /* u_long */
2336 uarg[3] = (intptr_t) p->uaddr; /* void * */
2337 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2338 *n_args = 5;
2339 break;
2340 }
2341 /* freebsd32_thr_new */
2342 case 455: {
2343 struct freebsd32_thr_new_args *p = params;
2344 uarg[0] = (intptr_t) p->param; /* struct thr_param32 * */
2345 iarg[1] = p->param_size; /* int */
2346 *n_args = 2;
2347 break;
2348 }
2349 /* sigqueue */
2350 case 456: {
2351 struct sigqueue_args *p = params;
2352 iarg[0] = p->pid; /* pid_t */
2353 iarg[1] = p->signum; /* int */
2354 uarg[2] = (intptr_t) p->value; /* void * */
2355 *n_args = 3;
2356 break;
2357 }
2358 /* freebsd32_kmq_open */
2359 case 457: {
2360 struct freebsd32_kmq_open_args *p = params;
2361 uarg[0] = (intptr_t) p->path; /* const char * */
2362 iarg[1] = p->flags; /* int */
2363 iarg[2] = p->mode; /* mode_t */
2364 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2365 *n_args = 4;
2366 break;
2367 }
2368 /* freebsd32_kmq_setattr */
2369 case 458: {
2370 struct freebsd32_kmq_setattr_args *p = params;
2371 iarg[0] = p->mqd; /* int */
2372 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr32 * */
2373 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr32 * */
2374 *n_args = 3;
2375 break;
2376 }
2377 /* freebsd32_kmq_timedreceive */
2378 case 459: {
2379 struct freebsd32_kmq_timedreceive_args *p = params;
2380 iarg[0] = p->mqd; /* int */
2381 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2382 uarg[2] = p->msg_len; /* size_t */
2383 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2384 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2385 *n_args = 5;
2386 break;
2387 }
2388 /* freebsd32_kmq_timedsend */
2389 case 460: {
2390 struct freebsd32_kmq_timedsend_args *p = params;
2391 iarg[0] = p->mqd; /* int */
2392 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2393 uarg[2] = p->msg_len; /* size_t */
2394 uarg[3] = p->msg_prio; /* unsigned */
2395 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec32 * */
2396 *n_args = 5;
2397 break;
2398 }
2399 /* kmq_notify */
2400 case 461: {
2401 struct kmq_notify_args *p = params;
2402 iarg[0] = p->mqd; /* int */
2403 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2404 *n_args = 2;
2405 break;
2406 }
2407 /* kmq_unlink */
2408 case 462: {
2409 struct kmq_unlink_args *p = params;
2410 uarg[0] = (intptr_t) p->path; /* const char * */
2411 *n_args = 1;
2412 break;
2413 }
2414 /* abort2 */
2415 case 463: {
2416 struct abort2_args *p = params;
2417 uarg[0] = (intptr_t) p->why; /* const char * */
2418 iarg[1] = p->nargs; /* int */
2419 uarg[2] = (intptr_t) p->args; /* void ** */
2420 *n_args = 3;
2421 break;
2422 }
2423 /* thr_set_name */
2424 case 464: {
2425 struct thr_set_name_args *p = params;
2426 iarg[0] = p->id; /* long */
2427 uarg[1] = (intptr_t) p->name; /* const char * */
2428 *n_args = 2;
2429 break;
2430 }
2431 /* freebsd32_aio_fsync */
2432 case 465: {
2433 struct freebsd32_aio_fsync_args *p = params;
2434 iarg[0] = p->op; /* int */
2435 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb32 * */
2436 *n_args = 2;
2437 break;
2438 }
2439 /* rtprio_thread */
2440 case 466: {
2441 struct rtprio_thread_args *p = params;
2442 iarg[0] = p->function; /* int */
2443 iarg[1] = p->lwpid; /* lwpid_t */
2444 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2445 *n_args = 3;
2446 break;
2447 }
2448 /* sctp_peeloff */
2449 case 471: {
2450 struct sctp_peeloff_args *p = params;
2451 iarg[0] = p->sd; /* int */
2452 uarg[1] = p->name; /* uint32_t */
2453 *n_args = 2;
2454 break;
2455 }
2456 /* sctp_generic_sendmsg */
2457 case 472: {
2458 struct sctp_generic_sendmsg_args *p = params;
2459 iarg[0] = p->sd; /* int */
2460 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2461 iarg[2] = p->mlen; /* int */
2462 uarg[3] = (intptr_t) p->to; /* caddr_t */
2463 iarg[4] = p->tolen; /* __socklen_t */
2464 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2465 iarg[6] = p->flags; /* int */
2466 *n_args = 7;
2467 break;
2468 }
2469 /* sctp_generic_sendmsg_iov */
2470 case 473: {
2471 struct sctp_generic_sendmsg_iov_args *p = params;
2472 iarg[0] = p->sd; /* int */
2473 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2474 iarg[2] = p->iovlen; /* int */
2475 uarg[3] = (intptr_t) p->to; /* caddr_t */
2476 iarg[4] = p->tolen; /* __socklen_t */
2477 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2478 iarg[6] = p->flags; /* int */
2479 *n_args = 7;
2480 break;
2481 }
2482 /* sctp_generic_recvmsg */
2483 case 474: {
2484 struct sctp_generic_recvmsg_args *p = params;
2485 iarg[0] = p->sd; /* int */
2486 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2487 iarg[2] = p->iovlen; /* int */
2488 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2489 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2490 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2491 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2492 *n_args = 7;
2493 break;
2494 }
2495#ifdef PAD64_REQUIRED
2496 /* freebsd32_pread */
2497 case 475: {
2498 struct freebsd32_pread_args *p = params;
2499 iarg[0] = p->fd; /* int */
2500 uarg[1] = (intptr_t) p->buf; /* void * */
2501 uarg[2] = p->nbyte; /* size_t */
2502 iarg[3] = p->pad; /* int */
2503 uarg[4] = p->offset1; /* uint32_t */
2504 uarg[5] = p->offset2; /* uint32_t */
2505 *n_args = 6;
2506 break;
2507 }
2508 /* freebsd32_pwrite */
2509 case 476: {
2510 struct freebsd32_pwrite_args *p = params;
2511 iarg[0] = p->fd; /* int */
2512 uarg[1] = (intptr_t) p->buf; /* const void * */
2513 uarg[2] = p->nbyte; /* size_t */
2514 iarg[3] = p->pad; /* int */
2515 uarg[4] = p->offset1; /* uint32_t */
2516 uarg[5] = p->offset2; /* uint32_t */
2517 *n_args = 6;
2518 break;
2519 }
2520 /* freebsd32_mmap */
2521 case 477: {
2522 struct freebsd32_mmap_args *p = params;
2523 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2524 uarg[1] = p->len; /* size_t */
2525 iarg[2] = p->prot; /* int */
2526 iarg[3] = p->flags; /* int */
2527 iarg[4] = p->fd; /* int */
2528 iarg[5] = p->pad; /* int */
2529 uarg[6] = p->pos1; /* uint32_t */
2530 uarg[7] = p->pos2; /* uint32_t */
2531 *n_args = 8;
2532 break;
2533 }
2534 /* freebsd32_lseek */
2535 case 478: {
2536 struct freebsd32_lseek_args *p = params;
2537 iarg[0] = p->fd; /* int */
2538 iarg[1] = p->pad; /* int */
2539 uarg[2] = p->offset1; /* uint32_t */
2540 uarg[3] = p->offset2; /* uint32_t */
2541 iarg[4] = p->whence; /* int */
2542 *n_args = 5;
2543 break;
2544 }
2545 /* freebsd32_truncate */
2546 case 479: {
2547 struct freebsd32_truncate_args *p = params;
2548 uarg[0] = (intptr_t) p->path; /* char * */
2549 iarg[1] = p->pad; /* int */
2550 uarg[2] = p->length1; /* uint32_t */
2551 uarg[3] = p->length2; /* uint32_t */
2552 *n_args = 4;
2553 break;
2554 }
2555 /* freebsd32_ftruncate */
2556 case 480: {
2557 struct freebsd32_ftruncate_args *p = params;
2558 iarg[0] = p->fd; /* int */
2559 iarg[1] = p->pad; /* int */
2560 uarg[2] = p->length1; /* uint32_t */
2561 uarg[3] = p->length2; /* uint32_t */
2562 *n_args = 4;
2563 break;
2564 }
2565#else
2566 /* freebsd32_pread */
2567 case 475: {
2568 struct freebsd32_pread_args *p = params;
2569 iarg[0] = p->fd; /* int */
2570 uarg[1] = (intptr_t) p->buf; /* void * */
2571 uarg[2] = p->nbyte; /* size_t */
2572 uarg[3] = p->offset1; /* uint32_t */
2573 uarg[4] = p->offset2; /* uint32_t */
2574 *n_args = 5;
2575 break;
2576 }
2577 /* freebsd32_pwrite */
2578 case 476: {
2579 struct freebsd32_pwrite_args *p = params;
2580 iarg[0] = p->fd; /* int */
2581 uarg[1] = (intptr_t) p->buf; /* const void * */
2582 uarg[2] = p->nbyte; /* size_t */
2583 uarg[3] = p->offset1; /* uint32_t */
2584 uarg[4] = p->offset2; /* uint32_t */
2585 *n_args = 5;
2586 break;
2587 }
2588 /* freebsd32_mmap */
2589 case 477: {
2590 struct freebsd32_mmap_args *p = params;
2591 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2592 uarg[1] = p->len; /* size_t */
2593 iarg[2] = p->prot; /* int */
2594 iarg[3] = p->flags; /* int */
2595 iarg[4] = p->fd; /* int */
2596 uarg[5] = p->pos1; /* uint32_t */
2597 uarg[6] = p->pos2; /* uint32_t */
2598 *n_args = 7;
2599 break;
2600 }
2601 /* freebsd32_lseek */
2602 case 478: {
2603 struct freebsd32_lseek_args *p = params;
2604 iarg[0] = p->fd; /* int */
2605 uarg[1] = p->offset1; /* uint32_t */
2606 uarg[2] = p->offset2; /* uint32_t */
2607 iarg[3] = p->whence; /* int */
2608 *n_args = 4;
2609 break;
2610 }
2611 /* freebsd32_truncate */
2612 case 479: {
2613 struct freebsd32_truncate_args *p = params;
2614 uarg[0] = (intptr_t) p->path; /* char * */
2615 uarg[1] = p->length1; /* uint32_t */
2616 uarg[2] = p->length2; /* uint32_t */
2617 *n_args = 3;
2618 break;
2619 }
2620 /* freebsd32_ftruncate */
2621 case 480: {
2622 struct freebsd32_ftruncate_args *p = params;
2623 iarg[0] = p->fd; /* int */
2624 uarg[1] = p->length1; /* uint32_t */
2625 uarg[2] = p->length2; /* uint32_t */
2626 *n_args = 3;
2627 break;
2628 }
2629#endif
2630 /* thr_kill2 */
2631 case 481: {
2632 struct thr_kill2_args *p = params;
2633 iarg[0] = p->pid; /* pid_t */
2634 iarg[1] = p->id; /* long */
2635 iarg[2] = p->sig; /* int */
2636 *n_args = 3;
2637 break;
2638 }
2639 /* shm_open */
2640 case 482: {
2641 struct shm_open_args *p = params;
2642 uarg[0] = (intptr_t) p->path; /* const char * */
2643 iarg[1] = p->flags; /* int */
2644 iarg[2] = p->mode; /* mode_t */
2645 *n_args = 3;
2646 break;
2647 }
2648 /* shm_unlink */
2649 case 483: {
2650 struct shm_unlink_args *p = params;
2651 uarg[0] = (intptr_t) p->path; /* const char * */
2652 *n_args = 1;
2653 break;
2654 }
2655 /* cpuset */
2656 case 484: {
2657 struct cpuset_args *p = params;
2658 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2659 *n_args = 1;
2660 break;
2661 }
2662#ifdef PAD64_REQUIRED
2663 /* freebsd32_cpuset_setid */
2664 case 485: {
2665 struct freebsd32_cpuset_setid_args *p = params;
2666 iarg[0] = p->which; /* cpuwhich_t */
2667 iarg[1] = p->pad; /* int */
2668 uarg[2] = p->id1; /* uint32_t */
2669 uarg[3] = p->id2; /* uint32_t */
2670 iarg[4] = p->setid; /* cpusetid_t */
2671 *n_args = 5;
2672 break;
2673 }
2674#else
2675 /* freebsd32_cpuset_setid */
2676 case 485: {
2677 struct freebsd32_cpuset_setid_args *p = params;
2678 iarg[0] = p->which; /* cpuwhich_t */
2679 uarg[1] = p->id1; /* uint32_t */
2680 uarg[2] = p->id2; /* uint32_t */
2681 iarg[3] = p->setid; /* cpusetid_t */
2682 *n_args = 4;
2683 break;
2684 }
2685#endif
2686 /* freebsd32_cpuset_getid */
2687 case 486: {
2688 struct freebsd32_cpuset_getid_args *p = params;
2689 iarg[0] = p->level; /* cpulevel_t */
2690 iarg[1] = p->which; /* cpuwhich_t */
2691 uarg[2] = p->id1; /* uint32_t */
2692 uarg[3] = p->id2; /* uint32_t */
2693 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */
2694 *n_args = 5;
2695 break;
2696 }
2697 /* freebsd32_cpuset_getaffinity */
2698 case 487: {
2699 struct freebsd32_cpuset_getaffinity_args *p = params;
2700 iarg[0] = p->level; /* cpulevel_t */
2701 iarg[1] = p->which; /* cpuwhich_t */
2702 uarg[2] = p->id1; /* uint32_t */
2703 uarg[3] = p->id2; /* uint32_t */
2704 uarg[4] = p->cpusetsize; /* size_t */
2705 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */
2706 *n_args = 6;
2707 break;
2708 }
2709 /* freebsd32_cpuset_setaffinity */
2710 case 488: {
2711 struct freebsd32_cpuset_setaffinity_args *p = params;
2712 iarg[0] = p->level; /* cpulevel_t */
2713 iarg[1] = p->which; /* cpuwhich_t */
2714 uarg[2] = p->id1; /* uint32_t */
2715 uarg[3] = p->id2; /* uint32_t */
2716 uarg[4] = p->cpusetsize; /* size_t */
2717 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */
2718 *n_args = 6;
2719 break;
2720 }
2721 /* faccessat */
2722 case 489: {
2723 struct faccessat_args *p = params;
2724 iarg[0] = p->fd; /* int */
2725 uarg[1] = (intptr_t) p->path; /* char * */
2726 iarg[2] = p->amode; /* int */
2727 iarg[3] = p->flag; /* int */
2728 *n_args = 4;
2729 break;
2730 }
2731 /* fchmodat */
2732 case 490: {
2733 struct fchmodat_args *p = params;
2734 iarg[0] = p->fd; /* int */
2735 uarg[1] = (intptr_t) p->path; /* const char * */
2736 iarg[2] = p->mode; /* mode_t */
2737 iarg[3] = p->flag; /* int */
2738 *n_args = 4;
2739 break;
2740 }
2741 /* fchownat */
2742 case 491: {
2743 struct fchownat_args *p = params;
2744 iarg[0] = p->fd; /* int */
2745 uarg[1] = (intptr_t) p->path; /* char * */
2746 uarg[2] = p->uid; /* uid_t */
2747 iarg[3] = p->gid; /* gid_t */
2748 iarg[4] = p->flag; /* int */
2749 *n_args = 5;
2750 break;
2751 }
2752 /* freebsd32_fexecve */
2753 case 492: {
2754 struct freebsd32_fexecve_args *p = params;
2755 iarg[0] = p->fd; /* int */
2756 uarg[1] = (intptr_t) p->argv; /* uint32_t * */
2757 uarg[2] = (intptr_t) p->envv; /* uint32_t * */
2758 *n_args = 3;
2759 break;
2760 }
2761 /* freebsd32_fstatat */
2762 case 493: {
2763 struct freebsd32_fstatat_args *p = params;
2764 iarg[0] = p->fd; /* int */
2765 uarg[1] = (intptr_t) p->path; /* char * */
2766 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2767 iarg[3] = p->flag; /* int */
2768 *n_args = 4;
2769 break;
2770 }
2771 /* freebsd32_futimesat */
2772 case 494: {
2773 struct freebsd32_futimesat_args *p = params;
2774 iarg[0] = p->fd; /* int */
2775 uarg[1] = (intptr_t) p->path; /* char * */
2776 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2777 *n_args = 3;
2778 break;
2779 }
2780 /* linkat */
2781 case 495: {
2782 struct linkat_args *p = params;
2783 iarg[0] = p->fd1; /* int */
2784 uarg[1] = (intptr_t) p->path1; /* char * */
2785 iarg[2] = p->fd2; /* int */
2786 uarg[3] = (intptr_t) p->path2; /* char * */
2787 iarg[4] = p->flag; /* int */
2788 *n_args = 5;
2789 break;
2790 }
2791 /* mkdirat */
2792 case 496: {
2793 struct mkdirat_args *p = params;
2794 iarg[0] = p->fd; /* int */
2795 uarg[1] = (intptr_t) p->path; /* char * */
2796 iarg[2] = p->mode; /* mode_t */
2797 *n_args = 3;
2798 break;
2799 }
2800 /* mkfifoat */
2801 case 497: {
2802 struct mkfifoat_args *p = params;
2803 iarg[0] = p->fd; /* int */
2804 uarg[1] = (intptr_t) p->path; /* char * */
2805 iarg[2] = p->mode; /* mode_t */
2806 *n_args = 3;
2807 break;
2808 }
2809 /* mknodat */
2810 case 498: {
2811 struct mknodat_args *p = params;
2812 iarg[0] = p->fd; /* int */
2813 uarg[1] = (intptr_t) p->path; /* char * */
2814 iarg[2] = p->mode; /* mode_t */
2815 iarg[3] = p->dev; /* dev_t */
2816 *n_args = 4;
2817 break;
2818 }
2819 /* openat */
2820 case 499: {
2821 struct openat_args *p = params;
2822 iarg[0] = p->fd; /* int */
2823 uarg[1] = (intptr_t) p->path; /* char * */
2824 iarg[2] = p->flag; /* int */
2825 iarg[3] = p->mode; /* mode_t */
2826 *n_args = 4;
2827 break;
2828 }
2829 /* readlinkat */
2830 case 500: {
2831 struct readlinkat_args *p = params;
2832 iarg[0] = p->fd; /* int */
2833 uarg[1] = (intptr_t) p->path; /* char * */
2834 uarg[2] = (intptr_t) p->buf; /* char * */
2835 uarg[3] = p->bufsize; /* size_t */
2836 *n_args = 4;
2837 break;
2838 }
2839 /* renameat */
2840 case 501: {
2841 struct renameat_args *p = params;
2842 iarg[0] = p->oldfd; /* int */
2843 uarg[1] = (intptr_t) p->old; /* char * */
2844 iarg[2] = p->newfd; /* int */
2845 uarg[3] = (intptr_t) p->new; /* const char * */
2846 *n_args = 4;
2847 break;
2848 }
2849 /* symlinkat */
2850 case 502: {
2851 struct symlinkat_args *p = params;
2852 uarg[0] = (intptr_t) p->path1; /* char * */
2853 iarg[1] = p->fd; /* int */
2854 uarg[2] = (intptr_t) p->path2; /* char * */
2855 *n_args = 3;
2856 break;
2857 }
2858 /* unlinkat */
2859 case 503: {
2860 struct unlinkat_args *p = params;
2861 iarg[0] = p->fd; /* int */
2862 uarg[1] = (intptr_t) p->path; /* char * */
2863 iarg[2] = p->flag; /* int */
2864 *n_args = 3;
2865 break;
2866 }
2867 /* posix_openpt */
2868 case 504: {
2869 struct posix_openpt_args *p = params;
2870 iarg[0] = p->flags; /* int */
2871 *n_args = 1;
2872 break;
2873 }
2874 /* freebsd32_jail_get */
2875 case 506: {
2876 struct freebsd32_jail_get_args *p = params;
2877 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2878 uarg[1] = p->iovcnt; /* unsigned int */
2879 iarg[2] = p->flags; /* int */
2880 *n_args = 3;
2881 break;
2882 }
2883 /* freebsd32_jail_set */
2884 case 507: {
2885 struct freebsd32_jail_set_args *p = params;
2886 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */
2887 uarg[1] = p->iovcnt; /* unsigned int */
2888 iarg[2] = p->flags; /* int */
2889 *n_args = 3;
2890 break;
2891 }
2892 /* jail_remove */
2893 case 508: {
2894 struct jail_remove_args *p = params;
2895 iarg[0] = p->jid; /* int */
2896 *n_args = 1;
2897 break;
2898 }
2899 /* closefrom */
2900 case 509: {
2901 struct closefrom_args *p = params;
2902 iarg[0] = p->lowfd; /* int */
2903 *n_args = 1;
2904 break;
2905 }
2906 /* freebsd32_semctl */
2907 case 510: {
2908 struct freebsd32_semctl_args *p = params;
2909 iarg[0] = p->semid; /* int */
2910 iarg[1] = p->semnum; /* int */
2911 iarg[2] = p->cmd; /* int */
2912 uarg[3] = (intptr_t) p->arg; /* union semun32 * */
2913 *n_args = 4;
2914 break;
2915 }
2916 /* freebsd32_msgctl */
2917 case 511: {
2918 struct freebsd32_msgctl_args *p = params;
2919 iarg[0] = p->msqid; /* int */
2920 iarg[1] = p->cmd; /* int */
2921 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */
2922 *n_args = 3;
2923 break;
2924 }
2925 /* freebsd32_shmctl */
2926 case 512: {
2927 struct freebsd32_shmctl_args *p = params;
2928 iarg[0] = p->shmid; /* int */
2929 iarg[1] = p->cmd; /* int */
2930 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */
2931 *n_args = 3;
2932 break;
2933 }
2934 /* lpathconf */
2935 case 513: {
2936 struct lpathconf_args *p = params;
2937 uarg[0] = (intptr_t) p->path; /* char * */
2938 iarg[1] = p->name; /* int */
2939 *n_args = 2;
2940 break;
2941 }
2942 /* cap_new */
2943 case 514: {
2944 struct cap_new_args *p = params;
2945 iarg[0] = p->fd; /* int */
2946 uarg[1] = p->rights; /* uint64_t */
2947 *n_args = 2;
2948 break;
2949 }
2950 /* cap_getrights */
2951 case 515: {
2952 struct cap_getrights_args *p = params;
2953 iarg[0] = p->fd; /* int */
2954 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
2955 *n_args = 2;
2956 break;
2957 }
2958 /* cap_enter */
2959 case 516: {
2960 *n_args = 0;
2961 break;
2962 }
2963 /* cap_getmode */
2964 case 517: {
2965 struct cap_getmode_args *p = params;
2966 uarg[0] = (intptr_t) p->modep; /* u_int * */
2967 *n_args = 1;
2968 break;
2969 }
2970 /* freebsd32_pselect */
2971 case 522: {
2972 struct freebsd32_pselect_args *p = params;
2973 iarg[0] = p->nd; /* int */
2974 uarg[1] = (intptr_t) p->in; /* fd_set * */
2975 uarg[2] = (intptr_t) p->ou; /* fd_set * */
2976 uarg[3] = (intptr_t) p->ex; /* fd_set * */
2977 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */
2978 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
2979 *n_args = 6;
2980 break;
2981 }
2982 /* getloginclass */
2983 case 523: {
2984 struct getloginclass_args *p = params;
2985 uarg[0] = (intptr_t) p->namebuf; /* char * */
2986 uarg[1] = p->namelen; /* size_t */
2987 *n_args = 2;
2988 break;
2989 }
2990 /* setloginclass */
2991 case 524: {
2992 struct setloginclass_args *p = params;
2993 uarg[0] = (intptr_t) p->namebuf; /* const char * */
2994 *n_args = 1;
2995 break;
2996 }
2997 /* rctl_get_racct */
2998 case 525: {
2999 struct rctl_get_racct_args *p = params;
3000 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3001 uarg[1] = p->inbuflen; /* size_t */
3002 uarg[2] = (intptr_t) p->outbufp; /* void * */
3003 uarg[3] = p->outbuflen; /* size_t */
3004 *n_args = 4;
3005 break;
3006 }
3007 /* rctl_get_rules */
3008 case 526: {
3009 struct rctl_get_rules_args *p = params;
3010 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3011 uarg[1] = p->inbuflen; /* size_t */
3012 uarg[2] = (intptr_t) p->outbufp; /* void * */
3013 uarg[3] = p->outbuflen; /* size_t */
3014 *n_args = 4;
3015 break;
3016 }
3017 /* rctl_get_limits */
3018 case 527: {
3019 struct rctl_get_limits_args *p = params;
3020 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3021 uarg[1] = p->inbuflen; /* size_t */
3022 uarg[2] = (intptr_t) p->outbufp; /* void * */
3023 uarg[3] = p->outbuflen; /* size_t */
3024 *n_args = 4;
3025 break;
3026 }
3027 /* rctl_add_rule */
3028 case 528: {
3029 struct rctl_add_rule_args *p = params;
3030 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3031 uarg[1] = p->inbuflen; /* size_t */
3032 uarg[2] = (intptr_t) p->outbufp; /* void * */
3033 uarg[3] = p->outbuflen; /* size_t */
3034 *n_args = 4;
3035 break;
3036 }
3037 /* rctl_remove_rule */
3038 case 529: {
3039 struct rctl_remove_rule_args *p = params;
3040 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3041 uarg[1] = p->inbuflen; /* size_t */
3042 uarg[2] = (intptr_t) p->outbufp; /* void * */
3043 uarg[3] = p->outbuflen; /* size_t */
3044 *n_args = 4;
3045 break;
3046 }
3047 /* freebsd32_posix_fallocate */
3048 case 530: {
3049 struct freebsd32_posix_fallocate_args *p = params;
3050 iarg[0] = p->fd; /* int */
3051 uarg[1] = p->offset1; /* uint32_t */
3052 uarg[2] = p->offset2; /* uint32_t */
3053 uarg[3] = p->len1; /* uint32_t */
3054 uarg[4] = p->len2; /* uint32_t */
3055 *n_args = 5;
3056 break;
3057 }
3058 /* freebsd32_posix_fadvise */
3059 case 531: {
3060 struct freebsd32_posix_fadvise_args *p = params;
3061 iarg[0] = p->fd; /* int */
3062 uarg[1] = p->offset1; /* uint32_t */
3063 uarg[2] = p->offset2; /* uint32_t */
3064 uarg[3] = p->len1; /* uint32_t */
3065 uarg[4] = p->len2; /* uint32_t */
3066 iarg[5] = p->advice; /* int */
3067 *n_args = 6;
3068 break;
3069 }
3070 default:
3071 *n_args = 0;
3072 break;
3073 };
3074}
3075static void
3076systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3077{
3078 const char *p = NULL;
3079 switch (sysnum) {
3080#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
3081#define PAD64_REQUIRED
3082#endif
3083 /* nosys */
3084 case 0:
3085 break;
3086 /* sys_exit */
3087 case 1:
3088 switch(ndx) {
3089 case 0:
3090 p = "int";
3091 break;
3092 default:
3093 break;
3094 };
3095 break;
3096 /* fork */
3097 case 2:
3098 break;
3099 /* read */
3100 case 3:
3101 switch(ndx) {
3102 case 0:
3103 p = "int";
3104 break;
3105 case 1:
3106 p = "void *";
3107 break;
3108 case 2:
3109 p = "size_t";
3110 break;
3111 default:
3112 break;
3113 };
3114 break;
3115 /* write */
3116 case 4:
3117 switch(ndx) {
3118 case 0:
3119 p = "int";
3120 break;
3121 case 1:
3122 p = "const void *";
3123 break;
3124 case 2:
3125 p = "size_t";
3126 break;
3127 default:
3128 break;
3129 };
3130 break;
3131 /* open */
3132 case 5:
3133 switch(ndx) {
3134 case 0:
3135 p = "char *";
3136 break;
3137 case 1:
3138 p = "int";
3139 break;
3140 case 2:
3141 p = "int";
3142 break;
3143 default:
3144 break;
3145 };
3146 break;
3147 /* close */
3148 case 6:
3149 switch(ndx) {
3150 case 0:
3151 p = "int";
3152 break;
3153 default:
3154 break;
3155 };
3156 break;
3157 /* freebsd32_wait4 */
3158 case 7:
3159 switch(ndx) {
3160 case 0:
3161 p = "int";
3162 break;
3163 case 1:
3164 p = "int *";
3165 break;
3166 case 2:
3167 p = "int";
3168 break;
3169 case 3:
3170 p = "struct rusage32 *";
3171 break;
3172 default:
3173 break;
3174 };
3175 break;
3176 /* link */
3177 case 9:
3178 switch(ndx) {
3179 case 0:
3180 p = "char *";
3181 break;
3182 case 1:
3183 p = "char *";
3184 break;
3185 default:
3186 break;
3187 };
3188 break;
3189 /* unlink */
3190 case 10:
3191 switch(ndx) {
3192 case 0:
3193 p = "char *";
3194 break;
3195 default:
3196 break;
3197 };
3198 break;
3199 /* chdir */
3200 case 12:
3201 switch(ndx) {
3202 case 0:
3203 p = "char *";
3204 break;
3205 default:
3206 break;
3207 };
3208 break;
3209 /* fchdir */
3210 case 13:
3211 switch(ndx) {
3212 case 0:
3213 p = "int";
3214 break;
3215 default:
3216 break;
3217 };
3218 break;
3219 /* mknod */
3220 case 14:
3221 switch(ndx) {
3222 case 0:
3223 p = "char *";
3224 break;
3225 case 1:
3226 p = "int";
3227 break;
3228 case 2:
3229 p = "int";
3230 break;
3231 default:
3232 break;
3233 };
3234 break;
3235 /* chmod */
3236 case 15:
3237 switch(ndx) {
3238 case 0:
3239 p = "char *";
3240 break;
3241 case 1:
3242 p = "int";
3243 break;
3244 default:
3245 break;
3246 };
3247 break;
3248 /* chown */
3249 case 16:
3250 switch(ndx) {
3251 case 0:
3252 p = "char *";
3253 break;
3254 case 1:
3255 p = "int";
3256 break;
3257 case 2:
3258 p = "int";
3259 break;
3260 default:
3261 break;
3262 };
3263 break;
3264 /* obreak */
3265 case 17:
3266 switch(ndx) {
3267 case 0:
3268 p = "char *";
3269 break;
3270 default:
3271 break;
3272 };
3273 break;
3274 /* getpid */
3275 case 20:
3276 break;
3277 /* mount */
3278 case 21:
3279 switch(ndx) {
3280 case 0:
3281 p = "char *";
3282 break;
3283 case 1:
3284 p = "char *";
3285 break;
3286 case 2:
3287 p = "int";
3288 break;
3289 case 3:
3290 p = "caddr_t";
3291 break;
3292 default:
3293 break;
3294 };
3295 break;
3296 /* unmount */
3297 case 22:
3298 switch(ndx) {
3299 case 0:
3300 p = "char *";
3301 break;
3302 case 1:
3303 p = "int";
3304 break;
3305 default:
3306 break;
3307 };
3308 break;
3309 /* setuid */
3310 case 23:
3311 switch(ndx) {
3312 case 0:
3313 p = "uid_t";
3314 break;
3315 default:
3316 break;
3317 };
3318 break;
3319 /* getuid */
3320 case 24:
3321 break;
3322 /* geteuid */
3323 case 25:
3324 break;
3325 /* ptrace */
3326 case 26:
3327 switch(ndx) {
3328 case 0:
3329 p = "int";
3330 break;
3331 case 1:
3332 p = "pid_t";
3333 break;
3334 case 2:
3335 p = "caddr_t";
3336 break;
3337 case 3:
3338 p = "int";
3339 break;
3340 default:
3341 break;
3342 };
3343 break;
3344 /* freebsd32_recvmsg */
3345 case 27:
3346 switch(ndx) {
3347 case 0:
3348 p = "int";
3349 break;
3350 case 1:
3351 p = "struct msghdr32 *";
3352 break;
3353 case 2:
3354 p = "int";
3355 break;
3356 default:
3357 break;
3358 };
3359 break;
3360 /* freebsd32_sendmsg */
3361 case 28:
3362 switch(ndx) {
3363 case 0:
3364 p = "int";
3365 break;
3366 case 1:
3367 p = "struct msghdr32 *";
3368 break;
3369 case 2:
3370 p = "int";
3371 break;
3372 default:
3373 break;
3374 };
3375 break;
3376 /* freebsd32_recvfrom */
3377 case 29:
3378 switch(ndx) {
3379 case 0:
3380 p = "int";
3381 break;
3382 case 1:
3383 p = "uint32_t";
3384 break;
3385 case 2:
3386 p = "uint32_t";
3387 break;
3388 case 3:
3389 p = "int";
3390 break;
3391 case 4:
3392 p = "uint32_t";
3393 break;
3394 case 5:
3395 p = "uint32_t";
3396 break;
3397 default:
3398 break;
3399 };
3400 break;
3401 /* accept */
3402 case 30:
3403 switch(ndx) {
3404 case 0:
3405 p = "int";
3406 break;
3407 case 1:
3408 p = "caddr_t";
3409 break;
3410 case 2:
3411 p = "int *";
3412 break;
3413 default:
3414 break;
3415 };
3416 break;
3417 /* getpeername */
3418 case 31:
3419 switch(ndx) {
3420 case 0:
3421 p = "int";
3422 break;
3423 case 1:
3424 p = "caddr_t";
3425 break;
3426 case 2:
3427 p = "int *";
3428 break;
3429 default:
3430 break;
3431 };
3432 break;
3433 /* getsockname */
3434 case 32:
3435 switch(ndx) {
3436 case 0:
3437 p = "int";
3438 break;
3439 case 1:
3440 p = "caddr_t";
3441 break;
3442 case 2:
3443 p = "int *";
3444 break;
3445 default:
3446 break;
3447 };
3448 break;
3449 /* access */
3450 case 33:
3451 switch(ndx) {
3452 case 0:
3453 p = "char *";
3454 break;
3455 case 1:
3456 p = "int";
3457 break;
3458 default:
3459 break;
3460 };
3461 break;
3462 /* chflags */
3463 case 34:
3464 switch(ndx) {
3465 case 0:
3466 p = "char *";
3467 break;
3468 case 1:
3469 p = "int";
3470 break;
3471 default:
3472 break;
3473 };
3474 break;
3475 /* fchflags */
3476 case 35:
3477 switch(ndx) {
3478 case 0:
3479 p = "int";
3480 break;
3481 case 1:
3482 p = "int";
3483 break;
3484 default:
3485 break;
3486 };
3487 break;
3488 /* sync */
3489 case 36:
3490 break;
3491 /* kill */
3492 case 37:
3493 switch(ndx) {
3494 case 0:
3495 p = "int";
3496 break;
3497 case 1:
3498 p = "int";
3499 break;
3500 default:
3501 break;
3502 };
3503 break;
3504 /* getppid */
3505 case 39:
3506 break;
3507 /* dup */
3508 case 41:
3509 switch(ndx) {
3510 case 0:
3511 p = "u_int";
3512 break;
3513 default:
3514 break;
3515 };
3516 break;
3517 /* pipe */
3518 case 42:
3519 break;
3520 /* getegid */
3521 case 43:
3522 break;
3523 /* profil */
3524 case 44:
3525 switch(ndx) {
3526 case 0:
3527 p = "caddr_t";
3528 break;
3529 case 1:
3530 p = "size_t";
3531 break;
3532 case 2:
3533 p = "size_t";
3534 break;
3535 case 3:
3536 p = "u_int";
3537 break;
3538 default:
3539 break;
3540 };
3541 break;
3542 /* ktrace */
3543 case 45:
3544 switch(ndx) {
3545 case 0:
3546 p = "const char *";
3547 break;
3548 case 1:
3549 p = "int";
3550 break;
3551 case 2:
3552 p = "int";
3553 break;
3554 case 3:
3555 p = "int";
3556 break;
3557 default:
3558 break;
3559 };
3560 break;
3561 /* getgid */
3562 case 47:
3563 break;
3564 /* getlogin */
3565 case 49:
3566 switch(ndx) {
3567 case 0:
3568 p = "char *";
3569 break;
3570 case 1:
3571 p = "u_int";
3572 break;
3573 default:
3574 break;
3575 };
3576 break;
3577 /* setlogin */
3578 case 50:
3579 switch(ndx) {
3580 case 0:
3581 p = "char *";
3582 break;
3583 default:
3584 break;
3585 };
3586 break;
3587 /* acct */
3588 case 51:
3589 switch(ndx) {
3590 case 0:
3591 p = "char *";
3592 break;
3593 default:
3594 break;
3595 };
3596 break;
3597 /* freebsd32_sigaltstack */
3598 case 53:
3599 switch(ndx) {
3600 case 0:
3601 p = "struct sigaltstack32 *";
3602 break;
3603 case 1:
3604 p = "struct sigaltstack32 *";
3605 break;
3606 default:
3607 break;
3608 };
3609 break;
3610 /* freebsd32_ioctl */
3611 case 54:
3612 switch(ndx) {
3613 case 0:
3614 p = "int";
3615 break;
3616 case 1:
3617 p = "uint32_t";
3618 break;
3619 case 2:
3620 p = "struct md_ioctl32 *";
3621 break;
3622 default:
3623 break;
3624 };
3625 break;
3626 /* reboot */
3627 case 55:
3628 switch(ndx) {
3629 case 0:
3630 p = "int";
3631 break;
3632 default:
3633 break;
3634 };
3635 break;
3636 /* revoke */
3637 case 56:
3638 switch(ndx) {
3639 case 0:
3640 p = "char *";
3641 break;
3642 default:
3643 break;
3644 };
3645 break;
3646 /* symlink */
3647 case 57:
3648 switch(ndx) {
3649 case 0:
3650 p = "char *";
3651 break;
3652 case 1:
3653 p = "char *";
3654 break;
3655 default:
3656 break;
3657 };
3658 break;
3659 /* readlink */
3660 case 58:
3661 switch(ndx) {
3662 case 0:
3663 p = "char *";
3664 break;
3665 case 1:
3666 p = "char *";
3667 break;
3668 case 2:
3669 p = "size_t";
3670 break;
3671 default:
3672 break;
3673 };
3674 break;
3675 /* freebsd32_execve */
3676 case 59:
3677 switch(ndx) {
3678 case 0:
3679 p = "char *";
3680 break;
3681 case 1:
3682 p = "uint32_t *";
3683 break;
3684 case 2:
3685 p = "uint32_t *";
3686 break;
3687 default:
3688 break;
3689 };
3690 break;
3691 /* umask */
3692 case 60:
3693 switch(ndx) {
3694 case 0:
3695 p = "int";
3696 break;
3697 default:
3698 break;
3699 };
3700 break;
3701 /* chroot */
3702 case 61:
3703 switch(ndx) {
3704 case 0:
3705 p = "char *";
3706 break;
3707 default:
3708 break;
3709 };
3710 break;
3711 /* msync */
3712 case 65:
3713 switch(ndx) {
3714 case 0:
3715 p = "void *";
3716 break;
3717 case 1:
3718 p = "size_t";
3719 break;
3720 case 2:
3721 p = "int";
3722 break;
3723 default:
3724 break;
3725 };
3726 break;
3727 /* vfork */
3728 case 66:
3729 break;
3730 /* sbrk */
3731 case 69:
3732 switch(ndx) {
3733 case 0:
3734 p = "int";
3735 break;
3736 default:
3737 break;
3738 };
3739 break;
3740 /* sstk */
3741 case 70:
3742 switch(ndx) {
3743 case 0:
3744 p = "int";
3745 break;
3746 default:
3747 break;
3748 };
3749 break;
3750 /* ovadvise */
3751 case 72:
3752 switch(ndx) {
3753 case 0:
3754 p = "int";
3755 break;
3756 default:
3757 break;
3758 };
3759 break;
3760 /* munmap */
3761 case 73:
3762 switch(ndx) {
3763 case 0:
3764 p = "void *";
3765 break;
3766 case 1:
3767 p = "size_t";
3768 break;
3769 default:
3770 break;
3771 };
3772 break;
3773 /* freebsd32_mprotect */
3774 case 74:
3775 switch(ndx) {
3776 case 0:
3777 p = "const void *";
3778 break;
3779 case 1:
3780 p = "size_t";
3781 break;
3782 case 2:
3783 p = "int";
3784 break;
3785 default:
3786 break;
3787 };
3788 break;
3789 /* madvise */
3790 case 75:
3791 switch(ndx) {
3792 case 0:
3793 p = "void *";
3794 break;
3795 case 1:
3796 p = "size_t";
3797 break;
3798 case 2:
3799 p = "int";
3800 break;
3801 default:
3802 break;
3803 };
3804 break;
3805 /* mincore */
3806 case 78:
3807 switch(ndx) {
3808 case 0:
3809 p = "const void *";
3810 break;
3811 case 1:
3812 p = "size_t";
3813 break;
3814 case 2:
3815 p = "char *";
3816 break;
3817 default:
3818 break;
3819 };
3820 break;
3821 /* getgroups */
3822 case 79:
3823 switch(ndx) {
3824 case 0:
3825 p = "u_int";
3826 break;
3827 case 1:
3828 p = "gid_t *";
3829 break;
3830 default:
3831 break;
3832 };
3833 break;
3834 /* setgroups */
3835 case 80:
3836 switch(ndx) {
3837 case 0:
3838 p = "u_int";
3839 break;
3840 case 1:
3841 p = "gid_t *";
3842 break;
3843 default:
3844 break;
3845 };
3846 break;
3847 /* getpgrp */
3848 case 81:
3849 break;
3850 /* setpgid */
3851 case 82:
3852 switch(ndx) {
3853 case 0:
3854 p = "int";
3855 break;
3856 case 1:
3857 p = "int";
3858 break;
3859 default:
3860 break;
3861 };
3862 break;
3863 /* freebsd32_setitimer */
3864 case 83:
3865 switch(ndx) {
3866 case 0:
3867 p = "u_int";
3868 break;
3869 case 1:
3870 p = "struct itimerval32 *";
3871 break;
3872 case 2:
3873 p = "struct itimerval32 *";
3874 break;
3875 default:
3876 break;
3877 };
3878 break;
3879 /* swapon */
3880 case 85:
3881 switch(ndx) {
3882 case 0:
3883 p = "char *";
3884 break;
3885 default:
3886 break;
3887 };
3888 break;
3889 /* freebsd32_getitimer */
3890 case 86:
3891 switch(ndx) {
3892 case 0:
3893 p = "u_int";
3894 break;
3895 case 1:
3896 p = "struct itimerval32 *";
3897 break;
3898 default:
3899 break;
3900 };
3901 break;
3902 /* getdtablesize */
3903 case 89:
3904 break;
3905 /* dup2 */
3906 case 90:
3907 switch(ndx) {
3908 case 0:
3909 p = "u_int";
3910 break;
3911 case 1:
3912 p = "u_int";
3913 break;
3914 default:
3915 break;
3916 };
3917 break;
3918 /* fcntl */
3919 case 92:
3920 switch(ndx) {
3921 case 0:
3922 p = "int";
3923 break;
3924 case 1:
3925 p = "int";
3926 break;
3927 case 2:
3928 p = "long";
3929 break;
3930 default:
3931 break;
3932 };
3933 break;
3934 /* freebsd32_select */
3935 case 93:
3936 switch(ndx) {
3937 case 0:
3938 p = "int";
3939 break;
3940 case 1:
3941 p = "fd_set *";
3942 break;
3943 case 2:
3944 p = "fd_set *";
3945 break;
3946 case 3:
3947 p = "fd_set *";
3948 break;
3949 case 4:
3950 p = "struct timeval32 *";
3951 break;
3952 default:
3953 break;
3954 };
3955 break;
3956 /* fsync */
3957 case 95:
3958 switch(ndx) {
3959 case 0:
3960 p = "int";
3961 break;
3962 default:
3963 break;
3964 };
3965 break;
3966 /* setpriority */
3967 case 96:
3968 switch(ndx) {
3969 case 0:
3970 p = "int";
3971 break;
3972 case 1:
3973 p = "int";
3974 break;
3975 case 2:
3976 p = "int";
3977 break;
3978 default:
3979 break;
3980 };
3981 break;
3982 /* socket */
3983 case 97:
3984 switch(ndx) {
3985 case 0:
3986 p = "int";
3987 break;
3988 case 1:
3989 p = "int";
3990 break;
3991 case 2:
3992 p = "int";
3993 break;
3994 default:
3995 break;
3996 };
3997 break;
3998 /* connect */
3999 case 98:
4000 switch(ndx) {
4001 case 0:
4002 p = "int";
4003 break;
4004 case 1:
4005 p = "caddr_t";
4006 break;
4007 case 2:
4008 p = "int";
4009 break;
4010 default:
4011 break;
4012 };
4013 break;
4014 /* getpriority */
4015 case 100:
4016 switch(ndx) {
4017 case 0:
4018 p = "int";
4019 break;
4020 case 1:
4021 p = "int";
4022 break;
4023 default:
4024 break;
4025 };
4026 break;
4027 /* bind */
4028 case 104:
4029 switch(ndx) {
4030 case 0:
4031 p = "int";
4032 break;
4033 case 1:
4034 p = "caddr_t";
4035 break;
4036 case 2:
4037 p = "int";
4038 break;
4039 default:
4040 break;
4041 };
4042 break;
4043 /* setsockopt */
4044 case 105:
4045 switch(ndx) {
4046 case 0:
4047 p = "int";
4048 break;
4049 case 1:
4050 p = "int";
4051 break;
4052 case 2:
4053 p = "int";
4054 break;
4055 case 3:
4056 p = "caddr_t";
4057 break;
4058 case 4:
4059 p = "int";
4060 break;
4061 default:
4062 break;
4063 };
4064 break;
4065 /* listen */
4066 case 106:
4067 switch(ndx) {
4068 case 0:
4069 p = "int";
4070 break;
4071 case 1:
4072 p = "int";
4073 break;
4074 default:
4075 break;
4076 };
4077 break;
4078 /* freebsd32_gettimeofday */
4079 case 116:
4080 switch(ndx) {
4081 case 0:
4082 p = "struct timeval32 *";
4083 break;
4084 case 1:
4085 p = "struct timezone *";
4086 break;
4087 default:
4088 break;
4089 };
4090 break;
4091 /* freebsd32_getrusage */
4092 case 117:
4093 switch(ndx) {
4094 case 0:
4095 p = "int";
4096 break;
4097 case 1:
4098 p = "struct rusage32 *";
4099 break;
4100 default:
4101 break;
4102 };
4103 break;
4104 /* getsockopt */
4105 case 118:
4106 switch(ndx) {
4107 case 0:
4108 p = "int";
4109 break;
4110 case 1:
4111 p = "int";
4112 break;
4113 case 2:
4114 p = "int";
4115 break;
4116 case 3:
4117 p = "caddr_t";
4118 break;
4119 case 4:
4120 p = "int *";
4121 break;
4122 default:
4123 break;
4124 };
4125 break;
4126 /* freebsd32_readv */
4127 case 120:
4128 switch(ndx) {
4129 case 0:
4130 p = "int";
4131 break;
4132 case 1:
4133 p = "struct iovec32 *";
4134 break;
4135 case 2:
4136 p = "u_int";
4137 break;
4138 default:
4139 break;
4140 };
4141 break;
4142 /* freebsd32_writev */
4143 case 121:
4144 switch(ndx) {
4145 case 0:
4146 p = "int";
4147 break;
4148 case 1:
4149 p = "struct iovec32 *";
4150 break;
4151 case 2:
4152 p = "u_int";
4153 break;
4154 default:
4155 break;
4156 };
4157 break;
4158 /* freebsd32_settimeofday */
4159 case 122:
4160 switch(ndx) {
4161 case 0:
4162 p = "struct timeval32 *";
4163 break;
4164 case 1:
4165 p = "struct timezone *";
4166 break;
4167 default:
4168 break;
4169 };
4170 break;
4171 /* fchown */
4172 case 123:
4173 switch(ndx) {
4174 case 0:
4175 p = "int";
4176 break;
4177 case 1:
4178 p = "int";
4179 break;
4180 case 2:
4181 p = "int";
4182 break;
4183 default:
4184 break;
4185 };
4186 break;
4187 /* fchmod */
4188 case 124:
4189 switch(ndx) {
4190 case 0:
4191 p = "int";
4192 break;
4193 case 1:
4194 p = "int";
4195 break;
4196 default:
4197 break;
4198 };
4199 break;
4200 /* setreuid */
4201 case 126:
4202 switch(ndx) {
4203 case 0:
4204 p = "int";
4205 break;
4206 case 1:
4207 p = "int";
4208 break;
4209 default:
4210 break;
4211 };
4212 break;
4213 /* setregid */
4214 case 127:
4215 switch(ndx) {
4216 case 0:
4217 p = "int";
4218 break;
4219 case 1:
4220 p = "int";
4221 break;
4222 default:
4223 break;
4224 };
4225 break;
4226 /* rename */
4227 case 128:
4228 switch(ndx) {
4229 case 0:
4230 p = "char *";
4231 break;
4232 case 1:
4233 p = "char *";
4234 break;
4235 default:
4236 break;
4237 };
4238 break;
4239 /* flock */
4240 case 131:
4241 switch(ndx) {
4242 case 0:
4243 p = "int";
4244 break;
4245 case 1:
4246 p = "int";
4247 break;
4248 default:
4249 break;
4250 };
4251 break;
4252 /* mkfifo */
4253 case 132:
4254 switch(ndx) {
4255 case 0:
4256 p = "char *";
4257 break;
4258 case 1:
4259 p = "int";
4260 break;
4261 default:
4262 break;
4263 };
4264 break;
4265 /* sendto */
4266 case 133:
4267 switch(ndx) {
4268 case 0:
4269 p = "int";
4270 break;
4271 case 1:
4272 p = "caddr_t";
4273 break;
4274 case 2:
4275 p = "size_t";
4276 break;
4277 case 3:
4278 p = "int";
4279 break;
4280 case 4:
4281 p = "caddr_t";
4282 break;
4283 case 5:
4284 p = "int";
4285 break;
4286 default:
4287 break;
4288 };
4289 break;
4290 /* shutdown */
4291 case 134:
4292 switch(ndx) {
4293 case 0:
4294 p = "int";
4295 break;
4296 case 1:
4297 p = "int";
4298 break;
4299 default:
4300 break;
4301 };
4302 break;
4303 /* socketpair */
4304 case 135:
4305 switch(ndx) {
4306 case 0:
4307 p = "int";
4308 break;
4309 case 1:
4310 p = "int";
4311 break;
4312 case 2:
4313 p = "int";
4314 break;
4315 case 3:
4316 p = "int *";
4317 break;
4318 default:
4319 break;
4320 };
4321 break;
4322 /* mkdir */
4323 case 136:
4324 switch(ndx) {
4325 case 0:
4326 p = "char *";
4327 break;
4328 case 1:
4329 p = "int";
4330 break;
4331 default:
4332 break;
4333 };
4334 break;
4335 /* rmdir */
4336 case 137:
4337 switch(ndx) {
4338 case 0:
4339 p = "char *";
4340 break;
4341 default:
4342 break;
4343 };
4344 break;
4345 /* freebsd32_utimes */
4346 case 138:
4347 switch(ndx) {
4348 case 0:
4349 p = "char *";
4350 break;
4351 case 1:
4352 p = "struct timeval32 *";
4353 break;
4354 default:
4355 break;
4356 };
4357 break;
4358 /* freebsd32_adjtime */
4359 case 140:
4360 switch(ndx) {
4361 case 0:
4362 p = "struct timeval32 *";
4363 break;
4364 case 1:
4365 p = "struct timeval32 *";
4366 break;
4367 default:
4368 break;
4369 };
4370 break;
4371 /* setsid */
4372 case 147:
4373 break;
4374 /* quotactl */
4375 case 148:
4376 switch(ndx) {
4377 case 0:
4378 p = "char *";
4379 break;
4380 case 1:
4381 p = "int";
4382 break;
4383 case 2:
4384 p = "int";
4385 break;
4386 case 3:
4387 p = "caddr_t";
4388 break;
4389 default:
4390 break;
4391 };
4392 break;
4393 /* getfh */
4394 case 161:
4395 switch(ndx) {
4396 case 0:
4397 p = "char *";
4398 break;
4399 case 1:
4400 p = "struct fhandle *";
4401 break;
4402 default:
4403 break;
4404 };
4405 break;
4406 /* freebsd32_sysarch */
4407 case 165:
4408 switch(ndx) {
4409 case 0:
4410 p = "int";
4411 break;
4412 case 1:
4413 p = "char *";
4414 break;
4415 default:
4416 break;
4417 };
4418 break;
4419 /* rtprio */
4420 case 166:
4421 switch(ndx) {
4422 case 0:
4423 p = "int";
4424 break;
4425 case 1:
4426 p = "pid_t";
4427 break;
4428 case 2:
4429 p = "struct rtprio *";
4430 break;
4431 default:
4432 break;
4433 };
4434 break;
4435 /* freebsd32_semsys */
4436 case 169:
4437 switch(ndx) {
4438 case 0:
4439 p = "int";
4440 break;
4441 case 1:
4442 p = "int";
4443 break;
4444 case 2:
4445 p = "int";
4446 break;
4447 case 3:
4448 p = "int";
4449 break;
4450 case 4:
4451 p = "int";
4452 break;
4453 default:
4454 break;
4455 };
4456 break;
4457 /* freebsd32_msgsys */
4458 case 170:
4459 switch(ndx) {
4460 case 0:
4461 p = "int";
4462 break;
4463 case 1:
4464 p = "int";
4465 break;
4466 case 2:
4467 p = "int";
4468 break;
4469 case 3:
4470 p = "int";
4471 break;
4472 case 4:
4473 p = "int";
4474 break;
4475 case 5:
4476 p = "int";
4477 break;
4478 default:
4479 break;
4480 };
4481 break;
4482 /* freebsd32_shmsys */
4483 case 171:
4484 switch(ndx) {
4485 case 0:
4486 p = "uint32_t";
4487 break;
4488 case 1:
4489 p = "uint32_t";
4490 break;
4491 case 2:
4492 p = "uint32_t";
4493 break;
4494 case 3:
4495 p = "uint32_t";
4496 break;
4497 default:
4498 break;
4499 };
4500 break;
4501 /* ntp_adjtime */
4502 case 176:
4503 switch(ndx) {
4504 case 0:
4505 p = "struct timex *";
4506 break;
4507 default:
4508 break;
4509 };
4510 break;
4511 /* setgid */
4512 case 181:
4513 switch(ndx) {
4514 case 0:
4515 p = "gid_t";
4516 break;
4517 default:
4518 break;
4519 };
4520 break;
4521 /* setegid */
4522 case 182:
4523 switch(ndx) {
4524 case 0:
4525 p = "gid_t";
4526 break;
4527 default:
4528 break;
4529 };
4530 break;
4531 /* seteuid */
4532 case 183:
4533 switch(ndx) {
4534 case 0:
4535 p = "uid_t";
4536 break;
4537 default:
4538 break;
4539 };
4540 break;
4541 /* freebsd32_stat */
4542 case 188:
4543 switch(ndx) {
4544 case 0:
4545 p = "char *";
4546 break;
4547 case 1:
4548 p = "struct stat32 *";
4549 break;
4550 default:
4551 break;
4552 };
4553 break;
4554 /* freebsd32_fstat */
4555 case 189:
4556 switch(ndx) {
4557 case 0:
4558 p = "int";
4559 break;
4560 case 1:
4561 p = "struct stat32 *";
4562 break;
4563 default:
4564 break;
4565 };
4566 break;
4567 /* freebsd32_lstat */
4568 case 190:
4569 switch(ndx) {
4570 case 0:
4571 p = "char *";
4572 break;
4573 case 1:
4574 p = "struct stat32 *";
4575 break;
4576 default:
4577 break;
4578 };
4579 break;
4580 /* pathconf */
4581 case 191:
4582 switch(ndx) {
4583 case 0:
4584 p = "char *";
4585 break;
4586 case 1:
4587 p = "int";
4588 break;
4589 default:
4590 break;
4591 };
4592 break;
4593 /* fpathconf */
4594 case 192:
4595 switch(ndx) {
4596 case 0:
4597 p = "int";
4598 break;
4599 case 1:
4600 p = "int";
4601 break;
4602 default:
4603 break;
4604 };
4605 break;
4606 /* getrlimit */
4607 case 194:
4608 switch(ndx) {
4609 case 0:
4610 p = "u_int";
4611 break;
4612 case 1:
4613 p = "struct rlimit *";
4614 break;
4615 default:
4616 break;
4617 };
4618 break;
4619 /* setrlimit */
4620 case 195:
4621 switch(ndx) {
4622 case 0:
4623 p = "u_int";
4624 break;
4625 case 1:
4626 p = "struct rlimit *";
4627 break;
4628 default:
4629 break;
4630 };
4631 break;
4632 /* freebsd32_getdirentries */
4633 case 196:
4634 switch(ndx) {
4635 case 0:
4636 p = "int";
4637 break;
4638 case 1:
4639 p = "char *";
4640 break;
4641 case 2:
4642 p = "u_int";
4643 break;
4644 case 3:
4645 p = "int32_t *";
4646 break;
4647 default:
4648 break;
4649 };
4650 break;
4651 /* nosys */
4652 case 198:
4653 break;
4654 /* freebsd32_sysctl */
4655 case 202:
4656 switch(ndx) {
4657 case 0:
4658 p = "int *";
4659 break;
4660 case 1:
4661 p = "u_int";
4662 break;
4663 case 2:
4664 p = "void *";
4665 break;
4666 case 3:
4667 p = "uint32_t *";
4668 break;
4669 case 4:
4670 p = "void *";
4671 break;
4672 case 5:
4673 p = "uint32_t";
4674 break;
4675 default:
4676 break;
4677 };
4678 break;
4679 /* mlock */
4680 case 203:
4681 switch(ndx) {
4682 case 0:
4683 p = "const void *";
4684 break;
4685 case 1:
4686 p = "size_t";
4687 break;
4688 default:
4689 break;
4690 };
4691 break;
4692 /* munlock */
4693 case 204:
4694 switch(ndx) {
4695 case 0:
4696 p = "const void *";
4697 break;
4698 case 1:
4699 p = "size_t";
4700 break;
4701 default:
4702 break;
4703 };
4704 break;
4705 /* undelete */
4706 case 205:
4707 switch(ndx) {
4708 case 0:
4709 p = "char *";
4710 break;
4711 default:
4712 break;
4713 };
4714 break;
4715 /* freebsd32_futimes */
4716 case 206:
4717 switch(ndx) {
4718 case 0:
4719 p = "int";
4720 break;
4721 case 1:
4722 p = "struct timeval32 *";
4723 break;
4724 default:
4725 break;
4726 };
4727 break;
4728 /* getpgid */
4729 case 207:
4730 switch(ndx) {
4731 case 0:
4732 p = "pid_t";
4733 break;
4734 default:
4735 break;
4736 };
4737 break;
4738 /* poll */
4739 case 209:
4740 switch(ndx) {
4741 case 0:
4742 p = "struct pollfd *";
4743 break;
4744 case 1:
4745 p = "u_int";
4746 break;
4747 case 2:
4748 p = "int";
4749 break;
4750 default:
4751 break;
4752 };
4753 break;
4754 /* lkmnosys */
4755 case 210:
4756 break;
4757 /* lkmnosys */
4758 case 211:
4759 break;
4760 /* lkmnosys */
4761 case 212:
4762 break;
4763 /* lkmnosys */
4764 case 213:
4765 break;
4766 /* lkmnosys */
4767 case 214:
4768 break;
4769 /* lkmnosys */
4770 case 215:
4771 break;
4772 /* lkmnosys */
4773 case 216:
4774 break;
4775 /* lkmnosys */
4776 case 217:
4777 break;
4778 /* lkmnosys */
4779 case 218:
4780 break;
4781 /* lkmnosys */
4782 case 219:
4783 break;
4784 /* semget */
4785 case 221:
4786 switch(ndx) {
4787 case 0:
4788 p = "key_t";
4789 break;
4790 case 1:
4791 p = "int";
4792 break;
4793 case 2:
4794 p = "int";
4795 break;
4796 default:
4797 break;
4798 };
4799 break;
4800 /* semop */
4801 case 222:
4802 switch(ndx) {
4803 case 0:
4804 p = "int";
4805 break;
4806 case 1:
4807 p = "struct sembuf *";
4808 break;
4809 case 2:
4810 p = "u_int";
4811 break;
4812 default:
4813 break;
4814 };
4815 break;
4816 /* msgget */
4817 case 225:
4818 switch(ndx) {
4819 case 0:
4820 p = "key_t";
4821 break;
4822 case 1:
4823 p = "int";
4824 break;
4825 default:
4826 break;
4827 };
4828 break;
4829 /* freebsd32_msgsnd */
4830 case 226:
4831 switch(ndx) {
4832 case 0:
4833 p = "int";
4834 break;
4835 case 1:
4836 p = "void *";
4837 break;
4838 case 2:
4839 p = "size_t";
4840 break;
4841 case 3:
4842 p = "int";
4843 break;
4844 default:
4845 break;
4846 };
4847 break;
4848 /* freebsd32_msgrcv */
4849 case 227:
4850 switch(ndx) {
4851 case 0:
4852 p = "int";
4853 break;
4854 case 1:
4855 p = "void *";
4856 break;
4857 case 2:
4858 p = "size_t";
4859 break;
4860 case 3:
4861 p = "long";
4862 break;
4863 case 4:
4864 p = "int";
4865 break;
4866 default:
4867 break;
4868 };
4869 break;
4870 /* shmat */
4871 case 228:
4872 switch(ndx) {
4873 case 0:
4874 p = "int";
4875 break;
4876 case 1:
4877 p = "void *";
4878 break;
4879 case 2:
4880 p = "int";
4881 break;
4882 default:
4883 break;
4884 };
4885 break;
4886 /* shmdt */
4887 case 230:
4888 switch(ndx) {
4889 case 0:
4890 p = "void *";
4891 break;
4892 default:
4893 break;
4894 };
4895 break;
4896 /* shmget */
4897 case 231:
4898 switch(ndx) {
4899 case 0:
4900 p = "key_t";
4901 break;
4902 case 1:
4903 p = "int";
4904 break;
4905 case 2:
4906 p = "int";
4907 break;
4908 default:
4909 break;
4910 };
4911 break;
4912 /* freebsd32_clock_gettime */
4913 case 232:
4914 switch(ndx) {
4915 case 0:
4916 p = "clockid_t";
4917 break;
4918 case 1:
4919 p = "struct timespec32 *";
4920 break;
4921 default:
4922 break;
4923 };
4924 break;
4925 /* freebsd32_clock_settime */
4926 case 233:
4927 switch(ndx) {
4928 case 0:
4929 p = "clockid_t";
4930 break;
4931 case 1:
4932 p = "const struct timespec32 *";
4933 break;
4934 default:
4935 break;
4936 };
4937 break;
4938 /* freebsd32_clock_getres */
4939 case 234:
4940 switch(ndx) {
4941 case 0:
4942 p = "clockid_t";
4943 break;
4944 case 1:
4945 p = "struct timespec32 *";
4946 break;
4947 default:
4948 break;
4949 };
4950 break;
4951 /* freebsd32_nanosleep */
4952 case 240:
4953 switch(ndx) {
4954 case 0:
4955 p = "const struct timespec32 *";
4956 break;
4957 case 1:
4958 p = "struct timespec32 *";
4959 break;
4960 default:
4961 break;
4962 };
4963 break;
4964 /* ffclock_getcounter */
4965 case 241:
4966 switch(ndx) {
4967 case 0:
4968 p = "ffcounter *";
4969 break;
4970 default:
4971 break;
4972 };
4973 break;
4974 /* ffclock_setestimate */
4975 case 242:
4976 switch(ndx) {
4977 case 0:
4978 p = "struct ffclock_estimate *";
4979 break;
4980 default:
4981 break;
4982 };
4983 break;
4984 /* ffclock_getestimate */
4985 case 243:
4986 switch(ndx) {
4987 case 0:
4988 p = "struct ffclock_estimate *";
4989 break;
4990 default:
4991 break;
4992 };
4993 break;
4994 /* minherit */
4995 case 250:
4996 switch(ndx) {
4997 case 0:
4998 p = "void *";
4999 break;
5000 case 1:
5001 p = "size_t";
5002 break;
5003 case 2:
5004 p = "int";
5005 break;
5006 default:
5007 break;
5008 };
5009 break;
5010 /* rfork */
5011 case 251:
5012 switch(ndx) {
5013 case 0:
5014 p = "int";
5015 break;
5016 default:
5017 break;
5018 };
5019 break;
5020 /* openbsd_poll */
5021 case 252:
5022 switch(ndx) {
5023 case 0:
5024 p = "struct pollfd *";
5025 break;
5026 case 1:
5027 p = "u_int";
5028 break;
5029 case 2:
5030 p = "int";
5031 break;
5032 default:
5033 break;
5034 };
5035 break;
5036 /* issetugid */
5037 case 253:
5038 break;
5039 /* lchown */
5040 case 254:
5041 switch(ndx) {
5042 case 0:
5043 p = "char *";
5044 break;
5045 case 1:
5046 p = "int";
5047 break;
5048 case 2:
5049 p = "int";
5050 break;
5051 default:
5052 break;
5053 };
5054 break;
5055 /* freebsd32_aio_read */
5056 case 255:
5057 switch(ndx) {
5058 case 0:
5059 p = "struct aiocb32 *";
5060 break;
5061 default:
5062 break;
5063 };
5064 break;
5065 /* freebsd32_aio_write */
5066 case 256:
5067 switch(ndx) {
5068 case 0:
5069 p = "struct aiocb32 *";
5070 break;
5071 default:
5072 break;
5073 };
5074 break;
5075 /* freebsd32_lio_listio */
5076 case 257:
5077 switch(ndx) {
5078 case 0:
5079 p = "int";
5080 break;
5081 case 1:
5082 p = "struct aiocb32 *const *";
5083 break;
5084 case 2:
5085 p = "int";
5086 break;
5087 case 3:
5088 p = "struct sigevent *";
5089 break;
5090 default:
5091 break;
5092 };
5093 break;
5094 /* getdents */
5095 case 272:
5096 switch(ndx) {
5097 case 0:
5098 p = "int";
5099 break;
5100 case 1:
5101 p = "char *";
5102 break;
5103 case 2:
5104 p = "size_t";
5105 break;
5106 default:
5107 break;
5108 };
5109 break;
5110 /* lchmod */
5111 case 274:
5112 switch(ndx) {
5113 case 0:
5114 p = "char *";
5115 break;
5116 case 1:
5117 p = "mode_t";
5118 break;
5119 default:
5120 break;
5121 };
5122 break;
5123 /* lchown */
5124 case 275:
5125 switch(ndx) {
5126 case 0:
5127 p = "char *";
5128 break;
5129 case 1:
5130 p = "uid_t";
5131 break;
5132 case 2:
5133 p = "gid_t";
5134 break;
5135 default:
5136 break;
5137 };
5138 break;
5139 /* freebsd32_lutimes */
5140 case 276:
5141 switch(ndx) {
5142 case 0:
5143 p = "char *";
5144 break;
5145 case 1:
5146 p = "struct timeval32 *";
5147 break;
5148 default:
5149 break;
5150 };
5151 break;
5152 /* msync */
5153 case 277:
5154 switch(ndx) {
5155 case 0:
5156 p = "void *";
5157 break;
5158 case 1:
5159 p = "size_t";
5160 break;
5161 case 2:
5162 p = "int";
5163 break;
5164 default:
5165 break;
5166 };
5167 break;
5168 /* nstat */
5169 case 278:
5170 switch(ndx) {
5171 case 0:
5172 p = "char *";
5173 break;
5174 case 1:
5175 p = "struct nstat *";
5176 break;
5177 default:
5178 break;
5179 };
5180 break;
5181 /* nfstat */
5182 case 279:
5183 switch(ndx) {
5184 case 0:
5185 p = "int";
5186 break;
5187 case 1:
5188 p = "struct nstat *";
5189 break;
5190 default:
5191 break;
5192 };
5193 break;
5194 /* nlstat */
5195 case 280:
5196 switch(ndx) {
5197 case 0:
5198 p = "char *";
5199 break;
5200 case 1:
5201 p = "struct nstat *";
5202 break;
5203 default:
5204 break;
5205 };
5206 break;
5207 /* freebsd32_preadv */
5208 case 289:
5209 switch(ndx) {
5210 case 0:
5211 p = "int";
5212 break;
5213 case 1:
5214 p = "struct iovec32 *";
5215 break;
5216 case 2:
5217 p = "u_int";
5218 break;
5219 case 3:
5220 p = "uint32_t";
5221 break;
5222 case 4:
5223 p = "uint32_t";
5224 break;
5225 default:
5226 break;
5227 };
5228 break;
5229 /* freebsd32_pwritev */
5230 case 290:
5231 switch(ndx) {
5232 case 0:
5233 p = "int";
5234 break;
5235 case 1:
5236 p = "struct iovec32 *";
5237 break;
5238 case 2:
5239 p = "u_int";
5240 break;
5241 case 3:
5242 p = "uint32_t";
5243 break;
5244 case 4:
5245 p = "uint32_t";
5246 break;
5247 default:
5248 break;
5249 };
5250 break;
5251 /* fhopen */
5252 case 298:
5253 switch(ndx) {
5254 case 0:
5255 p = "const struct fhandle *";
5256 break;
5257 case 1:
5258 p = "int";
5259 break;
5260 default:
5261 break;
5262 };
5263 break;
5264 /* fhstat */
5265 case 299:
5266 switch(ndx) {
5267 case 0:
5268 p = "const struct fhandle *";
5269 break;
5270 case 1:
5271 p = "struct stat *";
5272 break;
5273 default:
5274 break;
5275 };
5276 break;
5277 /* modnext */
5278 case 300:
5279 switch(ndx) {
5280 case 0:
5281 p = "int";
5282 break;
5283 default:
5284 break;
5285 };
5286 break;
5287 /* freebsd32_modstat */
5288 case 301:
5289 switch(ndx) {
5290 case 0:
5291 p = "int";
5292 break;
5293 case 1:
5294 p = "struct module_stat32 *";
5295 break;
5296 default:
5297 break;
5298 };
5299 break;
5300 /* modfnext */
5301 case 302:
5302 switch(ndx) {
5303 case 0:
5304 p = "int";
5305 break;
5306 default:
5307 break;
5308 };
5309 break;
5310 /* modfind */
5311 case 303:
5312 switch(ndx) {
5313 case 0:
5314 p = "const char *";
5315 break;
5316 default:
5317 break;
5318 };
5319 break;
5320 /* kldload */
5321 case 304:
5322 switch(ndx) {
5323 case 0:
5324 p = "const char *";
5325 break;
5326 default:
5327 break;
5328 };
5329 break;
5330 /* kldunload */
5331 case 305:
5332 switch(ndx) {
5333 case 0:
5334 p = "int";
5335 break;
5336 default:
5337 break;
5338 };
5339 break;
5340 /* kldfind */
5341 case 306:
5342 switch(ndx) {
5343 case 0:
5344 p = "const char *";
5345 break;
5346 default:
5347 break;
5348 };
5349 break;
5350 /* kldnext */
5351 case 307:
5352 switch(ndx) {
5353 case 0:
5354 p = "int";
5355 break;
5356 default:
5357 break;
5358 };
5359 break;
5360 /* freebsd32_kldstat */
5361 case 308:
5362 switch(ndx) {
5363 case 0:
5364 p = "int";
5365 break;
5366 case 1:
5367 p = "struct kld32_file_stat *";
5368 break;
5369 default:
5370 break;
5371 };
5372 break;
5373 /* kldfirstmod */
5374 case 309:
5375 switch(ndx) {
5376 case 0:
5377 p = "int";
5378 break;
5379 default:
5380 break;
5381 };
5382 break;
5383 /* getsid */
5384 case 310:
5385 switch(ndx) {
5386 case 0:
5387 p = "pid_t";
5388 break;
5389 default:
5390 break;
5391 };
5392 break;
5393 /* setresuid */
5394 case 311:
5395 switch(ndx) {
5396 case 0:
5397 p = "uid_t";
5398 break;
5399 case 1:
5400 p = "uid_t";
5401 break;
5402 case 2:
5403 p = "uid_t";
5404 break;
5405 default:
5406 break;
5407 };
5408 break;
5409 /* setresgid */
5410 case 312:
5411 switch(ndx) {
5412 case 0:
5413 p = "gid_t";
5414 break;
5415 case 1:
5416 p = "gid_t";
5417 break;
5418 case 2:
5419 p = "gid_t";
5420 break;
5421 default:
5422 break;
5423 };
5424 break;
5425 /* freebsd32_aio_return */
5426 case 314:
5427 switch(ndx) {
5428 case 0:
5429 p = "struct aiocb32 *";
5430 break;
5431 default:
5432 break;
5433 };
5434 break;
5435 /* freebsd32_aio_suspend */
5436 case 315:
5437 switch(ndx) {
5438 case 0:
5439 p = "struct aiocb32 *const *";
5440 break;
5441 case 1:
5442 p = "int";
5443 break;
5444 case 2:
5445 p = "const struct timespec32 *";
5446 break;
5447 default:
5448 break;
5449 };
5450 break;
5451 /* freebsd32_aio_cancel */
5452 case 316:
5453 switch(ndx) {
5454 case 0:
5455 p = "int";
5456 break;
5457 case 1:
5458 p = "struct aiocb32 *";
5459 break;
5460 default:
5461 break;
5462 };
5463 break;
5464 /* freebsd32_aio_error */
5465 case 317:
5466 switch(ndx) {
5467 case 0:
5468 p = "struct aiocb32 *";
5469 break;
5470 default:
5471 break;
5472 };
5473 break;
5474 /* freebsd32_oaio_read */
5475 case 318:
5476 switch(ndx) {
5477 case 0:
5478 p = "struct oaiocb32 *";
5479 break;
5480 default:
5481 break;
5482 };
5483 break;
5484 /* freebsd32_oaio_write */
5485 case 319:
5486 switch(ndx) {
5487 case 0:
5488 p = "struct oaiocb32 *";
5489 break;
5490 default:
5491 break;
5492 };
5493 break;
5494 /* freebsd32_olio_listio */
5495 case 320:
5496 switch(ndx) {
5497 case 0:
5498 p = "int";
5499 break;
5500 case 1:
5501 p = "struct oaiocb32 *const *";
5502 break;
5503 case 2:
5504 p = "int";
5505 break;
5506 case 3:
5507 p = "struct osigevent32 *";
5508 break;
5509 default:
5510 break;
5511 };
5512 break;
5513 /* yield */
5514 case 321:
5515 break;
5516 /* mlockall */
5517 case 324:
5518 switch(ndx) {
5519 case 0:
5520 p = "int";
5521 break;
5522 default:
5523 break;
5524 };
5525 break;
5526 /* munlockall */
5527 case 325:
5528 break;
5529 /* __getcwd */
5530 case 326:
5531 switch(ndx) {
5532 case 0:
5533 p = "u_char *";
5534 break;
5535 case 1:
5536 p = "u_int";
5537 break;
5538 default:
5539 break;
5540 };
5541 break;
5542 /* sched_setparam */
5543 case 327:
5544 switch(ndx) {
5545 case 0:
5546 p = "pid_t";
5547 break;
5548 case 1:
5549 p = "const struct sched_param *";
5550 break;
5551 default:
5552 break;
5553 };
5554 break;
5555 /* sched_getparam */
5556 case 328:
5557 switch(ndx) {
5558 case 0:
5559 p = "pid_t";
5560 break;
5561 case 1:
5562 p = "struct sched_param *";
5563 break;
5564 default:
5565 break;
5566 };
5567 break;
5568 /* sched_setscheduler */
5569 case 329:
5570 switch(ndx) {
5571 case 0:
5572 p = "pid_t";
5573 break;
5574 case 1:
5575 p = "int";
5576 break;
5577 case 2:
5578 p = "const struct sched_param *";
5579 break;
5580 default:
5581 break;
5582 };
5583 break;
5584 /* sched_getscheduler */
5585 case 330:
5586 switch(ndx) {
5587 case 0:
5588 p = "pid_t";
5589 break;
5590 default:
5591 break;
5592 };
5593 break;
5594 /* sched_yield */
5595 case 331:
5596 break;
5597 /* sched_get_priority_max */
5598 case 332:
5599 switch(ndx) {
5600 case 0:
5601 p = "int";
5602 break;
5603 default:
5604 break;
5605 };
5606 break;
5607 /* sched_get_priority_min */
5608 case 333:
5609 switch(ndx) {
5610 case 0:
5611 p = "int";
5612 break;
5613 default:
5614 break;
5615 };
5616 break;
5617 /* sched_rr_get_interval */
5618 case 334:
5619 switch(ndx) {
5620 case 0:
5621 p = "pid_t";
5622 break;
5623 case 1:
5624 p = "struct timespec *";
5625 break;
5626 default:
5627 break;
5628 };
5629 break;
5630 /* utrace */
5631 case 335:
5632 switch(ndx) {
5633 case 0:
5634 p = "const void *";
5635 break;
5636 case 1:
5637 p = "size_t";
5638 break;
5639 default:
5640 break;
5641 };
5642 break;
5643 /* kldsym */
5644 case 337:
5645 switch(ndx) {
5646 case 0:
5647 p = "int";
5648 break;
5649 case 1:
5650 p = "int";
5651 break;
5652 case 2:
5653 p = "void *";
5654 break;
5655 default:
5656 break;
5657 };
5658 break;
5659 /* freebsd32_jail */
5660 case 338:
5661 switch(ndx) {
5662 case 0:
5663 p = "struct jail32 *";
5664 break;
5665 default:
5666 break;
5667 };
5668 break;
5669 /* sigprocmask */
5670 case 340:
5671 switch(ndx) {
5672 case 0:
5673 p = "int";
5674 break;
5675 case 1:
5676 p = "const sigset_t *";
5677 break;
5678 case 2:
5679 p = "sigset_t *";
5680 break;
5681 default:
5682 break;
5683 };
5684 break;
5685 /* sigsuspend */
5686 case 341:
5687 switch(ndx) {
5688 case 0:
5689 p = "const sigset_t *";
5690 break;
5691 default:
5692 break;
5693 };
5694 break;
5695 /* sigpending */
5696 case 343:
5697 switch(ndx) {
5698 case 0:
5699 p = "sigset_t *";
5700 break;
5701 default:
5702 break;
5703 };
5704 break;
5705 /* freebsd32_sigtimedwait */
5706 case 345:
5707 switch(ndx) {
5708 case 0:
5709 p = "const sigset_t *";
5710 break;
5711 case 1:
5712 p = "siginfo_t *";
5713 break;
5714 case 2:
5715 p = "const struct timespec *";
5716 break;
5717 default:
5718 break;
5719 };
5720 break;
5721 /* freebsd32_sigwaitinfo */
5722 case 346:
5723 switch(ndx) {
5724 case 0:
5725 p = "const sigset_t *";
5726 break;
5727 case 1:
5728 p = "siginfo_t *";
5729 break;
5730 default:
5731 break;
5732 };
5733 break;
5734 /* __acl_get_file */
5735 case 347:
5736 switch(ndx) {
5737 case 0:
5738 p = "const char *";
5739 break;
5740 case 1:
5741 p = "acl_type_t";
5742 break;
5743 case 2:
5744 p = "struct acl *";
5745 break;
5746 default:
5747 break;
5748 };
5749 break;
5750 /* __acl_set_file */
5751 case 348:
5752 switch(ndx) {
5753 case 0:
5754 p = "const char *";
5755 break;
5756 case 1:
5757 p = "acl_type_t";
5758 break;
5759 case 2:
5760 p = "struct acl *";
5761 break;
5762 default:
5763 break;
5764 };
5765 break;
5766 /* __acl_get_fd */
5767 case 349:
5768 switch(ndx) {
5769 case 0:
5770 p = "int";
5771 break;
5772 case 1:
5773 p = "acl_type_t";
5774 break;
5775 case 2:
5776 p = "struct acl *";
5777 break;
5778 default:
5779 break;
5780 };
5781 break;
5782 /* __acl_set_fd */
5783 case 350:
5784 switch(ndx) {
5785 case 0:
5786 p = "int";
5787 break;
5788 case 1:
5789 p = "acl_type_t";
5790 break;
5791 case 2:
5792 p = "struct acl *";
5793 break;
5794 default:
5795 break;
5796 };
5797 break;
5798 /* __acl_delete_file */
5799 case 351:
5800 switch(ndx) {
5801 case 0:
5802 p = "const char *";
5803 break;
5804 case 1:
5805 p = "acl_type_t";
5806 break;
5807 default:
5808 break;
5809 };
5810 break;
5811 /* __acl_delete_fd */
5812 case 352:
5813 switch(ndx) {
5814 case 0:
5815 p = "int";
5816 break;
5817 case 1:
5818 p = "acl_type_t";
5819 break;
5820 default:
5821 break;
5822 };
5823 break;
5824 /* __acl_aclcheck_file */
5825 case 353:
5826 switch(ndx) {
5827 case 0:
5828 p = "const char *";
5829 break;
5830 case 1:
5831 p = "acl_type_t";
5832 break;
5833 case 2:
5834 p = "struct acl *";
5835 break;
5836 default:
5837 break;
5838 };
5839 break;
5840 /* __acl_aclcheck_fd */
5841 case 354:
5842 switch(ndx) {
5843 case 0:
5844 p = "int";
5845 break;
5846 case 1:
5847 p = "acl_type_t";
5848 break;
5849 case 2:
5850 p = "struct acl *";
5851 break;
5852 default:
5853 break;
5854 };
5855 break;
5856 /* extattrctl */
5857 case 355:
5858 switch(ndx) {
5859 case 0:
5860 p = "const char *";
5861 break;
5862 case 1:
5863 p = "int";
5864 break;
5865 case 2:
5866 p = "const char *";
5867 break;
5868 case 3:
5869 p = "int";
5870 break;
5871 case 4:
5872 p = "const char *";
5873 break;
5874 default:
5875 break;
5876 };
5877 break;
5878 /* extattr_set_file */
5879 case 356:
5880 switch(ndx) {
5881 case 0:
5882 p = "const char *";
5883 break;
5884 case 1:
5885 p = "int";
5886 break;
5887 case 2:
5888 p = "const char *";
5889 break;
5890 case 3:
5891 p = "void *";
5892 break;
5893 case 4:
5894 p = "size_t";
5895 break;
5896 default:
5897 break;
5898 };
5899 break;
5900 /* extattr_get_file */
5901 case 357:
5902 switch(ndx) {
5903 case 0:
5904 p = "const char *";
5905 break;
5906 case 1:
5907 p = "int";
5908 break;
5909 case 2:
5910 p = "const char *";
5911 break;
5912 case 3:
5913 p = "void *";
5914 break;
5915 case 4:
5916 p = "size_t";
5917 break;
5918 default:
5919 break;
5920 };
5921 break;
5922 /* extattr_delete_file */
5923 case 358:
5924 switch(ndx) {
5925 case 0:
5926 p = "const char *";
5927 break;
5928 case 1:
5929 p = "int";
5930 break;
5931 case 2:
5932 p = "const char *";
5933 break;
5934 default:
5935 break;
5936 };
5937 break;
5938 /* freebsd32_aio_waitcomplete */
5939 case 359:
5940 switch(ndx) {
5941 case 0:
5942 p = "struct aiocb32 **";
5943 break;
5944 case 1:
5945 p = "struct timespec32 *";
5946 break;
5947 default:
5948 break;
5949 };
5950 break;
5951 /* getresuid */
5952 case 360:
5953 switch(ndx) {
5954 case 0:
5955 p = "uid_t *";
5956 break;
5957 case 1:
5958 p = "uid_t *";
5959 break;
5960 case 2:
5961 p = "uid_t *";
5962 break;
5963 default:
5964 break;
5965 };
5966 break;
5967 /* getresgid */
5968 case 361:
5969 switch(ndx) {
5970 case 0:
5971 p = "gid_t *";
5972 break;
5973 case 1:
5974 p = "gid_t *";
5975 break;
5976 case 2:
5977 p = "gid_t *";
5978 break;
5979 default:
5980 break;
5981 };
5982 break;
5983 /* kqueue */
5984 case 362:
5985 break;
5986 /* freebsd32_kevent */
5987 case 363:
5988 switch(ndx) {
5989 case 0:
5990 p = "int";
5991 break;
5992 case 1:
5993 p = "const struct kevent32 *";
5994 break;
5995 case 2:
5996 p = "int";
5997 break;
5998 case 3:
5999 p = "struct kevent32 *";
6000 break;
6001 case 4:
6002 p = "int";
6003 break;
6004 case 5:
6005 p = "const struct timespec32 *";
6006 break;
6007 default:
6008 break;
6009 };
6010 break;
6011 /* extattr_set_fd */
6012 case 371:
6013 switch(ndx) {
6014 case 0:
6015 p = "int";
6016 break;
6017 case 1:
6018 p = "int";
6019 break;
6020 case 2:
6021 p = "const char *";
6022 break;
6023 case 3:
6024 p = "void *";
6025 break;
6026 case 4:
6027 p = "size_t";
6028 break;
6029 default:
6030 break;
6031 };
6032 break;
6033 /* extattr_get_fd */
6034 case 372:
6035 switch(ndx) {
6036 case 0:
6037 p = "int";
6038 break;
6039 case 1:
6040 p = "int";
6041 break;
6042 case 2:
6043 p = "const char *";
6044 break;
6045 case 3:
6046 p = "void *";
6047 break;
6048 case 4:
6049 p = "size_t";
6050 break;
6051 default:
6052 break;
6053 };
6054 break;
6055 /* extattr_delete_fd */
6056 case 373:
6057 switch(ndx) {
6058 case 0:
6059 p = "int";
6060 break;
6061 case 1:
6062 p = "int";
6063 break;
6064 case 2:
6065 p = "const char *";
6066 break;
6067 default:
6068 break;
6069 };
6070 break;
6071 /* __setugid */
6072 case 374:
6073 switch(ndx) {
6074 case 0:
6075 p = "int";
6076 break;
6077 default:
6078 break;
6079 };
6080 break;
6081 /* eaccess */
6082 case 376:
6083 switch(ndx) {
6084 case 0:
6085 p = "char *";
6086 break;
6087 case 1:
6088 p = "int";
6089 break;
6090 default:
6091 break;
6092 };
6093 break;
6094 /* freebsd32_nmount */
6095 case 378:
6096 switch(ndx) {
6097 case 0:
6098 p = "struct iovec32 *";
6099 break;
6100 case 1:
6101 p = "unsigned int";
6102 break;
6103 case 2:
6104 p = "int";
6105 break;
6106 default:
6107 break;
6108 };
6109 break;
6110 /* kenv */
6111 case 390:
6112 switch(ndx) {
6113 case 0:
6114 p = "int";
6115 break;
6116 case 1:
6117 p = "const char *";
6118 break;
6119 case 2:
6120 p = "char *";
6121 break;
6122 case 3:
6123 p = "int";
6124 break;
6125 default:
6126 break;
6127 };
6128 break;
6129 /* lchflags */
6130 case 391:
6131 switch(ndx) {
6132 case 0:
6133 p = "const char *";
6134 break;
6135 case 1:
6136 p = "int";
6137 break;
6138 default:
6139 break;
6140 };
6141 break;
6142 /* uuidgen */
6143 case 392:
6144 switch(ndx) {
6145 case 0:
6146 p = "struct uuid *";
6147 break;
6148 case 1:
6149 p = "int";
6150 break;
6151 default:
6152 break;
6153 };
6154 break;
6155 /* freebsd32_sendfile */
6156 case 393:
6157 switch(ndx) {
6158 case 0:
6159 p = "int";
6160 break;
6161 case 1:
6162 p = "int";
6163 break;
6164 case 2:
6165 p = "uint32_t";
6166 break;
6167 case 3:
6168 p = "uint32_t";
6169 break;
6170 case 4:
6171 p = "size_t";
6172 break;
6173 case 5:
6174 p = "struct sf_hdtr32 *";
6175 break;
6176 case 6:
6177 p = "off_t *";
6178 break;
6179 case 7:
6180 p = "int";
6181 break;
6182 default:
6183 break;
6184 };
6185 break;
6186 /* getfsstat */
6187 case 395:
6188 switch(ndx) {
6189 case 0:
6190 p = "struct statfs *";
6191 break;
6192 case 1:
6193 p = "long";
6194 break;
6195 case 2:
6196 p = "int";
6197 break;
6198 default:
6199 break;
6200 };
6201 break;
6202 /* statfs */
6203 case 396:
6204 switch(ndx) {
6205 case 0:
6206 p = "char *";
6207 break;
6208 case 1:
6209 p = "struct statfs *";
6210 break;
6211 default:
6212 break;
6213 };
6214 break;
6215 /* fstatfs */
6216 case 397:
6217 switch(ndx) {
6218 case 0:
6219 p = "int";
6220 break;
6221 case 1:
6222 p = "struct statfs *";
6223 break;
6224 default:
6225 break;
6226 };
6227 break;
6228 /* fhstatfs */
6229 case 398:
6230 switch(ndx) {
6231 case 0:
6232 p = "const struct fhandle *";
6233 break;
6234 case 1:
6235 p = "struct statfs *";
6236 break;
6237 default:
6238 break;
6239 };
6240 break;
6241 /* ksem_close */
6242 case 400:
6243 switch(ndx) {
6244 case 0:
6245 p = "semid_t";
6246 break;
6247 default:
6248 break;
6249 };
6250 break;
6251 /* ksem_post */
6252 case 401:
6253 switch(ndx) {
6254 case 0:
6255 p = "semid_t";
6256 break;
6257 default:
6258 break;
6259 };
6260 break;
6261 /* ksem_wait */
6262 case 402:
6263 switch(ndx) {
6264 case 0:
6265 p = "semid_t";
6266 break;
6267 default:
6268 break;
6269 };
6270 break;
6271 /* ksem_trywait */
6272 case 403:
6273 switch(ndx) {
6274 case 0:
6275 p = "semid_t";
6276 break;
6277 default:
6278 break;
6279 };
6280 break;
6281 /* freebsd32_ksem_init */
6282 case 404:
6283 switch(ndx) {
6284 case 0:
6285 p = "semid_t *";
6286 break;
6287 case 1:
6288 p = "unsigned int";
6289 break;
6290 default:
6291 break;
6292 };
6293 break;
6294 /* freebsd32_ksem_open */
6295 case 405:
6296 switch(ndx) {
6297 case 0:
6298 p = "semid_t *";
6299 break;
6300 case 1:
6301 p = "const char *";
6302 break;
6303 case 2:
6304 p = "int";
6305 break;
6306 case 3:
6307 p = "mode_t";
6308 break;
6309 case 4:
6310 p = "unsigned int";
6311 break;
6312 default:
6313 break;
6314 };
6315 break;
6316 /* ksem_unlink */
6317 case 406:
6318 switch(ndx) {
6319 case 0:
6320 p = "const char *";
6321 break;
6322 default:
6323 break;
6324 };
6325 break;
6326 /* ksem_getvalue */
6327 case 407:
6328 switch(ndx) {
6329 case 0:
6330 p = "semid_t";
6331 break;
6332 case 1:
6333 p = "int *";
6334 break;
6335 default:
6336 break;
6337 };
6338 break;
6339 /* ksem_destroy */
6340 case 408:
6341 switch(ndx) {
6342 case 0:
6343 p = "semid_t";
6344 break;
6345 default:
6346 break;
6347 };
6348 break;
6349 /* extattr_set_link */
6350 case 412:
6351 switch(ndx) {
6352 case 0:
6353 p = "const char *";
6354 break;
6355 case 1:
6356 p = "int";
6357 break;
6358 case 2:
6359 p = "const char *";
6360 break;
6361 case 3:
6362 p = "void *";
6363 break;
6364 case 4:
6365 p = "size_t";
6366 break;
6367 default:
6368 break;
6369 };
6370 break;
6371 /* extattr_get_link */
6372 case 413:
6373 switch(ndx) {
6374 case 0:
6375 p = "const char *";
6376 break;
6377 case 1:
6378 p = "int";
6379 break;
6380 case 2:
6381 p = "const char *";
6382 break;
6383 case 3:
6384 p = "void *";
6385 break;
6386 case 4:
6387 p = "size_t";
6388 break;
6389 default:
6390 break;
6391 };
6392 break;
6393 /* extattr_delete_link */
6394 case 414:
6395 switch(ndx) {
6396 case 0:
6397 p = "const char *";
6398 break;
6399 case 1:
6400 p = "int";
6401 break;
6402 case 2:
6403 p = "const char *";
6404 break;
6405 default:
6406 break;
6407 };
6408 break;
6409 /* freebsd32_sigaction */
6410 case 416:
6411 switch(ndx) {
6412 case 0:
6413 p = "int";
6414 break;
6415 case 1:
6416 p = "struct sigaction32 *";
6417 break;
6418 case 2:
6419 p = "struct sigaction32 *";
6420 break;
6421 default:
6422 break;
6423 };
6424 break;
6425 /* freebsd32_sigreturn */
6426 case 417:
6427 switch(ndx) {
6428 case 0:
6429 p = "const struct freebsd32_ucontext *";
6430 break;
6431 default:
6432 break;
6433 };
6434 break;
6435 /* freebsd32_getcontext */
6436 case 421:
6437 switch(ndx) {
6438 case 0:
6439 p = "struct freebsd32_ucontext *";
6440 break;
6441 default:
6442 break;
6443 };
6444 break;
6445 /* freebsd32_setcontext */
6446 case 422:
6447 switch(ndx) {
6448 case 0:
6449 p = "const struct freebsd32_ucontext *";
6450 break;
6451 default:
6452 break;
6453 };
6454 break;
6455 /* freebsd32_swapcontext */
6456 case 423:
6457 switch(ndx) {
6458 case 0:
6459 p = "struct freebsd32_ucontext *";
6460 break;
6461 case 1:
6462 p = "const struct freebsd32_ucontext *";
6463 break;
6464 default:
6465 break;
6466 };
6467 break;
6468 /* __acl_get_link */
6469 case 425:
6470 switch(ndx) {
6471 case 0:
6472 p = "const char *";
6473 break;
6474 case 1:
6475 p = "acl_type_t";
6476 break;
6477 case 2:
6478 p = "struct acl *";
6479 break;
6480 default:
6481 break;
6482 };
6483 break;
6484 /* __acl_set_link */
6485 case 426:
6486 switch(ndx) {
6487 case 0:
6488 p = "const char *";
6489 break;
6490 case 1:
6491 p = "acl_type_t";
6492 break;
6493 case 2:
6494 p = "struct acl *";
6495 break;
6496 default:
6497 break;
6498 };
6499 break;
6500 /* __acl_delete_link */
6501 case 427:
6502 switch(ndx) {
6503 case 0:
6504 p = "const char *";
6505 break;
6506 case 1:
6507 p = "acl_type_t";
6508 break;
6509 default:
6510 break;
6511 };
6512 break;
6513 /* __acl_aclcheck_link */
6514 case 428:
6515 switch(ndx) {
6516 case 0:
6517 p = "const char *";
6518 break;
6519 case 1:
6520 p = "acl_type_t";
6521 break;
6522 case 2:
6523 p = "struct acl *";
6524 break;
6525 default:
6526 break;
6527 };
6528 break;
6529 /* sigwait */
6530 case 429:
6531 switch(ndx) {
6532 case 0:
6533 p = "const sigset_t *";
6534 break;
6535 case 1:
6536 p = "int *";
6537 break;
6538 default:
6539 break;
6540 };
6541 break;
6542 /* thr_exit */
6543 case 431:
6544 switch(ndx) {
6545 case 0:
6546 p = "long *";
6547 break;
6548 default:
6549 break;
6550 };
6551 break;
6552 /* thr_self */
6553 case 432:
6554 switch(ndx) {
6555 case 0:
6556 p = "long *";
6557 break;
6558 default:
6559 break;
6560 };
6561 break;
6562 /* thr_kill */
6563 case 433:
6564 switch(ndx) {
6565 case 0:
6566 p = "long";
6567 break;
6568 case 1:
6569 p = "int";
6570 break;
6571 default:
6572 break;
6573 };
6574 break;
6575 /* freebsd32_umtx_lock */
6576 case 434:
6577 switch(ndx) {
6578 case 0:
6579 p = "struct umtx *";
6580 break;
6581 default:
6582 break;
6583 };
6584 break;
6585 /* freebsd32_umtx_unlock */
6586 case 435:
6587 switch(ndx) {
6588 case 0:
6589 p = "struct umtx *";
6590 break;
6591 default:
6592 break;
6593 };
6594 break;
6595 /* jail_attach */
6596 case 436:
6597 switch(ndx) {
6598 case 0:
6599 p = "int";
6600 break;
6601 default:
6602 break;
6603 };
6604 break;
6605 /* extattr_list_fd */
6606 case 437:
6607 switch(ndx) {
6608 case 0:
6609 p = "int";
6610 break;
6611 case 1:
6612 p = "int";
6613 break;
6614 case 2:
6615 p = "void *";
6616 break;
6617 case 3:
6618 p = "size_t";
6619 break;
6620 default:
6621 break;
6622 };
6623 break;
6624 /* extattr_list_file */
6625 case 438:
6626 switch(ndx) {
6627 case 0:
6628 p = "const char *";
6629 break;
6630 case 1:
6631 p = "int";
6632 break;
6633 case 2:
6634 p = "void *";
6635 break;
6636 case 3:
6637 p = "size_t";
6638 break;
6639 default:
6640 break;
6641 };
6642 break;
6643 /* extattr_list_link */
6644 case 439:
6645 switch(ndx) {
6646 case 0:
6647 p = "const char *";
6648 break;
6649 case 1:
6650 p = "int";
6651 break;
6652 case 2:
6653 p = "void *";
6654 break;
6655 case 3:
6656 p = "size_t";
6657 break;
6658 default:
6659 break;
6660 };
6661 break;
6662 /* freebsd32_ksem_timedwait */
6663 case 441:
6664 switch(ndx) {
6665 case 0:
6666 p = "semid_t";
6667 break;
6668 case 1:
6669 p = "const struct timespec32 *";
6670 break;
6671 default:
6672 break;
6673 };
6674 break;
6675 /* freebsd32_thr_suspend */
6676 case 442:
6677 switch(ndx) {
6678 case 0:
6679 p = "const struct timespec32 *";
6680 break;
6681 default:
6682 break;
6683 };
6684 break;
6685 /* thr_wake */
6686 case 443:
6687 switch(ndx) {
6688 case 0:
6689 p = "long";
6690 break;
6691 default:
6692 break;
6693 };
6694 break;
6695 /* kldunloadf */
6696 case 444:
6697 switch(ndx) {
6698 case 0:
6699 p = "int";
6700 break;
6701 case 1:
6702 p = "int";
6703 break;
6704 default:
6705 break;
6706 };
6707 break;
6708 /* audit */
6709 case 445:
6710 switch(ndx) {
6711 case 0:
6712 p = "const void *";
6713 break;
6714 case 1:
6715 p = "u_int";
6716 break;
6717 default:
6718 break;
6719 };
6720 break;
6721 /* auditon */
6722 case 446:
6723 switch(ndx) {
6724 case 0:
6725 p = "int";
6726 break;
6727 case 1:
6728 p = "void *";
6729 break;
6730 case 2:
6731 p = "u_int";
6732 break;
6733 default:
6734 break;
6735 };
6736 break;
6737 /* getauid */
6738 case 447:
6739 switch(ndx) {
6740 case 0:
6741 p = "uid_t *";
6742 break;
6743 default:
6744 break;
6745 };
6746 break;
6747 /* setauid */
6748 case 448:
6749 switch(ndx) {
6750 case 0:
6751 p = "uid_t *";
6752 break;
6753 default:
6754 break;
6755 };
6756 break;
6757 /* getaudit */
6758 case 449:
6759 switch(ndx) {
6760 case 0:
6761 p = "struct auditinfo *";
6762 break;
6763 default:
6764 break;
6765 };
6766 break;
6767 /* setaudit */
6768 case 450:
6769 switch(ndx) {
6770 case 0:
6771 p = "struct auditinfo *";
6772 break;
6773 default:
6774 break;
6775 };
6776 break;
6777 /* getaudit_addr */
6778 case 451:
6779 switch(ndx) {
6780 case 0:
6781 p = "struct auditinfo_addr *";
6782 break;
6783 case 1:
6784 p = "u_int";
6785 break;
6786 default:
6787 break;
6788 };
6789 break;
6790 /* setaudit_addr */
6791 case 452:
6792 switch(ndx) {
6793 case 0:
6794 p = "struct auditinfo_addr *";
6795 break;
6796 case 1:
6797 p = "u_int";
6798 break;
6799 default:
6800 break;
6801 };
6802 break;
6803 /* auditctl */
6804 case 453:
6805 switch(ndx) {
6806 case 0:
6807 p = "char *";
6808 break;
6809 default:
6810 break;
6811 };
6812 break;
6813 /* freebsd32_umtx_op */
6814 case 454:
6815 switch(ndx) {
6816 case 0:
6817 p = "void *";
6818 break;
6819 case 1:
6820 p = "int";
6821 break;
6822 case 2:
6823 p = "u_long";
6824 break;
6825 case 3:
6826 p = "void *";
6827 break;
6828 case 4:
6829 p = "void *";
6830 break;
6831 default:
6832 break;
6833 };
6834 break;
6835 /* freebsd32_thr_new */
6836 case 455:
6837 switch(ndx) {
6838 case 0:
6839 p = "struct thr_param32 *";
6840 break;
6841 case 1:
6842 p = "int";
6843 break;
6844 default:
6845 break;
6846 };
6847 break;
6848 /* sigqueue */
6849 case 456:
6850 switch(ndx) {
6851 case 0:
6852 p = "pid_t";
6853 break;
6854 case 1:
6855 p = "int";
6856 break;
6857 case 2:
6858 p = "void *";
6859 break;
6860 default:
6861 break;
6862 };
6863 break;
6864 /* freebsd32_kmq_open */
6865 case 457:
6866 switch(ndx) {
6867 case 0:
6868 p = "const char *";
6869 break;
6870 case 1:
6871 p = "int";
6872 break;
6873 case 2:
6874 p = "mode_t";
6875 break;
6876 case 3:
6877 p = "const struct mq_attr32 *";
6878 break;
6879 default:
6880 break;
6881 };
6882 break;
6883 /* freebsd32_kmq_setattr */
6884 case 458:
6885 switch(ndx) {
6886 case 0:
6887 p = "int";
6888 break;
6889 case 1:
6890 p = "const struct mq_attr32 *";
6891 break;
6892 case 2:
6893 p = "struct mq_attr32 *";
6894 break;
6895 default:
6896 break;
6897 };
6898 break;
6899 /* freebsd32_kmq_timedreceive */
6900 case 459:
6901 switch(ndx) {
6902 case 0:
6903 p = "int";
6904 break;
6905 case 1:
6906 p = "char *";
6907 break;
6908 case 2:
6909 p = "size_t";
6910 break;
6911 case 3:
6912 p = "unsigned *";
6913 break;
6914 case 4:
6915 p = "const struct timespec32 *";
6916 break;
6917 default:
6918 break;
6919 };
6920 break;
6921 /* freebsd32_kmq_timedsend */
6922 case 460:
6923 switch(ndx) {
6924 case 0:
6925 p = "int";
6926 break;
6927 case 1:
6928 p = "const char *";
6929 break;
6930 case 2:
6931 p = "size_t";
6932 break;
6933 case 3:
6934 p = "unsigned";
6935 break;
6936 case 4:
6937 p = "const struct timespec32 *";
6938 break;
6939 default:
6940 break;
6941 };
6942 break;
6943 /* kmq_notify */
6944 case 461:
6945 switch(ndx) {
6946 case 0:
6947 p = "int";
6948 break;
6949 case 1:
6950 p = "const struct sigevent *";
6951 break;
6952 default:
6953 break;
6954 };
6955 break;
6956 /* kmq_unlink */
6957 case 462:
6958 switch(ndx) {
6959 case 0:
6960 p = "const char *";
6961 break;
6962 default:
6963 break;
6964 };
6965 break;
6966 /* abort2 */
6967 case 463:
6968 switch(ndx) {
6969 case 0:
6970 p = "const char *";
6971 break;
6972 case 1:
6973 p = "int";
6974 break;
6975 case 2:
6976 p = "void **";
6977 break;
6978 default:
6979 break;
6980 };
6981 break;
6982 /* thr_set_name */
6983 case 464:
6984 switch(ndx) {
6985 case 0:
6986 p = "long";
6987 break;
6988 case 1:
6989 p = "const char *";
6990 break;
6991 default:
6992 break;
6993 };
6994 break;
6995 /* freebsd32_aio_fsync */
6996 case 465:
6997 switch(ndx) {
6998 case 0:
6999 p = "int";
7000 break;
7001 case 1:
7002 p = "struct aiocb32 *";
7003 break;
7004 default:
7005 break;
7006 };
7007 break;
7008 /* rtprio_thread */
7009 case 466:
7010 switch(ndx) {
7011 case 0:
7012 p = "int";
7013 break;
7014 case 1:
7015 p = "lwpid_t";
7016 break;
7017 case 2:
7018 p = "struct rtprio *";
7019 break;
7020 default:
7021 break;
7022 };
7023 break;
7024 /* sctp_peeloff */
7025 case 471:
7026 switch(ndx) {
7027 case 0:
7028 p = "int";
7029 break;
7030 case 1:
7031 p = "uint32_t";
7032 break;
7033 default:
7034 break;
7035 };
7036 break;
7037 /* sctp_generic_sendmsg */
7038 case 472:
7039 switch(ndx) {
7040 case 0:
7041 p = "int";
7042 break;
7043 case 1:
7044 p = "caddr_t";
7045 break;
7046 case 2:
7047 p = "int";
7048 break;
7049 case 3:
7050 p = "caddr_t";
7051 break;
7052 case 4:
7053 p = "__socklen_t";
7054 break;
7055 case 5:
7056 p = "struct sctp_sndrcvinfo *";
7057 break;
7058 case 6:
7059 p = "int";
7060 break;
7061 default:
7062 break;
7063 };
7064 break;
7065 /* sctp_generic_sendmsg_iov */
7066 case 473:
7067 switch(ndx) {
7068 case 0:
7069 p = "int";
7070 break;
7071 case 1:
7072 p = "struct iovec *";
7073 break;
7074 case 2:
7075 p = "int";
7076 break;
7077 case 3:
7078 p = "caddr_t";
7079 break;
7080 case 4:
7081 p = "__socklen_t";
7082 break;
7083 case 5:
7084 p = "struct sctp_sndrcvinfo *";
7085 break;
7086 case 6:
7087 p = "int";
7088 break;
7089 default:
7090 break;
7091 };
7092 break;
7093 /* sctp_generic_recvmsg */
7094 case 474:
7095 switch(ndx) {
7096 case 0:
7097 p = "int";
7098 break;
7099 case 1:
7100 p = "struct iovec *";
7101 break;
7102 case 2:
7103 p = "int";
7104 break;
7105 case 3:
7106 p = "struct sockaddr *";
7107 break;
7108 case 4:
7109 p = "__socklen_t *";
7110 break;
7111 case 5:
7112 p = "struct sctp_sndrcvinfo *";
7113 break;
7114 case 6:
7115 p = "int *";
7116 break;
7117 default:
7118 break;
7119 };
7120 break;
7121#ifdef PAD64_REQUIRED
7122 /* freebsd32_pread */
7123 case 475:
7124 switch(ndx) {
7125 case 0:
7126 p = "int";
7127 break;
7128 case 1:
7129 p = "void *";
7130 break;
7131 case 2:
7132 p = "size_t";
7133 break;
7134 case 3:
7135 p = "int";
7136 break;
7137 case 4:
7138 p = "uint32_t";
7139 break;
7140 case 5:
7141 p = "uint32_t";
7142 break;
7143 default:
7144 break;
7145 };
7146 break;
7147 /* freebsd32_pwrite */
7148 case 476:
7149 switch(ndx) {
7150 case 0:
7151 p = "int";
7152 break;
7153 case 1:
7154 p = "const void *";
7155 break;
7156 case 2:
7157 p = "size_t";
7158 break;
7159 case 3:
7160 p = "int";
7161 break;
7162 case 4:
7163 p = "uint32_t";
7164 break;
7165 case 5:
7166 p = "uint32_t";
7167 break;
7168 default:
7169 break;
7170 };
7171 break;
7172 /* freebsd32_mmap */
7173 case 477:
7174 switch(ndx) {
7175 case 0:
7176 p = "caddr_t";
7177 break;
7178 case 1:
7179 p = "size_t";
7180 break;
7181 case 2:
7182 p = "int";
7183 break;
7184 case 3:
7185 p = "int";
7186 break;
7187 case 4:
7188 p = "int";
7189 break;
7190 case 5:
7191 p = "int";
7192 break;
7193 case 6:
7194 p = "uint32_t";
7195 break;
7196 case 7:
7197 p = "uint32_t";
7198 break;
7199 default:
7200 break;
7201 };
7202 break;
7203 /* freebsd32_lseek */
7204 case 478:
7205 switch(ndx) {
7206 case 0:
7207 p = "int";
7208 break;
7209 case 1:
7210 p = "int";
7211 break;
7212 case 2:
7213 p = "uint32_t";
7214 break;
7215 case 3:
7216 p = "uint32_t";
7217 break;
7218 case 4:
7219 p = "int";
7220 break;
7221 default:
7222 break;
7223 };
7224 break;
7225 /* freebsd32_truncate */
7226 case 479:
7227 switch(ndx) {
7228 case 0:
7229 p = "char *";
7230 break;
7231 case 1:
7232 p = "int";
7233 break;
7234 case 2:
7235 p = "uint32_t";
7236 break;
7237 case 3:
7238 p = "uint32_t";
7239 break;
7240 default:
7241 break;
7242 };
7243 break;
7244 /* freebsd32_ftruncate */
7245 case 480:
7246 switch(ndx) {
7247 case 0:
7248 p = "int";
7249 break;
7250 case 1:
7251 p = "int";
7252 break;
7253 case 2:
7254 p = "uint32_t";
7255 break;
7256 case 3:
7257 p = "uint32_t";
7258 break;
7259 default:
7260 break;
7261 };
7262 break;
7263#else
7264 /* freebsd32_pread */
7265 case 475:
7266 switch(ndx) {
7267 case 0:
7268 p = "int";
7269 break;
7270 case 1:
7271 p = "void *";
7272 break;
7273 case 2:
7274 p = "size_t";
7275 break;
7276 case 3:
7277 p = "uint32_t";
7278 break;
7279 case 4:
7280 p = "uint32_t";
7281 break;
7282 default:
7283 break;
7284 };
7285 break;
7286 /* freebsd32_pwrite */
7287 case 476:
7288 switch(ndx) {
7289 case 0:
7290 p = "int";
7291 break;
7292 case 1:
7293 p = "const void *";
7294 break;
7295 case 2:
7296 p = "size_t";
7297 break;
7298 case 3:
7299 p = "uint32_t";
7300 break;
7301 case 4:
7302 p = "uint32_t";
7303 break;
7304 default:
7305 break;
7306 };
7307 break;
7308 /* freebsd32_mmap */
7309 case 477:
7310 switch(ndx) {
7311 case 0:
7312 p = "caddr_t";
7313 break;
7314 case 1:
7315 p = "size_t";
7316 break;
7317 case 2:
7318 p = "int";
7319 break;
7320 case 3:
7321 p = "int";
7322 break;
7323 case 4:
7324 p = "int";
7325 break;
7326 case 5:
7327 p = "uint32_t";
7328 break;
7329 case 6:
7330 p = "uint32_t";
7331 break;
7332 default:
7333 break;
7334 };
7335 break;
7336 /* freebsd32_lseek */
7337 case 478:
7338 switch(ndx) {
7339 case 0:
7340 p = "int";
7341 break;
7342 case 1:
7343 p = "uint32_t";
7344 break;
7345 case 2:
7346 p = "uint32_t";
7347 break;
7348 case 3:
7349 p = "int";
7350 break;
7351 default:
7352 break;
7353 };
7354 break;
7355 /* freebsd32_truncate */
7356 case 479:
7357 switch(ndx) {
7358 case 0:
7359 p = "char *";
7360 break;
7361 case 1:
7362 p = "uint32_t";
7363 break;
7364 case 2:
7365 p = "uint32_t";
7366 break;
7367 default:
7368 break;
7369 };
7370 break;
7371 /* freebsd32_ftruncate */
7372 case 480:
7373 switch(ndx) {
7374 case 0:
7375 p = "int";
7376 break;
7377 case 1:
7378 p = "uint32_t";
7379 break;
7380 case 2:
7381 p = "uint32_t";
7382 break;
7383 default:
7384 break;
7385 };
7386 break;
7387#endif
7388 /* thr_kill2 */
7389 case 481:
7390 switch(ndx) {
7391 case 0:
7392 p = "pid_t";
7393 break;
7394 case 1:
7395 p = "long";
7396 break;
7397 case 2:
7398 p = "int";
7399 break;
7400 default:
7401 break;
7402 };
7403 break;
7404 /* shm_open */
7405 case 482:
7406 switch(ndx) {
7407 case 0:
7408 p = "const char *";
7409 break;
7410 case 1:
7411 p = "int";
7412 break;
7413 case 2:
7414 p = "mode_t";
7415 break;
7416 default:
7417 break;
7418 };
7419 break;
7420 /* shm_unlink */
7421 case 483:
7422 switch(ndx) {
7423 case 0:
7424 p = "const char *";
7425 break;
7426 default:
7427 break;
7428 };
7429 break;
7430 /* cpuset */
7431 case 484:
7432 switch(ndx) {
7433 case 0:
7434 p = "cpusetid_t *";
7435 break;
7436 default:
7437 break;
7438 };
7439 break;
7440#ifdef PAD64_REQUIRED
7441 /* freebsd32_cpuset_setid */
7442 case 485:
7443 switch(ndx) {
7444 case 0:
7445 p = "cpuwhich_t";
7446 break;
7447 case 1:
7448 p = "int";
7449 break;
7450 case 2:
7451 p = "uint32_t";
7452 break;
7453 case 3:
7454 p = "uint32_t";
7455 break;
7456 case 4:
7457 p = "cpusetid_t";
7458 break;
7459 default:
7460 break;
7461 };
7462 break;
7463#else
7464 /* freebsd32_cpuset_setid */
7465 case 485:
7466 switch(ndx) {
7467 case 0:
7468 p = "cpuwhich_t";
7469 break;
7470 case 1:
7471 p = "uint32_t";
7472 break;
7473 case 2:
7474 p = "uint32_t";
7475 break;
7476 case 3:
7477 p = "cpusetid_t";
7478 break;
7479 default:
7480 break;
7481 };
7482 break;
7483#endif
7484 /* freebsd32_cpuset_getid */
7485 case 486:
7486 switch(ndx) {
7487 case 0:
7488 p = "cpulevel_t";
7489 break;
7490 case 1:
7491 p = "cpuwhich_t";
7492 break;
7493 case 2:
7494 p = "uint32_t";
7495 break;
7496 case 3:
7497 p = "uint32_t";
7498 break;
7499 case 4:
7500 p = "cpusetid_t *";
7501 break;
7502 default:
7503 break;
7504 };
7505 break;
7506 /* freebsd32_cpuset_getaffinity */
7507 case 487:
7508 switch(ndx) {
7509 case 0:
7510 p = "cpulevel_t";
7511 break;
7512 case 1:
7513 p = "cpuwhich_t";
7514 break;
7515 case 2:
7516 p = "uint32_t";
7517 break;
7518 case 3:
7519 p = "uint32_t";
7520 break;
7521 case 4:
7522 p = "size_t";
7523 break;
7524 case 5:
7525 p = "cpuset_t *";
7526 break;
7527 default:
7528 break;
7529 };
7530 break;
7531 /* freebsd32_cpuset_setaffinity */
7532 case 488:
7533 switch(ndx) {
7534 case 0:
7535 p = "cpulevel_t";
7536 break;
7537 case 1:
7538 p = "cpuwhich_t";
7539 break;
7540 case 2:
7541 p = "uint32_t";
7542 break;
7543 case 3:
7544 p = "uint32_t";
7545 break;
7546 case 4:
7547 p = "size_t";
7548 break;
7549 case 5:
7550 p = "const cpuset_t *";
7551 break;
7552 default:
7553 break;
7554 };
7555 break;
7556 /* faccessat */
7557 case 489:
7558 switch(ndx) {
7559 case 0:
7560 p = "int";
7561 break;
7562 case 1:
7563 p = "char *";
7564 break;
7565 case 2:
7566 p = "int";
7567 break;
7568 case 3:
7569 p = "int";
7570 break;
7571 default:
7572 break;
7573 };
7574 break;
7575 /* fchmodat */
7576 case 490:
7577 switch(ndx) {
7578 case 0:
7579 p = "int";
7580 break;
7581 case 1:
7582 p = "const char *";
7583 break;
7584 case 2:
7585 p = "mode_t";
7586 break;
7587 case 3:
7588 p = "int";
7589 break;
7590 default:
7591 break;
7592 };
7593 break;
7594 /* fchownat */
7595 case 491:
7596 switch(ndx) {
7597 case 0:
7598 p = "int";
7599 break;
7600 case 1:
7601 p = "char *";
7602 break;
7603 case 2:
7604 p = "uid_t";
7605 break;
7606 case 3:
7607 p = "gid_t";
7608 break;
7609 case 4:
7610 p = "int";
7611 break;
7612 default:
7613 break;
7614 };
7615 break;
7616 /* freebsd32_fexecve */
7617 case 492:
7618 switch(ndx) {
7619 case 0:
7620 p = "int";
7621 break;
7622 case 1:
7623 p = "uint32_t *";
7624 break;
7625 case 2:
7626 p = "uint32_t *";
7627 break;
7628 default:
7629 break;
7630 };
7631 break;
7632 /* freebsd32_fstatat */
7633 case 493:
7634 switch(ndx) {
7635 case 0:
7636 p = "int";
7637 break;
7638 case 1:
7639 p = "char *";
7640 break;
7641 case 2:
7642 p = "struct stat *";
7643 break;
7644 case 3:
7645 p = "int";
7646 break;
7647 default:
7648 break;
7649 };
7650 break;
7651 /* freebsd32_futimesat */
7652 case 494:
7653 switch(ndx) {
7654 case 0:
7655 p = "int";
7656 break;
7657 case 1:
7658 p = "char *";
7659 break;
7660 case 2:
7661 p = "struct timeval *";
7662 break;
7663 default:
7664 break;
7665 };
7666 break;
7667 /* linkat */
7668 case 495:
7669 switch(ndx) {
7670 case 0:
7671 p = "int";
7672 break;
7673 case 1:
7674 p = "char *";
7675 break;
7676 case 2:
7677 p = "int";
7678 break;
7679 case 3:
7680 p = "char *";
7681 break;
7682 case 4:
7683 p = "int";
7684 break;
7685 default:
7686 break;
7687 };
7688 break;
7689 /* mkdirat */
7690 case 496:
7691 switch(ndx) {
7692 case 0:
7693 p = "int";
7694 break;
7695 case 1:
7696 p = "char *";
7697 break;
7698 case 2:
7699 p = "mode_t";
7700 break;
7701 default:
7702 break;
7703 };
7704 break;
7705 /* mkfifoat */
7706 case 497:
7707 switch(ndx) {
7708 case 0:
7709 p = "int";
7710 break;
7711 case 1:
7712 p = "char *";
7713 break;
7714 case 2:
7715 p = "mode_t";
7716 break;
7717 default:
7718 break;
7719 };
7720 break;
7721 /* mknodat */
7722 case 498:
7723 switch(ndx) {
7724 case 0:
7725 p = "int";
7726 break;
7727 case 1:
7728 p = "char *";
7729 break;
7730 case 2:
7731 p = "mode_t";
7732 break;
7733 case 3:
7734 p = "dev_t";
7735 break;
7736 default:
7737 break;
7738 };
7739 break;
7740 /* openat */
7741 case 499:
7742 switch(ndx) {
7743 case 0:
7744 p = "int";
7745 break;
7746 case 1:
7747 p = "char *";
7748 break;
7749 case 2:
7750 p = "int";
7751 break;
7752 case 3:
7753 p = "mode_t";
7754 break;
7755 default:
7756 break;
7757 };
7758 break;
7759 /* readlinkat */
7760 case 500:
7761 switch(ndx) {
7762 case 0:
7763 p = "int";
7764 break;
7765 case 1:
7766 p = "char *";
7767 break;
7768 case 2:
7769 p = "char *";
7770 break;
7771 case 3:
7772 p = "size_t";
7773 break;
7774 default:
7775 break;
7776 };
7777 break;
7778 /* renameat */
7779 case 501:
7780 switch(ndx) {
7781 case 0:
7782 p = "int";
7783 break;
7784 case 1:
7785 p = "char *";
7786 break;
7787 case 2:
7788 p = "int";
7789 break;
7790 case 3:
7791 p = "const char *";
7792 break;
7793 default:
7794 break;
7795 };
7796 break;
7797 /* symlinkat */
7798 case 502:
7799 switch(ndx) {
7800 case 0:
7801 p = "char *";
7802 break;
7803 case 1:
7804 p = "int";
7805 break;
7806 case 2:
7807 p = "char *";
7808 break;
7809 default:
7810 break;
7811 };
7812 break;
7813 /* unlinkat */
7814 case 503:
7815 switch(ndx) {
7816 case 0:
7817 p = "int";
7818 break;
7819 case 1:
7820 p = "char *";
7821 break;
7822 case 2:
7823 p = "int";
7824 break;
7825 default:
7826 break;
7827 };
7828 break;
7829 /* posix_openpt */
7830 case 504:
7831 switch(ndx) {
7832 case 0:
7833 p = "int";
7834 break;
7835 default:
7836 break;
7837 };
7838 break;
7839 /* freebsd32_jail_get */
7840 case 506:
7841 switch(ndx) {
7842 case 0:
7843 p = "struct iovec32 *";
7844 break;
7845 case 1:
7846 p = "unsigned int";
7847 break;
7848 case 2:
7849 p = "int";
7850 break;
7851 default:
7852 break;
7853 };
7854 break;
7855 /* freebsd32_jail_set */
7856 case 507:
7857 switch(ndx) {
7858 case 0:
7859 p = "struct iovec32 *";
7860 break;
7861 case 1:
7862 p = "unsigned int";
7863 break;
7864 case 2:
7865 p = "int";
7866 break;
7867 default:
7868 break;
7869 };
7870 break;
7871 /* jail_remove */
7872 case 508:
7873 switch(ndx) {
7874 case 0:
7875 p = "int";
7876 break;
7877 default:
7878 break;
7879 };
7880 break;
7881 /* closefrom */
7882 case 509:
7883 switch(ndx) {
7884 case 0:
7885 p = "int";
7886 break;
7887 default:
7888 break;
7889 };
7890 break;
7891 /* freebsd32_semctl */
7892 case 510:
7893 switch(ndx) {
7894 case 0:
7895 p = "int";
7896 break;
7897 case 1:
7898 p = "int";
7899 break;
7900 case 2:
7901 p = "int";
7902 break;
7903 case 3:
7904 p = "union semun32 *";
7905 break;
7906 default:
7907 break;
7908 };
7909 break;
7910 /* freebsd32_msgctl */
7911 case 511:
7912 switch(ndx) {
7913 case 0:
7914 p = "int";
7915 break;
7916 case 1:
7917 p = "int";
7918 break;
7919 case 2:
7920 p = "struct msqid_ds32 *";
7921 break;
7922 default:
7923 break;
7924 };
7925 break;
7926 /* freebsd32_shmctl */
7927 case 512:
7928 switch(ndx) {
7929 case 0:
7930 p = "int";
7931 break;
7932 case 1:
7933 p = "int";
7934 break;
7935 case 2:
7936 p = "struct shmid_ds32 *";
7937 break;
7938 default:
7939 break;
7940 };
7941 break;
7942 /* lpathconf */
7943 case 513:
7944 switch(ndx) {
7945 case 0:
7946 p = "char *";
7947 break;
7948 case 1:
7949 p = "int";
7950 break;
7951 default:
7952 break;
7953 };
7954 break;
7955 /* cap_new */
7956 case 514:
7957 switch(ndx) {
7958 case 0:
7959 p = "int";
7960 break;
7961 case 1:
7962 p = "uint64_t";
7963 break;
7964 default:
7965 break;
7966 };
7967 break;
7968 /* cap_getrights */
7969 case 515:
7970 switch(ndx) {
7971 case 0:
7972 p = "int";
7973 break;
7974 case 1:
7975 p = "uint64_t *";
7976 break;
7977 default:
7978 break;
7979 };
7980 break;
7981 /* cap_enter */
7982 case 516:
7983 break;
7984 /* cap_getmode */
7985 case 517:
7986 switch(ndx) {
7987 case 0:
7988 p = "u_int *";
7989 break;
7990 default:
7991 break;
7992 };
7993 break;
7994 /* freebsd32_pselect */
7995 case 522:
7996 switch(ndx) {
7997 case 0:
7998 p = "int";
7999 break;
8000 case 1:
8001 p = "fd_set *";
8002 break;
8003 case 2:
8004 p = "fd_set *";
8005 break;
8006 case 3:
8007 p = "fd_set *";
8008 break;
8009 case 4:
8010 p = "const struct timespec32 *";
8011 break;
8012 case 5:
8013 p = "const sigset_t *";
8014 break;
8015 default:
8016 break;
8017 };
8018 break;
8019 /* getloginclass */
8020 case 523:
8021 switch(ndx) {
8022 case 0:
8023 p = "char *";
8024 break;
8025 case 1:
8026 p = "size_t";
8027 break;
8028 default:
8029 break;
8030 };
8031 break;
8032 /* setloginclass */
8033 case 524:
8034 switch(ndx) {
8035 case 0:
8036 p = "const char *";
8037 break;
8038 default:
8039 break;
8040 };
8041 break;
8042 /* rctl_get_racct */
8043 case 525:
8044 switch(ndx) {
8045 case 0:
8046 p = "const void *";
8047 break;
8048 case 1:
8049 p = "size_t";
8050 break;
8051 case 2:
8052 p = "void *";
8053 break;
8054 case 3:
8055 p = "size_t";
8056 break;
8057 default:
8058 break;
8059 };
8060 break;
8061 /* rctl_get_rules */
8062 case 526:
8063 switch(ndx) {
8064 case 0:
8065 p = "const void *";
8066 break;
8067 case 1:
8068 p = "size_t";
8069 break;
8070 case 2:
8071 p = "void *";
8072 break;
8073 case 3:
8074 p = "size_t";
8075 break;
8076 default:
8077 break;
8078 };
8079 break;
8080 /* rctl_get_limits */
8081 case 527:
8082 switch(ndx) {
8083 case 0:
8084 p = "const void *";
8085 break;
8086 case 1:
8087 p = "size_t";
8088 break;
8089 case 2:
8090 p = "void *";
8091 break;
8092 case 3:
8093 p = "size_t";
8094 break;
8095 default:
8096 break;
8097 };
8098 break;
8099 /* rctl_add_rule */
8100 case 528:
8101 switch(ndx) {
8102 case 0:
8103 p = "const void *";
8104 break;
8105 case 1:
8106 p = "size_t";
8107 break;
8108 case 2:
8109 p = "void *";
8110 break;
8111 case 3:
8112 p = "size_t";
8113 break;
8114 default:
8115 break;
8116 };
8117 break;
8118 /* rctl_remove_rule */
8119 case 529:
8120 switch(ndx) {
8121 case 0:
8122 p = "const void *";
8123 break;
8124 case 1:
8125 p = "size_t";
8126 break;
8127 case 2:
8128 p = "void *";
8129 break;
8130 case 3:
8131 p = "size_t";
8132 break;
8133 default:
8134 break;
8135 };
8136 break;
8137 /* freebsd32_posix_fallocate */
8138 case 530:
8139 switch(ndx) {
8140 case 0:
8141 p = "int";
8142 break;
8143 case 1:
8144 p = "uint32_t";
8145 break;
8146 case 2:
8147 p = "uint32_t";
8148 break;
8149 case 3:
8150 p = "uint32_t";
8151 break;
8152 case 4:
8153 p = "uint32_t";
8154 break;
8155 default:
8156 break;
8157 };
8158 break;
8159 /* freebsd32_posix_fadvise */
8160 case 531:
8161 switch(ndx) {
8162 case 0:
8163 p = "int";
8164 break;
8165 case 1:
8166 p = "uint32_t";
8167 break;
8168 case 2:
8169 p = "uint32_t";
8170 break;
8171 case 3:
8172 p = "uint32_t";
8173 break;
8174 case 4:
8175 p = "uint32_t";
8176 break;
8177 case 5:
8178 p = "int";
8179 break;
8180 default:
8181 break;
8182 };
8183 break;
8184 default:
8185 break;
8186 };
8187 if (p != NULL)
8188 strlcpy(desc, p, descsz);
8189}
8190static void
8191systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
8192{
8193 const char *p = NULL;
8194 switch (sysnum) {
8195#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
8196#define PAD64_REQUIRED
8197#endif
8198 /* nosys */
8199 case 0:
8200 /* sys_exit */
8201 case 1:
8202 if (ndx == 0 || ndx == 1)
8203 p = "void";
8204 break;
8205 /* fork */
8206 case 2:
8207 /* read */
8208 case 3:
8209 if (ndx == 0 || ndx == 1)
8210 p = "ssize_t";
8211 break;
8212 /* write */
8213 case 4:
8214 if (ndx == 0 || ndx == 1)
8215 p = "ssize_t";
8216 break;
8217 /* open */
8218 case 5:
8219 if (ndx == 0 || ndx == 1)
8220 p = "int";
8221 break;
8222 /* close */
8223 case 6:
8224 if (ndx == 0 || ndx == 1)
8225 p = "int";
8226 break;
8227 /* freebsd32_wait4 */
8228 case 7:
8229 if (ndx == 0 || ndx == 1)
8230 p = "int";
8231 break;
8232 /* link */
8233 case 9:
8234 if (ndx == 0 || ndx == 1)
8235 p = "int";
8236 break;
8237 /* unlink */
8238 case 10:
8239 if (ndx == 0 || ndx == 1)
8240 p = "int";
8241 break;
8242 /* chdir */
8243 case 12:
8244 if (ndx == 0 || ndx == 1)
8245 p = "int";
8246 break;
8247 /* fchdir */
8248 case 13:
8249 if (ndx == 0 || ndx == 1)
8250 p = "int";
8251 break;
8252 /* mknod */
8253 case 14:
8254 if (ndx == 0 || ndx == 1)
8255 p = "int";
8256 break;
8257 /* chmod */
8258 case 15:
8259 if (ndx == 0 || ndx == 1)
8260 p = "int";
8261 break;
8262 /* chown */
8263 case 16:
8264 if (ndx == 0 || ndx == 1)
8265 p = "int";
8266 break;
8267 /* obreak */
8268 case 17:
8269 if (ndx == 0 || ndx == 1)
8270 p = "int";
8271 break;
8272 /* getpid */
8273 case 20:
8274 /* mount */
8275 case 21:
8276 if (ndx == 0 || ndx == 1)
8277 p = "int";
8278 break;
8279 /* unmount */
8280 case 22:
8281 if (ndx == 0 || ndx == 1)
8282 p = "int";
8283 break;
8284 /* setuid */
8285 case 23:
8286 if (ndx == 0 || ndx == 1)
8287 p = "int";
8288 break;
8289 /* getuid */
8290 case 24:
8291 /* geteuid */
8292 case 25:
8293 /* ptrace */
8294 case 26:
8295 if (ndx == 0 || ndx == 1)
8296 p = "int";
8297 break;
8298 /* freebsd32_recvmsg */
8299 case 27:
8300 if (ndx == 0 || ndx == 1)
8301 p = "int";
8302 break;
8303 /* freebsd32_sendmsg */
8304 case 28:
8305 if (ndx == 0 || ndx == 1)
8306 p = "int";
8307 break;
8308 /* freebsd32_recvfrom */
8309 case 29:
8310 if (ndx == 0 || ndx == 1)
8311 p = "int";
8312 break;
8313 /* accept */
8314 case 30:
8315 if (ndx == 0 || ndx == 1)
8316 p = "int";
8317 break;
8318 /* getpeername */
8319 case 31:
8320 if (ndx == 0 || ndx == 1)
8321 p = "int";
8322 break;
8323 /* getsockname */
8324 case 32:
8325 if (ndx == 0 || ndx == 1)
8326 p = "int";
8327 break;
8328 /* access */
8329 case 33:
8330 if (ndx == 0 || ndx == 1)
8331 p = "int";
8332 break;
8333 /* chflags */
8334 case 34:
8335 if (ndx == 0 || ndx == 1)
8336 p = "int";
8337 break;
8338 /* fchflags */
8339 case 35:
8340 if (ndx == 0 || ndx == 1)
8341 p = "int";
8342 break;
8343 /* sync */
8344 case 36:
8345 /* kill */
8346 case 37:
8347 if (ndx == 0 || ndx == 1)
8348 p = "int";
8349 break;
8350 /* getppid */
8351 case 39:
8352 /* dup */
8353 case 41:
8354 if (ndx == 0 || ndx == 1)
8355 p = "int";
8356 break;
8357 /* pipe */
8358 case 42:
8359 /* getegid */
8360 case 43:
8361 /* profil */
8362 case 44:
8363 if (ndx == 0 || ndx == 1)
8364 p = "int";
8365 break;
8366 /* ktrace */
8367 case 45:
8368 if (ndx == 0 || ndx == 1)
8369 p = "int";
8370 break;
8371 /* getgid */
8372 case 47:
8373 /* getlogin */
8374 case 49:
8375 if (ndx == 0 || ndx == 1)
8376 p = "int";
8377 break;
8378 /* setlogin */
8379 case 50:
8380 if (ndx == 0 || ndx == 1)
8381 p = "int";
8382 break;
8383 /* acct */
8384 case 51:
8385 if (ndx == 0 || ndx == 1)
8386 p = "int";
8387 break;
8388 /* freebsd32_sigaltstack */
8389 case 53:
8390 if (ndx == 0 || ndx == 1)
8391 p = "int";
8392 break;
8393 /* freebsd32_ioctl */
8394 case 54:
8395 if (ndx == 0 || ndx == 1)
8396 p = "int";
8397 break;
8398 /* reboot */
8399 case 55:
8400 if (ndx == 0 || ndx == 1)
8401 p = "int";
8402 break;
8403 /* revoke */
8404 case 56:
8405 if (ndx == 0 || ndx == 1)
8406 p = "int";
8407 break;
8408 /* symlink */
8409 case 57:
8410 if (ndx == 0 || ndx == 1)
8411 p = "int";
8412 break;
8413 /* readlink */
8414 case 58:
8415 if (ndx == 0 || ndx == 1)
8416 p = "ssize_t";
8417 break;
8418 /* freebsd32_execve */
8419 case 59:
8420 if (ndx == 0 || ndx == 1)
8421 p = "int";
8422 break;
8423 /* umask */
8424 case 60:
8425 if (ndx == 0 || ndx == 1)
8426 p = "int";
8427 break;
8428 /* chroot */
8429 case 61:
8430 if (ndx == 0 || ndx == 1)
8431 p = "int";
8432 break;
8433 /* msync */
8434 case 65:
8435 if (ndx == 0 || ndx == 1)
8436 p = "int";
8437 break;
8438 /* vfork */
8439 case 66:
8440 /* sbrk */
8441 case 69:
8442 if (ndx == 0 || ndx == 1)
8443 p = "int";
8444 break;
8445 /* sstk */
8446 case 70:
8447 if (ndx == 0 || ndx == 1)
8448 p = "int";
8449 break;
8450 /* ovadvise */
8451 case 72:
8452 if (ndx == 0 || ndx == 1)
8453 p = "int";
8454 break;
8455 /* munmap */
8456 case 73:
8457 if (ndx == 0 || ndx == 1)
8458 p = "int";
8459 break;
8460 /* freebsd32_mprotect */
8461 case 74:
8462 if (ndx == 0 || ndx == 1)
8463 p = "int";
8464 break;
8465 /* madvise */
8466 case 75:
8467 if (ndx == 0 || ndx == 1)
8468 p = "int";
8469 break;
8470 /* mincore */
8471 case 78:
8472 if (ndx == 0 || ndx == 1)
8473 p = "int";
8474 break;
8475 /* getgroups */
8476 case 79:
8477 if (ndx == 0 || ndx == 1)
8478 p = "int";
8479 break;
8480 /* setgroups */
8481 case 80:
8482 if (ndx == 0 || ndx == 1)
8483 p = "int";
8484 break;
8485 /* getpgrp */
8486 case 81:
8487 /* setpgid */
8488 case 82:
8489 if (ndx == 0 || ndx == 1)
8490 p = "int";
8491 break;
8492 /* freebsd32_setitimer */
8493 case 83:
8494 if (ndx == 0 || ndx == 1)
8495 p = "int";
8496 break;
8497 /* swapon */
8498 case 85:
8499 if (ndx == 0 || ndx == 1)
8500 p = "int";
8501 break;
8502 /* freebsd32_getitimer */
8503 case 86:
8504 if (ndx == 0 || ndx == 1)
8505 p = "int";
8506 break;
8507 /* getdtablesize */
8508 case 89:
8509 /* dup2 */
8510 case 90:
8511 if (ndx == 0 || ndx == 1)
8512 p = "int";
8513 break;
8514 /* fcntl */
8515 case 92:
8516 if (ndx == 0 || ndx == 1)
8517 p = "int";
8518 break;
8519 /* freebsd32_select */
8520 case 93:
8521 if (ndx == 0 || ndx == 1)
8522 p = "int";
8523 break;
8524 /* fsync */
8525 case 95:
8526 if (ndx == 0 || ndx == 1)
8527 p = "int";
8528 break;
8529 /* setpriority */
8530 case 96:
8531 if (ndx == 0 || ndx == 1)
8532 p = "int";
8533 break;
8534 /* socket */
8535 case 97:
8536 if (ndx == 0 || ndx == 1)
8537 p = "int";
8538 break;
8539 /* connect */
8540 case 98:
8541 if (ndx == 0 || ndx == 1)
8542 p = "int";
8543 break;
8544 /* getpriority */
8545 case 100:
8546 if (ndx == 0 || ndx == 1)
8547 p = "int";
8548 break;
8549 /* bind */
8550 case 104:
8551 if (ndx == 0 || ndx == 1)
8552 p = "int";
8553 break;
8554 /* setsockopt */
8555 case 105:
8556 if (ndx == 0 || ndx == 1)
8557 p = "int";
8558 break;
8559 /* listen */
8560 case 106:
8561 if (ndx == 0 || ndx == 1)
8562 p = "int";
8563 break;
8564 /* freebsd32_gettimeofday */
8565 case 116:
8566 if (ndx == 0 || ndx == 1)
8567 p = "int";
8568 break;
8569 /* freebsd32_getrusage */
8570 case 117:
8571 if (ndx == 0 || ndx == 1)
8572 p = "int";
8573 break;
8574 /* getsockopt */
8575 case 118:
8576 if (ndx == 0 || ndx == 1)
8577 p = "int";
8578 break;
8579 /* freebsd32_readv */
8580 case 120:
8581 if (ndx == 0 || ndx == 1)
8582 p = "int";
8583 break;
8584 /* freebsd32_writev */
8585 case 121:
8586 if (ndx == 0 || ndx == 1)
8587 p = "int";
8588 break;
8589 /* freebsd32_settimeofday */
8590 case 122:
8591 if (ndx == 0 || ndx == 1)
8592 p = "int";
8593 break;
8594 /* fchown */
8595 case 123:
8596 if (ndx == 0 || ndx == 1)
8597 p = "int";
8598 break;
8599 /* fchmod */
8600 case 124:
8601 if (ndx == 0 || ndx == 1)
8602 p = "int";
8603 break;
8604 /* setreuid */
8605 case 126:
8606 if (ndx == 0 || ndx == 1)
8607 p = "int";
8608 break;
8609 /* setregid */
8610 case 127:
8611 if (ndx == 0 || ndx == 1)
8612 p = "int";
8613 break;
8614 /* rename */
8615 case 128:
8616 if (ndx == 0 || ndx == 1)
8617 p = "int";
8618 break;
8619 /* flock */
8620 case 131:
8621 if (ndx == 0 || ndx == 1)
8622 p = "int";
8623 break;
8624 /* mkfifo */
8625 case 132:
8626 if (ndx == 0 || ndx == 1)
8627 p = "int";
8628 break;
8629 /* sendto */
8630 case 133:
8631 if (ndx == 0 || ndx == 1)
8632 p = "int";
8633 break;
8634 /* shutdown */
8635 case 134:
8636 if (ndx == 0 || ndx == 1)
8637 p = "int";
8638 break;
8639 /* socketpair */
8640 case 135:
8641 if (ndx == 0 || ndx == 1)
8642 p = "int";
8643 break;
8644 /* mkdir */
8645 case 136:
8646 if (ndx == 0 || ndx == 1)
8647 p = "int";
8648 break;
8649 /* rmdir */
8650 case 137:
8651 if (ndx == 0 || ndx == 1)
8652 p = "int";
8653 break;
8654 /* freebsd32_utimes */
8655 case 138:
8656 if (ndx == 0 || ndx == 1)
8657 p = "int";
8658 break;
8659 /* freebsd32_adjtime */
8660 case 140:
8661 if (ndx == 0 || ndx == 1)
8662 p = "int";
8663 break;
8664 /* setsid */
8665 case 147:
8666 /* quotactl */
8667 case 148:
8668 if (ndx == 0 || ndx == 1)
8669 p = "int";
8670 break;
8671 /* getfh */
8672 case 161:
8673 if (ndx == 0 || ndx == 1)
8674 p = "int";
8675 break;
8676 /* freebsd32_sysarch */
8677 case 165:
8678 if (ndx == 0 || ndx == 1)
8679 p = "int";
8680 break;
8681 /* rtprio */
8682 case 166:
8683 if (ndx == 0 || ndx == 1)
8684 p = "int";
8685 break;
8686 /* freebsd32_semsys */
8687 case 169:
8688 if (ndx == 0 || ndx == 1)
8689 p = "int";
8690 break;
8691 /* freebsd32_msgsys */
8692 case 170:
8693 if (ndx == 0 || ndx == 1)
8694 p = "int";
8695 break;
8696 /* freebsd32_shmsys */
8697 case 171:
8698 if (ndx == 0 || ndx == 1)
8699 p = "int";
8700 break;
8701 /* ntp_adjtime */
8702 case 176:
8703 if (ndx == 0 || ndx == 1)
8704 p = "int";
8705 break;
8706 /* setgid */
8707 case 181:
8708 if (ndx == 0 || ndx == 1)
8709 p = "int";
8710 break;
8711 /* setegid */
8712 case 182:
8713 if (ndx == 0 || ndx == 1)
8714 p = "int";
8715 break;
8716 /* seteuid */
8717 case 183:
8718 if (ndx == 0 || ndx == 1)
8719 p = "int";
8720 break;
8721 /* freebsd32_stat */
8722 case 188:
8723 if (ndx == 0 || ndx == 1)
8724 p = "int";
8725 break;
8726 /* freebsd32_fstat */
8727 case 189:
8728 if (ndx == 0 || ndx == 1)
8729 p = "int";
8730 break;
8731 /* freebsd32_lstat */
8732 case 190:
8733 if (ndx == 0 || ndx == 1)
8734 p = "int";
8735 break;
8736 /* pathconf */
8737 case 191:
8738 if (ndx == 0 || ndx == 1)
8739 p = "int";
8740 break;
8741 /* fpathconf */
8742 case 192:
8743 if (ndx == 0 || ndx == 1)
8744 p = "int";
8745 break;
8746 /* getrlimit */
8747 case 194:
8748 if (ndx == 0 || ndx == 1)
8749 p = "int";
8750 break;
8751 /* setrlimit */
8752 case 195:
8753 if (ndx == 0 || ndx == 1)
8754 p = "int";
8755 break;
8756 /* freebsd32_getdirentries */
8757 case 196:
8758 if (ndx == 0 || ndx == 1)
8759 p = "int";
8760 break;
8761 /* nosys */
8762 case 198:
8763 /* freebsd32_sysctl */
8764 case 202:
8765 if (ndx == 0 || ndx == 1)
8766 p = "int";
8767 break;
8768 /* mlock */
8769 case 203:
8770 if (ndx == 0 || ndx == 1)
8771 p = "int";
8772 break;
8773 /* munlock */
8774 case 204:
8775 if (ndx == 0 || ndx == 1)
8776 p = "int";
8777 break;
8778 /* undelete */
8779 case 205:
8780 if (ndx == 0 || ndx == 1)
8781 p = "int";
8782 break;
8783 /* freebsd32_futimes */
8784 case 206:
8785 if (ndx == 0 || ndx == 1)
8786 p = "int";
8787 break;
8788 /* getpgid */
8789 case 207:
8790 if (ndx == 0 || ndx == 1)
8791 p = "int";
8792 break;
8793 /* poll */
8794 case 209:
8795 if (ndx == 0 || ndx == 1)
8796 p = "int";
8797 break;
8798 /* lkmnosys */
8799 case 210:
8800 /* lkmnosys */
8801 case 211:
8802 /* lkmnosys */
8803 case 212:
8804 /* lkmnosys */
8805 case 213:
8806 /* lkmnosys */
8807 case 214:
8808 /* lkmnosys */
8809 case 215:
8810 /* lkmnosys */
8811 case 216:
8812 /* lkmnosys */
8813 case 217:
8814 /* lkmnosys */
8815 case 218:
8816 /* lkmnosys */
8817 case 219:
8818 /* semget */
8819 case 221:
8820 if (ndx == 0 || ndx == 1)
8821 p = "int";
8822 break;
8823 /* semop */
8824 case 222:
8825 if (ndx == 0 || ndx == 1)
8826 p = "int";
8827 break;
8828 /* msgget */
8829 case 225:
8830 if (ndx == 0 || ndx == 1)
8831 p = "int";
8832 break;
8833 /* freebsd32_msgsnd */
8834 case 226:
8835 if (ndx == 0 || ndx == 1)
8836 p = "int";
8837 break;
8838 /* freebsd32_msgrcv */
8839 case 227:
8840 if (ndx == 0 || ndx == 1)
8841 p = "int";
8842 break;
8843 /* shmat */
8844 case 228:
8845 if (ndx == 0 || ndx == 1)
8846 p = "int";
8847 break;
8848 /* shmdt */
8849 case 230:
8850 if (ndx == 0 || ndx == 1)
8851 p = "int";
8852 break;
8853 /* shmget */
8854 case 231:
8855 if (ndx == 0 || ndx == 1)
8856 p = "int";
8857 break;
8858 /* freebsd32_clock_gettime */
8859 case 232:
8860 if (ndx == 0 || ndx == 1)
8861 p = "int";
8862 break;
8863 /* freebsd32_clock_settime */
8864 case 233:
8865 if (ndx == 0 || ndx == 1)
8866 p = "int";
8867 break;
8868 /* freebsd32_clock_getres */
8869 case 234:
8870 if (ndx == 0 || ndx == 1)
8871 p = "int";
8872 break;
8873 /* freebsd32_nanosleep */
8874 case 240:
8875 if (ndx == 0 || ndx == 1)
8876 p = "int";
8877 break;
8878 /* ffclock_getcounter */
8879 case 241:
8880 if (ndx == 0 || ndx == 1)
8881 p = "int";
8882 break;
8883 /* ffclock_setestimate */
8884 case 242:
8885 if (ndx == 0 || ndx == 1)
8886 p = "int";
8887 break;
8888 /* ffclock_getestimate */
8889 case 243:
8890 if (ndx == 0 || ndx == 1)
8891 p = "int";
8892 break;
8893 /* minherit */
8894 case 250:
8895 if (ndx == 0 || ndx == 1)
8896 p = "int";
8897 break;
8898 /* rfork */
8899 case 251:
8900 if (ndx == 0 || ndx == 1)
8901 p = "int";
8902 break;
8903 /* openbsd_poll */
8904 case 252:
8905 if (ndx == 0 || ndx == 1)
8906 p = "int";
8907 break;
8908 /* issetugid */
8909 case 253:
8910 /* lchown */
8911 case 254:
8912 if (ndx == 0 || ndx == 1)
8913 p = "int";
8914 break;
8915 /* freebsd32_aio_read */
8916 case 255:
8917 if (ndx == 0 || ndx == 1)
8918 p = "int";
8919 break;
8920 /* freebsd32_aio_write */
8921 case 256:
8922 if (ndx == 0 || ndx == 1)
8923 p = "int";
8924 break;
8925 /* freebsd32_lio_listio */
8926 case 257:
8927 if (ndx == 0 || ndx == 1)
8928 p = "int";
8929 break;
8930 /* getdents */
8931 case 272:
8932 if (ndx == 0 || ndx == 1)
8933 p = "int";
8934 break;
8935 /* lchmod */
8936 case 274:
8937 if (ndx == 0 || ndx == 1)
8938 p = "int";
8939 break;
8940 /* lchown */
8941 case 275:
8942 if (ndx == 0 || ndx == 1)
8943 p = "int";
8944 break;
8945 /* freebsd32_lutimes */
8946 case 276:
8947 if (ndx == 0 || ndx == 1)
8948 p = "int";
8949 break;
8950 /* msync */
8951 case 277:
8952 if (ndx == 0 || ndx == 1)
8953 p = "int";
8954 break;
8955 /* nstat */
8956 case 278:
8957 if (ndx == 0 || ndx == 1)
8958 p = "int";
8959 break;
8960 /* nfstat */
8961 case 279:
8962 if (ndx == 0 || ndx == 1)
8963 p = "int";
8964 break;
8965 /* nlstat */
8966 case 280:
8967 if (ndx == 0 || ndx == 1)
8968 p = "int";
8969 break;
8970 /* freebsd32_preadv */
8971 case 289:
8972 if (ndx == 0 || ndx == 1)
8973 p = "ssize_t";
8974 break;
8975 /* freebsd32_pwritev */
8976 case 290:
8977 if (ndx == 0 || ndx == 1)
8978 p = "ssize_t";
8979 break;
8980 /* fhopen */
8981 case 298:
8982 if (ndx == 0 || ndx == 1)
8983 p = "int";
8984 break;
8985 /* fhstat */
8986 case 299:
8987 if (ndx == 0 || ndx == 1)
8988 p = "int";
8989 break;
8990 /* modnext */
8991 case 300:
8992 if (ndx == 0 || ndx == 1)
8993 p = "int";
8994 break;
8995 /* freebsd32_modstat */
8996 case 301:
8997 if (ndx == 0 || ndx == 1)
8998 p = "int";
8999 break;
9000 /* modfnext */
9001 case 302:
9002 if (ndx == 0 || ndx == 1)
9003 p = "int";
9004 break;
9005 /* modfind */
9006 case 303:
9007 if (ndx == 0 || ndx == 1)
9008 p = "int";
9009 break;
9010 /* kldload */
9011 case 304:
9012 if (ndx == 0 || ndx == 1)
9013 p = "int";
9014 break;
9015 /* kldunload */
9016 case 305:
9017 if (ndx == 0 || ndx == 1)
9018 p = "int";
9019 break;
9020 /* kldfind */
9021 case 306:
9022 if (ndx == 0 || ndx == 1)
9023 p = "int";
9024 break;
9025 /* kldnext */
9026 case 307:
9027 if (ndx == 0 || ndx == 1)
9028 p = "int";
9029 break;
9030 /* freebsd32_kldstat */
9031 case 308:
9032 if (ndx == 0 || ndx == 1)
9033 p = "int";
9034 break;
9035 /* kldfirstmod */
9036 case 309:
9037 if (ndx == 0 || ndx == 1)
9038 p = "int";
9039 break;
9040 /* getsid */
9041 case 310:
9042 if (ndx == 0 || ndx == 1)
9043 p = "int";
9044 break;
9045 /* setresuid */
9046 case 311:
9047 if (ndx == 0 || ndx == 1)
9048 p = "int";
9049 break;
9050 /* setresgid */
9051 case 312:
9052 if (ndx == 0 || ndx == 1)
9053 p = "int";
9054 break;
9055 /* freebsd32_aio_return */
9056 case 314:
9057 if (ndx == 0 || ndx == 1)
9058 p = "int";
9059 break;
9060 /* freebsd32_aio_suspend */
9061 case 315:
9062 if (ndx == 0 || ndx == 1)
9063 p = "int";
9064 break;
9065 /* freebsd32_aio_cancel */
9066 case 316:
9067 if (ndx == 0 || ndx == 1)
9068 p = "int";
9069 break;
9070 /* freebsd32_aio_error */
9071 case 317:
9072 if (ndx == 0 || ndx == 1)
9073 p = "int";
9074 break;
9075 /* freebsd32_oaio_read */
9076 case 318:
9077 if (ndx == 0 || ndx == 1)
9078 p = "int";
9079 break;
9080 /* freebsd32_oaio_write */
9081 case 319:
9082 if (ndx == 0 || ndx == 1)
9083 p = "int";
9084 break;
9085 /* freebsd32_olio_listio */
9086 case 320:
9087 if (ndx == 0 || ndx == 1)
9088 p = "int";
9089 break;
9090 /* yield */
9091 case 321:
9092 /* mlockall */
9093 case 324:
9094 if (ndx == 0 || ndx == 1)
9095 p = "int";
9096 break;
9097 /* munlockall */
9098 case 325:
9099 /* __getcwd */
9100 case 326:
9101 if (ndx == 0 || ndx == 1)
9102 p = "int";
9103 break;
9104 /* sched_setparam */
9105 case 327:
9106 if (ndx == 0 || ndx == 1)
9107 p = "int";
9108 break;
9109 /* sched_getparam */
9110 case 328:
9111 if (ndx == 0 || ndx == 1)
9112 p = "int";
9113 break;
9114 /* sched_setscheduler */
9115 case 329:
9116 if (ndx == 0 || ndx == 1)
9117 p = "int";
9118 break;
9119 /* sched_getscheduler */
9120 case 330:
9121 if (ndx == 0 || ndx == 1)
9122 p = "int";
9123 break;
9124 /* sched_yield */
9125 case 331:
9126 /* sched_get_priority_max */
9127 case 332:
9128 if (ndx == 0 || ndx == 1)
9129 p = "int";
9130 break;
9131 /* sched_get_priority_min */
9132 case 333:
9133 if (ndx == 0 || ndx == 1)
9134 p = "int";
9135 break;
9136 /* sched_rr_get_interval */
9137 case 334:
9138 if (ndx == 0 || ndx == 1)
9139 p = "int";
9140 break;
9141 /* utrace */
9142 case 335:
9143 if (ndx == 0 || ndx == 1)
9144 p = "int";
9145 break;
9146 /* kldsym */
9147 case 337:
9148 if (ndx == 0 || ndx == 1)
9149 p = "int";
9150 break;
9151 /* freebsd32_jail */
9152 case 338:
9153 if (ndx == 0 || ndx == 1)
9154 p = "int";
9155 break;
9156 /* sigprocmask */
9157 case 340:
9158 if (ndx == 0 || ndx == 1)
9159 p = "int";
9160 break;
9161 /* sigsuspend */
9162 case 341:
9163 if (ndx == 0 || ndx == 1)
9164 p = "int";
9165 break;
9166 /* sigpending */
9167 case 343:
9168 if (ndx == 0 || ndx == 1)
9169 p = "int";
9170 break;
9171 /* freebsd32_sigtimedwait */
9172 case 345:
9173 if (ndx == 0 || ndx == 1)
9174 p = "int";
9175 break;
9176 /* freebsd32_sigwaitinfo */
9177 case 346:
9178 if (ndx == 0 || ndx == 1)
9179 p = "int";
9180 break;
9181 /* __acl_get_file */
9182 case 347:
9183 if (ndx == 0 || ndx == 1)
9184 p = "int";
9185 break;
9186 /* __acl_set_file */
9187 case 348:
9188 if (ndx == 0 || ndx == 1)
9189 p = "int";
9190 break;
9191 /* __acl_get_fd */
9192 case 349:
9193 if (ndx == 0 || ndx == 1)
9194 p = "int";
9195 break;
9196 /* __acl_set_fd */
9197 case 350:
9198 if (ndx == 0 || ndx == 1)
9199 p = "int";
9200 break;
9201 /* __acl_delete_file */
9202 case 351:
9203 if (ndx == 0 || ndx == 1)
9204 p = "int";
9205 break;
9206 /* __acl_delete_fd */
9207 case 352:
9208 if (ndx == 0 || ndx == 1)
9209 p = "int";
9210 break;
9211 /* __acl_aclcheck_file */
9212 case 353:
9213 if (ndx == 0 || ndx == 1)
9214 p = "int";
9215 break;
9216 /* __acl_aclcheck_fd */
9217 case 354:
9218 if (ndx == 0 || ndx == 1)
9219 p = "int";
9220 break;
9221 /* extattrctl */
9222 case 355:
9223 if (ndx == 0 || ndx == 1)
9224 p = "int";
9225 break;
9226 /* extattr_set_file */
9227 case 356:
9228 if (ndx == 0 || ndx == 1)
9229 p = "int";
9230 break;
9231 /* extattr_get_file */
9232 case 357:
9233 if (ndx == 0 || ndx == 1)
9234 p = "ssize_t";
9235 break;
9236 /* extattr_delete_file */
9237 case 358:
9238 if (ndx == 0 || ndx == 1)
9239 p = "int";
9240 break;
9241 /* freebsd32_aio_waitcomplete */
9242 case 359:
9243 if (ndx == 0 || ndx == 1)
9244 p = "int";
9245 break;
9246 /* getresuid */
9247 case 360:
9248 if (ndx == 0 || ndx == 1)
9249 p = "int";
9250 break;
9251 /* getresgid */
9252 case 361:
9253 if (ndx == 0 || ndx == 1)
9254 p = "int";
9255 break;
9256 /* kqueue */
9257 case 362:
9258 /* freebsd32_kevent */
9259 case 363:
9260 if (ndx == 0 || ndx == 1)
9261 p = "int";
9262 break;
9263 /* extattr_set_fd */
9264 case 371:
9265 if (ndx == 0 || ndx == 1)
9266 p = "int";
9267 break;
9268 /* extattr_get_fd */
9269 case 372:
9270 if (ndx == 0 || ndx == 1)
9271 p = "ssize_t";
9272 break;
9273 /* extattr_delete_fd */
9274 case 373:
9275 if (ndx == 0 || ndx == 1)
9276 p = "int";
9277 break;
9278 /* __setugid */
9279 case 374:
9280 if (ndx == 0 || ndx == 1)
9281 p = "int";
9282 break;
9283 /* eaccess */
9284 case 376:
9285 if (ndx == 0 || ndx == 1)
9286 p = "int";
9287 break;
9288 /* freebsd32_nmount */
9289 case 378:
9290 if (ndx == 0 || ndx == 1)
9291 p = "int";
9292 break;
9293 /* kenv */
9294 case 390:
9295 if (ndx == 0 || ndx == 1)
9296 p = "int";
9297 break;
9298 /* lchflags */
9299 case 391:
9300 if (ndx == 0 || ndx == 1)
9301 p = "int";
9302 break;
9303 /* uuidgen */
9304 case 392:
9305 if (ndx == 0 || ndx == 1)
9306 p = "int";
9307 break;
9308 /* freebsd32_sendfile */
9309 case 393:
9310 if (ndx == 0 || ndx == 1)
9311 p = "int";
9312 break;
9313 /* getfsstat */
9314 case 395:
9315 if (ndx == 0 || ndx == 1)
9316 p = "int";
9317 break;
9318 /* statfs */
9319 case 396:
9320 if (ndx == 0 || ndx == 1)
9321 p = "int";
9322 break;
9323 /* fstatfs */
9324 case 397:
9325 if (ndx == 0 || ndx == 1)
9326 p = "int";
9327 break;
9328 /* fhstatfs */
9329 case 398:
9330 if (ndx == 0 || ndx == 1)
9331 p = "int";
9332 break;
9333 /* ksem_close */
9334 case 400:
9335 if (ndx == 0 || ndx == 1)
9336 p = "int";
9337 break;
9338 /* ksem_post */
9339 case 401:
9340 if (ndx == 0 || ndx == 1)
9341 p = "int";
9342 break;
9343 /* ksem_wait */
9344 case 402:
9345 if (ndx == 0 || ndx == 1)
9346 p = "int";
9347 break;
9348 /* ksem_trywait */
9349 case 403:
9350 if (ndx == 0 || ndx == 1)
9351 p = "int";
9352 break;
9353 /* freebsd32_ksem_init */
9354 case 404:
9355 if (ndx == 0 || ndx == 1)
9356 p = "int";
9357 break;
9358 /* freebsd32_ksem_open */
9359 case 405:
9360 if (ndx == 0 || ndx == 1)
9361 p = "int";
9362 break;
9363 /* ksem_unlink */
9364 case 406:
9365 if (ndx == 0 || ndx == 1)
9366 p = "int";
9367 break;
9368 /* ksem_getvalue */
9369 case 407:
9370 if (ndx == 0 || ndx == 1)
9371 p = "int";
9372 break;
9373 /* ksem_destroy */
9374 case 408:
9375 if (ndx == 0 || ndx == 1)
9376 p = "int";
9377 break;
9378 /* extattr_set_link */
9379 case 412:
9380 if (ndx == 0 || ndx == 1)
9381 p = "int";
9382 break;
9383 /* extattr_get_link */
9384 case 413:
9385 if (ndx == 0 || ndx == 1)
9386 p = "ssize_t";
9387 break;
9388 /* extattr_delete_link */
9389 case 414:
9390 if (ndx == 0 || ndx == 1)
9391 p = "int";
9392 break;
9393 /* freebsd32_sigaction */
9394 case 416:
9395 if (ndx == 0 || ndx == 1)
9396 p = "int";
9397 break;
9398 /* freebsd32_sigreturn */
9399 case 417:
9400 if (ndx == 0 || ndx == 1)
9401 p = "int";
9402 break;
9403 /* freebsd32_getcontext */
9404 case 421:
9405 if (ndx == 0 || ndx == 1)
9406 p = "int";
9407 break;
9408 /* freebsd32_setcontext */
9409 case 422:
9410 if (ndx == 0 || ndx == 1)
9411 p = "int";
9412 break;
9413 /* freebsd32_swapcontext */
9414 case 423:
9415 if (ndx == 0 || ndx == 1)
9416 p = "int";
9417 break;
9418 /* __acl_get_link */
9419 case 425:
9420 if (ndx == 0 || ndx == 1)
9421 p = "int";
9422 break;
9423 /* __acl_set_link */
9424 case 426:
9425 if (ndx == 0 || ndx == 1)
9426 p = "int";
9427 break;
9428 /* __acl_delete_link */
9429 case 427:
9430 if (ndx == 0 || ndx == 1)
9431 p = "int";
9432 break;
9433 /* __acl_aclcheck_link */
9434 case 428:
9435 if (ndx == 0 || ndx == 1)
9436 p = "int";
9437 break;
9438 /* sigwait */
9439 case 429:
9440 if (ndx == 0 || ndx == 1)
9441 p = "int";
9442 break;
9443 /* thr_exit */
9444 case 431:
9445 if (ndx == 0 || ndx == 1)
9446 p = "void";
9447 break;
9448 /* thr_self */
9449 case 432:
9450 if (ndx == 0 || ndx == 1)
9451 p = "int";
9452 break;
9453 /* thr_kill */
9454 case 433:
9455 if (ndx == 0 || ndx == 1)
9456 p = "int";
9457 break;
9458 /* freebsd32_umtx_lock */
9459 case 434:
9460 if (ndx == 0 || ndx == 1)
9461 p = "int";
9462 break;
9463 /* freebsd32_umtx_unlock */
9464 case 435:
9465 if (ndx == 0 || ndx == 1)
9466 p = "int";
9467 break;
9468 /* jail_attach */
9469 case 436:
9470 if (ndx == 0 || ndx == 1)
9471 p = "int";
9472 break;
9473 /* extattr_list_fd */
9474 case 437:
9475 if (ndx == 0 || ndx == 1)
9476 p = "ssize_t";
9477 break;
9478 /* extattr_list_file */
9479 case 438:
9480 if (ndx == 0 || ndx == 1)
9481 p = "ssize_t";
9482 break;
9483 /* extattr_list_link */
9484 case 439:
9485 if (ndx == 0 || ndx == 1)
9486 p = "ssize_t";
9487 break;
9488 /* freebsd32_ksem_timedwait */
9489 case 441:
9490 if (ndx == 0 || ndx == 1)
9491 p = "int";
9492 break;
9493 /* freebsd32_thr_suspend */
9494 case 442:
9495 if (ndx == 0 || ndx == 1)
9496 p = "int";
9497 break;
9498 /* thr_wake */
9499 case 443:
9500 if (ndx == 0 || ndx == 1)
9501 p = "int";
9502 break;
9503 /* kldunloadf */
9504 case 444:
9505 if (ndx == 0 || ndx == 1)
9506 p = "int";
9507 break;
9508 /* audit */
9509 case 445:
9510 if (ndx == 0 || ndx == 1)
9511 p = "int";
9512 break;
9513 /* auditon */
9514 case 446:
9515 if (ndx == 0 || ndx == 1)
9516 p = "int";
9517 break;
9518 /* getauid */
9519 case 447:
9520 if (ndx == 0 || ndx == 1)
9521 p = "int";
9522 break;
9523 /* setauid */
9524 case 448:
9525 if (ndx == 0 || ndx == 1)
9526 p = "int";
9527 break;
9528 /* getaudit */
9529 case 449:
9530 if (ndx == 0 || ndx == 1)
9531 p = "int";
9532 break;
9533 /* setaudit */
9534 case 450:
9535 if (ndx == 0 || ndx == 1)
9536 p = "int";
9537 break;
9538 /* getaudit_addr */
9539 case 451:
9540 if (ndx == 0 || ndx == 1)
9541 p = "int";
9542 break;
9543 /* setaudit_addr */
9544 case 452:
9545 if (ndx == 0 || ndx == 1)
9546 p = "int";
9547 break;
9548 /* auditctl */
9549 case 453:
9550 if (ndx == 0 || ndx == 1)
9551 p = "int";
9552 break;
9553 /* freebsd32_umtx_op */
9554 case 454:
9555 if (ndx == 0 || ndx == 1)
9556 p = "int";
9557 break;
9558 /* freebsd32_thr_new */
9559 case 455:
9560 if (ndx == 0 || ndx == 1)
9561 p = "int";
9562 break;
9563 /* sigqueue */
9564 case 456:
9565 if (ndx == 0 || ndx == 1)
9566 p = "int";
9567 break;
9568 /* freebsd32_kmq_open */
9569 case 457:
9570 if (ndx == 0 || ndx == 1)
9571 p = "int";
9572 break;
9573 /* freebsd32_kmq_setattr */
9574 case 458:
9575 if (ndx == 0 || ndx == 1)
9576 p = "int";
9577 break;
9578 /* freebsd32_kmq_timedreceive */
9579 case 459:
9580 if (ndx == 0 || ndx == 1)
9581 p = "int";
9582 break;
9583 /* freebsd32_kmq_timedsend */
9584 case 460:
9585 if (ndx == 0 || ndx == 1)
9586 p = "int";
9587 break;
9588 /* kmq_notify */
9589 case 461:
9590 if (ndx == 0 || ndx == 1)
9591 p = "int";
9592 break;
9593 /* kmq_unlink */
9594 case 462:
9595 if (ndx == 0 || ndx == 1)
9596 p = "int";
9597 break;
9598 /* abort2 */
9599 case 463:
9600 if (ndx == 0 || ndx == 1)
9601 p = "int";
9602 break;
9603 /* thr_set_name */
9604 case 464:
9605 if (ndx == 0 || ndx == 1)
9606 p = "int";
9607 break;
9608 /* freebsd32_aio_fsync */
9609 case 465:
9610 if (ndx == 0 || ndx == 1)
9611 p = "int";
9612 break;
9613 /* rtprio_thread */
9614 case 466:
9615 if (ndx == 0 || ndx == 1)
9616 p = "int";
9617 break;
9618 /* sctp_peeloff */
9619 case 471:
9620 if (ndx == 0 || ndx == 1)
9621 p = "int";
9622 break;
9623 /* sctp_generic_sendmsg */
9624 case 472:
9625 if (ndx == 0 || ndx == 1)
9626 p = "int";
9627 break;
9628 /* sctp_generic_sendmsg_iov */
9629 case 473:
9630 if (ndx == 0 || ndx == 1)
9631 p = "int";
9632 break;
9633 /* sctp_generic_recvmsg */
9634 case 474:
9635 if (ndx == 0 || ndx == 1)
9636 p = "int";
9637 break;
9638#ifdef PAD64_REQUIRED
9639 /* freebsd32_pread */
9640 case 475:
9641 if (ndx == 0 || ndx == 1)
9642 p = "ssize_t";
9643 break;
9644 /* freebsd32_pwrite */
9645 case 476:
9646 if (ndx == 0 || ndx == 1)
9647 p = "ssize_t";
9648 break;
9649 /* freebsd32_mmap */
9650 case 477:
9651 if (ndx == 0 || ndx == 1)
9652 p = "caddr_t";
9653 break;
9654 /* freebsd32_lseek */
9655 case 478:
9656 if (ndx == 0 || ndx == 1)
9657 p = "off_t";
9658 break;
9659 /* freebsd32_truncate */
9660 case 479:
9661 if (ndx == 0 || ndx == 1)
9662 p = "int";
9663 break;
9664 /* freebsd32_ftruncate */
9665 case 480:
9666 if (ndx == 0 || ndx == 1)
9667 p = "int";
9668 break;
9669#else
9670 /* freebsd32_pread */
9671 case 475:
9672 if (ndx == 0 || ndx == 1)
9673 p = "ssize_t";
9674 break;
9675 /* freebsd32_pwrite */
9676 case 476:
9677 if (ndx == 0 || ndx == 1)
9678 p = "ssize_t";
9679 break;
9680 /* freebsd32_mmap */
9681 case 477:
9682 if (ndx == 0 || ndx == 1)
9683 p = "caddr_t";
9684 break;
9685 /* freebsd32_lseek */
9686 case 478:
9687 if (ndx == 0 || ndx == 1)
9688 p = "off_t";
9689 break;
9690 /* freebsd32_truncate */
9691 case 479:
9692 if (ndx == 0 || ndx == 1)
9693 p = "int";
9694 break;
9695 /* freebsd32_ftruncate */
9696 case 480:
9697 if (ndx == 0 || ndx == 1)
9698 p = "int";
9699 break;
9700#endif
9701 /* thr_kill2 */
9702 case 481:
9703 if (ndx == 0 || ndx == 1)
9704 p = "int";
9705 break;
9706 /* shm_open */
9707 case 482:
9708 if (ndx == 0 || ndx == 1)
9709 p = "int";
9710 break;
9711 /* shm_unlink */
9712 case 483:
9713 if (ndx == 0 || ndx == 1)
9714 p = "int";
9715 break;
9716 /* cpuset */
9717 case 484:
9718 if (ndx == 0 || ndx == 1)
9719 p = "int";
9720 break;
9721#ifdef PAD64_REQUIRED
9722 /* freebsd32_cpuset_setid */
9723 case 485:
9724 if (ndx == 0 || ndx == 1)
9725 p = "int";
9726 break;
9727#else
9728 /* freebsd32_cpuset_setid */
9729 case 485:
9730 if (ndx == 0 || ndx == 1)
9731 p = "int";
9732 break;
9733#endif
9734 /* freebsd32_cpuset_getid */
9735 case 486:
9736 if (ndx == 0 || ndx == 1)
9737 p = "int";
9738 break;
9739 /* freebsd32_cpuset_getaffinity */
9740 case 487:
9741 if (ndx == 0 || ndx == 1)
9742 p = "int";
9743 break;
9744 /* freebsd32_cpuset_setaffinity */
9745 case 488:
9746 if (ndx == 0 || ndx == 1)
9747 p = "int";
9748 break;
9749 /* faccessat */
9750 case 489:
9751 if (ndx == 0 || ndx == 1)
9752 p = "int";
9753 break;
9754 /* fchmodat */
9755 case 490:
9756 if (ndx == 0 || ndx == 1)
9757 p = "int";
9758 break;
9759 /* fchownat */
9760 case 491:
9761 if (ndx == 0 || ndx == 1)
9762 p = "int";
9763 break;
9764 /* freebsd32_fexecve */
9765 case 492:
9766 if (ndx == 0 || ndx == 1)
9767 p = "int";
9768 break;
9769 /* freebsd32_fstatat */
9770 case 493:
9771 if (ndx == 0 || ndx == 1)
9772 p = "int";
9773 break;
9774 /* freebsd32_futimesat */
9775 case 494:
9776 if (ndx == 0 || ndx == 1)
9777 p = "int";
9778 break;
9779 /* linkat */
9780 case 495:
9781 if (ndx == 0 || ndx == 1)
9782 p = "int";
9783 break;
9784 /* mkdirat */
9785 case 496:
9786 if (ndx == 0 || ndx == 1)
9787 p = "int";
9788 break;
9789 /* mkfifoat */
9790 case 497:
9791 if (ndx == 0 || ndx == 1)
9792 p = "int";
9793 break;
9794 /* mknodat */
9795 case 498:
9796 if (ndx == 0 || ndx == 1)
9797 p = "int";
9798 break;
9799 /* openat */
9800 case 499:
9801 if (ndx == 0 || ndx == 1)
9802 p = "int";
9803 break;
9804 /* readlinkat */
9805 case 500:
9806 if (ndx == 0 || ndx == 1)
9807 p = "int";
9808 break;
9809 /* renameat */
9810 case 501:
9811 if (ndx == 0 || ndx == 1)
9812 p = "int";
9813 break;
9814 /* symlinkat */
9815 case 502:
9816 if (ndx == 0 || ndx == 1)
9817 p = "int";
9818 break;
9819 /* unlinkat */
9820 case 503:
9821 if (ndx == 0 || ndx == 1)
9822 p = "int";
9823 break;
9824 /* posix_openpt */
9825 case 504:
9826 if (ndx == 0 || ndx == 1)
9827 p = "int";
9828 break;
9829 /* freebsd32_jail_get */
9830 case 506:
9831 if (ndx == 0 || ndx == 1)
9832 p = "int";
9833 break;
9834 /* freebsd32_jail_set */
9835 case 507:
9836 if (ndx == 0 || ndx == 1)
9837 p = "int";
9838 break;
9839 /* jail_remove */
9840 case 508:
9841 if (ndx == 0 || ndx == 1)
9842 p = "int";
9843 break;
9844 /* closefrom */
9845 case 509:
9846 if (ndx == 0 || ndx == 1)
9847 p = "int";
9848 break;
9849 /* freebsd32_semctl */
9850 case 510:
9851 if (ndx == 0 || ndx == 1)
9852 p = "int";
9853 break;
9854 /* freebsd32_msgctl */
9855 case 511:
9856 if (ndx == 0 || ndx == 1)
9857 p = "int";
9858 break;
9859 /* freebsd32_shmctl */
9860 case 512:
9861 if (ndx == 0 || ndx == 1)
9862 p = "int";
9863 break;
9864 /* lpathconf */
9865 case 513:
9866 if (ndx == 0 || ndx == 1)
9867 p = "int";
9868 break;
9869 /* cap_new */
9870 case 514:
9871 if (ndx == 0 || ndx == 1)
9872 p = "int";
9873 break;
9874 /* cap_getrights */
9875 case 515:
9876 if (ndx == 0 || ndx == 1)
9877 p = "int";
9878 break;
9879 /* cap_enter */
9880 case 516:
9881 /* cap_getmode */
9882 case 517:
9883 if (ndx == 0 || ndx == 1)
9884 p = "int";
9885 break;
9886 /* freebsd32_pselect */
9887 case 522:
9888 if (ndx == 0 || ndx == 1)
9889 p = "int";
9890 break;
9891 /* getloginclass */
9892 case 523:
9893 if (ndx == 0 || ndx == 1)
9894 p = "int";
9895 break;
9896 /* setloginclass */
9897 case 524:
9898 if (ndx == 0 || ndx == 1)
9899 p = "int";
9900 break;
9901 /* rctl_get_racct */
9902 case 525:
9903 if (ndx == 0 || ndx == 1)
9904 p = "int";
9905 break;
9906 /* rctl_get_rules */
9907 case 526:
9908 if (ndx == 0 || ndx == 1)
9909 p = "int";
9910 break;
9911 /* rctl_get_limits */
9912 case 527:
9913 if (ndx == 0 || ndx == 1)
9914 p = "int";
9915 break;
9916 /* rctl_add_rule */
9917 case 528:
9918 if (ndx == 0 || ndx == 1)
9919 p = "int";
9920 break;
9921 /* rctl_remove_rule */
9922 case 529:
9923 if (ndx == 0 || ndx == 1)
9924 p = "int";
9925 break;
9926 /* freebsd32_posix_fallocate */
9927 case 530:
9928 if (ndx == 0 || ndx == 1)
9929 p = "int";
9930 break;
9931 /* freebsd32_posix_fadvise */
9932 case 531:
9933 if (ndx == 0 || ndx == 1)
9934 p = "int";
9935 break;
9936 default:
9937 break;
9938 };
9939 if (p != NULL)
9940 strlcpy(desc, p, descsz);
9941}