1 #if !defined(PAD64_REQUIRED) && !defined(__amd64__)
2 #define PAD64_REQUIRED
3 #endif
4 /*
5 * System call argument to DTrace register array conversion.
6 *
7 * This file is part of the DTrace syscall provider.
8 *
9 * DO NOT EDIT-- this file is automatically @generated.
10 */
11
12 static void
systrace_args(int sysnum,void * params,uint64_t * uarg,int * n_args)13 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
14 {
15 int64_t *iarg = (int64_t *)uarg;
16 int a = 0;
17 switch (sysnum) {
18 /* syscall */
19 case 0: {
20 *n_args = 0;
21 break;
22 }
23 /* exit */
24 case 1: {
25 struct exit_args *p = params;
26 iarg[a++] = p->rval; /* int */
27 *n_args = 1;
28 break;
29 }
30 /* fork */
31 case 2: {
32 *n_args = 0;
33 break;
34 }
35 /* read */
36 case 3: {
37 struct read_args *p = params;
38 iarg[a++] = p->fd; /* int */
39 uarg[a++] = (intptr_t)p->buf; /* void * */
40 uarg[a++] = p->nbyte; /* size_t */
41 *n_args = 3;
42 break;
43 }
44 /* write */
45 case 4: {
46 struct write_args *p = params;
47 iarg[a++] = p->fd; /* int */
48 uarg[a++] = (intptr_t)p->buf; /* const void * */
49 uarg[a++] = p->nbyte; /* size_t */
50 *n_args = 3;
51 break;
52 }
53 /* open */
54 case 5: {
55 struct open_args *p = params;
56 uarg[a++] = (intptr_t)p->path; /* const char * */
57 iarg[a++] = p->flags; /* int */
58 iarg[a++] = p->mode; /* mode_t */
59 *n_args = 3;
60 break;
61 }
62 /* close */
63 case 6: {
64 struct close_args *p = params;
65 iarg[a++] = p->fd; /* int */
66 *n_args = 1;
67 break;
68 }
69 /* freebsd32_wait4 */
70 case 7: {
71 struct freebsd32_wait4_args *p = params;
72 iarg[a++] = p->pid; /* int */
73 uarg[a++] = (intptr_t)p->status; /* int * */
74 iarg[a++] = p->options; /* int */
75 uarg[a++] = (intptr_t)p->rusage; /* struct rusage32 * */
76 *n_args = 4;
77 break;
78 }
79 /* link */
80 case 9: {
81 struct link_args *p = params;
82 uarg[a++] = (intptr_t)p->path; /* const char * */
83 uarg[a++] = (intptr_t)p->link; /* const char * */
84 *n_args = 2;
85 break;
86 }
87 /* unlink */
88 case 10: {
89 struct unlink_args *p = params;
90 uarg[a++] = (intptr_t)p->path; /* const char * */
91 *n_args = 1;
92 break;
93 }
94 /* chdir */
95 case 12: {
96 struct chdir_args *p = params;
97 uarg[a++] = (intptr_t)p->path; /* const char * */
98 *n_args = 1;
99 break;
100 }
101 /* fchdir */
102 case 13: {
103 struct fchdir_args *p = params;
104 iarg[a++] = p->fd; /* int */
105 *n_args = 1;
106 break;
107 }
108 /* chmod */
109 case 15: {
110 struct chmod_args *p = params;
111 uarg[a++] = (intptr_t)p->path; /* const char * */
112 iarg[a++] = p->mode; /* mode_t */
113 *n_args = 2;
114 break;
115 }
116 /* chown */
117 case 16: {
118 struct chown_args *p = params;
119 uarg[a++] = (intptr_t)p->path; /* const char * */
120 iarg[a++] = p->uid; /* int */
121 iarg[a++] = p->gid; /* int */
122 *n_args = 3;
123 break;
124 }
125 /* break */
126 case 17: {
127 struct break_args *p = params;
128 uarg[a++] = (intptr_t)p->nsize; /* char * */
129 *n_args = 1;
130 break;
131 }
132 /* getpid */
133 case 20: {
134 *n_args = 0;
135 break;
136 }
137 /* mount */
138 case 21: {
139 struct mount_args *p = params;
140 uarg[a++] = (intptr_t)p->type; /* const char * */
141 uarg[a++] = (intptr_t)p->path; /* const char * */
142 iarg[a++] = p->flags; /* int */
143 uarg[a++] = (intptr_t)p->data; /* void * */
144 *n_args = 4;
145 break;
146 }
147 /* unmount */
148 case 22: {
149 struct unmount_args *p = params;
150 uarg[a++] = (intptr_t)p->path; /* const char * */
151 iarg[a++] = p->flags; /* int */
152 *n_args = 2;
153 break;
154 }
155 /* setuid */
156 case 23: {
157 struct setuid_args *p = params;
158 uarg[a++] = p->uid; /* uid_t */
159 *n_args = 1;
160 break;
161 }
162 /* getuid */
163 case 24: {
164 *n_args = 0;
165 break;
166 }
167 /* geteuid */
168 case 25: {
169 *n_args = 0;
170 break;
171 }
172 /* freebsd32_ptrace */
173 case 26: {
174 struct freebsd32_ptrace_args *p = params;
175 iarg[a++] = p->req; /* int */
176 iarg[a++] = p->pid; /* pid_t */
177 uarg[a++] = (intptr_t)p->addr; /* caddr_t */
178 iarg[a++] = p->data; /* int */
179 *n_args = 4;
180 break;
181 }
182 /* freebsd32_recvmsg */
183 case 27: {
184 struct freebsd32_recvmsg_args *p = params;
185 iarg[a++] = p->s; /* int */
186 uarg[a++] = (intptr_t)p->msg; /* struct msghdr32 * */
187 iarg[a++] = p->flags; /* int */
188 *n_args = 3;
189 break;
190 }
191 /* freebsd32_sendmsg */
192 case 28: {
193 struct freebsd32_sendmsg_args *p = params;
194 iarg[a++] = p->s; /* int */
195 uarg[a++] = (intptr_t)p->msg; /* const struct msghdr32 * */
196 iarg[a++] = p->flags; /* int */
197 *n_args = 3;
198 break;
199 }
200 /* recvfrom */
201 case 29: {
202 struct recvfrom_args *p = params;
203 iarg[a++] = p->s; /* int */
204 uarg[a++] = (intptr_t)p->buf; /* void * */
205 uarg[a++] = p->len; /* size_t */
206 iarg[a++] = p->flags; /* int */
207 uarg[a++] = (intptr_t)p->from; /* struct sockaddr * */
208 uarg[a++] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
209 *n_args = 6;
210 break;
211 }
212 /* accept */
213 case 30: {
214 struct accept_args *p = params;
215 iarg[a++] = p->s; /* int */
216 uarg[a++] = (intptr_t)p->name; /* struct sockaddr * */
217 uarg[a++] = (intptr_t)p->anamelen; /* __socklen_t * */
218 *n_args = 3;
219 break;
220 }
221 /* getpeername */
222 case 31: {
223 struct getpeername_args *p = params;
224 iarg[a++] = p->fdes; /* int */
225 uarg[a++] = (intptr_t)p->asa; /* struct sockaddr * */
226 uarg[a++] = (intptr_t)p->alen; /* __socklen_t * */
227 *n_args = 3;
228 break;
229 }
230 /* getsockname */
231 case 32: {
232 struct getsockname_args *p = params;
233 iarg[a++] = p->fdes; /* int */
234 uarg[a++] = (intptr_t)p->asa; /* struct sockaddr * */
235 uarg[a++] = (intptr_t)p->alen; /* __socklen_t * */
236 *n_args = 3;
237 break;
238 }
239 /* access */
240 case 33: {
241 struct access_args *p = params;
242 uarg[a++] = (intptr_t)p->path; /* const char * */
243 iarg[a++] = p->amode; /* int */
244 *n_args = 2;
245 break;
246 }
247 /* chflags */
248 case 34: {
249 struct chflags_args *p = params;
250 uarg[a++] = (intptr_t)p->path; /* const char * */
251 uarg[a++] = p->flags; /* u_long */
252 *n_args = 2;
253 break;
254 }
255 /* fchflags */
256 case 35: {
257 struct fchflags_args *p = params;
258 iarg[a++] = p->fd; /* int */
259 uarg[a++] = p->flags; /* u_long */
260 *n_args = 2;
261 break;
262 }
263 /* sync */
264 case 36: {
265 *n_args = 0;
266 break;
267 }
268 /* kill */
269 case 37: {
270 struct kill_args *p = params;
271 iarg[a++] = p->pid; /* int */
272 iarg[a++] = p->signum; /* int */
273 *n_args = 2;
274 break;
275 }
276 /* getppid */
277 case 39: {
278 *n_args = 0;
279 break;
280 }
281 /* dup */
282 case 41: {
283 struct dup_args *p = params;
284 uarg[a++] = p->fd; /* u_int */
285 *n_args = 1;
286 break;
287 }
288 /* getegid */
289 case 43: {
290 *n_args = 0;
291 break;
292 }
293 /* profil */
294 case 44: {
295 struct profil_args *p = params;
296 uarg[a++] = (intptr_t)p->samples; /* char * */
297 uarg[a++] = p->size; /* size_t */
298 uarg[a++] = p->offset; /* size_t */
299 uarg[a++] = p->scale; /* u_int */
300 *n_args = 4;
301 break;
302 }
303 /* ktrace */
304 case 45: {
305 struct ktrace_args *p = params;
306 uarg[a++] = (intptr_t)p->fname; /* const char * */
307 iarg[a++] = p->ops; /* int */
308 iarg[a++] = p->facs; /* int */
309 iarg[a++] = p->pid; /* int */
310 *n_args = 4;
311 break;
312 }
313 /* getgid */
314 case 47: {
315 *n_args = 0;
316 break;
317 }
318 /* getlogin */
319 case 49: {
320 struct getlogin_args *p = params;
321 uarg[a++] = (intptr_t)p->namebuf; /* char * */
322 uarg[a++] = p->namelen; /* u_int */
323 *n_args = 2;
324 break;
325 }
326 /* setlogin */
327 case 50: {
328 struct setlogin_args *p = params;
329 uarg[a++] = (intptr_t)p->namebuf; /* const char * */
330 *n_args = 1;
331 break;
332 }
333 /* acct */
334 case 51: {
335 struct acct_args *p = params;
336 uarg[a++] = (intptr_t)p->path; /* const char * */
337 *n_args = 1;
338 break;
339 }
340 /* freebsd32_sigaltstack */
341 case 53: {
342 struct freebsd32_sigaltstack_args *p = params;
343 uarg[a++] = (intptr_t)p->ss; /* const struct sigaltstack32 * */
344 uarg[a++] = (intptr_t)p->oss; /* struct sigaltstack32 * */
345 *n_args = 2;
346 break;
347 }
348 /* freebsd32_ioctl */
349 case 54: {
350 struct freebsd32_ioctl_args *p = params;
351 iarg[a++] = p->fd; /* int */
352 uarg[a++] = p->com; /* u_long */
353 uarg[a++] = (intptr_t)p->data; /* char * */
354 *n_args = 3;
355 break;
356 }
357 /* reboot */
358 case 55: {
359 struct reboot_args *p = params;
360 iarg[a++] = p->opt; /* int */
361 *n_args = 1;
362 break;
363 }
364 /* revoke */
365 case 56: {
366 struct revoke_args *p = params;
367 uarg[a++] = (intptr_t)p->path; /* const char * */
368 *n_args = 1;
369 break;
370 }
371 /* symlink */
372 case 57: {
373 struct symlink_args *p = params;
374 uarg[a++] = (intptr_t)p->path; /* const char * */
375 uarg[a++] = (intptr_t)p->link; /* const char * */
376 *n_args = 2;
377 break;
378 }
379 /* readlink */
380 case 58: {
381 struct readlink_args *p = params;
382 uarg[a++] = (intptr_t)p->path; /* const char * */
383 uarg[a++] = (intptr_t)p->buf; /* char * */
384 uarg[a++] = p->count; /* size_t */
385 *n_args = 3;
386 break;
387 }
388 /* freebsd32_execve */
389 case 59: {
390 struct freebsd32_execve_args *p = params;
391 uarg[a++] = (intptr_t)p->fname; /* const char * */
392 uarg[a++] = (intptr_t)p->argv; /* uint32_t * */
393 uarg[a++] = (intptr_t)p->envv; /* uint32_t * */
394 *n_args = 3;
395 break;
396 }
397 /* umask */
398 case 60: {
399 struct umask_args *p = params;
400 iarg[a++] = p->newmask; /* mode_t */
401 *n_args = 1;
402 break;
403 }
404 /* chroot */
405 case 61: {
406 struct chroot_args *p = params;
407 uarg[a++] = (intptr_t)p->path; /* const char * */
408 *n_args = 1;
409 break;
410 }
411 /* msync */
412 case 65: {
413 struct msync_args *p = params;
414 uarg[a++] = (intptr_t)p->addr; /* void * */
415 uarg[a++] = p->len; /* size_t */
416 iarg[a++] = p->flags; /* int */
417 *n_args = 3;
418 break;
419 }
420 /* vfork */
421 case 66: {
422 *n_args = 0;
423 break;
424 }
425 /* munmap */
426 case 73: {
427 struct munmap_args *p = params;
428 uarg[a++] = (intptr_t)p->addr; /* void * */
429 uarg[a++] = p->len; /* size_t */
430 *n_args = 2;
431 break;
432 }
433 /* freebsd32_mprotect */
434 case 74: {
435 struct freebsd32_mprotect_args *p = params;
436 uarg[a++] = (intptr_t)p->addr; /* void * */
437 uarg[a++] = p->len; /* size_t */
438 iarg[a++] = p->prot; /* int */
439 *n_args = 3;
440 break;
441 }
442 /* madvise */
443 case 75: {
444 struct madvise_args *p = params;
445 uarg[a++] = (intptr_t)p->addr; /* void * */
446 uarg[a++] = p->len; /* size_t */
447 iarg[a++] = p->behav; /* int */
448 *n_args = 3;
449 break;
450 }
451 /* mincore */
452 case 78: {
453 struct mincore_args *p = params;
454 uarg[a++] = (intptr_t)p->addr; /* const void * */
455 uarg[a++] = p->len; /* size_t */
456 uarg[a++] = (intptr_t)p->vec; /* char * */
457 *n_args = 3;
458 break;
459 }
460 /* getgroups */
461 case 79: {
462 struct getgroups_args *p = params;
463 iarg[a++] = p->gidsetsize; /* int */
464 uarg[a++] = (intptr_t)p->gidset; /* gid_t * */
465 *n_args = 2;
466 break;
467 }
468 /* setgroups */
469 case 80: {
470 struct setgroups_args *p = params;
471 iarg[a++] = p->gidsetsize; /* int */
472 uarg[a++] = (intptr_t)p->gidset; /* const gid_t * */
473 *n_args = 2;
474 break;
475 }
476 /* getpgrp */
477 case 81: {
478 *n_args = 0;
479 break;
480 }
481 /* setpgid */
482 case 82: {
483 struct setpgid_args *p = params;
484 iarg[a++] = p->pid; /* int */
485 iarg[a++] = p->pgid; /* int */
486 *n_args = 2;
487 break;
488 }
489 /* freebsd32_setitimer */
490 case 83: {
491 struct freebsd32_setitimer_args *p = params;
492 iarg[a++] = p->which; /* int */
493 uarg[a++] = (intptr_t)p->itv; /* const struct itimerval32 * */
494 uarg[a++] = (intptr_t)p->oitv; /* struct itimerval32 * */
495 *n_args = 3;
496 break;
497 }
498 /* swapon */
499 case 85: {
500 struct swapon_args *p = params;
501 uarg[a++] = (intptr_t)p->name; /* const char * */
502 *n_args = 1;
503 break;
504 }
505 /* freebsd32_getitimer */
506 case 86: {
507 struct freebsd32_getitimer_args *p = params;
508 iarg[a++] = p->which; /* int */
509 uarg[a++] = (intptr_t)p->itv; /* struct itimerval32 * */
510 *n_args = 2;
511 break;
512 }
513 /* getdtablesize */
514 case 89: {
515 *n_args = 0;
516 break;
517 }
518 /* dup2 */
519 case 90: {
520 struct dup2_args *p = params;
521 uarg[a++] = p->from; /* u_int */
522 uarg[a++] = p->to; /* u_int */
523 *n_args = 2;
524 break;
525 }
526 /* freebsd32_fcntl */
527 case 92: {
528 struct freebsd32_fcntl_args *p = params;
529 iarg[a++] = p->fd; /* int */
530 iarg[a++] = p->cmd; /* int */
531 uarg[a++] = (intptr_t)p->arg; /* intptr_t */
532 *n_args = 3;
533 break;
534 }
535 /* freebsd32_select */
536 case 93: {
537 struct freebsd32_select_args *p = params;
538 iarg[a++] = p->nd; /* int */
539 uarg[a++] = (intptr_t)p->in; /* fd_set * */
540 uarg[a++] = (intptr_t)p->ou; /* fd_set * */
541 uarg[a++] = (intptr_t)p->ex; /* fd_set * */
542 uarg[a++] = (intptr_t)p->tv; /* struct timeval32 * */
543 *n_args = 5;
544 break;
545 }
546 /* fsync */
547 case 95: {
548 struct fsync_args *p = params;
549 iarg[a++] = p->fd; /* int */
550 *n_args = 1;
551 break;
552 }
553 /* setpriority */
554 case 96: {
555 struct setpriority_args *p = params;
556 iarg[a++] = p->which; /* int */
557 iarg[a++] = p->who; /* int */
558 iarg[a++] = p->prio; /* int */
559 *n_args = 3;
560 break;
561 }
562 /* socket */
563 case 97: {
564 struct socket_args *p = params;
565 iarg[a++] = p->domain; /* int */
566 iarg[a++] = p->type; /* int */
567 iarg[a++] = p->protocol; /* int */
568 *n_args = 3;
569 break;
570 }
571 /* connect */
572 case 98: {
573 struct connect_args *p = params;
574 iarg[a++] = p->s; /* int */
575 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
576 iarg[a++] = p->namelen; /* __socklen_t */
577 *n_args = 3;
578 break;
579 }
580 /* getpriority */
581 case 100: {
582 struct getpriority_args *p = params;
583 iarg[a++] = p->which; /* int */
584 iarg[a++] = p->who; /* int */
585 *n_args = 2;
586 break;
587 }
588 /* bind */
589 case 104: {
590 struct bind_args *p = params;
591 iarg[a++] = p->s; /* int */
592 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
593 iarg[a++] = p->namelen; /* __socklen_t */
594 *n_args = 3;
595 break;
596 }
597 /* setsockopt */
598 case 105: {
599 struct setsockopt_args *p = params;
600 iarg[a++] = p->s; /* int */
601 iarg[a++] = p->level; /* int */
602 iarg[a++] = p->name; /* int */
603 uarg[a++] = (intptr_t)p->val; /* const void * */
604 iarg[a++] = p->valsize; /* __socklen_t */
605 *n_args = 5;
606 break;
607 }
608 /* listen */
609 case 106: {
610 struct listen_args *p = params;
611 iarg[a++] = p->s; /* int */
612 iarg[a++] = p->backlog; /* int */
613 *n_args = 2;
614 break;
615 }
616 /* freebsd32_gettimeofday */
617 case 116: {
618 struct freebsd32_gettimeofday_args *p = params;
619 uarg[a++] = (intptr_t)p->tp; /* struct timeval32 * */
620 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
621 *n_args = 2;
622 break;
623 }
624 /* freebsd32_getrusage */
625 case 117: {
626 struct freebsd32_getrusage_args *p = params;
627 iarg[a++] = p->who; /* int */
628 uarg[a++] = (intptr_t)p->rusage; /* struct rusage32 * */
629 *n_args = 2;
630 break;
631 }
632 /* getsockopt */
633 case 118: {
634 struct getsockopt_args *p = params;
635 iarg[a++] = p->s; /* int */
636 iarg[a++] = p->level; /* int */
637 iarg[a++] = p->name; /* int */
638 uarg[a++] = (intptr_t)p->val; /* void * */
639 uarg[a++] = (intptr_t)p->avalsize; /* __socklen_t * */
640 *n_args = 5;
641 break;
642 }
643 /* freebsd32_readv */
644 case 120: {
645 struct freebsd32_readv_args *p = params;
646 iarg[a++] = p->fd; /* int */
647 uarg[a++] = (intptr_t)p->iovp; /* const struct iovec32 * */
648 uarg[a++] = p->iovcnt; /* u_int */
649 *n_args = 3;
650 break;
651 }
652 /* freebsd32_writev */
653 case 121: {
654 struct freebsd32_writev_args *p = params;
655 iarg[a++] = p->fd; /* int */
656 uarg[a++] = (intptr_t)p->iovp; /* const struct iovec32 * */
657 uarg[a++] = p->iovcnt; /* u_int */
658 *n_args = 3;
659 break;
660 }
661 /* freebsd32_settimeofday */
662 case 122: {
663 struct freebsd32_settimeofday_args *p = params;
664 uarg[a++] = (intptr_t)p->tv; /* const struct timeval32 * */
665 uarg[a++] = (intptr_t)p->tzp; /* const struct timezone * */
666 *n_args = 2;
667 break;
668 }
669 /* fchown */
670 case 123: {
671 struct fchown_args *p = params;
672 iarg[a++] = p->fd; /* int */
673 iarg[a++] = p->uid; /* int */
674 iarg[a++] = p->gid; /* int */
675 *n_args = 3;
676 break;
677 }
678 /* fchmod */
679 case 124: {
680 struct fchmod_args *p = params;
681 iarg[a++] = p->fd; /* int */
682 iarg[a++] = p->mode; /* mode_t */
683 *n_args = 2;
684 break;
685 }
686 /* setreuid */
687 case 126: {
688 struct setreuid_args *p = params;
689 iarg[a++] = p->ruid; /* int */
690 iarg[a++] = p->euid; /* int */
691 *n_args = 2;
692 break;
693 }
694 /* setregid */
695 case 127: {
696 struct setregid_args *p = params;
697 iarg[a++] = p->rgid; /* int */
698 iarg[a++] = p->egid; /* int */
699 *n_args = 2;
700 break;
701 }
702 /* rename */
703 case 128: {
704 struct rename_args *p = params;
705 uarg[a++] = (intptr_t)p->from; /* const char * */
706 uarg[a++] = (intptr_t)p->to; /* const char * */
707 *n_args = 2;
708 break;
709 }
710 /* flock */
711 case 131: {
712 struct flock_args *p = params;
713 iarg[a++] = p->fd; /* int */
714 iarg[a++] = p->how; /* int */
715 *n_args = 2;
716 break;
717 }
718 /* mkfifo */
719 case 132: {
720 struct mkfifo_args *p = params;
721 uarg[a++] = (intptr_t)p->path; /* const char * */
722 iarg[a++] = p->mode; /* mode_t */
723 *n_args = 2;
724 break;
725 }
726 /* sendto */
727 case 133: {
728 struct sendto_args *p = params;
729 iarg[a++] = p->s; /* int */
730 uarg[a++] = (intptr_t)p->buf; /* const void * */
731 uarg[a++] = p->len; /* size_t */
732 iarg[a++] = p->flags; /* int */
733 uarg[a++] = (intptr_t)p->to; /* const struct sockaddr * */
734 iarg[a++] = p->tolen; /* __socklen_t */
735 *n_args = 6;
736 break;
737 }
738 /* shutdown */
739 case 134: {
740 struct shutdown_args *p = params;
741 iarg[a++] = p->s; /* int */
742 iarg[a++] = p->how; /* int */
743 *n_args = 2;
744 break;
745 }
746 /* socketpair */
747 case 135: {
748 struct socketpair_args *p = params;
749 iarg[a++] = p->domain; /* int */
750 iarg[a++] = p->type; /* int */
751 iarg[a++] = p->protocol; /* int */
752 uarg[a++] = (intptr_t)p->rsv; /* int * */
753 *n_args = 4;
754 break;
755 }
756 /* mkdir */
757 case 136: {
758 struct mkdir_args *p = params;
759 uarg[a++] = (intptr_t)p->path; /* const char * */
760 iarg[a++] = p->mode; /* mode_t */
761 *n_args = 2;
762 break;
763 }
764 /* rmdir */
765 case 137: {
766 struct rmdir_args *p = params;
767 uarg[a++] = (intptr_t)p->path; /* const char * */
768 *n_args = 1;
769 break;
770 }
771 /* freebsd32_utimes */
772 case 138: {
773 struct freebsd32_utimes_args *p = params;
774 uarg[a++] = (intptr_t)p->path; /* const char * */
775 uarg[a++] = (intptr_t)p->tptr; /* const struct timeval32 * */
776 *n_args = 2;
777 break;
778 }
779 /* freebsd32_adjtime */
780 case 140: {
781 struct freebsd32_adjtime_args *p = params;
782 uarg[a++] = (intptr_t)p->delta; /* const struct timeval32 * */
783 uarg[a++] = (intptr_t)p->olddelta; /* struct timeval32 * */
784 *n_args = 2;
785 break;
786 }
787 /* setsid */
788 case 147: {
789 *n_args = 0;
790 break;
791 }
792 /* quotactl */
793 case 148: {
794 struct quotactl_args *p = params;
795 uarg[a++] = (intptr_t)p->path; /* const char * */
796 iarg[a++] = p->cmd; /* int */
797 iarg[a++] = p->uid; /* int */
798 uarg[a++] = (intptr_t)p->arg; /* void * */
799 *n_args = 4;
800 break;
801 }
802 /* getfh */
803 case 161: {
804 struct getfh_args *p = params;
805 uarg[a++] = (intptr_t)p->fname; /* const char * */
806 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
807 *n_args = 2;
808 break;
809 }
810 /* freebsd32_sysarch */
811 case 165: {
812 struct freebsd32_sysarch_args *p = params;
813 iarg[a++] = p->op; /* int */
814 uarg[a++] = (intptr_t)p->parms; /* char * */
815 *n_args = 2;
816 break;
817 }
818 /* rtprio */
819 case 166: {
820 struct rtprio_args *p = params;
821 iarg[a++] = p->function; /* int */
822 iarg[a++] = p->pid; /* pid_t */
823 uarg[a++] = (intptr_t)p->rtp; /* struct rtprio * */
824 *n_args = 3;
825 break;
826 }
827 /* freebsd32_semsys */
828 case 169: {
829 struct freebsd32_semsys_args *p = params;
830 iarg[a++] = p->which; /* int */
831 iarg[a++] = p->a2; /* int */
832 iarg[a++] = p->a3; /* int */
833 iarg[a++] = p->a4; /* int */
834 iarg[a++] = p->a5; /* int */
835 *n_args = 5;
836 break;
837 }
838 /* freebsd32_msgsys */
839 case 170: {
840 struct freebsd32_msgsys_args *p = params;
841 iarg[a++] = p->which; /* int */
842 iarg[a++] = p->a2; /* int */
843 iarg[a++] = p->a3; /* int */
844 iarg[a++] = p->a4; /* int */
845 iarg[a++] = p->a5; /* int */
846 iarg[a++] = p->a6; /* int */
847 *n_args = 6;
848 break;
849 }
850 /* freebsd32_shmsys */
851 case 171: {
852 struct freebsd32_shmsys_args *p = params;
853 iarg[a++] = p->which; /* int */
854 iarg[a++] = p->a2; /* int */
855 iarg[a++] = p->a3; /* int */
856 iarg[a++] = p->a4; /* int */
857 *n_args = 4;
858 break;
859 }
860 /* setfib */
861 case 175: {
862 struct setfib_args *p = params;
863 iarg[a++] = p->fibnum; /* int */
864 *n_args = 1;
865 break;
866 }
867 /* freebsd32_ntp_adjtime */
868 case 176: {
869 struct freebsd32_ntp_adjtime_args *p = params;
870 uarg[a++] = (intptr_t)p->tp; /* struct timex32 * */
871 *n_args = 1;
872 break;
873 }
874 /* setgid */
875 case 181: {
876 struct setgid_args *p = params;
877 iarg[a++] = p->gid; /* gid_t */
878 *n_args = 1;
879 break;
880 }
881 /* setegid */
882 case 182: {
883 struct setegid_args *p = params;
884 iarg[a++] = p->egid; /* gid_t */
885 *n_args = 1;
886 break;
887 }
888 /* seteuid */
889 case 183: {
890 struct seteuid_args *p = params;
891 uarg[a++] = p->euid; /* uid_t */
892 *n_args = 1;
893 break;
894 }
895 /* pathconf */
896 case 191: {
897 struct pathconf_args *p = params;
898 uarg[a++] = (intptr_t)p->path; /* const char * */
899 iarg[a++] = p->name; /* int */
900 *n_args = 2;
901 break;
902 }
903 /* fpathconf */
904 case 192: {
905 struct fpathconf_args *p = params;
906 iarg[a++] = p->fd; /* int */
907 iarg[a++] = p->name; /* int */
908 *n_args = 2;
909 break;
910 }
911 /* getrlimit */
912 case 194: {
913 struct getrlimit_args *p = params;
914 uarg[a++] = p->which; /* u_int */
915 uarg[a++] = (intptr_t)p->rlp; /* struct rlimit * */
916 *n_args = 2;
917 break;
918 }
919 /* setrlimit */
920 case 195: {
921 struct setrlimit_args *p = params;
922 uarg[a++] = p->which; /* u_int */
923 uarg[a++] = (intptr_t)p->rlp; /* struct rlimit * */
924 *n_args = 2;
925 break;
926 }
927 /* __syscall */
928 case 198: {
929 *n_args = 0;
930 break;
931 }
932 /* freebsd32___sysctl */
933 case 202: {
934 struct freebsd32___sysctl_args *p = params;
935 uarg[a++] = (intptr_t)p->name; /* int * */
936 uarg[a++] = p->namelen; /* u_int */
937 uarg[a++] = (intptr_t)p->old; /* void * */
938 uarg[a++] = (intptr_t)p->oldlenp; /* uint32_t * */
939 uarg[a++] = (intptr_t)p->new; /* const void * */
940 uarg[a++] = p->newlen; /* size_t */
941 *n_args = 6;
942 break;
943 }
944 /* mlock */
945 case 203: {
946 struct mlock_args *p = params;
947 uarg[a++] = (intptr_t)p->addr; /* const void * */
948 uarg[a++] = p->len; /* size_t */
949 *n_args = 2;
950 break;
951 }
952 /* munlock */
953 case 204: {
954 struct munlock_args *p = params;
955 uarg[a++] = (intptr_t)p->addr; /* const void * */
956 uarg[a++] = p->len; /* size_t */
957 *n_args = 2;
958 break;
959 }
960 /* undelete */
961 case 205: {
962 struct undelete_args *p = params;
963 uarg[a++] = (intptr_t)p->path; /* const char * */
964 *n_args = 1;
965 break;
966 }
967 /* freebsd32_futimes */
968 case 206: {
969 struct freebsd32_futimes_args *p = params;
970 iarg[a++] = p->fd; /* int */
971 uarg[a++] = (intptr_t)p->tptr; /* const struct timeval32 * */
972 *n_args = 2;
973 break;
974 }
975 /* getpgid */
976 case 207: {
977 struct getpgid_args *p = params;
978 iarg[a++] = p->pid; /* pid_t */
979 *n_args = 1;
980 break;
981 }
982 /* poll */
983 case 209: {
984 struct poll_args *p = params;
985 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
986 uarg[a++] = p->nfds; /* u_int */
987 iarg[a++] = p->timeout; /* int */
988 *n_args = 3;
989 break;
990 }
991 /* lkmnosys */
992 case 210: {
993 *n_args = 0;
994 break;
995 }
996 /* lkmnosys */
997 case 211: {
998 *n_args = 0;
999 break;
1000 }
1001 /* lkmnosys */
1002 case 212: {
1003 *n_args = 0;
1004 break;
1005 }
1006 /* lkmnosys */
1007 case 213: {
1008 *n_args = 0;
1009 break;
1010 }
1011 /* lkmnosys */
1012 case 214: {
1013 *n_args = 0;
1014 break;
1015 }
1016 /* lkmnosys */
1017 case 215: {
1018 *n_args = 0;
1019 break;
1020 }
1021 /* lkmnosys */
1022 case 216: {
1023 *n_args = 0;
1024 break;
1025 }
1026 /* lkmnosys */
1027 case 217: {
1028 *n_args = 0;
1029 break;
1030 }
1031 /* lkmnosys */
1032 case 218: {
1033 *n_args = 0;
1034 break;
1035 }
1036 /* lkmnosys */
1037 case 219: {
1038 *n_args = 0;
1039 break;
1040 }
1041 /* semget */
1042 case 221: {
1043 struct semget_args *p = params;
1044 iarg[a++] = p->key; /* key_t */
1045 iarg[a++] = p->nsems; /* int */
1046 iarg[a++] = p->semflg; /* int */
1047 *n_args = 3;
1048 break;
1049 }
1050 /* semop */
1051 case 222: {
1052 struct semop_args *p = params;
1053 iarg[a++] = p->semid; /* int */
1054 uarg[a++] = (intptr_t)p->sops; /* struct sembuf * */
1055 uarg[a++] = p->nsops; /* size_t */
1056 *n_args = 3;
1057 break;
1058 }
1059 /* msgget */
1060 case 225: {
1061 struct msgget_args *p = params;
1062 iarg[a++] = p->key; /* key_t */
1063 iarg[a++] = p->msgflg; /* int */
1064 *n_args = 2;
1065 break;
1066 }
1067 /* freebsd32_msgsnd */
1068 case 226: {
1069 struct freebsd32_msgsnd_args *p = params;
1070 iarg[a++] = p->msqid; /* int */
1071 uarg[a++] = (intptr_t)p->msgp; /* const void * */
1072 uarg[a++] = p->msgsz; /* size_t */
1073 iarg[a++] = p->msgflg; /* int */
1074 *n_args = 4;
1075 break;
1076 }
1077 /* freebsd32_msgrcv */
1078 case 227: {
1079 struct freebsd32_msgrcv_args *p = params;
1080 iarg[a++] = p->msqid; /* int */
1081 uarg[a++] = (intptr_t)p->msgp; /* void * */
1082 uarg[a++] = p->msgsz; /* size_t */
1083 iarg[a++] = p->msgtyp; /* int32_t */
1084 iarg[a++] = p->msgflg; /* int */
1085 *n_args = 5;
1086 break;
1087 }
1088 /* shmat */
1089 case 228: {
1090 struct shmat_args *p = params;
1091 iarg[a++] = p->shmid; /* int */
1092 uarg[a++] = (intptr_t)p->shmaddr; /* const void * */
1093 iarg[a++] = p->shmflg; /* int */
1094 *n_args = 3;
1095 break;
1096 }
1097 /* shmdt */
1098 case 230: {
1099 struct shmdt_args *p = params;
1100 uarg[a++] = (intptr_t)p->shmaddr; /* const void * */
1101 *n_args = 1;
1102 break;
1103 }
1104 /* shmget */
1105 case 231: {
1106 struct shmget_args *p = params;
1107 iarg[a++] = p->key; /* key_t */
1108 uarg[a++] = p->size; /* size_t */
1109 iarg[a++] = p->shmflg; /* int */
1110 *n_args = 3;
1111 break;
1112 }
1113 /* freebsd32_clock_gettime */
1114 case 232: {
1115 struct freebsd32_clock_gettime_args *p = params;
1116 iarg[a++] = p->clock_id; /* clockid_t */
1117 uarg[a++] = (intptr_t)p->tp; /* struct timespec32 * */
1118 *n_args = 2;
1119 break;
1120 }
1121 /* freebsd32_clock_settime */
1122 case 233: {
1123 struct freebsd32_clock_settime_args *p = params;
1124 iarg[a++] = p->clock_id; /* clockid_t */
1125 uarg[a++] = (intptr_t)p->tp; /* const struct timespec32 * */
1126 *n_args = 2;
1127 break;
1128 }
1129 /* freebsd32_clock_getres */
1130 case 234: {
1131 struct freebsd32_clock_getres_args *p = params;
1132 iarg[a++] = p->clock_id; /* clockid_t */
1133 uarg[a++] = (intptr_t)p->tp; /* struct timespec32 * */
1134 *n_args = 2;
1135 break;
1136 }
1137 /* freebsd32_ktimer_create */
1138 case 235: {
1139 struct freebsd32_ktimer_create_args *p = params;
1140 iarg[a++] = p->clock_id; /* clockid_t */
1141 uarg[a++] = (intptr_t)p->evp; /* struct sigevent32 * */
1142 uarg[a++] = (intptr_t)p->timerid; /* int * */
1143 *n_args = 3;
1144 break;
1145 }
1146 /* ktimer_delete */
1147 case 236: {
1148 struct ktimer_delete_args *p = params;
1149 iarg[a++] = p->timerid; /* int */
1150 *n_args = 1;
1151 break;
1152 }
1153 /* freebsd32_ktimer_settime */
1154 case 237: {
1155 struct freebsd32_ktimer_settime_args *p = params;
1156 iarg[a++] = p->timerid; /* int */
1157 iarg[a++] = p->flags; /* int */
1158 uarg[a++] = (intptr_t)p->value; /* const struct itimerspec32 * */
1159 uarg[a++] = (intptr_t)p->ovalue; /* struct itimerspec32 * */
1160 *n_args = 4;
1161 break;
1162 }
1163 /* freebsd32_ktimer_gettime */
1164 case 238: {
1165 struct freebsd32_ktimer_gettime_args *p = params;
1166 iarg[a++] = p->timerid; /* int */
1167 uarg[a++] = (intptr_t)p->value; /* struct itimerspec32 * */
1168 *n_args = 2;
1169 break;
1170 }
1171 /* ktimer_getoverrun */
1172 case 239: {
1173 struct ktimer_getoverrun_args *p = params;
1174 iarg[a++] = p->timerid; /* int */
1175 *n_args = 1;
1176 break;
1177 }
1178 /* freebsd32_nanosleep */
1179 case 240: {
1180 struct freebsd32_nanosleep_args *p = params;
1181 uarg[a++] = (intptr_t)p->rqtp; /* const struct timespec32 * */
1182 uarg[a++] = (intptr_t)p->rmtp; /* struct timespec32 * */
1183 *n_args = 2;
1184 break;
1185 }
1186 /* ffclock_getcounter */
1187 case 241: {
1188 struct ffclock_getcounter_args *p = params;
1189 uarg[a++] = (intptr_t)p->ffcount; /* ffcounter * */
1190 *n_args = 1;
1191 break;
1192 }
1193 /* freebsd32_ffclock_setestimate */
1194 case 242: {
1195 struct freebsd32_ffclock_setestimate_args *p = params;
1196 uarg[a++] = (intptr_t)p->cest; /* struct ffclock_estimate32 * */
1197 *n_args = 1;
1198 break;
1199 }
1200 /* freebsd32_ffclock_getestimate */
1201 case 243: {
1202 struct freebsd32_ffclock_getestimate_args *p = params;
1203 uarg[a++] = (intptr_t)p->cest; /* struct ffclock_estimate32 * */
1204 *n_args = 1;
1205 break;
1206 }
1207 /* freebsd32_clock_nanosleep */
1208 case 244: {
1209 struct freebsd32_clock_nanosleep_args *p = params;
1210 iarg[a++] = p->clock_id; /* clockid_t */
1211 iarg[a++] = p->flags; /* int */
1212 uarg[a++] = (intptr_t)p->rqtp; /* const struct timespec32 * */
1213 uarg[a++] = (intptr_t)p->rmtp; /* struct timespec32 * */
1214 *n_args = 4;
1215 break;
1216 }
1217 /* freebsd32_clock_getcpuclockid2 */
1218 case 247: {
1219 struct freebsd32_clock_getcpuclockid2_args *p = params;
1220 uarg[a++] = p->id1; /* uint32_t */
1221 uarg[a++] = p->id2; /* uint32_t */
1222 iarg[a++] = p->which; /* int */
1223 uarg[a++] = (intptr_t)p->clock_id; /* clockid_t * */
1224 *n_args = 4;
1225 break;
1226 }
1227 /* minherit */
1228 case 250: {
1229 struct minherit_args *p = params;
1230 uarg[a++] = (intptr_t)p->addr; /* void * */
1231 uarg[a++] = p->len; /* size_t */
1232 iarg[a++] = p->inherit; /* int */
1233 *n_args = 3;
1234 break;
1235 }
1236 /* rfork */
1237 case 251: {
1238 struct rfork_args *p = params;
1239 iarg[a++] = p->flags; /* int */
1240 *n_args = 1;
1241 break;
1242 }
1243 /* issetugid */
1244 case 253: {
1245 *n_args = 0;
1246 break;
1247 }
1248 /* lchown */
1249 case 254: {
1250 struct lchown_args *p = params;
1251 uarg[a++] = (intptr_t)p->path; /* const char * */
1252 iarg[a++] = p->uid; /* int */
1253 iarg[a++] = p->gid; /* int */
1254 *n_args = 3;
1255 break;
1256 }
1257 /* freebsd32_aio_read */
1258 case 255: {
1259 struct freebsd32_aio_read_args *p = params;
1260 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
1261 *n_args = 1;
1262 break;
1263 }
1264 /* freebsd32_aio_write */
1265 case 256: {
1266 struct freebsd32_aio_write_args *p = params;
1267 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
1268 *n_args = 1;
1269 break;
1270 }
1271 /* freebsd32_lio_listio */
1272 case 257: {
1273 struct freebsd32_lio_listio_args *p = params;
1274 iarg[a++] = p->mode; /* int */
1275 uarg[a++] = (intptr_t)p->acb_list; /* uint32_t * */
1276 iarg[a++] = p->nent; /* int */
1277 uarg[a++] = (intptr_t)p->sig; /* struct sigevent32 * */
1278 *n_args = 4;
1279 break;
1280 }
1281 /* lchmod */
1282 case 274: {
1283 struct lchmod_args *p = params;
1284 uarg[a++] = (intptr_t)p->path; /* const char * */
1285 iarg[a++] = p->mode; /* mode_t */
1286 *n_args = 2;
1287 break;
1288 }
1289 /* freebsd32_lutimes */
1290 case 276: {
1291 struct freebsd32_lutimes_args *p = params;
1292 uarg[a++] = (intptr_t)p->path; /* const char * */
1293 uarg[a++] = (intptr_t)p->tptr; /* const struct timeval32 * */
1294 *n_args = 2;
1295 break;
1296 }
1297 /* freebsd32_preadv */
1298 case 289: {
1299 struct freebsd32_preadv_args *p = params;
1300 iarg[a++] = p->fd; /* int */
1301 uarg[a++] = (intptr_t)p->iovp; /* struct iovec32 * */
1302 uarg[a++] = p->iovcnt; /* u_int */
1303 #ifdef PAD64_REQUIRED
1304 iarg[a++] = p->_pad; /* int */
1305 #endif
1306 uarg[a++] = p->offset1; /* uint32_t */
1307 uarg[a++] = p->offset2; /* uint32_t */
1308 *n_args = 6;
1309 break;
1310 }
1311 /* freebsd32_pwritev */
1312 case 290: {
1313 struct freebsd32_pwritev_args *p = params;
1314 iarg[a++] = p->fd; /* int */
1315 uarg[a++] = (intptr_t)p->iovp; /* struct iovec32 * */
1316 uarg[a++] = p->iovcnt; /* u_int */
1317 #ifdef PAD64_REQUIRED
1318 iarg[a++] = p->_pad; /* int */
1319 #endif
1320 uarg[a++] = p->offset1; /* uint32_t */
1321 uarg[a++] = p->offset2; /* uint32_t */
1322 *n_args = 6;
1323 break;
1324 }
1325 /* fhopen */
1326 case 298: {
1327 struct fhopen_args *p = params;
1328 uarg[a++] = (intptr_t)p->u_fhp; /* const struct fhandle * */
1329 iarg[a++] = p->flags; /* int */
1330 *n_args = 2;
1331 break;
1332 }
1333 /* modnext */
1334 case 300: {
1335 struct modnext_args *p = params;
1336 iarg[a++] = p->modid; /* int */
1337 *n_args = 1;
1338 break;
1339 }
1340 /* freebsd32_modstat */
1341 case 301: {
1342 struct freebsd32_modstat_args *p = params;
1343 iarg[a++] = p->modid; /* int */
1344 uarg[a++] = (intptr_t)p->stat; /* struct module_stat32 * */
1345 *n_args = 2;
1346 break;
1347 }
1348 /* modfnext */
1349 case 302: {
1350 struct modfnext_args *p = params;
1351 iarg[a++] = p->modid; /* int */
1352 *n_args = 1;
1353 break;
1354 }
1355 /* modfind */
1356 case 303: {
1357 struct modfind_args *p = params;
1358 uarg[a++] = (intptr_t)p->name; /* const char * */
1359 *n_args = 1;
1360 break;
1361 }
1362 /* kldload */
1363 case 304: {
1364 struct kldload_args *p = params;
1365 uarg[a++] = (intptr_t)p->file; /* const char * */
1366 *n_args = 1;
1367 break;
1368 }
1369 /* kldunload */
1370 case 305: {
1371 struct kldunload_args *p = params;
1372 iarg[a++] = p->fileid; /* int */
1373 *n_args = 1;
1374 break;
1375 }
1376 /* kldfind */
1377 case 306: {
1378 struct kldfind_args *p = params;
1379 uarg[a++] = (intptr_t)p->file; /* const char * */
1380 *n_args = 1;
1381 break;
1382 }
1383 /* kldnext */
1384 case 307: {
1385 struct kldnext_args *p = params;
1386 iarg[a++] = p->fileid; /* int */
1387 *n_args = 1;
1388 break;
1389 }
1390 /* freebsd32_kldstat */
1391 case 308: {
1392 struct freebsd32_kldstat_args *p = params;
1393 iarg[a++] = p->fileid; /* int */
1394 uarg[a++] = (intptr_t)p->stat; /* struct kld_file_stat32 * */
1395 *n_args = 2;
1396 break;
1397 }
1398 /* kldfirstmod */
1399 case 309: {
1400 struct kldfirstmod_args *p = params;
1401 iarg[a++] = p->fileid; /* int */
1402 *n_args = 1;
1403 break;
1404 }
1405 /* getsid */
1406 case 310: {
1407 struct getsid_args *p = params;
1408 iarg[a++] = p->pid; /* pid_t */
1409 *n_args = 1;
1410 break;
1411 }
1412 /* setresuid */
1413 case 311: {
1414 struct setresuid_args *p = params;
1415 uarg[a++] = p->ruid; /* uid_t */
1416 uarg[a++] = p->euid; /* uid_t */
1417 uarg[a++] = p->suid; /* uid_t */
1418 *n_args = 3;
1419 break;
1420 }
1421 /* setresgid */
1422 case 312: {
1423 struct setresgid_args *p = params;
1424 iarg[a++] = p->rgid; /* gid_t */
1425 iarg[a++] = p->egid; /* gid_t */
1426 iarg[a++] = p->sgid; /* gid_t */
1427 *n_args = 3;
1428 break;
1429 }
1430 /* freebsd32_aio_return */
1431 case 314: {
1432 struct freebsd32_aio_return_args *p = params;
1433 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
1434 *n_args = 1;
1435 break;
1436 }
1437 /* freebsd32_aio_suspend */
1438 case 315: {
1439 struct freebsd32_aio_suspend_args *p = params;
1440 uarg[a++] = (intptr_t)p->aiocbp; /* uint32_t * */
1441 iarg[a++] = p->nent; /* int */
1442 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec32 * */
1443 *n_args = 3;
1444 break;
1445 }
1446 /* aio_cancel */
1447 case 316: {
1448 struct aio_cancel_args *p = params;
1449 iarg[a++] = p->fd; /* int */
1450 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
1451 *n_args = 2;
1452 break;
1453 }
1454 /* freebsd32_aio_error */
1455 case 317: {
1456 struct freebsd32_aio_error_args *p = params;
1457 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
1458 *n_args = 1;
1459 break;
1460 }
1461 /* yield */
1462 case 321: {
1463 *n_args = 0;
1464 break;
1465 }
1466 /* mlockall */
1467 case 324: {
1468 struct mlockall_args *p = params;
1469 iarg[a++] = p->how; /* int */
1470 *n_args = 1;
1471 break;
1472 }
1473 /* munlockall */
1474 case 325: {
1475 *n_args = 0;
1476 break;
1477 }
1478 /* __getcwd */
1479 case 326: {
1480 struct __getcwd_args *p = params;
1481 uarg[a++] = (intptr_t)p->buf; /* char * */
1482 uarg[a++] = p->buflen; /* size_t */
1483 *n_args = 2;
1484 break;
1485 }
1486 /* sched_setparam */
1487 case 327: {
1488 struct sched_setparam_args *p = params;
1489 iarg[a++] = p->pid; /* pid_t */
1490 uarg[a++] = (intptr_t)p->param; /* const struct sched_param * */
1491 *n_args = 2;
1492 break;
1493 }
1494 /* sched_getparam */
1495 case 328: {
1496 struct sched_getparam_args *p = params;
1497 iarg[a++] = p->pid; /* pid_t */
1498 uarg[a++] = (intptr_t)p->param; /* struct sched_param * */
1499 *n_args = 2;
1500 break;
1501 }
1502 /* sched_setscheduler */
1503 case 329: {
1504 struct sched_setscheduler_args *p = params;
1505 iarg[a++] = p->pid; /* pid_t */
1506 iarg[a++] = p->policy; /* int */
1507 uarg[a++] = (intptr_t)p->param; /* const struct sched_param * */
1508 *n_args = 3;
1509 break;
1510 }
1511 /* sched_getscheduler */
1512 case 330: {
1513 struct sched_getscheduler_args *p = params;
1514 iarg[a++] = p->pid; /* pid_t */
1515 *n_args = 1;
1516 break;
1517 }
1518 /* sched_yield */
1519 case 331: {
1520 *n_args = 0;
1521 break;
1522 }
1523 /* sched_get_priority_max */
1524 case 332: {
1525 struct sched_get_priority_max_args *p = params;
1526 iarg[a++] = p->policy; /* int */
1527 *n_args = 1;
1528 break;
1529 }
1530 /* sched_get_priority_min */
1531 case 333: {
1532 struct sched_get_priority_min_args *p = params;
1533 iarg[a++] = p->policy; /* int */
1534 *n_args = 1;
1535 break;
1536 }
1537 /* freebsd32_sched_rr_get_interval */
1538 case 334: {
1539 struct freebsd32_sched_rr_get_interval_args *p = params;
1540 iarg[a++] = p->pid; /* pid_t */
1541 uarg[a++] = (intptr_t)p->interval; /* struct timespec32 * */
1542 *n_args = 2;
1543 break;
1544 }
1545 /* utrace */
1546 case 335: {
1547 struct utrace_args *p = params;
1548 uarg[a++] = (intptr_t)p->addr; /* const void * */
1549 uarg[a++] = p->len; /* size_t */
1550 *n_args = 2;
1551 break;
1552 }
1553 /* freebsd32_jail */
1554 case 338: {
1555 struct freebsd32_jail_args *p = params;
1556 uarg[a++] = (intptr_t)p->jail; /* struct jail32 * */
1557 *n_args = 1;
1558 break;
1559 }
1560 /* sigprocmask */
1561 case 340: {
1562 struct sigprocmask_args *p = params;
1563 iarg[a++] = p->how; /* int */
1564 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
1565 uarg[a++] = (intptr_t)p->oset; /* sigset_t * */
1566 *n_args = 3;
1567 break;
1568 }
1569 /* sigsuspend */
1570 case 341: {
1571 struct sigsuspend_args *p = params;
1572 uarg[a++] = (intptr_t)p->sigmask; /* const sigset_t * */
1573 *n_args = 1;
1574 break;
1575 }
1576 /* sigpending */
1577 case 343: {
1578 struct sigpending_args *p = params;
1579 uarg[a++] = (intptr_t)p->set; /* sigset_t * */
1580 *n_args = 1;
1581 break;
1582 }
1583 /* freebsd32_sigtimedwait */
1584 case 345: {
1585 struct freebsd32_sigtimedwait_args *p = params;
1586 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
1587 uarg[a++] = (intptr_t)p->info; /* struct __siginfo32 * */
1588 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec32 * */
1589 *n_args = 3;
1590 break;
1591 }
1592 /* freebsd32_sigwaitinfo */
1593 case 346: {
1594 struct freebsd32_sigwaitinfo_args *p = params;
1595 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
1596 uarg[a++] = (intptr_t)p->info; /* struct __siginfo32 * */
1597 *n_args = 2;
1598 break;
1599 }
1600 /* __acl_get_file */
1601 case 347: {
1602 struct __acl_get_file_args *p = params;
1603 uarg[a++] = (intptr_t)p->path; /* const char * */
1604 iarg[a++] = p->type; /* __acl_type_t */
1605 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1606 *n_args = 3;
1607 break;
1608 }
1609 /* __acl_set_file */
1610 case 348: {
1611 struct __acl_set_file_args *p = params;
1612 uarg[a++] = (intptr_t)p->path; /* const char * */
1613 iarg[a++] = p->type; /* __acl_type_t */
1614 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1615 *n_args = 3;
1616 break;
1617 }
1618 /* __acl_get_fd */
1619 case 349: {
1620 struct __acl_get_fd_args *p = params;
1621 iarg[a++] = p->filedes; /* int */
1622 iarg[a++] = p->type; /* __acl_type_t */
1623 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1624 *n_args = 3;
1625 break;
1626 }
1627 /* __acl_set_fd */
1628 case 350: {
1629 struct __acl_set_fd_args *p = params;
1630 iarg[a++] = p->filedes; /* int */
1631 iarg[a++] = p->type; /* __acl_type_t */
1632 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1633 *n_args = 3;
1634 break;
1635 }
1636 /* __acl_delete_file */
1637 case 351: {
1638 struct __acl_delete_file_args *p = params;
1639 uarg[a++] = (intptr_t)p->path; /* const char * */
1640 iarg[a++] = p->type; /* __acl_type_t */
1641 *n_args = 2;
1642 break;
1643 }
1644 /* __acl_delete_fd */
1645 case 352: {
1646 struct __acl_delete_fd_args *p = params;
1647 iarg[a++] = p->filedes; /* int */
1648 iarg[a++] = p->type; /* __acl_type_t */
1649 *n_args = 2;
1650 break;
1651 }
1652 /* __acl_aclcheck_file */
1653 case 353: {
1654 struct __acl_aclcheck_file_args *p = params;
1655 uarg[a++] = (intptr_t)p->path; /* const char * */
1656 iarg[a++] = p->type; /* __acl_type_t */
1657 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1658 *n_args = 3;
1659 break;
1660 }
1661 /* __acl_aclcheck_fd */
1662 case 354: {
1663 struct __acl_aclcheck_fd_args *p = params;
1664 iarg[a++] = p->filedes; /* int */
1665 iarg[a++] = p->type; /* __acl_type_t */
1666 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1667 *n_args = 3;
1668 break;
1669 }
1670 /* extattrctl */
1671 case 355: {
1672 struct extattrctl_args *p = params;
1673 uarg[a++] = (intptr_t)p->path; /* const char * */
1674 iarg[a++] = p->cmd; /* int */
1675 uarg[a++] = (intptr_t)p->filename; /* const char * */
1676 iarg[a++] = p->attrnamespace; /* int */
1677 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1678 *n_args = 5;
1679 break;
1680 }
1681 /* extattr_set_file */
1682 case 356: {
1683 struct extattr_set_file_args *p = params;
1684 uarg[a++] = (intptr_t)p->path; /* const char * */
1685 iarg[a++] = p->attrnamespace; /* int */
1686 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1687 uarg[a++] = (intptr_t)p->data; /* void * */
1688 uarg[a++] = p->nbytes; /* size_t */
1689 *n_args = 5;
1690 break;
1691 }
1692 /* extattr_get_file */
1693 case 357: {
1694 struct extattr_get_file_args *p = params;
1695 uarg[a++] = (intptr_t)p->path; /* const char * */
1696 iarg[a++] = p->attrnamespace; /* int */
1697 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1698 uarg[a++] = (intptr_t)p->data; /* void * */
1699 uarg[a++] = p->nbytes; /* size_t */
1700 *n_args = 5;
1701 break;
1702 }
1703 /* extattr_delete_file */
1704 case 358: {
1705 struct extattr_delete_file_args *p = params;
1706 uarg[a++] = (intptr_t)p->path; /* const char * */
1707 iarg[a++] = p->attrnamespace; /* int */
1708 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1709 *n_args = 3;
1710 break;
1711 }
1712 /* freebsd32_aio_waitcomplete */
1713 case 359: {
1714 struct freebsd32_aio_waitcomplete_args *p = params;
1715 uarg[a++] = (intptr_t)p->aiocbp; /* uint32_t * */
1716 uarg[a++] = (intptr_t)p->timeout; /* struct timespec32 * */
1717 *n_args = 2;
1718 break;
1719 }
1720 /* getresuid */
1721 case 360: {
1722 struct getresuid_args *p = params;
1723 uarg[a++] = (intptr_t)p->ruid; /* uid_t * */
1724 uarg[a++] = (intptr_t)p->euid; /* uid_t * */
1725 uarg[a++] = (intptr_t)p->suid; /* uid_t * */
1726 *n_args = 3;
1727 break;
1728 }
1729 /* getresgid */
1730 case 361: {
1731 struct getresgid_args *p = params;
1732 uarg[a++] = (intptr_t)p->rgid; /* gid_t * */
1733 uarg[a++] = (intptr_t)p->egid; /* gid_t * */
1734 uarg[a++] = (intptr_t)p->sgid; /* gid_t * */
1735 *n_args = 3;
1736 break;
1737 }
1738 /* kqueue */
1739 case 362: {
1740 *n_args = 0;
1741 break;
1742 }
1743 /* extattr_set_fd */
1744 case 371: {
1745 struct extattr_set_fd_args *p = params;
1746 iarg[a++] = p->fd; /* int */
1747 iarg[a++] = p->attrnamespace; /* int */
1748 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1749 uarg[a++] = (intptr_t)p->data; /* void * */
1750 uarg[a++] = p->nbytes; /* size_t */
1751 *n_args = 5;
1752 break;
1753 }
1754 /* extattr_get_fd */
1755 case 372: {
1756 struct extattr_get_fd_args *p = params;
1757 iarg[a++] = p->fd; /* int */
1758 iarg[a++] = p->attrnamespace; /* int */
1759 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1760 uarg[a++] = (intptr_t)p->data; /* void * */
1761 uarg[a++] = p->nbytes; /* size_t */
1762 *n_args = 5;
1763 break;
1764 }
1765 /* extattr_delete_fd */
1766 case 373: {
1767 struct extattr_delete_fd_args *p = params;
1768 iarg[a++] = p->fd; /* int */
1769 iarg[a++] = p->attrnamespace; /* int */
1770 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1771 *n_args = 3;
1772 break;
1773 }
1774 /* __setugid */
1775 case 374: {
1776 struct __setugid_args *p = params;
1777 iarg[a++] = p->flag; /* int */
1778 *n_args = 1;
1779 break;
1780 }
1781 /* eaccess */
1782 case 376: {
1783 struct eaccess_args *p = params;
1784 uarg[a++] = (intptr_t)p->path; /* const char * */
1785 iarg[a++] = p->amode; /* int */
1786 *n_args = 2;
1787 break;
1788 }
1789 /* freebsd32_nmount */
1790 case 378: {
1791 struct freebsd32_nmount_args *p = params;
1792 uarg[a++] = (intptr_t)p->iovp; /* struct iovec32 * */
1793 uarg[a++] = p->iovcnt; /* unsigned int */
1794 iarg[a++] = p->flags; /* int */
1795 *n_args = 3;
1796 break;
1797 }
1798 /* kenv */
1799 case 390: {
1800 struct kenv_args *p = params;
1801 iarg[a++] = p->what; /* int */
1802 uarg[a++] = (intptr_t)p->name; /* const char * */
1803 uarg[a++] = (intptr_t)p->value; /* char * */
1804 iarg[a++] = p->len; /* int */
1805 *n_args = 4;
1806 break;
1807 }
1808 /* lchflags */
1809 case 391: {
1810 struct lchflags_args *p = params;
1811 uarg[a++] = (intptr_t)p->path; /* const char * */
1812 uarg[a++] = p->flags; /* u_long */
1813 *n_args = 2;
1814 break;
1815 }
1816 /* uuidgen */
1817 case 392: {
1818 struct uuidgen_args *p = params;
1819 uarg[a++] = (intptr_t)p->store; /* struct uuid * */
1820 iarg[a++] = p->count; /* int */
1821 *n_args = 2;
1822 break;
1823 }
1824 /* freebsd32_sendfile */
1825 case 393: {
1826 struct freebsd32_sendfile_args *p = params;
1827 iarg[a++] = p->fd; /* int */
1828 iarg[a++] = p->s; /* int */
1829 uarg[a++] = p->offset1; /* uint32_t */
1830 uarg[a++] = p->offset2; /* uint32_t */
1831 uarg[a++] = p->nbytes; /* size_t */
1832 uarg[a++] = (intptr_t)p->hdtr; /* struct sf_hdtr32 * */
1833 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */
1834 iarg[a++] = p->flags; /* int */
1835 *n_args = 8;
1836 break;
1837 }
1838 /* mac_syscall */
1839 case 394: {
1840 struct mac_syscall_args *p = params;
1841 uarg[a++] = (intptr_t)p->policy; /* const char * */
1842 iarg[a++] = p->call; /* int */
1843 uarg[a++] = (intptr_t)p->arg; /* void * */
1844 *n_args = 3;
1845 break;
1846 }
1847 /* ksem_close */
1848 case 400: {
1849 struct ksem_close_args *p = params;
1850 iarg[a++] = p->id; /* int32_t */
1851 *n_args = 1;
1852 break;
1853 }
1854 /* ksem_post */
1855 case 401: {
1856 struct ksem_post_args *p = params;
1857 iarg[a++] = p->id; /* int32_t */
1858 *n_args = 1;
1859 break;
1860 }
1861 /* ksem_wait */
1862 case 402: {
1863 struct ksem_wait_args *p = params;
1864 iarg[a++] = p->id; /* int32_t */
1865 *n_args = 1;
1866 break;
1867 }
1868 /* ksem_trywait */
1869 case 403: {
1870 struct ksem_trywait_args *p = params;
1871 iarg[a++] = p->id; /* int32_t */
1872 *n_args = 1;
1873 break;
1874 }
1875 /* freebsd32_ksem_init */
1876 case 404: {
1877 struct freebsd32_ksem_init_args *p = params;
1878 uarg[a++] = (intptr_t)p->idp; /* int32_t * */
1879 uarg[a++] = p->value; /* unsigned int */
1880 *n_args = 2;
1881 break;
1882 }
1883 /* freebsd32_ksem_open */
1884 case 405: {
1885 struct freebsd32_ksem_open_args *p = params;
1886 uarg[a++] = (intptr_t)p->idp; /* int32_t * */
1887 uarg[a++] = (intptr_t)p->name; /* const char * */
1888 iarg[a++] = p->oflag; /* int */
1889 iarg[a++] = p->mode; /* mode_t */
1890 uarg[a++] = p->value; /* unsigned int */
1891 *n_args = 5;
1892 break;
1893 }
1894 /* ksem_unlink */
1895 case 406: {
1896 struct ksem_unlink_args *p = params;
1897 uarg[a++] = (intptr_t)p->name; /* const char * */
1898 *n_args = 1;
1899 break;
1900 }
1901 /* ksem_getvalue */
1902 case 407: {
1903 struct ksem_getvalue_args *p = params;
1904 iarg[a++] = p->id; /* int32_t */
1905 uarg[a++] = (intptr_t)p->val; /* int * */
1906 *n_args = 2;
1907 break;
1908 }
1909 /* ksem_destroy */
1910 case 408: {
1911 struct ksem_destroy_args *p = params;
1912 iarg[a++] = p->id; /* int32_t */
1913 *n_args = 1;
1914 break;
1915 }
1916 /* extattr_set_link */
1917 case 412: {
1918 struct extattr_set_link_args *p = params;
1919 uarg[a++] = (intptr_t)p->path; /* const char * */
1920 iarg[a++] = p->attrnamespace; /* int */
1921 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1922 uarg[a++] = (intptr_t)p->data; /* void * */
1923 uarg[a++] = p->nbytes; /* size_t */
1924 *n_args = 5;
1925 break;
1926 }
1927 /* extattr_get_link */
1928 case 413: {
1929 struct extattr_get_link_args *p = params;
1930 uarg[a++] = (intptr_t)p->path; /* const char * */
1931 iarg[a++] = p->attrnamespace; /* int */
1932 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1933 uarg[a++] = (intptr_t)p->data; /* void * */
1934 uarg[a++] = p->nbytes; /* size_t */
1935 *n_args = 5;
1936 break;
1937 }
1938 /* extattr_delete_link */
1939 case 414: {
1940 struct extattr_delete_link_args *p = params;
1941 uarg[a++] = (intptr_t)p->path; /* const char * */
1942 iarg[a++] = p->attrnamespace; /* int */
1943 uarg[a++] = (intptr_t)p->attrname; /* const char * */
1944 *n_args = 3;
1945 break;
1946 }
1947 /* freebsd32_sigaction */
1948 case 416: {
1949 struct freebsd32_sigaction_args *p = params;
1950 iarg[a++] = p->sig; /* int */
1951 uarg[a++] = (intptr_t)p->act; /* const struct sigaction32 * */
1952 uarg[a++] = (intptr_t)p->oact; /* struct sigaction32 * */
1953 *n_args = 3;
1954 break;
1955 }
1956 /* freebsd32_sigreturn */
1957 case 417: {
1958 struct freebsd32_sigreturn_args *p = params;
1959 uarg[a++] = (intptr_t)p->sigcntxp; /* const struct __ucontext32 * */
1960 *n_args = 1;
1961 break;
1962 }
1963 /* freebsd32_getcontext */
1964 case 421: {
1965 struct freebsd32_getcontext_args *p = params;
1966 uarg[a++] = (intptr_t)p->ucp; /* struct __ucontext32 * */
1967 *n_args = 1;
1968 break;
1969 }
1970 /* freebsd32_setcontext */
1971 case 422: {
1972 struct freebsd32_setcontext_args *p = params;
1973 uarg[a++] = (intptr_t)p->ucp; /* const struct __ucontext32 * */
1974 *n_args = 1;
1975 break;
1976 }
1977 /* freebsd32_swapcontext */
1978 case 423: {
1979 struct freebsd32_swapcontext_args *p = params;
1980 uarg[a++] = (intptr_t)p->oucp; /* struct __ucontext32 * */
1981 uarg[a++] = (intptr_t)p->ucp; /* const struct __ucontext32 * */
1982 *n_args = 2;
1983 break;
1984 }
1985 /* __acl_get_link */
1986 case 425: {
1987 struct __acl_get_link_args *p = params;
1988 uarg[a++] = (intptr_t)p->path; /* const char * */
1989 iarg[a++] = p->type; /* __acl_type_t */
1990 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
1991 *n_args = 3;
1992 break;
1993 }
1994 /* __acl_set_link */
1995 case 426: {
1996 struct __acl_set_link_args *p = params;
1997 uarg[a++] = (intptr_t)p->path; /* const char * */
1998 iarg[a++] = p->type; /* __acl_type_t */
1999 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
2000 *n_args = 3;
2001 break;
2002 }
2003 /* __acl_delete_link */
2004 case 427: {
2005 struct __acl_delete_link_args *p = params;
2006 uarg[a++] = (intptr_t)p->path; /* const char * */
2007 iarg[a++] = p->type; /* __acl_type_t */
2008 *n_args = 2;
2009 break;
2010 }
2011 /* __acl_aclcheck_link */
2012 case 428: {
2013 struct __acl_aclcheck_link_args *p = params;
2014 uarg[a++] = (intptr_t)p->path; /* const char * */
2015 iarg[a++] = p->type; /* __acl_type_t */
2016 uarg[a++] = (intptr_t)p->aclp; /* struct acl * */
2017 *n_args = 3;
2018 break;
2019 }
2020 /* sigwait */
2021 case 429: {
2022 struct sigwait_args *p = params;
2023 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
2024 uarg[a++] = (intptr_t)p->sig; /* int * */
2025 *n_args = 2;
2026 break;
2027 }
2028 /* thr_exit */
2029 case 431: {
2030 struct thr_exit_args *p = params;
2031 uarg[a++] = (intptr_t)p->state; /* int32_t * */
2032 *n_args = 1;
2033 break;
2034 }
2035 /* thr_self */
2036 case 432: {
2037 struct thr_self_args *p = params;
2038 uarg[a++] = (intptr_t)p->id; /* int32_t * */
2039 *n_args = 1;
2040 break;
2041 }
2042 /* thr_kill */
2043 case 433: {
2044 struct thr_kill_args *p = params;
2045 iarg[a++] = p->id; /* int32_t */
2046 iarg[a++] = p->sig; /* int */
2047 *n_args = 2;
2048 break;
2049 }
2050 /* jail_attach */
2051 case 436: {
2052 struct jail_attach_args *p = params;
2053 iarg[a++] = p->jid; /* int */
2054 *n_args = 1;
2055 break;
2056 }
2057 /* extattr_list_fd */
2058 case 437: {
2059 struct extattr_list_fd_args *p = params;
2060 iarg[a++] = p->fd; /* int */
2061 iarg[a++] = p->attrnamespace; /* int */
2062 uarg[a++] = (intptr_t)p->data; /* void * */
2063 uarg[a++] = p->nbytes; /* size_t */
2064 *n_args = 4;
2065 break;
2066 }
2067 /* extattr_list_file */
2068 case 438: {
2069 struct extattr_list_file_args *p = params;
2070 uarg[a++] = (intptr_t)p->path; /* const char * */
2071 iarg[a++] = p->attrnamespace; /* int */
2072 uarg[a++] = (intptr_t)p->data; /* void * */
2073 uarg[a++] = p->nbytes; /* size_t */
2074 *n_args = 4;
2075 break;
2076 }
2077 /* extattr_list_link */
2078 case 439: {
2079 struct extattr_list_link_args *p = params;
2080 uarg[a++] = (intptr_t)p->path; /* const char * */
2081 iarg[a++] = p->attrnamespace; /* int */
2082 uarg[a++] = (intptr_t)p->data; /* void * */
2083 uarg[a++] = p->nbytes; /* size_t */
2084 *n_args = 4;
2085 break;
2086 }
2087 /* freebsd32_ksem_timedwait */
2088 case 441: {
2089 struct freebsd32_ksem_timedwait_args *p = params;
2090 iarg[a++] = p->id; /* int32_t */
2091 uarg[a++] = (intptr_t)p->abstime; /* const struct timespec32 * */
2092 *n_args = 2;
2093 break;
2094 }
2095 /* freebsd32_thr_suspend */
2096 case 442: {
2097 struct freebsd32_thr_suspend_args *p = params;
2098 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec32 * */
2099 *n_args = 1;
2100 break;
2101 }
2102 /* thr_wake */
2103 case 443: {
2104 struct thr_wake_args *p = params;
2105 iarg[a++] = p->id; /* int32_t */
2106 *n_args = 1;
2107 break;
2108 }
2109 /* kldunloadf */
2110 case 444: {
2111 struct kldunloadf_args *p = params;
2112 iarg[a++] = p->fileid; /* int */
2113 iarg[a++] = p->flags; /* int */
2114 *n_args = 2;
2115 break;
2116 }
2117 /* audit */
2118 case 445: {
2119 struct audit_args *p = params;
2120 uarg[a++] = (intptr_t)p->record; /* const void * */
2121 uarg[a++] = p->length; /* u_int */
2122 *n_args = 2;
2123 break;
2124 }
2125 /* auditon */
2126 case 446: {
2127 struct auditon_args *p = params;
2128 iarg[a++] = p->cmd; /* int */
2129 uarg[a++] = (intptr_t)p->data; /* void * */
2130 uarg[a++] = p->length; /* u_int */
2131 *n_args = 3;
2132 break;
2133 }
2134 /* getauid */
2135 case 447: {
2136 struct getauid_args *p = params;
2137 uarg[a++] = (intptr_t)p->auid; /* uid_t * */
2138 *n_args = 1;
2139 break;
2140 }
2141 /* setauid */
2142 case 448: {
2143 struct setauid_args *p = params;
2144 uarg[a++] = (intptr_t)p->auid; /* uid_t * */
2145 *n_args = 1;
2146 break;
2147 }
2148 /* getaudit */
2149 case 449: {
2150 struct getaudit_args *p = params;
2151 uarg[a++] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2152 *n_args = 1;
2153 break;
2154 }
2155 /* setaudit */
2156 case 450: {
2157 struct setaudit_args *p = params;
2158 uarg[a++] = (intptr_t)p->auditinfo; /* struct auditinfo * */
2159 *n_args = 1;
2160 break;
2161 }
2162 /* getaudit_addr */
2163 case 451: {
2164 struct getaudit_addr_args *p = params;
2165 uarg[a++] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2166 uarg[a++] = p->length; /* u_int */
2167 *n_args = 2;
2168 break;
2169 }
2170 /* setaudit_addr */
2171 case 452: {
2172 struct setaudit_addr_args *p = params;
2173 uarg[a++] = (intptr_t)p->auditinfo_addr; /* struct auditinfo_addr * */
2174 uarg[a++] = p->length; /* u_int */
2175 *n_args = 2;
2176 break;
2177 }
2178 /* auditctl */
2179 case 453: {
2180 struct auditctl_args *p = params;
2181 uarg[a++] = (intptr_t)p->path; /* const char * */
2182 *n_args = 1;
2183 break;
2184 }
2185 /* freebsd32__umtx_op */
2186 case 454: {
2187 struct freebsd32__umtx_op_args *p = params;
2188 uarg[a++] = (intptr_t)p->obj; /* void * */
2189 iarg[a++] = p->op; /* int */
2190 uarg[a++] = p->val; /* u_long */
2191 uarg[a++] = (intptr_t)p->uaddr1; /* void * */
2192 uarg[a++] = (intptr_t)p->uaddr2; /* void * */
2193 *n_args = 5;
2194 break;
2195 }
2196 /* freebsd32_thr_new */
2197 case 455: {
2198 struct freebsd32_thr_new_args *p = params;
2199 uarg[a++] = (intptr_t)p->param; /* struct thr_param32 * */
2200 iarg[a++] = p->param_size; /* int */
2201 *n_args = 2;
2202 break;
2203 }
2204 /* freebsd32_sigqueue */
2205 case 456: {
2206 struct freebsd32_sigqueue_args *p = params;
2207 iarg[a++] = p->pid; /* pid_t */
2208 iarg[a++] = p->signum; /* int */
2209 uarg[a++] = (intptr_t)p->value; /* void * */
2210 *n_args = 3;
2211 break;
2212 }
2213 /* freebsd32_kmq_open */
2214 case 457: {
2215 struct freebsd32_kmq_open_args *p = params;
2216 uarg[a++] = (intptr_t)p->path; /* const char * */
2217 iarg[a++] = p->flags; /* int */
2218 iarg[a++] = p->mode; /* mode_t */
2219 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr32 * */
2220 *n_args = 4;
2221 break;
2222 }
2223 /* freebsd32_kmq_setattr */
2224 case 458: {
2225 struct freebsd32_kmq_setattr_args *p = params;
2226 iarg[a++] = p->mqd; /* int */
2227 uarg[a++] = (intptr_t)p->attr; /* const struct mq_attr32 * */
2228 uarg[a++] = (intptr_t)p->oattr; /* struct mq_attr32 * */
2229 *n_args = 3;
2230 break;
2231 }
2232 /* freebsd32_kmq_timedreceive */
2233 case 459: {
2234 struct freebsd32_kmq_timedreceive_args *p = params;
2235 iarg[a++] = p->mqd; /* int */
2236 uarg[a++] = (intptr_t)p->msg_ptr; /* char * */
2237 uarg[a++] = p->msg_len; /* size_t */
2238 uarg[a++] = (intptr_t)p->msg_prio; /* unsigned * */
2239 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct timespec32 * */
2240 *n_args = 5;
2241 break;
2242 }
2243 /* freebsd32_kmq_timedsend */
2244 case 460: {
2245 struct freebsd32_kmq_timedsend_args *p = params;
2246 iarg[a++] = p->mqd; /* int */
2247 uarg[a++] = (intptr_t)p->msg_ptr; /* const char * */
2248 uarg[a++] = p->msg_len; /* size_t */
2249 uarg[a++] = p->msg_prio; /* unsigned */
2250 uarg[a++] = (intptr_t)p->abs_timeout; /* const struct timespec32 * */
2251 *n_args = 5;
2252 break;
2253 }
2254 /* freebsd32_kmq_notify */
2255 case 461: {
2256 struct freebsd32_kmq_notify_args *p = params;
2257 iarg[a++] = p->mqd; /* int */
2258 uarg[a++] = (intptr_t)p->sigev; /* const struct sigevent32 * */
2259 *n_args = 2;
2260 break;
2261 }
2262 /* kmq_unlink */
2263 case 462: {
2264 struct kmq_unlink_args *p = params;
2265 uarg[a++] = (intptr_t)p->path; /* const char * */
2266 *n_args = 1;
2267 break;
2268 }
2269 /* freebsd32_abort2 */
2270 case 463: {
2271 struct freebsd32_abort2_args *p = params;
2272 uarg[a++] = (intptr_t)p->why; /* const char * */
2273 iarg[a++] = p->nargs; /* int */
2274 uarg[a++] = (intptr_t)p->args; /* uint32_t * */
2275 *n_args = 3;
2276 break;
2277 }
2278 /* thr_set_name */
2279 case 464: {
2280 struct thr_set_name_args *p = params;
2281 iarg[a++] = p->id; /* int32_t */
2282 uarg[a++] = (intptr_t)p->name; /* const char * */
2283 *n_args = 2;
2284 break;
2285 }
2286 /* freebsd32_aio_fsync */
2287 case 465: {
2288 struct freebsd32_aio_fsync_args *p = params;
2289 iarg[a++] = p->op; /* int */
2290 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
2291 *n_args = 2;
2292 break;
2293 }
2294 /* rtprio_thread */
2295 case 466: {
2296 struct rtprio_thread_args *p = params;
2297 iarg[a++] = p->function; /* int */
2298 iarg[a++] = p->lwpid; /* lwpid_t */
2299 uarg[a++] = (intptr_t)p->rtp; /* struct rtprio * */
2300 *n_args = 3;
2301 break;
2302 }
2303 /* sctp_peeloff */
2304 case 471: {
2305 struct sctp_peeloff_args *p = params;
2306 iarg[a++] = p->sd; /* int */
2307 uarg[a++] = p->name; /* uint32_t */
2308 *n_args = 2;
2309 break;
2310 }
2311 /* sctp_generic_sendmsg */
2312 case 472: {
2313 struct sctp_generic_sendmsg_args *p = params;
2314 iarg[a++] = p->sd; /* int */
2315 uarg[a++] = (intptr_t)p->msg; /* void * */
2316 iarg[a++] = p->mlen; /* int */
2317 uarg[a++] = (intptr_t)p->to; /* const struct sockaddr * */
2318 iarg[a++] = p->tolen; /* __socklen_t */
2319 uarg[a++] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2320 iarg[a++] = p->flags; /* int */
2321 *n_args = 7;
2322 break;
2323 }
2324 /* sctp_generic_sendmsg_iov */
2325 case 473: {
2326 struct sctp_generic_sendmsg_iov_args *p = params;
2327 iarg[a++] = p->sd; /* int */
2328 uarg[a++] = (intptr_t)p->iov; /* struct iovec32 * */
2329 iarg[a++] = p->iovlen; /* int */
2330 uarg[a++] = (intptr_t)p->to; /* const struct sockaddr * */
2331 iarg[a++] = p->tolen; /* __socklen_t */
2332 uarg[a++] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2333 iarg[a++] = p->flags; /* int */
2334 *n_args = 7;
2335 break;
2336 }
2337 /* sctp_generic_recvmsg */
2338 case 474: {
2339 struct sctp_generic_recvmsg_args *p = params;
2340 iarg[a++] = p->sd; /* int */
2341 uarg[a++] = (intptr_t)p->iov; /* struct iovec32 * */
2342 iarg[a++] = p->iovlen; /* int */
2343 uarg[a++] = (intptr_t)p->from; /* struct sockaddr * */
2344 uarg[a++] = (intptr_t)p->fromlenaddr; /* __socklen_t * */
2345 uarg[a++] = (intptr_t)p->sinfo; /* struct sctp_sndrcvinfo * */
2346 uarg[a++] = (intptr_t)p->msg_flags; /* int * */
2347 *n_args = 7;
2348 break;
2349 }
2350 /* freebsd32_pread */
2351 case 475: {
2352 struct freebsd32_pread_args *p = params;
2353 iarg[a++] = p->fd; /* int */
2354 uarg[a++] = (intptr_t)p->buf; /* void * */
2355 uarg[a++] = p->nbyte; /* size_t */
2356 #ifdef PAD64_REQUIRED
2357 iarg[a++] = p->_pad; /* int */
2358 #endif
2359 uarg[a++] = p->offset1; /* uint32_t */
2360 uarg[a++] = p->offset2; /* uint32_t */
2361 *n_args = 6;
2362 break;
2363 }
2364 /* freebsd32_pwrite */
2365 case 476: {
2366 struct freebsd32_pwrite_args *p = params;
2367 iarg[a++] = p->fd; /* int */
2368 uarg[a++] = (intptr_t)p->buf; /* const void * */
2369 uarg[a++] = p->nbyte; /* size_t */
2370 #ifdef PAD64_REQUIRED
2371 iarg[a++] = p->_pad; /* int */
2372 #endif
2373 uarg[a++] = p->offset1; /* uint32_t */
2374 uarg[a++] = p->offset2; /* uint32_t */
2375 *n_args = 6;
2376 break;
2377 }
2378 /* freebsd32_mmap */
2379 case 477: {
2380 struct freebsd32_mmap_args *p = params;
2381 uarg[a++] = (intptr_t)p->addr; /* void * */
2382 uarg[a++] = p->len; /* size_t */
2383 iarg[a++] = p->prot; /* int */
2384 iarg[a++] = p->flags; /* int */
2385 iarg[a++] = p->fd; /* int */
2386 #ifdef PAD64_REQUIRED
2387 iarg[a++] = p->_pad; /* int */
2388 #endif
2389 uarg[a++] = p->pos1; /* uint32_t */
2390 uarg[a++] = p->pos2; /* uint32_t */
2391 *n_args = 8;
2392 break;
2393 }
2394 /* freebsd32_lseek */
2395 case 478: {
2396 struct freebsd32_lseek_args *p = params;
2397 iarg[a++] = p->fd; /* int */
2398 #ifdef PAD64_REQUIRED
2399 iarg[a++] = p->_pad; /* int */
2400 #endif
2401 uarg[a++] = p->offset1; /* uint32_t */
2402 uarg[a++] = p->offset2; /* uint32_t */
2403 iarg[a++] = p->whence; /* int */
2404 *n_args = 5;
2405 break;
2406 }
2407 /* freebsd32_truncate */
2408 case 479: {
2409 struct freebsd32_truncate_args *p = params;
2410 uarg[a++] = (intptr_t)p->path; /* const char * */
2411 #ifdef PAD64_REQUIRED
2412 iarg[a++] = p->_pad; /* int */
2413 #endif
2414 uarg[a++] = p->length1; /* uint32_t */
2415 uarg[a++] = p->length2; /* uint32_t */
2416 *n_args = 4;
2417 break;
2418 }
2419 /* freebsd32_ftruncate */
2420 case 480: {
2421 struct freebsd32_ftruncate_args *p = params;
2422 iarg[a++] = p->fd; /* int */
2423 #ifdef PAD64_REQUIRED
2424 iarg[a++] = p->_pad; /* int */
2425 #endif
2426 uarg[a++] = p->length1; /* uint32_t */
2427 uarg[a++] = p->length2; /* uint32_t */
2428 *n_args = 4;
2429 break;
2430 }
2431 /* thr_kill2 */
2432 case 481: {
2433 struct thr_kill2_args *p = params;
2434 iarg[a++] = p->pid; /* pid_t */
2435 iarg[a++] = p->id; /* int32_t */
2436 iarg[a++] = p->sig; /* int */
2437 *n_args = 3;
2438 break;
2439 }
2440 /* shm_unlink */
2441 case 483: {
2442 struct shm_unlink_args *p = params;
2443 uarg[a++] = (intptr_t)p->path; /* const char * */
2444 *n_args = 1;
2445 break;
2446 }
2447 /* cpuset */
2448 case 484: {
2449 struct cpuset_args *p = params;
2450 uarg[a++] = (intptr_t)p->setid; /* cpusetid_t * */
2451 *n_args = 1;
2452 break;
2453 }
2454 /* freebsd32_cpuset_setid */
2455 case 485: {
2456 struct freebsd32_cpuset_setid_args *p = params;
2457 iarg[a++] = p->which; /* cpuwhich_t */
2458 #ifdef PAD64_REQUIRED
2459 iarg[a++] = p->_pad; /* int */
2460 #endif
2461 uarg[a++] = p->id1; /* uint32_t */
2462 uarg[a++] = p->id2; /* uint32_t */
2463 iarg[a++] = p->setid; /* cpusetid_t */
2464 *n_args = 5;
2465 break;
2466 }
2467 /* freebsd32_cpuset_getid */
2468 case 486: {
2469 struct freebsd32_cpuset_getid_args *p = params;
2470 iarg[a++] = p->level; /* cpulevel_t */
2471 iarg[a++] = p->which; /* cpuwhich_t */
2472 uarg[a++] = p->id1; /* uint32_t */
2473 uarg[a++] = p->id2; /* uint32_t */
2474 uarg[a++] = (intptr_t)p->setid; /* cpusetid_t * */
2475 *n_args = 5;
2476 break;
2477 }
2478 /* freebsd32_cpuset_getaffinity */
2479 case 487: {
2480 struct freebsd32_cpuset_getaffinity_args *p = params;
2481 iarg[a++] = p->level; /* cpulevel_t */
2482 iarg[a++] = p->which; /* cpuwhich_t */
2483 uarg[a++] = p->id1; /* uint32_t */
2484 uarg[a++] = p->id2; /* uint32_t */
2485 uarg[a++] = p->cpusetsize; /* size_t */
2486 uarg[a++] = (intptr_t)p->mask; /* cpuset_t * */
2487 *n_args = 6;
2488 break;
2489 }
2490 /* freebsd32_cpuset_setaffinity */
2491 case 488: {
2492 struct freebsd32_cpuset_setaffinity_args *p = params;
2493 iarg[a++] = p->level; /* cpulevel_t */
2494 iarg[a++] = p->which; /* cpuwhich_t */
2495 uarg[a++] = p->id1; /* uint32_t */
2496 uarg[a++] = p->id2; /* uint32_t */
2497 uarg[a++] = p->cpusetsize; /* size_t */
2498 uarg[a++] = (intptr_t)p->mask; /* const cpuset_t * */
2499 *n_args = 6;
2500 break;
2501 }
2502 /* faccessat */
2503 case 489: {
2504 struct faccessat_args *p = params;
2505 iarg[a++] = p->fd; /* int */
2506 uarg[a++] = (intptr_t)p->path; /* const char * */
2507 iarg[a++] = p->amode; /* int */
2508 iarg[a++] = p->flag; /* int */
2509 *n_args = 4;
2510 break;
2511 }
2512 /* fchmodat */
2513 case 490: {
2514 struct fchmodat_args *p = params;
2515 iarg[a++] = p->fd; /* int */
2516 uarg[a++] = (intptr_t)p->path; /* const char * */
2517 iarg[a++] = p->mode; /* mode_t */
2518 iarg[a++] = p->flag; /* int */
2519 *n_args = 4;
2520 break;
2521 }
2522 /* fchownat */
2523 case 491: {
2524 struct fchownat_args *p = params;
2525 iarg[a++] = p->fd; /* int */
2526 uarg[a++] = (intptr_t)p->path; /* const char * */
2527 uarg[a++] = p->uid; /* uid_t */
2528 iarg[a++] = p->gid; /* gid_t */
2529 iarg[a++] = p->flag; /* int */
2530 *n_args = 5;
2531 break;
2532 }
2533 /* freebsd32_fexecve */
2534 case 492: {
2535 struct freebsd32_fexecve_args *p = params;
2536 iarg[a++] = p->fd; /* int */
2537 uarg[a++] = (intptr_t)p->argv; /* uint32_t * */
2538 uarg[a++] = (intptr_t)p->envv; /* uint32_t * */
2539 *n_args = 3;
2540 break;
2541 }
2542 /* freebsd32_futimesat */
2543 case 494: {
2544 struct freebsd32_futimesat_args *p = params;
2545 iarg[a++] = p->fd; /* int */
2546 uarg[a++] = (intptr_t)p->path; /* const char * */
2547 uarg[a++] = (intptr_t)p->times; /* const struct timeval32 * */
2548 *n_args = 3;
2549 break;
2550 }
2551 /* linkat */
2552 case 495: {
2553 struct linkat_args *p = params;
2554 iarg[a++] = p->fd1; /* int */
2555 uarg[a++] = (intptr_t)p->path1; /* const char * */
2556 iarg[a++] = p->fd2; /* int */
2557 uarg[a++] = (intptr_t)p->path2; /* const char * */
2558 iarg[a++] = p->flag; /* int */
2559 *n_args = 5;
2560 break;
2561 }
2562 /* mkdirat */
2563 case 496: {
2564 struct mkdirat_args *p = params;
2565 iarg[a++] = p->fd; /* int */
2566 uarg[a++] = (intptr_t)p->path; /* const char * */
2567 iarg[a++] = p->mode; /* mode_t */
2568 *n_args = 3;
2569 break;
2570 }
2571 /* mkfifoat */
2572 case 497: {
2573 struct mkfifoat_args *p = params;
2574 iarg[a++] = p->fd; /* int */
2575 uarg[a++] = (intptr_t)p->path; /* const char * */
2576 iarg[a++] = p->mode; /* mode_t */
2577 *n_args = 3;
2578 break;
2579 }
2580 /* openat */
2581 case 499: {
2582 struct openat_args *p = params;
2583 iarg[a++] = p->fd; /* int */
2584 uarg[a++] = (intptr_t)p->path; /* const char * */
2585 iarg[a++] = p->flag; /* int */
2586 iarg[a++] = p->mode; /* mode_t */
2587 *n_args = 4;
2588 break;
2589 }
2590 /* readlinkat */
2591 case 500: {
2592 struct readlinkat_args *p = params;
2593 iarg[a++] = p->fd; /* int */
2594 uarg[a++] = (intptr_t)p->path; /* const char * */
2595 uarg[a++] = (intptr_t)p->buf; /* char * */
2596 uarg[a++] = p->bufsize; /* size_t */
2597 *n_args = 4;
2598 break;
2599 }
2600 /* renameat */
2601 case 501: {
2602 struct renameat_args *p = params;
2603 iarg[a++] = p->oldfd; /* int */
2604 uarg[a++] = (intptr_t)p->old; /* const char * */
2605 iarg[a++] = p->newfd; /* int */
2606 uarg[a++] = (intptr_t)p->new; /* const char * */
2607 *n_args = 4;
2608 break;
2609 }
2610 /* symlinkat */
2611 case 502: {
2612 struct symlinkat_args *p = params;
2613 uarg[a++] = (intptr_t)p->path1; /* const char * */
2614 iarg[a++] = p->fd; /* int */
2615 uarg[a++] = (intptr_t)p->path2; /* const char * */
2616 *n_args = 3;
2617 break;
2618 }
2619 /* unlinkat */
2620 case 503: {
2621 struct unlinkat_args *p = params;
2622 iarg[a++] = p->fd; /* int */
2623 uarg[a++] = (intptr_t)p->path; /* const char * */
2624 iarg[a++] = p->flag; /* int */
2625 *n_args = 3;
2626 break;
2627 }
2628 /* posix_openpt */
2629 case 504: {
2630 struct posix_openpt_args *p = params;
2631 iarg[a++] = p->flags; /* int */
2632 *n_args = 1;
2633 break;
2634 }
2635 /* gssd_syscall */
2636 case 505: {
2637 struct gssd_syscall_args *p = params;
2638 uarg[a++] = (intptr_t)p->path; /* const char * */
2639 *n_args = 1;
2640 break;
2641 }
2642 /* freebsd32_jail_get */
2643 case 506: {
2644 struct freebsd32_jail_get_args *p = params;
2645 uarg[a++] = (intptr_t)p->iovp; /* struct iovec32 * */
2646 uarg[a++] = p->iovcnt; /* unsigned int */
2647 iarg[a++] = p->flags; /* int */
2648 *n_args = 3;
2649 break;
2650 }
2651 /* freebsd32_jail_set */
2652 case 507: {
2653 struct freebsd32_jail_set_args *p = params;
2654 uarg[a++] = (intptr_t)p->iovp; /* struct iovec32 * */
2655 uarg[a++] = p->iovcnt; /* unsigned int */
2656 iarg[a++] = p->flags; /* int */
2657 *n_args = 3;
2658 break;
2659 }
2660 /* jail_remove */
2661 case 508: {
2662 struct jail_remove_args *p = params;
2663 iarg[a++] = p->jid; /* int */
2664 *n_args = 1;
2665 break;
2666 }
2667 /* freebsd32___semctl */
2668 case 510: {
2669 struct freebsd32___semctl_args *p = params;
2670 iarg[a++] = p->semid; /* int */
2671 iarg[a++] = p->semnum; /* int */
2672 iarg[a++] = p->cmd; /* int */
2673 uarg[a++] = (intptr_t)p->arg; /* union semun32 * */
2674 *n_args = 4;
2675 break;
2676 }
2677 /* freebsd32_msgctl */
2678 case 511: {
2679 struct freebsd32_msgctl_args *p = params;
2680 iarg[a++] = p->msqid; /* int */
2681 iarg[a++] = p->cmd; /* int */
2682 uarg[a++] = (intptr_t)p->buf; /* struct msqid_ds32 * */
2683 *n_args = 3;
2684 break;
2685 }
2686 /* freebsd32_shmctl */
2687 case 512: {
2688 struct freebsd32_shmctl_args *p = params;
2689 iarg[a++] = p->shmid; /* int */
2690 iarg[a++] = p->cmd; /* int */
2691 uarg[a++] = (intptr_t)p->buf; /* struct shmid_ds32 * */
2692 *n_args = 3;
2693 break;
2694 }
2695 /* lpathconf */
2696 case 513: {
2697 struct lpathconf_args *p = params;
2698 uarg[a++] = (intptr_t)p->path; /* const char * */
2699 iarg[a++] = p->name; /* int */
2700 *n_args = 2;
2701 break;
2702 }
2703 /* __cap_rights_get */
2704 case 515: {
2705 struct __cap_rights_get_args *p = params;
2706 iarg[a++] = p->version; /* int */
2707 iarg[a++] = p->fd; /* int */
2708 uarg[a++] = (intptr_t)p->rightsp; /* cap_rights_t * */
2709 *n_args = 3;
2710 break;
2711 }
2712 /* cap_enter */
2713 case 516: {
2714 *n_args = 0;
2715 break;
2716 }
2717 /* cap_getmode */
2718 case 517: {
2719 struct cap_getmode_args *p = params;
2720 uarg[a++] = (intptr_t)p->modep; /* u_int * */
2721 *n_args = 1;
2722 break;
2723 }
2724 /* pdfork */
2725 case 518: {
2726 struct pdfork_args *p = params;
2727 uarg[a++] = (intptr_t)p->fdp; /* int * */
2728 iarg[a++] = p->flags; /* int */
2729 *n_args = 2;
2730 break;
2731 }
2732 /* pdkill */
2733 case 519: {
2734 struct pdkill_args *p = params;
2735 iarg[a++] = p->fd; /* int */
2736 iarg[a++] = p->signum; /* int */
2737 *n_args = 2;
2738 break;
2739 }
2740 /* pdgetpid */
2741 case 520: {
2742 struct pdgetpid_args *p = params;
2743 iarg[a++] = p->fd; /* int */
2744 uarg[a++] = (intptr_t)p->pidp; /* pid_t * */
2745 *n_args = 2;
2746 break;
2747 }
2748 /* freebsd32_pselect */
2749 case 522: {
2750 struct freebsd32_pselect_args *p = params;
2751 iarg[a++] = p->nd; /* int */
2752 uarg[a++] = (intptr_t)p->in; /* fd_set * */
2753 uarg[a++] = (intptr_t)p->ou; /* fd_set * */
2754 uarg[a++] = (intptr_t)p->ex; /* fd_set * */
2755 uarg[a++] = (intptr_t)p->ts; /* const struct timespec32 * */
2756 uarg[a++] = (intptr_t)p->sm; /* const sigset_t * */
2757 *n_args = 6;
2758 break;
2759 }
2760 /* getloginclass */
2761 case 523: {
2762 struct getloginclass_args *p = params;
2763 uarg[a++] = (intptr_t)p->namebuf; /* char * */
2764 uarg[a++] = p->namelen; /* size_t */
2765 *n_args = 2;
2766 break;
2767 }
2768 /* setloginclass */
2769 case 524: {
2770 struct setloginclass_args *p = params;
2771 uarg[a++] = (intptr_t)p->namebuf; /* const char * */
2772 *n_args = 1;
2773 break;
2774 }
2775 /* rctl_get_racct */
2776 case 525: {
2777 struct rctl_get_racct_args *p = params;
2778 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2779 uarg[a++] = p->inbuflen; /* size_t */
2780 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2781 uarg[a++] = p->outbuflen; /* size_t */
2782 *n_args = 4;
2783 break;
2784 }
2785 /* rctl_get_rules */
2786 case 526: {
2787 struct rctl_get_rules_args *p = params;
2788 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2789 uarg[a++] = p->inbuflen; /* size_t */
2790 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2791 uarg[a++] = p->outbuflen; /* size_t */
2792 *n_args = 4;
2793 break;
2794 }
2795 /* rctl_get_limits */
2796 case 527: {
2797 struct rctl_get_limits_args *p = params;
2798 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2799 uarg[a++] = p->inbuflen; /* size_t */
2800 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2801 uarg[a++] = p->outbuflen; /* size_t */
2802 *n_args = 4;
2803 break;
2804 }
2805 /* rctl_add_rule */
2806 case 528: {
2807 struct rctl_add_rule_args *p = params;
2808 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2809 uarg[a++] = p->inbuflen; /* size_t */
2810 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2811 uarg[a++] = p->outbuflen; /* size_t */
2812 *n_args = 4;
2813 break;
2814 }
2815 /* rctl_remove_rule */
2816 case 529: {
2817 struct rctl_remove_rule_args *p = params;
2818 uarg[a++] = (intptr_t)p->inbufp; /* const void * */
2819 uarg[a++] = p->inbuflen; /* size_t */
2820 uarg[a++] = (intptr_t)p->outbufp; /* void * */
2821 uarg[a++] = p->outbuflen; /* size_t */
2822 *n_args = 4;
2823 break;
2824 }
2825 /* freebsd32_posix_fallocate */
2826 case 530: {
2827 struct freebsd32_posix_fallocate_args *p = params;
2828 iarg[a++] = p->fd; /* int */
2829 #ifdef PAD64_REQUIRED
2830 iarg[a++] = p->_pad; /* int */
2831 #endif
2832 uarg[a++] = p->offset1; /* uint32_t */
2833 uarg[a++] = p->offset2; /* uint32_t */
2834 uarg[a++] = p->len1; /* uint32_t */
2835 uarg[a++] = p->len2; /* uint32_t */
2836 *n_args = 6;
2837 break;
2838 }
2839 /* freebsd32_posix_fadvise */
2840 case 531: {
2841 struct freebsd32_posix_fadvise_args *p = params;
2842 iarg[a++] = p->fd; /* int */
2843 #ifdef PAD64_REQUIRED
2844 iarg[a++] = p->_pad; /* int */
2845 #endif
2846 uarg[a++] = p->offset1; /* uint32_t */
2847 uarg[a++] = p->offset2; /* uint32_t */
2848 uarg[a++] = p->len1; /* uint32_t */
2849 uarg[a++] = p->len2; /* uint32_t */
2850 iarg[a++] = p->advice; /* int */
2851 *n_args = 7;
2852 break;
2853 }
2854 /* freebsd32_wait6 */
2855 case 532: {
2856 struct freebsd32_wait6_args *p = params;
2857 iarg[a++] = p->idtype; /* idtype_t */
2858 #ifdef PAD64_REQUIRED
2859 iarg[a++] = p->_pad; /* int */
2860 #endif
2861 uarg[a++] = p->id1; /* uint32_t */
2862 uarg[a++] = p->id2; /* uint32_t */
2863 uarg[a++] = (intptr_t)p->status; /* int * */
2864 iarg[a++] = p->options; /* int */
2865 uarg[a++] = (intptr_t)p->wrusage; /* struct __wrusage32 * */
2866 uarg[a++] = (intptr_t)p->info; /* struct __siginfo32 * */
2867 *n_args = 8;
2868 break;
2869 }
2870 /* cap_rights_limit */
2871 case 533: {
2872 struct cap_rights_limit_args *p = params;
2873 iarg[a++] = p->fd; /* int */
2874 uarg[a++] = (intptr_t)p->rightsp; /* cap_rights_t * */
2875 *n_args = 2;
2876 break;
2877 }
2878 /* freebsd32_cap_ioctls_limit */
2879 case 534: {
2880 struct freebsd32_cap_ioctls_limit_args *p = params;
2881 iarg[a++] = p->fd; /* int */
2882 uarg[a++] = (intptr_t)p->cmds; /* const uint32_t * */
2883 uarg[a++] = p->ncmds; /* size_t */
2884 *n_args = 3;
2885 break;
2886 }
2887 /* freebsd32_cap_ioctls_get */
2888 case 535: {
2889 struct freebsd32_cap_ioctls_get_args *p = params;
2890 iarg[a++] = p->fd; /* int */
2891 uarg[a++] = (intptr_t)p->cmds; /* uint32_t * */
2892 uarg[a++] = p->maxcmds; /* size_t */
2893 *n_args = 3;
2894 break;
2895 }
2896 /* cap_fcntls_limit */
2897 case 536: {
2898 struct cap_fcntls_limit_args *p = params;
2899 iarg[a++] = p->fd; /* int */
2900 uarg[a++] = p->fcntlrights; /* uint32_t */
2901 *n_args = 2;
2902 break;
2903 }
2904 /* cap_fcntls_get */
2905 case 537: {
2906 struct cap_fcntls_get_args *p = params;
2907 iarg[a++] = p->fd; /* int */
2908 uarg[a++] = (intptr_t)p->fcntlrightsp; /* uint32_t * */
2909 *n_args = 2;
2910 break;
2911 }
2912 /* bindat */
2913 case 538: {
2914 struct bindat_args *p = params;
2915 iarg[a++] = p->fd; /* int */
2916 iarg[a++] = p->s; /* int */
2917 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
2918 iarg[a++] = p->namelen; /* __socklen_t */
2919 *n_args = 4;
2920 break;
2921 }
2922 /* connectat */
2923 case 539: {
2924 struct connectat_args *p = params;
2925 iarg[a++] = p->fd; /* int */
2926 iarg[a++] = p->s; /* int */
2927 uarg[a++] = (intptr_t)p->name; /* const struct sockaddr * */
2928 iarg[a++] = p->namelen; /* __socklen_t */
2929 *n_args = 4;
2930 break;
2931 }
2932 /* chflagsat */
2933 case 540: {
2934 struct chflagsat_args *p = params;
2935 iarg[a++] = p->fd; /* int */
2936 uarg[a++] = (intptr_t)p->path; /* const char * */
2937 uarg[a++] = p->flags; /* u_long */
2938 iarg[a++] = p->atflag; /* int */
2939 *n_args = 4;
2940 break;
2941 }
2942 /* accept4 */
2943 case 541: {
2944 struct accept4_args *p = params;
2945 iarg[a++] = p->s; /* int */
2946 uarg[a++] = (intptr_t)p->name; /* struct sockaddr * */
2947 uarg[a++] = (intptr_t)p->anamelen; /* __socklen_t * */
2948 iarg[a++] = p->flags; /* int */
2949 *n_args = 4;
2950 break;
2951 }
2952 /* pipe2 */
2953 case 542: {
2954 struct pipe2_args *p = params;
2955 uarg[a++] = (intptr_t)p->fildes; /* int * */
2956 iarg[a++] = p->flags; /* int */
2957 *n_args = 2;
2958 break;
2959 }
2960 /* freebsd32_aio_mlock */
2961 case 543: {
2962 struct freebsd32_aio_mlock_args *p = params;
2963 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
2964 *n_args = 1;
2965 break;
2966 }
2967 /* freebsd32_procctl */
2968 case 544: {
2969 struct freebsd32_procctl_args *p = params;
2970 iarg[a++] = p->idtype; /* idtype_t */
2971 #ifdef PAD64_REQUIRED
2972 iarg[a++] = p->_pad; /* int */
2973 #endif
2974 uarg[a++] = p->id1; /* uint32_t */
2975 uarg[a++] = p->id2; /* uint32_t */
2976 iarg[a++] = p->com; /* int */
2977 uarg[a++] = (intptr_t)p->data; /* void * */
2978 *n_args = 6;
2979 break;
2980 }
2981 /* freebsd32_ppoll */
2982 case 545: {
2983 struct freebsd32_ppoll_args *p = params;
2984 uarg[a++] = (intptr_t)p->fds; /* struct pollfd * */
2985 uarg[a++] = p->nfds; /* u_int */
2986 uarg[a++] = (intptr_t)p->ts; /* const struct timespec32 * */
2987 uarg[a++] = (intptr_t)p->set; /* const sigset_t * */
2988 *n_args = 4;
2989 break;
2990 }
2991 /* freebsd32_futimens */
2992 case 546: {
2993 struct freebsd32_futimens_args *p = params;
2994 iarg[a++] = p->fd; /* int */
2995 uarg[a++] = (intptr_t)p->times; /* const struct timespec32 * */
2996 *n_args = 2;
2997 break;
2998 }
2999 /* freebsd32_utimensat */
3000 case 547: {
3001 struct freebsd32_utimensat_args *p = params;
3002 iarg[a++] = p->fd; /* int */
3003 uarg[a++] = (intptr_t)p->path; /* const char * */
3004 uarg[a++] = (intptr_t)p->times; /* const struct timespec32 * */
3005 iarg[a++] = p->flag; /* int */
3006 *n_args = 4;
3007 break;
3008 }
3009 /* fdatasync */
3010 case 550: {
3011 struct fdatasync_args *p = params;
3012 iarg[a++] = p->fd; /* int */
3013 *n_args = 1;
3014 break;
3015 }
3016 /* freebsd32_fstat */
3017 case 551: {
3018 struct freebsd32_fstat_args *p = params;
3019 iarg[a++] = p->fd; /* int */
3020 uarg[a++] = (intptr_t)p->sb; /* struct stat32 * */
3021 *n_args = 2;
3022 break;
3023 }
3024 /* freebsd32_fstatat */
3025 case 552: {
3026 struct freebsd32_fstatat_args *p = params;
3027 iarg[a++] = p->fd; /* int */
3028 uarg[a++] = (intptr_t)p->path; /* const char * */
3029 uarg[a++] = (intptr_t)p->buf; /* struct stat32 * */
3030 iarg[a++] = p->flag; /* int */
3031 *n_args = 4;
3032 break;
3033 }
3034 /* freebsd32_fhstat */
3035 case 553: {
3036 struct freebsd32_fhstat_args *p = params;
3037 uarg[a++] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3038 uarg[a++] = (intptr_t)p->sb; /* struct stat32 * */
3039 *n_args = 2;
3040 break;
3041 }
3042 /* getdirentries */
3043 case 554: {
3044 struct getdirentries_args *p = params;
3045 iarg[a++] = p->fd; /* int */
3046 uarg[a++] = (intptr_t)p->buf; /* char * */
3047 uarg[a++] = p->count; /* size_t */
3048 uarg[a++] = (intptr_t)p->basep; /* off_t * */
3049 *n_args = 4;
3050 break;
3051 }
3052 /* statfs */
3053 case 555: {
3054 struct statfs_args *p = params;
3055 uarg[a++] = (intptr_t)p->path; /* const char * */
3056 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3057 *n_args = 2;
3058 break;
3059 }
3060 /* fstatfs */
3061 case 556: {
3062 struct fstatfs_args *p = params;
3063 iarg[a++] = p->fd; /* int */
3064 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3065 *n_args = 2;
3066 break;
3067 }
3068 /* freebsd32_getfsstat */
3069 case 557: {
3070 struct freebsd32_getfsstat_args *p = params;
3071 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3072 iarg[a++] = p->bufsize; /* int32_t */
3073 iarg[a++] = p->mode; /* int */
3074 *n_args = 3;
3075 break;
3076 }
3077 /* fhstatfs */
3078 case 558: {
3079 struct fhstatfs_args *p = params;
3080 uarg[a++] = (intptr_t)p->u_fhp; /* const struct fhandle * */
3081 uarg[a++] = (intptr_t)p->buf; /* struct statfs * */
3082 *n_args = 2;
3083 break;
3084 }
3085 /* freebsd32_mknodat */
3086 case 559: {
3087 struct freebsd32_mknodat_args *p = params;
3088 iarg[a++] = p->fd; /* int */
3089 uarg[a++] = (intptr_t)p->path; /* const char * */
3090 iarg[a++] = p->mode; /* mode_t */
3091 #ifdef PAD64_REQUIRED
3092 iarg[a++] = p->_pad; /* int */
3093 #endif
3094 uarg[a++] = p->dev1; /* uint32_t */
3095 uarg[a++] = p->dev2; /* uint32_t */
3096 *n_args = 6;
3097 break;
3098 }
3099 /* freebsd32_kevent */
3100 case 560: {
3101 struct freebsd32_kevent_args *p = params;
3102 iarg[a++] = p->fd; /* int */
3103 uarg[a++] = (intptr_t)p->changelist; /* const struct kevent32 * */
3104 iarg[a++] = p->nchanges; /* int */
3105 uarg[a++] = (intptr_t)p->eventlist; /* struct kevent32 * */
3106 iarg[a++] = p->nevents; /* int */
3107 uarg[a++] = (intptr_t)p->timeout; /* const struct timespec32 * */
3108 *n_args = 6;
3109 break;
3110 }
3111 /* freebsd32_cpuset_getdomain */
3112 case 561: {
3113 struct freebsd32_cpuset_getdomain_args *p = params;
3114 iarg[a++] = p->level; /* cpulevel_t */
3115 iarg[a++] = p->which; /* cpuwhich_t */
3116 uarg[a++] = p->id1; /* uint32_t */
3117 uarg[a++] = p->id2; /* uint32_t */
3118 uarg[a++] = p->domainsetsize; /* size_t */
3119 uarg[a++] = (intptr_t)p->mask; /* domainset_t * */
3120 uarg[a++] = (intptr_t)p->policy; /* int * */
3121 *n_args = 7;
3122 break;
3123 }
3124 /* freebsd32_cpuset_setdomain */
3125 case 562: {
3126 struct freebsd32_cpuset_setdomain_args *p = params;
3127 iarg[a++] = p->level; /* cpulevel_t */
3128 iarg[a++] = p->which; /* cpuwhich_t */
3129 uarg[a++] = p->id1; /* uint32_t */
3130 uarg[a++] = p->id2; /* uint32_t */
3131 uarg[a++] = p->domainsetsize; /* size_t */
3132 uarg[a++] = (intptr_t)p->mask; /* domainset_t * */
3133 iarg[a++] = p->policy; /* int */
3134 *n_args = 7;
3135 break;
3136 }
3137 /* getrandom */
3138 case 563: {
3139 struct getrandom_args *p = params;
3140 uarg[a++] = (intptr_t)p->buf; /* void * */
3141 uarg[a++] = p->buflen; /* size_t */
3142 uarg[a++] = p->flags; /* unsigned int */
3143 *n_args = 3;
3144 break;
3145 }
3146 /* getfhat */
3147 case 564: {
3148 struct getfhat_args *p = params;
3149 iarg[a++] = p->fd; /* int */
3150 uarg[a++] = (intptr_t)p->path; /* char * */
3151 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3152 iarg[a++] = p->flags; /* int */
3153 *n_args = 4;
3154 break;
3155 }
3156 /* fhlink */
3157 case 565: {
3158 struct fhlink_args *p = params;
3159 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3160 uarg[a++] = (intptr_t)p->to; /* const char * */
3161 *n_args = 2;
3162 break;
3163 }
3164 /* fhlinkat */
3165 case 566: {
3166 struct fhlinkat_args *p = params;
3167 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3168 iarg[a++] = p->tofd; /* int */
3169 uarg[a++] = (intptr_t)p->to; /* const char * */
3170 *n_args = 3;
3171 break;
3172 }
3173 /* fhreadlink */
3174 case 567: {
3175 struct fhreadlink_args *p = params;
3176 uarg[a++] = (intptr_t)p->fhp; /* struct fhandle * */
3177 uarg[a++] = (intptr_t)p->buf; /* char * */
3178 uarg[a++] = p->bufsize; /* size_t */
3179 *n_args = 3;
3180 break;
3181 }
3182 /* funlinkat */
3183 case 568: {
3184 struct funlinkat_args *p = params;
3185 iarg[a++] = p->dfd; /* int */
3186 uarg[a++] = (intptr_t)p->path; /* const char * */
3187 iarg[a++] = p->fd; /* int */
3188 iarg[a++] = p->flag; /* int */
3189 *n_args = 4;
3190 break;
3191 }
3192 /* copy_file_range */
3193 case 569: {
3194 struct copy_file_range_args *p = params;
3195 iarg[a++] = p->infd; /* int */
3196 uarg[a++] = (intptr_t)p->inoffp; /* off_t * */
3197 iarg[a++] = p->outfd; /* int */
3198 uarg[a++] = (intptr_t)p->outoffp; /* off_t * */
3199 uarg[a++] = p->len; /* size_t */
3200 uarg[a++] = p->flags; /* unsigned int */
3201 *n_args = 6;
3202 break;
3203 }
3204 /* freebsd32___sysctlbyname */
3205 case 570: {
3206 struct freebsd32___sysctlbyname_args *p = params;
3207 uarg[a++] = (intptr_t)p->name; /* const char * */
3208 uarg[a++] = p->namelen; /* size_t */
3209 uarg[a++] = (intptr_t)p->old; /* void * */
3210 uarg[a++] = (intptr_t)p->oldlenp; /* uint32_t * */
3211 uarg[a++] = (intptr_t)p->new; /* void * */
3212 uarg[a++] = p->newlen; /* size_t */
3213 *n_args = 6;
3214 break;
3215 }
3216 /* shm_open2 */
3217 case 571: {
3218 struct shm_open2_args *p = params;
3219 uarg[a++] = (intptr_t)p->path; /* const char * */
3220 iarg[a++] = p->flags; /* int */
3221 iarg[a++] = p->mode; /* mode_t */
3222 iarg[a++] = p->shmflags; /* int */
3223 uarg[a++] = (intptr_t)p->name; /* const char * */
3224 *n_args = 5;
3225 break;
3226 }
3227 /* shm_rename */
3228 case 572: {
3229 struct shm_rename_args *p = params;
3230 uarg[a++] = (intptr_t)p->path_from; /* const char * */
3231 uarg[a++] = (intptr_t)p->path_to; /* const char * */
3232 iarg[a++] = p->flags; /* int */
3233 *n_args = 3;
3234 break;
3235 }
3236 /* sigfastblock */
3237 case 573: {
3238 struct sigfastblock_args *p = params;
3239 iarg[a++] = p->cmd; /* int */
3240 uarg[a++] = (intptr_t)p->ptr; /* void * */
3241 *n_args = 2;
3242 break;
3243 }
3244 /* __realpathat */
3245 case 574: {
3246 struct __realpathat_args *p = params;
3247 iarg[a++] = p->fd; /* int */
3248 uarg[a++] = (intptr_t)p->path; /* const char * */
3249 uarg[a++] = (intptr_t)p->buf; /* char * */
3250 uarg[a++] = p->size; /* size_t */
3251 iarg[a++] = p->flags; /* int */
3252 *n_args = 5;
3253 break;
3254 }
3255 /* close_range */
3256 case 575: {
3257 struct close_range_args *p = params;
3258 uarg[a++] = p->lowfd; /* u_int */
3259 uarg[a++] = p->highfd; /* u_int */
3260 iarg[a++] = p->flags; /* int */
3261 *n_args = 3;
3262 break;
3263 }
3264 /* rpctls_syscall */
3265 case 576: {
3266 struct rpctls_syscall_args *p = params;
3267 iarg[a++] = p->op; /* int */
3268 uarg[a++] = (intptr_t)p->path; /* const char * */
3269 *n_args = 2;
3270 break;
3271 }
3272 /* __specialfd */
3273 case 577: {
3274 struct __specialfd_args *p = params;
3275 iarg[a++] = p->type; /* int */
3276 uarg[a++] = (intptr_t)p->req; /* const void * */
3277 uarg[a++] = p->len; /* size_t */
3278 *n_args = 3;
3279 break;
3280 }
3281 /* freebsd32_aio_writev */
3282 case 578: {
3283 struct freebsd32_aio_writev_args *p = params;
3284 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
3285 *n_args = 1;
3286 break;
3287 }
3288 /* freebsd32_aio_readv */
3289 case 579: {
3290 struct freebsd32_aio_readv_args *p = params;
3291 uarg[a++] = (intptr_t)p->aiocbp; /* struct aiocb32 * */
3292 *n_args = 1;
3293 break;
3294 }
3295 /* fspacectl */
3296 case 580: {
3297 struct fspacectl_args *p = params;
3298 iarg[a++] = p->fd; /* int */
3299 iarg[a++] = p->cmd; /* int */
3300 uarg[a++] = (intptr_t)p->rqsr; /* const struct spacectl_range * */
3301 iarg[a++] = p->flags; /* int */
3302 uarg[a++] = (intptr_t)p->rmsr; /* struct spacectl_range * */
3303 *n_args = 5;
3304 break;
3305 }
3306 /* sched_getcpu */
3307 case 581: {
3308 *n_args = 0;
3309 break;
3310 }
3311 /* swapoff */
3312 case 582: {
3313 struct swapoff_args *p = params;
3314 uarg[a++] = (intptr_t)p->name; /* const char * */
3315 uarg[a++] = p->flags; /* u_int */
3316 *n_args = 2;
3317 break;
3318 }
3319 /* kqueuex */
3320 case 583: {
3321 struct kqueuex_args *p = params;
3322 uarg[a++] = p->flags; /* u_int */
3323 *n_args = 1;
3324 break;
3325 }
3326 /* membarrier */
3327 case 584: {
3328 struct membarrier_args *p = params;
3329 iarg[a++] = p->cmd; /* int */
3330 uarg[a++] = p->flags; /* unsigned */
3331 iarg[a++] = p->cpu_id; /* int */
3332 *n_args = 3;
3333 break;
3334 }
3335 /* timerfd_create */
3336 case 585: {
3337 struct timerfd_create_args *p = params;
3338 iarg[a++] = p->clockid; /* int */
3339 iarg[a++] = p->flags; /* int */
3340 *n_args = 2;
3341 break;
3342 }
3343 /* freebsd32_timerfd_gettime */
3344 case 586: {
3345 struct freebsd32_timerfd_gettime_args *p = params;
3346 iarg[a++] = p->fd; /* int */
3347 uarg[a++] = (intptr_t)p->curr_value; /* struct itimerspec32 * */
3348 *n_args = 2;
3349 break;
3350 }
3351 /* freebsd32_timerfd_settime */
3352 case 587: {
3353 struct freebsd32_timerfd_settime_args *p = params;
3354 iarg[a++] = p->fd; /* int */
3355 iarg[a++] = p->flags; /* int */
3356 uarg[a++] = (intptr_t)p->new_value; /* const struct itimerspec32 * */
3357 uarg[a++] = (intptr_t)p->old_value; /* struct itimerspec32 * */
3358 *n_args = 4;
3359 break;
3360 }
3361 /* kcmp */
3362 case 588: {
3363 struct kcmp_args *p = params;
3364 iarg[a++] = p->pid1; /* pid_t */
3365 iarg[a++] = p->pid2; /* pid_t */
3366 iarg[a++] = p->type; /* int */
3367 uarg[a++] = (intptr_t)p->idx1; /* uintptr_t */
3368 uarg[a++] = (intptr_t)p->idx2; /* uintptr_t */
3369 *n_args = 5;
3370 break;
3371 }
3372 /* getrlimitusage */
3373 case 589: {
3374 struct getrlimitusage_args *p = params;
3375 uarg[a++] = p->which; /* u_int */
3376 iarg[a++] = p->flags; /* int */
3377 uarg[a++] = (intptr_t)p->res; /* rlim_t * */
3378 *n_args = 3;
3379 break;
3380 }
3381 /* fchroot */
3382 case 590: {
3383 struct fchroot_args *p = params;
3384 iarg[a++] = p->fd; /* int */
3385 *n_args = 1;
3386 break;
3387 }
3388 /* freebsd32_setcred */
3389 case 591: {
3390 struct freebsd32_setcred_args *p = params;
3391 uarg[a++] = p->flags; /* u_int */
3392 uarg[a++] = (intptr_t)p->wcred; /* const struct setcred32 * */
3393 uarg[a++] = p->size; /* size_t */
3394 *n_args = 3;
3395 break;
3396 }
3397 default:
3398 *n_args = 0;
3399 break;
3400 };
3401 }
3402 static void
systrace_entry_setargdesc(int sysnum,int ndx,char * desc,size_t descsz)3403 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3404 {
3405 const char *p = NULL;
3406 switch (sysnum) {
3407 /* syscall */
3408 case 0:
3409 break;
3410 /* exit */
3411 case 1:
3412 switch (ndx) {
3413 case 0:
3414 p = "int";
3415 break;
3416 default:
3417 break;
3418 };
3419 break;
3420 /* fork */
3421 case 2:
3422 break;
3423 /* read */
3424 case 3:
3425 switch (ndx) {
3426 case 0:
3427 p = "int";
3428 break;
3429 case 1:
3430 p = "userland void *";
3431 break;
3432 case 2:
3433 p = "size_t";
3434 break;
3435 default:
3436 break;
3437 };
3438 break;
3439 /* write */
3440 case 4:
3441 switch (ndx) {
3442 case 0:
3443 p = "int";
3444 break;
3445 case 1:
3446 p = "userland const void *";
3447 break;
3448 case 2:
3449 p = "size_t";
3450 break;
3451 default:
3452 break;
3453 };
3454 break;
3455 /* open */
3456 case 5:
3457 switch (ndx) {
3458 case 0:
3459 p = "userland const char *";
3460 break;
3461 case 1:
3462 p = "int";
3463 break;
3464 case 2:
3465 p = "mode_t";
3466 break;
3467 default:
3468 break;
3469 };
3470 break;
3471 /* close */
3472 case 6:
3473 switch (ndx) {
3474 case 0:
3475 p = "int";
3476 break;
3477 default:
3478 break;
3479 };
3480 break;
3481 /* freebsd32_wait4 */
3482 case 7:
3483 switch (ndx) {
3484 case 0:
3485 p = "int";
3486 break;
3487 case 1:
3488 p = "userland int *";
3489 break;
3490 case 2:
3491 p = "int";
3492 break;
3493 case 3:
3494 p = "userland struct rusage32 *";
3495 break;
3496 default:
3497 break;
3498 };
3499 break;
3500 /* link */
3501 case 9:
3502 switch (ndx) {
3503 case 0:
3504 p = "userland const char *";
3505 break;
3506 case 1:
3507 p = "userland const char *";
3508 break;
3509 default:
3510 break;
3511 };
3512 break;
3513 /* unlink */
3514 case 10:
3515 switch (ndx) {
3516 case 0:
3517 p = "userland const char *";
3518 break;
3519 default:
3520 break;
3521 };
3522 break;
3523 /* chdir */
3524 case 12:
3525 switch (ndx) {
3526 case 0:
3527 p = "userland const char *";
3528 break;
3529 default:
3530 break;
3531 };
3532 break;
3533 /* fchdir */
3534 case 13:
3535 switch (ndx) {
3536 case 0:
3537 p = "int";
3538 break;
3539 default:
3540 break;
3541 };
3542 break;
3543 /* chmod */
3544 case 15:
3545 switch (ndx) {
3546 case 0:
3547 p = "userland const char *";
3548 break;
3549 case 1:
3550 p = "mode_t";
3551 break;
3552 default:
3553 break;
3554 };
3555 break;
3556 /* chown */
3557 case 16:
3558 switch (ndx) {
3559 case 0:
3560 p = "userland const char *";
3561 break;
3562 case 1:
3563 p = "int";
3564 break;
3565 case 2:
3566 p = "int";
3567 break;
3568 default:
3569 break;
3570 };
3571 break;
3572 /* break */
3573 case 17:
3574 switch (ndx) {
3575 case 0:
3576 p = "userland char *";
3577 break;
3578 default:
3579 break;
3580 };
3581 break;
3582 /* getpid */
3583 case 20:
3584 break;
3585 /* mount */
3586 case 21:
3587 switch (ndx) {
3588 case 0:
3589 p = "userland const char *";
3590 break;
3591 case 1:
3592 p = "userland const char *";
3593 break;
3594 case 2:
3595 p = "int";
3596 break;
3597 case 3:
3598 p = "userland void *";
3599 break;
3600 default:
3601 break;
3602 };
3603 break;
3604 /* unmount */
3605 case 22:
3606 switch (ndx) {
3607 case 0:
3608 p = "userland const char *";
3609 break;
3610 case 1:
3611 p = "int";
3612 break;
3613 default:
3614 break;
3615 };
3616 break;
3617 /* setuid */
3618 case 23:
3619 switch (ndx) {
3620 case 0:
3621 p = "uid_t";
3622 break;
3623 default:
3624 break;
3625 };
3626 break;
3627 /* getuid */
3628 case 24:
3629 break;
3630 /* geteuid */
3631 case 25:
3632 break;
3633 /* freebsd32_ptrace */
3634 case 26:
3635 switch (ndx) {
3636 case 0:
3637 p = "int";
3638 break;
3639 case 1:
3640 p = "pid_t";
3641 break;
3642 case 2:
3643 p = "caddr_t";
3644 break;
3645 case 3:
3646 p = "int";
3647 break;
3648 default:
3649 break;
3650 };
3651 break;
3652 /* freebsd32_recvmsg */
3653 case 27:
3654 switch (ndx) {
3655 case 0:
3656 p = "int";
3657 break;
3658 case 1:
3659 p = "userland struct msghdr32 *";
3660 break;
3661 case 2:
3662 p = "int";
3663 break;
3664 default:
3665 break;
3666 };
3667 break;
3668 /* freebsd32_sendmsg */
3669 case 28:
3670 switch (ndx) {
3671 case 0:
3672 p = "int";
3673 break;
3674 case 1:
3675 p = "userland const struct msghdr32 *";
3676 break;
3677 case 2:
3678 p = "int";
3679 break;
3680 default:
3681 break;
3682 };
3683 break;
3684 /* recvfrom */
3685 case 29:
3686 switch (ndx) {
3687 case 0:
3688 p = "int";
3689 break;
3690 case 1:
3691 p = "userland void *";
3692 break;
3693 case 2:
3694 p = "size_t";
3695 break;
3696 case 3:
3697 p = "int";
3698 break;
3699 case 4:
3700 p = "userland struct sockaddr *";
3701 break;
3702 case 5:
3703 p = "userland __socklen_t *";
3704 break;
3705 default:
3706 break;
3707 };
3708 break;
3709 /* accept */
3710 case 30:
3711 switch (ndx) {
3712 case 0:
3713 p = "int";
3714 break;
3715 case 1:
3716 p = "userland struct sockaddr *";
3717 break;
3718 case 2:
3719 p = "userland __socklen_t *";
3720 break;
3721 default:
3722 break;
3723 };
3724 break;
3725 /* getpeername */
3726 case 31:
3727 switch (ndx) {
3728 case 0:
3729 p = "int";
3730 break;
3731 case 1:
3732 p = "userland struct sockaddr *";
3733 break;
3734 case 2:
3735 p = "userland __socklen_t *";
3736 break;
3737 default:
3738 break;
3739 };
3740 break;
3741 /* getsockname */
3742 case 32:
3743 switch (ndx) {
3744 case 0:
3745 p = "int";
3746 break;
3747 case 1:
3748 p = "userland struct sockaddr *";
3749 break;
3750 case 2:
3751 p = "userland __socklen_t *";
3752 break;
3753 default:
3754 break;
3755 };
3756 break;
3757 /* access */
3758 case 33:
3759 switch (ndx) {
3760 case 0:
3761 p = "userland const char *";
3762 break;
3763 case 1:
3764 p = "int";
3765 break;
3766 default:
3767 break;
3768 };
3769 break;
3770 /* chflags */
3771 case 34:
3772 switch (ndx) {
3773 case 0:
3774 p = "userland const char *";
3775 break;
3776 case 1:
3777 p = "u_long";
3778 break;
3779 default:
3780 break;
3781 };
3782 break;
3783 /* fchflags */
3784 case 35:
3785 switch (ndx) {
3786 case 0:
3787 p = "int";
3788 break;
3789 case 1:
3790 p = "u_long";
3791 break;
3792 default:
3793 break;
3794 };
3795 break;
3796 /* sync */
3797 case 36:
3798 break;
3799 /* kill */
3800 case 37:
3801 switch (ndx) {
3802 case 0:
3803 p = "int";
3804 break;
3805 case 1:
3806 p = "int";
3807 break;
3808 default:
3809 break;
3810 };
3811 break;
3812 /* getppid */
3813 case 39:
3814 break;
3815 /* dup */
3816 case 41:
3817 switch (ndx) {
3818 case 0:
3819 p = "u_int";
3820 break;
3821 default:
3822 break;
3823 };
3824 break;
3825 /* getegid */
3826 case 43:
3827 break;
3828 /* profil */
3829 case 44:
3830 switch (ndx) {
3831 case 0:
3832 p = "userland char *";
3833 break;
3834 case 1:
3835 p = "size_t";
3836 break;
3837 case 2:
3838 p = "size_t";
3839 break;
3840 case 3:
3841 p = "u_int";
3842 break;
3843 default:
3844 break;
3845 };
3846 break;
3847 /* ktrace */
3848 case 45:
3849 switch (ndx) {
3850 case 0:
3851 p = "userland const char *";
3852 break;
3853 case 1:
3854 p = "int";
3855 break;
3856 case 2:
3857 p = "int";
3858 break;
3859 case 3:
3860 p = "int";
3861 break;
3862 default:
3863 break;
3864 };
3865 break;
3866 /* getgid */
3867 case 47:
3868 break;
3869 /* getlogin */
3870 case 49:
3871 switch (ndx) {
3872 case 0:
3873 p = "userland char *";
3874 break;
3875 case 1:
3876 p = "u_int";
3877 break;
3878 default:
3879 break;
3880 };
3881 break;
3882 /* setlogin */
3883 case 50:
3884 switch (ndx) {
3885 case 0:
3886 p = "userland const char *";
3887 break;
3888 default:
3889 break;
3890 };
3891 break;
3892 /* acct */
3893 case 51:
3894 switch (ndx) {
3895 case 0:
3896 p = "userland const char *";
3897 break;
3898 default:
3899 break;
3900 };
3901 break;
3902 /* freebsd32_sigaltstack */
3903 case 53:
3904 switch (ndx) {
3905 case 0:
3906 p = "userland const struct sigaltstack32 *";
3907 break;
3908 case 1:
3909 p = "userland struct sigaltstack32 *";
3910 break;
3911 default:
3912 break;
3913 };
3914 break;
3915 /* freebsd32_ioctl */
3916 case 54:
3917 switch (ndx) {
3918 case 0:
3919 p = "int";
3920 break;
3921 case 1:
3922 p = "u_long";
3923 break;
3924 case 2:
3925 p = "userland char *";
3926 break;
3927 default:
3928 break;
3929 };
3930 break;
3931 /* reboot */
3932 case 55:
3933 switch (ndx) {
3934 case 0:
3935 p = "int";
3936 break;
3937 default:
3938 break;
3939 };
3940 break;
3941 /* revoke */
3942 case 56:
3943 switch (ndx) {
3944 case 0:
3945 p = "userland const char *";
3946 break;
3947 default:
3948 break;
3949 };
3950 break;
3951 /* symlink */
3952 case 57:
3953 switch (ndx) {
3954 case 0:
3955 p = "userland const char *";
3956 break;
3957 case 1:
3958 p = "userland const char *";
3959 break;
3960 default:
3961 break;
3962 };
3963 break;
3964 /* readlink */
3965 case 58:
3966 switch (ndx) {
3967 case 0:
3968 p = "userland const char *";
3969 break;
3970 case 1:
3971 p = "userland char *";
3972 break;
3973 case 2:
3974 p = "size_t";
3975 break;
3976 default:
3977 break;
3978 };
3979 break;
3980 /* freebsd32_execve */
3981 case 59:
3982 switch (ndx) {
3983 case 0:
3984 p = "userland const char *";
3985 break;
3986 case 1:
3987 p = "userland uint32_t *";
3988 break;
3989 case 2:
3990 p = "userland uint32_t *";
3991 break;
3992 default:
3993 break;
3994 };
3995 break;
3996 /* umask */
3997 case 60:
3998 switch (ndx) {
3999 case 0:
4000 p = "mode_t";
4001 break;
4002 default:
4003 break;
4004 };
4005 break;
4006 /* chroot */
4007 case 61:
4008 switch (ndx) {
4009 case 0:
4010 p = "userland const char *";
4011 break;
4012 default:
4013 break;
4014 };
4015 break;
4016 /* msync */
4017 case 65:
4018 switch (ndx) {
4019 case 0:
4020 p = "userland void *";
4021 break;
4022 case 1:
4023 p = "size_t";
4024 break;
4025 case 2:
4026 p = "int";
4027 break;
4028 default:
4029 break;
4030 };
4031 break;
4032 /* vfork */
4033 case 66:
4034 break;
4035 /* munmap */
4036 case 73:
4037 switch (ndx) {
4038 case 0:
4039 p = "userland void *";
4040 break;
4041 case 1:
4042 p = "size_t";
4043 break;
4044 default:
4045 break;
4046 };
4047 break;
4048 /* freebsd32_mprotect */
4049 case 74:
4050 switch (ndx) {
4051 case 0:
4052 p = "userland void *";
4053 break;
4054 case 1:
4055 p = "size_t";
4056 break;
4057 case 2:
4058 p = "int";
4059 break;
4060 default:
4061 break;
4062 };
4063 break;
4064 /* madvise */
4065 case 75:
4066 switch (ndx) {
4067 case 0:
4068 p = "userland void *";
4069 break;
4070 case 1:
4071 p = "size_t";
4072 break;
4073 case 2:
4074 p = "int";
4075 break;
4076 default:
4077 break;
4078 };
4079 break;
4080 /* mincore */
4081 case 78:
4082 switch (ndx) {
4083 case 0:
4084 p = "userland const void *";
4085 break;
4086 case 1:
4087 p = "size_t";
4088 break;
4089 case 2:
4090 p = "userland char *";
4091 break;
4092 default:
4093 break;
4094 };
4095 break;
4096 /* getgroups */
4097 case 79:
4098 switch (ndx) {
4099 case 0:
4100 p = "int";
4101 break;
4102 case 1:
4103 p = "userland gid_t *";
4104 break;
4105 default:
4106 break;
4107 };
4108 break;
4109 /* setgroups */
4110 case 80:
4111 switch (ndx) {
4112 case 0:
4113 p = "int";
4114 break;
4115 case 1:
4116 p = "userland const gid_t *";
4117 break;
4118 default:
4119 break;
4120 };
4121 break;
4122 /* getpgrp */
4123 case 81:
4124 break;
4125 /* setpgid */
4126 case 82:
4127 switch (ndx) {
4128 case 0:
4129 p = "int";
4130 break;
4131 case 1:
4132 p = "int";
4133 break;
4134 default:
4135 break;
4136 };
4137 break;
4138 /* freebsd32_setitimer */
4139 case 83:
4140 switch (ndx) {
4141 case 0:
4142 p = "int";
4143 break;
4144 case 1:
4145 p = "userland const struct itimerval32 *";
4146 break;
4147 case 2:
4148 p = "userland struct itimerval32 *";
4149 break;
4150 default:
4151 break;
4152 };
4153 break;
4154 /* swapon */
4155 case 85:
4156 switch (ndx) {
4157 case 0:
4158 p = "userland const char *";
4159 break;
4160 default:
4161 break;
4162 };
4163 break;
4164 /* freebsd32_getitimer */
4165 case 86:
4166 switch (ndx) {
4167 case 0:
4168 p = "int";
4169 break;
4170 case 1:
4171 p = "userland struct itimerval32 *";
4172 break;
4173 default:
4174 break;
4175 };
4176 break;
4177 /* getdtablesize */
4178 case 89:
4179 break;
4180 /* dup2 */
4181 case 90:
4182 switch (ndx) {
4183 case 0:
4184 p = "u_int";
4185 break;
4186 case 1:
4187 p = "u_int";
4188 break;
4189 default:
4190 break;
4191 };
4192 break;
4193 /* freebsd32_fcntl */
4194 case 92:
4195 switch (ndx) {
4196 case 0:
4197 p = "int";
4198 break;
4199 case 1:
4200 p = "int";
4201 break;
4202 case 2:
4203 p = "intptr_t";
4204 break;
4205 default:
4206 break;
4207 };
4208 break;
4209 /* freebsd32_select */
4210 case 93:
4211 switch (ndx) {
4212 case 0:
4213 p = "int";
4214 break;
4215 case 1:
4216 p = "userland fd_set *";
4217 break;
4218 case 2:
4219 p = "userland fd_set *";
4220 break;
4221 case 3:
4222 p = "userland fd_set *";
4223 break;
4224 case 4:
4225 p = "userland struct timeval32 *";
4226 break;
4227 default:
4228 break;
4229 };
4230 break;
4231 /* fsync */
4232 case 95:
4233 switch (ndx) {
4234 case 0:
4235 p = "int";
4236 break;
4237 default:
4238 break;
4239 };
4240 break;
4241 /* setpriority */
4242 case 96:
4243 switch (ndx) {
4244 case 0:
4245 p = "int";
4246 break;
4247 case 1:
4248 p = "int";
4249 break;
4250 case 2:
4251 p = "int";
4252 break;
4253 default:
4254 break;
4255 };
4256 break;
4257 /* socket */
4258 case 97:
4259 switch (ndx) {
4260 case 0:
4261 p = "int";
4262 break;
4263 case 1:
4264 p = "int";
4265 break;
4266 case 2:
4267 p = "int";
4268 break;
4269 default:
4270 break;
4271 };
4272 break;
4273 /* connect */
4274 case 98:
4275 switch (ndx) {
4276 case 0:
4277 p = "int";
4278 break;
4279 case 1:
4280 p = "userland const struct sockaddr *";
4281 break;
4282 case 2:
4283 p = "__socklen_t";
4284 break;
4285 default:
4286 break;
4287 };
4288 break;
4289 /* getpriority */
4290 case 100:
4291 switch (ndx) {
4292 case 0:
4293 p = "int";
4294 break;
4295 case 1:
4296 p = "int";
4297 break;
4298 default:
4299 break;
4300 };
4301 break;
4302 /* bind */
4303 case 104:
4304 switch (ndx) {
4305 case 0:
4306 p = "int";
4307 break;
4308 case 1:
4309 p = "userland const struct sockaddr *";
4310 break;
4311 case 2:
4312 p = "__socklen_t";
4313 break;
4314 default:
4315 break;
4316 };
4317 break;
4318 /* setsockopt */
4319 case 105:
4320 switch (ndx) {
4321 case 0:
4322 p = "int";
4323 break;
4324 case 1:
4325 p = "int";
4326 break;
4327 case 2:
4328 p = "int";
4329 break;
4330 case 3:
4331 p = "userland const void *";
4332 break;
4333 case 4:
4334 p = "__socklen_t";
4335 break;
4336 default:
4337 break;
4338 };
4339 break;
4340 /* listen */
4341 case 106:
4342 switch (ndx) {
4343 case 0:
4344 p = "int";
4345 break;
4346 case 1:
4347 p = "int";
4348 break;
4349 default:
4350 break;
4351 };
4352 break;
4353 /* freebsd32_gettimeofday */
4354 case 116:
4355 switch (ndx) {
4356 case 0:
4357 p = "userland struct timeval32 *";
4358 break;
4359 case 1:
4360 p = "userland struct timezone *";
4361 break;
4362 default:
4363 break;
4364 };
4365 break;
4366 /* freebsd32_getrusage */
4367 case 117:
4368 switch (ndx) {
4369 case 0:
4370 p = "int";
4371 break;
4372 case 1:
4373 p = "userland struct rusage32 *";
4374 break;
4375 default:
4376 break;
4377 };
4378 break;
4379 /* getsockopt */
4380 case 118:
4381 switch (ndx) {
4382 case 0:
4383 p = "int";
4384 break;
4385 case 1:
4386 p = "int";
4387 break;
4388 case 2:
4389 p = "int";
4390 break;
4391 case 3:
4392 p = "userland void *";
4393 break;
4394 case 4:
4395 p = "userland __socklen_t *";
4396 break;
4397 default:
4398 break;
4399 };
4400 break;
4401 /* freebsd32_readv */
4402 case 120:
4403 switch (ndx) {
4404 case 0:
4405 p = "int";
4406 break;
4407 case 1:
4408 p = "userland const struct iovec32 *";
4409 break;
4410 case 2:
4411 p = "u_int";
4412 break;
4413 default:
4414 break;
4415 };
4416 break;
4417 /* freebsd32_writev */
4418 case 121:
4419 switch (ndx) {
4420 case 0:
4421 p = "int";
4422 break;
4423 case 1:
4424 p = "userland const struct iovec32 *";
4425 break;
4426 case 2:
4427 p = "u_int";
4428 break;
4429 default:
4430 break;
4431 };
4432 break;
4433 /* freebsd32_settimeofday */
4434 case 122:
4435 switch (ndx) {
4436 case 0:
4437 p = "userland const struct timeval32 *";
4438 break;
4439 case 1:
4440 p = "userland const struct timezone *";
4441 break;
4442 default:
4443 break;
4444 };
4445 break;
4446 /* fchown */
4447 case 123:
4448 switch (ndx) {
4449 case 0:
4450 p = "int";
4451 break;
4452 case 1:
4453 p = "int";
4454 break;
4455 case 2:
4456 p = "int";
4457 break;
4458 default:
4459 break;
4460 };
4461 break;
4462 /* fchmod */
4463 case 124:
4464 switch (ndx) {
4465 case 0:
4466 p = "int";
4467 break;
4468 case 1:
4469 p = "mode_t";
4470 break;
4471 default:
4472 break;
4473 };
4474 break;
4475 /* setreuid */
4476 case 126:
4477 switch (ndx) {
4478 case 0:
4479 p = "int";
4480 break;
4481 case 1:
4482 p = "int";
4483 break;
4484 default:
4485 break;
4486 };
4487 break;
4488 /* setregid */
4489 case 127:
4490 switch (ndx) {
4491 case 0:
4492 p = "int";
4493 break;
4494 case 1:
4495 p = "int";
4496 break;
4497 default:
4498 break;
4499 };
4500 break;
4501 /* rename */
4502 case 128:
4503 switch (ndx) {
4504 case 0:
4505 p = "userland const char *";
4506 break;
4507 case 1:
4508 p = "userland const char *";
4509 break;
4510 default:
4511 break;
4512 };
4513 break;
4514 /* flock */
4515 case 131:
4516 switch (ndx) {
4517 case 0:
4518 p = "int";
4519 break;
4520 case 1:
4521 p = "int";
4522 break;
4523 default:
4524 break;
4525 };
4526 break;
4527 /* mkfifo */
4528 case 132:
4529 switch (ndx) {
4530 case 0:
4531 p = "userland const char *";
4532 break;
4533 case 1:
4534 p = "mode_t";
4535 break;
4536 default:
4537 break;
4538 };
4539 break;
4540 /* sendto */
4541 case 133:
4542 switch (ndx) {
4543 case 0:
4544 p = "int";
4545 break;
4546 case 1:
4547 p = "userland const void *";
4548 break;
4549 case 2:
4550 p = "size_t";
4551 break;
4552 case 3:
4553 p = "int";
4554 break;
4555 case 4:
4556 p = "userland const struct sockaddr *";
4557 break;
4558 case 5:
4559 p = "__socklen_t";
4560 break;
4561 default:
4562 break;
4563 };
4564 break;
4565 /* shutdown */
4566 case 134:
4567 switch (ndx) {
4568 case 0:
4569 p = "int";
4570 break;
4571 case 1:
4572 p = "int";
4573 break;
4574 default:
4575 break;
4576 };
4577 break;
4578 /* socketpair */
4579 case 135:
4580 switch (ndx) {
4581 case 0:
4582 p = "int";
4583 break;
4584 case 1:
4585 p = "int";
4586 break;
4587 case 2:
4588 p = "int";
4589 break;
4590 case 3:
4591 p = "userland int *";
4592 break;
4593 default:
4594 break;
4595 };
4596 break;
4597 /* mkdir */
4598 case 136:
4599 switch (ndx) {
4600 case 0:
4601 p = "userland const char *";
4602 break;
4603 case 1:
4604 p = "mode_t";
4605 break;
4606 default:
4607 break;
4608 };
4609 break;
4610 /* rmdir */
4611 case 137:
4612 switch (ndx) {
4613 case 0:
4614 p = "userland const char *";
4615 break;
4616 default:
4617 break;
4618 };
4619 break;
4620 /* freebsd32_utimes */
4621 case 138:
4622 switch (ndx) {
4623 case 0:
4624 p = "userland const char *";
4625 break;
4626 case 1:
4627 p = "userland const struct timeval32 *";
4628 break;
4629 default:
4630 break;
4631 };
4632 break;
4633 /* freebsd32_adjtime */
4634 case 140:
4635 switch (ndx) {
4636 case 0:
4637 p = "userland const struct timeval32 *";
4638 break;
4639 case 1:
4640 p = "userland struct timeval32 *";
4641 break;
4642 default:
4643 break;
4644 };
4645 break;
4646 /* setsid */
4647 case 147:
4648 break;
4649 /* quotactl */
4650 case 148:
4651 switch (ndx) {
4652 case 0:
4653 p = "userland const char *";
4654 break;
4655 case 1:
4656 p = "int";
4657 break;
4658 case 2:
4659 p = "int";
4660 break;
4661 case 3:
4662 p = "userland void *";
4663 break;
4664 default:
4665 break;
4666 };
4667 break;
4668 /* getfh */
4669 case 161:
4670 switch (ndx) {
4671 case 0:
4672 p = "userland const char *";
4673 break;
4674 case 1:
4675 p = "userland struct fhandle *";
4676 break;
4677 default:
4678 break;
4679 };
4680 break;
4681 /* freebsd32_sysarch */
4682 case 165:
4683 switch (ndx) {
4684 case 0:
4685 p = "int";
4686 break;
4687 case 1:
4688 p = "userland char *";
4689 break;
4690 default:
4691 break;
4692 };
4693 break;
4694 /* rtprio */
4695 case 166:
4696 switch (ndx) {
4697 case 0:
4698 p = "int";
4699 break;
4700 case 1:
4701 p = "pid_t";
4702 break;
4703 case 2:
4704 p = "userland struct rtprio *";
4705 break;
4706 default:
4707 break;
4708 };
4709 break;
4710 /* freebsd32_semsys */
4711 case 169:
4712 switch (ndx) {
4713 case 0:
4714 p = "int";
4715 break;
4716 case 1:
4717 p = "int";
4718 break;
4719 case 2:
4720 p = "int";
4721 break;
4722 case 3:
4723 p = "int";
4724 break;
4725 case 4:
4726 p = "int";
4727 break;
4728 default:
4729 break;
4730 };
4731 break;
4732 /* freebsd32_msgsys */
4733 case 170:
4734 switch (ndx) {
4735 case 0:
4736 p = "int";
4737 break;
4738 case 1:
4739 p = "int";
4740 break;
4741 case 2:
4742 p = "int";
4743 break;
4744 case 3:
4745 p = "int";
4746 break;
4747 case 4:
4748 p = "int";
4749 break;
4750 case 5:
4751 p = "int";
4752 break;
4753 default:
4754 break;
4755 };
4756 break;
4757 /* freebsd32_shmsys */
4758 case 171:
4759 switch (ndx) {
4760 case 0:
4761 p = "int";
4762 break;
4763 case 1:
4764 p = "int";
4765 break;
4766 case 2:
4767 p = "int";
4768 break;
4769 case 3:
4770 p = "int";
4771 break;
4772 default:
4773 break;
4774 };
4775 break;
4776 /* setfib */
4777 case 175:
4778 switch (ndx) {
4779 case 0:
4780 p = "int";
4781 break;
4782 default:
4783 break;
4784 };
4785 break;
4786 /* freebsd32_ntp_adjtime */
4787 case 176:
4788 switch (ndx) {
4789 case 0:
4790 p = "userland struct timex32 *";
4791 break;
4792 default:
4793 break;
4794 };
4795 break;
4796 /* setgid */
4797 case 181:
4798 switch (ndx) {
4799 case 0:
4800 p = "gid_t";
4801 break;
4802 default:
4803 break;
4804 };
4805 break;
4806 /* setegid */
4807 case 182:
4808 switch (ndx) {
4809 case 0:
4810 p = "gid_t";
4811 break;
4812 default:
4813 break;
4814 };
4815 break;
4816 /* seteuid */
4817 case 183:
4818 switch (ndx) {
4819 case 0:
4820 p = "uid_t";
4821 break;
4822 default:
4823 break;
4824 };
4825 break;
4826 /* pathconf */
4827 case 191:
4828 switch (ndx) {
4829 case 0:
4830 p = "userland const char *";
4831 break;
4832 case 1:
4833 p = "int";
4834 break;
4835 default:
4836 break;
4837 };
4838 break;
4839 /* fpathconf */
4840 case 192:
4841 switch (ndx) {
4842 case 0:
4843 p = "int";
4844 break;
4845 case 1:
4846 p = "int";
4847 break;
4848 default:
4849 break;
4850 };
4851 break;
4852 /* getrlimit */
4853 case 194:
4854 switch (ndx) {
4855 case 0:
4856 p = "u_int";
4857 break;
4858 case 1:
4859 p = "userland struct rlimit *";
4860 break;
4861 default:
4862 break;
4863 };
4864 break;
4865 /* setrlimit */
4866 case 195:
4867 switch (ndx) {
4868 case 0:
4869 p = "u_int";
4870 break;
4871 case 1:
4872 p = "userland struct rlimit *";
4873 break;
4874 default:
4875 break;
4876 };
4877 break;
4878 /* __syscall */
4879 case 198:
4880 break;
4881 /* freebsd32___sysctl */
4882 case 202:
4883 switch (ndx) {
4884 case 0:
4885 p = "userland int *";
4886 break;
4887 case 1:
4888 p = "u_int";
4889 break;
4890 case 2:
4891 p = "userland void *";
4892 break;
4893 case 3:
4894 p = "userland uint32_t *";
4895 break;
4896 case 4:
4897 p = "userland const void *";
4898 break;
4899 case 5:
4900 p = "size_t";
4901 break;
4902 default:
4903 break;
4904 };
4905 break;
4906 /* mlock */
4907 case 203:
4908 switch (ndx) {
4909 case 0:
4910 p = "userland const void *";
4911 break;
4912 case 1:
4913 p = "size_t";
4914 break;
4915 default:
4916 break;
4917 };
4918 break;
4919 /* munlock */
4920 case 204:
4921 switch (ndx) {
4922 case 0:
4923 p = "userland const void *";
4924 break;
4925 case 1:
4926 p = "size_t";
4927 break;
4928 default:
4929 break;
4930 };
4931 break;
4932 /* undelete */
4933 case 205:
4934 switch (ndx) {
4935 case 0:
4936 p = "userland const char *";
4937 break;
4938 default:
4939 break;
4940 };
4941 break;
4942 /* freebsd32_futimes */
4943 case 206:
4944 switch (ndx) {
4945 case 0:
4946 p = "int";
4947 break;
4948 case 1:
4949 p = "userland const struct timeval32 *";
4950 break;
4951 default:
4952 break;
4953 };
4954 break;
4955 /* getpgid */
4956 case 207:
4957 switch (ndx) {
4958 case 0:
4959 p = "pid_t";
4960 break;
4961 default:
4962 break;
4963 };
4964 break;
4965 /* poll */
4966 case 209:
4967 switch (ndx) {
4968 case 0:
4969 p = "userland struct pollfd *";
4970 break;
4971 case 1:
4972 p = "u_int";
4973 break;
4974 case 2:
4975 p = "int";
4976 break;
4977 default:
4978 break;
4979 };
4980 break;
4981 /* lkmnosys */
4982 case 210:
4983 break;
4984 /* lkmnosys */
4985 case 211:
4986 break;
4987 /* lkmnosys */
4988 case 212:
4989 break;
4990 /* lkmnosys */
4991 case 213:
4992 break;
4993 /* lkmnosys */
4994 case 214:
4995 break;
4996 /* lkmnosys */
4997 case 215:
4998 break;
4999 /* lkmnosys */
5000 case 216:
5001 break;
5002 /* lkmnosys */
5003 case 217:
5004 break;
5005 /* lkmnosys */
5006 case 218:
5007 break;
5008 /* lkmnosys */
5009 case 219:
5010 break;
5011 /* semget */
5012 case 221:
5013 switch (ndx) {
5014 case 0:
5015 p = "key_t";
5016 break;
5017 case 1:
5018 p = "int";
5019 break;
5020 case 2:
5021 p = "int";
5022 break;
5023 default:
5024 break;
5025 };
5026 break;
5027 /* semop */
5028 case 222:
5029 switch (ndx) {
5030 case 0:
5031 p = "int";
5032 break;
5033 case 1:
5034 p = "userland struct sembuf *";
5035 break;
5036 case 2:
5037 p = "size_t";
5038 break;
5039 default:
5040 break;
5041 };
5042 break;
5043 /* msgget */
5044 case 225:
5045 switch (ndx) {
5046 case 0:
5047 p = "key_t";
5048 break;
5049 case 1:
5050 p = "int";
5051 break;
5052 default:
5053 break;
5054 };
5055 break;
5056 /* freebsd32_msgsnd */
5057 case 226:
5058 switch (ndx) {
5059 case 0:
5060 p = "int";
5061 break;
5062 case 1:
5063 p = "userland const void *";
5064 break;
5065 case 2:
5066 p = "size_t";
5067 break;
5068 case 3:
5069 p = "int";
5070 break;
5071 default:
5072 break;
5073 };
5074 break;
5075 /* freebsd32_msgrcv */
5076 case 227:
5077 switch (ndx) {
5078 case 0:
5079 p = "int";
5080 break;
5081 case 1:
5082 p = "userland void *";
5083 break;
5084 case 2:
5085 p = "size_t";
5086 break;
5087 case 3:
5088 p = "int32_t";
5089 break;
5090 case 4:
5091 p = "int";
5092 break;
5093 default:
5094 break;
5095 };
5096 break;
5097 /* shmat */
5098 case 228:
5099 switch (ndx) {
5100 case 0:
5101 p = "int";
5102 break;
5103 case 1:
5104 p = "userland const void *";
5105 break;
5106 case 2:
5107 p = "int";
5108 break;
5109 default:
5110 break;
5111 };
5112 break;
5113 /* shmdt */
5114 case 230:
5115 switch (ndx) {
5116 case 0:
5117 p = "userland const void *";
5118 break;
5119 default:
5120 break;
5121 };
5122 break;
5123 /* shmget */
5124 case 231:
5125 switch (ndx) {
5126 case 0:
5127 p = "key_t";
5128 break;
5129 case 1:
5130 p = "size_t";
5131 break;
5132 case 2:
5133 p = "int";
5134 break;
5135 default:
5136 break;
5137 };
5138 break;
5139 /* freebsd32_clock_gettime */
5140 case 232:
5141 switch (ndx) {
5142 case 0:
5143 p = "clockid_t";
5144 break;
5145 case 1:
5146 p = "userland struct timespec32 *";
5147 break;
5148 default:
5149 break;
5150 };
5151 break;
5152 /* freebsd32_clock_settime */
5153 case 233:
5154 switch (ndx) {
5155 case 0:
5156 p = "clockid_t";
5157 break;
5158 case 1:
5159 p = "userland const struct timespec32 *";
5160 break;
5161 default:
5162 break;
5163 };
5164 break;
5165 /* freebsd32_clock_getres */
5166 case 234:
5167 switch (ndx) {
5168 case 0:
5169 p = "clockid_t";
5170 break;
5171 case 1:
5172 p = "userland struct timespec32 *";
5173 break;
5174 default:
5175 break;
5176 };
5177 break;
5178 /* freebsd32_ktimer_create */
5179 case 235:
5180 switch (ndx) {
5181 case 0:
5182 p = "clockid_t";
5183 break;
5184 case 1:
5185 p = "userland struct sigevent32 *";
5186 break;
5187 case 2:
5188 p = "userland int *";
5189 break;
5190 default:
5191 break;
5192 };
5193 break;
5194 /* ktimer_delete */
5195 case 236:
5196 switch (ndx) {
5197 case 0:
5198 p = "int";
5199 break;
5200 default:
5201 break;
5202 };
5203 break;
5204 /* freebsd32_ktimer_settime */
5205 case 237:
5206 switch (ndx) {
5207 case 0:
5208 p = "int";
5209 break;
5210 case 1:
5211 p = "int";
5212 break;
5213 case 2:
5214 p = "userland const struct itimerspec32 *";
5215 break;
5216 case 3:
5217 p = "userland struct itimerspec32 *";
5218 break;
5219 default:
5220 break;
5221 };
5222 break;
5223 /* freebsd32_ktimer_gettime */
5224 case 238:
5225 switch (ndx) {
5226 case 0:
5227 p = "int";
5228 break;
5229 case 1:
5230 p = "userland struct itimerspec32 *";
5231 break;
5232 default:
5233 break;
5234 };
5235 break;
5236 /* ktimer_getoverrun */
5237 case 239:
5238 switch (ndx) {
5239 case 0:
5240 p = "int";
5241 break;
5242 default:
5243 break;
5244 };
5245 break;
5246 /* freebsd32_nanosleep */
5247 case 240:
5248 switch (ndx) {
5249 case 0:
5250 p = "userland const struct timespec32 *";
5251 break;
5252 case 1:
5253 p = "userland struct timespec32 *";
5254 break;
5255 default:
5256 break;
5257 };
5258 break;
5259 /* ffclock_getcounter */
5260 case 241:
5261 switch (ndx) {
5262 case 0:
5263 p = "userland ffcounter *";
5264 break;
5265 default:
5266 break;
5267 };
5268 break;
5269 /* freebsd32_ffclock_setestimate */
5270 case 242:
5271 switch (ndx) {
5272 case 0:
5273 p = "userland struct ffclock_estimate32 *";
5274 break;
5275 default:
5276 break;
5277 };
5278 break;
5279 /* freebsd32_ffclock_getestimate */
5280 case 243:
5281 switch (ndx) {
5282 case 0:
5283 p = "userland struct ffclock_estimate32 *";
5284 break;
5285 default:
5286 break;
5287 };
5288 break;
5289 /* freebsd32_clock_nanosleep */
5290 case 244:
5291 switch (ndx) {
5292 case 0:
5293 p = "clockid_t";
5294 break;
5295 case 1:
5296 p = "int";
5297 break;
5298 case 2:
5299 p = "userland const struct timespec32 *";
5300 break;
5301 case 3:
5302 p = "userland struct timespec32 *";
5303 break;
5304 default:
5305 break;
5306 };
5307 break;
5308 /* freebsd32_clock_getcpuclockid2 */
5309 case 247:
5310 switch (ndx) {
5311 case 0:
5312 p = "uint32_t";
5313 break;
5314 case 1:
5315 p = "uint32_t";
5316 break;
5317 case 2:
5318 p = "int";
5319 break;
5320 case 3:
5321 p = "userland clockid_t *";
5322 break;
5323 default:
5324 break;
5325 };
5326 break;
5327 /* minherit */
5328 case 250:
5329 switch (ndx) {
5330 case 0:
5331 p = "userland void *";
5332 break;
5333 case 1:
5334 p = "size_t";
5335 break;
5336 case 2:
5337 p = "int";
5338 break;
5339 default:
5340 break;
5341 };
5342 break;
5343 /* rfork */
5344 case 251:
5345 switch (ndx) {
5346 case 0:
5347 p = "int";
5348 break;
5349 default:
5350 break;
5351 };
5352 break;
5353 /* issetugid */
5354 case 253:
5355 break;
5356 /* lchown */
5357 case 254:
5358 switch (ndx) {
5359 case 0:
5360 p = "userland const char *";
5361 break;
5362 case 1:
5363 p = "int";
5364 break;
5365 case 2:
5366 p = "int";
5367 break;
5368 default:
5369 break;
5370 };
5371 break;
5372 /* freebsd32_aio_read */
5373 case 255:
5374 switch (ndx) {
5375 case 0:
5376 p = "userland struct aiocb32 *";
5377 break;
5378 default:
5379 break;
5380 };
5381 break;
5382 /* freebsd32_aio_write */
5383 case 256:
5384 switch (ndx) {
5385 case 0:
5386 p = "userland struct aiocb32 *";
5387 break;
5388 default:
5389 break;
5390 };
5391 break;
5392 /* freebsd32_lio_listio */
5393 case 257:
5394 switch (ndx) {
5395 case 0:
5396 p = "int";
5397 break;
5398 case 1:
5399 p = "userland uint32_t *";
5400 break;
5401 case 2:
5402 p = "int";
5403 break;
5404 case 3:
5405 p = "userland struct sigevent32 *";
5406 break;
5407 default:
5408 break;
5409 };
5410 break;
5411 /* lchmod */
5412 case 274:
5413 switch (ndx) {
5414 case 0:
5415 p = "userland const char *";
5416 break;
5417 case 1:
5418 p = "mode_t";
5419 break;
5420 default:
5421 break;
5422 };
5423 break;
5424 /* freebsd32_lutimes */
5425 case 276:
5426 switch (ndx) {
5427 case 0:
5428 p = "userland const char *";
5429 break;
5430 case 1:
5431 p = "userland const struct timeval32 *";
5432 break;
5433 default:
5434 break;
5435 };
5436 break;
5437 /* freebsd32_preadv */
5438 case 289:
5439 switch (ndx) {
5440 case 0:
5441 p = "int";
5442 break;
5443 case 1:
5444 p = "userland struct iovec32 *";
5445 break;
5446 case 2:
5447 p = "u_int";
5448 break;
5449 #ifdef PAD64_REQUIRED
5450 case 3:
5451 p = "int";
5452 break;
5453 #define _P_ 0
5454 #else
5455 #define _P_ 1
5456 #endif
5457 case 4 - _P_:
5458 p = "uint32_t";
5459 break;
5460 case 5 - _P_:
5461 p = "uint32_t";
5462 break;
5463 default:
5464 break;
5465 };
5466 #undef _P_
5467
5468 break;
5469 /* freebsd32_pwritev */
5470 case 290:
5471 switch (ndx) {
5472 case 0:
5473 p = "int";
5474 break;
5475 case 1:
5476 p = "userland struct iovec32 *";
5477 break;
5478 case 2:
5479 p = "u_int";
5480 break;
5481 #ifdef PAD64_REQUIRED
5482 case 3:
5483 p = "int";
5484 break;
5485 #define _P_ 0
5486 #else
5487 #define _P_ 1
5488 #endif
5489 case 4 - _P_:
5490 p = "uint32_t";
5491 break;
5492 case 5 - _P_:
5493 p = "uint32_t";
5494 break;
5495 default:
5496 break;
5497 };
5498 #undef _P_
5499
5500 break;
5501 /* fhopen */
5502 case 298:
5503 switch (ndx) {
5504 case 0:
5505 p = "userland const struct fhandle *";
5506 break;
5507 case 1:
5508 p = "int";
5509 break;
5510 default:
5511 break;
5512 };
5513 break;
5514 /* modnext */
5515 case 300:
5516 switch (ndx) {
5517 case 0:
5518 p = "int";
5519 break;
5520 default:
5521 break;
5522 };
5523 break;
5524 /* freebsd32_modstat */
5525 case 301:
5526 switch (ndx) {
5527 case 0:
5528 p = "int";
5529 break;
5530 case 1:
5531 p = "userland struct module_stat32 *";
5532 break;
5533 default:
5534 break;
5535 };
5536 break;
5537 /* modfnext */
5538 case 302:
5539 switch (ndx) {
5540 case 0:
5541 p = "int";
5542 break;
5543 default:
5544 break;
5545 };
5546 break;
5547 /* modfind */
5548 case 303:
5549 switch (ndx) {
5550 case 0:
5551 p = "userland const char *";
5552 break;
5553 default:
5554 break;
5555 };
5556 break;
5557 /* kldload */
5558 case 304:
5559 switch (ndx) {
5560 case 0:
5561 p = "userland const char *";
5562 break;
5563 default:
5564 break;
5565 };
5566 break;
5567 /* kldunload */
5568 case 305:
5569 switch (ndx) {
5570 case 0:
5571 p = "int";
5572 break;
5573 default:
5574 break;
5575 };
5576 break;
5577 /* kldfind */
5578 case 306:
5579 switch (ndx) {
5580 case 0:
5581 p = "userland const char *";
5582 break;
5583 default:
5584 break;
5585 };
5586 break;
5587 /* kldnext */
5588 case 307:
5589 switch (ndx) {
5590 case 0:
5591 p = "int";
5592 break;
5593 default:
5594 break;
5595 };
5596 break;
5597 /* freebsd32_kldstat */
5598 case 308:
5599 switch (ndx) {
5600 case 0:
5601 p = "int";
5602 break;
5603 case 1:
5604 p = "userland struct kld_file_stat32 *";
5605 break;
5606 default:
5607 break;
5608 };
5609 break;
5610 /* kldfirstmod */
5611 case 309:
5612 switch (ndx) {
5613 case 0:
5614 p = "int";
5615 break;
5616 default:
5617 break;
5618 };
5619 break;
5620 /* getsid */
5621 case 310:
5622 switch (ndx) {
5623 case 0:
5624 p = "pid_t";
5625 break;
5626 default:
5627 break;
5628 };
5629 break;
5630 /* setresuid */
5631 case 311:
5632 switch (ndx) {
5633 case 0:
5634 p = "uid_t";
5635 break;
5636 case 1:
5637 p = "uid_t";
5638 break;
5639 case 2:
5640 p = "uid_t";
5641 break;
5642 default:
5643 break;
5644 };
5645 break;
5646 /* setresgid */
5647 case 312:
5648 switch (ndx) {
5649 case 0:
5650 p = "gid_t";
5651 break;
5652 case 1:
5653 p = "gid_t";
5654 break;
5655 case 2:
5656 p = "gid_t";
5657 break;
5658 default:
5659 break;
5660 };
5661 break;
5662 /* freebsd32_aio_return */
5663 case 314:
5664 switch (ndx) {
5665 case 0:
5666 p = "userland struct aiocb32 *";
5667 break;
5668 default:
5669 break;
5670 };
5671 break;
5672 /* freebsd32_aio_suspend */
5673 case 315:
5674 switch (ndx) {
5675 case 0:
5676 p = "userland uint32_t *";
5677 break;
5678 case 1:
5679 p = "int";
5680 break;
5681 case 2:
5682 p = "userland const struct timespec32 *";
5683 break;
5684 default:
5685 break;
5686 };
5687 break;
5688 /* aio_cancel */
5689 case 316:
5690 switch (ndx) {
5691 case 0:
5692 p = "int";
5693 break;
5694 case 1:
5695 p = "userland struct aiocb32 *";
5696 break;
5697 default:
5698 break;
5699 };
5700 break;
5701 /* freebsd32_aio_error */
5702 case 317:
5703 switch (ndx) {
5704 case 0:
5705 p = "userland struct aiocb32 *";
5706 break;
5707 default:
5708 break;
5709 };
5710 break;
5711 /* yield */
5712 case 321:
5713 break;
5714 /* mlockall */
5715 case 324:
5716 switch (ndx) {
5717 case 0:
5718 p = "int";
5719 break;
5720 default:
5721 break;
5722 };
5723 break;
5724 /* munlockall */
5725 case 325:
5726 break;
5727 /* __getcwd */
5728 case 326:
5729 switch (ndx) {
5730 case 0:
5731 p = "userland char *";
5732 break;
5733 case 1:
5734 p = "size_t";
5735 break;
5736 default:
5737 break;
5738 };
5739 break;
5740 /* sched_setparam */
5741 case 327:
5742 switch (ndx) {
5743 case 0:
5744 p = "pid_t";
5745 break;
5746 case 1:
5747 p = "userland const struct sched_param *";
5748 break;
5749 default:
5750 break;
5751 };
5752 break;
5753 /* sched_getparam */
5754 case 328:
5755 switch (ndx) {
5756 case 0:
5757 p = "pid_t";
5758 break;
5759 case 1:
5760 p = "userland struct sched_param *";
5761 break;
5762 default:
5763 break;
5764 };
5765 break;
5766 /* sched_setscheduler */
5767 case 329:
5768 switch (ndx) {
5769 case 0:
5770 p = "pid_t";
5771 break;
5772 case 1:
5773 p = "int";
5774 break;
5775 case 2:
5776 p = "userland const struct sched_param *";
5777 break;
5778 default:
5779 break;
5780 };
5781 break;
5782 /* sched_getscheduler */
5783 case 330:
5784 switch (ndx) {
5785 case 0:
5786 p = "pid_t";
5787 break;
5788 default:
5789 break;
5790 };
5791 break;
5792 /* sched_yield */
5793 case 331:
5794 break;
5795 /* sched_get_priority_max */
5796 case 332:
5797 switch (ndx) {
5798 case 0:
5799 p = "int";
5800 break;
5801 default:
5802 break;
5803 };
5804 break;
5805 /* sched_get_priority_min */
5806 case 333:
5807 switch (ndx) {
5808 case 0:
5809 p = "int";
5810 break;
5811 default:
5812 break;
5813 };
5814 break;
5815 /* freebsd32_sched_rr_get_interval */
5816 case 334:
5817 switch (ndx) {
5818 case 0:
5819 p = "pid_t";
5820 break;
5821 case 1:
5822 p = "userland struct timespec32 *";
5823 break;
5824 default:
5825 break;
5826 };
5827 break;
5828 /* utrace */
5829 case 335:
5830 switch (ndx) {
5831 case 0:
5832 p = "userland const void *";
5833 break;
5834 case 1:
5835 p = "size_t";
5836 break;
5837 default:
5838 break;
5839 };
5840 break;
5841 /* freebsd32_jail */
5842 case 338:
5843 switch (ndx) {
5844 case 0:
5845 p = "userland struct jail32 *";
5846 break;
5847 default:
5848 break;
5849 };
5850 break;
5851 /* sigprocmask */
5852 case 340:
5853 switch (ndx) {
5854 case 0:
5855 p = "int";
5856 break;
5857 case 1:
5858 p = "userland const sigset_t *";
5859 break;
5860 case 2:
5861 p = "userland sigset_t *";
5862 break;
5863 default:
5864 break;
5865 };
5866 break;
5867 /* sigsuspend */
5868 case 341:
5869 switch (ndx) {
5870 case 0:
5871 p = "userland const sigset_t *";
5872 break;
5873 default:
5874 break;
5875 };
5876 break;
5877 /* sigpending */
5878 case 343:
5879 switch (ndx) {
5880 case 0:
5881 p = "userland sigset_t *";
5882 break;
5883 default:
5884 break;
5885 };
5886 break;
5887 /* freebsd32_sigtimedwait */
5888 case 345:
5889 switch (ndx) {
5890 case 0:
5891 p = "userland const sigset_t *";
5892 break;
5893 case 1:
5894 p = "userland struct __siginfo32 *";
5895 break;
5896 case 2:
5897 p = "userland const struct timespec32 *";
5898 break;
5899 default:
5900 break;
5901 };
5902 break;
5903 /* freebsd32_sigwaitinfo */
5904 case 346:
5905 switch (ndx) {
5906 case 0:
5907 p = "userland const sigset_t *";
5908 break;
5909 case 1:
5910 p = "userland struct __siginfo32 *";
5911 break;
5912 default:
5913 break;
5914 };
5915 break;
5916 /* __acl_get_file */
5917 case 347:
5918 switch (ndx) {
5919 case 0:
5920 p = "userland const char *";
5921 break;
5922 case 1:
5923 p = "__acl_type_t";
5924 break;
5925 case 2:
5926 p = "userland struct acl *";
5927 break;
5928 default:
5929 break;
5930 };
5931 break;
5932 /* __acl_set_file */
5933 case 348:
5934 switch (ndx) {
5935 case 0:
5936 p = "userland const char *";
5937 break;
5938 case 1:
5939 p = "__acl_type_t";
5940 break;
5941 case 2:
5942 p = "userland struct acl *";
5943 break;
5944 default:
5945 break;
5946 };
5947 break;
5948 /* __acl_get_fd */
5949 case 349:
5950 switch (ndx) {
5951 case 0:
5952 p = "int";
5953 break;
5954 case 1:
5955 p = "__acl_type_t";
5956 break;
5957 case 2:
5958 p = "userland struct acl *";
5959 break;
5960 default:
5961 break;
5962 };
5963 break;
5964 /* __acl_set_fd */
5965 case 350:
5966 switch (ndx) {
5967 case 0:
5968 p = "int";
5969 break;
5970 case 1:
5971 p = "__acl_type_t";
5972 break;
5973 case 2:
5974 p = "userland struct acl *";
5975 break;
5976 default:
5977 break;
5978 };
5979 break;
5980 /* __acl_delete_file */
5981 case 351:
5982 switch (ndx) {
5983 case 0:
5984 p = "userland const char *";
5985 break;
5986 case 1:
5987 p = "__acl_type_t";
5988 break;
5989 default:
5990 break;
5991 };
5992 break;
5993 /* __acl_delete_fd */
5994 case 352:
5995 switch (ndx) {
5996 case 0:
5997 p = "int";
5998 break;
5999 case 1:
6000 p = "__acl_type_t";
6001 break;
6002 default:
6003 break;
6004 };
6005 break;
6006 /* __acl_aclcheck_file */
6007 case 353:
6008 switch (ndx) {
6009 case 0:
6010 p = "userland const char *";
6011 break;
6012 case 1:
6013 p = "__acl_type_t";
6014 break;
6015 case 2:
6016 p = "userland struct acl *";
6017 break;
6018 default:
6019 break;
6020 };
6021 break;
6022 /* __acl_aclcheck_fd */
6023 case 354:
6024 switch (ndx) {
6025 case 0:
6026 p = "int";
6027 break;
6028 case 1:
6029 p = "__acl_type_t";
6030 break;
6031 case 2:
6032 p = "userland struct acl *";
6033 break;
6034 default:
6035 break;
6036 };
6037 break;
6038 /* extattrctl */
6039 case 355:
6040 switch (ndx) {
6041 case 0:
6042 p = "userland const char *";
6043 break;
6044 case 1:
6045 p = "int";
6046 break;
6047 case 2:
6048 p = "userland const char *";
6049 break;
6050 case 3:
6051 p = "int";
6052 break;
6053 case 4:
6054 p = "userland const char *";
6055 break;
6056 default:
6057 break;
6058 };
6059 break;
6060 /* extattr_set_file */
6061 case 356:
6062 switch (ndx) {
6063 case 0:
6064 p = "userland const char *";
6065 break;
6066 case 1:
6067 p = "int";
6068 break;
6069 case 2:
6070 p = "userland const char *";
6071 break;
6072 case 3:
6073 p = "userland void *";
6074 break;
6075 case 4:
6076 p = "size_t";
6077 break;
6078 default:
6079 break;
6080 };
6081 break;
6082 /* extattr_get_file */
6083 case 357:
6084 switch (ndx) {
6085 case 0:
6086 p = "userland const char *";
6087 break;
6088 case 1:
6089 p = "int";
6090 break;
6091 case 2:
6092 p = "userland const char *";
6093 break;
6094 case 3:
6095 p = "userland void *";
6096 break;
6097 case 4:
6098 p = "size_t";
6099 break;
6100 default:
6101 break;
6102 };
6103 break;
6104 /* extattr_delete_file */
6105 case 358:
6106 switch (ndx) {
6107 case 0:
6108 p = "userland const char *";
6109 break;
6110 case 1:
6111 p = "int";
6112 break;
6113 case 2:
6114 p = "userland const char *";
6115 break;
6116 default:
6117 break;
6118 };
6119 break;
6120 /* freebsd32_aio_waitcomplete */
6121 case 359:
6122 switch (ndx) {
6123 case 0:
6124 p = "userland uint32_t *";
6125 break;
6126 case 1:
6127 p = "userland struct timespec32 *";
6128 break;
6129 default:
6130 break;
6131 };
6132 break;
6133 /* getresuid */
6134 case 360:
6135 switch (ndx) {
6136 case 0:
6137 p = "userland uid_t *";
6138 break;
6139 case 1:
6140 p = "userland uid_t *";
6141 break;
6142 case 2:
6143 p = "userland uid_t *";
6144 break;
6145 default:
6146 break;
6147 };
6148 break;
6149 /* getresgid */
6150 case 361:
6151 switch (ndx) {
6152 case 0:
6153 p = "userland gid_t *";
6154 break;
6155 case 1:
6156 p = "userland gid_t *";
6157 break;
6158 case 2:
6159 p = "userland gid_t *";
6160 break;
6161 default:
6162 break;
6163 };
6164 break;
6165 /* kqueue */
6166 case 362:
6167 break;
6168 /* extattr_set_fd */
6169 case 371:
6170 switch (ndx) {
6171 case 0:
6172 p = "int";
6173 break;
6174 case 1:
6175 p = "int";
6176 break;
6177 case 2:
6178 p = "userland const char *";
6179 break;
6180 case 3:
6181 p = "userland void *";
6182 break;
6183 case 4:
6184 p = "size_t";
6185 break;
6186 default:
6187 break;
6188 };
6189 break;
6190 /* extattr_get_fd */
6191 case 372:
6192 switch (ndx) {
6193 case 0:
6194 p = "int";
6195 break;
6196 case 1:
6197 p = "int";
6198 break;
6199 case 2:
6200 p = "userland const char *";
6201 break;
6202 case 3:
6203 p = "userland void *";
6204 break;
6205 case 4:
6206 p = "size_t";
6207 break;
6208 default:
6209 break;
6210 };
6211 break;
6212 /* extattr_delete_fd */
6213 case 373:
6214 switch (ndx) {
6215 case 0:
6216 p = "int";
6217 break;
6218 case 1:
6219 p = "int";
6220 break;
6221 case 2:
6222 p = "userland const char *";
6223 break;
6224 default:
6225 break;
6226 };
6227 break;
6228 /* __setugid */
6229 case 374:
6230 switch (ndx) {
6231 case 0:
6232 p = "int";
6233 break;
6234 default:
6235 break;
6236 };
6237 break;
6238 /* eaccess */
6239 case 376:
6240 switch (ndx) {
6241 case 0:
6242 p = "userland const char *";
6243 break;
6244 case 1:
6245 p = "int";
6246 break;
6247 default:
6248 break;
6249 };
6250 break;
6251 /* freebsd32_nmount */
6252 case 378:
6253 switch (ndx) {
6254 case 0:
6255 p = "userland struct iovec32 *";
6256 break;
6257 case 1:
6258 p = "unsigned int";
6259 break;
6260 case 2:
6261 p = "int";
6262 break;
6263 default:
6264 break;
6265 };
6266 break;
6267 /* kenv */
6268 case 390:
6269 switch (ndx) {
6270 case 0:
6271 p = "int";
6272 break;
6273 case 1:
6274 p = "userland const char *";
6275 break;
6276 case 2:
6277 p = "userland char *";
6278 break;
6279 case 3:
6280 p = "int";
6281 break;
6282 default:
6283 break;
6284 };
6285 break;
6286 /* lchflags */
6287 case 391:
6288 switch (ndx) {
6289 case 0:
6290 p = "userland const char *";
6291 break;
6292 case 1:
6293 p = "u_long";
6294 break;
6295 default:
6296 break;
6297 };
6298 break;
6299 /* uuidgen */
6300 case 392:
6301 switch (ndx) {
6302 case 0:
6303 p = "userland struct uuid *";
6304 break;
6305 case 1:
6306 p = "int";
6307 break;
6308 default:
6309 break;
6310 };
6311 break;
6312 /* freebsd32_sendfile */
6313 case 393:
6314 switch (ndx) {
6315 case 0:
6316 p = "int";
6317 break;
6318 case 1:
6319 p = "int";
6320 break;
6321 case 2:
6322 p = "uint32_t";
6323 break;
6324 case 3:
6325 p = "uint32_t";
6326 break;
6327 case 4:
6328 p = "size_t";
6329 break;
6330 case 5:
6331 p = "userland struct sf_hdtr32 *";
6332 break;
6333 case 6:
6334 p = "userland off_t *";
6335 break;
6336 case 7:
6337 p = "int";
6338 break;
6339 default:
6340 break;
6341 };
6342 break;
6343 /* mac_syscall */
6344 case 394:
6345 switch (ndx) {
6346 case 0:
6347 p = "userland const char *";
6348 break;
6349 case 1:
6350 p = "int";
6351 break;
6352 case 2:
6353 p = "userland void *";
6354 break;
6355 default:
6356 break;
6357 };
6358 break;
6359 /* ksem_close */
6360 case 400:
6361 switch (ndx) {
6362 case 0:
6363 p = "int32_t";
6364 break;
6365 default:
6366 break;
6367 };
6368 break;
6369 /* ksem_post */
6370 case 401:
6371 switch (ndx) {
6372 case 0:
6373 p = "int32_t";
6374 break;
6375 default:
6376 break;
6377 };
6378 break;
6379 /* ksem_wait */
6380 case 402:
6381 switch (ndx) {
6382 case 0:
6383 p = "int32_t";
6384 break;
6385 default:
6386 break;
6387 };
6388 break;
6389 /* ksem_trywait */
6390 case 403:
6391 switch (ndx) {
6392 case 0:
6393 p = "int32_t";
6394 break;
6395 default:
6396 break;
6397 };
6398 break;
6399 /* freebsd32_ksem_init */
6400 case 404:
6401 switch (ndx) {
6402 case 0:
6403 p = "userland int32_t *";
6404 break;
6405 case 1:
6406 p = "unsigned int";
6407 break;
6408 default:
6409 break;
6410 };
6411 break;
6412 /* freebsd32_ksem_open */
6413 case 405:
6414 switch (ndx) {
6415 case 0:
6416 p = "userland int32_t *";
6417 break;
6418 case 1:
6419 p = "userland const char *";
6420 break;
6421 case 2:
6422 p = "int";
6423 break;
6424 case 3:
6425 p = "mode_t";
6426 break;
6427 case 4:
6428 p = "unsigned int";
6429 break;
6430 default:
6431 break;
6432 };
6433 break;
6434 /* ksem_unlink */
6435 case 406:
6436 switch (ndx) {
6437 case 0:
6438 p = "userland const char *";
6439 break;
6440 default:
6441 break;
6442 };
6443 break;
6444 /* ksem_getvalue */
6445 case 407:
6446 switch (ndx) {
6447 case 0:
6448 p = "int32_t";
6449 break;
6450 case 1:
6451 p = "userland int *";
6452 break;
6453 default:
6454 break;
6455 };
6456 break;
6457 /* ksem_destroy */
6458 case 408:
6459 switch (ndx) {
6460 case 0:
6461 p = "int32_t";
6462 break;
6463 default:
6464 break;
6465 };
6466 break;
6467 /* extattr_set_link */
6468 case 412:
6469 switch (ndx) {
6470 case 0:
6471 p = "userland const char *";
6472 break;
6473 case 1:
6474 p = "int";
6475 break;
6476 case 2:
6477 p = "userland const char *";
6478 break;
6479 case 3:
6480 p = "userland void *";
6481 break;
6482 case 4:
6483 p = "size_t";
6484 break;
6485 default:
6486 break;
6487 };
6488 break;
6489 /* extattr_get_link */
6490 case 413:
6491 switch (ndx) {
6492 case 0:
6493 p = "userland const char *";
6494 break;
6495 case 1:
6496 p = "int";
6497 break;
6498 case 2:
6499 p = "userland const char *";
6500 break;
6501 case 3:
6502 p = "userland void *";
6503 break;
6504 case 4:
6505 p = "size_t";
6506 break;
6507 default:
6508 break;
6509 };
6510 break;
6511 /* extattr_delete_link */
6512 case 414:
6513 switch (ndx) {
6514 case 0:
6515 p = "userland const char *";
6516 break;
6517 case 1:
6518 p = "int";
6519 break;
6520 case 2:
6521 p = "userland const char *";
6522 break;
6523 default:
6524 break;
6525 };
6526 break;
6527 /* freebsd32_sigaction */
6528 case 416:
6529 switch (ndx) {
6530 case 0:
6531 p = "int";
6532 break;
6533 case 1:
6534 p = "userland const struct sigaction32 *";
6535 break;
6536 case 2:
6537 p = "userland struct sigaction32 *";
6538 break;
6539 default:
6540 break;
6541 };
6542 break;
6543 /* freebsd32_sigreturn */
6544 case 417:
6545 switch (ndx) {
6546 case 0:
6547 p = "userland const struct __ucontext32 *";
6548 break;
6549 default:
6550 break;
6551 };
6552 break;
6553 /* freebsd32_getcontext */
6554 case 421:
6555 switch (ndx) {
6556 case 0:
6557 p = "userland struct __ucontext32 *";
6558 break;
6559 default:
6560 break;
6561 };
6562 break;
6563 /* freebsd32_setcontext */
6564 case 422:
6565 switch (ndx) {
6566 case 0:
6567 p = "userland const struct __ucontext32 *";
6568 break;
6569 default:
6570 break;
6571 };
6572 break;
6573 /* freebsd32_swapcontext */
6574 case 423:
6575 switch (ndx) {
6576 case 0:
6577 p = "userland struct __ucontext32 *";
6578 break;
6579 case 1:
6580 p = "userland const struct __ucontext32 *";
6581 break;
6582 default:
6583 break;
6584 };
6585 break;
6586 /* __acl_get_link */
6587 case 425:
6588 switch (ndx) {
6589 case 0:
6590 p = "userland const char *";
6591 break;
6592 case 1:
6593 p = "__acl_type_t";
6594 break;
6595 case 2:
6596 p = "userland struct acl *";
6597 break;
6598 default:
6599 break;
6600 };
6601 break;
6602 /* __acl_set_link */
6603 case 426:
6604 switch (ndx) {
6605 case 0:
6606 p = "userland const char *";
6607 break;
6608 case 1:
6609 p = "__acl_type_t";
6610 break;
6611 case 2:
6612 p = "userland struct acl *";
6613 break;
6614 default:
6615 break;
6616 };
6617 break;
6618 /* __acl_delete_link */
6619 case 427:
6620 switch (ndx) {
6621 case 0:
6622 p = "userland const char *";
6623 break;
6624 case 1:
6625 p = "__acl_type_t";
6626 break;
6627 default:
6628 break;
6629 };
6630 break;
6631 /* __acl_aclcheck_link */
6632 case 428:
6633 switch (ndx) {
6634 case 0:
6635 p = "userland const char *";
6636 break;
6637 case 1:
6638 p = "__acl_type_t";
6639 break;
6640 case 2:
6641 p = "userland struct acl *";
6642 break;
6643 default:
6644 break;
6645 };
6646 break;
6647 /* sigwait */
6648 case 429:
6649 switch (ndx) {
6650 case 0:
6651 p = "userland const sigset_t *";
6652 break;
6653 case 1:
6654 p = "userland int *";
6655 break;
6656 default:
6657 break;
6658 };
6659 break;
6660 /* thr_exit */
6661 case 431:
6662 switch (ndx) {
6663 case 0:
6664 p = "userland int32_t *";
6665 break;
6666 default:
6667 break;
6668 };
6669 break;
6670 /* thr_self */
6671 case 432:
6672 switch (ndx) {
6673 case 0:
6674 p = "userland int32_t *";
6675 break;
6676 default:
6677 break;
6678 };
6679 break;
6680 /* thr_kill */
6681 case 433:
6682 switch (ndx) {
6683 case 0:
6684 p = "int32_t";
6685 break;
6686 case 1:
6687 p = "int";
6688 break;
6689 default:
6690 break;
6691 };
6692 break;
6693 /* jail_attach */
6694 case 436:
6695 switch (ndx) {
6696 case 0:
6697 p = "int";
6698 break;
6699 default:
6700 break;
6701 };
6702 break;
6703 /* extattr_list_fd */
6704 case 437:
6705 switch (ndx) {
6706 case 0:
6707 p = "int";
6708 break;
6709 case 1:
6710 p = "int";
6711 break;
6712 case 2:
6713 p = "userland void *";
6714 break;
6715 case 3:
6716 p = "size_t";
6717 break;
6718 default:
6719 break;
6720 };
6721 break;
6722 /* extattr_list_file */
6723 case 438:
6724 switch (ndx) {
6725 case 0:
6726 p = "userland const char *";
6727 break;
6728 case 1:
6729 p = "int";
6730 break;
6731 case 2:
6732 p = "userland void *";
6733 break;
6734 case 3:
6735 p = "size_t";
6736 break;
6737 default:
6738 break;
6739 };
6740 break;
6741 /* extattr_list_link */
6742 case 439:
6743 switch (ndx) {
6744 case 0:
6745 p = "userland const char *";
6746 break;
6747 case 1:
6748 p = "int";
6749 break;
6750 case 2:
6751 p = "userland void *";
6752 break;
6753 case 3:
6754 p = "size_t";
6755 break;
6756 default:
6757 break;
6758 };
6759 break;
6760 /* freebsd32_ksem_timedwait */
6761 case 441:
6762 switch (ndx) {
6763 case 0:
6764 p = "int32_t";
6765 break;
6766 case 1:
6767 p = "userland const struct timespec32 *";
6768 break;
6769 default:
6770 break;
6771 };
6772 break;
6773 /* freebsd32_thr_suspend */
6774 case 442:
6775 switch (ndx) {
6776 case 0:
6777 p = "userland const struct timespec32 *";
6778 break;
6779 default:
6780 break;
6781 };
6782 break;
6783 /* thr_wake */
6784 case 443:
6785 switch (ndx) {
6786 case 0:
6787 p = "int32_t";
6788 break;
6789 default:
6790 break;
6791 };
6792 break;
6793 /* kldunloadf */
6794 case 444:
6795 switch (ndx) {
6796 case 0:
6797 p = "int";
6798 break;
6799 case 1:
6800 p = "int";
6801 break;
6802 default:
6803 break;
6804 };
6805 break;
6806 /* audit */
6807 case 445:
6808 switch (ndx) {
6809 case 0:
6810 p = "userland const void *";
6811 break;
6812 case 1:
6813 p = "u_int";
6814 break;
6815 default:
6816 break;
6817 };
6818 break;
6819 /* auditon */
6820 case 446:
6821 switch (ndx) {
6822 case 0:
6823 p = "int";
6824 break;
6825 case 1:
6826 p = "userland void *";
6827 break;
6828 case 2:
6829 p = "u_int";
6830 break;
6831 default:
6832 break;
6833 };
6834 break;
6835 /* getauid */
6836 case 447:
6837 switch (ndx) {
6838 case 0:
6839 p = "userland uid_t *";
6840 break;
6841 default:
6842 break;
6843 };
6844 break;
6845 /* setauid */
6846 case 448:
6847 switch (ndx) {
6848 case 0:
6849 p = "userland uid_t *";
6850 break;
6851 default:
6852 break;
6853 };
6854 break;
6855 /* getaudit */
6856 case 449:
6857 switch (ndx) {
6858 case 0:
6859 p = "userland struct auditinfo *";
6860 break;
6861 default:
6862 break;
6863 };
6864 break;
6865 /* setaudit */
6866 case 450:
6867 switch (ndx) {
6868 case 0:
6869 p = "userland struct auditinfo *";
6870 break;
6871 default:
6872 break;
6873 };
6874 break;
6875 /* getaudit_addr */
6876 case 451:
6877 switch (ndx) {
6878 case 0:
6879 p = "userland struct auditinfo_addr *";
6880 break;
6881 case 1:
6882 p = "u_int";
6883 break;
6884 default:
6885 break;
6886 };
6887 break;
6888 /* setaudit_addr */
6889 case 452:
6890 switch (ndx) {
6891 case 0:
6892 p = "userland struct auditinfo_addr *";
6893 break;
6894 case 1:
6895 p = "u_int";
6896 break;
6897 default:
6898 break;
6899 };
6900 break;
6901 /* auditctl */
6902 case 453:
6903 switch (ndx) {
6904 case 0:
6905 p = "userland const char *";
6906 break;
6907 default:
6908 break;
6909 };
6910 break;
6911 /* freebsd32__umtx_op */
6912 case 454:
6913 switch (ndx) {
6914 case 0:
6915 p = "userland void *";
6916 break;
6917 case 1:
6918 p = "int";
6919 break;
6920 case 2:
6921 p = "u_long";
6922 break;
6923 case 3:
6924 p = "userland void *";
6925 break;
6926 case 4:
6927 p = "userland void *";
6928 break;
6929 default:
6930 break;
6931 };
6932 break;
6933 /* freebsd32_thr_new */
6934 case 455:
6935 switch (ndx) {
6936 case 0:
6937 p = "userland struct thr_param32 *";
6938 break;
6939 case 1:
6940 p = "int";
6941 break;
6942 default:
6943 break;
6944 };
6945 break;
6946 /* freebsd32_sigqueue */
6947 case 456:
6948 switch (ndx) {
6949 case 0:
6950 p = "pid_t";
6951 break;
6952 case 1:
6953 p = "int";
6954 break;
6955 case 2:
6956 p = "userland void *";
6957 break;
6958 default:
6959 break;
6960 };
6961 break;
6962 /* freebsd32_kmq_open */
6963 case 457:
6964 switch (ndx) {
6965 case 0:
6966 p = "userland const char *";
6967 break;
6968 case 1:
6969 p = "int";
6970 break;
6971 case 2:
6972 p = "mode_t";
6973 break;
6974 case 3:
6975 p = "userland const struct mq_attr32 *";
6976 break;
6977 default:
6978 break;
6979 };
6980 break;
6981 /* freebsd32_kmq_setattr */
6982 case 458:
6983 switch (ndx) {
6984 case 0:
6985 p = "int";
6986 break;
6987 case 1:
6988 p = "userland const struct mq_attr32 *";
6989 break;
6990 case 2:
6991 p = "userland struct mq_attr32 *";
6992 break;
6993 default:
6994 break;
6995 };
6996 break;
6997 /* freebsd32_kmq_timedreceive */
6998 case 459:
6999 switch (ndx) {
7000 case 0:
7001 p = "int";
7002 break;
7003 case 1:
7004 p = "userland char *";
7005 break;
7006 case 2:
7007 p = "size_t";
7008 break;
7009 case 3:
7010 p = "userland unsigned *";
7011 break;
7012 case 4:
7013 p = "userland const struct timespec32 *";
7014 break;
7015 default:
7016 break;
7017 };
7018 break;
7019 /* freebsd32_kmq_timedsend */
7020 case 460:
7021 switch (ndx) {
7022 case 0:
7023 p = "int";
7024 break;
7025 case 1:
7026 p = "userland const char *";
7027 break;
7028 case 2:
7029 p = "size_t";
7030 break;
7031 case 3:
7032 p = "unsigned";
7033 break;
7034 case 4:
7035 p = "userland const struct timespec32 *";
7036 break;
7037 default:
7038 break;
7039 };
7040 break;
7041 /* freebsd32_kmq_notify */
7042 case 461:
7043 switch (ndx) {
7044 case 0:
7045 p = "int";
7046 break;
7047 case 1:
7048 p = "userland const struct sigevent32 *";
7049 break;
7050 default:
7051 break;
7052 };
7053 break;
7054 /* kmq_unlink */
7055 case 462:
7056 switch (ndx) {
7057 case 0:
7058 p = "userland const char *";
7059 break;
7060 default:
7061 break;
7062 };
7063 break;
7064 /* freebsd32_abort2 */
7065 case 463:
7066 switch (ndx) {
7067 case 0:
7068 p = "userland const char *";
7069 break;
7070 case 1:
7071 p = "int";
7072 break;
7073 case 2:
7074 p = "userland uint32_t *";
7075 break;
7076 default:
7077 break;
7078 };
7079 break;
7080 /* thr_set_name */
7081 case 464:
7082 switch (ndx) {
7083 case 0:
7084 p = "int32_t";
7085 break;
7086 case 1:
7087 p = "userland const char *";
7088 break;
7089 default:
7090 break;
7091 };
7092 break;
7093 /* freebsd32_aio_fsync */
7094 case 465:
7095 switch (ndx) {
7096 case 0:
7097 p = "int";
7098 break;
7099 case 1:
7100 p = "userland struct aiocb32 *";
7101 break;
7102 default:
7103 break;
7104 };
7105 break;
7106 /* rtprio_thread */
7107 case 466:
7108 switch (ndx) {
7109 case 0:
7110 p = "int";
7111 break;
7112 case 1:
7113 p = "lwpid_t";
7114 break;
7115 case 2:
7116 p = "userland struct rtprio *";
7117 break;
7118 default:
7119 break;
7120 };
7121 break;
7122 /* sctp_peeloff */
7123 case 471:
7124 switch (ndx) {
7125 case 0:
7126 p = "int";
7127 break;
7128 case 1:
7129 p = "uint32_t";
7130 break;
7131 default:
7132 break;
7133 };
7134 break;
7135 /* sctp_generic_sendmsg */
7136 case 472:
7137 switch (ndx) {
7138 case 0:
7139 p = "int";
7140 break;
7141 case 1:
7142 p = "userland void *";
7143 break;
7144 case 2:
7145 p = "int";
7146 break;
7147 case 3:
7148 p = "userland const struct sockaddr *";
7149 break;
7150 case 4:
7151 p = "__socklen_t";
7152 break;
7153 case 5:
7154 p = "userland struct sctp_sndrcvinfo *";
7155 break;
7156 case 6:
7157 p = "int";
7158 break;
7159 default:
7160 break;
7161 };
7162 break;
7163 /* sctp_generic_sendmsg_iov */
7164 case 473:
7165 switch (ndx) {
7166 case 0:
7167 p = "int";
7168 break;
7169 case 1:
7170 p = "userland struct iovec32 *";
7171 break;
7172 case 2:
7173 p = "int";
7174 break;
7175 case 3:
7176 p = "userland const struct sockaddr *";
7177 break;
7178 case 4:
7179 p = "__socklen_t";
7180 break;
7181 case 5:
7182 p = "userland struct sctp_sndrcvinfo *";
7183 break;
7184 case 6:
7185 p = "int";
7186 break;
7187 default:
7188 break;
7189 };
7190 break;
7191 /* sctp_generic_recvmsg */
7192 case 474:
7193 switch (ndx) {
7194 case 0:
7195 p = "int";
7196 break;
7197 case 1:
7198 p = "userland struct iovec32 *";
7199 break;
7200 case 2:
7201 p = "int";
7202 break;
7203 case 3:
7204 p = "userland struct sockaddr *";
7205 break;
7206 case 4:
7207 p = "userland __socklen_t *";
7208 break;
7209 case 5:
7210 p = "userland struct sctp_sndrcvinfo *";
7211 break;
7212 case 6:
7213 p = "userland int *";
7214 break;
7215 default:
7216 break;
7217 };
7218 break;
7219 /* freebsd32_pread */
7220 case 475:
7221 switch (ndx) {
7222 case 0:
7223 p = "int";
7224 break;
7225 case 1:
7226 p = "userland void *";
7227 break;
7228 case 2:
7229 p = "size_t";
7230 break;
7231 #ifdef PAD64_REQUIRED
7232 case 3:
7233 p = "int";
7234 break;
7235 #define _P_ 0
7236 #else
7237 #define _P_ 1
7238 #endif
7239 case 4 - _P_:
7240 p = "uint32_t";
7241 break;
7242 case 5 - _P_:
7243 p = "uint32_t";
7244 break;
7245 default:
7246 break;
7247 };
7248 #undef _P_
7249
7250 break;
7251 /* freebsd32_pwrite */
7252 case 476:
7253 switch (ndx) {
7254 case 0:
7255 p = "int";
7256 break;
7257 case 1:
7258 p = "userland const void *";
7259 break;
7260 case 2:
7261 p = "size_t";
7262 break;
7263 #ifdef PAD64_REQUIRED
7264 case 3:
7265 p = "int";
7266 break;
7267 #define _P_ 0
7268 #else
7269 #define _P_ 1
7270 #endif
7271 case 4 - _P_:
7272 p = "uint32_t";
7273 break;
7274 case 5 - _P_:
7275 p = "uint32_t";
7276 break;
7277 default:
7278 break;
7279 };
7280 #undef _P_
7281
7282 break;
7283 /* freebsd32_mmap */
7284 case 477:
7285 switch (ndx) {
7286 case 0:
7287 p = "userland void *";
7288 break;
7289 case 1:
7290 p = "size_t";
7291 break;
7292 case 2:
7293 p = "int";
7294 break;
7295 case 3:
7296 p = "int";
7297 break;
7298 case 4:
7299 p = "int";
7300 break;
7301 #ifdef PAD64_REQUIRED
7302 case 5:
7303 p = "int";
7304 break;
7305 #define _P_ 0
7306 #else
7307 #define _P_ 1
7308 #endif
7309 case 6 - _P_:
7310 p = "uint32_t";
7311 break;
7312 case 7 - _P_:
7313 p = "uint32_t";
7314 break;
7315 default:
7316 break;
7317 };
7318 #undef _P_
7319
7320 break;
7321 /* freebsd32_lseek */
7322 case 478:
7323 switch (ndx) {
7324 case 0:
7325 p = "int";
7326 break;
7327 #ifdef PAD64_REQUIRED
7328 case 1:
7329 p = "int";
7330 break;
7331 #define _P_ 0
7332 #else
7333 #define _P_ 1
7334 #endif
7335 case 2 - _P_:
7336 p = "uint32_t";
7337 break;
7338 case 3 - _P_:
7339 p = "uint32_t";
7340 break;
7341 case 4 - _P_:
7342 p = "int";
7343 break;
7344 default:
7345 break;
7346 };
7347 #undef _P_
7348
7349 break;
7350 /* freebsd32_truncate */
7351 case 479:
7352 switch (ndx) {
7353 case 0:
7354 p = "userland const char *";
7355 break;
7356 #ifdef PAD64_REQUIRED
7357 case 1:
7358 p = "int";
7359 break;
7360 #define _P_ 0
7361 #else
7362 #define _P_ 1
7363 #endif
7364 case 2 - _P_:
7365 p = "uint32_t";
7366 break;
7367 case 3 - _P_:
7368 p = "uint32_t";
7369 break;
7370 default:
7371 break;
7372 };
7373 #undef _P_
7374
7375 break;
7376 /* freebsd32_ftruncate */
7377 case 480:
7378 switch (ndx) {
7379 case 0:
7380 p = "int";
7381 break;
7382 #ifdef PAD64_REQUIRED
7383 case 1:
7384 p = "int";
7385 break;
7386 #define _P_ 0
7387 #else
7388 #define _P_ 1
7389 #endif
7390 case 2 - _P_:
7391 p = "uint32_t";
7392 break;
7393 case 3 - _P_:
7394 p = "uint32_t";
7395 break;
7396 default:
7397 break;
7398 };
7399 #undef _P_
7400
7401 break;
7402 /* thr_kill2 */
7403 case 481:
7404 switch (ndx) {
7405 case 0:
7406 p = "pid_t";
7407 break;
7408 case 1:
7409 p = "int32_t";
7410 break;
7411 case 2:
7412 p = "int";
7413 break;
7414 default:
7415 break;
7416 };
7417 break;
7418 /* shm_unlink */
7419 case 483:
7420 switch (ndx) {
7421 case 0:
7422 p = "userland const char *";
7423 break;
7424 default:
7425 break;
7426 };
7427 break;
7428 /* cpuset */
7429 case 484:
7430 switch (ndx) {
7431 case 0:
7432 p = "userland cpusetid_t *";
7433 break;
7434 default:
7435 break;
7436 };
7437 break;
7438 /* freebsd32_cpuset_setid */
7439 case 485:
7440 switch (ndx) {
7441 case 0:
7442 p = "cpuwhich_t";
7443 break;
7444 #ifdef PAD64_REQUIRED
7445 case 1:
7446 p = "int";
7447 break;
7448 #define _P_ 0
7449 #else
7450 #define _P_ 1
7451 #endif
7452 case 2 - _P_:
7453 p = "uint32_t";
7454 break;
7455 case 3 - _P_:
7456 p = "uint32_t";
7457 break;
7458 case 4 - _P_:
7459 p = "cpusetid_t";
7460 break;
7461 default:
7462 break;
7463 };
7464 #undef _P_
7465
7466 break;
7467 /* freebsd32_cpuset_getid */
7468 case 486:
7469 switch (ndx) {
7470 case 0:
7471 p = "cpulevel_t";
7472 break;
7473 case 1:
7474 p = "cpuwhich_t";
7475 break;
7476 case 2:
7477 p = "uint32_t";
7478 break;
7479 case 3:
7480 p = "uint32_t";
7481 break;
7482 case 4:
7483 p = "userland cpusetid_t *";
7484 break;
7485 default:
7486 break;
7487 };
7488 break;
7489 /* freebsd32_cpuset_getaffinity */
7490 case 487:
7491 switch (ndx) {
7492 case 0:
7493 p = "cpulevel_t";
7494 break;
7495 case 1:
7496 p = "cpuwhich_t";
7497 break;
7498 case 2:
7499 p = "uint32_t";
7500 break;
7501 case 3:
7502 p = "uint32_t";
7503 break;
7504 case 4:
7505 p = "size_t";
7506 break;
7507 case 5:
7508 p = "userland cpuset_t *";
7509 break;
7510 default:
7511 break;
7512 };
7513 break;
7514 /* freebsd32_cpuset_setaffinity */
7515 case 488:
7516 switch (ndx) {
7517 case 0:
7518 p = "cpulevel_t";
7519 break;
7520 case 1:
7521 p = "cpuwhich_t";
7522 break;
7523 case 2:
7524 p = "uint32_t";
7525 break;
7526 case 3:
7527 p = "uint32_t";
7528 break;
7529 case 4:
7530 p = "size_t";
7531 break;
7532 case 5:
7533 p = "userland const cpuset_t *";
7534 break;
7535 default:
7536 break;
7537 };
7538 break;
7539 /* faccessat */
7540 case 489:
7541 switch (ndx) {
7542 case 0:
7543 p = "int";
7544 break;
7545 case 1:
7546 p = "userland const char *";
7547 break;
7548 case 2:
7549 p = "int";
7550 break;
7551 case 3:
7552 p = "int";
7553 break;
7554 default:
7555 break;
7556 };
7557 break;
7558 /* fchmodat */
7559 case 490:
7560 switch (ndx) {
7561 case 0:
7562 p = "int";
7563 break;
7564 case 1:
7565 p = "userland const char *";
7566 break;
7567 case 2:
7568 p = "mode_t";
7569 break;
7570 case 3:
7571 p = "int";
7572 break;
7573 default:
7574 break;
7575 };
7576 break;
7577 /* fchownat */
7578 case 491:
7579 switch (ndx) {
7580 case 0:
7581 p = "int";
7582 break;
7583 case 1:
7584 p = "userland const char *";
7585 break;
7586 case 2:
7587 p = "uid_t";
7588 break;
7589 case 3:
7590 p = "gid_t";
7591 break;
7592 case 4:
7593 p = "int";
7594 break;
7595 default:
7596 break;
7597 };
7598 break;
7599 /* freebsd32_fexecve */
7600 case 492:
7601 switch (ndx) {
7602 case 0:
7603 p = "int";
7604 break;
7605 case 1:
7606 p = "userland uint32_t *";
7607 break;
7608 case 2:
7609 p = "userland uint32_t *";
7610 break;
7611 default:
7612 break;
7613 };
7614 break;
7615 /* freebsd32_futimesat */
7616 case 494:
7617 switch (ndx) {
7618 case 0:
7619 p = "int";
7620 break;
7621 case 1:
7622 p = "userland const char *";
7623 break;
7624 case 2:
7625 p = "userland const struct timeval32 *";
7626 break;
7627 default:
7628 break;
7629 };
7630 break;
7631 /* linkat */
7632 case 495:
7633 switch (ndx) {
7634 case 0:
7635 p = "int";
7636 break;
7637 case 1:
7638 p = "userland const char *";
7639 break;
7640 case 2:
7641 p = "int";
7642 break;
7643 case 3:
7644 p = "userland const char *";
7645 break;
7646 case 4:
7647 p = "int";
7648 break;
7649 default:
7650 break;
7651 };
7652 break;
7653 /* mkdirat */
7654 case 496:
7655 switch (ndx) {
7656 case 0:
7657 p = "int";
7658 break;
7659 case 1:
7660 p = "userland const char *";
7661 break;
7662 case 2:
7663 p = "mode_t";
7664 break;
7665 default:
7666 break;
7667 };
7668 break;
7669 /* mkfifoat */
7670 case 497:
7671 switch (ndx) {
7672 case 0:
7673 p = "int";
7674 break;
7675 case 1:
7676 p = "userland const char *";
7677 break;
7678 case 2:
7679 p = "mode_t";
7680 break;
7681 default:
7682 break;
7683 };
7684 break;
7685 /* openat */
7686 case 499:
7687 switch (ndx) {
7688 case 0:
7689 p = "int";
7690 break;
7691 case 1:
7692 p = "userland const char *";
7693 break;
7694 case 2:
7695 p = "int";
7696 break;
7697 case 3:
7698 p = "mode_t";
7699 break;
7700 default:
7701 break;
7702 };
7703 break;
7704 /* readlinkat */
7705 case 500:
7706 switch (ndx) {
7707 case 0:
7708 p = "int";
7709 break;
7710 case 1:
7711 p = "userland const char *";
7712 break;
7713 case 2:
7714 p = "userland char *";
7715 break;
7716 case 3:
7717 p = "size_t";
7718 break;
7719 default:
7720 break;
7721 };
7722 break;
7723 /* renameat */
7724 case 501:
7725 switch (ndx) {
7726 case 0:
7727 p = "int";
7728 break;
7729 case 1:
7730 p = "userland const char *";
7731 break;
7732 case 2:
7733 p = "int";
7734 break;
7735 case 3:
7736 p = "userland const char *";
7737 break;
7738 default:
7739 break;
7740 };
7741 break;
7742 /* symlinkat */
7743 case 502:
7744 switch (ndx) {
7745 case 0:
7746 p = "userland const char *";
7747 break;
7748 case 1:
7749 p = "int";
7750 break;
7751 case 2:
7752 p = "userland const char *";
7753 break;
7754 default:
7755 break;
7756 };
7757 break;
7758 /* unlinkat */
7759 case 503:
7760 switch (ndx) {
7761 case 0:
7762 p = "int";
7763 break;
7764 case 1:
7765 p = "userland const char *";
7766 break;
7767 case 2:
7768 p = "int";
7769 break;
7770 default:
7771 break;
7772 };
7773 break;
7774 /* posix_openpt */
7775 case 504:
7776 switch (ndx) {
7777 case 0:
7778 p = "int";
7779 break;
7780 default:
7781 break;
7782 };
7783 break;
7784 /* gssd_syscall */
7785 case 505:
7786 switch (ndx) {
7787 case 0:
7788 p = "userland const char *";
7789 break;
7790 default:
7791 break;
7792 };
7793 break;
7794 /* freebsd32_jail_get */
7795 case 506:
7796 switch (ndx) {
7797 case 0:
7798 p = "userland struct iovec32 *";
7799 break;
7800 case 1:
7801 p = "unsigned int";
7802 break;
7803 case 2:
7804 p = "int";
7805 break;
7806 default:
7807 break;
7808 };
7809 break;
7810 /* freebsd32_jail_set */
7811 case 507:
7812 switch (ndx) {
7813 case 0:
7814 p = "userland struct iovec32 *";
7815 break;
7816 case 1:
7817 p = "unsigned int";
7818 break;
7819 case 2:
7820 p = "int";
7821 break;
7822 default:
7823 break;
7824 };
7825 break;
7826 /* jail_remove */
7827 case 508:
7828 switch (ndx) {
7829 case 0:
7830 p = "int";
7831 break;
7832 default:
7833 break;
7834 };
7835 break;
7836 /* freebsd32___semctl */
7837 case 510:
7838 switch (ndx) {
7839 case 0:
7840 p = "int";
7841 break;
7842 case 1:
7843 p = "int";
7844 break;
7845 case 2:
7846 p = "int";
7847 break;
7848 case 3:
7849 p = "userland union semun32 *";
7850 break;
7851 default:
7852 break;
7853 };
7854 break;
7855 /* freebsd32_msgctl */
7856 case 511:
7857 switch (ndx) {
7858 case 0:
7859 p = "int";
7860 break;
7861 case 1:
7862 p = "int";
7863 break;
7864 case 2:
7865 p = "userland struct msqid_ds32 *";
7866 break;
7867 default:
7868 break;
7869 };
7870 break;
7871 /* freebsd32_shmctl */
7872 case 512:
7873 switch (ndx) {
7874 case 0:
7875 p = "int";
7876 break;
7877 case 1:
7878 p = "int";
7879 break;
7880 case 2:
7881 p = "userland struct shmid_ds32 *";
7882 break;
7883 default:
7884 break;
7885 };
7886 break;
7887 /* lpathconf */
7888 case 513:
7889 switch (ndx) {
7890 case 0:
7891 p = "userland const char *";
7892 break;
7893 case 1:
7894 p = "int";
7895 break;
7896 default:
7897 break;
7898 };
7899 break;
7900 /* __cap_rights_get */
7901 case 515:
7902 switch (ndx) {
7903 case 0:
7904 p = "int";
7905 break;
7906 case 1:
7907 p = "int";
7908 break;
7909 case 2:
7910 p = "userland cap_rights_t *";
7911 break;
7912 default:
7913 break;
7914 };
7915 break;
7916 /* cap_enter */
7917 case 516:
7918 break;
7919 /* cap_getmode */
7920 case 517:
7921 switch (ndx) {
7922 case 0:
7923 p = "userland u_int *";
7924 break;
7925 default:
7926 break;
7927 };
7928 break;
7929 /* pdfork */
7930 case 518:
7931 switch (ndx) {
7932 case 0:
7933 p = "userland int *";
7934 break;
7935 case 1:
7936 p = "int";
7937 break;
7938 default:
7939 break;
7940 };
7941 break;
7942 /* pdkill */
7943 case 519:
7944 switch (ndx) {
7945 case 0:
7946 p = "int";
7947 break;
7948 case 1:
7949 p = "int";
7950 break;
7951 default:
7952 break;
7953 };
7954 break;
7955 /* pdgetpid */
7956 case 520:
7957 switch (ndx) {
7958 case 0:
7959 p = "int";
7960 break;
7961 case 1:
7962 p = "userland pid_t *";
7963 break;
7964 default:
7965 break;
7966 };
7967 break;
7968 /* freebsd32_pselect */
7969 case 522:
7970 switch (ndx) {
7971 case 0:
7972 p = "int";
7973 break;
7974 case 1:
7975 p = "userland fd_set *";
7976 break;
7977 case 2:
7978 p = "userland fd_set *";
7979 break;
7980 case 3:
7981 p = "userland fd_set *";
7982 break;
7983 case 4:
7984 p = "userland const struct timespec32 *";
7985 break;
7986 case 5:
7987 p = "userland const sigset_t *";
7988 break;
7989 default:
7990 break;
7991 };
7992 break;
7993 /* getloginclass */
7994 case 523:
7995 switch (ndx) {
7996 case 0:
7997 p = "userland char *";
7998 break;
7999 case 1:
8000 p = "size_t";
8001 break;
8002 default:
8003 break;
8004 };
8005 break;
8006 /* setloginclass */
8007 case 524:
8008 switch (ndx) {
8009 case 0:
8010 p = "userland const char *";
8011 break;
8012 default:
8013 break;
8014 };
8015 break;
8016 /* rctl_get_racct */
8017 case 525:
8018 switch (ndx) {
8019 case 0:
8020 p = "userland const void *";
8021 break;
8022 case 1:
8023 p = "size_t";
8024 break;
8025 case 2:
8026 p = "userland void *";
8027 break;
8028 case 3:
8029 p = "size_t";
8030 break;
8031 default:
8032 break;
8033 };
8034 break;
8035 /* rctl_get_rules */
8036 case 526:
8037 switch (ndx) {
8038 case 0:
8039 p = "userland const void *";
8040 break;
8041 case 1:
8042 p = "size_t";
8043 break;
8044 case 2:
8045 p = "userland void *";
8046 break;
8047 case 3:
8048 p = "size_t";
8049 break;
8050 default:
8051 break;
8052 };
8053 break;
8054 /* rctl_get_limits */
8055 case 527:
8056 switch (ndx) {
8057 case 0:
8058 p = "userland const void *";
8059 break;
8060 case 1:
8061 p = "size_t";
8062 break;
8063 case 2:
8064 p = "userland void *";
8065 break;
8066 case 3:
8067 p = "size_t";
8068 break;
8069 default:
8070 break;
8071 };
8072 break;
8073 /* rctl_add_rule */
8074 case 528:
8075 switch (ndx) {
8076 case 0:
8077 p = "userland const void *";
8078 break;
8079 case 1:
8080 p = "size_t";
8081 break;
8082 case 2:
8083 p = "userland void *";
8084 break;
8085 case 3:
8086 p = "size_t";
8087 break;
8088 default:
8089 break;
8090 };
8091 break;
8092 /* rctl_remove_rule */
8093 case 529:
8094 switch (ndx) {
8095 case 0:
8096 p = "userland const void *";
8097 break;
8098 case 1:
8099 p = "size_t";
8100 break;
8101 case 2:
8102 p = "userland void *";
8103 break;
8104 case 3:
8105 p = "size_t";
8106 break;
8107 default:
8108 break;
8109 };
8110 break;
8111 /* freebsd32_posix_fallocate */
8112 case 530:
8113 switch (ndx) {
8114 case 0:
8115 p = "int";
8116 break;
8117 #ifdef PAD64_REQUIRED
8118 case 1:
8119 p = "int";
8120 break;
8121 #define _P_ 0
8122 #else
8123 #define _P_ 1
8124 #endif
8125 case 2 - _P_:
8126 p = "uint32_t";
8127 break;
8128 case 3 - _P_:
8129 p = "uint32_t";
8130 break;
8131 case 4 - _P_:
8132 p = "uint32_t";
8133 break;
8134 case 5 - _P_:
8135 p = "uint32_t";
8136 break;
8137 default:
8138 break;
8139 };
8140 #undef _P_
8141
8142 break;
8143 /* freebsd32_posix_fadvise */
8144 case 531:
8145 switch (ndx) {
8146 case 0:
8147 p = "int";
8148 break;
8149 #ifdef PAD64_REQUIRED
8150 case 1:
8151 p = "int";
8152 break;
8153 #define _P_ 0
8154 #else
8155 #define _P_ 1
8156 #endif
8157 case 2 - _P_:
8158 p = "uint32_t";
8159 break;
8160 case 3 - _P_:
8161 p = "uint32_t";
8162 break;
8163 case 4 - _P_:
8164 p = "uint32_t";
8165 break;
8166 case 5 - _P_:
8167 p = "uint32_t";
8168 break;
8169 case 6 - _P_:
8170 p = "int";
8171 break;
8172 default:
8173 break;
8174 };
8175 #undef _P_
8176
8177 break;
8178 /* freebsd32_wait6 */
8179 case 532:
8180 switch (ndx) {
8181 case 0:
8182 p = "idtype_t";
8183 break;
8184 #ifdef PAD64_REQUIRED
8185 case 1:
8186 p = "int";
8187 break;
8188 #define _P_ 0
8189 #else
8190 #define _P_ 1
8191 #endif
8192 case 2 - _P_:
8193 p = "uint32_t";
8194 break;
8195 case 3 - _P_:
8196 p = "uint32_t";
8197 break;
8198 case 4 - _P_:
8199 p = "userland int *";
8200 break;
8201 case 5 - _P_:
8202 p = "int";
8203 break;
8204 case 6 - _P_:
8205 p = "userland struct __wrusage32 *";
8206 break;
8207 case 7 - _P_:
8208 p = "userland struct __siginfo32 *";
8209 break;
8210 default:
8211 break;
8212 };
8213 #undef _P_
8214
8215 break;
8216 /* cap_rights_limit */
8217 case 533:
8218 switch (ndx) {
8219 case 0:
8220 p = "int";
8221 break;
8222 case 1:
8223 p = "userland cap_rights_t *";
8224 break;
8225 default:
8226 break;
8227 };
8228 break;
8229 /* freebsd32_cap_ioctls_limit */
8230 case 534:
8231 switch (ndx) {
8232 case 0:
8233 p = "int";
8234 break;
8235 case 1:
8236 p = "userland const uint32_t *";
8237 break;
8238 case 2:
8239 p = "size_t";
8240 break;
8241 default:
8242 break;
8243 };
8244 break;
8245 /* freebsd32_cap_ioctls_get */
8246 case 535:
8247 switch (ndx) {
8248 case 0:
8249 p = "int";
8250 break;
8251 case 1:
8252 p = "userland uint32_t *";
8253 break;
8254 case 2:
8255 p = "size_t";
8256 break;
8257 default:
8258 break;
8259 };
8260 break;
8261 /* cap_fcntls_limit */
8262 case 536:
8263 switch (ndx) {
8264 case 0:
8265 p = "int";
8266 break;
8267 case 1:
8268 p = "uint32_t";
8269 break;
8270 default:
8271 break;
8272 };
8273 break;
8274 /* cap_fcntls_get */
8275 case 537:
8276 switch (ndx) {
8277 case 0:
8278 p = "int";
8279 break;
8280 case 1:
8281 p = "userland uint32_t *";
8282 break;
8283 default:
8284 break;
8285 };
8286 break;
8287 /* bindat */
8288 case 538:
8289 switch (ndx) {
8290 case 0:
8291 p = "int";
8292 break;
8293 case 1:
8294 p = "int";
8295 break;
8296 case 2:
8297 p = "userland const struct sockaddr *";
8298 break;
8299 case 3:
8300 p = "__socklen_t";
8301 break;
8302 default:
8303 break;
8304 };
8305 break;
8306 /* connectat */
8307 case 539:
8308 switch (ndx) {
8309 case 0:
8310 p = "int";
8311 break;
8312 case 1:
8313 p = "int";
8314 break;
8315 case 2:
8316 p = "userland const struct sockaddr *";
8317 break;
8318 case 3:
8319 p = "__socklen_t";
8320 break;
8321 default:
8322 break;
8323 };
8324 break;
8325 /* chflagsat */
8326 case 540:
8327 switch (ndx) {
8328 case 0:
8329 p = "int";
8330 break;
8331 case 1:
8332 p = "userland const char *";
8333 break;
8334 case 2:
8335 p = "u_long";
8336 break;
8337 case 3:
8338 p = "int";
8339 break;
8340 default:
8341 break;
8342 };
8343 break;
8344 /* accept4 */
8345 case 541:
8346 switch (ndx) {
8347 case 0:
8348 p = "int";
8349 break;
8350 case 1:
8351 p = "userland struct sockaddr *";
8352 break;
8353 case 2:
8354 p = "userland __socklen_t *";
8355 break;
8356 case 3:
8357 p = "int";
8358 break;
8359 default:
8360 break;
8361 };
8362 break;
8363 /* pipe2 */
8364 case 542:
8365 switch (ndx) {
8366 case 0:
8367 p = "userland int *";
8368 break;
8369 case 1:
8370 p = "int";
8371 break;
8372 default:
8373 break;
8374 };
8375 break;
8376 /* freebsd32_aio_mlock */
8377 case 543:
8378 switch (ndx) {
8379 case 0:
8380 p = "userland struct aiocb32 *";
8381 break;
8382 default:
8383 break;
8384 };
8385 break;
8386 /* freebsd32_procctl */
8387 case 544:
8388 switch (ndx) {
8389 case 0:
8390 p = "idtype_t";
8391 break;
8392 #ifdef PAD64_REQUIRED
8393 case 1:
8394 p = "int";
8395 break;
8396 #define _P_ 0
8397 #else
8398 #define _P_ 1
8399 #endif
8400 case 2 - _P_:
8401 p = "uint32_t";
8402 break;
8403 case 3 - _P_:
8404 p = "uint32_t";
8405 break;
8406 case 4 - _P_:
8407 p = "int";
8408 break;
8409 case 5 - _P_:
8410 p = "userland void *";
8411 break;
8412 default:
8413 break;
8414 };
8415 #undef _P_
8416
8417 break;
8418 /* freebsd32_ppoll */
8419 case 545:
8420 switch (ndx) {
8421 case 0:
8422 p = "userland struct pollfd *";
8423 break;
8424 case 1:
8425 p = "u_int";
8426 break;
8427 case 2:
8428 p = "userland const struct timespec32 *";
8429 break;
8430 case 3:
8431 p = "userland const sigset_t *";
8432 break;
8433 default:
8434 break;
8435 };
8436 break;
8437 /* freebsd32_futimens */
8438 case 546:
8439 switch (ndx) {
8440 case 0:
8441 p = "int";
8442 break;
8443 case 1:
8444 p = "userland const struct timespec32 *";
8445 break;
8446 default:
8447 break;
8448 };
8449 break;
8450 /* freebsd32_utimensat */
8451 case 547:
8452 switch (ndx) {
8453 case 0:
8454 p = "int";
8455 break;
8456 case 1:
8457 p = "userland const char *";
8458 break;
8459 case 2:
8460 p = "userland const struct timespec32 *";
8461 break;
8462 case 3:
8463 p = "int";
8464 break;
8465 default:
8466 break;
8467 };
8468 break;
8469 /* fdatasync */
8470 case 550:
8471 switch (ndx) {
8472 case 0:
8473 p = "int";
8474 break;
8475 default:
8476 break;
8477 };
8478 break;
8479 /* freebsd32_fstat */
8480 case 551:
8481 switch (ndx) {
8482 case 0:
8483 p = "int";
8484 break;
8485 case 1:
8486 p = "userland struct stat32 *";
8487 break;
8488 default:
8489 break;
8490 };
8491 break;
8492 /* freebsd32_fstatat */
8493 case 552:
8494 switch (ndx) {
8495 case 0:
8496 p = "int";
8497 break;
8498 case 1:
8499 p = "userland const char *";
8500 break;
8501 case 2:
8502 p = "userland struct stat32 *";
8503 break;
8504 case 3:
8505 p = "int";
8506 break;
8507 default:
8508 break;
8509 };
8510 break;
8511 /* freebsd32_fhstat */
8512 case 553:
8513 switch (ndx) {
8514 case 0:
8515 p = "userland const struct fhandle *";
8516 break;
8517 case 1:
8518 p = "userland struct stat32 *";
8519 break;
8520 default:
8521 break;
8522 };
8523 break;
8524 /* getdirentries */
8525 case 554:
8526 switch (ndx) {
8527 case 0:
8528 p = "int";
8529 break;
8530 case 1:
8531 p = "userland char *";
8532 break;
8533 case 2:
8534 p = "size_t";
8535 break;
8536 case 3:
8537 p = "userland off_t *";
8538 break;
8539 default:
8540 break;
8541 };
8542 break;
8543 /* statfs */
8544 case 555:
8545 switch (ndx) {
8546 case 0:
8547 p = "userland const char *";
8548 break;
8549 case 1:
8550 p = "userland struct statfs *";
8551 break;
8552 default:
8553 break;
8554 };
8555 break;
8556 /* fstatfs */
8557 case 556:
8558 switch (ndx) {
8559 case 0:
8560 p = "int";
8561 break;
8562 case 1:
8563 p = "userland struct statfs *";
8564 break;
8565 default:
8566 break;
8567 };
8568 break;
8569 /* freebsd32_getfsstat */
8570 case 557:
8571 switch (ndx) {
8572 case 0:
8573 p = "userland struct statfs *";
8574 break;
8575 case 1:
8576 p = "int32_t";
8577 break;
8578 case 2:
8579 p = "int";
8580 break;
8581 default:
8582 break;
8583 };
8584 break;
8585 /* fhstatfs */
8586 case 558:
8587 switch (ndx) {
8588 case 0:
8589 p = "userland const struct fhandle *";
8590 break;
8591 case 1:
8592 p = "userland struct statfs *";
8593 break;
8594 default:
8595 break;
8596 };
8597 break;
8598 /* freebsd32_mknodat */
8599 case 559:
8600 switch (ndx) {
8601 case 0:
8602 p = "int";
8603 break;
8604 case 1:
8605 p = "userland const char *";
8606 break;
8607 case 2:
8608 p = "mode_t";
8609 break;
8610 #ifdef PAD64_REQUIRED
8611 case 3:
8612 p = "int";
8613 break;
8614 #define _P_ 0
8615 #else
8616 #define _P_ 1
8617 #endif
8618 case 4 - _P_:
8619 p = "uint32_t";
8620 break;
8621 case 5 - _P_:
8622 p = "uint32_t";
8623 break;
8624 default:
8625 break;
8626 };
8627 #undef _P_
8628
8629 break;
8630 /* freebsd32_kevent */
8631 case 560:
8632 switch (ndx) {
8633 case 0:
8634 p = "int";
8635 break;
8636 case 1:
8637 p = "userland const struct kevent32 *";
8638 break;
8639 case 2:
8640 p = "int";
8641 break;
8642 case 3:
8643 p = "userland struct kevent32 *";
8644 break;
8645 case 4:
8646 p = "int";
8647 break;
8648 case 5:
8649 p = "userland const struct timespec32 *";
8650 break;
8651 default:
8652 break;
8653 };
8654 break;
8655 /* freebsd32_cpuset_getdomain */
8656 case 561:
8657 switch (ndx) {
8658 case 0:
8659 p = "cpulevel_t";
8660 break;
8661 case 1:
8662 p = "cpuwhich_t";
8663 break;
8664 case 2:
8665 p = "uint32_t";
8666 break;
8667 case 3:
8668 p = "uint32_t";
8669 break;
8670 case 4:
8671 p = "size_t";
8672 break;
8673 case 5:
8674 p = "userland domainset_t *";
8675 break;
8676 case 6:
8677 p = "userland int *";
8678 break;
8679 default:
8680 break;
8681 };
8682 break;
8683 /* freebsd32_cpuset_setdomain */
8684 case 562:
8685 switch (ndx) {
8686 case 0:
8687 p = "cpulevel_t";
8688 break;
8689 case 1:
8690 p = "cpuwhich_t";
8691 break;
8692 case 2:
8693 p = "uint32_t";
8694 break;
8695 case 3:
8696 p = "uint32_t";
8697 break;
8698 case 4:
8699 p = "size_t";
8700 break;
8701 case 5:
8702 p = "userland domainset_t *";
8703 break;
8704 case 6:
8705 p = "int";
8706 break;
8707 default:
8708 break;
8709 };
8710 break;
8711 /* getrandom */
8712 case 563:
8713 switch (ndx) {
8714 case 0:
8715 p = "userland void *";
8716 break;
8717 case 1:
8718 p = "size_t";
8719 break;
8720 case 2:
8721 p = "unsigned int";
8722 break;
8723 default:
8724 break;
8725 };
8726 break;
8727 /* getfhat */
8728 case 564:
8729 switch (ndx) {
8730 case 0:
8731 p = "int";
8732 break;
8733 case 1:
8734 p = "userland char *";
8735 break;
8736 case 2:
8737 p = "userland struct fhandle *";
8738 break;
8739 case 3:
8740 p = "int";
8741 break;
8742 default:
8743 break;
8744 };
8745 break;
8746 /* fhlink */
8747 case 565:
8748 switch (ndx) {
8749 case 0:
8750 p = "userland struct fhandle *";
8751 break;
8752 case 1:
8753 p = "userland const char *";
8754 break;
8755 default:
8756 break;
8757 };
8758 break;
8759 /* fhlinkat */
8760 case 566:
8761 switch (ndx) {
8762 case 0:
8763 p = "userland struct fhandle *";
8764 break;
8765 case 1:
8766 p = "int";
8767 break;
8768 case 2:
8769 p = "userland const char *";
8770 break;
8771 default:
8772 break;
8773 };
8774 break;
8775 /* fhreadlink */
8776 case 567:
8777 switch (ndx) {
8778 case 0:
8779 p = "userland struct fhandle *";
8780 break;
8781 case 1:
8782 p = "userland char *";
8783 break;
8784 case 2:
8785 p = "size_t";
8786 break;
8787 default:
8788 break;
8789 };
8790 break;
8791 /* funlinkat */
8792 case 568:
8793 switch (ndx) {
8794 case 0:
8795 p = "int";
8796 break;
8797 case 1:
8798 p = "userland const char *";
8799 break;
8800 case 2:
8801 p = "int";
8802 break;
8803 case 3:
8804 p = "int";
8805 break;
8806 default:
8807 break;
8808 };
8809 break;
8810 /* copy_file_range */
8811 case 569:
8812 switch (ndx) {
8813 case 0:
8814 p = "int";
8815 break;
8816 case 1:
8817 p = "userland off_t *";
8818 break;
8819 case 2:
8820 p = "int";
8821 break;
8822 case 3:
8823 p = "userland off_t *";
8824 break;
8825 case 4:
8826 p = "size_t";
8827 break;
8828 case 5:
8829 p = "unsigned int";
8830 break;
8831 default:
8832 break;
8833 };
8834 break;
8835 /* freebsd32___sysctlbyname */
8836 case 570:
8837 switch (ndx) {
8838 case 0:
8839 p = "userland const char *";
8840 break;
8841 case 1:
8842 p = "size_t";
8843 break;
8844 case 2:
8845 p = "userland void *";
8846 break;
8847 case 3:
8848 p = "userland uint32_t *";
8849 break;
8850 case 4:
8851 p = "userland void *";
8852 break;
8853 case 5:
8854 p = "size_t";
8855 break;
8856 default:
8857 break;
8858 };
8859 break;
8860 /* shm_open2 */
8861 case 571:
8862 switch (ndx) {
8863 case 0:
8864 p = "userland const char *";
8865 break;
8866 case 1:
8867 p = "int";
8868 break;
8869 case 2:
8870 p = "mode_t";
8871 break;
8872 case 3:
8873 p = "int";
8874 break;
8875 case 4:
8876 p = "userland const char *";
8877 break;
8878 default:
8879 break;
8880 };
8881 break;
8882 /* shm_rename */
8883 case 572:
8884 switch (ndx) {
8885 case 0:
8886 p = "userland const char *";
8887 break;
8888 case 1:
8889 p = "userland const char *";
8890 break;
8891 case 2:
8892 p = "int";
8893 break;
8894 default:
8895 break;
8896 };
8897 break;
8898 /* sigfastblock */
8899 case 573:
8900 switch (ndx) {
8901 case 0:
8902 p = "int";
8903 break;
8904 case 1:
8905 p = "userland void *";
8906 break;
8907 default:
8908 break;
8909 };
8910 break;
8911 /* __realpathat */
8912 case 574:
8913 switch (ndx) {
8914 case 0:
8915 p = "int";
8916 break;
8917 case 1:
8918 p = "userland const char *";
8919 break;
8920 case 2:
8921 p = "userland char *";
8922 break;
8923 case 3:
8924 p = "size_t";
8925 break;
8926 case 4:
8927 p = "int";
8928 break;
8929 default:
8930 break;
8931 };
8932 break;
8933 /* close_range */
8934 case 575:
8935 switch (ndx) {
8936 case 0:
8937 p = "u_int";
8938 break;
8939 case 1:
8940 p = "u_int";
8941 break;
8942 case 2:
8943 p = "int";
8944 break;
8945 default:
8946 break;
8947 };
8948 break;
8949 /* rpctls_syscall */
8950 case 576:
8951 switch (ndx) {
8952 case 0:
8953 p = "int";
8954 break;
8955 case 1:
8956 p = "userland const char *";
8957 break;
8958 default:
8959 break;
8960 };
8961 break;
8962 /* __specialfd */
8963 case 577:
8964 switch (ndx) {
8965 case 0:
8966 p = "int";
8967 break;
8968 case 1:
8969 p = "userland const void *";
8970 break;
8971 case 2:
8972 p = "size_t";
8973 break;
8974 default:
8975 break;
8976 };
8977 break;
8978 /* freebsd32_aio_writev */
8979 case 578:
8980 switch (ndx) {
8981 case 0:
8982 p = "userland struct aiocb32 *";
8983 break;
8984 default:
8985 break;
8986 };
8987 break;
8988 /* freebsd32_aio_readv */
8989 case 579:
8990 switch (ndx) {
8991 case 0:
8992 p = "userland struct aiocb32 *";
8993 break;
8994 default:
8995 break;
8996 };
8997 break;
8998 /* fspacectl */
8999 case 580:
9000 switch (ndx) {
9001 case 0:
9002 p = "int";
9003 break;
9004 case 1:
9005 p = "int";
9006 break;
9007 case 2:
9008 p = "userland const struct spacectl_range *";
9009 break;
9010 case 3:
9011 p = "int";
9012 break;
9013 case 4:
9014 p = "userland struct spacectl_range *";
9015 break;
9016 default:
9017 break;
9018 };
9019 break;
9020 /* sched_getcpu */
9021 case 581:
9022 break;
9023 /* swapoff */
9024 case 582:
9025 switch (ndx) {
9026 case 0:
9027 p = "userland const char *";
9028 break;
9029 case 1:
9030 p = "u_int";
9031 break;
9032 default:
9033 break;
9034 };
9035 break;
9036 /* kqueuex */
9037 case 583:
9038 switch (ndx) {
9039 case 0:
9040 p = "u_int";
9041 break;
9042 default:
9043 break;
9044 };
9045 break;
9046 /* membarrier */
9047 case 584:
9048 switch (ndx) {
9049 case 0:
9050 p = "int";
9051 break;
9052 case 1:
9053 p = "unsigned";
9054 break;
9055 case 2:
9056 p = "int";
9057 break;
9058 default:
9059 break;
9060 };
9061 break;
9062 /* timerfd_create */
9063 case 585:
9064 switch (ndx) {
9065 case 0:
9066 p = "int";
9067 break;
9068 case 1:
9069 p = "int";
9070 break;
9071 default:
9072 break;
9073 };
9074 break;
9075 /* freebsd32_timerfd_gettime */
9076 case 586:
9077 switch (ndx) {
9078 case 0:
9079 p = "int";
9080 break;
9081 case 1:
9082 p = "userland struct itimerspec32 *";
9083 break;
9084 default:
9085 break;
9086 };
9087 break;
9088 /* freebsd32_timerfd_settime */
9089 case 587:
9090 switch (ndx) {
9091 case 0:
9092 p = "int";
9093 break;
9094 case 1:
9095 p = "int";
9096 break;
9097 case 2:
9098 p = "userland const struct itimerspec32 *";
9099 break;
9100 case 3:
9101 p = "userland struct itimerspec32 *";
9102 break;
9103 default:
9104 break;
9105 };
9106 break;
9107 /* kcmp */
9108 case 588:
9109 switch (ndx) {
9110 case 0:
9111 p = "pid_t";
9112 break;
9113 case 1:
9114 p = "pid_t";
9115 break;
9116 case 2:
9117 p = "int";
9118 break;
9119 case 3:
9120 p = "uintptr_t";
9121 break;
9122 case 4:
9123 p = "uintptr_t";
9124 break;
9125 default:
9126 break;
9127 };
9128 break;
9129 /* getrlimitusage */
9130 case 589:
9131 switch (ndx) {
9132 case 0:
9133 p = "u_int";
9134 break;
9135 case 1:
9136 p = "int";
9137 break;
9138 case 2:
9139 p = "userland rlim_t *";
9140 break;
9141 default:
9142 break;
9143 };
9144 break;
9145 /* fchroot */
9146 case 590:
9147 switch (ndx) {
9148 case 0:
9149 p = "int";
9150 break;
9151 default:
9152 break;
9153 };
9154 break;
9155 /* freebsd32_setcred */
9156 case 591:
9157 switch (ndx) {
9158 case 0:
9159 p = "u_int";
9160 break;
9161 case 1:
9162 p = "userland const struct setcred32 *";
9163 break;
9164 case 2:
9165 p = "size_t";
9166 break;
9167 default:
9168 break;
9169 };
9170 break;
9171 default:
9172 break;
9173 };
9174 if (p != NULL)
9175 strlcpy(desc, p, descsz);
9176 }
9177 static void
systrace_return_setargdesc(int sysnum,int ndx,char * desc,size_t descsz)9178 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9179 {
9180 const char *p = NULL;
9181 switch (sysnum) {
9182 /* syscall */
9183 case 0:
9184 /* exit */
9185 case 1:
9186 if (ndx == 0 || ndx == 1)
9187 p = "void";
9188 break;
9189 /* fork */
9190 case 2:
9191 /* read */
9192 case 3:
9193 if (ndx == 0 || ndx == 1)
9194 p = "ssize_t";
9195 break;
9196 /* write */
9197 case 4:
9198 if (ndx == 0 || ndx == 1)
9199 p = "ssize_t";
9200 break;
9201 /* open */
9202 case 5:
9203 if (ndx == 0 || ndx == 1)
9204 p = "int";
9205 break;
9206 /* close */
9207 case 6:
9208 if (ndx == 0 || ndx == 1)
9209 p = "int";
9210 break;
9211 /* freebsd32_wait4 */
9212 case 7:
9213 if (ndx == 0 || ndx == 1)
9214 p = "int";
9215 break;
9216 /* link */
9217 case 9:
9218 if (ndx == 0 || ndx == 1)
9219 p = "int";
9220 break;
9221 /* unlink */
9222 case 10:
9223 if (ndx == 0 || ndx == 1)
9224 p = "int";
9225 break;
9226 /* chdir */
9227 case 12:
9228 if (ndx == 0 || ndx == 1)
9229 p = "int";
9230 break;
9231 /* fchdir */
9232 case 13:
9233 if (ndx == 0 || ndx == 1)
9234 p = "int";
9235 break;
9236 /* chmod */
9237 case 15:
9238 if (ndx == 0 || ndx == 1)
9239 p = "int";
9240 break;
9241 /* chown */
9242 case 16:
9243 if (ndx == 0 || ndx == 1)
9244 p = "int";
9245 break;
9246 /* break */
9247 case 17:
9248 if (ndx == 0 || ndx == 1)
9249 p = "void *";
9250 break;
9251 /* getpid */
9252 case 20:
9253 /* mount */
9254 case 21:
9255 if (ndx == 0 || ndx == 1)
9256 p = "int";
9257 break;
9258 /* unmount */
9259 case 22:
9260 if (ndx == 0 || ndx == 1)
9261 p = "int";
9262 break;
9263 /* setuid */
9264 case 23:
9265 if (ndx == 0 || ndx == 1)
9266 p = "int";
9267 break;
9268 /* getuid */
9269 case 24:
9270 /* geteuid */
9271 case 25:
9272 /* freebsd32_ptrace */
9273 case 26:
9274 if (ndx == 0 || ndx == 1)
9275 p = "int";
9276 break;
9277 /* freebsd32_recvmsg */
9278 case 27:
9279 if (ndx == 0 || ndx == 1)
9280 p = "ssize_t";
9281 break;
9282 /* freebsd32_sendmsg */
9283 case 28:
9284 if (ndx == 0 || ndx == 1)
9285 p = "ssize_t";
9286 break;
9287 /* recvfrom */
9288 case 29:
9289 if (ndx == 0 || ndx == 1)
9290 p = "ssize_t";
9291 break;
9292 /* accept */
9293 case 30:
9294 if (ndx == 0 || ndx == 1)
9295 p = "int";
9296 break;
9297 /* getpeername */
9298 case 31:
9299 if (ndx == 0 || ndx == 1)
9300 p = "int";
9301 break;
9302 /* getsockname */
9303 case 32:
9304 if (ndx == 0 || ndx == 1)
9305 p = "int";
9306 break;
9307 /* access */
9308 case 33:
9309 if (ndx == 0 || ndx == 1)
9310 p = "int";
9311 break;
9312 /* chflags */
9313 case 34:
9314 if (ndx == 0 || ndx == 1)
9315 p = "int";
9316 break;
9317 /* fchflags */
9318 case 35:
9319 if (ndx == 0 || ndx == 1)
9320 p = "int";
9321 break;
9322 /* sync */
9323 case 36:
9324 /* kill */
9325 case 37:
9326 if (ndx == 0 || ndx == 1)
9327 p = "int";
9328 break;
9329 /* getppid */
9330 case 39:
9331 /* dup */
9332 case 41:
9333 if (ndx == 0 || ndx == 1)
9334 p = "int";
9335 break;
9336 /* getegid */
9337 case 43:
9338 /* profil */
9339 case 44:
9340 if (ndx == 0 || ndx == 1)
9341 p = "int";
9342 break;
9343 /* ktrace */
9344 case 45:
9345 if (ndx == 0 || ndx == 1)
9346 p = "int";
9347 break;
9348 /* getgid */
9349 case 47:
9350 /* getlogin */
9351 case 49:
9352 if (ndx == 0 || ndx == 1)
9353 p = "int";
9354 break;
9355 /* setlogin */
9356 case 50:
9357 if (ndx == 0 || ndx == 1)
9358 p = "int";
9359 break;
9360 /* acct */
9361 case 51:
9362 if (ndx == 0 || ndx == 1)
9363 p = "int";
9364 break;
9365 /* freebsd32_sigaltstack */
9366 case 53:
9367 if (ndx == 0 || ndx == 1)
9368 p = "int";
9369 break;
9370 /* freebsd32_ioctl */
9371 case 54:
9372 if (ndx == 0 || ndx == 1)
9373 p = "int";
9374 break;
9375 /* reboot */
9376 case 55:
9377 if (ndx == 0 || ndx == 1)
9378 p = "int";
9379 break;
9380 /* revoke */
9381 case 56:
9382 if (ndx == 0 || ndx == 1)
9383 p = "int";
9384 break;
9385 /* symlink */
9386 case 57:
9387 if (ndx == 0 || ndx == 1)
9388 p = "int";
9389 break;
9390 /* readlink */
9391 case 58:
9392 if (ndx == 0 || ndx == 1)
9393 p = "ssize_t";
9394 break;
9395 /* freebsd32_execve */
9396 case 59:
9397 if (ndx == 0 || ndx == 1)
9398 p = "int";
9399 break;
9400 /* umask */
9401 case 60:
9402 if (ndx == 0 || ndx == 1)
9403 p = "mode_t";
9404 break;
9405 /* chroot */
9406 case 61:
9407 if (ndx == 0 || ndx == 1)
9408 p = "int";
9409 break;
9410 /* msync */
9411 case 65:
9412 if (ndx == 0 || ndx == 1)
9413 p = "int";
9414 break;
9415 /* vfork */
9416 case 66:
9417 /* munmap */
9418 case 73:
9419 if (ndx == 0 || ndx == 1)
9420 p = "int";
9421 break;
9422 /* freebsd32_mprotect */
9423 case 74:
9424 if (ndx == 0 || ndx == 1)
9425 p = "int";
9426 break;
9427 /* madvise */
9428 case 75:
9429 if (ndx == 0 || ndx == 1)
9430 p = "int";
9431 break;
9432 /* mincore */
9433 case 78:
9434 if (ndx == 0 || ndx == 1)
9435 p = "int";
9436 break;
9437 /* getgroups */
9438 case 79:
9439 if (ndx == 0 || ndx == 1)
9440 p = "int";
9441 break;
9442 /* setgroups */
9443 case 80:
9444 if (ndx == 0 || ndx == 1)
9445 p = "int";
9446 break;
9447 /* getpgrp */
9448 case 81:
9449 /* setpgid */
9450 case 82:
9451 if (ndx == 0 || ndx == 1)
9452 p = "int";
9453 break;
9454 /* freebsd32_setitimer */
9455 case 83:
9456 if (ndx == 0 || ndx == 1)
9457 p = "int";
9458 break;
9459 /* swapon */
9460 case 85:
9461 if (ndx == 0 || ndx == 1)
9462 p = "int";
9463 break;
9464 /* freebsd32_getitimer */
9465 case 86:
9466 if (ndx == 0 || ndx == 1)
9467 p = "int";
9468 break;
9469 /* getdtablesize */
9470 case 89:
9471 /* dup2 */
9472 case 90:
9473 if (ndx == 0 || ndx == 1)
9474 p = "int";
9475 break;
9476 /* freebsd32_fcntl */
9477 case 92:
9478 if (ndx == 0 || ndx == 1)
9479 p = "int";
9480 break;
9481 /* freebsd32_select */
9482 case 93:
9483 if (ndx == 0 || ndx == 1)
9484 p = "int";
9485 break;
9486 /* fsync */
9487 case 95:
9488 if (ndx == 0 || ndx == 1)
9489 p = "int";
9490 break;
9491 /* setpriority */
9492 case 96:
9493 if (ndx == 0 || ndx == 1)
9494 p = "int";
9495 break;
9496 /* socket */
9497 case 97:
9498 if (ndx == 0 || ndx == 1)
9499 p = "int";
9500 break;
9501 /* connect */
9502 case 98:
9503 if (ndx == 0 || ndx == 1)
9504 p = "int";
9505 break;
9506 /* getpriority */
9507 case 100:
9508 if (ndx == 0 || ndx == 1)
9509 p = "int";
9510 break;
9511 /* bind */
9512 case 104:
9513 if (ndx == 0 || ndx == 1)
9514 p = "int";
9515 break;
9516 /* setsockopt */
9517 case 105:
9518 if (ndx == 0 || ndx == 1)
9519 p = "int";
9520 break;
9521 /* listen */
9522 case 106:
9523 if (ndx == 0 || ndx == 1)
9524 p = "int";
9525 break;
9526 /* freebsd32_gettimeofday */
9527 case 116:
9528 if (ndx == 0 || ndx == 1)
9529 p = "int";
9530 break;
9531 /* freebsd32_getrusage */
9532 case 117:
9533 if (ndx == 0 || ndx == 1)
9534 p = "int";
9535 break;
9536 /* getsockopt */
9537 case 118:
9538 if (ndx == 0 || ndx == 1)
9539 p = "int";
9540 break;
9541 /* freebsd32_readv */
9542 case 120:
9543 if (ndx == 0 || ndx == 1)
9544 p = "ssize_t";
9545 break;
9546 /* freebsd32_writev */
9547 case 121:
9548 if (ndx == 0 || ndx == 1)
9549 p = "ssize_t";
9550 break;
9551 /* freebsd32_settimeofday */
9552 case 122:
9553 if (ndx == 0 || ndx == 1)
9554 p = "int";
9555 break;
9556 /* fchown */
9557 case 123:
9558 if (ndx == 0 || ndx == 1)
9559 p = "int";
9560 break;
9561 /* fchmod */
9562 case 124:
9563 if (ndx == 0 || ndx == 1)
9564 p = "int";
9565 break;
9566 /* setreuid */
9567 case 126:
9568 if (ndx == 0 || ndx == 1)
9569 p = "int";
9570 break;
9571 /* setregid */
9572 case 127:
9573 if (ndx == 0 || ndx == 1)
9574 p = "int";
9575 break;
9576 /* rename */
9577 case 128:
9578 if (ndx == 0 || ndx == 1)
9579 p = "int";
9580 break;
9581 /* flock */
9582 case 131:
9583 if (ndx == 0 || ndx == 1)
9584 p = "int";
9585 break;
9586 /* mkfifo */
9587 case 132:
9588 if (ndx == 0 || ndx == 1)
9589 p = "int";
9590 break;
9591 /* sendto */
9592 case 133:
9593 if (ndx == 0 || ndx == 1)
9594 p = "ssize_t";
9595 break;
9596 /* shutdown */
9597 case 134:
9598 if (ndx == 0 || ndx == 1)
9599 p = "int";
9600 break;
9601 /* socketpair */
9602 case 135:
9603 if (ndx == 0 || ndx == 1)
9604 p = "int";
9605 break;
9606 /* mkdir */
9607 case 136:
9608 if (ndx == 0 || ndx == 1)
9609 p = "int";
9610 break;
9611 /* rmdir */
9612 case 137:
9613 if (ndx == 0 || ndx == 1)
9614 p = "int";
9615 break;
9616 /* freebsd32_utimes */
9617 case 138:
9618 if (ndx == 0 || ndx == 1)
9619 p = "int";
9620 break;
9621 /* freebsd32_adjtime */
9622 case 140:
9623 if (ndx == 0 || ndx == 1)
9624 p = "int";
9625 break;
9626 /* setsid */
9627 case 147:
9628 /* quotactl */
9629 case 148:
9630 if (ndx == 0 || ndx == 1)
9631 p = "int";
9632 break;
9633 /* getfh */
9634 case 161:
9635 if (ndx == 0 || ndx == 1)
9636 p = "int";
9637 break;
9638 /* freebsd32_sysarch */
9639 case 165:
9640 if (ndx == 0 || ndx == 1)
9641 p = "int";
9642 break;
9643 /* rtprio */
9644 case 166:
9645 if (ndx == 0 || ndx == 1)
9646 p = "int";
9647 break;
9648 /* freebsd32_semsys */
9649 case 169:
9650 if (ndx == 0 || ndx == 1)
9651 p = "int";
9652 break;
9653 /* freebsd32_msgsys */
9654 case 170:
9655 if (ndx == 0 || ndx == 1)
9656 p = "int";
9657 break;
9658 /* freebsd32_shmsys */
9659 case 171:
9660 if (ndx == 0 || ndx == 1)
9661 p = "int";
9662 break;
9663 /* setfib */
9664 case 175:
9665 if (ndx == 0 || ndx == 1)
9666 p = "int";
9667 break;
9668 /* freebsd32_ntp_adjtime */
9669 case 176:
9670 if (ndx == 0 || ndx == 1)
9671 p = "int";
9672 break;
9673 /* setgid */
9674 case 181:
9675 if (ndx == 0 || ndx == 1)
9676 p = "int";
9677 break;
9678 /* setegid */
9679 case 182:
9680 if (ndx == 0 || ndx == 1)
9681 p = "int";
9682 break;
9683 /* seteuid */
9684 case 183:
9685 if (ndx == 0 || ndx == 1)
9686 p = "int";
9687 break;
9688 /* pathconf */
9689 case 191:
9690 if (ndx == 0 || ndx == 1)
9691 p = "int";
9692 break;
9693 /* fpathconf */
9694 case 192:
9695 if (ndx == 0 || ndx == 1)
9696 p = "int";
9697 break;
9698 /* getrlimit */
9699 case 194:
9700 if (ndx == 0 || ndx == 1)
9701 p = "int";
9702 break;
9703 /* setrlimit */
9704 case 195:
9705 if (ndx == 0 || ndx == 1)
9706 p = "int";
9707 break;
9708 /* __syscall */
9709 case 198:
9710 /* freebsd32___sysctl */
9711 case 202:
9712 if (ndx == 0 || ndx == 1)
9713 p = "int";
9714 break;
9715 /* mlock */
9716 case 203:
9717 if (ndx == 0 || ndx == 1)
9718 p = "int";
9719 break;
9720 /* munlock */
9721 case 204:
9722 if (ndx == 0 || ndx == 1)
9723 p = "int";
9724 break;
9725 /* undelete */
9726 case 205:
9727 if (ndx == 0 || ndx == 1)
9728 p = "int";
9729 break;
9730 /* freebsd32_futimes */
9731 case 206:
9732 if (ndx == 0 || ndx == 1)
9733 p = "int";
9734 break;
9735 /* getpgid */
9736 case 207:
9737 if (ndx == 0 || ndx == 1)
9738 p = "int";
9739 break;
9740 /* poll */
9741 case 209:
9742 if (ndx == 0 || ndx == 1)
9743 p = "int";
9744 break;
9745 /* lkmnosys */
9746 case 210:
9747 /* lkmnosys */
9748 case 211:
9749 /* lkmnosys */
9750 case 212:
9751 /* lkmnosys */
9752 case 213:
9753 /* lkmnosys */
9754 case 214:
9755 /* lkmnosys */
9756 case 215:
9757 /* lkmnosys */
9758 case 216:
9759 /* lkmnosys */
9760 case 217:
9761 /* lkmnosys */
9762 case 218:
9763 /* lkmnosys */
9764 case 219:
9765 /* semget */
9766 case 221:
9767 if (ndx == 0 || ndx == 1)
9768 p = "int";
9769 break;
9770 /* semop */
9771 case 222:
9772 if (ndx == 0 || ndx == 1)
9773 p = "int";
9774 break;
9775 /* msgget */
9776 case 225:
9777 if (ndx == 0 || ndx == 1)
9778 p = "int";
9779 break;
9780 /* freebsd32_msgsnd */
9781 case 226:
9782 if (ndx == 0 || ndx == 1)
9783 p = "int";
9784 break;
9785 /* freebsd32_msgrcv */
9786 case 227:
9787 if (ndx == 0 || ndx == 1)
9788 p = "ssize_t";
9789 break;
9790 /* shmat */
9791 case 228:
9792 if (ndx == 0 || ndx == 1)
9793 p = "void *";
9794 break;
9795 /* shmdt */
9796 case 230:
9797 if (ndx == 0 || ndx == 1)
9798 p = "int";
9799 break;
9800 /* shmget */
9801 case 231:
9802 if (ndx == 0 || ndx == 1)
9803 p = "int";
9804 break;
9805 /* freebsd32_clock_gettime */
9806 case 232:
9807 if (ndx == 0 || ndx == 1)
9808 p = "int";
9809 break;
9810 /* freebsd32_clock_settime */
9811 case 233:
9812 if (ndx == 0 || ndx == 1)
9813 p = "int";
9814 break;
9815 /* freebsd32_clock_getres */
9816 case 234:
9817 if (ndx == 0 || ndx == 1)
9818 p = "int";
9819 break;
9820 /* freebsd32_ktimer_create */
9821 case 235:
9822 if (ndx == 0 || ndx == 1)
9823 p = "int";
9824 break;
9825 /* ktimer_delete */
9826 case 236:
9827 if (ndx == 0 || ndx == 1)
9828 p = "int";
9829 break;
9830 /* freebsd32_ktimer_settime */
9831 case 237:
9832 if (ndx == 0 || ndx == 1)
9833 p = "int";
9834 break;
9835 /* freebsd32_ktimer_gettime */
9836 case 238:
9837 if (ndx == 0 || ndx == 1)
9838 p = "int";
9839 break;
9840 /* ktimer_getoverrun */
9841 case 239:
9842 if (ndx == 0 || ndx == 1)
9843 p = "int";
9844 break;
9845 /* freebsd32_nanosleep */
9846 case 240:
9847 if (ndx == 0 || ndx == 1)
9848 p = "int";
9849 break;
9850 /* ffclock_getcounter */
9851 case 241:
9852 if (ndx == 0 || ndx == 1)
9853 p = "int";
9854 break;
9855 /* freebsd32_ffclock_setestimate */
9856 case 242:
9857 if (ndx == 0 || ndx == 1)
9858 p = "int";
9859 break;
9860 /* freebsd32_ffclock_getestimate */
9861 case 243:
9862 if (ndx == 0 || ndx == 1)
9863 p = "int";
9864 break;
9865 /* freebsd32_clock_nanosleep */
9866 case 244:
9867 if (ndx == 0 || ndx == 1)
9868 p = "int";
9869 break;
9870 /* freebsd32_clock_getcpuclockid2 */
9871 case 247:
9872 if (ndx == 0 || ndx == 1)
9873 p = "int";
9874 break;
9875 /* minherit */
9876 case 250:
9877 if (ndx == 0 || ndx == 1)
9878 p = "int";
9879 break;
9880 /* rfork */
9881 case 251:
9882 if (ndx == 0 || ndx == 1)
9883 p = "int";
9884 break;
9885 /* issetugid */
9886 case 253:
9887 /* lchown */
9888 case 254:
9889 if (ndx == 0 || ndx == 1)
9890 p = "int";
9891 break;
9892 /* freebsd32_aio_read */
9893 case 255:
9894 if (ndx == 0 || ndx == 1)
9895 p = "int";
9896 break;
9897 /* freebsd32_aio_write */
9898 case 256:
9899 if (ndx == 0 || ndx == 1)
9900 p = "int";
9901 break;
9902 /* freebsd32_lio_listio */
9903 case 257:
9904 if (ndx == 0 || ndx == 1)
9905 p = "int";
9906 break;
9907 /* lchmod */
9908 case 274:
9909 if (ndx == 0 || ndx == 1)
9910 p = "int";
9911 break;
9912 /* freebsd32_lutimes */
9913 case 276:
9914 if (ndx == 0 || ndx == 1)
9915 p = "int";
9916 break;
9917 /* freebsd32_preadv */
9918 case 289:
9919 if (ndx == 0 || ndx == 1)
9920 p = "ssize_t";
9921 break;
9922 /* freebsd32_pwritev */
9923 case 290:
9924 if (ndx == 0 || ndx == 1)
9925 p = "ssize_t";
9926 break;
9927 /* fhopen */
9928 case 298:
9929 if (ndx == 0 || ndx == 1)
9930 p = "int";
9931 break;
9932 /* modnext */
9933 case 300:
9934 if (ndx == 0 || ndx == 1)
9935 p = "int";
9936 break;
9937 /* freebsd32_modstat */
9938 case 301:
9939 if (ndx == 0 || ndx == 1)
9940 p = "int";
9941 break;
9942 /* modfnext */
9943 case 302:
9944 if (ndx == 0 || ndx == 1)
9945 p = "int";
9946 break;
9947 /* modfind */
9948 case 303:
9949 if (ndx == 0 || ndx == 1)
9950 p = "int";
9951 break;
9952 /* kldload */
9953 case 304:
9954 if (ndx == 0 || ndx == 1)
9955 p = "int";
9956 break;
9957 /* kldunload */
9958 case 305:
9959 if (ndx == 0 || ndx == 1)
9960 p = "int";
9961 break;
9962 /* kldfind */
9963 case 306:
9964 if (ndx == 0 || ndx == 1)
9965 p = "int";
9966 break;
9967 /* kldnext */
9968 case 307:
9969 if (ndx == 0 || ndx == 1)
9970 p = "int";
9971 break;
9972 /* freebsd32_kldstat */
9973 case 308:
9974 if (ndx == 0 || ndx == 1)
9975 p = "int";
9976 break;
9977 /* kldfirstmod */
9978 case 309:
9979 if (ndx == 0 || ndx == 1)
9980 p = "int";
9981 break;
9982 /* getsid */
9983 case 310:
9984 if (ndx == 0 || ndx == 1)
9985 p = "int";
9986 break;
9987 /* setresuid */
9988 case 311:
9989 if (ndx == 0 || ndx == 1)
9990 p = "int";
9991 break;
9992 /* setresgid */
9993 case 312:
9994 if (ndx == 0 || ndx == 1)
9995 p = "int";
9996 break;
9997 /* freebsd32_aio_return */
9998 case 314:
9999 if (ndx == 0 || ndx == 1)
10000 p = "ssize_t";
10001 break;
10002 /* freebsd32_aio_suspend */
10003 case 315:
10004 if (ndx == 0 || ndx == 1)
10005 p = "int";
10006 break;
10007 /* aio_cancel */
10008 case 316:
10009 if (ndx == 0 || ndx == 1)
10010 p = "int";
10011 break;
10012 /* freebsd32_aio_error */
10013 case 317:
10014 if (ndx == 0 || ndx == 1)
10015 p = "int";
10016 break;
10017 /* yield */
10018 case 321:
10019 /* mlockall */
10020 case 324:
10021 if (ndx == 0 || ndx == 1)
10022 p = "int";
10023 break;
10024 /* munlockall */
10025 case 325:
10026 /* __getcwd */
10027 case 326:
10028 if (ndx == 0 || ndx == 1)
10029 p = "int";
10030 break;
10031 /* sched_setparam */
10032 case 327:
10033 if (ndx == 0 || ndx == 1)
10034 p = "int";
10035 break;
10036 /* sched_getparam */
10037 case 328:
10038 if (ndx == 0 || ndx == 1)
10039 p = "int";
10040 break;
10041 /* sched_setscheduler */
10042 case 329:
10043 if (ndx == 0 || ndx == 1)
10044 p = "int";
10045 break;
10046 /* sched_getscheduler */
10047 case 330:
10048 if (ndx == 0 || ndx == 1)
10049 p = "int";
10050 break;
10051 /* sched_yield */
10052 case 331:
10053 /* sched_get_priority_max */
10054 case 332:
10055 if (ndx == 0 || ndx == 1)
10056 p = "int";
10057 break;
10058 /* sched_get_priority_min */
10059 case 333:
10060 if (ndx == 0 || ndx == 1)
10061 p = "int";
10062 break;
10063 /* freebsd32_sched_rr_get_interval */
10064 case 334:
10065 if (ndx == 0 || ndx == 1)
10066 p = "int";
10067 break;
10068 /* utrace */
10069 case 335:
10070 if (ndx == 0 || ndx == 1)
10071 p = "int";
10072 break;
10073 /* freebsd32_jail */
10074 case 338:
10075 if (ndx == 0 || ndx == 1)
10076 p = "int";
10077 break;
10078 /* sigprocmask */
10079 case 340:
10080 if (ndx == 0 || ndx == 1)
10081 p = "int";
10082 break;
10083 /* sigsuspend */
10084 case 341:
10085 if (ndx == 0 || ndx == 1)
10086 p = "int";
10087 break;
10088 /* sigpending */
10089 case 343:
10090 if (ndx == 0 || ndx == 1)
10091 p = "int";
10092 break;
10093 /* freebsd32_sigtimedwait */
10094 case 345:
10095 if (ndx == 0 || ndx == 1)
10096 p = "int";
10097 break;
10098 /* freebsd32_sigwaitinfo */
10099 case 346:
10100 if (ndx == 0 || ndx == 1)
10101 p = "int";
10102 break;
10103 /* __acl_get_file */
10104 case 347:
10105 if (ndx == 0 || ndx == 1)
10106 p = "int";
10107 break;
10108 /* __acl_set_file */
10109 case 348:
10110 if (ndx == 0 || ndx == 1)
10111 p = "int";
10112 break;
10113 /* __acl_get_fd */
10114 case 349:
10115 if (ndx == 0 || ndx == 1)
10116 p = "int";
10117 break;
10118 /* __acl_set_fd */
10119 case 350:
10120 if (ndx == 0 || ndx == 1)
10121 p = "int";
10122 break;
10123 /* __acl_delete_file */
10124 case 351:
10125 if (ndx == 0 || ndx == 1)
10126 p = "int";
10127 break;
10128 /* __acl_delete_fd */
10129 case 352:
10130 if (ndx == 0 || ndx == 1)
10131 p = "int";
10132 break;
10133 /* __acl_aclcheck_file */
10134 case 353:
10135 if (ndx == 0 || ndx == 1)
10136 p = "int";
10137 break;
10138 /* __acl_aclcheck_fd */
10139 case 354:
10140 if (ndx == 0 || ndx == 1)
10141 p = "int";
10142 break;
10143 /* extattrctl */
10144 case 355:
10145 if (ndx == 0 || ndx == 1)
10146 p = "int";
10147 break;
10148 /* extattr_set_file */
10149 case 356:
10150 if (ndx == 0 || ndx == 1)
10151 p = "ssize_t";
10152 break;
10153 /* extattr_get_file */
10154 case 357:
10155 if (ndx == 0 || ndx == 1)
10156 p = "ssize_t";
10157 break;
10158 /* extattr_delete_file */
10159 case 358:
10160 if (ndx == 0 || ndx == 1)
10161 p = "int";
10162 break;
10163 /* freebsd32_aio_waitcomplete */
10164 case 359:
10165 if (ndx == 0 || ndx == 1)
10166 p = "ssize_t";
10167 break;
10168 /* getresuid */
10169 case 360:
10170 if (ndx == 0 || ndx == 1)
10171 p = "int";
10172 break;
10173 /* getresgid */
10174 case 361:
10175 if (ndx == 0 || ndx == 1)
10176 p = "int";
10177 break;
10178 /* kqueue */
10179 case 362:
10180 /* extattr_set_fd */
10181 case 371:
10182 if (ndx == 0 || ndx == 1)
10183 p = "ssize_t";
10184 break;
10185 /* extattr_get_fd */
10186 case 372:
10187 if (ndx == 0 || ndx == 1)
10188 p = "ssize_t";
10189 break;
10190 /* extattr_delete_fd */
10191 case 373:
10192 if (ndx == 0 || ndx == 1)
10193 p = "int";
10194 break;
10195 /* __setugid */
10196 case 374:
10197 if (ndx == 0 || ndx == 1)
10198 p = "int";
10199 break;
10200 /* eaccess */
10201 case 376:
10202 if (ndx == 0 || ndx == 1)
10203 p = "int";
10204 break;
10205 /* freebsd32_nmount */
10206 case 378:
10207 if (ndx == 0 || ndx == 1)
10208 p = "int";
10209 break;
10210 /* kenv */
10211 case 390:
10212 if (ndx == 0 || ndx == 1)
10213 p = "int";
10214 break;
10215 /* lchflags */
10216 case 391:
10217 if (ndx == 0 || ndx == 1)
10218 p = "int";
10219 break;
10220 /* uuidgen */
10221 case 392:
10222 if (ndx == 0 || ndx == 1)
10223 p = "int";
10224 break;
10225 /* freebsd32_sendfile */
10226 case 393:
10227 if (ndx == 0 || ndx == 1)
10228 p = "int";
10229 break;
10230 /* mac_syscall */
10231 case 394:
10232 if (ndx == 0 || ndx == 1)
10233 p = "int";
10234 break;
10235 /* ksem_close */
10236 case 400:
10237 if (ndx == 0 || ndx == 1)
10238 p = "int";
10239 break;
10240 /* ksem_post */
10241 case 401:
10242 if (ndx == 0 || ndx == 1)
10243 p = "int";
10244 break;
10245 /* ksem_wait */
10246 case 402:
10247 if (ndx == 0 || ndx == 1)
10248 p = "int";
10249 break;
10250 /* ksem_trywait */
10251 case 403:
10252 if (ndx == 0 || ndx == 1)
10253 p = "int";
10254 break;
10255 /* freebsd32_ksem_init */
10256 case 404:
10257 if (ndx == 0 || ndx == 1)
10258 p = "int";
10259 break;
10260 /* freebsd32_ksem_open */
10261 case 405:
10262 if (ndx == 0 || ndx == 1)
10263 p = "int";
10264 break;
10265 /* ksem_unlink */
10266 case 406:
10267 if (ndx == 0 || ndx == 1)
10268 p = "int";
10269 break;
10270 /* ksem_getvalue */
10271 case 407:
10272 if (ndx == 0 || ndx == 1)
10273 p = "int";
10274 break;
10275 /* ksem_destroy */
10276 case 408:
10277 if (ndx == 0 || ndx == 1)
10278 p = "int";
10279 break;
10280 /* extattr_set_link */
10281 case 412:
10282 if (ndx == 0 || ndx == 1)
10283 p = "ssize_t";
10284 break;
10285 /* extattr_get_link */
10286 case 413:
10287 if (ndx == 0 || ndx == 1)
10288 p = "ssize_t";
10289 break;
10290 /* extattr_delete_link */
10291 case 414:
10292 if (ndx == 0 || ndx == 1)
10293 p = "int";
10294 break;
10295 /* freebsd32_sigaction */
10296 case 416:
10297 if (ndx == 0 || ndx == 1)
10298 p = "int";
10299 break;
10300 /* freebsd32_sigreturn */
10301 case 417:
10302 if (ndx == 0 || ndx == 1)
10303 p = "int";
10304 break;
10305 /* freebsd32_getcontext */
10306 case 421:
10307 if (ndx == 0 || ndx == 1)
10308 p = "int";
10309 break;
10310 /* freebsd32_setcontext */
10311 case 422:
10312 if (ndx == 0 || ndx == 1)
10313 p = "int";
10314 break;
10315 /* freebsd32_swapcontext */
10316 case 423:
10317 if (ndx == 0 || ndx == 1)
10318 p = "int";
10319 break;
10320 /* __acl_get_link */
10321 case 425:
10322 if (ndx == 0 || ndx == 1)
10323 p = "int";
10324 break;
10325 /* __acl_set_link */
10326 case 426:
10327 if (ndx == 0 || ndx == 1)
10328 p = "int";
10329 break;
10330 /* __acl_delete_link */
10331 case 427:
10332 if (ndx == 0 || ndx == 1)
10333 p = "int";
10334 break;
10335 /* __acl_aclcheck_link */
10336 case 428:
10337 if (ndx == 0 || ndx == 1)
10338 p = "int";
10339 break;
10340 /* sigwait */
10341 case 429:
10342 if (ndx == 0 || ndx == 1)
10343 p = "int";
10344 break;
10345 /* thr_exit */
10346 case 431:
10347 if (ndx == 0 || ndx == 1)
10348 p = "void";
10349 break;
10350 /* thr_self */
10351 case 432:
10352 if (ndx == 0 || ndx == 1)
10353 p = "int";
10354 break;
10355 /* thr_kill */
10356 case 433:
10357 if (ndx == 0 || ndx == 1)
10358 p = "int";
10359 break;
10360 /* jail_attach */
10361 case 436:
10362 if (ndx == 0 || ndx == 1)
10363 p = "int";
10364 break;
10365 /* extattr_list_fd */
10366 case 437:
10367 if (ndx == 0 || ndx == 1)
10368 p = "ssize_t";
10369 break;
10370 /* extattr_list_file */
10371 case 438:
10372 if (ndx == 0 || ndx == 1)
10373 p = "ssize_t";
10374 break;
10375 /* extattr_list_link */
10376 case 439:
10377 if (ndx == 0 || ndx == 1)
10378 p = "ssize_t";
10379 break;
10380 /* freebsd32_ksem_timedwait */
10381 case 441:
10382 if (ndx == 0 || ndx == 1)
10383 p = "int";
10384 break;
10385 /* freebsd32_thr_suspend */
10386 case 442:
10387 if (ndx == 0 || ndx == 1)
10388 p = "int";
10389 break;
10390 /* thr_wake */
10391 case 443:
10392 if (ndx == 0 || ndx == 1)
10393 p = "int";
10394 break;
10395 /* kldunloadf */
10396 case 444:
10397 if (ndx == 0 || ndx == 1)
10398 p = "int";
10399 break;
10400 /* audit */
10401 case 445:
10402 if (ndx == 0 || ndx == 1)
10403 p = "int";
10404 break;
10405 /* auditon */
10406 case 446:
10407 if (ndx == 0 || ndx == 1)
10408 p = "int";
10409 break;
10410 /* getauid */
10411 case 447:
10412 if (ndx == 0 || ndx == 1)
10413 p = "int";
10414 break;
10415 /* setauid */
10416 case 448:
10417 if (ndx == 0 || ndx == 1)
10418 p = "int";
10419 break;
10420 /* getaudit */
10421 case 449:
10422 if (ndx == 0 || ndx == 1)
10423 p = "int";
10424 break;
10425 /* setaudit */
10426 case 450:
10427 if (ndx == 0 || ndx == 1)
10428 p = "int";
10429 break;
10430 /* getaudit_addr */
10431 case 451:
10432 if (ndx == 0 || ndx == 1)
10433 p = "int";
10434 break;
10435 /* setaudit_addr */
10436 case 452:
10437 if (ndx == 0 || ndx == 1)
10438 p = "int";
10439 break;
10440 /* auditctl */
10441 case 453:
10442 if (ndx == 0 || ndx == 1)
10443 p = "int";
10444 break;
10445 /* freebsd32__umtx_op */
10446 case 454:
10447 if (ndx == 0 || ndx == 1)
10448 p = "int";
10449 break;
10450 /* freebsd32_thr_new */
10451 case 455:
10452 if (ndx == 0 || ndx == 1)
10453 p = "int";
10454 break;
10455 /* freebsd32_sigqueue */
10456 case 456:
10457 if (ndx == 0 || ndx == 1)
10458 p = "int";
10459 break;
10460 /* freebsd32_kmq_open */
10461 case 457:
10462 if (ndx == 0 || ndx == 1)
10463 p = "int";
10464 break;
10465 /* freebsd32_kmq_setattr */
10466 case 458:
10467 if (ndx == 0 || ndx == 1)
10468 p = "int";
10469 break;
10470 /* freebsd32_kmq_timedreceive */
10471 case 459:
10472 if (ndx == 0 || ndx == 1)
10473 p = "int";
10474 break;
10475 /* freebsd32_kmq_timedsend */
10476 case 460:
10477 if (ndx == 0 || ndx == 1)
10478 p = "int";
10479 break;
10480 /* freebsd32_kmq_notify */
10481 case 461:
10482 if (ndx == 0 || ndx == 1)
10483 p = "int";
10484 break;
10485 /* kmq_unlink */
10486 case 462:
10487 if (ndx == 0 || ndx == 1)
10488 p = "int";
10489 break;
10490 /* freebsd32_abort2 */
10491 case 463:
10492 if (ndx == 0 || ndx == 1)
10493 p = "void";
10494 break;
10495 /* thr_set_name */
10496 case 464:
10497 if (ndx == 0 || ndx == 1)
10498 p = "int";
10499 break;
10500 /* freebsd32_aio_fsync */
10501 case 465:
10502 if (ndx == 0 || ndx == 1)
10503 p = "int";
10504 break;
10505 /* rtprio_thread */
10506 case 466:
10507 if (ndx == 0 || ndx == 1)
10508 p = "int";
10509 break;
10510 /* sctp_peeloff */
10511 case 471:
10512 if (ndx == 0 || ndx == 1)
10513 p = "int";
10514 break;
10515 /* sctp_generic_sendmsg */
10516 case 472:
10517 if (ndx == 0 || ndx == 1)
10518 p = "int";
10519 break;
10520 /* sctp_generic_sendmsg_iov */
10521 case 473:
10522 if (ndx == 0 || ndx == 1)
10523 p = "int";
10524 break;
10525 /* sctp_generic_recvmsg */
10526 case 474:
10527 if (ndx == 0 || ndx == 1)
10528 p = "int";
10529 break;
10530 /* freebsd32_pread */
10531 case 475:
10532 if (ndx == 0 || ndx == 1)
10533 p = "ssize_t";
10534 break;
10535 /* freebsd32_pwrite */
10536 case 476:
10537 if (ndx == 0 || ndx == 1)
10538 p = "ssize_t";
10539 break;
10540 /* freebsd32_mmap */
10541 case 477:
10542 if (ndx == 0 || ndx == 1)
10543 p = "void *";
10544 break;
10545 /* freebsd32_lseek */
10546 case 478:
10547 if (ndx == 0 || ndx == 1)
10548 p = "off_t";
10549 break;
10550 /* freebsd32_truncate */
10551 case 479:
10552 if (ndx == 0 || ndx == 1)
10553 p = "int";
10554 break;
10555 /* freebsd32_ftruncate */
10556 case 480:
10557 if (ndx == 0 || ndx == 1)
10558 p = "int";
10559 break;
10560 /* thr_kill2 */
10561 case 481:
10562 if (ndx == 0 || ndx == 1)
10563 p = "int";
10564 break;
10565 /* shm_unlink */
10566 case 483:
10567 if (ndx == 0 || ndx == 1)
10568 p = "int";
10569 break;
10570 /* cpuset */
10571 case 484:
10572 if (ndx == 0 || ndx == 1)
10573 p = "int";
10574 break;
10575 /* freebsd32_cpuset_setid */
10576 case 485:
10577 if (ndx == 0 || ndx == 1)
10578 p = "int";
10579 break;
10580 /* freebsd32_cpuset_getid */
10581 case 486:
10582 if (ndx == 0 || ndx == 1)
10583 p = "int";
10584 break;
10585 /* freebsd32_cpuset_getaffinity */
10586 case 487:
10587 if (ndx == 0 || ndx == 1)
10588 p = "int";
10589 break;
10590 /* freebsd32_cpuset_setaffinity */
10591 case 488:
10592 if (ndx == 0 || ndx == 1)
10593 p = "int";
10594 break;
10595 /* faccessat */
10596 case 489:
10597 if (ndx == 0 || ndx == 1)
10598 p = "int";
10599 break;
10600 /* fchmodat */
10601 case 490:
10602 if (ndx == 0 || ndx == 1)
10603 p = "int";
10604 break;
10605 /* fchownat */
10606 case 491:
10607 if (ndx == 0 || ndx == 1)
10608 p = "int";
10609 break;
10610 /* freebsd32_fexecve */
10611 case 492:
10612 if (ndx == 0 || ndx == 1)
10613 p = "int";
10614 break;
10615 /* freebsd32_futimesat */
10616 case 494:
10617 if (ndx == 0 || ndx == 1)
10618 p = "int";
10619 break;
10620 /* linkat */
10621 case 495:
10622 if (ndx == 0 || ndx == 1)
10623 p = "int";
10624 break;
10625 /* mkdirat */
10626 case 496:
10627 if (ndx == 0 || ndx == 1)
10628 p = "int";
10629 break;
10630 /* mkfifoat */
10631 case 497:
10632 if (ndx == 0 || ndx == 1)
10633 p = "int";
10634 break;
10635 /* openat */
10636 case 499:
10637 if (ndx == 0 || ndx == 1)
10638 p = "int";
10639 break;
10640 /* readlinkat */
10641 case 500:
10642 if (ndx == 0 || ndx == 1)
10643 p = "ssize_t";
10644 break;
10645 /* renameat */
10646 case 501:
10647 if (ndx == 0 || ndx == 1)
10648 p = "int";
10649 break;
10650 /* symlinkat */
10651 case 502:
10652 if (ndx == 0 || ndx == 1)
10653 p = "int";
10654 break;
10655 /* unlinkat */
10656 case 503:
10657 if (ndx == 0 || ndx == 1)
10658 p = "int";
10659 break;
10660 /* posix_openpt */
10661 case 504:
10662 if (ndx == 0 || ndx == 1)
10663 p = "int";
10664 break;
10665 /* gssd_syscall */
10666 case 505:
10667 if (ndx == 0 || ndx == 1)
10668 p = "int";
10669 break;
10670 /* freebsd32_jail_get */
10671 case 506:
10672 if (ndx == 0 || ndx == 1)
10673 p = "int";
10674 break;
10675 /* freebsd32_jail_set */
10676 case 507:
10677 if (ndx == 0 || ndx == 1)
10678 p = "int";
10679 break;
10680 /* jail_remove */
10681 case 508:
10682 if (ndx == 0 || ndx == 1)
10683 p = "int";
10684 break;
10685 /* freebsd32___semctl */
10686 case 510:
10687 if (ndx == 0 || ndx == 1)
10688 p = "int";
10689 break;
10690 /* freebsd32_msgctl */
10691 case 511:
10692 if (ndx == 0 || ndx == 1)
10693 p = "int";
10694 break;
10695 /* freebsd32_shmctl */
10696 case 512:
10697 if (ndx == 0 || ndx == 1)
10698 p = "int";
10699 break;
10700 /* lpathconf */
10701 case 513:
10702 if (ndx == 0 || ndx == 1)
10703 p = "int";
10704 break;
10705 /* __cap_rights_get */
10706 case 515:
10707 if (ndx == 0 || ndx == 1)
10708 p = "int";
10709 break;
10710 /* cap_enter */
10711 case 516:
10712 /* cap_getmode */
10713 case 517:
10714 if (ndx == 0 || ndx == 1)
10715 p = "int";
10716 break;
10717 /* pdfork */
10718 case 518:
10719 if (ndx == 0 || ndx == 1)
10720 p = "int";
10721 break;
10722 /* pdkill */
10723 case 519:
10724 if (ndx == 0 || ndx == 1)
10725 p = "int";
10726 break;
10727 /* pdgetpid */
10728 case 520:
10729 if (ndx == 0 || ndx == 1)
10730 p = "int";
10731 break;
10732 /* freebsd32_pselect */
10733 case 522:
10734 if (ndx == 0 || ndx == 1)
10735 p = "int";
10736 break;
10737 /* getloginclass */
10738 case 523:
10739 if (ndx == 0 || ndx == 1)
10740 p = "int";
10741 break;
10742 /* setloginclass */
10743 case 524:
10744 if (ndx == 0 || ndx == 1)
10745 p = "int";
10746 break;
10747 /* rctl_get_racct */
10748 case 525:
10749 if (ndx == 0 || ndx == 1)
10750 p = "int";
10751 break;
10752 /* rctl_get_rules */
10753 case 526:
10754 if (ndx == 0 || ndx == 1)
10755 p = "int";
10756 break;
10757 /* rctl_get_limits */
10758 case 527:
10759 if (ndx == 0 || ndx == 1)
10760 p = "int";
10761 break;
10762 /* rctl_add_rule */
10763 case 528:
10764 if (ndx == 0 || ndx == 1)
10765 p = "int";
10766 break;
10767 /* rctl_remove_rule */
10768 case 529:
10769 if (ndx == 0 || ndx == 1)
10770 p = "int";
10771 break;
10772 /* freebsd32_posix_fallocate */
10773 case 530:
10774 if (ndx == 0 || ndx == 1)
10775 p = "int";
10776 break;
10777 /* freebsd32_posix_fadvise */
10778 case 531:
10779 if (ndx == 0 || ndx == 1)
10780 p = "int";
10781 break;
10782 /* freebsd32_wait6 */
10783 case 532:
10784 if (ndx == 0 || ndx == 1)
10785 p = "int";
10786 break;
10787 /* cap_rights_limit */
10788 case 533:
10789 if (ndx == 0 || ndx == 1)
10790 p = "int";
10791 break;
10792 /* freebsd32_cap_ioctls_limit */
10793 case 534:
10794 if (ndx == 0 || ndx == 1)
10795 p = "int";
10796 break;
10797 /* freebsd32_cap_ioctls_get */
10798 case 535:
10799 if (ndx == 0 || ndx == 1)
10800 p = "ssize_t";
10801 break;
10802 /* cap_fcntls_limit */
10803 case 536:
10804 if (ndx == 0 || ndx == 1)
10805 p = "int";
10806 break;
10807 /* cap_fcntls_get */
10808 case 537:
10809 if (ndx == 0 || ndx == 1)
10810 p = "int";
10811 break;
10812 /* bindat */
10813 case 538:
10814 if (ndx == 0 || ndx == 1)
10815 p = "int";
10816 break;
10817 /* connectat */
10818 case 539:
10819 if (ndx == 0 || ndx == 1)
10820 p = "int";
10821 break;
10822 /* chflagsat */
10823 case 540:
10824 if (ndx == 0 || ndx == 1)
10825 p = "int";
10826 break;
10827 /* accept4 */
10828 case 541:
10829 if (ndx == 0 || ndx == 1)
10830 p = "int";
10831 break;
10832 /* pipe2 */
10833 case 542:
10834 if (ndx == 0 || ndx == 1)
10835 p = "int";
10836 break;
10837 /* freebsd32_aio_mlock */
10838 case 543:
10839 if (ndx == 0 || ndx == 1)
10840 p = "int";
10841 break;
10842 /* freebsd32_procctl */
10843 case 544:
10844 if (ndx == 0 || ndx == 1)
10845 p = "int";
10846 break;
10847 /* freebsd32_ppoll */
10848 case 545:
10849 if (ndx == 0 || ndx == 1)
10850 p = "int";
10851 break;
10852 /* freebsd32_futimens */
10853 case 546:
10854 if (ndx == 0 || ndx == 1)
10855 p = "int";
10856 break;
10857 /* freebsd32_utimensat */
10858 case 547:
10859 if (ndx == 0 || ndx == 1)
10860 p = "int";
10861 break;
10862 /* fdatasync */
10863 case 550:
10864 if (ndx == 0 || ndx == 1)
10865 p = "int";
10866 break;
10867 /* freebsd32_fstat */
10868 case 551:
10869 if (ndx == 0 || ndx == 1)
10870 p = "int";
10871 break;
10872 /* freebsd32_fstatat */
10873 case 552:
10874 if (ndx == 0 || ndx == 1)
10875 p = "int";
10876 break;
10877 /* freebsd32_fhstat */
10878 case 553:
10879 if (ndx == 0 || ndx == 1)
10880 p = "int";
10881 break;
10882 /* getdirentries */
10883 case 554:
10884 if (ndx == 0 || ndx == 1)
10885 p = "ssize_t";
10886 break;
10887 /* statfs */
10888 case 555:
10889 if (ndx == 0 || ndx == 1)
10890 p = "int";
10891 break;
10892 /* fstatfs */
10893 case 556:
10894 if (ndx == 0 || ndx == 1)
10895 p = "int";
10896 break;
10897 /* freebsd32_getfsstat */
10898 case 557:
10899 if (ndx == 0 || ndx == 1)
10900 p = "int";
10901 break;
10902 /* fhstatfs */
10903 case 558:
10904 if (ndx == 0 || ndx == 1)
10905 p = "int";
10906 break;
10907 /* freebsd32_mknodat */
10908 case 559:
10909 if (ndx == 0 || ndx == 1)
10910 p = "int";
10911 break;
10912 /* freebsd32_kevent */
10913 case 560:
10914 if (ndx == 0 || ndx == 1)
10915 p = "int";
10916 break;
10917 /* freebsd32_cpuset_getdomain */
10918 case 561:
10919 if (ndx == 0 || ndx == 1)
10920 p = "int";
10921 break;
10922 /* freebsd32_cpuset_setdomain */
10923 case 562:
10924 if (ndx == 0 || ndx == 1)
10925 p = "int";
10926 break;
10927 /* getrandom */
10928 case 563:
10929 if (ndx == 0 || ndx == 1)
10930 p = "int";
10931 break;
10932 /* getfhat */
10933 case 564:
10934 if (ndx == 0 || ndx == 1)
10935 p = "int";
10936 break;
10937 /* fhlink */
10938 case 565:
10939 if (ndx == 0 || ndx == 1)
10940 p = "int";
10941 break;
10942 /* fhlinkat */
10943 case 566:
10944 if (ndx == 0 || ndx == 1)
10945 p = "int";
10946 break;
10947 /* fhreadlink */
10948 case 567:
10949 if (ndx == 0 || ndx == 1)
10950 p = "int";
10951 break;
10952 /* funlinkat */
10953 case 568:
10954 if (ndx == 0 || ndx == 1)
10955 p = "int";
10956 break;
10957 /* copy_file_range */
10958 case 569:
10959 if (ndx == 0 || ndx == 1)
10960 p = "ssize_t";
10961 break;
10962 /* freebsd32___sysctlbyname */
10963 case 570:
10964 if (ndx == 0 || ndx == 1)
10965 p = "int";
10966 break;
10967 /* shm_open2 */
10968 case 571:
10969 if (ndx == 0 || ndx == 1)
10970 p = "int";
10971 break;
10972 /* shm_rename */
10973 case 572:
10974 if (ndx == 0 || ndx == 1)
10975 p = "int";
10976 break;
10977 /* sigfastblock */
10978 case 573:
10979 if (ndx == 0 || ndx == 1)
10980 p = "int";
10981 break;
10982 /* __realpathat */
10983 case 574:
10984 if (ndx == 0 || ndx == 1)
10985 p = "int";
10986 break;
10987 /* close_range */
10988 case 575:
10989 if (ndx == 0 || ndx == 1)
10990 p = "int";
10991 break;
10992 /* rpctls_syscall */
10993 case 576:
10994 if (ndx == 0 || ndx == 1)
10995 p = "int";
10996 break;
10997 /* __specialfd */
10998 case 577:
10999 if (ndx == 0 || ndx == 1)
11000 p = "int";
11001 break;
11002 /* freebsd32_aio_writev */
11003 case 578:
11004 if (ndx == 0 || ndx == 1)
11005 p = "int";
11006 break;
11007 /* freebsd32_aio_readv */
11008 case 579:
11009 if (ndx == 0 || ndx == 1)
11010 p = "int";
11011 break;
11012 /* fspacectl */
11013 case 580:
11014 if (ndx == 0 || ndx == 1)
11015 p = "int";
11016 break;
11017 /* sched_getcpu */
11018 case 581:
11019 /* swapoff */
11020 case 582:
11021 if (ndx == 0 || ndx == 1)
11022 p = "int";
11023 break;
11024 /* kqueuex */
11025 case 583:
11026 if (ndx == 0 || ndx == 1)
11027 p = "int";
11028 break;
11029 /* membarrier */
11030 case 584:
11031 if (ndx == 0 || ndx == 1)
11032 p = "int";
11033 break;
11034 /* timerfd_create */
11035 case 585:
11036 if (ndx == 0 || ndx == 1)
11037 p = "int";
11038 break;
11039 /* freebsd32_timerfd_gettime */
11040 case 586:
11041 if (ndx == 0 || ndx == 1)
11042 p = "int";
11043 break;
11044 /* freebsd32_timerfd_settime */
11045 case 587:
11046 if (ndx == 0 || ndx == 1)
11047 p = "int";
11048 break;
11049 /* kcmp */
11050 case 588:
11051 if (ndx == 0 || ndx == 1)
11052 p = "int";
11053 break;
11054 /* getrlimitusage */
11055 case 589:
11056 if (ndx == 0 || ndx == 1)
11057 p = "int";
11058 break;
11059 /* fchroot */
11060 case 590:
11061 if (ndx == 0 || ndx == 1)
11062 p = "int";
11063 break;
11064 /* freebsd32_setcred */
11065 case 591:
11066 if (ndx == 0 || ndx == 1)
11067 p = "int";
11068 break;
11069 default:
11070 break;
11071 };
11072 if (p != NULL)
11073 strlcpy(desc, p, descsz);
11074 }
11075