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