1 | /* |
2 | * System call argument to DTrace register array conversion. |
3 | */ |
4 | #include <sys/systrace_args.h> |
5 | void |
6 | systrace_args(int sysnum, void *params, uint64_t *uarg) |
7 | { |
8 | int64_t *iarg = (int64_t *) uarg; |
9 | switch (sysnum) { |
10 | /* nosys */ |
11 | case 0: { |
12 | break; |
13 | } |
14 | /* exit */ |
15 | case 1: { |
16 | struct exit_args *p = params; |
17 | iarg[0] = (int64_t) p->rval; /* int */ |
18 | break; |
19 | } |
20 | /* fork */ |
21 | case 2: { |
22 | break; |
23 | } |
24 | /* read */ |
25 | case 3: { |
26 | struct read_args *p = params; |
27 | iarg[0] = (int64_t) p->fd; /* int */ |
28 | uarg[1] = (uint64_t) p->cbuf; /* user_addr_t */ |
29 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
30 | break; |
31 | } |
32 | /* write */ |
33 | case 4: { |
34 | struct write_args *p = params; |
35 | iarg[0] = (int64_t) p->fd; /* int */ |
36 | uarg[1] = (uint64_t) p->cbuf; /* user_addr_t */ |
37 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
38 | break; |
39 | } |
40 | /* open */ |
41 | case 5: { |
42 | struct open_args *p = params; |
43 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
44 | iarg[1] = (int64_t) p->flags; /* int */ |
45 | iarg[2] = (int64_t) p->mode; /* int */ |
46 | break; |
47 | } |
48 | /* sys_close */ |
49 | case 6: { |
50 | struct close_args *p = params; |
51 | iarg[0] = (int64_t) p->fd; /* int */ |
52 | break; |
53 | } |
54 | /* wait4 */ |
55 | case 7: { |
56 | struct wait4_args *p = params; |
57 | iarg[0] = (int64_t) p->pid; /* int */ |
58 | uarg[1] = (uint64_t) p->status; /* user_addr_t */ |
59 | iarg[2] = (int64_t) p->options; /* int */ |
60 | uarg[3] = (uint64_t) p->rusage; /* user_addr_t */ |
61 | break; |
62 | } |
63 | /* link */ |
64 | case 9: { |
65 | struct link_args *p = params; |
66 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
67 | uarg[1] = (uint64_t) p->link; /* user_addr_t */ |
68 | break; |
69 | } |
70 | /* unlink */ |
71 | case 10: { |
72 | struct unlink_args *p = params; |
73 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
74 | break; |
75 | } |
76 | /* sys_chdir */ |
77 | case 12: { |
78 | struct chdir_args *p = params; |
79 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
80 | break; |
81 | } |
82 | /* sys_fchdir */ |
83 | case 13: { |
84 | struct fchdir_args *p = params; |
85 | iarg[0] = (int64_t) p->fd; /* int */ |
86 | break; |
87 | } |
88 | /* mknod */ |
89 | case 14: { |
90 | struct mknod_args *p = params; |
91 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
92 | iarg[1] = (int64_t) p->mode; /* int */ |
93 | iarg[2] = (int64_t) p->dev; /* int */ |
94 | break; |
95 | } |
96 | /* chmod */ |
97 | case 15: { |
98 | struct chmod_args *p = params; |
99 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
100 | iarg[1] = (int64_t) p->mode; /* int */ |
101 | break; |
102 | } |
103 | /* chown */ |
104 | case 16: { |
105 | struct chown_args *p = params; |
106 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
107 | iarg[1] = (int64_t) p->uid; /* int */ |
108 | iarg[2] = (int64_t) p->gid; /* int */ |
109 | break; |
110 | } |
111 | /* getfsstat */ |
112 | case 18: { |
113 | struct getfsstat_args *p = params; |
114 | uarg[0] = (uint64_t) p->buf; /* user_addr_t */ |
115 | iarg[1] = (int64_t) p->bufsize; /* int */ |
116 | iarg[2] = (int64_t) p->flags; /* int */ |
117 | break; |
118 | } |
119 | /* getpid */ |
120 | case 20: { |
121 | break; |
122 | } |
123 | /* setuid */ |
124 | case 23: { |
125 | struct setuid_args *p = params; |
126 | uarg[0] = (uint64_t) p->uid; /* uid_t */ |
127 | break; |
128 | } |
129 | /* getuid */ |
130 | case 24: { |
131 | break; |
132 | } |
133 | /* geteuid */ |
134 | case 25: { |
135 | break; |
136 | } |
137 | /* ptrace */ |
138 | case 26: { |
139 | struct ptrace_args *p = params; |
140 | iarg[0] = (int64_t) p->req; /* int */ |
141 | iarg[1] = (int64_t) p->pid; /* pid_t */ |
142 | uarg[2] = (uint64_t) p->addr; /* caddr_t */ |
143 | iarg[3] = (int64_t) p->data; /* int */ |
144 | break; |
145 | } |
146 | #if SOCKETS |
147 | /* recvmsg */ |
148 | case 27: { |
149 | struct recvmsg_args *p = params; |
150 | iarg[0] = (int64_t) p->s; /* int */ |
151 | uarg[1] = (uint64_t) p->msg; /* struct msghdr * */ |
152 | iarg[2] = (int64_t) p->flags; /* int */ |
153 | break; |
154 | } |
155 | /* sendmsg */ |
156 | case 28: { |
157 | struct sendmsg_args *p = params; |
158 | iarg[0] = (int64_t) p->s; /* int */ |
159 | uarg[1] = (uint64_t) p->msg; /* caddr_t */ |
160 | iarg[2] = (int64_t) p->flags; /* int */ |
161 | break; |
162 | } |
163 | /* recvfrom */ |
164 | case 29: { |
165 | struct recvfrom_args *p = params; |
166 | iarg[0] = (int64_t) p->s; /* int */ |
167 | uarg[1] = (uint64_t) p->buf; /* void * */ |
168 | uarg[2] = (uint64_t) p->len; /* size_t */ |
169 | iarg[3] = (int64_t) p->flags; /* int */ |
170 | uarg[4] = (uint64_t) p->from; /* struct sockaddr * */ |
171 | uarg[5] = (uint64_t) p->fromlenaddr; /* int * */ |
172 | break; |
173 | } |
174 | /* accept */ |
175 | case 30: { |
176 | struct accept_args *p = params; |
177 | iarg[0] = (int64_t) p->s; /* int */ |
178 | uarg[1] = (uint64_t) p->name; /* caddr_t */ |
179 | uarg[2] = (uint64_t) p->anamelen; /* socklen_t * */ |
180 | break; |
181 | } |
182 | /* getpeername */ |
183 | case 31: { |
184 | struct getpeername_args *p = params; |
185 | iarg[0] = (int64_t) p->fdes; /* int */ |
186 | uarg[1] = (uint64_t) p->asa; /* caddr_t */ |
187 | uarg[2] = (uint64_t) p->alen; /* socklen_t * */ |
188 | break; |
189 | } |
190 | /* getsockname */ |
191 | case 32: { |
192 | struct getsockname_args *p = params; |
193 | iarg[0] = (int64_t) p->fdes; /* int */ |
194 | uarg[1] = (uint64_t) p->asa; /* caddr_t */ |
195 | uarg[2] = (uint64_t) p->alen; /* socklen_t * */ |
196 | break; |
197 | } |
198 | #else |
199 | #endif /* SOCKETS */ |
200 | /* access */ |
201 | case 33: { |
202 | struct access_args *p = params; |
203 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
204 | iarg[1] = (int64_t) p->flags; /* int */ |
205 | break; |
206 | } |
207 | /* chflags */ |
208 | case 34: { |
209 | struct chflags_args *p = params; |
210 | uarg[0] = (uint64_t) p->path; /* char * */ |
211 | iarg[1] = (int64_t) p->flags; /* int */ |
212 | break; |
213 | } |
214 | /* fchflags */ |
215 | case 35: { |
216 | struct fchflags_args *p = params; |
217 | iarg[0] = (int64_t) p->fd; /* int */ |
218 | iarg[1] = (int64_t) p->flags; /* int */ |
219 | break; |
220 | } |
221 | /* sync */ |
222 | case 36: { |
223 | break; |
224 | } |
225 | /* kill */ |
226 | case 37: { |
227 | struct kill_args *p = params; |
228 | iarg[0] = (int64_t) p->pid; /* int */ |
229 | iarg[1] = (int64_t) p->signum; /* int */ |
230 | iarg[2] = (int64_t) p->posix; /* int */ |
231 | break; |
232 | } |
233 | /* sys_crossarch_trap */ |
234 | case 38: { |
235 | struct crossarch_trap_args *p = params; |
236 | uarg[0] = (uint64_t) p->name; /* uint32_t */ |
237 | break; |
238 | } |
239 | /* getppid */ |
240 | case 39: { |
241 | break; |
242 | } |
243 | /* sys_dup */ |
244 | case 41: { |
245 | struct dup_args *p = params; |
246 | uarg[0] = (uint64_t) p->fd; /* u_int */ |
247 | break; |
248 | } |
249 | /* pipe */ |
250 | case 42: { |
251 | break; |
252 | } |
253 | /* getegid */ |
254 | case 43: { |
255 | break; |
256 | } |
257 | /* sigaction */ |
258 | case 46: { |
259 | struct sigaction_args *p = params; |
260 | iarg[0] = (int64_t) p->signum; /* int */ |
261 | uarg[1] = (uint64_t) p->nsa; /* struct __sigaction * */ |
262 | uarg[2] = (uint64_t) p->osa; /* struct sigaction * */ |
263 | break; |
264 | } |
265 | /* getgid */ |
266 | case 47: { |
267 | break; |
268 | } |
269 | /* sigprocmask */ |
270 | case 48: { |
271 | struct sigprocmask_args *p = params; |
272 | iarg[0] = (int64_t) p->how; /* int */ |
273 | uarg[1] = (uint64_t) p->mask; /* user_addr_t */ |
274 | uarg[2] = (uint64_t) p->omask; /* user_addr_t */ |
275 | break; |
276 | } |
277 | /* getlogin */ |
278 | case 49: { |
279 | struct getlogin_args *p = params; |
280 | uarg[0] = (uint64_t) p->namebuf; /* char * */ |
281 | uarg[1] = (uint64_t) p->namelen; /* u_int */ |
282 | break; |
283 | } |
284 | /* setlogin */ |
285 | case 50: { |
286 | struct setlogin_args *p = params; |
287 | uarg[0] = (uint64_t) p->namebuf; /* char * */ |
288 | break; |
289 | } |
290 | /* acct */ |
291 | case 51: { |
292 | struct acct_args *p = params; |
293 | uarg[0] = (uint64_t) p->path; /* char * */ |
294 | break; |
295 | } |
296 | /* sigpending */ |
297 | case 52: { |
298 | struct sigpending_args *p = params; |
299 | uarg[0] = (uint64_t) p->osv; /* struct sigvec * */ |
300 | break; |
301 | } |
302 | /* sigaltstack */ |
303 | case 53: { |
304 | struct sigaltstack_args *p = params; |
305 | uarg[0] = (uint64_t) p->nss; /* struct sigaltstack * */ |
306 | uarg[1] = (uint64_t) p->oss; /* struct sigaltstack * */ |
307 | break; |
308 | } |
309 | /* ioctl */ |
310 | case 54: { |
311 | struct ioctl_args *p = params; |
312 | iarg[0] = (int64_t) p->fd; /* int */ |
313 | uarg[1] = (uint64_t) p->com; /* u_long */ |
314 | uarg[2] = (uint64_t) p->data; /* caddr_t */ |
315 | break; |
316 | } |
317 | /* reboot */ |
318 | case 55: { |
319 | struct reboot_args *p = params; |
320 | iarg[0] = (int64_t) p->opt; /* int */ |
321 | uarg[1] = (uint64_t) p->msg; /* char * */ |
322 | break; |
323 | } |
324 | /* revoke */ |
325 | case 56: { |
326 | struct revoke_args *p = params; |
327 | uarg[0] = (uint64_t) p->path; /* char * */ |
328 | break; |
329 | } |
330 | /* symlink */ |
331 | case 57: { |
332 | struct symlink_args *p = params; |
333 | uarg[0] = (uint64_t) p->path; /* char * */ |
334 | uarg[1] = (uint64_t) p->link; /* char * */ |
335 | break; |
336 | } |
337 | /* readlink */ |
338 | case 58: { |
339 | struct readlink_args *p = params; |
340 | uarg[0] = (uint64_t) p->path; /* char * */ |
341 | uarg[1] = (uint64_t) p->buf; /* char * */ |
342 | iarg[2] = (int64_t) p->count; /* int */ |
343 | break; |
344 | } |
345 | /* execve */ |
346 | case 59: { |
347 | struct execve_args *p = params; |
348 | uarg[0] = (uint64_t) p->fname; /* char * */ |
349 | uarg[1] = (uint64_t) p->argp; /* char ** */ |
350 | uarg[2] = (uint64_t) p->envp; /* char ** */ |
351 | break; |
352 | } |
353 | /* umask */ |
354 | case 60: { |
355 | struct umask_args *p = params; |
356 | iarg[0] = (int64_t) p->newmask; /* int */ |
357 | break; |
358 | } |
359 | /* chroot */ |
360 | case 61: { |
361 | struct chroot_args *p = params; |
362 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
363 | break; |
364 | } |
365 | /* msync */ |
366 | case 65: { |
367 | struct msync_args *p = params; |
368 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
369 | uarg[1] = (uint64_t) p->len; /* size_t */ |
370 | iarg[2] = (int64_t) p->flags; /* int */ |
371 | break; |
372 | } |
373 | #if CONFIG_VFORK |
374 | /* vfork */ |
375 | case 66: { |
376 | break; |
377 | } |
378 | #else |
379 | #endif |
380 | /* munmap */ |
381 | case 73: { |
382 | struct munmap_args *p = params; |
383 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
384 | uarg[1] = (uint64_t) p->len; /* size_t */ |
385 | break; |
386 | } |
387 | /* mprotect */ |
388 | case 74: { |
389 | struct mprotect_args *p = params; |
390 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
391 | uarg[1] = (uint64_t) p->len; /* size_t */ |
392 | iarg[2] = (int64_t) p->prot; /* int */ |
393 | break; |
394 | } |
395 | /* madvise */ |
396 | case 75: { |
397 | struct madvise_args *p = params; |
398 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
399 | uarg[1] = (uint64_t) p->len; /* size_t */ |
400 | iarg[2] = (int64_t) p->behav; /* int */ |
401 | break; |
402 | } |
403 | /* mincore */ |
404 | case 78: { |
405 | struct mincore_args *p = params; |
406 | uarg[0] = (uint64_t) p->addr; /* user_addr_t */ |
407 | uarg[1] = (uint64_t) p->len; /* user_size_t */ |
408 | uarg[2] = (uint64_t) p->vec; /* user_addr_t */ |
409 | break; |
410 | } |
411 | /* getgroups */ |
412 | case 79: { |
413 | struct getgroups_args *p = params; |
414 | uarg[0] = (uint64_t) p->gidsetsize; /* u_int */ |
415 | uarg[1] = (uint64_t) p->gidset; /* gid_t * */ |
416 | break; |
417 | } |
418 | /* setgroups */ |
419 | case 80: { |
420 | struct setgroups_args *p = params; |
421 | uarg[0] = (uint64_t) p->gidsetsize; /* u_int */ |
422 | uarg[1] = (uint64_t) p->gidset; /* gid_t * */ |
423 | break; |
424 | } |
425 | /* getpgrp */ |
426 | case 81: { |
427 | break; |
428 | } |
429 | /* setpgid */ |
430 | case 82: { |
431 | struct setpgid_args *p = params; |
432 | iarg[0] = (int64_t) p->pid; /* int */ |
433 | iarg[1] = (int64_t) p->pgid; /* int */ |
434 | break; |
435 | } |
436 | /* setitimer */ |
437 | case 83: { |
438 | struct setitimer_args *p = params; |
439 | uarg[0] = (uint64_t) p->which; /* u_int */ |
440 | uarg[1] = (uint64_t) p->itv; /* struct itimerval * */ |
441 | uarg[2] = (uint64_t) p->oitv; /* struct itimerval * */ |
442 | break; |
443 | } |
444 | /* swapon */ |
445 | case 85: { |
446 | break; |
447 | } |
448 | /* getitimer */ |
449 | case 86: { |
450 | struct getitimer_args *p = params; |
451 | uarg[0] = (uint64_t) p->which; /* u_int */ |
452 | uarg[1] = (uint64_t) p->itv; /* struct itimerval * */ |
453 | break; |
454 | } |
455 | /* sys_getdtablesize */ |
456 | case 89: { |
457 | break; |
458 | } |
459 | /* sys_dup2 */ |
460 | case 90: { |
461 | struct dup2_args *p = params; |
462 | uarg[0] = (uint64_t) p->from; /* u_int */ |
463 | uarg[1] = (uint64_t) p->to; /* u_int */ |
464 | break; |
465 | } |
466 | /* sys_fcntl */ |
467 | case 92: { |
468 | struct fcntl_args *p = params; |
469 | iarg[0] = (int64_t) p->fd; /* int */ |
470 | iarg[1] = (int64_t) p->cmd; /* int */ |
471 | iarg[2] = (int64_t) p->arg; /* long */ |
472 | break; |
473 | } |
474 | /* select */ |
475 | case 93: { |
476 | struct select_args *p = params; |
477 | iarg[0] = (int64_t) p->nd; /* int */ |
478 | uarg[1] = (uint64_t) p->in; /* u_int32_t * */ |
479 | uarg[2] = (uint64_t) p->ou; /* u_int32_t * */ |
480 | uarg[3] = (uint64_t) p->ex; /* u_int32_t * */ |
481 | uarg[4] = (uint64_t) p->tv; /* struct timeval * */ |
482 | break; |
483 | } |
484 | /* fsync */ |
485 | case 95: { |
486 | struct fsync_args *p = params; |
487 | iarg[0] = (int64_t) p->fd; /* int */ |
488 | break; |
489 | } |
490 | /* setpriority */ |
491 | case 96: { |
492 | struct setpriority_args *p = params; |
493 | iarg[0] = (int64_t) p->which; /* int */ |
494 | iarg[1] = (int64_t) p->who; /* id_t */ |
495 | iarg[2] = (int64_t) p->prio; /* int */ |
496 | break; |
497 | } |
498 | #if SOCKETS |
499 | /* socket */ |
500 | case 97: { |
501 | struct socket_args *p = params; |
502 | iarg[0] = (int64_t) p->domain; /* int */ |
503 | iarg[1] = (int64_t) p->type; /* int */ |
504 | iarg[2] = (int64_t) p->protocol; /* int */ |
505 | break; |
506 | } |
507 | /* connect */ |
508 | case 98: { |
509 | struct connect_args *p = params; |
510 | iarg[0] = (int64_t) p->s; /* int */ |
511 | uarg[1] = (uint64_t) p->name; /* caddr_t */ |
512 | iarg[2] = (int64_t) p->namelen; /* socklen_t */ |
513 | break; |
514 | } |
515 | #else |
516 | #endif /* SOCKETS */ |
517 | /* getpriority */ |
518 | case 100: { |
519 | struct getpriority_args *p = params; |
520 | iarg[0] = (int64_t) p->which; /* int */ |
521 | iarg[1] = (int64_t) p->who; /* id_t */ |
522 | break; |
523 | } |
524 | #if SOCKETS |
525 | /* bind */ |
526 | case 104: { |
527 | struct bind_args *p = params; |
528 | iarg[0] = (int64_t) p->s; /* int */ |
529 | uarg[1] = (uint64_t) p->name; /* caddr_t */ |
530 | iarg[2] = (int64_t) p->namelen; /* socklen_t */ |
531 | break; |
532 | } |
533 | /* setsockopt */ |
534 | case 105: { |
535 | struct setsockopt_args *p = params; |
536 | iarg[0] = (int64_t) p->s; /* int */ |
537 | iarg[1] = (int64_t) p->level; /* int */ |
538 | iarg[2] = (int64_t) p->name; /* int */ |
539 | uarg[3] = (uint64_t) p->val; /* caddr_t */ |
540 | iarg[4] = (int64_t) p->valsize; /* socklen_t */ |
541 | break; |
542 | } |
543 | /* listen */ |
544 | case 106: { |
545 | struct listen_args *p = params; |
546 | iarg[0] = (int64_t) p->s; /* int */ |
547 | iarg[1] = (int64_t) p->backlog; /* int */ |
548 | break; |
549 | } |
550 | #else |
551 | #endif /* SOCKETS */ |
552 | /* sigsuspend */ |
553 | case 111: { |
554 | struct sigsuspend_args *p = params; |
555 | iarg[0] = (int64_t) p->mask; /* sigset_t */ |
556 | break; |
557 | } |
558 | #if SOCKETS |
559 | #else |
560 | #endif /* SOCKETS */ |
561 | /* gettimeofday */ |
562 | case 116: { |
563 | struct gettimeofday_args *p = params; |
564 | uarg[0] = (uint64_t) p->tp; /* struct timeval * */ |
565 | uarg[1] = (uint64_t) p->tzp; /* struct timezone * */ |
566 | uarg[2] = (uint64_t) p->mach_absolute_time; /* uint64_t * */ |
567 | break; |
568 | } |
569 | /* getrusage */ |
570 | case 117: { |
571 | struct getrusage_args *p = params; |
572 | iarg[0] = (int64_t) p->who; /* int */ |
573 | uarg[1] = (uint64_t) p->rusage; /* struct rusage * */ |
574 | break; |
575 | } |
576 | #if SOCKETS |
577 | /* getsockopt */ |
578 | case 118: { |
579 | struct getsockopt_args *p = params; |
580 | iarg[0] = (int64_t) p->s; /* int */ |
581 | iarg[1] = (int64_t) p->level; /* int */ |
582 | iarg[2] = (int64_t) p->name; /* int */ |
583 | uarg[3] = (uint64_t) p->val; /* caddr_t */ |
584 | uarg[4] = (uint64_t) p->avalsize; /* socklen_t * */ |
585 | break; |
586 | } |
587 | #else |
588 | #endif /* SOCKETS */ |
589 | /* readv */ |
590 | case 120: { |
591 | struct readv_args *p = params; |
592 | iarg[0] = (int64_t) p->fd; /* int */ |
593 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
594 | uarg[2] = (uint64_t) p->iovcnt; /* u_int */ |
595 | break; |
596 | } |
597 | /* writev */ |
598 | case 121: { |
599 | struct writev_args *p = params; |
600 | iarg[0] = (int64_t) p->fd; /* int */ |
601 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
602 | uarg[2] = (uint64_t) p->iovcnt; /* u_int */ |
603 | break; |
604 | } |
605 | /* settimeofday */ |
606 | case 122: { |
607 | struct settimeofday_args *p = params; |
608 | uarg[0] = (uint64_t) p->tv; /* struct timeval * */ |
609 | uarg[1] = (uint64_t) p->tzp; /* struct timezone * */ |
610 | break; |
611 | } |
612 | /* fchown */ |
613 | case 123: { |
614 | struct fchown_args *p = params; |
615 | iarg[0] = (int64_t) p->fd; /* int */ |
616 | iarg[1] = (int64_t) p->uid; /* int */ |
617 | iarg[2] = (int64_t) p->gid; /* int */ |
618 | break; |
619 | } |
620 | /* fchmod */ |
621 | case 124: { |
622 | struct fchmod_args *p = params; |
623 | iarg[0] = (int64_t) p->fd; /* int */ |
624 | iarg[1] = (int64_t) p->mode; /* int */ |
625 | break; |
626 | } |
627 | /* setreuid */ |
628 | case 126: { |
629 | struct setreuid_args *p = params; |
630 | uarg[0] = (uint64_t) p->ruid; /* uid_t */ |
631 | uarg[1] = (uint64_t) p->euid; /* uid_t */ |
632 | break; |
633 | } |
634 | /* setregid */ |
635 | case 127: { |
636 | struct setregid_args *p = params; |
637 | iarg[0] = (int64_t) p->rgid; /* gid_t */ |
638 | iarg[1] = (int64_t) p->egid; /* gid_t */ |
639 | break; |
640 | } |
641 | /* rename */ |
642 | case 128: { |
643 | struct rename_args *p = params; |
644 | uarg[0] = (uint64_t) p->from; /* char * */ |
645 | uarg[1] = (uint64_t) p->to; /* char * */ |
646 | break; |
647 | } |
648 | /* sys_flock */ |
649 | case 131: { |
650 | struct flock_args *p = params; |
651 | iarg[0] = (int64_t) p->fd; /* int */ |
652 | iarg[1] = (int64_t) p->how; /* int */ |
653 | break; |
654 | } |
655 | /* mkfifo */ |
656 | case 132: { |
657 | struct mkfifo_args *p = params; |
658 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
659 | iarg[1] = (int64_t) p->mode; /* int */ |
660 | break; |
661 | } |
662 | #if SOCKETS |
663 | /* sendto */ |
664 | case 133: { |
665 | struct sendto_args *p = params; |
666 | iarg[0] = (int64_t) p->s; /* int */ |
667 | uarg[1] = (uint64_t) p->buf; /* caddr_t */ |
668 | uarg[2] = (uint64_t) p->len; /* size_t */ |
669 | iarg[3] = (int64_t) p->flags; /* int */ |
670 | uarg[4] = (uint64_t) p->to; /* caddr_t */ |
671 | iarg[5] = (int64_t) p->tolen; /* socklen_t */ |
672 | break; |
673 | } |
674 | /* shutdown */ |
675 | case 134: { |
676 | struct shutdown_args *p = params; |
677 | iarg[0] = (int64_t) p->s; /* int */ |
678 | iarg[1] = (int64_t) p->how; /* int */ |
679 | break; |
680 | } |
681 | /* socketpair */ |
682 | case 135: { |
683 | struct socketpair_args *p = params; |
684 | iarg[0] = (int64_t) p->domain; /* int */ |
685 | iarg[1] = (int64_t) p->type; /* int */ |
686 | iarg[2] = (int64_t) p->protocol; /* int */ |
687 | uarg[3] = (uint64_t) p->rsv; /* int * */ |
688 | break; |
689 | } |
690 | #else |
691 | #endif /* SOCKETS */ |
692 | /* mkdir */ |
693 | case 136: { |
694 | struct mkdir_args *p = params; |
695 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
696 | iarg[1] = (int64_t) p->mode; /* int */ |
697 | break; |
698 | } |
699 | /* rmdir */ |
700 | case 137: { |
701 | struct rmdir_args *p = params; |
702 | uarg[0] = (uint64_t) p->path; /* char * */ |
703 | break; |
704 | } |
705 | /* utimes */ |
706 | case 138: { |
707 | struct utimes_args *p = params; |
708 | uarg[0] = (uint64_t) p->path; /* char * */ |
709 | uarg[1] = (uint64_t) p->tptr; /* struct timeval * */ |
710 | break; |
711 | } |
712 | /* futimes */ |
713 | case 139: { |
714 | struct futimes_args *p = params; |
715 | iarg[0] = (int64_t) p->fd; /* int */ |
716 | uarg[1] = (uint64_t) p->tptr; /* struct timeval * */ |
717 | break; |
718 | } |
719 | /* adjtime */ |
720 | case 140: { |
721 | struct adjtime_args *p = params; |
722 | uarg[0] = (uint64_t) p->delta; /* struct timeval * */ |
723 | uarg[1] = (uint64_t) p->olddelta; /* struct timeval * */ |
724 | break; |
725 | } |
726 | /* gethostuuid */ |
727 | case 142: { |
728 | struct gethostuuid_args *p = params; |
729 | uarg[0] = (uint64_t) p->uuid_buf; /* unsigned char * */ |
730 | uarg[1] = (uint64_t) p->timeoutp; /* const struct timespec * */ |
731 | break; |
732 | } |
733 | /* setsid */ |
734 | case 147: { |
735 | break; |
736 | } |
737 | /* getpgid */ |
738 | case 151: { |
739 | struct getpgid_args *p = params; |
740 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
741 | break; |
742 | } |
743 | /* setprivexec */ |
744 | case 152: { |
745 | struct setprivexec_args *p = params; |
746 | iarg[0] = (int64_t) p->flag; /* int */ |
747 | break; |
748 | } |
749 | /* pread */ |
750 | case 153: { |
751 | struct pread_args *p = params; |
752 | iarg[0] = (int64_t) p->fd; /* int */ |
753 | uarg[1] = (uint64_t) p->buf; /* user_addr_t */ |
754 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
755 | iarg[3] = (int64_t) p->offset; /* off_t */ |
756 | break; |
757 | } |
758 | /* pwrite */ |
759 | case 154: { |
760 | struct pwrite_args *p = params; |
761 | iarg[0] = (int64_t) p->fd; /* int */ |
762 | uarg[1] = (uint64_t) p->buf; /* user_addr_t */ |
763 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
764 | iarg[3] = (int64_t) p->offset; /* off_t */ |
765 | break; |
766 | } |
767 | #if NFSSERVER /* XXX */ |
768 | /* nfssvc */ |
769 | case 155: { |
770 | struct nfssvc_args *p = params; |
771 | iarg[0] = (int64_t) p->flag; /* int */ |
772 | uarg[1] = (uint64_t) p->argp; /* caddr_t */ |
773 | break; |
774 | } |
775 | #else |
776 | #endif |
777 | /* statfs */ |
778 | case 157: { |
779 | struct statfs_args *p = params; |
780 | uarg[0] = (uint64_t) p->path; /* char * */ |
781 | uarg[1] = (uint64_t) p->buf; /* struct statfs * */ |
782 | break; |
783 | } |
784 | /* fstatfs */ |
785 | case 158: { |
786 | struct fstatfs_args *p = params; |
787 | iarg[0] = (int64_t) p->fd; /* int */ |
788 | uarg[1] = (uint64_t) p->buf; /* struct statfs * */ |
789 | break; |
790 | } |
791 | /* unmount */ |
792 | case 159: { |
793 | struct unmount_args *p = params; |
794 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
795 | iarg[1] = (int64_t) p->flags; /* int */ |
796 | break; |
797 | } |
798 | #if NFSSERVER /* XXX */ |
799 | /* getfh */ |
800 | case 161: { |
801 | struct getfh_args *p = params; |
802 | uarg[0] = (uint64_t) p->fname; /* char * */ |
803 | uarg[1] = (uint64_t) p->fhp; /* fhandle_t * */ |
804 | break; |
805 | } |
806 | #else |
807 | #endif |
808 | /* quotactl */ |
809 | case 165: { |
810 | struct quotactl_args *p = params; |
811 | uarg[0] = (uint64_t) p->path; /* const char * */ |
812 | iarg[1] = (int64_t) p->cmd; /* int */ |
813 | iarg[2] = (int64_t) p->uid; /* int */ |
814 | uarg[3] = (uint64_t) p->arg; /* caddr_t */ |
815 | break; |
816 | } |
817 | /* mount */ |
818 | case 167: { |
819 | struct mount_args *p = params; |
820 | uarg[0] = (uint64_t) p->type; /* char * */ |
821 | uarg[1] = (uint64_t) p->path; /* char * */ |
822 | iarg[2] = (int64_t) p->flags; /* int */ |
823 | uarg[3] = (uint64_t) p->data; /* caddr_t */ |
824 | break; |
825 | } |
826 | /* csops */ |
827 | case 169: { |
828 | struct csops_args *p = params; |
829 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
830 | uarg[1] = (uint64_t) p->ops; /* uint32_t */ |
831 | uarg[2] = (uint64_t) p->useraddr; /* user_addr_t */ |
832 | uarg[3] = (uint64_t) p->usersize; /* user_size_t */ |
833 | break; |
834 | } |
835 | /* csops_audittoken */ |
836 | case 170: { |
837 | struct csops_audittoken_args *p = params; |
838 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
839 | uarg[1] = (uint64_t) p->ops; /* uint32_t */ |
840 | uarg[2] = (uint64_t) p->useraddr; /* user_addr_t */ |
841 | uarg[3] = (uint64_t) p->usersize; /* user_size_t */ |
842 | uarg[4] = (uint64_t) p->uaudittoken; /* user_addr_t */ |
843 | break; |
844 | } |
845 | /* waitid */ |
846 | case 173: { |
847 | struct waitid_args *p = params; |
848 | iarg[0] = (int64_t) p->idtype; /* idtype_t */ |
849 | iarg[1] = (int64_t) p->id; /* id_t */ |
850 | uarg[2] = (uint64_t) p->infop; /* siginfo_t * */ |
851 | iarg[3] = (int64_t) p->options; /* int */ |
852 | break; |
853 | } |
854 | /* kdebug_typefilter */ |
855 | case 177: { |
856 | struct kdebug_typefilter_args *p = params; |
857 | uarg[0] = (uint64_t) p->addr; /* void ** */ |
858 | uarg[1] = (uint64_t) p->size; /* size_t * */ |
859 | break; |
860 | } |
861 | /* kdebug_trace_string */ |
862 | case 178: { |
863 | struct kdebug_trace_string_args *p = params; |
864 | uarg[0] = (uint64_t) p->debugid; /* uint32_t */ |
865 | uarg[1] = (uint64_t) p->str_id; /* uint64_t */ |
866 | uarg[2] = (uint64_t) p->str; /* const char * */ |
867 | break; |
868 | } |
869 | /* kdebug_trace64 */ |
870 | case 179: { |
871 | struct kdebug_trace64_args *p = params; |
872 | uarg[0] = (uint64_t) p->code; /* uint32_t */ |
873 | uarg[1] = (uint64_t) p->arg1; /* uint64_t */ |
874 | uarg[2] = (uint64_t) p->arg2; /* uint64_t */ |
875 | uarg[3] = (uint64_t) p->arg3; /* uint64_t */ |
876 | uarg[4] = (uint64_t) p->arg4; /* uint64_t */ |
877 | break; |
878 | } |
879 | /* kdebug_trace */ |
880 | case 180: { |
881 | struct kdebug_trace_args *p = params; |
882 | uarg[0] = (uint64_t) p->code; /* uint32_t */ |
883 | uarg[1] = (uint64_t) p->arg1; /* u_long */ |
884 | uarg[2] = (uint64_t) p->arg2; /* u_long */ |
885 | uarg[3] = (uint64_t) p->arg3; /* u_long */ |
886 | uarg[4] = (uint64_t) p->arg4; /* u_long */ |
887 | break; |
888 | } |
889 | /* setgid */ |
890 | case 181: { |
891 | struct setgid_args *p = params; |
892 | iarg[0] = (int64_t) p->gid; /* gid_t */ |
893 | break; |
894 | } |
895 | /* setegid */ |
896 | case 182: { |
897 | struct setegid_args *p = params; |
898 | iarg[0] = (int64_t) p->egid; /* gid_t */ |
899 | break; |
900 | } |
901 | /* seteuid */ |
902 | case 183: { |
903 | struct seteuid_args *p = params; |
904 | uarg[0] = (uint64_t) p->euid; /* uid_t */ |
905 | break; |
906 | } |
907 | /* sigreturn */ |
908 | case 184: { |
909 | struct sigreturn_args *p = params; |
910 | uarg[0] = (uint64_t) p->uctx; /* struct ucontext * */ |
911 | iarg[1] = (int64_t) p->infostyle; /* int */ |
912 | uarg[2] = (uint64_t) p->token; /* user_addr_t */ |
913 | break; |
914 | } |
915 | /* sys_panic_with_data */ |
916 | case 185: { |
917 | struct panic_with_data_args *p = params; |
918 | uarg[0] = (uint64_t) p->uuid; /* uuid_t */ |
919 | uarg[1] = (uint64_t) p->addr; /* void * */ |
920 | uarg[2] = (uint64_t) p->len; /* uint32_t */ |
921 | uarg[3] = (uint64_t) p->flags; /* uint32_t */ |
922 | uarg[4] = (uint64_t) p->msg; /* const char * */ |
923 | break; |
924 | } |
925 | /* thread_selfcounts */ |
926 | case 186: { |
927 | struct thread_selfcounts_args *p = params; |
928 | uarg[0] = (uint64_t) p->kind; /* uint32_t */ |
929 | uarg[1] = (uint64_t) p->buf; /* user_addr_t */ |
930 | uarg[2] = (uint64_t) p->size; /* user_size_t */ |
931 | break; |
932 | } |
933 | /* fdatasync */ |
934 | case 187: { |
935 | struct fdatasync_args *p = params; |
936 | iarg[0] = (int64_t) p->fd; /* int */ |
937 | break; |
938 | } |
939 | /* stat */ |
940 | case 188: { |
941 | struct stat_args *p = params; |
942 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
943 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
944 | break; |
945 | } |
946 | /* sys_fstat */ |
947 | case 189: { |
948 | struct fstat_args *p = params; |
949 | iarg[0] = (int64_t) p->fd; /* int */ |
950 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
951 | break; |
952 | } |
953 | /* lstat */ |
954 | case 190: { |
955 | struct lstat_args *p = params; |
956 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
957 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
958 | break; |
959 | } |
960 | /* pathconf */ |
961 | case 191: { |
962 | struct pathconf_args *p = params; |
963 | uarg[0] = (uint64_t) p->path; /* char * */ |
964 | iarg[1] = (int64_t) p->name; /* int */ |
965 | break; |
966 | } |
967 | /* sys_fpathconf */ |
968 | case 192: { |
969 | struct fpathconf_args *p = params; |
970 | iarg[0] = (int64_t) p->fd; /* int */ |
971 | iarg[1] = (int64_t) p->name; /* int */ |
972 | break; |
973 | } |
974 | /* getrlimit */ |
975 | case 194: { |
976 | struct getrlimit_args *p = params; |
977 | uarg[0] = (uint64_t) p->which; /* u_int */ |
978 | uarg[1] = (uint64_t) p->rlp; /* struct rlimit * */ |
979 | break; |
980 | } |
981 | /* setrlimit */ |
982 | case 195: { |
983 | struct setrlimit_args *p = params; |
984 | uarg[0] = (uint64_t) p->which; /* u_int */ |
985 | uarg[1] = (uint64_t) p->rlp; /* struct rlimit * */ |
986 | break; |
987 | } |
988 | /* getdirentries */ |
989 | case 196: { |
990 | struct getdirentries_args *p = params; |
991 | iarg[0] = (int64_t) p->fd; /* int */ |
992 | uarg[1] = (uint64_t) p->buf; /* char * */ |
993 | uarg[2] = (uint64_t) p->count; /* u_int */ |
994 | uarg[3] = (uint64_t) p->basep; /* long * */ |
995 | break; |
996 | } |
997 | /* mmap */ |
998 | case 197: { |
999 | struct mmap_args *p = params; |
1000 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
1001 | uarg[1] = (uint64_t) p->len; /* size_t */ |
1002 | iarg[2] = (int64_t) p->prot; /* int */ |
1003 | iarg[3] = (int64_t) p->flags; /* int */ |
1004 | iarg[4] = (int64_t) p->fd; /* int */ |
1005 | iarg[5] = (int64_t) p->pos; /* off_t */ |
1006 | break; |
1007 | } |
1008 | /* lseek */ |
1009 | case 199: { |
1010 | struct lseek_args *p = params; |
1011 | iarg[0] = (int64_t) p->fd; /* int */ |
1012 | iarg[1] = (int64_t) p->offset; /* off_t */ |
1013 | iarg[2] = (int64_t) p->whence; /* int */ |
1014 | break; |
1015 | } |
1016 | /* truncate */ |
1017 | case 200: { |
1018 | struct truncate_args *p = params; |
1019 | uarg[0] = (uint64_t) p->path; /* char * */ |
1020 | iarg[1] = (int64_t) p->length; /* off_t */ |
1021 | break; |
1022 | } |
1023 | /* ftruncate */ |
1024 | case 201: { |
1025 | struct ftruncate_args *p = params; |
1026 | iarg[0] = (int64_t) p->fd; /* int */ |
1027 | iarg[1] = (int64_t) p->length; /* off_t */ |
1028 | break; |
1029 | } |
1030 | /* sysctl */ |
1031 | case 202: { |
1032 | struct sysctl_args *p = params; |
1033 | uarg[0] = (uint64_t) p->name; /* int * */ |
1034 | uarg[1] = (uint64_t) p->namelen; /* u_int */ |
1035 | uarg[2] = (uint64_t) p->old; /* void * */ |
1036 | uarg[3] = (uint64_t) p->oldlenp; /* size_t * */ |
1037 | uarg[4] = (uint64_t) p->new; /* void * */ |
1038 | uarg[5] = (uint64_t) p->newlen; /* size_t */ |
1039 | break; |
1040 | } |
1041 | /* mlock */ |
1042 | case 203: { |
1043 | struct mlock_args *p = params; |
1044 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
1045 | uarg[1] = (uint64_t) p->len; /* size_t */ |
1046 | break; |
1047 | } |
1048 | /* munlock */ |
1049 | case 204: { |
1050 | struct munlock_args *p = params; |
1051 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
1052 | uarg[1] = (uint64_t) p->len; /* size_t */ |
1053 | break; |
1054 | } |
1055 | /* undelete */ |
1056 | case 205: { |
1057 | struct undelete_args *p = params; |
1058 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1059 | break; |
1060 | } |
1061 | /* open_dprotected_np */ |
1062 | case 216: { |
1063 | struct open_dprotected_np_args *p = params; |
1064 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1065 | iarg[1] = (int64_t) p->flags; /* int */ |
1066 | iarg[2] = (int64_t) p->class; /* int */ |
1067 | iarg[3] = (int64_t) p->dpflags; /* int */ |
1068 | iarg[4] = (int64_t) p->mode; /* int */ |
1069 | break; |
1070 | } |
1071 | /* fsgetpath_ext */ |
1072 | case 217: { |
1073 | struct fsgetpath_ext_args *p = params; |
1074 | uarg[0] = (uint64_t) p->buf; /* user_addr_t */ |
1075 | uarg[1] = (uint64_t) p->bufsize; /* size_t */ |
1076 | uarg[2] = (uint64_t) p->fsid; /* user_addr_t */ |
1077 | uarg[3] = (uint64_t) p->objid; /* uint64_t */ |
1078 | uarg[4] = (uint64_t) p->options; /* uint32_t */ |
1079 | break; |
1080 | } |
1081 | /* openat_dprotected_np */ |
1082 | case 218: { |
1083 | struct openat_dprotected_np_args *p = params; |
1084 | iarg[0] = (int64_t) p->fd; /* int */ |
1085 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
1086 | iarg[2] = (int64_t) p->flags; /* int */ |
1087 | iarg[3] = (int64_t) p->class; /* int */ |
1088 | iarg[4] = (int64_t) p->dpflags; /* int */ |
1089 | iarg[5] = (int64_t) p->mode; /* int */ |
1090 | iarg[6] = (int64_t) p->authfd; /* int */ |
1091 | break; |
1092 | } |
1093 | /* getattrlist */ |
1094 | case 220: { |
1095 | struct getattrlist_args *p = params; |
1096 | uarg[0] = (uint64_t) p->path; /* const char * */ |
1097 | uarg[1] = (uint64_t) p->alist; /* struct attrlist * */ |
1098 | uarg[2] = (uint64_t) p->attributeBuffer; /* void * */ |
1099 | uarg[3] = (uint64_t) p->bufferSize; /* size_t */ |
1100 | uarg[4] = (uint64_t) p->options; /* u_long */ |
1101 | break; |
1102 | } |
1103 | /* setattrlist */ |
1104 | case 221: { |
1105 | struct setattrlist_args *p = params; |
1106 | uarg[0] = (uint64_t) p->path; /* const char * */ |
1107 | uarg[1] = (uint64_t) p->alist; /* struct attrlist * */ |
1108 | uarg[2] = (uint64_t) p->attributeBuffer; /* void * */ |
1109 | uarg[3] = (uint64_t) p->bufferSize; /* size_t */ |
1110 | uarg[4] = (uint64_t) p->options; /* u_long */ |
1111 | break; |
1112 | } |
1113 | /* getdirentriesattr */ |
1114 | case 222: { |
1115 | struct getdirentriesattr_args *p = params; |
1116 | iarg[0] = (int64_t) p->fd; /* int */ |
1117 | uarg[1] = (uint64_t) p->alist; /* struct attrlist * */ |
1118 | uarg[2] = (uint64_t) p->buffer; /* void * */ |
1119 | uarg[3] = (uint64_t) p->buffersize; /* size_t */ |
1120 | uarg[4] = (uint64_t) p->count; /* u_long * */ |
1121 | uarg[5] = (uint64_t) p->basep; /* u_long * */ |
1122 | uarg[6] = (uint64_t) p->newstate; /* u_long * */ |
1123 | uarg[7] = (uint64_t) p->options; /* u_long */ |
1124 | break; |
1125 | } |
1126 | /* exchangedata */ |
1127 | case 223: { |
1128 | struct exchangedata_args *p = params; |
1129 | uarg[0] = (uint64_t) p->path1; /* const char * */ |
1130 | uarg[1] = (uint64_t) p->path2; /* const char * */ |
1131 | uarg[2] = (uint64_t) p->options; /* u_long */ |
1132 | break; |
1133 | } |
1134 | /* searchfs */ |
1135 | case 225: { |
1136 | struct searchfs_args *p = params; |
1137 | uarg[0] = (uint64_t) p->path; /* const char * */ |
1138 | uarg[1] = (uint64_t) p->searchblock; /* struct fssearchblock * */ |
1139 | uarg[2] = (uint64_t) p->nummatches; /* uint32_t * */ |
1140 | uarg[3] = (uint64_t) p->scriptcode; /* uint32_t */ |
1141 | uarg[4] = (uint64_t) p->options; /* uint32_t */ |
1142 | uarg[5] = (uint64_t) p->state; /* struct searchstate * */ |
1143 | break; |
1144 | } |
1145 | /* delete */ |
1146 | case 226: { |
1147 | struct delete_args *p = params; |
1148 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1149 | break; |
1150 | } |
1151 | /* copyfile */ |
1152 | case 227: { |
1153 | struct copyfile_args *p = params; |
1154 | uarg[0] = (uint64_t) p->from; /* char * */ |
1155 | uarg[1] = (uint64_t) p->to; /* char * */ |
1156 | iarg[2] = (int64_t) p->mode; /* int */ |
1157 | iarg[3] = (int64_t) p->flags; /* int */ |
1158 | break; |
1159 | } |
1160 | /* fgetattrlist */ |
1161 | case 228: { |
1162 | struct fgetattrlist_args *p = params; |
1163 | iarg[0] = (int64_t) p->fd; /* int */ |
1164 | uarg[1] = (uint64_t) p->alist; /* struct attrlist * */ |
1165 | uarg[2] = (uint64_t) p->attributeBuffer; /* void * */ |
1166 | uarg[3] = (uint64_t) p->bufferSize; /* size_t */ |
1167 | uarg[4] = (uint64_t) p->options; /* u_long */ |
1168 | break; |
1169 | } |
1170 | /* fsetattrlist */ |
1171 | case 229: { |
1172 | struct fsetattrlist_args *p = params; |
1173 | iarg[0] = (int64_t) p->fd; /* int */ |
1174 | uarg[1] = (uint64_t) p->alist; /* struct attrlist * */ |
1175 | uarg[2] = (uint64_t) p->attributeBuffer; /* void * */ |
1176 | uarg[3] = (uint64_t) p->bufferSize; /* size_t */ |
1177 | uarg[4] = (uint64_t) p->options; /* u_long */ |
1178 | break; |
1179 | } |
1180 | /* poll */ |
1181 | case 230: { |
1182 | struct poll_args *p = params; |
1183 | uarg[0] = (uint64_t) p->fds; /* struct pollfd * */ |
1184 | uarg[1] = (uint64_t) p->nfds; /* u_int */ |
1185 | iarg[2] = (int64_t) p->timeout; /* int */ |
1186 | break; |
1187 | } |
1188 | /* getxattr */ |
1189 | case 234: { |
1190 | struct getxattr_args *p = params; |
1191 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1192 | uarg[1] = (uint64_t) p->attrname; /* user_addr_t */ |
1193 | uarg[2] = (uint64_t) p->value; /* user_addr_t */ |
1194 | uarg[3] = (uint64_t) p->size; /* size_t */ |
1195 | uarg[4] = (uint64_t) p->position; /* uint32_t */ |
1196 | iarg[5] = (int64_t) p->options; /* int */ |
1197 | break; |
1198 | } |
1199 | /* fgetxattr */ |
1200 | case 235: { |
1201 | struct fgetxattr_args *p = params; |
1202 | iarg[0] = (int64_t) p->fd; /* int */ |
1203 | uarg[1] = (uint64_t) p->attrname; /* user_addr_t */ |
1204 | uarg[2] = (uint64_t) p->value; /* user_addr_t */ |
1205 | uarg[3] = (uint64_t) p->size; /* size_t */ |
1206 | uarg[4] = (uint64_t) p->position; /* uint32_t */ |
1207 | iarg[5] = (int64_t) p->options; /* int */ |
1208 | break; |
1209 | } |
1210 | /* setxattr */ |
1211 | case 236: { |
1212 | struct setxattr_args *p = params; |
1213 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1214 | uarg[1] = (uint64_t) p->attrname; /* user_addr_t */ |
1215 | uarg[2] = (uint64_t) p->value; /* user_addr_t */ |
1216 | uarg[3] = (uint64_t) p->size; /* size_t */ |
1217 | uarg[4] = (uint64_t) p->position; /* uint32_t */ |
1218 | iarg[5] = (int64_t) p->options; /* int */ |
1219 | break; |
1220 | } |
1221 | /* fsetxattr */ |
1222 | case 237: { |
1223 | struct fsetxattr_args *p = params; |
1224 | iarg[0] = (int64_t) p->fd; /* int */ |
1225 | uarg[1] = (uint64_t) p->attrname; /* user_addr_t */ |
1226 | uarg[2] = (uint64_t) p->value; /* user_addr_t */ |
1227 | uarg[3] = (uint64_t) p->size; /* size_t */ |
1228 | uarg[4] = (uint64_t) p->position; /* uint32_t */ |
1229 | iarg[5] = (int64_t) p->options; /* int */ |
1230 | break; |
1231 | } |
1232 | /* removexattr */ |
1233 | case 238: { |
1234 | struct removexattr_args *p = params; |
1235 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1236 | uarg[1] = (uint64_t) p->attrname; /* user_addr_t */ |
1237 | iarg[2] = (int64_t) p->options; /* int */ |
1238 | break; |
1239 | } |
1240 | /* fremovexattr */ |
1241 | case 239: { |
1242 | struct fremovexattr_args *p = params; |
1243 | iarg[0] = (int64_t) p->fd; /* int */ |
1244 | uarg[1] = (uint64_t) p->attrname; /* user_addr_t */ |
1245 | iarg[2] = (int64_t) p->options; /* int */ |
1246 | break; |
1247 | } |
1248 | /* listxattr */ |
1249 | case 240: { |
1250 | struct listxattr_args *p = params; |
1251 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1252 | uarg[1] = (uint64_t) p->namebuf; /* user_addr_t */ |
1253 | uarg[2] = (uint64_t) p->bufsize; /* size_t */ |
1254 | iarg[3] = (int64_t) p->options; /* int */ |
1255 | break; |
1256 | } |
1257 | /* flistxattr */ |
1258 | case 241: { |
1259 | struct flistxattr_args *p = params; |
1260 | iarg[0] = (int64_t) p->fd; /* int */ |
1261 | uarg[1] = (uint64_t) p->namebuf; /* user_addr_t */ |
1262 | uarg[2] = (uint64_t) p->bufsize; /* size_t */ |
1263 | iarg[3] = (int64_t) p->options; /* int */ |
1264 | break; |
1265 | } |
1266 | /* fsctl */ |
1267 | case 242: { |
1268 | struct fsctl_args *p = params; |
1269 | uarg[0] = (uint64_t) p->path; /* const char * */ |
1270 | uarg[1] = (uint64_t) p->cmd; /* u_long */ |
1271 | uarg[2] = (uint64_t) p->data; /* caddr_t */ |
1272 | uarg[3] = (uint64_t) p->options; /* u_int */ |
1273 | break; |
1274 | } |
1275 | /* initgroups */ |
1276 | case 243: { |
1277 | struct initgroups_args *p = params; |
1278 | uarg[0] = (uint64_t) p->gidsetsize; /* u_int */ |
1279 | uarg[1] = (uint64_t) p->gidset; /* gid_t * */ |
1280 | iarg[2] = (int64_t) p->gmuid; /* int */ |
1281 | break; |
1282 | } |
1283 | /* posix_spawn */ |
1284 | case 244: { |
1285 | struct posix_spawn_args *p = params; |
1286 | uarg[0] = (uint64_t) p->pid; /* pid_t * */ |
1287 | uarg[1] = (uint64_t) p->path; /* const char * */ |
1288 | uarg[2] = (uint64_t) p->adesc; /* const struct _posix_spawn_args_desc * */ |
1289 | uarg[3] = (uint64_t) p->argv; /* char ** */ |
1290 | uarg[4] = (uint64_t) p->envp; /* char ** */ |
1291 | break; |
1292 | } |
1293 | /* ffsctl */ |
1294 | case 245: { |
1295 | struct ffsctl_args *p = params; |
1296 | iarg[0] = (int64_t) p->fd; /* int */ |
1297 | uarg[1] = (uint64_t) p->cmd; /* u_long */ |
1298 | uarg[2] = (uint64_t) p->data; /* caddr_t */ |
1299 | uarg[3] = (uint64_t) p->options; /* u_int */ |
1300 | break; |
1301 | } |
1302 | #if NFSSERVER /* XXX */ |
1303 | /* fhopen */ |
1304 | case 248: { |
1305 | struct fhopen_args *p = params; |
1306 | uarg[0] = (uint64_t) p->u_fhp; /* const struct fhandle * */ |
1307 | iarg[1] = (int64_t) p->flags; /* int */ |
1308 | break; |
1309 | } |
1310 | #else |
1311 | #endif |
1312 | /* minherit */ |
1313 | case 250: { |
1314 | struct minherit_args *p = params; |
1315 | uarg[0] = (uint64_t) p->addr; /* void * */ |
1316 | uarg[1] = (uint64_t) p->len; /* size_t */ |
1317 | iarg[2] = (int64_t) p->inherit; /* int */ |
1318 | break; |
1319 | } |
1320 | #if SYSV_SEM |
1321 | /* semsys */ |
1322 | case 251: { |
1323 | struct semsys_args *p = params; |
1324 | uarg[0] = (uint64_t) p->which; /* u_int */ |
1325 | iarg[1] = (int64_t) p->a2; /* int */ |
1326 | iarg[2] = (int64_t) p->a3; /* int */ |
1327 | iarg[3] = (int64_t) p->a4; /* int */ |
1328 | iarg[4] = (int64_t) p->a5; /* int */ |
1329 | break; |
1330 | } |
1331 | #else |
1332 | #endif |
1333 | #if SYSV_MSG |
1334 | /* msgsys */ |
1335 | case 252: { |
1336 | struct msgsys_args *p = params; |
1337 | uarg[0] = (uint64_t) p->which; /* u_int */ |
1338 | iarg[1] = (int64_t) p->a2; /* int */ |
1339 | iarg[2] = (int64_t) p->a3; /* int */ |
1340 | iarg[3] = (int64_t) p->a4; /* int */ |
1341 | iarg[4] = (int64_t) p->a5; /* int */ |
1342 | break; |
1343 | } |
1344 | #else |
1345 | #endif |
1346 | #if SYSV_SHM |
1347 | /* shmsys */ |
1348 | case 253: { |
1349 | struct shmsys_args *p = params; |
1350 | uarg[0] = (uint64_t) p->which; /* u_int */ |
1351 | iarg[1] = (int64_t) p->a2; /* int */ |
1352 | iarg[2] = (int64_t) p->a3; /* int */ |
1353 | iarg[3] = (int64_t) p->a4; /* int */ |
1354 | break; |
1355 | } |
1356 | #else |
1357 | #endif |
1358 | #if SYSV_SEM |
1359 | /* semctl */ |
1360 | case 254: { |
1361 | struct semctl_args *p = params; |
1362 | iarg[0] = (int64_t) p->semid; /* int */ |
1363 | iarg[1] = (int64_t) p->semnum; /* int */ |
1364 | iarg[2] = (int64_t) p->cmd; /* int */ |
1365 | iarg[3] = (int64_t) p->arg; /* semun_t */ |
1366 | break; |
1367 | } |
1368 | /* semget */ |
1369 | case 255: { |
1370 | struct semget_args *p = params; |
1371 | iarg[0] = (int64_t) p->key; /* key_t */ |
1372 | iarg[1] = (int64_t) p->nsems; /* int */ |
1373 | iarg[2] = (int64_t) p->semflg; /* int */ |
1374 | break; |
1375 | } |
1376 | /* semop */ |
1377 | case 256: { |
1378 | struct semop_args *p = params; |
1379 | iarg[0] = (int64_t) p->semid; /* int */ |
1380 | uarg[1] = (uint64_t) p->sops; /* struct sembuf * */ |
1381 | iarg[2] = (int64_t) p->nsops; /* int */ |
1382 | break; |
1383 | } |
1384 | #else |
1385 | #endif |
1386 | #if SYSV_MSG |
1387 | /* msgctl */ |
1388 | case 258: { |
1389 | struct msgctl_args *p = params; |
1390 | iarg[0] = (int64_t) p->msqid; /* int */ |
1391 | iarg[1] = (int64_t) p->cmd; /* int */ |
1392 | uarg[2] = (uint64_t) p->buf; /* struct msqid_ds * */ |
1393 | break; |
1394 | } |
1395 | /* msgget */ |
1396 | case 259: { |
1397 | struct msgget_args *p = params; |
1398 | iarg[0] = (int64_t) p->key; /* key_t */ |
1399 | iarg[1] = (int64_t) p->msgflg; /* int */ |
1400 | break; |
1401 | } |
1402 | /* msgsnd */ |
1403 | case 260: { |
1404 | struct msgsnd_args *p = params; |
1405 | iarg[0] = (int64_t) p->msqid; /* int */ |
1406 | uarg[1] = (uint64_t) p->msgp; /* void * */ |
1407 | uarg[2] = (uint64_t) p->msgsz; /* size_t */ |
1408 | iarg[3] = (int64_t) p->msgflg; /* int */ |
1409 | break; |
1410 | } |
1411 | /* msgrcv */ |
1412 | case 261: { |
1413 | struct msgrcv_args *p = params; |
1414 | iarg[0] = (int64_t) p->msqid; /* int */ |
1415 | uarg[1] = (uint64_t) p->msgp; /* void * */ |
1416 | uarg[2] = (uint64_t) p->msgsz; /* size_t */ |
1417 | iarg[3] = (int64_t) p->msgtyp; /* long */ |
1418 | iarg[4] = (int64_t) p->msgflg; /* int */ |
1419 | break; |
1420 | } |
1421 | #else |
1422 | #endif |
1423 | #if SYSV_SHM |
1424 | /* shmat */ |
1425 | case 262: { |
1426 | struct shmat_args *p = params; |
1427 | iarg[0] = (int64_t) p->shmid; /* int */ |
1428 | uarg[1] = (uint64_t) p->shmaddr; /* void * */ |
1429 | iarg[2] = (int64_t) p->shmflg; /* int */ |
1430 | break; |
1431 | } |
1432 | /* shmctl */ |
1433 | case 263: { |
1434 | struct shmctl_args *p = params; |
1435 | iarg[0] = (int64_t) p->shmid; /* int */ |
1436 | iarg[1] = (int64_t) p->cmd; /* int */ |
1437 | uarg[2] = (uint64_t) p->buf; /* struct shmid_ds * */ |
1438 | break; |
1439 | } |
1440 | /* shmdt */ |
1441 | case 264: { |
1442 | struct shmdt_args *p = params; |
1443 | uarg[0] = (uint64_t) p->shmaddr; /* void * */ |
1444 | break; |
1445 | } |
1446 | /* shmget */ |
1447 | case 265: { |
1448 | struct shmget_args *p = params; |
1449 | iarg[0] = (int64_t) p->key; /* key_t */ |
1450 | uarg[1] = (uint64_t) p->size; /* size_t */ |
1451 | iarg[2] = (int64_t) p->shmflg; /* int */ |
1452 | break; |
1453 | } |
1454 | #else |
1455 | #endif |
1456 | /* shm_open */ |
1457 | case 266: { |
1458 | struct shm_open_args *p = params; |
1459 | uarg[0] = (uint64_t) p->name; /* const char * */ |
1460 | iarg[1] = (int64_t) p->oflag; /* int */ |
1461 | iarg[2] = (int64_t) p->mode; /* int */ |
1462 | break; |
1463 | } |
1464 | /* shm_unlink */ |
1465 | case 267: { |
1466 | struct shm_unlink_args *p = params; |
1467 | uarg[0] = (uint64_t) p->name; /* const char * */ |
1468 | break; |
1469 | } |
1470 | /* sem_open */ |
1471 | case 268: { |
1472 | struct sem_open_args *p = params; |
1473 | uarg[0] = (uint64_t) p->name; /* const char * */ |
1474 | iarg[1] = (int64_t) p->oflag; /* int */ |
1475 | iarg[2] = (int64_t) p->mode; /* int */ |
1476 | iarg[3] = (int64_t) p->value; /* int */ |
1477 | break; |
1478 | } |
1479 | /* sem_close */ |
1480 | case 269: { |
1481 | struct sem_close_args *p = params; |
1482 | uarg[0] = (uint64_t) p->sem; /* sem_t * */ |
1483 | break; |
1484 | } |
1485 | /* sem_unlink */ |
1486 | case 270: { |
1487 | struct sem_unlink_args *p = params; |
1488 | uarg[0] = (uint64_t) p->name; /* const char * */ |
1489 | break; |
1490 | } |
1491 | /* sem_wait */ |
1492 | case 271: { |
1493 | struct sem_wait_args *p = params; |
1494 | uarg[0] = (uint64_t) p->sem; /* sem_t * */ |
1495 | break; |
1496 | } |
1497 | /* sem_trywait */ |
1498 | case 272: { |
1499 | struct sem_trywait_args *p = params; |
1500 | uarg[0] = (uint64_t) p->sem; /* sem_t * */ |
1501 | break; |
1502 | } |
1503 | /* sem_post */ |
1504 | case 273: { |
1505 | struct sem_post_args *p = params; |
1506 | uarg[0] = (uint64_t) p->sem; /* sem_t * */ |
1507 | break; |
1508 | } |
1509 | /* sys_sysctlbyname */ |
1510 | case 274: { |
1511 | struct sysctlbyname_args *p = params; |
1512 | uarg[0] = (uint64_t) p->name; /* const char * */ |
1513 | uarg[1] = (uint64_t) p->namelen; /* size_t */ |
1514 | uarg[2] = (uint64_t) p->old; /* void * */ |
1515 | uarg[3] = (uint64_t) p->oldlenp; /* size_t * */ |
1516 | uarg[4] = (uint64_t) p->new; /* void * */ |
1517 | uarg[5] = (uint64_t) p->newlen; /* size_t */ |
1518 | break; |
1519 | } |
1520 | /* open_extended */ |
1521 | case 277: { |
1522 | struct open_extended_args *p = params; |
1523 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1524 | iarg[1] = (int64_t) p->flags; /* int */ |
1525 | uarg[2] = (uint64_t) p->uid; /* uid_t */ |
1526 | iarg[3] = (int64_t) p->gid; /* gid_t */ |
1527 | iarg[4] = (int64_t) p->mode; /* int */ |
1528 | uarg[5] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1529 | break; |
1530 | } |
1531 | /* umask_extended */ |
1532 | case 278: { |
1533 | struct umask_extended_args *p = params; |
1534 | iarg[0] = (int64_t) p->newmask; /* int */ |
1535 | uarg[1] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1536 | break; |
1537 | } |
1538 | /* stat_extended */ |
1539 | case 279: { |
1540 | struct stat_extended_args *p = params; |
1541 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1542 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
1543 | uarg[2] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1544 | uarg[3] = (uint64_t) p->xsecurity_size; /* user_addr_t */ |
1545 | break; |
1546 | } |
1547 | /* lstat_extended */ |
1548 | case 280: { |
1549 | struct lstat_extended_args *p = params; |
1550 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1551 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
1552 | uarg[2] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1553 | uarg[3] = (uint64_t) p->xsecurity_size; /* user_addr_t */ |
1554 | break; |
1555 | } |
1556 | /* sys_fstat_extended */ |
1557 | case 281: { |
1558 | struct fstat_extended_args *p = params; |
1559 | iarg[0] = (int64_t) p->fd; /* int */ |
1560 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
1561 | uarg[2] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1562 | uarg[3] = (uint64_t) p->xsecurity_size; /* user_addr_t */ |
1563 | break; |
1564 | } |
1565 | /* chmod_extended */ |
1566 | case 282: { |
1567 | struct chmod_extended_args *p = params; |
1568 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1569 | uarg[1] = (uint64_t) p->uid; /* uid_t */ |
1570 | iarg[2] = (int64_t) p->gid; /* gid_t */ |
1571 | iarg[3] = (int64_t) p->mode; /* int */ |
1572 | uarg[4] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1573 | break; |
1574 | } |
1575 | /* fchmod_extended */ |
1576 | case 283: { |
1577 | struct fchmod_extended_args *p = params; |
1578 | iarg[0] = (int64_t) p->fd; /* int */ |
1579 | uarg[1] = (uint64_t) p->uid; /* uid_t */ |
1580 | iarg[2] = (int64_t) p->gid; /* gid_t */ |
1581 | iarg[3] = (int64_t) p->mode; /* int */ |
1582 | uarg[4] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1583 | break; |
1584 | } |
1585 | /* access_extended */ |
1586 | case 284: { |
1587 | struct access_extended_args *p = params; |
1588 | uarg[0] = (uint64_t) p->entries; /* user_addr_t */ |
1589 | uarg[1] = (uint64_t) p->size; /* size_t */ |
1590 | uarg[2] = (uint64_t) p->results; /* user_addr_t */ |
1591 | uarg[3] = (uint64_t) p->uid; /* uid_t */ |
1592 | break; |
1593 | } |
1594 | /* sys_settid */ |
1595 | case 285: { |
1596 | struct settid_args *p = params; |
1597 | uarg[0] = (uint64_t) p->uid; /* uid_t */ |
1598 | iarg[1] = (int64_t) p->gid; /* gid_t */ |
1599 | break; |
1600 | } |
1601 | /* gettid */ |
1602 | case 286: { |
1603 | struct gettid_args *p = params; |
1604 | uarg[0] = (uint64_t) p->uidp; /* uid_t * */ |
1605 | uarg[1] = (uint64_t) p->gidp; /* gid_t * */ |
1606 | break; |
1607 | } |
1608 | /* setsgroups */ |
1609 | case 287: { |
1610 | struct setsgroups_args *p = params; |
1611 | iarg[0] = (int64_t) p->setlen; /* int */ |
1612 | uarg[1] = (uint64_t) p->guidset; /* user_addr_t */ |
1613 | break; |
1614 | } |
1615 | /* getsgroups */ |
1616 | case 288: { |
1617 | struct getsgroups_args *p = params; |
1618 | uarg[0] = (uint64_t) p->setlen; /* user_addr_t */ |
1619 | uarg[1] = (uint64_t) p->guidset; /* user_addr_t */ |
1620 | break; |
1621 | } |
1622 | /* setwgroups */ |
1623 | case 289: { |
1624 | struct setwgroups_args *p = params; |
1625 | iarg[0] = (int64_t) p->setlen; /* int */ |
1626 | uarg[1] = (uint64_t) p->guidset; /* user_addr_t */ |
1627 | break; |
1628 | } |
1629 | /* getwgroups */ |
1630 | case 290: { |
1631 | struct getwgroups_args *p = params; |
1632 | uarg[0] = (uint64_t) p->setlen; /* user_addr_t */ |
1633 | uarg[1] = (uint64_t) p->guidset; /* user_addr_t */ |
1634 | break; |
1635 | } |
1636 | /* mkfifo_extended */ |
1637 | case 291: { |
1638 | struct mkfifo_extended_args *p = params; |
1639 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1640 | uarg[1] = (uint64_t) p->uid; /* uid_t */ |
1641 | iarg[2] = (int64_t) p->gid; /* gid_t */ |
1642 | iarg[3] = (int64_t) p->mode; /* int */ |
1643 | uarg[4] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1644 | break; |
1645 | } |
1646 | /* mkdir_extended */ |
1647 | case 292: { |
1648 | struct mkdir_extended_args *p = params; |
1649 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
1650 | uarg[1] = (uint64_t) p->uid; /* uid_t */ |
1651 | iarg[2] = (int64_t) p->gid; /* gid_t */ |
1652 | iarg[3] = (int64_t) p->mode; /* int */ |
1653 | uarg[4] = (uint64_t) p->xsecurity; /* user_addr_t */ |
1654 | break; |
1655 | } |
1656 | #if CONFIG_EXT_RESOLVER |
1657 | /* identitysvc */ |
1658 | case 293: { |
1659 | struct identitysvc_args *p = params; |
1660 | iarg[0] = (int64_t) p->opcode; /* int */ |
1661 | uarg[1] = (uint64_t) p->message; /* user_addr_t */ |
1662 | break; |
1663 | } |
1664 | #else |
1665 | #endif |
1666 | /* shared_region_check_np */ |
1667 | case 294: { |
1668 | struct shared_region_check_np_args *p = params; |
1669 | uarg[0] = (uint64_t) p->start_address; /* uint64_t * */ |
1670 | break; |
1671 | } |
1672 | /* vm_pressure_monitor */ |
1673 | case 296: { |
1674 | struct vm_pressure_monitor_args *p = params; |
1675 | iarg[0] = (int64_t) p->wait_for_pressure; /* int */ |
1676 | iarg[1] = (int64_t) p->nsecs_monitored; /* int */ |
1677 | uarg[2] = (uint64_t) p->pages_reclaimed; /* uint32_t * */ |
1678 | break; |
1679 | } |
1680 | #if PSYNCH |
1681 | /* psynch_rw_longrdlock */ |
1682 | case 297: { |
1683 | struct psynch_rw_longrdlock_args *p = params; |
1684 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1685 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1686 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1687 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1688 | iarg[4] = (int64_t) p->flags; /* int */ |
1689 | break; |
1690 | } |
1691 | /* psynch_rw_yieldwrlock */ |
1692 | case 298: { |
1693 | struct psynch_rw_yieldwrlock_args *p = params; |
1694 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1695 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1696 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1697 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1698 | iarg[4] = (int64_t) p->flags; /* int */ |
1699 | break; |
1700 | } |
1701 | /* psynch_rw_downgrade */ |
1702 | case 299: { |
1703 | struct psynch_rw_downgrade_args *p = params; |
1704 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1705 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1706 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1707 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1708 | iarg[4] = (int64_t) p->flags; /* int */ |
1709 | break; |
1710 | } |
1711 | /* psynch_rw_upgrade */ |
1712 | case 300: { |
1713 | struct psynch_rw_upgrade_args *p = params; |
1714 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1715 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1716 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1717 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1718 | iarg[4] = (int64_t) p->flags; /* int */ |
1719 | break; |
1720 | } |
1721 | /* psynch_mutexwait */ |
1722 | case 301: { |
1723 | struct psynch_mutexwait_args *p = params; |
1724 | uarg[0] = (uint64_t) p->mutex; /* user_addr_t */ |
1725 | uarg[1] = (uint64_t) p->mgen; /* uint32_t */ |
1726 | uarg[2] = (uint64_t) p->ugen; /* uint32_t */ |
1727 | uarg[3] = (uint64_t) p->tid; /* uint64_t */ |
1728 | uarg[4] = (uint64_t) p->flags; /* uint32_t */ |
1729 | break; |
1730 | } |
1731 | /* psynch_mutexdrop */ |
1732 | case 302: { |
1733 | struct psynch_mutexdrop_args *p = params; |
1734 | uarg[0] = (uint64_t) p->mutex; /* user_addr_t */ |
1735 | uarg[1] = (uint64_t) p->mgen; /* uint32_t */ |
1736 | uarg[2] = (uint64_t) p->ugen; /* uint32_t */ |
1737 | uarg[3] = (uint64_t) p->tid; /* uint64_t */ |
1738 | uarg[4] = (uint64_t) p->flags; /* uint32_t */ |
1739 | break; |
1740 | } |
1741 | /* psynch_cvbroad */ |
1742 | case 303: { |
1743 | struct psynch_cvbroad_args *p = params; |
1744 | uarg[0] = (uint64_t) p->cv; /* user_addr_t */ |
1745 | uarg[1] = (uint64_t) p->cvlsgen; /* uint64_t */ |
1746 | uarg[2] = (uint64_t) p->cvudgen; /* uint64_t */ |
1747 | uarg[3] = (uint64_t) p->flags; /* uint32_t */ |
1748 | uarg[4] = (uint64_t) p->mutex; /* user_addr_t */ |
1749 | uarg[5] = (uint64_t) p->mugen; /* uint64_t */ |
1750 | uarg[6] = (uint64_t) p->tid; /* uint64_t */ |
1751 | break; |
1752 | } |
1753 | /* psynch_cvsignal */ |
1754 | case 304: { |
1755 | struct psynch_cvsignal_args *p = params; |
1756 | uarg[0] = (uint64_t) p->cv; /* user_addr_t */ |
1757 | uarg[1] = (uint64_t) p->cvlsgen; /* uint64_t */ |
1758 | uarg[2] = (uint64_t) p->cvugen; /* uint32_t */ |
1759 | iarg[3] = (int64_t) p->thread_port; /* int */ |
1760 | uarg[4] = (uint64_t) p->mutex; /* user_addr_t */ |
1761 | uarg[5] = (uint64_t) p->mugen; /* uint64_t */ |
1762 | uarg[6] = (uint64_t) p->tid; /* uint64_t */ |
1763 | uarg[7] = (uint64_t) p->flags; /* uint32_t */ |
1764 | break; |
1765 | } |
1766 | /* psynch_cvwait */ |
1767 | case 305: { |
1768 | struct psynch_cvwait_args *p = params; |
1769 | uarg[0] = (uint64_t) p->cv; /* user_addr_t */ |
1770 | uarg[1] = (uint64_t) p->cvlsgen; /* uint64_t */ |
1771 | uarg[2] = (uint64_t) p->cvugen; /* uint32_t */ |
1772 | uarg[3] = (uint64_t) p->mutex; /* user_addr_t */ |
1773 | uarg[4] = (uint64_t) p->mugen; /* uint64_t */ |
1774 | uarg[5] = (uint64_t) p->flags; /* uint32_t */ |
1775 | iarg[6] = (int64_t) p->sec; /* int64_t */ |
1776 | uarg[7] = (uint64_t) p->nsec; /* uint32_t */ |
1777 | break; |
1778 | } |
1779 | /* psynch_rw_rdlock */ |
1780 | case 306: { |
1781 | struct psynch_rw_rdlock_args *p = params; |
1782 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1783 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1784 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1785 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1786 | iarg[4] = (int64_t) p->flags; /* int */ |
1787 | break; |
1788 | } |
1789 | /* psynch_rw_wrlock */ |
1790 | case 307: { |
1791 | struct psynch_rw_wrlock_args *p = params; |
1792 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1793 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1794 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1795 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1796 | iarg[4] = (int64_t) p->flags; /* int */ |
1797 | break; |
1798 | } |
1799 | /* psynch_rw_unlock */ |
1800 | case 308: { |
1801 | struct psynch_rw_unlock_args *p = params; |
1802 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1803 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1804 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1805 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1806 | iarg[4] = (int64_t) p->flags; /* int */ |
1807 | break; |
1808 | } |
1809 | /* psynch_rw_unlock2 */ |
1810 | case 309: { |
1811 | struct psynch_rw_unlock2_args *p = params; |
1812 | uarg[0] = (uint64_t) p->rwlock; /* user_addr_t */ |
1813 | uarg[1] = (uint64_t) p->lgenval; /* uint32_t */ |
1814 | uarg[2] = (uint64_t) p->ugenval; /* uint32_t */ |
1815 | uarg[3] = (uint64_t) p->rw_wc; /* uint32_t */ |
1816 | iarg[4] = (int64_t) p->flags; /* int */ |
1817 | break; |
1818 | } |
1819 | #else |
1820 | #endif |
1821 | /* getsid */ |
1822 | case 310: { |
1823 | struct getsid_args *p = params; |
1824 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
1825 | break; |
1826 | } |
1827 | /* sys_settid_with_pid */ |
1828 | case 311: { |
1829 | struct settid_with_pid_args *p = params; |
1830 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
1831 | iarg[1] = (int64_t) p->assume; /* int */ |
1832 | break; |
1833 | } |
1834 | #if PSYNCH |
1835 | /* psynch_cvclrprepost */ |
1836 | case 312: { |
1837 | struct psynch_cvclrprepost_args *p = params; |
1838 | uarg[0] = (uint64_t) p->cv; /* user_addr_t */ |
1839 | uarg[1] = (uint64_t) p->cvgen; /* uint32_t */ |
1840 | uarg[2] = (uint64_t) p->cvugen; /* uint32_t */ |
1841 | uarg[3] = (uint64_t) p->cvsgen; /* uint32_t */ |
1842 | uarg[4] = (uint64_t) p->prepocnt; /* uint32_t */ |
1843 | uarg[5] = (uint64_t) p->preposeq; /* uint32_t */ |
1844 | uarg[6] = (uint64_t) p->flags; /* uint32_t */ |
1845 | break; |
1846 | } |
1847 | #else |
1848 | #endif |
1849 | /* aio_fsync */ |
1850 | case 313: { |
1851 | struct aio_fsync_args *p = params; |
1852 | iarg[0] = (int64_t) p->op; /* int */ |
1853 | uarg[1] = (uint64_t) p->aiocbp; /* user_addr_t */ |
1854 | break; |
1855 | } |
1856 | /* aio_return */ |
1857 | case 314: { |
1858 | struct aio_return_args *p = params; |
1859 | uarg[0] = (uint64_t) p->aiocbp; /* user_addr_t */ |
1860 | break; |
1861 | } |
1862 | /* aio_suspend */ |
1863 | case 315: { |
1864 | struct aio_suspend_args *p = params; |
1865 | uarg[0] = (uint64_t) p->aiocblist; /* user_addr_t */ |
1866 | iarg[1] = (int64_t) p->nent; /* int */ |
1867 | uarg[2] = (uint64_t) p->timeoutp; /* user_addr_t */ |
1868 | break; |
1869 | } |
1870 | /* aio_cancel */ |
1871 | case 316: { |
1872 | struct aio_cancel_args *p = params; |
1873 | iarg[0] = (int64_t) p->fd; /* int */ |
1874 | uarg[1] = (uint64_t) p->aiocbp; /* user_addr_t */ |
1875 | break; |
1876 | } |
1877 | /* aio_error */ |
1878 | case 317: { |
1879 | struct aio_error_args *p = params; |
1880 | uarg[0] = (uint64_t) p->aiocbp; /* user_addr_t */ |
1881 | break; |
1882 | } |
1883 | /* aio_read */ |
1884 | case 318: { |
1885 | struct aio_read_args *p = params; |
1886 | uarg[0] = (uint64_t) p->aiocbp; /* user_addr_t */ |
1887 | break; |
1888 | } |
1889 | /* aio_write */ |
1890 | case 319: { |
1891 | struct aio_write_args *p = params; |
1892 | uarg[0] = (uint64_t) p->aiocbp; /* user_addr_t */ |
1893 | break; |
1894 | } |
1895 | /* lio_listio */ |
1896 | case 320: { |
1897 | struct lio_listio_args *p = params; |
1898 | iarg[0] = (int64_t) p->mode; /* int */ |
1899 | uarg[1] = (uint64_t) p->aiocblist; /* user_addr_t */ |
1900 | iarg[2] = (int64_t) p->nent; /* int */ |
1901 | uarg[3] = (uint64_t) p->sigp; /* user_addr_t */ |
1902 | break; |
1903 | } |
1904 | /* iopolicysys */ |
1905 | case 322: { |
1906 | struct iopolicysys_args *p = params; |
1907 | iarg[0] = (int64_t) p->cmd; /* int */ |
1908 | uarg[1] = (uint64_t) p->arg; /* void * */ |
1909 | break; |
1910 | } |
1911 | /* process_policy */ |
1912 | case 323: { |
1913 | struct process_policy_args *p = params; |
1914 | iarg[0] = (int64_t) p->scope; /* int */ |
1915 | iarg[1] = (int64_t) p->action; /* int */ |
1916 | iarg[2] = (int64_t) p->policy; /* int */ |
1917 | iarg[3] = (int64_t) p->policy_subtype; /* int */ |
1918 | uarg[4] = (uint64_t) p->attrp; /* user_addr_t */ |
1919 | iarg[5] = (int64_t) p->target_pid; /* pid_t */ |
1920 | uarg[6] = (uint64_t) p->target_threadid; /* uint64_t */ |
1921 | break; |
1922 | } |
1923 | /* mlockall */ |
1924 | case 324: { |
1925 | struct mlockall_args *p = params; |
1926 | iarg[0] = (int64_t) p->how; /* int */ |
1927 | break; |
1928 | } |
1929 | /* munlockall */ |
1930 | case 325: { |
1931 | struct munlockall_args *p = params; |
1932 | iarg[0] = (int64_t) p->how; /* int */ |
1933 | break; |
1934 | } |
1935 | /* issetugid */ |
1936 | case 327: { |
1937 | break; |
1938 | } |
1939 | /* __pthread_kill */ |
1940 | case 328: { |
1941 | struct __pthread_kill_args *p = params; |
1942 | iarg[0] = (int64_t) p->thread_port; /* int */ |
1943 | iarg[1] = (int64_t) p->sig; /* int */ |
1944 | break; |
1945 | } |
1946 | /* __pthread_sigmask */ |
1947 | case 329: { |
1948 | struct __pthread_sigmask_args *p = params; |
1949 | iarg[0] = (int64_t) p->how; /* int */ |
1950 | uarg[1] = (uint64_t) p->set; /* user_addr_t */ |
1951 | uarg[2] = (uint64_t) p->oset; /* user_addr_t */ |
1952 | break; |
1953 | } |
1954 | /* __sigwait */ |
1955 | case 330: { |
1956 | struct __sigwait_args *p = params; |
1957 | uarg[0] = (uint64_t) p->set; /* user_addr_t */ |
1958 | uarg[1] = (uint64_t) p->sig; /* user_addr_t */ |
1959 | break; |
1960 | } |
1961 | /* __disable_threadsignal */ |
1962 | case 331: { |
1963 | struct __disable_threadsignal_args *p = params; |
1964 | iarg[0] = (int64_t) p->value; /* int */ |
1965 | break; |
1966 | } |
1967 | /* __pthread_markcancel */ |
1968 | case 332: { |
1969 | struct __pthread_markcancel_args *p = params; |
1970 | iarg[0] = (int64_t) p->thread_port; /* int */ |
1971 | break; |
1972 | } |
1973 | /* __pthread_canceled */ |
1974 | case 333: { |
1975 | struct __pthread_canceled_args *p = params; |
1976 | iarg[0] = (int64_t) p->action; /* int */ |
1977 | break; |
1978 | } |
1979 | /* __semwait_signal */ |
1980 | case 334: { |
1981 | struct __semwait_signal_args *p = params; |
1982 | iarg[0] = (int64_t) p->cond_sem; /* int */ |
1983 | iarg[1] = (int64_t) p->mutex_sem; /* int */ |
1984 | iarg[2] = (int64_t) p->timeout; /* int */ |
1985 | iarg[3] = (int64_t) p->relative; /* int */ |
1986 | iarg[4] = (int64_t) p->tv_sec; /* int64_t */ |
1987 | iarg[5] = (int64_t) p->tv_nsec; /* int32_t */ |
1988 | break; |
1989 | } |
1990 | /* proc_info */ |
1991 | case 336: { |
1992 | struct proc_info_args *p = params; |
1993 | iarg[0] = (int64_t) p->callnum; /* int32_t */ |
1994 | iarg[1] = (int64_t) p->pid; /* int32_t */ |
1995 | uarg[2] = (uint64_t) p->flavor; /* uint32_t */ |
1996 | uarg[3] = (uint64_t) p->arg; /* uint64_t */ |
1997 | uarg[4] = (uint64_t) p->buffer; /* user_addr_t */ |
1998 | iarg[5] = (int64_t) p->buffersize; /* int32_t */ |
1999 | break; |
2000 | } |
2001 | #if SENDFILE |
2002 | /* sendfile */ |
2003 | case 337: { |
2004 | struct sendfile_args *p = params; |
2005 | iarg[0] = (int64_t) p->fd; /* int */ |
2006 | iarg[1] = (int64_t) p->s; /* int */ |
2007 | iarg[2] = (int64_t) p->offset; /* off_t */ |
2008 | uarg[3] = (uint64_t) p->nbytes; /* off_t * */ |
2009 | uarg[4] = (uint64_t) p->hdtr; /* struct sf_hdtr * */ |
2010 | iarg[5] = (int64_t) p->flags; /* int */ |
2011 | break; |
2012 | } |
2013 | #else /* !SENDFILE */ |
2014 | #endif /* SENDFILE */ |
2015 | /* stat64 */ |
2016 | case 338: { |
2017 | struct stat64_args *p = params; |
2018 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2019 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
2020 | break; |
2021 | } |
2022 | /* sys_fstat64 */ |
2023 | case 339: { |
2024 | struct fstat64_args *p = params; |
2025 | iarg[0] = (int64_t) p->fd; /* int */ |
2026 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
2027 | break; |
2028 | } |
2029 | /* lstat64 */ |
2030 | case 340: { |
2031 | struct lstat64_args *p = params; |
2032 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2033 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
2034 | break; |
2035 | } |
2036 | /* stat64_extended */ |
2037 | case 341: { |
2038 | struct stat64_extended_args *p = params; |
2039 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2040 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
2041 | uarg[2] = (uint64_t) p->xsecurity; /* user_addr_t */ |
2042 | uarg[3] = (uint64_t) p->xsecurity_size; /* user_addr_t */ |
2043 | break; |
2044 | } |
2045 | /* lstat64_extended */ |
2046 | case 342: { |
2047 | struct lstat64_extended_args *p = params; |
2048 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2049 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
2050 | uarg[2] = (uint64_t) p->xsecurity; /* user_addr_t */ |
2051 | uarg[3] = (uint64_t) p->xsecurity_size; /* user_addr_t */ |
2052 | break; |
2053 | } |
2054 | /* sys_fstat64_extended */ |
2055 | case 343: { |
2056 | struct fstat64_extended_args *p = params; |
2057 | iarg[0] = (int64_t) p->fd; /* int */ |
2058 | uarg[1] = (uint64_t) p->ub; /* user_addr_t */ |
2059 | uarg[2] = (uint64_t) p->xsecurity; /* user_addr_t */ |
2060 | uarg[3] = (uint64_t) p->xsecurity_size; /* user_addr_t */ |
2061 | break; |
2062 | } |
2063 | /* getdirentries64 */ |
2064 | case 344: { |
2065 | struct getdirentries64_args *p = params; |
2066 | iarg[0] = (int64_t) p->fd; /* int */ |
2067 | uarg[1] = (uint64_t) p->buf; /* void * */ |
2068 | uarg[2] = (uint64_t) p->bufsize; /* user_size_t */ |
2069 | uarg[3] = (uint64_t) p->position; /* off_t * */ |
2070 | break; |
2071 | } |
2072 | /* statfs64 */ |
2073 | case 345: { |
2074 | struct statfs64_args *p = params; |
2075 | uarg[0] = (uint64_t) p->path; /* char * */ |
2076 | uarg[1] = (uint64_t) p->buf; /* struct statfs64 * */ |
2077 | break; |
2078 | } |
2079 | /* fstatfs64 */ |
2080 | case 346: { |
2081 | struct fstatfs64_args *p = params; |
2082 | iarg[0] = (int64_t) p->fd; /* int */ |
2083 | uarg[1] = (uint64_t) p->buf; /* struct statfs64 * */ |
2084 | break; |
2085 | } |
2086 | /* getfsstat64 */ |
2087 | case 347: { |
2088 | struct getfsstat64_args *p = params; |
2089 | uarg[0] = (uint64_t) p->buf; /* user_addr_t */ |
2090 | iarg[1] = (int64_t) p->bufsize; /* int */ |
2091 | iarg[2] = (int64_t) p->flags; /* int */ |
2092 | break; |
2093 | } |
2094 | /* __pthread_chdir */ |
2095 | case 348: { |
2096 | struct __pthread_chdir_args *p = params; |
2097 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2098 | break; |
2099 | } |
2100 | /* __pthread_fchdir */ |
2101 | case 349: { |
2102 | struct __pthread_fchdir_args *p = params; |
2103 | iarg[0] = (int64_t) p->fd; /* int */ |
2104 | break; |
2105 | } |
2106 | /* audit */ |
2107 | case 350: { |
2108 | struct audit_args *p = params; |
2109 | uarg[0] = (uint64_t) p->record; /* void * */ |
2110 | iarg[1] = (int64_t) p->length; /* int */ |
2111 | break; |
2112 | } |
2113 | /* auditon */ |
2114 | case 351: { |
2115 | struct auditon_args *p = params; |
2116 | iarg[0] = (int64_t) p->cmd; /* int */ |
2117 | uarg[1] = (uint64_t) p->data; /* void * */ |
2118 | iarg[2] = (int64_t) p->length; /* int */ |
2119 | break; |
2120 | } |
2121 | /* getauid */ |
2122 | case 353: { |
2123 | struct getauid_args *p = params; |
2124 | uarg[0] = (uint64_t) p->auid; /* au_id_t * */ |
2125 | break; |
2126 | } |
2127 | /* setauid */ |
2128 | case 354: { |
2129 | struct setauid_args *p = params; |
2130 | uarg[0] = (uint64_t) p->auid; /* au_id_t * */ |
2131 | break; |
2132 | } |
2133 | /* getaudit_addr */ |
2134 | case 357: { |
2135 | struct getaudit_addr_args *p = params; |
2136 | uarg[0] = (uint64_t) p->auditinfo_addr; /* struct auditinfo_addr * */ |
2137 | iarg[1] = (int64_t) p->length; /* int */ |
2138 | break; |
2139 | } |
2140 | /* setaudit_addr */ |
2141 | case 358: { |
2142 | struct setaudit_addr_args *p = params; |
2143 | uarg[0] = (uint64_t) p->auditinfo_addr; /* struct auditinfo_addr * */ |
2144 | iarg[1] = (int64_t) p->length; /* int */ |
2145 | break; |
2146 | } |
2147 | /* auditctl */ |
2148 | case 359: { |
2149 | struct auditctl_args *p = params; |
2150 | uarg[0] = (uint64_t) p->path; /* char * */ |
2151 | break; |
2152 | } |
2153 | /* bsdthread_create */ |
2154 | case 360: { |
2155 | struct bsdthread_create_args *p = params; |
2156 | uarg[0] = (uint64_t) p->func; /* user_addr_t */ |
2157 | uarg[1] = (uint64_t) p->func_arg; /* user_addr_t */ |
2158 | uarg[2] = (uint64_t) p->stack; /* user_addr_t */ |
2159 | uarg[3] = (uint64_t) p->pthread; /* user_addr_t */ |
2160 | uarg[4] = (uint64_t) p->flags; /* uint32_t */ |
2161 | break; |
2162 | } |
2163 | /* bsdthread_terminate */ |
2164 | case 361: { |
2165 | struct bsdthread_terminate_args *p = params; |
2166 | uarg[0] = (uint64_t) p->stackaddr; /* user_addr_t */ |
2167 | uarg[1] = (uint64_t) p->freesize; /* size_t */ |
2168 | uarg[2] = (uint64_t) p->port; /* uint32_t */ |
2169 | uarg[3] = (uint64_t) p->sema_or_ulock; /* user_addr_t */ |
2170 | break; |
2171 | } |
2172 | /* kqueue */ |
2173 | case 362: { |
2174 | break; |
2175 | } |
2176 | /* kevent */ |
2177 | case 363: { |
2178 | struct kevent_args *p = params; |
2179 | iarg[0] = (int64_t) p->fd; /* int */ |
2180 | uarg[1] = (uint64_t) p->changelist; /* const struct kevent * */ |
2181 | iarg[2] = (int64_t) p->nchanges; /* int */ |
2182 | uarg[3] = (uint64_t) p->eventlist; /* struct kevent * */ |
2183 | iarg[4] = (int64_t) p->nevents; /* int */ |
2184 | uarg[5] = (uint64_t) p->timeout; /* const struct timespec * */ |
2185 | break; |
2186 | } |
2187 | /* lchown */ |
2188 | case 364: { |
2189 | struct lchown_args *p = params; |
2190 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2191 | uarg[1] = (uint64_t) p->owner; /* uid_t */ |
2192 | iarg[2] = (int64_t) p->group; /* gid_t */ |
2193 | break; |
2194 | } |
2195 | /* bsdthread_register */ |
2196 | case 366: { |
2197 | struct bsdthread_register_args *p = params; |
2198 | uarg[0] = (uint64_t) p->threadstart; /* user_addr_t */ |
2199 | uarg[1] = (uint64_t) p->wqthread; /* user_addr_t */ |
2200 | uarg[2] = (uint64_t) p->flags; /* uint32_t */ |
2201 | uarg[3] = (uint64_t) p->stack_addr_hint; /* user_addr_t */ |
2202 | uarg[4] = (uint64_t) p->targetconc_ptr; /* user_addr_t */ |
2203 | uarg[5] = (uint64_t) p->dispatchqueue_offset; /* uint32_t */ |
2204 | uarg[6] = (uint64_t) p->tsd_offset; /* uint32_t */ |
2205 | break; |
2206 | } |
2207 | /* workq_open */ |
2208 | case 367: { |
2209 | break; |
2210 | } |
2211 | /* workq_kernreturn */ |
2212 | case 368: { |
2213 | struct workq_kernreturn_args *p = params; |
2214 | iarg[0] = (int64_t) p->options; /* int */ |
2215 | uarg[1] = (uint64_t) p->item; /* user_addr_t */ |
2216 | iarg[2] = (int64_t) p->affinity; /* int */ |
2217 | iarg[3] = (int64_t) p->prio; /* int */ |
2218 | break; |
2219 | } |
2220 | /* kevent64 */ |
2221 | case 369: { |
2222 | struct kevent64_args *p = params; |
2223 | iarg[0] = (int64_t) p->fd; /* int */ |
2224 | uarg[1] = (uint64_t) p->changelist; /* const struct kevent64_s * */ |
2225 | iarg[2] = (int64_t) p->nchanges; /* int */ |
2226 | uarg[3] = (uint64_t) p->eventlist; /* struct kevent64_s * */ |
2227 | iarg[4] = (int64_t) p->nevents; /* int */ |
2228 | uarg[5] = (uint64_t) p->flags; /* unsigned int */ |
2229 | uarg[6] = (uint64_t) p->timeout; /* const struct timespec * */ |
2230 | break; |
2231 | } |
2232 | /* thread_selfid */ |
2233 | case 372: { |
2234 | break; |
2235 | } |
2236 | /* ledger */ |
2237 | case 373: { |
2238 | struct ledger_args *p = params; |
2239 | iarg[0] = (int64_t) p->cmd; /* int */ |
2240 | uarg[1] = (uint64_t) p->arg1; /* caddr_t */ |
2241 | uarg[2] = (uint64_t) p->arg2; /* caddr_t */ |
2242 | uarg[3] = (uint64_t) p->arg3; /* caddr_t */ |
2243 | break; |
2244 | } |
2245 | /* kevent_qos */ |
2246 | case 374: { |
2247 | struct kevent_qos_args *p = params; |
2248 | iarg[0] = (int64_t) p->fd; /* int */ |
2249 | uarg[1] = (uint64_t) p->changelist; /* const struct kevent_qos_s * */ |
2250 | iarg[2] = (int64_t) p->nchanges; /* int */ |
2251 | uarg[3] = (uint64_t) p->eventlist; /* struct kevent_qos_s * */ |
2252 | iarg[4] = (int64_t) p->nevents; /* int */ |
2253 | uarg[5] = (uint64_t) p->data_out; /* void * */ |
2254 | uarg[6] = (uint64_t) p->data_available; /* size_t * */ |
2255 | uarg[7] = (uint64_t) p->flags; /* unsigned int */ |
2256 | break; |
2257 | } |
2258 | /* kevent_id */ |
2259 | case 375: { |
2260 | struct kevent_id_args *p = params; |
2261 | uarg[0] = (uint64_t) p->id; /* uint64_t */ |
2262 | uarg[1] = (uint64_t) p->changelist; /* const struct kevent_qos_s * */ |
2263 | iarg[2] = (int64_t) p->nchanges; /* int */ |
2264 | uarg[3] = (uint64_t) p->eventlist; /* struct kevent_qos_s * */ |
2265 | iarg[4] = (int64_t) p->nevents; /* int */ |
2266 | uarg[5] = (uint64_t) p->data_out; /* void * */ |
2267 | uarg[6] = (uint64_t) p->data_available; /* size_t * */ |
2268 | uarg[7] = (uint64_t) p->flags; /* unsigned int */ |
2269 | break; |
2270 | } |
2271 | /* __mac_execve */ |
2272 | case 380: { |
2273 | struct __mac_execve_args *p = params; |
2274 | uarg[0] = (uint64_t) p->fname; /* char * */ |
2275 | uarg[1] = (uint64_t) p->argp; /* char ** */ |
2276 | uarg[2] = (uint64_t) p->envp; /* char ** */ |
2277 | uarg[3] = (uint64_t) p->mac_p; /* struct mac * */ |
2278 | break; |
2279 | } |
2280 | #if CONFIG_MACF |
2281 | /* __mac_syscall */ |
2282 | case 381: { |
2283 | struct __mac_syscall_args *p = params; |
2284 | uarg[0] = (uint64_t) p->policy; /* char * */ |
2285 | iarg[1] = (int64_t) p->call; /* int */ |
2286 | uarg[2] = (uint64_t) p->arg; /* user_addr_t */ |
2287 | break; |
2288 | } |
2289 | /* __mac_get_file */ |
2290 | case 382: { |
2291 | struct __mac_get_file_args *p = params; |
2292 | uarg[0] = (uint64_t) p->path_p; /* char * */ |
2293 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2294 | break; |
2295 | } |
2296 | /* __mac_set_file */ |
2297 | case 383: { |
2298 | struct __mac_set_file_args *p = params; |
2299 | uarg[0] = (uint64_t) p->path_p; /* char * */ |
2300 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2301 | break; |
2302 | } |
2303 | /* __mac_get_link */ |
2304 | case 384: { |
2305 | struct __mac_get_link_args *p = params; |
2306 | uarg[0] = (uint64_t) p->path_p; /* char * */ |
2307 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2308 | break; |
2309 | } |
2310 | /* __mac_set_link */ |
2311 | case 385: { |
2312 | struct __mac_set_link_args *p = params; |
2313 | uarg[0] = (uint64_t) p->path_p; /* char * */ |
2314 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2315 | break; |
2316 | } |
2317 | /* __mac_get_proc */ |
2318 | case 386: { |
2319 | struct __mac_get_proc_args *p = params; |
2320 | uarg[0] = (uint64_t) p->mac_p; /* struct mac * */ |
2321 | break; |
2322 | } |
2323 | /* __mac_set_proc */ |
2324 | case 387: { |
2325 | struct __mac_set_proc_args *p = params; |
2326 | uarg[0] = (uint64_t) p->mac_p; /* struct mac * */ |
2327 | break; |
2328 | } |
2329 | /* __mac_get_fd */ |
2330 | case 388: { |
2331 | struct __mac_get_fd_args *p = params; |
2332 | iarg[0] = (int64_t) p->fd; /* int */ |
2333 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2334 | break; |
2335 | } |
2336 | /* __mac_set_fd */ |
2337 | case 389: { |
2338 | struct __mac_set_fd_args *p = params; |
2339 | iarg[0] = (int64_t) p->fd; /* int */ |
2340 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2341 | break; |
2342 | } |
2343 | /* __mac_get_pid */ |
2344 | case 390: { |
2345 | struct __mac_get_pid_args *p = params; |
2346 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
2347 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2348 | break; |
2349 | } |
2350 | #else |
2351 | #endif |
2352 | /* pselect */ |
2353 | case 394: { |
2354 | struct pselect_args *p = params; |
2355 | iarg[0] = (int64_t) p->nd; /* int */ |
2356 | uarg[1] = (uint64_t) p->in; /* u_int32_t * */ |
2357 | uarg[2] = (uint64_t) p->ou; /* u_int32_t * */ |
2358 | uarg[3] = (uint64_t) p->ex; /* u_int32_t * */ |
2359 | uarg[4] = (uint64_t) p->ts; /* const struct timespec * */ |
2360 | uarg[5] = (uint64_t) p->mask; /* const struct sigset_t * */ |
2361 | break; |
2362 | } |
2363 | /* pselect_nocancel */ |
2364 | case 395: { |
2365 | struct pselect_nocancel_args *p = params; |
2366 | iarg[0] = (int64_t) p->nd; /* int */ |
2367 | uarg[1] = (uint64_t) p->in; /* u_int32_t * */ |
2368 | uarg[2] = (uint64_t) p->ou; /* u_int32_t * */ |
2369 | uarg[3] = (uint64_t) p->ex; /* u_int32_t * */ |
2370 | uarg[4] = (uint64_t) p->ts; /* const struct timespec * */ |
2371 | uarg[5] = (uint64_t) p->mask; /* const struct sigset_t * */ |
2372 | break; |
2373 | } |
2374 | /* read_nocancel */ |
2375 | case 396: { |
2376 | struct read_nocancel_args *p = params; |
2377 | iarg[0] = (int64_t) p->fd; /* int */ |
2378 | uarg[1] = (uint64_t) p->cbuf; /* user_addr_t */ |
2379 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
2380 | break; |
2381 | } |
2382 | /* write_nocancel */ |
2383 | case 397: { |
2384 | struct write_nocancel_args *p = params; |
2385 | iarg[0] = (int64_t) p->fd; /* int */ |
2386 | uarg[1] = (uint64_t) p->cbuf; /* user_addr_t */ |
2387 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
2388 | break; |
2389 | } |
2390 | /* open_nocancel */ |
2391 | case 398: { |
2392 | struct open_nocancel_args *p = params; |
2393 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2394 | iarg[1] = (int64_t) p->flags; /* int */ |
2395 | iarg[2] = (int64_t) p->mode; /* int */ |
2396 | break; |
2397 | } |
2398 | /* sys_close_nocancel */ |
2399 | case 399: { |
2400 | struct close_nocancel_args *p = params; |
2401 | iarg[0] = (int64_t) p->fd; /* int */ |
2402 | break; |
2403 | } |
2404 | /* wait4_nocancel */ |
2405 | case 400: { |
2406 | struct wait4_nocancel_args *p = params; |
2407 | iarg[0] = (int64_t) p->pid; /* int */ |
2408 | uarg[1] = (uint64_t) p->status; /* user_addr_t */ |
2409 | iarg[2] = (int64_t) p->options; /* int */ |
2410 | uarg[3] = (uint64_t) p->rusage; /* user_addr_t */ |
2411 | break; |
2412 | } |
2413 | #if SOCKETS |
2414 | /* recvmsg_nocancel */ |
2415 | case 401: { |
2416 | struct recvmsg_nocancel_args *p = params; |
2417 | iarg[0] = (int64_t) p->s; /* int */ |
2418 | uarg[1] = (uint64_t) p->msg; /* struct msghdr * */ |
2419 | iarg[2] = (int64_t) p->flags; /* int */ |
2420 | break; |
2421 | } |
2422 | /* sendmsg_nocancel */ |
2423 | case 402: { |
2424 | struct sendmsg_nocancel_args *p = params; |
2425 | iarg[0] = (int64_t) p->s; /* int */ |
2426 | uarg[1] = (uint64_t) p->msg; /* caddr_t */ |
2427 | iarg[2] = (int64_t) p->flags; /* int */ |
2428 | break; |
2429 | } |
2430 | /* recvfrom_nocancel */ |
2431 | case 403: { |
2432 | struct recvfrom_nocancel_args *p = params; |
2433 | iarg[0] = (int64_t) p->s; /* int */ |
2434 | uarg[1] = (uint64_t) p->buf; /* void * */ |
2435 | uarg[2] = (uint64_t) p->len; /* size_t */ |
2436 | iarg[3] = (int64_t) p->flags; /* int */ |
2437 | uarg[4] = (uint64_t) p->from; /* struct sockaddr * */ |
2438 | uarg[5] = (uint64_t) p->fromlenaddr; /* int * */ |
2439 | break; |
2440 | } |
2441 | /* accept_nocancel */ |
2442 | case 404: { |
2443 | struct accept_nocancel_args *p = params; |
2444 | iarg[0] = (int64_t) p->s; /* int */ |
2445 | uarg[1] = (uint64_t) p->name; /* caddr_t */ |
2446 | uarg[2] = (uint64_t) p->anamelen; /* socklen_t * */ |
2447 | break; |
2448 | } |
2449 | #else |
2450 | #endif /* SOCKETS */ |
2451 | /* msync_nocancel */ |
2452 | case 405: { |
2453 | struct msync_nocancel_args *p = params; |
2454 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
2455 | uarg[1] = (uint64_t) p->len; /* size_t */ |
2456 | iarg[2] = (int64_t) p->flags; /* int */ |
2457 | break; |
2458 | } |
2459 | /* sys_fcntl_nocancel */ |
2460 | case 406: { |
2461 | struct fcntl_nocancel_args *p = params; |
2462 | iarg[0] = (int64_t) p->fd; /* int */ |
2463 | iarg[1] = (int64_t) p->cmd; /* int */ |
2464 | iarg[2] = (int64_t) p->arg; /* long */ |
2465 | break; |
2466 | } |
2467 | /* select_nocancel */ |
2468 | case 407: { |
2469 | struct select_nocancel_args *p = params; |
2470 | iarg[0] = (int64_t) p->nd; /* int */ |
2471 | uarg[1] = (uint64_t) p->in; /* u_int32_t * */ |
2472 | uarg[2] = (uint64_t) p->ou; /* u_int32_t * */ |
2473 | uarg[3] = (uint64_t) p->ex; /* u_int32_t * */ |
2474 | uarg[4] = (uint64_t) p->tv; /* struct timeval * */ |
2475 | break; |
2476 | } |
2477 | /* fsync_nocancel */ |
2478 | case 408: { |
2479 | struct fsync_nocancel_args *p = params; |
2480 | iarg[0] = (int64_t) p->fd; /* int */ |
2481 | break; |
2482 | } |
2483 | #if SOCKETS |
2484 | /* connect_nocancel */ |
2485 | case 409: { |
2486 | struct connect_nocancel_args *p = params; |
2487 | iarg[0] = (int64_t) p->s; /* int */ |
2488 | uarg[1] = (uint64_t) p->name; /* caddr_t */ |
2489 | iarg[2] = (int64_t) p->namelen; /* socklen_t */ |
2490 | break; |
2491 | } |
2492 | #else |
2493 | #endif /* SOCKETS */ |
2494 | /* sigsuspend_nocancel */ |
2495 | case 410: { |
2496 | struct sigsuspend_nocancel_args *p = params; |
2497 | iarg[0] = (int64_t) p->mask; /* sigset_t */ |
2498 | break; |
2499 | } |
2500 | /* readv_nocancel */ |
2501 | case 411: { |
2502 | struct readv_nocancel_args *p = params; |
2503 | iarg[0] = (int64_t) p->fd; /* int */ |
2504 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
2505 | uarg[2] = (uint64_t) p->iovcnt; /* u_int */ |
2506 | break; |
2507 | } |
2508 | /* writev_nocancel */ |
2509 | case 412: { |
2510 | struct writev_nocancel_args *p = params; |
2511 | iarg[0] = (int64_t) p->fd; /* int */ |
2512 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
2513 | uarg[2] = (uint64_t) p->iovcnt; /* u_int */ |
2514 | break; |
2515 | } |
2516 | #if SOCKETS |
2517 | /* sendto_nocancel */ |
2518 | case 413: { |
2519 | struct sendto_nocancel_args *p = params; |
2520 | iarg[0] = (int64_t) p->s; /* int */ |
2521 | uarg[1] = (uint64_t) p->buf; /* caddr_t */ |
2522 | uarg[2] = (uint64_t) p->len; /* size_t */ |
2523 | iarg[3] = (int64_t) p->flags; /* int */ |
2524 | uarg[4] = (uint64_t) p->to; /* caddr_t */ |
2525 | iarg[5] = (int64_t) p->tolen; /* socklen_t */ |
2526 | break; |
2527 | } |
2528 | #else |
2529 | #endif /* SOCKETS */ |
2530 | /* pread_nocancel */ |
2531 | case 414: { |
2532 | struct pread_nocancel_args *p = params; |
2533 | iarg[0] = (int64_t) p->fd; /* int */ |
2534 | uarg[1] = (uint64_t) p->buf; /* user_addr_t */ |
2535 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
2536 | iarg[3] = (int64_t) p->offset; /* off_t */ |
2537 | break; |
2538 | } |
2539 | /* pwrite_nocancel */ |
2540 | case 415: { |
2541 | struct pwrite_nocancel_args *p = params; |
2542 | iarg[0] = (int64_t) p->fd; /* int */ |
2543 | uarg[1] = (uint64_t) p->buf; /* user_addr_t */ |
2544 | uarg[2] = (uint64_t) p->nbyte; /* user_size_t */ |
2545 | iarg[3] = (int64_t) p->offset; /* off_t */ |
2546 | break; |
2547 | } |
2548 | /* waitid_nocancel */ |
2549 | case 416: { |
2550 | struct waitid_nocancel_args *p = params; |
2551 | iarg[0] = (int64_t) p->idtype; /* idtype_t */ |
2552 | iarg[1] = (int64_t) p->id; /* id_t */ |
2553 | uarg[2] = (uint64_t) p->infop; /* siginfo_t * */ |
2554 | iarg[3] = (int64_t) p->options; /* int */ |
2555 | break; |
2556 | } |
2557 | /* poll_nocancel */ |
2558 | case 417: { |
2559 | struct poll_nocancel_args *p = params; |
2560 | uarg[0] = (uint64_t) p->fds; /* struct pollfd * */ |
2561 | uarg[1] = (uint64_t) p->nfds; /* u_int */ |
2562 | iarg[2] = (int64_t) p->timeout; /* int */ |
2563 | break; |
2564 | } |
2565 | #if SYSV_MSG |
2566 | /* msgsnd_nocancel */ |
2567 | case 418: { |
2568 | struct msgsnd_nocancel_args *p = params; |
2569 | iarg[0] = (int64_t) p->msqid; /* int */ |
2570 | uarg[1] = (uint64_t) p->msgp; /* void * */ |
2571 | uarg[2] = (uint64_t) p->msgsz; /* size_t */ |
2572 | iarg[3] = (int64_t) p->msgflg; /* int */ |
2573 | break; |
2574 | } |
2575 | /* msgrcv_nocancel */ |
2576 | case 419: { |
2577 | struct msgrcv_nocancel_args *p = params; |
2578 | iarg[0] = (int64_t) p->msqid; /* int */ |
2579 | uarg[1] = (uint64_t) p->msgp; /* void * */ |
2580 | uarg[2] = (uint64_t) p->msgsz; /* size_t */ |
2581 | iarg[3] = (int64_t) p->msgtyp; /* long */ |
2582 | iarg[4] = (int64_t) p->msgflg; /* int */ |
2583 | break; |
2584 | } |
2585 | #else |
2586 | #endif |
2587 | /* sem_wait_nocancel */ |
2588 | case 420: { |
2589 | struct sem_wait_nocancel_args *p = params; |
2590 | uarg[0] = (uint64_t) p->sem; /* sem_t * */ |
2591 | break; |
2592 | } |
2593 | /* aio_suspend_nocancel */ |
2594 | case 421: { |
2595 | struct aio_suspend_nocancel_args *p = params; |
2596 | uarg[0] = (uint64_t) p->aiocblist; /* user_addr_t */ |
2597 | iarg[1] = (int64_t) p->nent; /* int */ |
2598 | uarg[2] = (uint64_t) p->timeoutp; /* user_addr_t */ |
2599 | break; |
2600 | } |
2601 | /* __sigwait_nocancel */ |
2602 | case 422: { |
2603 | struct __sigwait_nocancel_args *p = params; |
2604 | uarg[0] = (uint64_t) p->set; /* user_addr_t */ |
2605 | uarg[1] = (uint64_t) p->sig; /* user_addr_t */ |
2606 | break; |
2607 | } |
2608 | /* __semwait_signal_nocancel */ |
2609 | case 423: { |
2610 | struct __semwait_signal_nocancel_args *p = params; |
2611 | iarg[0] = (int64_t) p->cond_sem; /* int */ |
2612 | iarg[1] = (int64_t) p->mutex_sem; /* int */ |
2613 | iarg[2] = (int64_t) p->timeout; /* int */ |
2614 | iarg[3] = (int64_t) p->relative; /* int */ |
2615 | iarg[4] = (int64_t) p->tv_sec; /* int64_t */ |
2616 | iarg[5] = (int64_t) p->tv_nsec; /* int32_t */ |
2617 | break; |
2618 | } |
2619 | /* __mac_mount */ |
2620 | case 424: { |
2621 | struct __mac_mount_args *p = params; |
2622 | uarg[0] = (uint64_t) p->type; /* char * */ |
2623 | uarg[1] = (uint64_t) p->path; /* char * */ |
2624 | iarg[2] = (int64_t) p->flags; /* int */ |
2625 | uarg[3] = (uint64_t) p->data; /* caddr_t */ |
2626 | uarg[4] = (uint64_t) p->mac_p; /* struct mac * */ |
2627 | break; |
2628 | } |
2629 | #if CONFIG_MACF |
2630 | /* __mac_get_mount */ |
2631 | case 425: { |
2632 | struct __mac_get_mount_args *p = params; |
2633 | uarg[0] = (uint64_t) p->path; /* char * */ |
2634 | uarg[1] = (uint64_t) p->mac_p; /* struct mac * */ |
2635 | break; |
2636 | } |
2637 | #else |
2638 | #endif |
2639 | /* __mac_getfsstat */ |
2640 | case 426: { |
2641 | struct __mac_getfsstat_args *p = params; |
2642 | uarg[0] = (uint64_t) p->buf; /* user_addr_t */ |
2643 | iarg[1] = (int64_t) p->bufsize; /* int */ |
2644 | uarg[2] = (uint64_t) p->mac; /* user_addr_t */ |
2645 | iarg[3] = (int64_t) p->macsize; /* int */ |
2646 | iarg[4] = (int64_t) p->flags; /* int */ |
2647 | break; |
2648 | } |
2649 | /* fsgetpath */ |
2650 | case 427: { |
2651 | struct fsgetpath_args *p = params; |
2652 | uarg[0] = (uint64_t) p->buf; /* user_addr_t */ |
2653 | uarg[1] = (uint64_t) p->bufsize; /* size_t */ |
2654 | uarg[2] = (uint64_t) p->fsid; /* user_addr_t */ |
2655 | uarg[3] = (uint64_t) p->objid; /* uint64_t */ |
2656 | break; |
2657 | } |
2658 | /* audit_session_self */ |
2659 | case 428: { |
2660 | break; |
2661 | } |
2662 | /* audit_session_join */ |
2663 | case 429: { |
2664 | struct audit_session_join_args *p = params; |
2665 | iarg[0] = (int64_t) p->port; /* mach_port_name_t */ |
2666 | break; |
2667 | } |
2668 | /* sys_fileport_makeport */ |
2669 | case 430: { |
2670 | struct fileport_makeport_args *p = params; |
2671 | iarg[0] = (int64_t) p->fd; /* int */ |
2672 | uarg[1] = (uint64_t) p->portnamep; /* user_addr_t */ |
2673 | break; |
2674 | } |
2675 | /* sys_fileport_makefd */ |
2676 | case 431: { |
2677 | struct fileport_makefd_args *p = params; |
2678 | iarg[0] = (int64_t) p->port; /* mach_port_name_t */ |
2679 | break; |
2680 | } |
2681 | /* audit_session_port */ |
2682 | case 432: { |
2683 | struct audit_session_port_args *p = params; |
2684 | iarg[0] = (int64_t) p->asid; /* au_asid_t */ |
2685 | uarg[1] = (uint64_t) p->portnamep; /* user_addr_t */ |
2686 | break; |
2687 | } |
2688 | /* pid_suspend */ |
2689 | case 433: { |
2690 | struct pid_suspend_args *p = params; |
2691 | iarg[0] = (int64_t) p->pid; /* int */ |
2692 | break; |
2693 | } |
2694 | /* pid_resume */ |
2695 | case 434: { |
2696 | struct pid_resume_args *p = params; |
2697 | iarg[0] = (int64_t) p->pid; /* int */ |
2698 | break; |
2699 | } |
2700 | #if CONFIG_EMBEDDED |
2701 | /* pid_hibernate */ |
2702 | case 435: { |
2703 | struct pid_hibernate_args *p = params; |
2704 | iarg[0] = (int64_t) p->pid; /* int */ |
2705 | break; |
2706 | } |
2707 | #else |
2708 | #endif |
2709 | #if SOCKETS |
2710 | /* pid_shutdown_sockets */ |
2711 | case 436: { |
2712 | struct pid_shutdown_sockets_args *p = params; |
2713 | iarg[0] = (int64_t) p->pid; /* int */ |
2714 | iarg[1] = (int64_t) p->level; /* int */ |
2715 | break; |
2716 | } |
2717 | #else |
2718 | #endif |
2719 | /* kas_info */ |
2720 | case 439: { |
2721 | struct kas_info_args *p = params; |
2722 | iarg[0] = (int64_t) p->selector; /* int */ |
2723 | uarg[1] = (uint64_t) p->value; /* void * */ |
2724 | uarg[2] = (uint64_t) p->size; /* size_t * */ |
2725 | break; |
2726 | } |
2727 | #if CONFIG_MEMORYSTATUS |
2728 | /* memorystatus_control */ |
2729 | case 440: { |
2730 | struct memorystatus_control_args *p = params; |
2731 | uarg[0] = (uint64_t) p->command; /* uint32_t */ |
2732 | iarg[1] = (int64_t) p->pid; /* int32_t */ |
2733 | uarg[2] = (uint64_t) p->flags; /* uint32_t */ |
2734 | uarg[3] = (uint64_t) p->buffer; /* user_addr_t */ |
2735 | uarg[4] = (uint64_t) p->buffersize; /* size_t */ |
2736 | break; |
2737 | } |
2738 | #else |
2739 | #endif |
2740 | /* guarded_open_np */ |
2741 | case 441: { |
2742 | struct guarded_open_np_args *p = params; |
2743 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
2744 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
2745 | uarg[2] = (uint64_t) p->guardflags; /* u_int */ |
2746 | iarg[3] = (int64_t) p->flags; /* int */ |
2747 | iarg[4] = (int64_t) p->mode; /* int */ |
2748 | break; |
2749 | } |
2750 | /* guarded_close_np */ |
2751 | case 442: { |
2752 | struct guarded_close_np_args *p = params; |
2753 | iarg[0] = (int64_t) p->fd; /* int */ |
2754 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
2755 | break; |
2756 | } |
2757 | /* guarded_kqueue_np */ |
2758 | case 443: { |
2759 | struct guarded_kqueue_np_args *p = params; |
2760 | uarg[0] = (uint64_t) p->guard; /* const guardid_t * */ |
2761 | uarg[1] = (uint64_t) p->guardflags; /* u_int */ |
2762 | break; |
2763 | } |
2764 | /* change_fdguard_np */ |
2765 | case 444: { |
2766 | struct change_fdguard_np_args *p = params; |
2767 | iarg[0] = (int64_t) p->fd; /* int */ |
2768 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
2769 | uarg[2] = (uint64_t) p->guardflags; /* u_int */ |
2770 | uarg[3] = (uint64_t) p->nguard; /* const guardid_t * */ |
2771 | uarg[4] = (uint64_t) p->nguardflags; /* u_int */ |
2772 | uarg[5] = (uint64_t) p->fdflagsp; /* int * */ |
2773 | break; |
2774 | } |
2775 | /* usrctl */ |
2776 | case 445: { |
2777 | struct usrctl_args *p = params; |
2778 | uarg[0] = (uint64_t) p->flags; /* uint32_t */ |
2779 | break; |
2780 | } |
2781 | /* proc_rlimit_control */ |
2782 | case 446: { |
2783 | struct proc_rlimit_control_args *p = params; |
2784 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
2785 | iarg[1] = (int64_t) p->flavor; /* int */ |
2786 | uarg[2] = (uint64_t) p->arg; /* void * */ |
2787 | break; |
2788 | } |
2789 | #if SOCKETS |
2790 | /* connectx */ |
2791 | case 447: { |
2792 | struct connectx_args *p = params; |
2793 | iarg[0] = (int64_t) p->socket; /* int */ |
2794 | uarg[1] = (uint64_t) p->endpoints; /* const sa_endpoints_t * */ |
2795 | iarg[2] = (int64_t) p->associd; /* sae_associd_t */ |
2796 | uarg[3] = (uint64_t) p->flags; /* unsigned int */ |
2797 | uarg[4] = (uint64_t) p->iov; /* const struct iovec * */ |
2798 | uarg[5] = (uint64_t) p->iovcnt; /* unsigned int */ |
2799 | uarg[6] = (uint64_t) p->len; /* size_t * */ |
2800 | uarg[7] = (uint64_t) p->connid; /* sae_connid_t * */ |
2801 | break; |
2802 | } |
2803 | /* disconnectx */ |
2804 | case 448: { |
2805 | struct disconnectx_args *p = params; |
2806 | iarg[0] = (int64_t) p->s; /* int */ |
2807 | iarg[1] = (int64_t) p->aid; /* sae_associd_t */ |
2808 | iarg[2] = (int64_t) p->cid; /* sae_connid_t */ |
2809 | break; |
2810 | } |
2811 | /* peeloff */ |
2812 | case 449: { |
2813 | struct peeloff_args *p = params; |
2814 | iarg[0] = (int64_t) p->s; /* int */ |
2815 | iarg[1] = (int64_t) p->aid; /* sae_associd_t */ |
2816 | break; |
2817 | } |
2818 | /* socket_delegate */ |
2819 | case 450: { |
2820 | struct socket_delegate_args *p = params; |
2821 | iarg[0] = (int64_t) p->domain; /* int */ |
2822 | iarg[1] = (int64_t) p->type; /* int */ |
2823 | iarg[2] = (int64_t) p->protocol; /* int */ |
2824 | iarg[3] = (int64_t) p->epid; /* pid_t */ |
2825 | break; |
2826 | } |
2827 | #else |
2828 | #endif /* SOCKETS */ |
2829 | /* telemetry */ |
2830 | case 451: { |
2831 | struct telemetry_args *p = params; |
2832 | uarg[0] = (uint64_t) p->cmd; /* uint64_t */ |
2833 | uarg[1] = (uint64_t) p->deadline; /* uint64_t */ |
2834 | uarg[2] = (uint64_t) p->interval; /* uint64_t */ |
2835 | uarg[3] = (uint64_t) p->leeway; /* uint64_t */ |
2836 | uarg[4] = (uint64_t) p->arg4; /* uint64_t */ |
2837 | uarg[5] = (uint64_t) p->arg5; /* uint64_t */ |
2838 | break; |
2839 | } |
2840 | #if CONFIG_PROC_UUID_POLICY |
2841 | /* proc_uuid_policy */ |
2842 | case 452: { |
2843 | struct proc_uuid_policy_args *p = params; |
2844 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
2845 | uarg[1] = (uint64_t) p->uuid; /* uuid_t */ |
2846 | uarg[2] = (uint64_t) p->uuidlen; /* size_t */ |
2847 | uarg[3] = (uint64_t) p->flags; /* uint32_t */ |
2848 | break; |
2849 | } |
2850 | #else |
2851 | #endif |
2852 | #if CONFIG_MEMORYSTATUS |
2853 | /* memorystatus_get_level */ |
2854 | case 453: { |
2855 | struct memorystatus_get_level_args *p = params; |
2856 | uarg[0] = (uint64_t) p->level; /* user_addr_t */ |
2857 | break; |
2858 | } |
2859 | #else |
2860 | #endif |
2861 | /* system_override */ |
2862 | case 454: { |
2863 | struct system_override_args *p = params; |
2864 | uarg[0] = (uint64_t) p->timeout; /* uint64_t */ |
2865 | uarg[1] = (uint64_t) p->flags; /* uint64_t */ |
2866 | break; |
2867 | } |
2868 | /* vfs_purge */ |
2869 | case 455: { |
2870 | break; |
2871 | } |
2872 | /* sfi_ctl */ |
2873 | case 456: { |
2874 | struct sfi_ctl_args *p = params; |
2875 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
2876 | uarg[1] = (uint64_t) p->sfi_class; /* uint32_t */ |
2877 | uarg[2] = (uint64_t) p->time; /* uint64_t */ |
2878 | uarg[3] = (uint64_t) p->out_time; /* uint64_t * */ |
2879 | break; |
2880 | } |
2881 | /* sfi_pidctl */ |
2882 | case 457: { |
2883 | struct sfi_pidctl_args *p = params; |
2884 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
2885 | iarg[1] = (int64_t) p->pid; /* pid_t */ |
2886 | uarg[2] = (uint64_t) p->sfi_flags; /* uint32_t */ |
2887 | uarg[3] = (uint64_t) p->out_sfi_flags; /* uint32_t * */ |
2888 | break; |
2889 | } |
2890 | #if CONFIG_COALITIONS |
2891 | /* coalition */ |
2892 | case 458: { |
2893 | struct coalition_args *p = params; |
2894 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
2895 | uarg[1] = (uint64_t) p->cid; /* uint64_t * */ |
2896 | uarg[2] = (uint64_t) p->flags; /* uint32_t */ |
2897 | break; |
2898 | } |
2899 | /* coalition_info */ |
2900 | case 459: { |
2901 | struct coalition_info_args *p = params; |
2902 | uarg[0] = (uint64_t) p->flavor; /* uint32_t */ |
2903 | uarg[1] = (uint64_t) p->cid; /* uint64_t * */ |
2904 | uarg[2] = (uint64_t) p->buffer; /* void * */ |
2905 | uarg[3] = (uint64_t) p->bufsize; /* size_t * */ |
2906 | break; |
2907 | } |
2908 | #else |
2909 | #endif /* COALITIONS */ |
2910 | #if NECP |
2911 | /* necp_match_policy */ |
2912 | case 460: { |
2913 | struct necp_match_policy_args *p = params; |
2914 | uarg[0] = (uint64_t) p->parameters; /* uint8_t * */ |
2915 | uarg[1] = (uint64_t) p->parameters_size; /* size_t */ |
2916 | uarg[2] = (uint64_t) p->returned_result; /* struct necp_aggregate_result * */ |
2917 | break; |
2918 | } |
2919 | #else |
2920 | #endif /* NECP */ |
2921 | /* getattrlistbulk */ |
2922 | case 461: { |
2923 | struct getattrlistbulk_args *p = params; |
2924 | iarg[0] = (int64_t) p->dirfd; /* int */ |
2925 | uarg[1] = (uint64_t) p->alist; /* struct attrlist * */ |
2926 | uarg[2] = (uint64_t) p->attributeBuffer; /* void * */ |
2927 | uarg[3] = (uint64_t) p->bufferSize; /* size_t */ |
2928 | uarg[4] = (uint64_t) p->options; /* uint64_t */ |
2929 | break; |
2930 | } |
2931 | /* clonefileat */ |
2932 | case 462: { |
2933 | struct clonefileat_args *p = params; |
2934 | iarg[0] = (int64_t) p->src_dirfd; /* int */ |
2935 | uarg[1] = (uint64_t) p->src; /* user_addr_t */ |
2936 | iarg[2] = (int64_t) p->dst_dirfd; /* int */ |
2937 | uarg[3] = (uint64_t) p->dst; /* user_addr_t */ |
2938 | uarg[4] = (uint64_t) p->flags; /* uint32_t */ |
2939 | break; |
2940 | } |
2941 | /* openat */ |
2942 | case 463: { |
2943 | struct openat_args *p = params; |
2944 | iarg[0] = (int64_t) p->fd; /* int */ |
2945 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
2946 | iarg[2] = (int64_t) p->flags; /* int */ |
2947 | iarg[3] = (int64_t) p->mode; /* int */ |
2948 | break; |
2949 | } |
2950 | /* openat_nocancel */ |
2951 | case 464: { |
2952 | struct openat_nocancel_args *p = params; |
2953 | iarg[0] = (int64_t) p->fd; /* int */ |
2954 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
2955 | iarg[2] = (int64_t) p->flags; /* int */ |
2956 | iarg[3] = (int64_t) p->mode; /* int */ |
2957 | break; |
2958 | } |
2959 | /* renameat */ |
2960 | case 465: { |
2961 | struct renameat_args *p = params; |
2962 | iarg[0] = (int64_t) p->fromfd; /* int */ |
2963 | uarg[1] = (uint64_t) p->from; /* char * */ |
2964 | iarg[2] = (int64_t) p->tofd; /* int */ |
2965 | uarg[3] = (uint64_t) p->to; /* char * */ |
2966 | break; |
2967 | } |
2968 | /* faccessat */ |
2969 | case 466: { |
2970 | struct faccessat_args *p = params; |
2971 | iarg[0] = (int64_t) p->fd; /* int */ |
2972 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
2973 | iarg[2] = (int64_t) p->amode; /* int */ |
2974 | iarg[3] = (int64_t) p->flag; /* int */ |
2975 | break; |
2976 | } |
2977 | /* fchmodat */ |
2978 | case 467: { |
2979 | struct fchmodat_args *p = params; |
2980 | iarg[0] = (int64_t) p->fd; /* int */ |
2981 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
2982 | iarg[2] = (int64_t) p->mode; /* int */ |
2983 | iarg[3] = (int64_t) p->flag; /* int */ |
2984 | break; |
2985 | } |
2986 | /* fchownat */ |
2987 | case 468: { |
2988 | struct fchownat_args *p = params; |
2989 | iarg[0] = (int64_t) p->fd; /* int */ |
2990 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
2991 | uarg[2] = (uint64_t) p->uid; /* uid_t */ |
2992 | iarg[3] = (int64_t) p->gid; /* gid_t */ |
2993 | iarg[4] = (int64_t) p->flag; /* int */ |
2994 | break; |
2995 | } |
2996 | /* fstatat */ |
2997 | case 469: { |
2998 | struct fstatat_args *p = params; |
2999 | iarg[0] = (int64_t) p->fd; /* int */ |
3000 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3001 | uarg[2] = (uint64_t) p->ub; /* user_addr_t */ |
3002 | iarg[3] = (int64_t) p->flag; /* int */ |
3003 | break; |
3004 | } |
3005 | /* fstatat64 */ |
3006 | case 470: { |
3007 | struct fstatat64_args *p = params; |
3008 | iarg[0] = (int64_t) p->fd; /* int */ |
3009 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3010 | uarg[2] = (uint64_t) p->ub; /* user_addr_t */ |
3011 | iarg[3] = (int64_t) p->flag; /* int */ |
3012 | break; |
3013 | } |
3014 | /* linkat */ |
3015 | case 471: { |
3016 | struct linkat_args *p = params; |
3017 | iarg[0] = (int64_t) p->fd1; /* int */ |
3018 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3019 | iarg[2] = (int64_t) p->fd2; /* int */ |
3020 | uarg[3] = (uint64_t) p->link; /* user_addr_t */ |
3021 | iarg[4] = (int64_t) p->flag; /* int */ |
3022 | break; |
3023 | } |
3024 | /* unlinkat */ |
3025 | case 472: { |
3026 | struct unlinkat_args *p = params; |
3027 | iarg[0] = (int64_t) p->fd; /* int */ |
3028 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3029 | iarg[2] = (int64_t) p->flag; /* int */ |
3030 | break; |
3031 | } |
3032 | /* readlinkat */ |
3033 | case 473: { |
3034 | struct readlinkat_args *p = params; |
3035 | iarg[0] = (int64_t) p->fd; /* int */ |
3036 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3037 | uarg[2] = (uint64_t) p->buf; /* user_addr_t */ |
3038 | uarg[3] = (uint64_t) p->bufsize; /* size_t */ |
3039 | break; |
3040 | } |
3041 | /* symlinkat */ |
3042 | case 474: { |
3043 | struct symlinkat_args *p = params; |
3044 | uarg[0] = (uint64_t) p->path1; /* user_addr_t * */ |
3045 | iarg[1] = (int64_t) p->fd; /* int */ |
3046 | uarg[2] = (uint64_t) p->path2; /* user_addr_t */ |
3047 | break; |
3048 | } |
3049 | /* mkdirat */ |
3050 | case 475: { |
3051 | struct mkdirat_args *p = params; |
3052 | iarg[0] = (int64_t) p->fd; /* int */ |
3053 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3054 | iarg[2] = (int64_t) p->mode; /* int */ |
3055 | break; |
3056 | } |
3057 | /* getattrlistat */ |
3058 | case 476: { |
3059 | struct getattrlistat_args *p = params; |
3060 | iarg[0] = (int64_t) p->fd; /* int */ |
3061 | uarg[1] = (uint64_t) p->path; /* const char * */ |
3062 | uarg[2] = (uint64_t) p->alist; /* struct attrlist * */ |
3063 | uarg[3] = (uint64_t) p->attributeBuffer; /* void * */ |
3064 | uarg[4] = (uint64_t) p->bufferSize; /* size_t */ |
3065 | uarg[5] = (uint64_t) p->options; /* u_long */ |
3066 | break; |
3067 | } |
3068 | /* proc_trace_log */ |
3069 | case 477: { |
3070 | struct proc_trace_log_args *p = params; |
3071 | iarg[0] = (int64_t) p->pid; /* pid_t */ |
3072 | uarg[1] = (uint64_t) p->uniqueid; /* uint64_t */ |
3073 | break; |
3074 | } |
3075 | /* bsdthread_ctl */ |
3076 | case 478: { |
3077 | struct bsdthread_ctl_args *p = params; |
3078 | uarg[0] = (uint64_t) p->cmd; /* user_addr_t */ |
3079 | uarg[1] = (uint64_t) p->arg1; /* user_addr_t */ |
3080 | uarg[2] = (uint64_t) p->arg2; /* user_addr_t */ |
3081 | uarg[3] = (uint64_t) p->arg3; /* user_addr_t */ |
3082 | break; |
3083 | } |
3084 | /* openbyid_np */ |
3085 | case 479: { |
3086 | struct openbyid_np_args *p = params; |
3087 | uarg[0] = (uint64_t) p->fsid; /* user_addr_t */ |
3088 | uarg[1] = (uint64_t) p->objid; /* user_addr_t */ |
3089 | iarg[2] = (int64_t) p->oflags; /* int */ |
3090 | break; |
3091 | } |
3092 | #if SOCKETS |
3093 | /* recvmsg_x */ |
3094 | case 480: { |
3095 | struct recvmsg_x_args *p = params; |
3096 | iarg[0] = (int64_t) p->s; /* int */ |
3097 | uarg[1] = (uint64_t) p->msgp; /* struct msghdr_x * */ |
3098 | uarg[2] = (uint64_t) p->cnt; /* u_int */ |
3099 | iarg[3] = (int64_t) p->flags; /* int */ |
3100 | break; |
3101 | } |
3102 | /* sendmsg_x */ |
3103 | case 481: { |
3104 | struct sendmsg_x_args *p = params; |
3105 | iarg[0] = (int64_t) p->s; /* int */ |
3106 | uarg[1] = (uint64_t) p->msgp; /* struct msghdr_x * */ |
3107 | uarg[2] = (uint64_t) p->cnt; /* u_int */ |
3108 | iarg[3] = (int64_t) p->flags; /* int */ |
3109 | break; |
3110 | } |
3111 | #else |
3112 | #endif /* SOCKETS */ |
3113 | /* thread_selfusage */ |
3114 | case 482: { |
3115 | break; |
3116 | } |
3117 | #if CONFIG_CSR |
3118 | /* csrctl */ |
3119 | case 483: { |
3120 | struct csrctl_args *p = params; |
3121 | uarg[0] = (uint64_t) p->op; /* uint32_t */ |
3122 | uarg[1] = (uint64_t) p->useraddr; /* user_addr_t */ |
3123 | uarg[2] = (uint64_t) p->usersize; /* user_addr_t */ |
3124 | break; |
3125 | } |
3126 | #else |
3127 | #endif /* CSR */ |
3128 | /* guarded_open_dprotected_np */ |
3129 | case 484: { |
3130 | struct guarded_open_dprotected_np_args *p = params; |
3131 | uarg[0] = (uint64_t) p->path; /* user_addr_t */ |
3132 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
3133 | uarg[2] = (uint64_t) p->guardflags; /* u_int */ |
3134 | iarg[3] = (int64_t) p->flags; /* int */ |
3135 | iarg[4] = (int64_t) p->dpclass; /* int */ |
3136 | iarg[5] = (int64_t) p->dpflags; /* int */ |
3137 | iarg[6] = (int64_t) p->mode; /* int */ |
3138 | break; |
3139 | } |
3140 | /* guarded_write_np */ |
3141 | case 485: { |
3142 | struct guarded_write_np_args *p = params; |
3143 | iarg[0] = (int64_t) p->fd; /* int */ |
3144 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
3145 | uarg[2] = (uint64_t) p->cbuf; /* user_addr_t */ |
3146 | uarg[3] = (uint64_t) p->nbyte; /* user_size_t */ |
3147 | break; |
3148 | } |
3149 | /* guarded_pwrite_np */ |
3150 | case 486: { |
3151 | struct guarded_pwrite_np_args *p = params; |
3152 | iarg[0] = (int64_t) p->fd; /* int */ |
3153 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
3154 | uarg[2] = (uint64_t) p->buf; /* user_addr_t */ |
3155 | uarg[3] = (uint64_t) p->nbyte; /* user_size_t */ |
3156 | iarg[4] = (int64_t) p->offset; /* off_t */ |
3157 | break; |
3158 | } |
3159 | /* guarded_writev_np */ |
3160 | case 487: { |
3161 | struct guarded_writev_np_args *p = params; |
3162 | iarg[0] = (int64_t) p->fd; /* int */ |
3163 | uarg[1] = (uint64_t) p->guard; /* const guardid_t * */ |
3164 | uarg[2] = (uint64_t) p->iovp; /* struct iovec * */ |
3165 | iarg[3] = (int64_t) p->iovcnt; /* int */ |
3166 | break; |
3167 | } |
3168 | /* renameatx_np */ |
3169 | case 488: { |
3170 | struct renameatx_np_args *p = params; |
3171 | iarg[0] = (int64_t) p->fromfd; /* int */ |
3172 | uarg[1] = (uint64_t) p->from; /* char * */ |
3173 | iarg[2] = (int64_t) p->tofd; /* int */ |
3174 | uarg[3] = (uint64_t) p->to; /* char * */ |
3175 | uarg[4] = (uint64_t) p->flags; /* u_int */ |
3176 | break; |
3177 | } |
3178 | #if CONFIG_CODE_DECRYPTION |
3179 | /* mremap_encrypted */ |
3180 | case 489: { |
3181 | struct mremap_encrypted_args *p = params; |
3182 | uarg[0] = (uint64_t) p->addr; /* caddr_t */ |
3183 | uarg[1] = (uint64_t) p->len; /* size_t */ |
3184 | uarg[2] = (uint64_t) p->cryptid; /* uint32_t */ |
3185 | uarg[3] = (uint64_t) p->cputype; /* uint32_t */ |
3186 | uarg[4] = (uint64_t) p->cpusubtype; /* uint32_t */ |
3187 | break; |
3188 | } |
3189 | #else |
3190 | #endif |
3191 | #if NETWORKING |
3192 | /* netagent_trigger */ |
3193 | case 490: { |
3194 | struct netagent_trigger_args *p = params; |
3195 | uarg[0] = (uint64_t) p->agent_uuid; /* uuid_t */ |
3196 | uarg[1] = (uint64_t) p->agent_uuidlen; /* size_t */ |
3197 | break; |
3198 | } |
3199 | #else |
3200 | #endif /* NETWORKING */ |
3201 | /* stack_snapshot_with_config */ |
3202 | case 491: { |
3203 | struct stack_snapshot_with_config_args *p = params; |
3204 | iarg[0] = (int64_t) p->stackshot_config_version; /* int */ |
3205 | uarg[1] = (uint64_t) p->stackshot_config; /* user_addr_t */ |
3206 | uarg[2] = (uint64_t) p->stackshot_config_size; /* size_t */ |
3207 | break; |
3208 | } |
3209 | #if CONFIG_TELEMETRY |
3210 | /* microstackshot */ |
3211 | case 492: { |
3212 | struct microstackshot_args *p = params; |
3213 | uarg[0] = (uint64_t) p->tracebuf; /* user_addr_t */ |
3214 | uarg[1] = (uint64_t) p->tracebuf_size; /* uint32_t */ |
3215 | uarg[2] = (uint64_t) p->flags; /* uint32_t */ |
3216 | break; |
3217 | } |
3218 | #else |
3219 | #endif /* CONFIG_TELEMETRY */ |
3220 | #if PGO |
3221 | /* grab_pgo_data */ |
3222 | case 493: { |
3223 | struct grab_pgo_data_args *p = params; |
3224 | uarg[0] = (uint64_t) p->uuid; /* user_addr_t */ |
3225 | iarg[1] = (int64_t) p->flags; /* int */ |
3226 | uarg[2] = (uint64_t) p->buffer; /* user_addr_t */ |
3227 | uarg[3] = (uint64_t) p->size; /* user_ssize_t */ |
3228 | break; |
3229 | } |
3230 | #else |
3231 | #endif |
3232 | #if CONFIG_PERSONAS |
3233 | /* persona */ |
3234 | case 494: { |
3235 | struct persona_args *p = params; |
3236 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
3237 | uarg[1] = (uint64_t) p->flags; /* uint32_t */ |
3238 | uarg[2] = (uint64_t) p->info; /* struct kpersona_info * */ |
3239 | uarg[3] = (uint64_t) p->id; /* uid_t * */ |
3240 | uarg[4] = (uint64_t) p->idlen; /* size_t * */ |
3241 | uarg[5] = (uint64_t) p->path; /* char * */ |
3242 | break; |
3243 | } |
3244 | #else |
3245 | #endif |
3246 | /* mach_eventlink_signal */ |
3247 | case 496: { |
3248 | struct mach_eventlink_signal_args *p = params; |
3249 | iarg[0] = (int64_t) p->eventlink_port; /* mach_port_name_t */ |
3250 | uarg[1] = (uint64_t) p->signal_count; /* uint64_t */ |
3251 | break; |
3252 | } |
3253 | /* mach_eventlink_wait_until */ |
3254 | case 497: { |
3255 | struct mach_eventlink_wait_until_args *p = params; |
3256 | iarg[0] = (int64_t) p->eventlink_port; /* mach_port_name_t */ |
3257 | uarg[1] = (uint64_t) p->wait_count; /* uint64_t */ |
3258 | uarg[2] = (uint64_t) p->deadline; /* uint64_t */ |
3259 | uarg[3] = (uint64_t) p->clock_id; /* uint32_t */ |
3260 | uarg[4] = (uint64_t) p->option; /* uint32_t */ |
3261 | break; |
3262 | } |
3263 | /* mach_eventlink_signal_wait_until */ |
3264 | case 498: { |
3265 | struct mach_eventlink_signal_wait_until_args *p = params; |
3266 | iarg[0] = (int64_t) p->eventlink_port; /* mach_port_name_t */ |
3267 | uarg[1] = (uint64_t) p->wait_count; /* uint64_t */ |
3268 | uarg[2] = (uint64_t) p->signal_count; /* uint64_t */ |
3269 | uarg[3] = (uint64_t) p->deadline; /* uint64_t */ |
3270 | uarg[4] = (uint64_t) p->clock_id; /* uint32_t */ |
3271 | uarg[5] = (uint64_t) p->option; /* uint32_t */ |
3272 | break; |
3273 | } |
3274 | /* work_interval_ctl */ |
3275 | case 499: { |
3276 | struct work_interval_ctl_args *p = params; |
3277 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
3278 | uarg[1] = (uint64_t) p->work_interval_id; /* uint64_t */ |
3279 | uarg[2] = (uint64_t) p->arg; /* void * */ |
3280 | uarg[3] = (uint64_t) p->len; /* size_t */ |
3281 | break; |
3282 | } |
3283 | /* getentropy */ |
3284 | case 500: { |
3285 | struct getentropy_args *p = params; |
3286 | uarg[0] = (uint64_t) p->buffer; /* void * */ |
3287 | uarg[1] = (uint64_t) p->size; /* size_t */ |
3288 | break; |
3289 | } |
3290 | #if NECP |
3291 | /* necp_open */ |
3292 | case 501: { |
3293 | struct necp_open_args *p = params; |
3294 | iarg[0] = (int64_t) p->flags; /* int */ |
3295 | break; |
3296 | } |
3297 | /* necp_client_action */ |
3298 | case 502: { |
3299 | struct necp_client_action_args *p = params; |
3300 | iarg[0] = (int64_t) p->necp_fd; /* int */ |
3301 | uarg[1] = (uint64_t) p->action; /* uint32_t */ |
3302 | uarg[2] = (uint64_t) p->client_id; /* uuid_t */ |
3303 | uarg[3] = (uint64_t) p->client_id_len; /* size_t */ |
3304 | uarg[4] = (uint64_t) p->buffer; /* uint8_t * */ |
3305 | uarg[5] = (uint64_t) p->buffer_size; /* size_t */ |
3306 | break; |
3307 | } |
3308 | #else |
3309 | #endif /* NECP */ |
3310 | #if SKYWALK |
3311 | /* __nexus_open */ |
3312 | case 503: { |
3313 | struct __nexus_open_args *p = params; |
3314 | uarg[0] = (uint64_t) p->init; /* struct nxctl_init * */ |
3315 | uarg[1] = (uint64_t) p->init_len; /* uint32_t */ |
3316 | break; |
3317 | } |
3318 | /* __nexus_register */ |
3319 | case 504: { |
3320 | struct __nexus_register_args *p = params; |
3321 | iarg[0] = (int64_t) p->ctl; /* int */ |
3322 | uarg[1] = (uint64_t) p->reg; /* struct nxprov_reg * */ |
3323 | uarg[2] = (uint64_t) p->reg_len; /* uint32_t */ |
3324 | uarg[3] = (uint64_t) p->prov_uuid; /* uuid_t * */ |
3325 | uarg[4] = (uint64_t) p->prov_uuid_len; /* uint32_t */ |
3326 | break; |
3327 | } |
3328 | /* __nexus_deregister */ |
3329 | case 505: { |
3330 | struct __nexus_deregister_args *p = params; |
3331 | iarg[0] = (int64_t) p->ctl; /* int */ |
3332 | uarg[1] = (uint64_t) p->prov_uuid; /* uuid_t */ |
3333 | uarg[2] = (uint64_t) p->prov_uuid_len; /* uint32_t */ |
3334 | break; |
3335 | } |
3336 | /* __nexus_create */ |
3337 | case 506: { |
3338 | struct __nexus_create_args *p = params; |
3339 | iarg[0] = (int64_t) p->ctl; /* int */ |
3340 | uarg[1] = (uint64_t) p->prov_uuid; /* uuid_t */ |
3341 | uarg[2] = (uint64_t) p->prov_uuid_len; /* uint32_t */ |
3342 | uarg[3] = (uint64_t) p->nx_uuid; /* uuid_t * */ |
3343 | uarg[4] = (uint64_t) p->nx_uuid_len; /* uint32_t */ |
3344 | break; |
3345 | } |
3346 | /* __nexus_destroy */ |
3347 | case 507: { |
3348 | struct __nexus_destroy_args *p = params; |
3349 | iarg[0] = (int64_t) p->ctl; /* int */ |
3350 | uarg[1] = (uint64_t) p->nx_uuid; /* uuid_t */ |
3351 | uarg[2] = (uint64_t) p->nx_uuid_len; /* uint32_t */ |
3352 | break; |
3353 | } |
3354 | /* __nexus_get_opt */ |
3355 | case 508: { |
3356 | struct __nexus_get_opt_args *p = params; |
3357 | iarg[0] = (int64_t) p->ctl; /* int */ |
3358 | uarg[1] = (uint64_t) p->opt; /* uint32_t */ |
3359 | uarg[2] = (uint64_t) p->aoptval; /* void * */ |
3360 | uarg[3] = (uint64_t) p->aoptlen; /* uint32_t * */ |
3361 | break; |
3362 | } |
3363 | /* __nexus_set_opt */ |
3364 | case 509: { |
3365 | struct __nexus_set_opt_args *p = params; |
3366 | iarg[0] = (int64_t) p->ctl; /* int */ |
3367 | uarg[1] = (uint64_t) p->opt; /* uint32_t */ |
3368 | uarg[2] = (uint64_t) p->aoptval; /* const void * */ |
3369 | uarg[3] = (uint64_t) p->optlen; /* uint32_t */ |
3370 | break; |
3371 | } |
3372 | /* __channel_open */ |
3373 | case 510: { |
3374 | struct __channel_open_args *p = params; |
3375 | uarg[0] = (uint64_t) p->init; /* struct ch_init * */ |
3376 | uarg[1] = (uint64_t) p->init_len; /* uint32_t */ |
3377 | break; |
3378 | } |
3379 | /* __channel_get_info */ |
3380 | case 511: { |
3381 | struct __channel_get_info_args *p = params; |
3382 | iarg[0] = (int64_t) p->c; /* int */ |
3383 | uarg[1] = (uint64_t) p->cinfo; /* struct ch_info * */ |
3384 | uarg[2] = (uint64_t) p->cinfolen; /* uint32_t */ |
3385 | break; |
3386 | } |
3387 | /* __channel_sync */ |
3388 | case 512: { |
3389 | struct __channel_sync_args *p = params; |
3390 | iarg[0] = (int64_t) p->c; /* int */ |
3391 | iarg[1] = (int64_t) p->mode; /* int */ |
3392 | iarg[2] = (int64_t) p->flags; /* int */ |
3393 | break; |
3394 | } |
3395 | /* __channel_get_opt */ |
3396 | case 513: { |
3397 | struct __channel_get_opt_args *p = params; |
3398 | iarg[0] = (int64_t) p->c; /* int */ |
3399 | uarg[1] = (uint64_t) p->opt; /* uint32_t */ |
3400 | uarg[2] = (uint64_t) p->aoptval; /* void * */ |
3401 | uarg[3] = (uint64_t) p->aoptlen; /* uint32_t * */ |
3402 | break; |
3403 | } |
3404 | /* __channel_set_opt */ |
3405 | case 514: { |
3406 | struct __channel_set_opt_args *p = params; |
3407 | iarg[0] = (int64_t) p->c; /* int */ |
3408 | uarg[1] = (uint64_t) p->opt; /* uint32_t */ |
3409 | uarg[2] = (uint64_t) p->aoptval; /* const void * */ |
3410 | uarg[3] = (uint64_t) p->optlen; /* uint32_t */ |
3411 | break; |
3412 | } |
3413 | #else |
3414 | #endif /* !SKYWALK */ |
3415 | /* sys_ulock_wait */ |
3416 | case 515: { |
3417 | struct ulock_wait_args *p = params; |
3418 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
3419 | uarg[1] = (uint64_t) p->addr; /* void * */ |
3420 | uarg[2] = (uint64_t) p->value; /* uint64_t */ |
3421 | uarg[3] = (uint64_t) p->timeout; /* uint32_t */ |
3422 | break; |
3423 | } |
3424 | /* sys_ulock_wake */ |
3425 | case 516: { |
3426 | struct ulock_wake_args *p = params; |
3427 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
3428 | uarg[1] = (uint64_t) p->addr; /* void * */ |
3429 | uarg[2] = (uint64_t) p->wake_value; /* uint64_t */ |
3430 | break; |
3431 | } |
3432 | /* fclonefileat */ |
3433 | case 517: { |
3434 | struct fclonefileat_args *p = params; |
3435 | iarg[0] = (int64_t) p->src_fd; /* int */ |
3436 | iarg[1] = (int64_t) p->dst_dirfd; /* int */ |
3437 | uarg[2] = (uint64_t) p->dst; /* user_addr_t */ |
3438 | uarg[3] = (uint64_t) p->flags; /* uint32_t */ |
3439 | break; |
3440 | } |
3441 | /* fs_snapshot */ |
3442 | case 518: { |
3443 | struct fs_snapshot_args *p = params; |
3444 | uarg[0] = (uint64_t) p->op; /* uint32_t */ |
3445 | iarg[1] = (int64_t) p->dirfd; /* int */ |
3446 | uarg[2] = (uint64_t) p->name1; /* user_addr_t */ |
3447 | uarg[3] = (uint64_t) p->name2; /* user_addr_t */ |
3448 | uarg[4] = (uint64_t) p->data; /* user_addr_t */ |
3449 | uarg[5] = (uint64_t) p->flags; /* uint32_t */ |
3450 | break; |
3451 | } |
3452 | /* terminate_with_payload */ |
3453 | case 520: { |
3454 | struct terminate_with_payload_args *p = params; |
3455 | iarg[0] = (int64_t) p->pid; /* int */ |
3456 | uarg[1] = (uint64_t) p->reason_namespace; /* uint32_t */ |
3457 | uarg[2] = (uint64_t) p->reason_code; /* uint64_t */ |
3458 | uarg[3] = (uint64_t) p->payload; /* void * */ |
3459 | uarg[4] = (uint64_t) p->payload_size; /* uint32_t */ |
3460 | uarg[5] = (uint64_t) p->reason_string; /* const char * */ |
3461 | uarg[6] = (uint64_t) p->reason_flags; /* uint64_t */ |
3462 | break; |
3463 | } |
3464 | /* abort_with_payload */ |
3465 | case 521: { |
3466 | struct abort_with_payload_args *p = params; |
3467 | uarg[0] = (uint64_t) p->reason_namespace; /* uint32_t */ |
3468 | uarg[1] = (uint64_t) p->reason_code; /* uint64_t */ |
3469 | uarg[2] = (uint64_t) p->payload; /* void * */ |
3470 | uarg[3] = (uint64_t) p->payload_size; /* uint32_t */ |
3471 | uarg[4] = (uint64_t) p->reason_string; /* const char * */ |
3472 | uarg[5] = (uint64_t) p->reason_flags; /* uint64_t */ |
3473 | break; |
3474 | } |
3475 | #if NECP |
3476 | /* necp_session_open */ |
3477 | case 522: { |
3478 | struct necp_session_open_args *p = params; |
3479 | iarg[0] = (int64_t) p->flags; /* int */ |
3480 | break; |
3481 | } |
3482 | /* necp_session_action */ |
3483 | case 523: { |
3484 | struct necp_session_action_args *p = params; |
3485 | iarg[0] = (int64_t) p->necp_fd; /* int */ |
3486 | uarg[1] = (uint64_t) p->action; /* uint32_t */ |
3487 | uarg[2] = (uint64_t) p->in_buffer; /* uint8_t * */ |
3488 | uarg[3] = (uint64_t) p->in_buffer_length; /* size_t */ |
3489 | uarg[4] = (uint64_t) p->out_buffer; /* uint8_t * */ |
3490 | uarg[5] = (uint64_t) p->out_buffer_length; /* size_t */ |
3491 | break; |
3492 | } |
3493 | #else /* NECP */ |
3494 | #endif /* NECP */ |
3495 | /* setattrlistat */ |
3496 | case 524: { |
3497 | struct setattrlistat_args *p = params; |
3498 | iarg[0] = (int64_t) p->fd; /* int */ |
3499 | uarg[1] = (uint64_t) p->path; /* const char * */ |
3500 | uarg[2] = (uint64_t) p->alist; /* struct attrlist * */ |
3501 | uarg[3] = (uint64_t) p->attributeBuffer; /* void * */ |
3502 | uarg[4] = (uint64_t) p->bufferSize; /* size_t */ |
3503 | uarg[5] = (uint64_t) p->options; /* uint32_t */ |
3504 | break; |
3505 | } |
3506 | /* net_qos_guideline */ |
3507 | case 525: { |
3508 | struct net_qos_guideline_args *p = params; |
3509 | uarg[0] = (uint64_t) p->param; /* struct net_qos_param * */ |
3510 | uarg[1] = (uint64_t) p->param_len; /* uint32_t */ |
3511 | break; |
3512 | } |
3513 | /* fmount */ |
3514 | case 526: { |
3515 | struct fmount_args *p = params; |
3516 | uarg[0] = (uint64_t) p->type; /* const char * */ |
3517 | iarg[1] = (int64_t) p->fd; /* int */ |
3518 | iarg[2] = (int64_t) p->flags; /* int */ |
3519 | uarg[3] = (uint64_t) p->data; /* void * */ |
3520 | break; |
3521 | } |
3522 | /* ntp_adjtime */ |
3523 | case 527: { |
3524 | struct ntp_adjtime_args *p = params; |
3525 | uarg[0] = (uint64_t) p->tp; /* struct timex * */ |
3526 | break; |
3527 | } |
3528 | /* ntp_gettime */ |
3529 | case 528: { |
3530 | struct ntp_gettime_args *p = params; |
3531 | uarg[0] = (uint64_t) p->ntvp; /* struct ntptimeval * */ |
3532 | break; |
3533 | } |
3534 | /* os_fault_with_payload */ |
3535 | case 529: { |
3536 | struct os_fault_with_payload_args *p = params; |
3537 | uarg[0] = (uint64_t) p->reason_namespace; /* uint32_t */ |
3538 | uarg[1] = (uint64_t) p->reason_code; /* uint64_t */ |
3539 | uarg[2] = (uint64_t) p->payload; /* void * */ |
3540 | uarg[3] = (uint64_t) p->payload_size; /* uint32_t */ |
3541 | uarg[4] = (uint64_t) p->reason_string; /* const char * */ |
3542 | uarg[5] = (uint64_t) p->reason_flags; /* uint64_t */ |
3543 | break; |
3544 | } |
3545 | /* kqueue_workloop_ctl */ |
3546 | case 530: { |
3547 | struct kqueue_workloop_ctl_args *p = params; |
3548 | uarg[0] = (uint64_t) p->cmd; /* user_addr_t */ |
3549 | uarg[1] = (uint64_t) p->options; /* uint64_t */ |
3550 | uarg[2] = (uint64_t) p->addr; /* user_addr_t */ |
3551 | uarg[3] = (uint64_t) p->sz; /* size_t */ |
3552 | break; |
3553 | } |
3554 | /* __mach_bridge_remote_time */ |
3555 | case 531: { |
3556 | struct __mach_bridge_remote_time_args *p = params; |
3557 | uarg[0] = (uint64_t) p->local_timestamp; /* uint64_t */ |
3558 | break; |
3559 | } |
3560 | #if CONFIG_COALITIONS |
3561 | /* coalition_ledger */ |
3562 | case 532: { |
3563 | struct coalition_ledger_args *p = params; |
3564 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
3565 | uarg[1] = (uint64_t) p->cid; /* uint64_t * */ |
3566 | uarg[2] = (uint64_t) p->buffer; /* void * */ |
3567 | uarg[3] = (uint64_t) p->bufsize; /* size_t * */ |
3568 | break; |
3569 | } |
3570 | #else |
3571 | #endif // CONFIG_COALITIONS |
3572 | /* log_data */ |
3573 | case 533: { |
3574 | struct log_data_args *p = params; |
3575 | uarg[0] = (uint64_t) p->tag; /* unsigned int */ |
3576 | uarg[1] = (uint64_t) p->flags; /* unsigned int */ |
3577 | uarg[2] = (uint64_t) p->buffer; /* void * */ |
3578 | uarg[3] = (uint64_t) p->size; /* unsigned int */ |
3579 | break; |
3580 | } |
3581 | /* memorystatus_available_memory */ |
3582 | case 534: { |
3583 | break; |
3584 | } |
3585 | /* shared_region_map_and_slide_2_np */ |
3586 | case 536: { |
3587 | struct shared_region_map_and_slide_2_np_args *p = params; |
3588 | uarg[0] = (uint64_t) p->files_count; /* uint32_t */ |
3589 | uarg[1] = (uint64_t) p->files; /* const struct shared_file_np * */ |
3590 | uarg[2] = (uint64_t) p->mappings_count; /* uint32_t */ |
3591 | uarg[3] = (uint64_t) p->mappings; /* const struct shared_file_mapping_slide_np * */ |
3592 | break; |
3593 | } |
3594 | /* pivot_root */ |
3595 | case 537: { |
3596 | struct pivot_root_args *p = params; |
3597 | uarg[0] = (uint64_t) p->new_rootfs_path_before; /* const char * */ |
3598 | uarg[1] = (uint64_t) p->old_rootfs_path_after; /* const char * */ |
3599 | break; |
3600 | } |
3601 | /* task_inspect_for_pid */ |
3602 | case 538: { |
3603 | struct task_inspect_for_pid_args *p = params; |
3604 | iarg[0] = (int64_t) p->target_tport; /* mach_port_name_t */ |
3605 | iarg[1] = (int64_t) p->pid; /* int */ |
3606 | uarg[2] = (uint64_t) p->t; /* mach_port_name_t * */ |
3607 | break; |
3608 | } |
3609 | /* task_read_for_pid */ |
3610 | case 539: { |
3611 | struct task_read_for_pid_args *p = params; |
3612 | iarg[0] = (int64_t) p->target_tport; /* mach_port_name_t */ |
3613 | iarg[1] = (int64_t) p->pid; /* int */ |
3614 | uarg[2] = (uint64_t) p->t; /* mach_port_name_t * */ |
3615 | break; |
3616 | } |
3617 | /* sys_preadv */ |
3618 | case 540: { |
3619 | struct preadv_args *p = params; |
3620 | iarg[0] = (int64_t) p->fd; /* int */ |
3621 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
3622 | iarg[2] = (int64_t) p->iovcnt; /* int */ |
3623 | iarg[3] = (int64_t) p->offset; /* off_t */ |
3624 | break; |
3625 | } |
3626 | /* sys_pwritev */ |
3627 | case 541: { |
3628 | struct pwritev_args *p = params; |
3629 | iarg[0] = (int64_t) p->fd; /* int */ |
3630 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
3631 | iarg[2] = (int64_t) p->iovcnt; /* int */ |
3632 | iarg[3] = (int64_t) p->offset; /* off_t */ |
3633 | break; |
3634 | } |
3635 | /* sys_preadv_nocancel */ |
3636 | case 542: { |
3637 | struct preadv_nocancel_args *p = params; |
3638 | iarg[0] = (int64_t) p->fd; /* int */ |
3639 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
3640 | iarg[2] = (int64_t) p->iovcnt; /* int */ |
3641 | iarg[3] = (int64_t) p->offset; /* off_t */ |
3642 | break; |
3643 | } |
3644 | /* sys_pwritev_nocancel */ |
3645 | case 543: { |
3646 | struct pwritev_nocancel_args *p = params; |
3647 | iarg[0] = (int64_t) p->fd; /* int */ |
3648 | uarg[1] = (uint64_t) p->iovp; /* struct iovec * */ |
3649 | iarg[2] = (int64_t) p->iovcnt; /* int */ |
3650 | iarg[3] = (int64_t) p->offset; /* off_t */ |
3651 | break; |
3652 | } |
3653 | /* sys_ulock_wait2 */ |
3654 | case 544: { |
3655 | struct ulock_wait2_args *p = params; |
3656 | uarg[0] = (uint64_t) p->operation; /* uint32_t */ |
3657 | uarg[1] = (uint64_t) p->addr; /* void * */ |
3658 | uarg[2] = (uint64_t) p->value; /* uint64_t */ |
3659 | uarg[3] = (uint64_t) p->timeout; /* uint64_t */ |
3660 | uarg[4] = (uint64_t) p->value2; /* uint64_t */ |
3661 | break; |
3662 | } |
3663 | /* proc_info_extended_id */ |
3664 | case 545: { |
3665 | struct proc_info_extended_id_args *p = params; |
3666 | iarg[0] = (int64_t) p->callnum; /* int32_t */ |
3667 | iarg[1] = (int64_t) p->pid; /* int32_t */ |
3668 | uarg[2] = (uint64_t) p->flavor; /* uint32_t */ |
3669 | uarg[3] = (uint64_t) p->flags; /* uint32_t */ |
3670 | uarg[4] = (uint64_t) p->ext_id; /* uint64_t */ |
3671 | uarg[5] = (uint64_t) p->arg; /* uint64_t */ |
3672 | uarg[6] = (uint64_t) p->buffer; /* user_addr_t */ |
3673 | iarg[7] = (int64_t) p->buffersize; /* int32_t */ |
3674 | break; |
3675 | } |
3676 | #if SOCKETS |
3677 | /* tracker_action */ |
3678 | case 546: { |
3679 | struct tracker_action_args *p = params; |
3680 | iarg[0] = (int64_t) p->action; /* int */ |
3681 | uarg[1] = (uint64_t) p->buffer; /* char * */ |
3682 | uarg[2] = (uint64_t) p->buffer_size; /* size_t */ |
3683 | break; |
3684 | } |
3685 | #else |
3686 | #endif /* SOCKETS */ |
3687 | /* debug_syscall_reject */ |
3688 | case 547: { |
3689 | struct debug_syscall_reject_args *p = params; |
3690 | uarg[0] = (uint64_t) p->packed_selectors; /* uint64_t */ |
3691 | break; |
3692 | } |
3693 | /* sys_debug_syscall_reject_config */ |
3694 | case 548: { |
3695 | struct debug_syscall_reject_config_args *p = params; |
3696 | uarg[0] = (uint64_t) p->packed_selectors1; /* uint64_t */ |
3697 | uarg[1] = (uint64_t) p->packed_selectors2; /* uint64_t */ |
3698 | uarg[2] = (uint64_t) p->flags; /* uint64_t */ |
3699 | break; |
3700 | } |
3701 | /* graftdmg */ |
3702 | case 549: { |
3703 | struct graftdmg_args *p = params; |
3704 | iarg[0] = (int64_t) p->dmg_fd; /* int */ |
3705 | uarg[1] = (uint64_t) p->mountdir; /* const char * */ |
3706 | uarg[2] = (uint64_t) p->graft_type; /* uint32_t */ |
3707 | uarg[3] = (uint64_t) p->gda; /* graftdmg_args_un * */ |
3708 | break; |
3709 | } |
3710 | /* map_with_linking_np */ |
3711 | case 550: { |
3712 | struct map_with_linking_np_args *p = params; |
3713 | uarg[0] = (uint64_t) p->regions; /* void * */ |
3714 | uarg[1] = (uint64_t) p->region_count; /* uint32_t */ |
3715 | uarg[2] = (uint64_t) p->link_info; /* void * */ |
3716 | uarg[3] = (uint64_t) p->link_info_size; /* uint32_t */ |
3717 | break; |
3718 | } |
3719 | /* freadlink */ |
3720 | case 551: { |
3721 | struct freadlink_args *p = params; |
3722 | iarg[0] = (int64_t) p->fd; /* int */ |
3723 | uarg[1] = (uint64_t) p->buf; /* user_addr_t */ |
3724 | uarg[2] = (uint64_t) p->bufsize; /* user_size_t */ |
3725 | break; |
3726 | } |
3727 | /* sys_record_system_event */ |
3728 | case 552: { |
3729 | struct record_system_event_args *p = params; |
3730 | uarg[0] = (uint64_t) p->type; /* uint32_t */ |
3731 | uarg[1] = (uint64_t) p->subsystem; /* uint32_t */ |
3732 | uarg[2] = (uint64_t) p->event; /* const char * */ |
3733 | uarg[3] = (uint64_t) p->payload; /* const char * */ |
3734 | break; |
3735 | } |
3736 | /* mkfifoat */ |
3737 | case 553: { |
3738 | struct mkfifoat_args *p = params; |
3739 | iarg[0] = (int64_t) p->fd; /* int */ |
3740 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3741 | iarg[2] = (int64_t) p->mode; /* int */ |
3742 | break; |
3743 | } |
3744 | /* mknodat */ |
3745 | case 554: { |
3746 | struct mknodat_args *p = params; |
3747 | iarg[0] = (int64_t) p->fd; /* int */ |
3748 | uarg[1] = (uint64_t) p->path; /* user_addr_t */ |
3749 | iarg[2] = (int64_t) p->mode; /* int */ |
3750 | iarg[3] = (int64_t) p->dev; /* int */ |
3751 | break; |
3752 | } |
3753 | /* ungraftdmg */ |
3754 | case 555: { |
3755 | struct ungraftdmg_args *p = params; |
3756 | uarg[0] = (uint64_t) p->mountdir; /* const char * */ |
3757 | uarg[1] = (uint64_t) p->flags; /* uint64_t */ |
3758 | break; |
3759 | } |
3760 | default: |
3761 | break; |
3762 | }; |
3763 | } |
3764 | void |
3765 | systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) |
3766 | { |
3767 | const char *p = NULL; |
3768 | switch (sysnum) { |
3769 | /* nosys */ |
3770 | case 0: |
3771 | break; |
3772 | /* exit */ |
3773 | case 1: |
3774 | switch(ndx) { |
3775 | case 0: |
3776 | p = "int" ; |
3777 | break; |
3778 | default: |
3779 | break; |
3780 | }; |
3781 | break; |
3782 | /* fork */ |
3783 | case 2: |
3784 | break; |
3785 | /* read */ |
3786 | case 3: |
3787 | switch(ndx) { |
3788 | case 0: |
3789 | p = "int" ; |
3790 | break; |
3791 | case 1: |
3792 | p = "user_addr_t" ; |
3793 | break; |
3794 | case 2: |
3795 | p = "user_size_t" ; |
3796 | break; |
3797 | default: |
3798 | break; |
3799 | }; |
3800 | break; |
3801 | /* write */ |
3802 | case 4: |
3803 | switch(ndx) { |
3804 | case 0: |
3805 | p = "int" ; |
3806 | break; |
3807 | case 1: |
3808 | p = "user_addr_t" ; |
3809 | break; |
3810 | case 2: |
3811 | p = "user_size_t" ; |
3812 | break; |
3813 | default: |
3814 | break; |
3815 | }; |
3816 | break; |
3817 | /* open */ |
3818 | case 5: |
3819 | switch(ndx) { |
3820 | case 0: |
3821 | p = "user_addr_t" ; |
3822 | break; |
3823 | case 1: |
3824 | p = "int" ; |
3825 | break; |
3826 | case 2: |
3827 | p = "int" ; |
3828 | break; |
3829 | default: |
3830 | break; |
3831 | }; |
3832 | break; |
3833 | /* sys_close */ |
3834 | case 6: |
3835 | switch(ndx) { |
3836 | case 0: |
3837 | p = "int" ; |
3838 | break; |
3839 | default: |
3840 | break; |
3841 | }; |
3842 | break; |
3843 | /* wait4 */ |
3844 | case 7: |
3845 | switch(ndx) { |
3846 | case 0: |
3847 | p = "int" ; |
3848 | break; |
3849 | case 1: |
3850 | p = "user_addr_t" ; |
3851 | break; |
3852 | case 2: |
3853 | p = "int" ; |
3854 | break; |
3855 | case 3: |
3856 | p = "user_addr_t" ; |
3857 | break; |
3858 | default: |
3859 | break; |
3860 | }; |
3861 | break; |
3862 | /* link */ |
3863 | case 9: |
3864 | switch(ndx) { |
3865 | case 0: |
3866 | p = "user_addr_t" ; |
3867 | break; |
3868 | case 1: |
3869 | p = "user_addr_t" ; |
3870 | break; |
3871 | default: |
3872 | break; |
3873 | }; |
3874 | break; |
3875 | /* unlink */ |
3876 | case 10: |
3877 | switch(ndx) { |
3878 | case 0: |
3879 | p = "user_addr_t" ; |
3880 | break; |
3881 | default: |
3882 | break; |
3883 | }; |
3884 | break; |
3885 | /* sys_chdir */ |
3886 | case 12: |
3887 | switch(ndx) { |
3888 | case 0: |
3889 | p = "user_addr_t" ; |
3890 | break; |
3891 | default: |
3892 | break; |
3893 | }; |
3894 | break; |
3895 | /* sys_fchdir */ |
3896 | case 13: |
3897 | switch(ndx) { |
3898 | case 0: |
3899 | p = "int" ; |
3900 | break; |
3901 | default: |
3902 | break; |
3903 | }; |
3904 | break; |
3905 | /* mknod */ |
3906 | case 14: |
3907 | switch(ndx) { |
3908 | case 0: |
3909 | p = "user_addr_t" ; |
3910 | break; |
3911 | case 1: |
3912 | p = "int" ; |
3913 | break; |
3914 | case 2: |
3915 | p = "int" ; |
3916 | break; |
3917 | default: |
3918 | break; |
3919 | }; |
3920 | break; |
3921 | /* chmod */ |
3922 | case 15: |
3923 | switch(ndx) { |
3924 | case 0: |
3925 | p = "user_addr_t" ; |
3926 | break; |
3927 | case 1: |
3928 | p = "int" ; |
3929 | break; |
3930 | default: |
3931 | break; |
3932 | }; |
3933 | break; |
3934 | /* chown */ |
3935 | case 16: |
3936 | switch(ndx) { |
3937 | case 0: |
3938 | p = "user_addr_t" ; |
3939 | break; |
3940 | case 1: |
3941 | p = "int" ; |
3942 | break; |
3943 | case 2: |
3944 | p = "int" ; |
3945 | break; |
3946 | default: |
3947 | break; |
3948 | }; |
3949 | break; |
3950 | /* getfsstat */ |
3951 | case 18: |
3952 | switch(ndx) { |
3953 | case 0: |
3954 | p = "user_addr_t" ; |
3955 | break; |
3956 | case 1: |
3957 | p = "int" ; |
3958 | break; |
3959 | case 2: |
3960 | p = "int" ; |
3961 | break; |
3962 | default: |
3963 | break; |
3964 | }; |
3965 | break; |
3966 | /* getpid */ |
3967 | case 20: |
3968 | break; |
3969 | /* setuid */ |
3970 | case 23: |
3971 | switch(ndx) { |
3972 | case 0: |
3973 | p = "uid_t" ; |
3974 | break; |
3975 | default: |
3976 | break; |
3977 | }; |
3978 | break; |
3979 | /* getuid */ |
3980 | case 24: |
3981 | break; |
3982 | /* geteuid */ |
3983 | case 25: |
3984 | break; |
3985 | /* ptrace */ |
3986 | case 26: |
3987 | switch(ndx) { |
3988 | case 0: |
3989 | p = "int" ; |
3990 | break; |
3991 | case 1: |
3992 | p = "pid_t" ; |
3993 | break; |
3994 | case 2: |
3995 | p = "caddr_t" ; |
3996 | break; |
3997 | case 3: |
3998 | p = "int" ; |
3999 | break; |
4000 | default: |
4001 | break; |
4002 | }; |
4003 | break; |
4004 | #if SOCKETS |
4005 | /* recvmsg */ |
4006 | case 27: |
4007 | switch(ndx) { |
4008 | case 0: |
4009 | p = "int" ; |
4010 | break; |
4011 | case 1: |
4012 | p = "userland struct msghdr *" ; |
4013 | break; |
4014 | case 2: |
4015 | p = "int" ; |
4016 | break; |
4017 | default: |
4018 | break; |
4019 | }; |
4020 | break; |
4021 | /* sendmsg */ |
4022 | case 28: |
4023 | switch(ndx) { |
4024 | case 0: |
4025 | p = "int" ; |
4026 | break; |
4027 | case 1: |
4028 | p = "caddr_t" ; |
4029 | break; |
4030 | case 2: |
4031 | p = "int" ; |
4032 | break; |
4033 | default: |
4034 | break; |
4035 | }; |
4036 | break; |
4037 | /* recvfrom */ |
4038 | case 29: |
4039 | switch(ndx) { |
4040 | case 0: |
4041 | p = "int" ; |
4042 | break; |
4043 | case 1: |
4044 | p = "userland void *" ; |
4045 | break; |
4046 | case 2: |
4047 | p = "size_t" ; |
4048 | break; |
4049 | case 3: |
4050 | p = "int" ; |
4051 | break; |
4052 | case 4: |
4053 | p = "userland struct sockaddr *" ; |
4054 | break; |
4055 | case 5: |
4056 | p = "userland int *" ; |
4057 | break; |
4058 | default: |
4059 | break; |
4060 | }; |
4061 | break; |
4062 | /* accept */ |
4063 | case 30: |
4064 | switch(ndx) { |
4065 | case 0: |
4066 | p = "int" ; |
4067 | break; |
4068 | case 1: |
4069 | p = "caddr_t" ; |
4070 | break; |
4071 | case 2: |
4072 | p = "userland socklen_t *" ; |
4073 | break; |
4074 | default: |
4075 | break; |
4076 | }; |
4077 | break; |
4078 | /* getpeername */ |
4079 | case 31: |
4080 | switch(ndx) { |
4081 | case 0: |
4082 | p = "int" ; |
4083 | break; |
4084 | case 1: |
4085 | p = "caddr_t" ; |
4086 | break; |
4087 | case 2: |
4088 | p = "userland socklen_t *" ; |
4089 | break; |
4090 | default: |
4091 | break; |
4092 | }; |
4093 | break; |
4094 | /* getsockname */ |
4095 | case 32: |
4096 | switch(ndx) { |
4097 | case 0: |
4098 | p = "int" ; |
4099 | break; |
4100 | case 1: |
4101 | p = "caddr_t" ; |
4102 | break; |
4103 | case 2: |
4104 | p = "userland socklen_t *" ; |
4105 | break; |
4106 | default: |
4107 | break; |
4108 | }; |
4109 | break; |
4110 | #else |
4111 | #endif /* SOCKETS */ |
4112 | /* access */ |
4113 | case 33: |
4114 | switch(ndx) { |
4115 | case 0: |
4116 | p = "user_addr_t" ; |
4117 | break; |
4118 | case 1: |
4119 | p = "int" ; |
4120 | break; |
4121 | default: |
4122 | break; |
4123 | }; |
4124 | break; |
4125 | /* chflags */ |
4126 | case 34: |
4127 | switch(ndx) { |
4128 | case 0: |
4129 | p = "userland char *" ; |
4130 | break; |
4131 | case 1: |
4132 | p = "int" ; |
4133 | break; |
4134 | default: |
4135 | break; |
4136 | }; |
4137 | break; |
4138 | /* fchflags */ |
4139 | case 35: |
4140 | switch(ndx) { |
4141 | case 0: |
4142 | p = "int" ; |
4143 | break; |
4144 | case 1: |
4145 | p = "int" ; |
4146 | break; |
4147 | default: |
4148 | break; |
4149 | }; |
4150 | break; |
4151 | /* sync */ |
4152 | case 36: |
4153 | break; |
4154 | /* kill */ |
4155 | case 37: |
4156 | switch(ndx) { |
4157 | case 0: |
4158 | p = "int" ; |
4159 | break; |
4160 | case 1: |
4161 | p = "int" ; |
4162 | break; |
4163 | case 2: |
4164 | p = "int" ; |
4165 | break; |
4166 | default: |
4167 | break; |
4168 | }; |
4169 | break; |
4170 | /* sys_crossarch_trap */ |
4171 | case 38: |
4172 | switch(ndx) { |
4173 | case 0: |
4174 | p = "uint32_t" ; |
4175 | break; |
4176 | default: |
4177 | break; |
4178 | }; |
4179 | break; |
4180 | /* getppid */ |
4181 | case 39: |
4182 | break; |
4183 | /* sys_dup */ |
4184 | case 41: |
4185 | switch(ndx) { |
4186 | case 0: |
4187 | p = "u_int" ; |
4188 | break; |
4189 | default: |
4190 | break; |
4191 | }; |
4192 | break; |
4193 | /* pipe */ |
4194 | case 42: |
4195 | break; |
4196 | /* getegid */ |
4197 | case 43: |
4198 | break; |
4199 | /* sigaction */ |
4200 | case 46: |
4201 | switch(ndx) { |
4202 | case 0: |
4203 | p = "int" ; |
4204 | break; |
4205 | case 1: |
4206 | p = "userland struct __sigaction *" ; |
4207 | break; |
4208 | case 2: |
4209 | p = "userland struct sigaction *" ; |
4210 | break; |
4211 | default: |
4212 | break; |
4213 | }; |
4214 | break; |
4215 | /* getgid */ |
4216 | case 47: |
4217 | break; |
4218 | /* sigprocmask */ |
4219 | case 48: |
4220 | switch(ndx) { |
4221 | case 0: |
4222 | p = "int" ; |
4223 | break; |
4224 | case 1: |
4225 | p = "user_addr_t" ; |
4226 | break; |
4227 | case 2: |
4228 | p = "user_addr_t" ; |
4229 | break; |
4230 | default: |
4231 | break; |
4232 | }; |
4233 | break; |
4234 | /* getlogin */ |
4235 | case 49: |
4236 | switch(ndx) { |
4237 | case 0: |
4238 | p = "userland char *" ; |
4239 | break; |
4240 | case 1: |
4241 | p = "u_int" ; |
4242 | break; |
4243 | default: |
4244 | break; |
4245 | }; |
4246 | break; |
4247 | /* setlogin */ |
4248 | case 50: |
4249 | switch(ndx) { |
4250 | case 0: |
4251 | p = "userland char *" ; |
4252 | break; |
4253 | default: |
4254 | break; |
4255 | }; |
4256 | break; |
4257 | /* acct */ |
4258 | case 51: |
4259 | switch(ndx) { |
4260 | case 0: |
4261 | p = "userland char *" ; |
4262 | break; |
4263 | default: |
4264 | break; |
4265 | }; |
4266 | break; |
4267 | /* sigpending */ |
4268 | case 52: |
4269 | switch(ndx) { |
4270 | case 0: |
4271 | p = "userland struct sigvec *" ; |
4272 | break; |
4273 | default: |
4274 | break; |
4275 | }; |
4276 | break; |
4277 | /* sigaltstack */ |
4278 | case 53: |
4279 | switch(ndx) { |
4280 | case 0: |
4281 | p = "userland struct sigaltstack *" ; |
4282 | break; |
4283 | case 1: |
4284 | p = "userland struct sigaltstack *" ; |
4285 | break; |
4286 | default: |
4287 | break; |
4288 | }; |
4289 | break; |
4290 | /* ioctl */ |
4291 | case 54: |
4292 | switch(ndx) { |
4293 | case 0: |
4294 | p = "int" ; |
4295 | break; |
4296 | case 1: |
4297 | p = "u_long" ; |
4298 | break; |
4299 | case 2: |
4300 | p = "caddr_t" ; |
4301 | break; |
4302 | default: |
4303 | break; |
4304 | }; |
4305 | break; |
4306 | /* reboot */ |
4307 | case 55: |
4308 | switch(ndx) { |
4309 | case 0: |
4310 | p = "int" ; |
4311 | break; |
4312 | case 1: |
4313 | p = "userland char *" ; |
4314 | break; |
4315 | default: |
4316 | break; |
4317 | }; |
4318 | break; |
4319 | /* revoke */ |
4320 | case 56: |
4321 | switch(ndx) { |
4322 | case 0: |
4323 | p = "userland char *" ; |
4324 | break; |
4325 | default: |
4326 | break; |
4327 | }; |
4328 | break; |
4329 | /* symlink */ |
4330 | case 57: |
4331 | switch(ndx) { |
4332 | case 0: |
4333 | p = "userland char *" ; |
4334 | break; |
4335 | case 1: |
4336 | p = "userland char *" ; |
4337 | break; |
4338 | default: |
4339 | break; |
4340 | }; |
4341 | break; |
4342 | /* readlink */ |
4343 | case 58: |
4344 | switch(ndx) { |
4345 | case 0: |
4346 | p = "userland char *" ; |
4347 | break; |
4348 | case 1: |
4349 | p = "userland char *" ; |
4350 | break; |
4351 | case 2: |
4352 | p = "int" ; |
4353 | break; |
4354 | default: |
4355 | break; |
4356 | }; |
4357 | break; |
4358 | /* execve */ |
4359 | case 59: |
4360 | switch(ndx) { |
4361 | case 0: |
4362 | p = "userland char *" ; |
4363 | break; |
4364 | case 1: |
4365 | p = "userland char **" ; |
4366 | break; |
4367 | case 2: |
4368 | p = "userland char **" ; |
4369 | break; |
4370 | default: |
4371 | break; |
4372 | }; |
4373 | break; |
4374 | /* umask */ |
4375 | case 60: |
4376 | switch(ndx) { |
4377 | case 0: |
4378 | p = "int" ; |
4379 | break; |
4380 | default: |
4381 | break; |
4382 | }; |
4383 | break; |
4384 | /* chroot */ |
4385 | case 61: |
4386 | switch(ndx) { |
4387 | case 0: |
4388 | p = "user_addr_t" ; |
4389 | break; |
4390 | default: |
4391 | break; |
4392 | }; |
4393 | break; |
4394 | /* msync */ |
4395 | case 65: |
4396 | switch(ndx) { |
4397 | case 0: |
4398 | p = "caddr_t" ; |
4399 | break; |
4400 | case 1: |
4401 | p = "size_t" ; |
4402 | break; |
4403 | case 2: |
4404 | p = "int" ; |
4405 | break; |
4406 | default: |
4407 | break; |
4408 | }; |
4409 | break; |
4410 | #if CONFIG_VFORK |
4411 | /* vfork */ |
4412 | case 66: |
4413 | break; |
4414 | #else |
4415 | #endif |
4416 | /* munmap */ |
4417 | case 73: |
4418 | switch(ndx) { |
4419 | case 0: |
4420 | p = "caddr_t" ; |
4421 | break; |
4422 | case 1: |
4423 | p = "size_t" ; |
4424 | break; |
4425 | default: |
4426 | break; |
4427 | }; |
4428 | break; |
4429 | /* mprotect */ |
4430 | case 74: |
4431 | switch(ndx) { |
4432 | case 0: |
4433 | p = "caddr_t" ; |
4434 | break; |
4435 | case 1: |
4436 | p = "size_t" ; |
4437 | break; |
4438 | case 2: |
4439 | p = "int" ; |
4440 | break; |
4441 | default: |
4442 | break; |
4443 | }; |
4444 | break; |
4445 | /* madvise */ |
4446 | case 75: |
4447 | switch(ndx) { |
4448 | case 0: |
4449 | p = "caddr_t" ; |
4450 | break; |
4451 | case 1: |
4452 | p = "size_t" ; |
4453 | break; |
4454 | case 2: |
4455 | p = "int" ; |
4456 | break; |
4457 | default: |
4458 | break; |
4459 | }; |
4460 | break; |
4461 | /* mincore */ |
4462 | case 78: |
4463 | switch(ndx) { |
4464 | case 0: |
4465 | p = "user_addr_t" ; |
4466 | break; |
4467 | case 1: |
4468 | p = "user_size_t" ; |
4469 | break; |
4470 | case 2: |
4471 | p = "user_addr_t" ; |
4472 | break; |
4473 | default: |
4474 | break; |
4475 | }; |
4476 | break; |
4477 | /* getgroups */ |
4478 | case 79: |
4479 | switch(ndx) { |
4480 | case 0: |
4481 | p = "u_int" ; |
4482 | break; |
4483 | case 1: |
4484 | p = "userland gid_t *" ; |
4485 | break; |
4486 | default: |
4487 | break; |
4488 | }; |
4489 | break; |
4490 | /* setgroups */ |
4491 | case 80: |
4492 | switch(ndx) { |
4493 | case 0: |
4494 | p = "u_int" ; |
4495 | break; |
4496 | case 1: |
4497 | p = "userland gid_t *" ; |
4498 | break; |
4499 | default: |
4500 | break; |
4501 | }; |
4502 | break; |
4503 | /* getpgrp */ |
4504 | case 81: |
4505 | break; |
4506 | /* setpgid */ |
4507 | case 82: |
4508 | switch(ndx) { |
4509 | case 0: |
4510 | p = "int" ; |
4511 | break; |
4512 | case 1: |
4513 | p = "int" ; |
4514 | break; |
4515 | default: |
4516 | break; |
4517 | }; |
4518 | break; |
4519 | /* setitimer */ |
4520 | case 83: |
4521 | switch(ndx) { |
4522 | case 0: |
4523 | p = "u_int" ; |
4524 | break; |
4525 | case 1: |
4526 | p = "userland struct itimerval *" ; |
4527 | break; |
4528 | case 2: |
4529 | p = "userland struct itimerval *" ; |
4530 | break; |
4531 | default: |
4532 | break; |
4533 | }; |
4534 | break; |
4535 | /* swapon */ |
4536 | case 85: |
4537 | break; |
4538 | /* getitimer */ |
4539 | case 86: |
4540 | switch(ndx) { |
4541 | case 0: |
4542 | p = "u_int" ; |
4543 | break; |
4544 | case 1: |
4545 | p = "userland struct itimerval *" ; |
4546 | break; |
4547 | default: |
4548 | break; |
4549 | }; |
4550 | break; |
4551 | /* sys_getdtablesize */ |
4552 | case 89: |
4553 | break; |
4554 | /* sys_dup2 */ |
4555 | case 90: |
4556 | switch(ndx) { |
4557 | case 0: |
4558 | p = "u_int" ; |
4559 | break; |
4560 | case 1: |
4561 | p = "u_int" ; |
4562 | break; |
4563 | default: |
4564 | break; |
4565 | }; |
4566 | break; |
4567 | /* sys_fcntl */ |
4568 | case 92: |
4569 | switch(ndx) { |
4570 | case 0: |
4571 | p = "int" ; |
4572 | break; |
4573 | case 1: |
4574 | p = "int" ; |
4575 | break; |
4576 | case 2: |
4577 | p = "long" ; |
4578 | break; |
4579 | default: |
4580 | break; |
4581 | }; |
4582 | break; |
4583 | /* select */ |
4584 | case 93: |
4585 | switch(ndx) { |
4586 | case 0: |
4587 | p = "int" ; |
4588 | break; |
4589 | case 1: |
4590 | p = "userland u_int32_t *" ; |
4591 | break; |
4592 | case 2: |
4593 | p = "userland u_int32_t *" ; |
4594 | break; |
4595 | case 3: |
4596 | p = "userland u_int32_t *" ; |
4597 | break; |
4598 | case 4: |
4599 | p = "userland struct timeval *" ; |
4600 | break; |
4601 | default: |
4602 | break; |
4603 | }; |
4604 | break; |
4605 | /* fsync */ |
4606 | case 95: |
4607 | switch(ndx) { |
4608 | case 0: |
4609 | p = "int" ; |
4610 | break; |
4611 | default: |
4612 | break; |
4613 | }; |
4614 | break; |
4615 | /* setpriority */ |
4616 | case 96: |
4617 | switch(ndx) { |
4618 | case 0: |
4619 | p = "int" ; |
4620 | break; |
4621 | case 1: |
4622 | p = "id_t" ; |
4623 | break; |
4624 | case 2: |
4625 | p = "int" ; |
4626 | break; |
4627 | default: |
4628 | break; |
4629 | }; |
4630 | break; |
4631 | #if SOCKETS |
4632 | /* socket */ |
4633 | case 97: |
4634 | switch(ndx) { |
4635 | case 0: |
4636 | p = "int" ; |
4637 | break; |
4638 | case 1: |
4639 | p = "int" ; |
4640 | break; |
4641 | case 2: |
4642 | p = "int" ; |
4643 | break; |
4644 | default: |
4645 | break; |
4646 | }; |
4647 | break; |
4648 | /* connect */ |
4649 | case 98: |
4650 | switch(ndx) { |
4651 | case 0: |
4652 | p = "int" ; |
4653 | break; |
4654 | case 1: |
4655 | p = "caddr_t" ; |
4656 | break; |
4657 | case 2: |
4658 | p = "socklen_t" ; |
4659 | break; |
4660 | default: |
4661 | break; |
4662 | }; |
4663 | break; |
4664 | #else |
4665 | #endif /* SOCKETS */ |
4666 | /* getpriority */ |
4667 | case 100: |
4668 | switch(ndx) { |
4669 | case 0: |
4670 | p = "int" ; |
4671 | break; |
4672 | case 1: |
4673 | p = "id_t" ; |
4674 | break; |
4675 | default: |
4676 | break; |
4677 | }; |
4678 | break; |
4679 | #if SOCKETS |
4680 | /* bind */ |
4681 | case 104: |
4682 | switch(ndx) { |
4683 | case 0: |
4684 | p = "int" ; |
4685 | break; |
4686 | case 1: |
4687 | p = "caddr_t" ; |
4688 | break; |
4689 | case 2: |
4690 | p = "socklen_t" ; |
4691 | break; |
4692 | default: |
4693 | break; |
4694 | }; |
4695 | break; |
4696 | /* setsockopt */ |
4697 | case 105: |
4698 | switch(ndx) { |
4699 | case 0: |
4700 | p = "int" ; |
4701 | break; |
4702 | case 1: |
4703 | p = "int" ; |
4704 | break; |
4705 | case 2: |
4706 | p = "int" ; |
4707 | break; |
4708 | case 3: |
4709 | p = "caddr_t" ; |
4710 | break; |
4711 | case 4: |
4712 | p = "socklen_t" ; |
4713 | break; |
4714 | default: |
4715 | break; |
4716 | }; |
4717 | break; |
4718 | /* listen */ |
4719 | case 106: |
4720 | switch(ndx) { |
4721 | case 0: |
4722 | p = "int" ; |
4723 | break; |
4724 | case 1: |
4725 | p = "int" ; |
4726 | break; |
4727 | default: |
4728 | break; |
4729 | }; |
4730 | break; |
4731 | #else |
4732 | #endif /* SOCKETS */ |
4733 | /* sigsuspend */ |
4734 | case 111: |
4735 | switch(ndx) { |
4736 | case 0: |
4737 | p = "sigset_t" ; |
4738 | break; |
4739 | default: |
4740 | break; |
4741 | }; |
4742 | break; |
4743 | #if SOCKETS |
4744 | #else |
4745 | #endif /* SOCKETS */ |
4746 | /* gettimeofday */ |
4747 | case 116: |
4748 | switch(ndx) { |
4749 | case 0: |
4750 | p = "userland struct timeval *" ; |
4751 | break; |
4752 | case 1: |
4753 | p = "userland struct timezone *" ; |
4754 | break; |
4755 | case 2: |
4756 | p = "userland uint64_t *" ; |
4757 | break; |
4758 | default: |
4759 | break; |
4760 | }; |
4761 | break; |
4762 | /* getrusage */ |
4763 | case 117: |
4764 | switch(ndx) { |
4765 | case 0: |
4766 | p = "int" ; |
4767 | break; |
4768 | case 1: |
4769 | p = "userland struct rusage *" ; |
4770 | break; |
4771 | default: |
4772 | break; |
4773 | }; |
4774 | break; |
4775 | #if SOCKETS |
4776 | /* getsockopt */ |
4777 | case 118: |
4778 | switch(ndx) { |
4779 | case 0: |
4780 | p = "int" ; |
4781 | break; |
4782 | case 1: |
4783 | p = "int" ; |
4784 | break; |
4785 | case 2: |
4786 | p = "int" ; |
4787 | break; |
4788 | case 3: |
4789 | p = "caddr_t" ; |
4790 | break; |
4791 | case 4: |
4792 | p = "userland socklen_t *" ; |
4793 | break; |
4794 | default: |
4795 | break; |
4796 | }; |
4797 | break; |
4798 | #else |
4799 | #endif /* SOCKETS */ |
4800 | /* readv */ |
4801 | case 120: |
4802 | switch(ndx) { |
4803 | case 0: |
4804 | p = "int" ; |
4805 | break; |
4806 | case 1: |
4807 | p = "userland struct iovec *" ; |
4808 | break; |
4809 | case 2: |
4810 | p = "u_int" ; |
4811 | break; |
4812 | default: |
4813 | break; |
4814 | }; |
4815 | break; |
4816 | /* writev */ |
4817 | case 121: |
4818 | switch(ndx) { |
4819 | case 0: |
4820 | p = "int" ; |
4821 | break; |
4822 | case 1: |
4823 | p = "userland struct iovec *" ; |
4824 | break; |
4825 | case 2: |
4826 | p = "u_int" ; |
4827 | break; |
4828 | default: |
4829 | break; |
4830 | }; |
4831 | break; |
4832 | /* settimeofday */ |
4833 | case 122: |
4834 | switch(ndx) { |
4835 | case 0: |
4836 | p = "userland struct timeval *" ; |
4837 | break; |
4838 | case 1: |
4839 | p = "userland struct timezone *" ; |
4840 | break; |
4841 | default: |
4842 | break; |
4843 | }; |
4844 | break; |
4845 | /* fchown */ |
4846 | case 123: |
4847 | switch(ndx) { |
4848 | case 0: |
4849 | p = "int" ; |
4850 | break; |
4851 | case 1: |
4852 | p = "int" ; |
4853 | break; |
4854 | case 2: |
4855 | p = "int" ; |
4856 | break; |
4857 | default: |
4858 | break; |
4859 | }; |
4860 | break; |
4861 | /* fchmod */ |
4862 | case 124: |
4863 | switch(ndx) { |
4864 | case 0: |
4865 | p = "int" ; |
4866 | break; |
4867 | case 1: |
4868 | p = "int" ; |
4869 | break; |
4870 | default: |
4871 | break; |
4872 | }; |
4873 | break; |
4874 | /* setreuid */ |
4875 | case 126: |
4876 | switch(ndx) { |
4877 | case 0: |
4878 | p = "uid_t" ; |
4879 | break; |
4880 | case 1: |
4881 | p = "uid_t" ; |
4882 | break; |
4883 | default: |
4884 | break; |
4885 | }; |
4886 | break; |
4887 | /* setregid */ |
4888 | case 127: |
4889 | switch(ndx) { |
4890 | case 0: |
4891 | p = "gid_t" ; |
4892 | break; |
4893 | case 1: |
4894 | p = "gid_t" ; |
4895 | break; |
4896 | default: |
4897 | break; |
4898 | }; |
4899 | break; |
4900 | /* rename */ |
4901 | case 128: |
4902 | switch(ndx) { |
4903 | case 0: |
4904 | p = "userland char *" ; |
4905 | break; |
4906 | case 1: |
4907 | p = "userland char *" ; |
4908 | break; |
4909 | default: |
4910 | break; |
4911 | }; |
4912 | break; |
4913 | /* sys_flock */ |
4914 | case 131: |
4915 | switch(ndx) { |
4916 | case 0: |
4917 | p = "int" ; |
4918 | break; |
4919 | case 1: |
4920 | p = "int" ; |
4921 | break; |
4922 | default: |
4923 | break; |
4924 | }; |
4925 | break; |
4926 | /* mkfifo */ |
4927 | case 132: |
4928 | switch(ndx) { |
4929 | case 0: |
4930 | p = "user_addr_t" ; |
4931 | break; |
4932 | case 1: |
4933 | p = "int" ; |
4934 | break; |
4935 | default: |
4936 | break; |
4937 | }; |
4938 | break; |
4939 | #if SOCKETS |
4940 | /* sendto */ |
4941 | case 133: |
4942 | switch(ndx) { |
4943 | case 0: |
4944 | p = "int" ; |
4945 | break; |
4946 | case 1: |
4947 | p = "caddr_t" ; |
4948 | break; |
4949 | case 2: |
4950 | p = "size_t" ; |
4951 | break; |
4952 | case 3: |
4953 | p = "int" ; |
4954 | break; |
4955 | case 4: |
4956 | p = "caddr_t" ; |
4957 | break; |
4958 | case 5: |
4959 | p = "socklen_t" ; |
4960 | break; |
4961 | default: |
4962 | break; |
4963 | }; |
4964 | break; |
4965 | /* shutdown */ |
4966 | case 134: |
4967 | switch(ndx) { |
4968 | case 0: |
4969 | p = "int" ; |
4970 | break; |
4971 | case 1: |
4972 | p = "int" ; |
4973 | break; |
4974 | default: |
4975 | break; |
4976 | }; |
4977 | break; |
4978 | /* socketpair */ |
4979 | case 135: |
4980 | switch(ndx) { |
4981 | case 0: |
4982 | p = "int" ; |
4983 | break; |
4984 | case 1: |
4985 | p = "int" ; |
4986 | break; |
4987 | case 2: |
4988 | p = "int" ; |
4989 | break; |
4990 | case 3: |
4991 | p = "userland int *" ; |
4992 | break; |
4993 | default: |
4994 | break; |
4995 | }; |
4996 | break; |
4997 | #else |
4998 | #endif /* SOCKETS */ |
4999 | /* mkdir */ |
5000 | case 136: |
5001 | switch(ndx) { |
5002 | case 0: |
5003 | p = "user_addr_t" ; |
5004 | break; |
5005 | case 1: |
5006 | p = "int" ; |
5007 | break; |
5008 | default: |
5009 | break; |
5010 | }; |
5011 | break; |
5012 | /* rmdir */ |
5013 | case 137: |
5014 | switch(ndx) { |
5015 | case 0: |
5016 | p = "userland char *" ; |
5017 | break; |
5018 | default: |
5019 | break; |
5020 | }; |
5021 | break; |
5022 | /* utimes */ |
5023 | case 138: |
5024 | switch(ndx) { |
5025 | case 0: |
5026 | p = "userland char *" ; |
5027 | break; |
5028 | case 1: |
5029 | p = "userland struct timeval *" ; |
5030 | break; |
5031 | default: |
5032 | break; |
5033 | }; |
5034 | break; |
5035 | /* futimes */ |
5036 | case 139: |
5037 | switch(ndx) { |
5038 | case 0: |
5039 | p = "int" ; |
5040 | break; |
5041 | case 1: |
5042 | p = "userland struct timeval *" ; |
5043 | break; |
5044 | default: |
5045 | break; |
5046 | }; |
5047 | break; |
5048 | /* adjtime */ |
5049 | case 140: |
5050 | switch(ndx) { |
5051 | case 0: |
5052 | p = "userland struct timeval *" ; |
5053 | break; |
5054 | case 1: |
5055 | p = "userland struct timeval *" ; |
5056 | break; |
5057 | default: |
5058 | break; |
5059 | }; |
5060 | break; |
5061 | /* gethostuuid */ |
5062 | case 142: |
5063 | switch(ndx) { |
5064 | case 0: |
5065 | p = "userland unsigned char *" ; |
5066 | break; |
5067 | case 1: |
5068 | p = "userland const struct timespec *" ; |
5069 | break; |
5070 | default: |
5071 | break; |
5072 | }; |
5073 | break; |
5074 | /* setsid */ |
5075 | case 147: |
5076 | break; |
5077 | /* getpgid */ |
5078 | case 151: |
5079 | switch(ndx) { |
5080 | case 0: |
5081 | p = "pid_t" ; |
5082 | break; |
5083 | default: |
5084 | break; |
5085 | }; |
5086 | break; |
5087 | /* setprivexec */ |
5088 | case 152: |
5089 | switch(ndx) { |
5090 | case 0: |
5091 | p = "int" ; |
5092 | break; |
5093 | default: |
5094 | break; |
5095 | }; |
5096 | break; |
5097 | /* pread */ |
5098 | case 153: |
5099 | switch(ndx) { |
5100 | case 0: |
5101 | p = "int" ; |
5102 | break; |
5103 | case 1: |
5104 | p = "user_addr_t" ; |
5105 | break; |
5106 | case 2: |
5107 | p = "user_size_t" ; |
5108 | break; |
5109 | case 3: |
5110 | p = "off_t" ; |
5111 | break; |
5112 | default: |
5113 | break; |
5114 | }; |
5115 | break; |
5116 | /* pwrite */ |
5117 | case 154: |
5118 | switch(ndx) { |
5119 | case 0: |
5120 | p = "int" ; |
5121 | break; |
5122 | case 1: |
5123 | p = "user_addr_t" ; |
5124 | break; |
5125 | case 2: |
5126 | p = "user_size_t" ; |
5127 | break; |
5128 | case 3: |
5129 | p = "off_t" ; |
5130 | break; |
5131 | default: |
5132 | break; |
5133 | }; |
5134 | break; |
5135 | #if NFSSERVER /* XXX */ |
5136 | /* nfssvc */ |
5137 | case 155: |
5138 | switch(ndx) { |
5139 | case 0: |
5140 | p = "int" ; |
5141 | break; |
5142 | case 1: |
5143 | p = "caddr_t" ; |
5144 | break; |
5145 | default: |
5146 | break; |
5147 | }; |
5148 | break; |
5149 | #else |
5150 | #endif |
5151 | /* statfs */ |
5152 | case 157: |
5153 | switch(ndx) { |
5154 | case 0: |
5155 | p = "userland char *" ; |
5156 | break; |
5157 | case 1: |
5158 | p = "userland struct statfs *" ; |
5159 | break; |
5160 | default: |
5161 | break; |
5162 | }; |
5163 | break; |
5164 | /* fstatfs */ |
5165 | case 158: |
5166 | switch(ndx) { |
5167 | case 0: |
5168 | p = "int" ; |
5169 | break; |
5170 | case 1: |
5171 | p = "userland struct statfs *" ; |
5172 | break; |
5173 | default: |
5174 | break; |
5175 | }; |
5176 | break; |
5177 | /* unmount */ |
5178 | case 159: |
5179 | switch(ndx) { |
5180 | case 0: |
5181 | p = "user_addr_t" ; |
5182 | break; |
5183 | case 1: |
5184 | p = "int" ; |
5185 | break; |
5186 | default: |
5187 | break; |
5188 | }; |
5189 | break; |
5190 | #if NFSSERVER /* XXX */ |
5191 | /* getfh */ |
5192 | case 161: |
5193 | switch(ndx) { |
5194 | case 0: |
5195 | p = "userland char *" ; |
5196 | break; |
5197 | case 1: |
5198 | p = "userland fhandle_t *" ; |
5199 | break; |
5200 | default: |
5201 | break; |
5202 | }; |
5203 | break; |
5204 | #else |
5205 | #endif |
5206 | /* quotactl */ |
5207 | case 165: |
5208 | switch(ndx) { |
5209 | case 0: |
5210 | p = "userland const char *" ; |
5211 | break; |
5212 | case 1: |
5213 | p = "int" ; |
5214 | break; |
5215 | case 2: |
5216 | p = "int" ; |
5217 | break; |
5218 | case 3: |
5219 | p = "caddr_t" ; |
5220 | break; |
5221 | default: |
5222 | break; |
5223 | }; |
5224 | break; |
5225 | /* mount */ |
5226 | case 167: |
5227 | switch(ndx) { |
5228 | case 0: |
5229 | p = "userland char *" ; |
5230 | break; |
5231 | case 1: |
5232 | p = "userland char *" ; |
5233 | break; |
5234 | case 2: |
5235 | p = "int" ; |
5236 | break; |
5237 | case 3: |
5238 | p = "caddr_t" ; |
5239 | break; |
5240 | default: |
5241 | break; |
5242 | }; |
5243 | break; |
5244 | /* csops */ |
5245 | case 169: |
5246 | switch(ndx) { |
5247 | case 0: |
5248 | p = "pid_t" ; |
5249 | break; |
5250 | case 1: |
5251 | p = "uint32_t" ; |
5252 | break; |
5253 | case 2: |
5254 | p = "user_addr_t" ; |
5255 | break; |
5256 | case 3: |
5257 | p = "user_size_t" ; |
5258 | break; |
5259 | default: |
5260 | break; |
5261 | }; |
5262 | break; |
5263 | /* csops_audittoken */ |
5264 | case 170: |
5265 | switch(ndx) { |
5266 | case 0: |
5267 | p = "pid_t" ; |
5268 | break; |
5269 | case 1: |
5270 | p = "uint32_t" ; |
5271 | break; |
5272 | case 2: |
5273 | p = "user_addr_t" ; |
5274 | break; |
5275 | case 3: |
5276 | p = "user_size_t" ; |
5277 | break; |
5278 | case 4: |
5279 | p = "user_addr_t" ; |
5280 | break; |
5281 | default: |
5282 | break; |
5283 | }; |
5284 | break; |
5285 | /* waitid */ |
5286 | case 173: |
5287 | switch(ndx) { |
5288 | case 0: |
5289 | p = "idtype_t" ; |
5290 | break; |
5291 | case 1: |
5292 | p = "id_t" ; |
5293 | break; |
5294 | case 2: |
5295 | p = "userland siginfo_t *" ; |
5296 | break; |
5297 | case 3: |
5298 | p = "int" ; |
5299 | break; |
5300 | default: |
5301 | break; |
5302 | }; |
5303 | break; |
5304 | /* kdebug_typefilter */ |
5305 | case 177: |
5306 | switch(ndx) { |
5307 | case 0: |
5308 | p = "userland void **" ; |
5309 | break; |
5310 | case 1: |
5311 | p = "userland size_t *" ; |
5312 | break; |
5313 | default: |
5314 | break; |
5315 | }; |
5316 | break; |
5317 | /* kdebug_trace_string */ |
5318 | case 178: |
5319 | switch(ndx) { |
5320 | case 0: |
5321 | p = "uint32_t" ; |
5322 | break; |
5323 | case 1: |
5324 | p = "uint64_t" ; |
5325 | break; |
5326 | case 2: |
5327 | p = "userland const char *" ; |
5328 | break; |
5329 | default: |
5330 | break; |
5331 | }; |
5332 | break; |
5333 | /* kdebug_trace64 */ |
5334 | case 179: |
5335 | switch(ndx) { |
5336 | case 0: |
5337 | p = "uint32_t" ; |
5338 | break; |
5339 | case 1: |
5340 | p = "uint64_t" ; |
5341 | break; |
5342 | case 2: |
5343 | p = "uint64_t" ; |
5344 | break; |
5345 | case 3: |
5346 | p = "uint64_t" ; |
5347 | break; |
5348 | case 4: |
5349 | p = "uint64_t" ; |
5350 | break; |
5351 | default: |
5352 | break; |
5353 | }; |
5354 | break; |
5355 | /* kdebug_trace */ |
5356 | case 180: |
5357 | switch(ndx) { |
5358 | case 0: |
5359 | p = "uint32_t" ; |
5360 | break; |
5361 | case 1: |
5362 | p = "u_long" ; |
5363 | break; |
5364 | case 2: |
5365 | p = "u_long" ; |
5366 | break; |
5367 | case 3: |
5368 | p = "u_long" ; |
5369 | break; |
5370 | case 4: |
5371 | p = "u_long" ; |
5372 | break; |
5373 | default: |
5374 | break; |
5375 | }; |
5376 | break; |
5377 | /* setgid */ |
5378 | case 181: |
5379 | switch(ndx) { |
5380 | case 0: |
5381 | p = "gid_t" ; |
5382 | break; |
5383 | default: |
5384 | break; |
5385 | }; |
5386 | break; |
5387 | /* setegid */ |
5388 | case 182: |
5389 | switch(ndx) { |
5390 | case 0: |
5391 | p = "gid_t" ; |
5392 | break; |
5393 | default: |
5394 | break; |
5395 | }; |
5396 | break; |
5397 | /* seteuid */ |
5398 | case 183: |
5399 | switch(ndx) { |
5400 | case 0: |
5401 | p = "uid_t" ; |
5402 | break; |
5403 | default: |
5404 | break; |
5405 | }; |
5406 | break; |
5407 | /* sigreturn */ |
5408 | case 184: |
5409 | switch(ndx) { |
5410 | case 0: |
5411 | p = "userland struct ucontext *" ; |
5412 | break; |
5413 | case 1: |
5414 | p = "int" ; |
5415 | break; |
5416 | case 2: |
5417 | p = "user_addr_t" ; |
5418 | break; |
5419 | default: |
5420 | break; |
5421 | }; |
5422 | break; |
5423 | /* sys_panic_with_data */ |
5424 | case 185: |
5425 | switch(ndx) { |
5426 | case 0: |
5427 | p = "uuid_t" ; |
5428 | break; |
5429 | case 1: |
5430 | p = "userland void *" ; |
5431 | break; |
5432 | case 2: |
5433 | p = "uint32_t" ; |
5434 | break; |
5435 | case 3: |
5436 | p = "uint32_t" ; |
5437 | break; |
5438 | case 4: |
5439 | p = "userland const char *" ; |
5440 | break; |
5441 | default: |
5442 | break; |
5443 | }; |
5444 | break; |
5445 | /* thread_selfcounts */ |
5446 | case 186: |
5447 | switch(ndx) { |
5448 | case 0: |
5449 | p = "uint32_t" ; |
5450 | break; |
5451 | case 1: |
5452 | p = "user_addr_t" ; |
5453 | break; |
5454 | case 2: |
5455 | p = "user_size_t" ; |
5456 | break; |
5457 | default: |
5458 | break; |
5459 | }; |
5460 | break; |
5461 | /* fdatasync */ |
5462 | case 187: |
5463 | switch(ndx) { |
5464 | case 0: |
5465 | p = "int" ; |
5466 | break; |
5467 | default: |
5468 | break; |
5469 | }; |
5470 | break; |
5471 | /* stat */ |
5472 | case 188: |
5473 | switch(ndx) { |
5474 | case 0: |
5475 | p = "user_addr_t" ; |
5476 | break; |
5477 | case 1: |
5478 | p = "user_addr_t" ; |
5479 | break; |
5480 | default: |
5481 | break; |
5482 | }; |
5483 | break; |
5484 | /* sys_fstat */ |
5485 | case 189: |
5486 | switch(ndx) { |
5487 | case 0: |
5488 | p = "int" ; |
5489 | break; |
5490 | case 1: |
5491 | p = "user_addr_t" ; |
5492 | break; |
5493 | default: |
5494 | break; |
5495 | }; |
5496 | break; |
5497 | /* lstat */ |
5498 | case 190: |
5499 | switch(ndx) { |
5500 | case 0: |
5501 | p = "user_addr_t" ; |
5502 | break; |
5503 | case 1: |
5504 | p = "user_addr_t" ; |
5505 | break; |
5506 | default: |
5507 | break; |
5508 | }; |
5509 | break; |
5510 | /* pathconf */ |
5511 | case 191: |
5512 | switch(ndx) { |
5513 | case 0: |
5514 | p = "userland char *" ; |
5515 | break; |
5516 | case 1: |
5517 | p = "int" ; |
5518 | break; |
5519 | default: |
5520 | break; |
5521 | }; |
5522 | break; |
5523 | /* sys_fpathconf */ |
5524 | case 192: |
5525 | switch(ndx) { |
5526 | case 0: |
5527 | p = "int" ; |
5528 | break; |
5529 | case 1: |
5530 | p = "int" ; |
5531 | break; |
5532 | default: |
5533 | break; |
5534 | }; |
5535 | break; |
5536 | /* getrlimit */ |
5537 | case 194: |
5538 | switch(ndx) { |
5539 | case 0: |
5540 | p = "u_int" ; |
5541 | break; |
5542 | case 1: |
5543 | p = "userland struct rlimit *" ; |
5544 | break; |
5545 | default: |
5546 | break; |
5547 | }; |
5548 | break; |
5549 | /* setrlimit */ |
5550 | case 195: |
5551 | switch(ndx) { |
5552 | case 0: |
5553 | p = "u_int" ; |
5554 | break; |
5555 | case 1: |
5556 | p = "userland struct rlimit *" ; |
5557 | break; |
5558 | default: |
5559 | break; |
5560 | }; |
5561 | break; |
5562 | /* getdirentries */ |
5563 | case 196: |
5564 | switch(ndx) { |
5565 | case 0: |
5566 | p = "int" ; |
5567 | break; |
5568 | case 1: |
5569 | p = "userland char *" ; |
5570 | break; |
5571 | case 2: |
5572 | p = "u_int" ; |
5573 | break; |
5574 | case 3: |
5575 | p = "userland long *" ; |
5576 | break; |
5577 | default: |
5578 | break; |
5579 | }; |
5580 | break; |
5581 | /* mmap */ |
5582 | case 197: |
5583 | switch(ndx) { |
5584 | case 0: |
5585 | p = "caddr_t" ; |
5586 | break; |
5587 | case 1: |
5588 | p = "size_t" ; |
5589 | break; |
5590 | case 2: |
5591 | p = "int" ; |
5592 | break; |
5593 | case 3: |
5594 | p = "int" ; |
5595 | break; |
5596 | case 4: |
5597 | p = "int" ; |
5598 | break; |
5599 | case 5: |
5600 | p = "off_t" ; |
5601 | break; |
5602 | default: |
5603 | break; |
5604 | }; |
5605 | break; |
5606 | /* lseek */ |
5607 | case 199: |
5608 | switch(ndx) { |
5609 | case 0: |
5610 | p = "int" ; |
5611 | break; |
5612 | case 1: |
5613 | p = "off_t" ; |
5614 | break; |
5615 | case 2: |
5616 | p = "int" ; |
5617 | break; |
5618 | default: |
5619 | break; |
5620 | }; |
5621 | break; |
5622 | /* truncate */ |
5623 | case 200: |
5624 | switch(ndx) { |
5625 | case 0: |
5626 | p = "userland char *" ; |
5627 | break; |
5628 | case 1: |
5629 | p = "off_t" ; |
5630 | break; |
5631 | default: |
5632 | break; |
5633 | }; |
5634 | break; |
5635 | /* ftruncate */ |
5636 | case 201: |
5637 | switch(ndx) { |
5638 | case 0: |
5639 | p = "int" ; |
5640 | break; |
5641 | case 1: |
5642 | p = "off_t" ; |
5643 | break; |
5644 | default: |
5645 | break; |
5646 | }; |
5647 | break; |
5648 | /* sysctl */ |
5649 | case 202: |
5650 | switch(ndx) { |
5651 | case 0: |
5652 | p = "userland int *" ; |
5653 | break; |
5654 | case 1: |
5655 | p = "u_int" ; |
5656 | break; |
5657 | case 2: |
5658 | p = "userland void *" ; |
5659 | break; |
5660 | case 3: |
5661 | p = "userland size_t *" ; |
5662 | break; |
5663 | case 4: |
5664 | p = "userland void *" ; |
5665 | break; |
5666 | case 5: |
5667 | p = "size_t" ; |
5668 | break; |
5669 | default: |
5670 | break; |
5671 | }; |
5672 | break; |
5673 | /* mlock */ |
5674 | case 203: |
5675 | switch(ndx) { |
5676 | case 0: |
5677 | p = "caddr_t" ; |
5678 | break; |
5679 | case 1: |
5680 | p = "size_t" ; |
5681 | break; |
5682 | default: |
5683 | break; |
5684 | }; |
5685 | break; |
5686 | /* munlock */ |
5687 | case 204: |
5688 | switch(ndx) { |
5689 | case 0: |
5690 | p = "caddr_t" ; |
5691 | break; |
5692 | case 1: |
5693 | p = "size_t" ; |
5694 | break; |
5695 | default: |
5696 | break; |
5697 | }; |
5698 | break; |
5699 | /* undelete */ |
5700 | case 205: |
5701 | switch(ndx) { |
5702 | case 0: |
5703 | p = "user_addr_t" ; |
5704 | break; |
5705 | default: |
5706 | break; |
5707 | }; |
5708 | break; |
5709 | /* open_dprotected_np */ |
5710 | case 216: |
5711 | switch(ndx) { |
5712 | case 0: |
5713 | p = "user_addr_t" ; |
5714 | break; |
5715 | case 1: |
5716 | p = "int" ; |
5717 | break; |
5718 | case 2: |
5719 | p = "int" ; |
5720 | break; |
5721 | case 3: |
5722 | p = "int" ; |
5723 | break; |
5724 | case 4: |
5725 | p = "int" ; |
5726 | break; |
5727 | default: |
5728 | break; |
5729 | }; |
5730 | break; |
5731 | /* fsgetpath_ext */ |
5732 | case 217: |
5733 | switch(ndx) { |
5734 | case 0: |
5735 | p = "user_addr_t" ; |
5736 | break; |
5737 | case 1: |
5738 | p = "size_t" ; |
5739 | break; |
5740 | case 2: |
5741 | p = "user_addr_t" ; |
5742 | break; |
5743 | case 3: |
5744 | p = "uint64_t" ; |
5745 | break; |
5746 | case 4: |
5747 | p = "uint32_t" ; |
5748 | break; |
5749 | default: |
5750 | break; |
5751 | }; |
5752 | break; |
5753 | /* openat_dprotected_np */ |
5754 | case 218: |
5755 | switch(ndx) { |
5756 | case 0: |
5757 | p = "int" ; |
5758 | break; |
5759 | case 1: |
5760 | p = "user_addr_t" ; |
5761 | break; |
5762 | case 2: |
5763 | p = "int" ; |
5764 | break; |
5765 | case 3: |
5766 | p = "int" ; |
5767 | break; |
5768 | case 4: |
5769 | p = "int" ; |
5770 | break; |
5771 | case 5: |
5772 | p = "int" ; |
5773 | break; |
5774 | case 6: |
5775 | p = "int" ; |
5776 | break; |
5777 | default: |
5778 | break; |
5779 | }; |
5780 | break; |
5781 | /* getattrlist */ |
5782 | case 220: |
5783 | switch(ndx) { |
5784 | case 0: |
5785 | p = "userland const char *" ; |
5786 | break; |
5787 | case 1: |
5788 | p = "userland struct attrlist *" ; |
5789 | break; |
5790 | case 2: |
5791 | p = "userland void *" ; |
5792 | break; |
5793 | case 3: |
5794 | p = "size_t" ; |
5795 | break; |
5796 | case 4: |
5797 | p = "u_long" ; |
5798 | break; |
5799 | default: |
5800 | break; |
5801 | }; |
5802 | break; |
5803 | /* setattrlist */ |
5804 | case 221: |
5805 | switch(ndx) { |
5806 | case 0: |
5807 | p = "userland const char *" ; |
5808 | break; |
5809 | case 1: |
5810 | p = "userland struct attrlist *" ; |
5811 | break; |
5812 | case 2: |
5813 | p = "userland void *" ; |
5814 | break; |
5815 | case 3: |
5816 | p = "size_t" ; |
5817 | break; |
5818 | case 4: |
5819 | p = "u_long" ; |
5820 | break; |
5821 | default: |
5822 | break; |
5823 | }; |
5824 | break; |
5825 | /* getdirentriesattr */ |
5826 | case 222: |
5827 | switch(ndx) { |
5828 | case 0: |
5829 | p = "int" ; |
5830 | break; |
5831 | case 1: |
5832 | p = "userland struct attrlist *" ; |
5833 | break; |
5834 | case 2: |
5835 | p = "userland void *" ; |
5836 | break; |
5837 | case 3: |
5838 | p = "size_t" ; |
5839 | break; |
5840 | case 4: |
5841 | p = "userland u_long *" ; |
5842 | break; |
5843 | case 5: |
5844 | p = "userland u_long *" ; |
5845 | break; |
5846 | case 6: |
5847 | p = "userland u_long *" ; |
5848 | break; |
5849 | case 7: |
5850 | p = "u_long" ; |
5851 | break; |
5852 | default: |
5853 | break; |
5854 | }; |
5855 | break; |
5856 | /* exchangedata */ |
5857 | case 223: |
5858 | switch(ndx) { |
5859 | case 0: |
5860 | p = "userland const char *" ; |
5861 | break; |
5862 | case 1: |
5863 | p = "userland const char *" ; |
5864 | break; |
5865 | case 2: |
5866 | p = "u_long" ; |
5867 | break; |
5868 | default: |
5869 | break; |
5870 | }; |
5871 | break; |
5872 | /* searchfs */ |
5873 | case 225: |
5874 | switch(ndx) { |
5875 | case 0: |
5876 | p = "userland const char *" ; |
5877 | break; |
5878 | case 1: |
5879 | p = "userland struct fssearchblock *" ; |
5880 | break; |
5881 | case 2: |
5882 | p = "userland uint32_t *" ; |
5883 | break; |
5884 | case 3: |
5885 | p = "uint32_t" ; |
5886 | break; |
5887 | case 4: |
5888 | p = "uint32_t" ; |
5889 | break; |
5890 | case 5: |
5891 | p = "userland struct searchstate *" ; |
5892 | break; |
5893 | default: |
5894 | break; |
5895 | }; |
5896 | break; |
5897 | /* delete */ |
5898 | case 226: |
5899 | switch(ndx) { |
5900 | case 0: |
5901 | p = "user_addr_t" ; |
5902 | break; |
5903 | default: |
5904 | break; |
5905 | }; |
5906 | break; |
5907 | /* copyfile */ |
5908 | case 227: |
5909 | switch(ndx) { |
5910 | case 0: |
5911 | p = "userland char *" ; |
5912 | break; |
5913 | case 1: |
5914 | p = "userland char *" ; |
5915 | break; |
5916 | case 2: |
5917 | p = "int" ; |
5918 | break; |
5919 | case 3: |
5920 | p = "int" ; |
5921 | break; |
5922 | default: |
5923 | break; |
5924 | }; |
5925 | break; |
5926 | /* fgetattrlist */ |
5927 | case 228: |
5928 | switch(ndx) { |
5929 | case 0: |
5930 | p = "int" ; |
5931 | break; |
5932 | case 1: |
5933 | p = "userland struct attrlist *" ; |
5934 | break; |
5935 | case 2: |
5936 | p = "userland void *" ; |
5937 | break; |
5938 | case 3: |
5939 | p = "size_t" ; |
5940 | break; |
5941 | case 4: |
5942 | p = "u_long" ; |
5943 | break; |
5944 | default: |
5945 | break; |
5946 | }; |
5947 | break; |
5948 | /* fsetattrlist */ |
5949 | case 229: |
5950 | switch(ndx) { |
5951 | case 0: |
5952 | p = "int" ; |
5953 | break; |
5954 | case 1: |
5955 | p = "userland struct attrlist *" ; |
5956 | break; |
5957 | case 2: |
5958 | p = "userland void *" ; |
5959 | break; |
5960 | case 3: |
5961 | p = "size_t" ; |
5962 | break; |
5963 | case 4: |
5964 | p = "u_long" ; |
5965 | break; |
5966 | default: |
5967 | break; |
5968 | }; |
5969 | break; |
5970 | /* poll */ |
5971 | case 230: |
5972 | switch(ndx) { |
5973 | case 0: |
5974 | p = "userland struct pollfd *" ; |
5975 | break; |
5976 | case 1: |
5977 | p = "u_int" ; |
5978 | break; |
5979 | case 2: |
5980 | p = "int" ; |
5981 | break; |
5982 | default: |
5983 | break; |
5984 | }; |
5985 | break; |
5986 | /* getxattr */ |
5987 | case 234: |
5988 | switch(ndx) { |
5989 | case 0: |
5990 | p = "user_addr_t" ; |
5991 | break; |
5992 | case 1: |
5993 | p = "user_addr_t" ; |
5994 | break; |
5995 | case 2: |
5996 | p = "user_addr_t" ; |
5997 | break; |
5998 | case 3: |
5999 | p = "size_t" ; |
6000 | break; |
6001 | case 4: |
6002 | p = "uint32_t" ; |
6003 | break; |
6004 | case 5: |
6005 | p = "int" ; |
6006 | break; |
6007 | default: |
6008 | break; |
6009 | }; |
6010 | break; |
6011 | /* fgetxattr */ |
6012 | case 235: |
6013 | switch(ndx) { |
6014 | case 0: |
6015 | p = "int" ; |
6016 | break; |
6017 | case 1: |
6018 | p = "user_addr_t" ; |
6019 | break; |
6020 | case 2: |
6021 | p = "user_addr_t" ; |
6022 | break; |
6023 | case 3: |
6024 | p = "size_t" ; |
6025 | break; |
6026 | case 4: |
6027 | p = "uint32_t" ; |
6028 | break; |
6029 | case 5: |
6030 | p = "int" ; |
6031 | break; |
6032 | default: |
6033 | break; |
6034 | }; |
6035 | break; |
6036 | /* setxattr */ |
6037 | case 236: |
6038 | switch(ndx) { |
6039 | case 0: |
6040 | p = "user_addr_t" ; |
6041 | break; |
6042 | case 1: |
6043 | p = "user_addr_t" ; |
6044 | break; |
6045 | case 2: |
6046 | p = "user_addr_t" ; |
6047 | break; |
6048 | case 3: |
6049 | p = "size_t" ; |
6050 | break; |
6051 | case 4: |
6052 | p = "uint32_t" ; |
6053 | break; |
6054 | case 5: |
6055 | p = "int" ; |
6056 | break; |
6057 | default: |
6058 | break; |
6059 | }; |
6060 | break; |
6061 | /* fsetxattr */ |
6062 | case 237: |
6063 | switch(ndx) { |
6064 | case 0: |
6065 | p = "int" ; |
6066 | break; |
6067 | case 1: |
6068 | p = "user_addr_t" ; |
6069 | break; |
6070 | case 2: |
6071 | p = "user_addr_t" ; |
6072 | break; |
6073 | case 3: |
6074 | p = "size_t" ; |
6075 | break; |
6076 | case 4: |
6077 | p = "uint32_t" ; |
6078 | break; |
6079 | case 5: |
6080 | p = "int" ; |
6081 | break; |
6082 | default: |
6083 | break; |
6084 | }; |
6085 | break; |
6086 | /* removexattr */ |
6087 | case 238: |
6088 | switch(ndx) { |
6089 | case 0: |
6090 | p = "user_addr_t" ; |
6091 | break; |
6092 | case 1: |
6093 | p = "user_addr_t" ; |
6094 | break; |
6095 | case 2: |
6096 | p = "int" ; |
6097 | break; |
6098 | default: |
6099 | break; |
6100 | }; |
6101 | break; |
6102 | /* fremovexattr */ |
6103 | case 239: |
6104 | switch(ndx) { |
6105 | case 0: |
6106 | p = "int" ; |
6107 | break; |
6108 | case 1: |
6109 | p = "user_addr_t" ; |
6110 | break; |
6111 | case 2: |
6112 | p = "int" ; |
6113 | break; |
6114 | default: |
6115 | break; |
6116 | }; |
6117 | break; |
6118 | /* listxattr */ |
6119 | case 240: |
6120 | switch(ndx) { |
6121 | case 0: |
6122 | p = "user_addr_t" ; |
6123 | break; |
6124 | case 1: |
6125 | p = "user_addr_t" ; |
6126 | break; |
6127 | case 2: |
6128 | p = "size_t" ; |
6129 | break; |
6130 | case 3: |
6131 | p = "int" ; |
6132 | break; |
6133 | default: |
6134 | break; |
6135 | }; |
6136 | break; |
6137 | /* flistxattr */ |
6138 | case 241: |
6139 | switch(ndx) { |
6140 | case 0: |
6141 | p = "int" ; |
6142 | break; |
6143 | case 1: |
6144 | p = "user_addr_t" ; |
6145 | break; |
6146 | case 2: |
6147 | p = "size_t" ; |
6148 | break; |
6149 | case 3: |
6150 | p = "int" ; |
6151 | break; |
6152 | default: |
6153 | break; |
6154 | }; |
6155 | break; |
6156 | /* fsctl */ |
6157 | case 242: |
6158 | switch(ndx) { |
6159 | case 0: |
6160 | p = "userland const char *" ; |
6161 | break; |
6162 | case 1: |
6163 | p = "u_long" ; |
6164 | break; |
6165 | case 2: |
6166 | p = "caddr_t" ; |
6167 | break; |
6168 | case 3: |
6169 | p = "u_int" ; |
6170 | break; |
6171 | default: |
6172 | break; |
6173 | }; |
6174 | break; |
6175 | /* initgroups */ |
6176 | case 243: |
6177 | switch(ndx) { |
6178 | case 0: |
6179 | p = "u_int" ; |
6180 | break; |
6181 | case 1: |
6182 | p = "userland gid_t *" ; |
6183 | break; |
6184 | case 2: |
6185 | p = "int" ; |
6186 | break; |
6187 | default: |
6188 | break; |
6189 | }; |
6190 | break; |
6191 | /* posix_spawn */ |
6192 | case 244: |
6193 | switch(ndx) { |
6194 | case 0: |
6195 | p = "userland pid_t *" ; |
6196 | break; |
6197 | case 1: |
6198 | p = "userland const char *" ; |
6199 | break; |
6200 | case 2: |
6201 | p = "userland const struct _posix_spawn_args_desc *" ; |
6202 | break; |
6203 | case 3: |
6204 | p = "userland char **" ; |
6205 | break; |
6206 | case 4: |
6207 | p = "userland char **" ; |
6208 | break; |
6209 | default: |
6210 | break; |
6211 | }; |
6212 | break; |
6213 | /* ffsctl */ |
6214 | case 245: |
6215 | switch(ndx) { |
6216 | case 0: |
6217 | p = "int" ; |
6218 | break; |
6219 | case 1: |
6220 | p = "u_long" ; |
6221 | break; |
6222 | case 2: |
6223 | p = "caddr_t" ; |
6224 | break; |
6225 | case 3: |
6226 | p = "u_int" ; |
6227 | break; |
6228 | default: |
6229 | break; |
6230 | }; |
6231 | break; |
6232 | #if NFSSERVER /* XXX */ |
6233 | /* fhopen */ |
6234 | case 248: |
6235 | switch(ndx) { |
6236 | case 0: |
6237 | p = "userland const struct fhandle *" ; |
6238 | break; |
6239 | case 1: |
6240 | p = "int" ; |
6241 | break; |
6242 | default: |
6243 | break; |
6244 | }; |
6245 | break; |
6246 | #else |
6247 | #endif |
6248 | /* minherit */ |
6249 | case 250: |
6250 | switch(ndx) { |
6251 | case 0: |
6252 | p = "userland void *" ; |
6253 | break; |
6254 | case 1: |
6255 | p = "size_t" ; |
6256 | break; |
6257 | case 2: |
6258 | p = "int" ; |
6259 | break; |
6260 | default: |
6261 | break; |
6262 | }; |
6263 | break; |
6264 | #if SYSV_SEM |
6265 | /* semsys */ |
6266 | case 251: |
6267 | switch(ndx) { |
6268 | case 0: |
6269 | p = "u_int" ; |
6270 | break; |
6271 | case 1: |
6272 | p = "int" ; |
6273 | break; |
6274 | case 2: |
6275 | p = "int" ; |
6276 | break; |
6277 | case 3: |
6278 | p = "int" ; |
6279 | break; |
6280 | case 4: |
6281 | p = "int" ; |
6282 | break; |
6283 | default: |
6284 | break; |
6285 | }; |
6286 | break; |
6287 | #else |
6288 | #endif |
6289 | #if SYSV_MSG |
6290 | /* msgsys */ |
6291 | case 252: |
6292 | switch(ndx) { |
6293 | case 0: |
6294 | p = "u_int" ; |
6295 | break; |
6296 | case 1: |
6297 | p = "int" ; |
6298 | break; |
6299 | case 2: |
6300 | p = "int" ; |
6301 | break; |
6302 | case 3: |
6303 | p = "int" ; |
6304 | break; |
6305 | case 4: |
6306 | p = "int" ; |
6307 | break; |
6308 | default: |
6309 | break; |
6310 | }; |
6311 | break; |
6312 | #else |
6313 | #endif |
6314 | #if SYSV_SHM |
6315 | /* shmsys */ |
6316 | case 253: |
6317 | switch(ndx) { |
6318 | case 0: |
6319 | p = "u_int" ; |
6320 | break; |
6321 | case 1: |
6322 | p = "int" ; |
6323 | break; |
6324 | case 2: |
6325 | p = "int" ; |
6326 | break; |
6327 | case 3: |
6328 | p = "int" ; |
6329 | break; |
6330 | default: |
6331 | break; |
6332 | }; |
6333 | break; |
6334 | #else |
6335 | #endif |
6336 | #if SYSV_SEM |
6337 | /* semctl */ |
6338 | case 254: |
6339 | switch(ndx) { |
6340 | case 0: |
6341 | p = "int" ; |
6342 | break; |
6343 | case 1: |
6344 | p = "int" ; |
6345 | break; |
6346 | case 2: |
6347 | p = "int" ; |
6348 | break; |
6349 | case 3: |
6350 | p = "semun_t" ; |
6351 | break; |
6352 | default: |
6353 | break; |
6354 | }; |
6355 | break; |
6356 | /* semget */ |
6357 | case 255: |
6358 | switch(ndx) { |
6359 | case 0: |
6360 | p = "key_t" ; |
6361 | break; |
6362 | case 1: |
6363 | p = "int" ; |
6364 | break; |
6365 | case 2: |
6366 | p = "int" ; |
6367 | break; |
6368 | default: |
6369 | break; |
6370 | }; |
6371 | break; |
6372 | /* semop */ |
6373 | case 256: |
6374 | switch(ndx) { |
6375 | case 0: |
6376 | p = "int" ; |
6377 | break; |
6378 | case 1: |
6379 | p = "userland struct sembuf *" ; |
6380 | break; |
6381 | case 2: |
6382 | p = "int" ; |
6383 | break; |
6384 | default: |
6385 | break; |
6386 | }; |
6387 | break; |
6388 | #else |
6389 | #endif |
6390 | #if SYSV_MSG |
6391 | /* msgctl */ |
6392 | case 258: |
6393 | switch(ndx) { |
6394 | case 0: |
6395 | p = "int" ; |
6396 | break; |
6397 | case 1: |
6398 | p = "int" ; |
6399 | break; |
6400 | case 2: |
6401 | p = "userland struct msqid_ds *" ; |
6402 | break; |
6403 | default: |
6404 | break; |
6405 | }; |
6406 | break; |
6407 | /* msgget */ |
6408 | case 259: |
6409 | switch(ndx) { |
6410 | case 0: |
6411 | p = "key_t" ; |
6412 | break; |
6413 | case 1: |
6414 | p = "int" ; |
6415 | break; |
6416 | default: |
6417 | break; |
6418 | }; |
6419 | break; |
6420 | /* msgsnd */ |
6421 | case 260: |
6422 | switch(ndx) { |
6423 | case 0: |
6424 | p = "int" ; |
6425 | break; |
6426 | case 1: |
6427 | p = "userland void *" ; |
6428 | break; |
6429 | case 2: |
6430 | p = "size_t" ; |
6431 | break; |
6432 | case 3: |
6433 | p = "int" ; |
6434 | break; |
6435 | default: |
6436 | break; |
6437 | }; |
6438 | break; |
6439 | /* msgrcv */ |
6440 | case 261: |
6441 | switch(ndx) { |
6442 | case 0: |
6443 | p = "int" ; |
6444 | break; |
6445 | case 1: |
6446 | p = "userland void *" ; |
6447 | break; |
6448 | case 2: |
6449 | p = "size_t" ; |
6450 | break; |
6451 | case 3: |
6452 | p = "long" ; |
6453 | break; |
6454 | case 4: |
6455 | p = "int" ; |
6456 | break; |
6457 | default: |
6458 | break; |
6459 | }; |
6460 | break; |
6461 | #else |
6462 | #endif |
6463 | #if SYSV_SHM |
6464 | /* shmat */ |
6465 | case 262: |
6466 | switch(ndx) { |
6467 | case 0: |
6468 | p = "int" ; |
6469 | break; |
6470 | case 1: |
6471 | p = "userland void *" ; |
6472 | break; |
6473 | case 2: |
6474 | p = "int" ; |
6475 | break; |
6476 | default: |
6477 | break; |
6478 | }; |
6479 | break; |
6480 | /* shmctl */ |
6481 | case 263: |
6482 | switch(ndx) { |
6483 | case 0: |
6484 | p = "int" ; |
6485 | break; |
6486 | case 1: |
6487 | p = "int" ; |
6488 | break; |
6489 | case 2: |
6490 | p = "userland struct shmid_ds *" ; |
6491 | break; |
6492 | default: |
6493 | break; |
6494 | }; |
6495 | break; |
6496 | /* shmdt */ |
6497 | case 264: |
6498 | switch(ndx) { |
6499 | case 0: |
6500 | p = "userland void *" ; |
6501 | break; |
6502 | default: |
6503 | break; |
6504 | }; |
6505 | break; |
6506 | /* shmget */ |
6507 | case 265: |
6508 | switch(ndx) { |
6509 | case 0: |
6510 | p = "key_t" ; |
6511 | break; |
6512 | case 1: |
6513 | p = "size_t" ; |
6514 | break; |
6515 | case 2: |
6516 | p = "int" ; |
6517 | break; |
6518 | default: |
6519 | break; |
6520 | }; |
6521 | break; |
6522 | #else |
6523 | #endif |
6524 | /* shm_open */ |
6525 | case 266: |
6526 | switch(ndx) { |
6527 | case 0: |
6528 | p = "userland const char *" ; |
6529 | break; |
6530 | case 1: |
6531 | p = "int" ; |
6532 | break; |
6533 | case 2: |
6534 | p = "int" ; |
6535 | break; |
6536 | default: |
6537 | break; |
6538 | }; |
6539 | break; |
6540 | /* shm_unlink */ |
6541 | case 267: |
6542 | switch(ndx) { |
6543 | case 0: |
6544 | p = "userland const char *" ; |
6545 | break; |
6546 | default: |
6547 | break; |
6548 | }; |
6549 | break; |
6550 | /* sem_open */ |
6551 | case 268: |
6552 | switch(ndx) { |
6553 | case 0: |
6554 | p = "userland const char *" ; |
6555 | break; |
6556 | case 1: |
6557 | p = "int" ; |
6558 | break; |
6559 | case 2: |
6560 | p = "int" ; |
6561 | break; |
6562 | case 3: |
6563 | p = "int" ; |
6564 | break; |
6565 | default: |
6566 | break; |
6567 | }; |
6568 | break; |
6569 | /* sem_close */ |
6570 | case 269: |
6571 | switch(ndx) { |
6572 | case 0: |
6573 | p = "userland sem_t *" ; |
6574 | break; |
6575 | default: |
6576 | break; |
6577 | }; |
6578 | break; |
6579 | /* sem_unlink */ |
6580 | case 270: |
6581 | switch(ndx) { |
6582 | case 0: |
6583 | p = "userland const char *" ; |
6584 | break; |
6585 | default: |
6586 | break; |
6587 | }; |
6588 | break; |
6589 | /* sem_wait */ |
6590 | case 271: |
6591 | switch(ndx) { |
6592 | case 0: |
6593 | p = "userland sem_t *" ; |
6594 | break; |
6595 | default: |
6596 | break; |
6597 | }; |
6598 | break; |
6599 | /* sem_trywait */ |
6600 | case 272: |
6601 | switch(ndx) { |
6602 | case 0: |
6603 | p = "userland sem_t *" ; |
6604 | break; |
6605 | default: |
6606 | break; |
6607 | }; |
6608 | break; |
6609 | /* sem_post */ |
6610 | case 273: |
6611 | switch(ndx) { |
6612 | case 0: |
6613 | p = "userland sem_t *" ; |
6614 | break; |
6615 | default: |
6616 | break; |
6617 | }; |
6618 | break; |
6619 | /* sys_sysctlbyname */ |
6620 | case 274: |
6621 | switch(ndx) { |
6622 | case 0: |
6623 | p = "userland const char *" ; |
6624 | break; |
6625 | case 1: |
6626 | p = "size_t" ; |
6627 | break; |
6628 | case 2: |
6629 | p = "userland void *" ; |
6630 | break; |
6631 | case 3: |
6632 | p = "userland size_t *" ; |
6633 | break; |
6634 | case 4: |
6635 | p = "userland void *" ; |
6636 | break; |
6637 | case 5: |
6638 | p = "size_t" ; |
6639 | break; |
6640 | default: |
6641 | break; |
6642 | }; |
6643 | break; |
6644 | /* open_extended */ |
6645 | case 277: |
6646 | switch(ndx) { |
6647 | case 0: |
6648 | p = "user_addr_t" ; |
6649 | break; |
6650 | case 1: |
6651 | p = "int" ; |
6652 | break; |
6653 | case 2: |
6654 | p = "uid_t" ; |
6655 | break; |
6656 | case 3: |
6657 | p = "gid_t" ; |
6658 | break; |
6659 | case 4: |
6660 | p = "int" ; |
6661 | break; |
6662 | case 5: |
6663 | p = "user_addr_t" ; |
6664 | break; |
6665 | default: |
6666 | break; |
6667 | }; |
6668 | break; |
6669 | /* umask_extended */ |
6670 | case 278: |
6671 | switch(ndx) { |
6672 | case 0: |
6673 | p = "int" ; |
6674 | break; |
6675 | case 1: |
6676 | p = "user_addr_t" ; |
6677 | break; |
6678 | default: |
6679 | break; |
6680 | }; |
6681 | break; |
6682 | /* stat_extended */ |
6683 | case 279: |
6684 | switch(ndx) { |
6685 | case 0: |
6686 | p = "user_addr_t" ; |
6687 | break; |
6688 | case 1: |
6689 | p = "user_addr_t" ; |
6690 | break; |
6691 | case 2: |
6692 | p = "user_addr_t" ; |
6693 | break; |
6694 | case 3: |
6695 | p = "user_addr_t" ; |
6696 | break; |
6697 | default: |
6698 | break; |
6699 | }; |
6700 | break; |
6701 | /* lstat_extended */ |
6702 | case 280: |
6703 | switch(ndx) { |
6704 | case 0: |
6705 | p = "user_addr_t" ; |
6706 | break; |
6707 | case 1: |
6708 | p = "user_addr_t" ; |
6709 | break; |
6710 | case 2: |
6711 | p = "user_addr_t" ; |
6712 | break; |
6713 | case 3: |
6714 | p = "user_addr_t" ; |
6715 | break; |
6716 | default: |
6717 | break; |
6718 | }; |
6719 | break; |
6720 | /* sys_fstat_extended */ |
6721 | case 281: |
6722 | switch(ndx) { |
6723 | case 0: |
6724 | p = "int" ; |
6725 | break; |
6726 | case 1: |
6727 | p = "user_addr_t" ; |
6728 | break; |
6729 | case 2: |
6730 | p = "user_addr_t" ; |
6731 | break; |
6732 | case 3: |
6733 | p = "user_addr_t" ; |
6734 | break; |
6735 | default: |
6736 | break; |
6737 | }; |
6738 | break; |
6739 | /* chmod_extended */ |
6740 | case 282: |
6741 | switch(ndx) { |
6742 | case 0: |
6743 | p = "user_addr_t" ; |
6744 | break; |
6745 | case 1: |
6746 | p = "uid_t" ; |
6747 | break; |
6748 | case 2: |
6749 | p = "gid_t" ; |
6750 | break; |
6751 | case 3: |
6752 | p = "int" ; |
6753 | break; |
6754 | case 4: |
6755 | p = "user_addr_t" ; |
6756 | break; |
6757 | default: |
6758 | break; |
6759 | }; |
6760 | break; |
6761 | /* fchmod_extended */ |
6762 | case 283: |
6763 | switch(ndx) { |
6764 | case 0: |
6765 | p = "int" ; |
6766 | break; |
6767 | case 1: |
6768 | p = "uid_t" ; |
6769 | break; |
6770 | case 2: |
6771 | p = "gid_t" ; |
6772 | break; |
6773 | case 3: |
6774 | p = "int" ; |
6775 | break; |
6776 | case 4: |
6777 | p = "user_addr_t" ; |
6778 | break; |
6779 | default: |
6780 | break; |
6781 | }; |
6782 | break; |
6783 | /* access_extended */ |
6784 | case 284: |
6785 | switch(ndx) { |
6786 | case 0: |
6787 | p = "user_addr_t" ; |
6788 | break; |
6789 | case 1: |
6790 | p = "size_t" ; |
6791 | break; |
6792 | case 2: |
6793 | p = "user_addr_t" ; |
6794 | break; |
6795 | case 3: |
6796 | p = "uid_t" ; |
6797 | break; |
6798 | default: |
6799 | break; |
6800 | }; |
6801 | break; |
6802 | /* sys_settid */ |
6803 | case 285: |
6804 | switch(ndx) { |
6805 | case 0: |
6806 | p = "uid_t" ; |
6807 | break; |
6808 | case 1: |
6809 | p = "gid_t" ; |
6810 | break; |
6811 | default: |
6812 | break; |
6813 | }; |
6814 | break; |
6815 | /* gettid */ |
6816 | case 286: |
6817 | switch(ndx) { |
6818 | case 0: |
6819 | p = "userland uid_t *" ; |
6820 | break; |
6821 | case 1: |
6822 | p = "userland gid_t *" ; |
6823 | break; |
6824 | default: |
6825 | break; |
6826 | }; |
6827 | break; |
6828 | /* setsgroups */ |
6829 | case 287: |
6830 | switch(ndx) { |
6831 | case 0: |
6832 | p = "int" ; |
6833 | break; |
6834 | case 1: |
6835 | p = "user_addr_t" ; |
6836 | break; |
6837 | default: |
6838 | break; |
6839 | }; |
6840 | break; |
6841 | /* getsgroups */ |
6842 | case 288: |
6843 | switch(ndx) { |
6844 | case 0: |
6845 | p = "user_addr_t" ; |
6846 | break; |
6847 | case 1: |
6848 | p = "user_addr_t" ; |
6849 | break; |
6850 | default: |
6851 | break; |
6852 | }; |
6853 | break; |
6854 | /* setwgroups */ |
6855 | case 289: |
6856 | switch(ndx) { |
6857 | case 0: |
6858 | p = "int" ; |
6859 | break; |
6860 | case 1: |
6861 | p = "user_addr_t" ; |
6862 | break; |
6863 | default: |
6864 | break; |
6865 | }; |
6866 | break; |
6867 | /* getwgroups */ |
6868 | case 290: |
6869 | switch(ndx) { |
6870 | case 0: |
6871 | p = "user_addr_t" ; |
6872 | break; |
6873 | case 1: |
6874 | p = "user_addr_t" ; |
6875 | break; |
6876 | default: |
6877 | break; |
6878 | }; |
6879 | break; |
6880 | /* mkfifo_extended */ |
6881 | case 291: |
6882 | switch(ndx) { |
6883 | case 0: |
6884 | p = "user_addr_t" ; |
6885 | break; |
6886 | case 1: |
6887 | p = "uid_t" ; |
6888 | break; |
6889 | case 2: |
6890 | p = "gid_t" ; |
6891 | break; |
6892 | case 3: |
6893 | p = "int" ; |
6894 | break; |
6895 | case 4: |
6896 | p = "user_addr_t" ; |
6897 | break; |
6898 | default: |
6899 | break; |
6900 | }; |
6901 | break; |
6902 | /* mkdir_extended */ |
6903 | case 292: |
6904 | switch(ndx) { |
6905 | case 0: |
6906 | p = "user_addr_t" ; |
6907 | break; |
6908 | case 1: |
6909 | p = "uid_t" ; |
6910 | break; |
6911 | case 2: |
6912 | p = "gid_t" ; |
6913 | break; |
6914 | case 3: |
6915 | p = "int" ; |
6916 | break; |
6917 | case 4: |
6918 | p = "user_addr_t" ; |
6919 | break; |
6920 | default: |
6921 | break; |
6922 | }; |
6923 | break; |
6924 | #if CONFIG_EXT_RESOLVER |
6925 | /* identitysvc */ |
6926 | case 293: |
6927 | switch(ndx) { |
6928 | case 0: |
6929 | p = "int" ; |
6930 | break; |
6931 | case 1: |
6932 | p = "user_addr_t" ; |
6933 | break; |
6934 | default: |
6935 | break; |
6936 | }; |
6937 | break; |
6938 | #else |
6939 | #endif |
6940 | /* shared_region_check_np */ |
6941 | case 294: |
6942 | switch(ndx) { |
6943 | case 0: |
6944 | p = "userland uint64_t *" ; |
6945 | break; |
6946 | default: |
6947 | break; |
6948 | }; |
6949 | break; |
6950 | /* vm_pressure_monitor */ |
6951 | case 296: |
6952 | switch(ndx) { |
6953 | case 0: |
6954 | p = "int" ; |
6955 | break; |
6956 | case 1: |
6957 | p = "int" ; |
6958 | break; |
6959 | case 2: |
6960 | p = "userland uint32_t *" ; |
6961 | break; |
6962 | default: |
6963 | break; |
6964 | }; |
6965 | break; |
6966 | #if PSYNCH |
6967 | /* psynch_rw_longrdlock */ |
6968 | case 297: |
6969 | switch(ndx) { |
6970 | case 0: |
6971 | p = "user_addr_t" ; |
6972 | break; |
6973 | case 1: |
6974 | p = "uint32_t" ; |
6975 | break; |
6976 | case 2: |
6977 | p = "uint32_t" ; |
6978 | break; |
6979 | case 3: |
6980 | p = "uint32_t" ; |
6981 | break; |
6982 | case 4: |
6983 | p = "int" ; |
6984 | break; |
6985 | default: |
6986 | break; |
6987 | }; |
6988 | break; |
6989 | /* psynch_rw_yieldwrlock */ |
6990 | case 298: |
6991 | switch(ndx) { |
6992 | case 0: |
6993 | p = "user_addr_t" ; |
6994 | break; |
6995 | case 1: |
6996 | p = "uint32_t" ; |
6997 | break; |
6998 | case 2: |
6999 | p = "uint32_t" ; |
7000 | break; |
7001 | case 3: |
7002 | p = "uint32_t" ; |
7003 | break; |
7004 | case 4: |
7005 | p = "int" ; |
7006 | break; |
7007 | default: |
7008 | break; |
7009 | }; |
7010 | break; |
7011 | /* psynch_rw_downgrade */ |
7012 | case 299: |
7013 | switch(ndx) { |
7014 | case 0: |
7015 | p = "user_addr_t" ; |
7016 | break; |
7017 | case 1: |
7018 | p = "uint32_t" ; |
7019 | break; |
7020 | case 2: |
7021 | p = "uint32_t" ; |
7022 | break; |
7023 | case 3: |
7024 | p = "uint32_t" ; |
7025 | break; |
7026 | case 4: |
7027 | p = "int" ; |
7028 | break; |
7029 | default: |
7030 | break; |
7031 | }; |
7032 | break; |
7033 | /* psynch_rw_upgrade */ |
7034 | case 300: |
7035 | switch(ndx) { |
7036 | case 0: |
7037 | p = "user_addr_t" ; |
7038 | break; |
7039 | case 1: |
7040 | p = "uint32_t" ; |
7041 | break; |
7042 | case 2: |
7043 | p = "uint32_t" ; |
7044 | break; |
7045 | case 3: |
7046 | p = "uint32_t" ; |
7047 | break; |
7048 | case 4: |
7049 | p = "int" ; |
7050 | break; |
7051 | default: |
7052 | break; |
7053 | }; |
7054 | break; |
7055 | /* psynch_mutexwait */ |
7056 | case 301: |
7057 | switch(ndx) { |
7058 | case 0: |
7059 | p = "user_addr_t" ; |
7060 | break; |
7061 | case 1: |
7062 | p = "uint32_t" ; |
7063 | break; |
7064 | case 2: |
7065 | p = "uint32_t" ; |
7066 | break; |
7067 | case 3: |
7068 | p = "uint64_t" ; |
7069 | break; |
7070 | case 4: |
7071 | p = "uint32_t" ; |
7072 | break; |
7073 | default: |
7074 | break; |
7075 | }; |
7076 | break; |
7077 | /* psynch_mutexdrop */ |
7078 | case 302: |
7079 | switch(ndx) { |
7080 | case 0: |
7081 | p = "user_addr_t" ; |
7082 | break; |
7083 | case 1: |
7084 | p = "uint32_t" ; |
7085 | break; |
7086 | case 2: |
7087 | p = "uint32_t" ; |
7088 | break; |
7089 | case 3: |
7090 | p = "uint64_t" ; |
7091 | break; |
7092 | case 4: |
7093 | p = "uint32_t" ; |
7094 | break; |
7095 | default: |
7096 | break; |
7097 | }; |
7098 | break; |
7099 | /* psynch_cvbroad */ |
7100 | case 303: |
7101 | switch(ndx) { |
7102 | case 0: |
7103 | p = "user_addr_t" ; |
7104 | break; |
7105 | case 1: |
7106 | p = "uint64_t" ; |
7107 | break; |
7108 | case 2: |
7109 | p = "uint64_t" ; |
7110 | break; |
7111 | case 3: |
7112 | p = "uint32_t" ; |
7113 | break; |
7114 | case 4: |
7115 | p = "user_addr_t" ; |
7116 | break; |
7117 | case 5: |
7118 | p = "uint64_t" ; |
7119 | break; |
7120 | case 6: |
7121 | p = "uint64_t" ; |
7122 | break; |
7123 | default: |
7124 | break; |
7125 | }; |
7126 | break; |
7127 | /* psynch_cvsignal */ |
7128 | case 304: |
7129 | switch(ndx) { |
7130 | case 0: |
7131 | p = "user_addr_t" ; |
7132 | break; |
7133 | case 1: |
7134 | p = "uint64_t" ; |
7135 | break; |
7136 | case 2: |
7137 | p = "uint32_t" ; |
7138 | break; |
7139 | case 3: |
7140 | p = "int" ; |
7141 | break; |
7142 | case 4: |
7143 | p = "user_addr_t" ; |
7144 | break; |
7145 | case 5: |
7146 | p = "uint64_t" ; |
7147 | break; |
7148 | case 6: |
7149 | p = "uint64_t" ; |
7150 | break; |
7151 | case 7: |
7152 | p = "uint32_t" ; |
7153 | break; |
7154 | default: |
7155 | break; |
7156 | }; |
7157 | break; |
7158 | /* psynch_cvwait */ |
7159 | case 305: |
7160 | switch(ndx) { |
7161 | case 0: |
7162 | p = "user_addr_t" ; |
7163 | break; |
7164 | case 1: |
7165 | p = "uint64_t" ; |
7166 | break; |
7167 | case 2: |
7168 | p = "uint32_t" ; |
7169 | break; |
7170 | case 3: |
7171 | p = "user_addr_t" ; |
7172 | break; |
7173 | case 4: |
7174 | p = "uint64_t" ; |
7175 | break; |
7176 | case 5: |
7177 | p = "uint32_t" ; |
7178 | break; |
7179 | case 6: |
7180 | p = "int64_t" ; |
7181 | break; |
7182 | case 7: |
7183 | p = "uint32_t" ; |
7184 | break; |
7185 | default: |
7186 | break; |
7187 | }; |
7188 | break; |
7189 | /* psynch_rw_rdlock */ |
7190 | case 306: |
7191 | switch(ndx) { |
7192 | case 0: |
7193 | p = "user_addr_t" ; |
7194 | break; |
7195 | case 1: |
7196 | p = "uint32_t" ; |
7197 | break; |
7198 | case 2: |
7199 | p = "uint32_t" ; |
7200 | break; |
7201 | case 3: |
7202 | p = "uint32_t" ; |
7203 | break; |
7204 | case 4: |
7205 | p = "int" ; |
7206 | break; |
7207 | default: |
7208 | break; |
7209 | }; |
7210 | break; |
7211 | /* psynch_rw_wrlock */ |
7212 | case 307: |
7213 | switch(ndx) { |
7214 | case 0: |
7215 | p = "user_addr_t" ; |
7216 | break; |
7217 | case 1: |
7218 | p = "uint32_t" ; |
7219 | break; |
7220 | case 2: |
7221 | p = "uint32_t" ; |
7222 | break; |
7223 | case 3: |
7224 | p = "uint32_t" ; |
7225 | break; |
7226 | case 4: |
7227 | p = "int" ; |
7228 | break; |
7229 | default: |
7230 | break; |
7231 | }; |
7232 | break; |
7233 | /* psynch_rw_unlock */ |
7234 | case 308: |
7235 | switch(ndx) { |
7236 | case 0: |
7237 | p = "user_addr_t" ; |
7238 | break; |
7239 | case 1: |
7240 | p = "uint32_t" ; |
7241 | break; |
7242 | case 2: |
7243 | p = "uint32_t" ; |
7244 | break; |
7245 | case 3: |
7246 | p = "uint32_t" ; |
7247 | break; |
7248 | case 4: |
7249 | p = "int" ; |
7250 | break; |
7251 | default: |
7252 | break; |
7253 | }; |
7254 | break; |
7255 | /* psynch_rw_unlock2 */ |
7256 | case 309: |
7257 | switch(ndx) { |
7258 | case 0: |
7259 | p = "user_addr_t" ; |
7260 | break; |
7261 | case 1: |
7262 | p = "uint32_t" ; |
7263 | break; |
7264 | case 2: |
7265 | p = "uint32_t" ; |
7266 | break; |
7267 | case 3: |
7268 | p = "uint32_t" ; |
7269 | break; |
7270 | case 4: |
7271 | p = "int" ; |
7272 | break; |
7273 | default: |
7274 | break; |
7275 | }; |
7276 | break; |
7277 | #else |
7278 | #endif |
7279 | /* getsid */ |
7280 | case 310: |
7281 | switch(ndx) { |
7282 | case 0: |
7283 | p = "pid_t" ; |
7284 | break; |
7285 | default: |
7286 | break; |
7287 | }; |
7288 | break; |
7289 | /* sys_settid_with_pid */ |
7290 | case 311: |
7291 | switch(ndx) { |
7292 | case 0: |
7293 | p = "pid_t" ; |
7294 | break; |
7295 | case 1: |
7296 | p = "int" ; |
7297 | break; |
7298 | default: |
7299 | break; |
7300 | }; |
7301 | break; |
7302 | #if PSYNCH |
7303 | /* psynch_cvclrprepost */ |
7304 | case 312: |
7305 | switch(ndx) { |
7306 | case 0: |
7307 | p = "user_addr_t" ; |
7308 | break; |
7309 | case 1: |
7310 | p = "uint32_t" ; |
7311 | break; |
7312 | case 2: |
7313 | p = "uint32_t" ; |
7314 | break; |
7315 | case 3: |
7316 | p = "uint32_t" ; |
7317 | break; |
7318 | case 4: |
7319 | p = "uint32_t" ; |
7320 | break; |
7321 | case 5: |
7322 | p = "uint32_t" ; |
7323 | break; |
7324 | case 6: |
7325 | p = "uint32_t" ; |
7326 | break; |
7327 | default: |
7328 | break; |
7329 | }; |
7330 | break; |
7331 | #else |
7332 | #endif |
7333 | /* aio_fsync */ |
7334 | case 313: |
7335 | switch(ndx) { |
7336 | case 0: |
7337 | p = "int" ; |
7338 | break; |
7339 | case 1: |
7340 | p = "user_addr_t" ; |
7341 | break; |
7342 | default: |
7343 | break; |
7344 | }; |
7345 | break; |
7346 | /* aio_return */ |
7347 | case 314: |
7348 | switch(ndx) { |
7349 | case 0: |
7350 | p = "user_addr_t" ; |
7351 | break; |
7352 | default: |
7353 | break; |
7354 | }; |
7355 | break; |
7356 | /* aio_suspend */ |
7357 | case 315: |
7358 | switch(ndx) { |
7359 | case 0: |
7360 | p = "user_addr_t" ; |
7361 | break; |
7362 | case 1: |
7363 | p = "int" ; |
7364 | break; |
7365 | case 2: |
7366 | p = "user_addr_t" ; |
7367 | break; |
7368 | default: |
7369 | break; |
7370 | }; |
7371 | break; |
7372 | /* aio_cancel */ |
7373 | case 316: |
7374 | switch(ndx) { |
7375 | case 0: |
7376 | p = "int" ; |
7377 | break; |
7378 | case 1: |
7379 | p = "user_addr_t" ; |
7380 | break; |
7381 | default: |
7382 | break; |
7383 | }; |
7384 | break; |
7385 | /* aio_error */ |
7386 | case 317: |
7387 | switch(ndx) { |
7388 | case 0: |
7389 | p = "user_addr_t" ; |
7390 | break; |
7391 | default: |
7392 | break; |
7393 | }; |
7394 | break; |
7395 | /* aio_read */ |
7396 | case 318: |
7397 | switch(ndx) { |
7398 | case 0: |
7399 | p = "user_addr_t" ; |
7400 | break; |
7401 | default: |
7402 | break; |
7403 | }; |
7404 | break; |
7405 | /* aio_write */ |
7406 | case 319: |
7407 | switch(ndx) { |
7408 | case 0: |
7409 | p = "user_addr_t" ; |
7410 | break; |
7411 | default: |
7412 | break; |
7413 | }; |
7414 | break; |
7415 | /* lio_listio */ |
7416 | case 320: |
7417 | switch(ndx) { |
7418 | case 0: |
7419 | p = "int" ; |
7420 | break; |
7421 | case 1: |
7422 | p = "user_addr_t" ; |
7423 | break; |
7424 | case 2: |
7425 | p = "int" ; |
7426 | break; |
7427 | case 3: |
7428 | p = "user_addr_t" ; |
7429 | break; |
7430 | default: |
7431 | break; |
7432 | }; |
7433 | break; |
7434 | /* iopolicysys */ |
7435 | case 322: |
7436 | switch(ndx) { |
7437 | case 0: |
7438 | p = "int" ; |
7439 | break; |
7440 | case 1: |
7441 | p = "userland void *" ; |
7442 | break; |
7443 | default: |
7444 | break; |
7445 | }; |
7446 | break; |
7447 | /* process_policy */ |
7448 | case 323: |
7449 | switch(ndx) { |
7450 | case 0: |
7451 | p = "int" ; |
7452 | break; |
7453 | case 1: |
7454 | p = "int" ; |
7455 | break; |
7456 | case 2: |
7457 | p = "int" ; |
7458 | break; |
7459 | case 3: |
7460 | p = "int" ; |
7461 | break; |
7462 | case 4: |
7463 | p = "user_addr_t" ; |
7464 | break; |
7465 | case 5: |
7466 | p = "pid_t" ; |
7467 | break; |
7468 | case 6: |
7469 | p = "uint64_t" ; |
7470 | break; |
7471 | default: |
7472 | break; |
7473 | }; |
7474 | break; |
7475 | /* mlockall */ |
7476 | case 324: |
7477 | switch(ndx) { |
7478 | case 0: |
7479 | p = "int" ; |
7480 | break; |
7481 | default: |
7482 | break; |
7483 | }; |
7484 | break; |
7485 | /* munlockall */ |
7486 | case 325: |
7487 | switch(ndx) { |
7488 | case 0: |
7489 | p = "int" ; |
7490 | break; |
7491 | default: |
7492 | break; |
7493 | }; |
7494 | break; |
7495 | /* issetugid */ |
7496 | case 327: |
7497 | break; |
7498 | /* __pthread_kill */ |
7499 | case 328: |
7500 | switch(ndx) { |
7501 | case 0: |
7502 | p = "int" ; |
7503 | break; |
7504 | case 1: |
7505 | p = "int" ; |
7506 | break; |
7507 | default: |
7508 | break; |
7509 | }; |
7510 | break; |
7511 | /* __pthread_sigmask */ |
7512 | case 329: |
7513 | switch(ndx) { |
7514 | case 0: |
7515 | p = "int" ; |
7516 | break; |
7517 | case 1: |
7518 | p = "user_addr_t" ; |
7519 | break; |
7520 | case 2: |
7521 | p = "user_addr_t" ; |
7522 | break; |
7523 | default: |
7524 | break; |
7525 | }; |
7526 | break; |
7527 | /* __sigwait */ |
7528 | case 330: |
7529 | switch(ndx) { |
7530 | case 0: |
7531 | p = "user_addr_t" ; |
7532 | break; |
7533 | case 1: |
7534 | p = "user_addr_t" ; |
7535 | break; |
7536 | default: |
7537 | break; |
7538 | }; |
7539 | break; |
7540 | /* __disable_threadsignal */ |
7541 | case 331: |
7542 | switch(ndx) { |
7543 | case 0: |
7544 | p = "int" ; |
7545 | break; |
7546 | default: |
7547 | break; |
7548 | }; |
7549 | break; |
7550 | /* __pthread_markcancel */ |
7551 | case 332: |
7552 | switch(ndx) { |
7553 | case 0: |
7554 | p = "int" ; |
7555 | break; |
7556 | default: |
7557 | break; |
7558 | }; |
7559 | break; |
7560 | /* __pthread_canceled */ |
7561 | case 333: |
7562 | switch(ndx) { |
7563 | case 0: |
7564 | p = "int" ; |
7565 | break; |
7566 | default: |
7567 | break; |
7568 | }; |
7569 | break; |
7570 | /* __semwait_signal */ |
7571 | case 334: |
7572 | switch(ndx) { |
7573 | case 0: |
7574 | p = "int" ; |
7575 | break; |
7576 | case 1: |
7577 | p = "int" ; |
7578 | break; |
7579 | case 2: |
7580 | p = "int" ; |
7581 | break; |
7582 | case 3: |
7583 | p = "int" ; |
7584 | break; |
7585 | case 4: |
7586 | p = "int64_t" ; |
7587 | break; |
7588 | case 5: |
7589 | p = "int32_t" ; |
7590 | break; |
7591 | default: |
7592 | break; |
7593 | }; |
7594 | break; |
7595 | /* proc_info */ |
7596 | case 336: |
7597 | switch(ndx) { |
7598 | case 0: |
7599 | p = "int32_t" ; |
7600 | break; |
7601 | case 1: |
7602 | p = "int32_t" ; |
7603 | break; |
7604 | case 2: |
7605 | p = "uint32_t" ; |
7606 | break; |
7607 | case 3: |
7608 | p = "uint64_t" ; |
7609 | break; |
7610 | case 4: |
7611 | p = "user_addr_t" ; |
7612 | break; |
7613 | case 5: |
7614 | p = "int32_t" ; |
7615 | break; |
7616 | default: |
7617 | break; |
7618 | }; |
7619 | break; |
7620 | #if SENDFILE |
7621 | /* sendfile */ |
7622 | case 337: |
7623 | switch(ndx) { |
7624 | case 0: |
7625 | p = "int" ; |
7626 | break; |
7627 | case 1: |
7628 | p = "int" ; |
7629 | break; |
7630 | case 2: |
7631 | p = "off_t" ; |
7632 | break; |
7633 | case 3: |
7634 | p = "userland off_t *" ; |
7635 | break; |
7636 | case 4: |
7637 | p = "userland struct sf_hdtr *" ; |
7638 | break; |
7639 | case 5: |
7640 | p = "int" ; |
7641 | break; |
7642 | default: |
7643 | break; |
7644 | }; |
7645 | break; |
7646 | #else /* !SENDFILE */ |
7647 | #endif /* SENDFILE */ |
7648 | /* stat64 */ |
7649 | case 338: |
7650 | switch(ndx) { |
7651 | case 0: |
7652 | p = "user_addr_t" ; |
7653 | break; |
7654 | case 1: |
7655 | p = "user_addr_t" ; |
7656 | break; |
7657 | default: |
7658 | break; |
7659 | }; |
7660 | break; |
7661 | /* sys_fstat64 */ |
7662 | case 339: |
7663 | switch(ndx) { |
7664 | case 0: |
7665 | p = "int" ; |
7666 | break; |
7667 | case 1: |
7668 | p = "user_addr_t" ; |
7669 | break; |
7670 | default: |
7671 | break; |
7672 | }; |
7673 | break; |
7674 | /* lstat64 */ |
7675 | case 340: |
7676 | switch(ndx) { |
7677 | case 0: |
7678 | p = "user_addr_t" ; |
7679 | break; |
7680 | case 1: |
7681 | p = "user_addr_t" ; |
7682 | break; |
7683 | default: |
7684 | break; |
7685 | }; |
7686 | break; |
7687 | /* stat64_extended */ |
7688 | case 341: |
7689 | switch(ndx) { |
7690 | case 0: |
7691 | p = "user_addr_t" ; |
7692 | break; |
7693 | case 1: |
7694 | p = "user_addr_t" ; |
7695 | break; |
7696 | case 2: |
7697 | p = "user_addr_t" ; |
7698 | break; |
7699 | case 3: |
7700 | p = "user_addr_t" ; |
7701 | break; |
7702 | default: |
7703 | break; |
7704 | }; |
7705 | break; |
7706 | /* lstat64_extended */ |
7707 | case 342: |
7708 | switch(ndx) { |
7709 | case 0: |
7710 | p = "user_addr_t" ; |
7711 | break; |
7712 | case 1: |
7713 | p = "user_addr_t" ; |
7714 | break; |
7715 | case 2: |
7716 | p = "user_addr_t" ; |
7717 | break; |
7718 | case 3: |
7719 | p = "user_addr_t" ; |
7720 | break; |
7721 | default: |
7722 | break; |
7723 | }; |
7724 | break; |
7725 | /* sys_fstat64_extended */ |
7726 | case 343: |
7727 | switch(ndx) { |
7728 | case 0: |
7729 | p = "int" ; |
7730 | break; |
7731 | case 1: |
7732 | p = "user_addr_t" ; |
7733 | break; |
7734 | case 2: |
7735 | p = "user_addr_t" ; |
7736 | break; |
7737 | case 3: |
7738 | p = "user_addr_t" ; |
7739 | break; |
7740 | default: |
7741 | break; |
7742 | }; |
7743 | break; |
7744 | /* getdirentries64 */ |
7745 | case 344: |
7746 | switch(ndx) { |
7747 | case 0: |
7748 | p = "int" ; |
7749 | break; |
7750 | case 1: |
7751 | p = "userland void *" ; |
7752 | break; |
7753 | case 2: |
7754 | p = "user_size_t" ; |
7755 | break; |
7756 | case 3: |
7757 | p = "userland off_t *" ; |
7758 | break; |
7759 | default: |
7760 | break; |
7761 | }; |
7762 | break; |
7763 | /* statfs64 */ |
7764 | case 345: |
7765 | switch(ndx) { |
7766 | case 0: |
7767 | p = "userland char *" ; |
7768 | break; |
7769 | case 1: |
7770 | p = "userland struct statfs64 *" ; |
7771 | break; |
7772 | default: |
7773 | break; |
7774 | }; |
7775 | break; |
7776 | /* fstatfs64 */ |
7777 | case 346: |
7778 | switch(ndx) { |
7779 | case 0: |
7780 | p = "int" ; |
7781 | break; |
7782 | case 1: |
7783 | p = "userland struct statfs64 *" ; |
7784 | break; |
7785 | default: |
7786 | break; |
7787 | }; |
7788 | break; |
7789 | /* getfsstat64 */ |
7790 | case 347: |
7791 | switch(ndx) { |
7792 | case 0: |
7793 | p = "user_addr_t" ; |
7794 | break; |
7795 | case 1: |
7796 | p = "int" ; |
7797 | break; |
7798 | case 2: |
7799 | p = "int" ; |
7800 | break; |
7801 | default: |
7802 | break; |
7803 | }; |
7804 | break; |
7805 | /* __pthread_chdir */ |
7806 | case 348: |
7807 | switch(ndx) { |
7808 | case 0: |
7809 | p = "user_addr_t" ; |
7810 | break; |
7811 | default: |
7812 | break; |
7813 | }; |
7814 | break; |
7815 | /* __pthread_fchdir */ |
7816 | case 349: |
7817 | switch(ndx) { |
7818 | case 0: |
7819 | p = "int" ; |
7820 | break; |
7821 | default: |
7822 | break; |
7823 | }; |
7824 | break; |
7825 | /* audit */ |
7826 | case 350: |
7827 | switch(ndx) { |
7828 | case 0: |
7829 | p = "userland void *" ; |
7830 | break; |
7831 | case 1: |
7832 | p = "int" ; |
7833 | break; |
7834 | default: |
7835 | break; |
7836 | }; |
7837 | break; |
7838 | /* auditon */ |
7839 | case 351: |
7840 | switch(ndx) { |
7841 | case 0: |
7842 | p = "int" ; |
7843 | break; |
7844 | case 1: |
7845 | p = "userland void *" ; |
7846 | break; |
7847 | case 2: |
7848 | p = "int" ; |
7849 | break; |
7850 | default: |
7851 | break; |
7852 | }; |
7853 | break; |
7854 | /* getauid */ |
7855 | case 353: |
7856 | switch(ndx) { |
7857 | case 0: |
7858 | p = "userland au_id_t *" ; |
7859 | break; |
7860 | default: |
7861 | break; |
7862 | }; |
7863 | break; |
7864 | /* setauid */ |
7865 | case 354: |
7866 | switch(ndx) { |
7867 | case 0: |
7868 | p = "userland au_id_t *" ; |
7869 | break; |
7870 | default: |
7871 | break; |
7872 | }; |
7873 | break; |
7874 | /* getaudit_addr */ |
7875 | case 357: |
7876 | switch(ndx) { |
7877 | case 0: |
7878 | p = "userland struct auditinfo_addr *" ; |
7879 | break; |
7880 | case 1: |
7881 | p = "int" ; |
7882 | break; |
7883 | default: |
7884 | break; |
7885 | }; |
7886 | break; |
7887 | /* setaudit_addr */ |
7888 | case 358: |
7889 | switch(ndx) { |
7890 | case 0: |
7891 | p = "userland struct auditinfo_addr *" ; |
7892 | break; |
7893 | case 1: |
7894 | p = "int" ; |
7895 | break; |
7896 | default: |
7897 | break; |
7898 | }; |
7899 | break; |
7900 | /* auditctl */ |
7901 | case 359: |
7902 | switch(ndx) { |
7903 | case 0: |
7904 | p = "userland char *" ; |
7905 | break; |
7906 | default: |
7907 | break; |
7908 | }; |
7909 | break; |
7910 | /* bsdthread_create */ |
7911 | case 360: |
7912 | switch(ndx) { |
7913 | case 0: |
7914 | p = "user_addr_t" ; |
7915 | break; |
7916 | case 1: |
7917 | p = "user_addr_t" ; |
7918 | break; |
7919 | case 2: |
7920 | p = "user_addr_t" ; |
7921 | break; |
7922 | case 3: |
7923 | p = "user_addr_t" ; |
7924 | break; |
7925 | case 4: |
7926 | p = "uint32_t" ; |
7927 | break; |
7928 | default: |
7929 | break; |
7930 | }; |
7931 | break; |
7932 | /* bsdthread_terminate */ |
7933 | case 361: |
7934 | switch(ndx) { |
7935 | case 0: |
7936 | p = "user_addr_t" ; |
7937 | break; |
7938 | case 1: |
7939 | p = "size_t" ; |
7940 | break; |
7941 | case 2: |
7942 | p = "uint32_t" ; |
7943 | break; |
7944 | case 3: |
7945 | p = "user_addr_t" ; |
7946 | break; |
7947 | default: |
7948 | break; |
7949 | }; |
7950 | break; |
7951 | /* kqueue */ |
7952 | case 362: |
7953 | break; |
7954 | /* kevent */ |
7955 | case 363: |
7956 | switch(ndx) { |
7957 | case 0: |
7958 | p = "int" ; |
7959 | break; |
7960 | case 1: |
7961 | p = "userland const struct kevent *" ; |
7962 | break; |
7963 | case 2: |
7964 | p = "int" ; |
7965 | break; |
7966 | case 3: |
7967 | p = "userland struct kevent *" ; |
7968 | break; |
7969 | case 4: |
7970 | p = "int" ; |
7971 | break; |
7972 | case 5: |
7973 | p = "userland const struct timespec *" ; |
7974 | break; |
7975 | default: |
7976 | break; |
7977 | }; |
7978 | break; |
7979 | /* lchown */ |
7980 | case 364: |
7981 | switch(ndx) { |
7982 | case 0: |
7983 | p = "user_addr_t" ; |
7984 | break; |
7985 | case 1: |
7986 | p = "uid_t" ; |
7987 | break; |
7988 | case 2: |
7989 | p = "gid_t" ; |
7990 | break; |
7991 | default: |
7992 | break; |
7993 | }; |
7994 | break; |
7995 | /* bsdthread_register */ |
7996 | case 366: |
7997 | switch(ndx) { |
7998 | case 0: |
7999 | p = "user_addr_t" ; |
8000 | break; |
8001 | case 1: |
8002 | p = "user_addr_t" ; |
8003 | break; |
8004 | case 2: |
8005 | p = "uint32_t" ; |
8006 | break; |
8007 | case 3: |
8008 | p = "user_addr_t" ; |
8009 | break; |
8010 | case 4: |
8011 | p = "user_addr_t" ; |
8012 | break; |
8013 | case 5: |
8014 | p = "uint32_t" ; |
8015 | break; |
8016 | case 6: |
8017 | p = "uint32_t" ; |
8018 | break; |
8019 | default: |
8020 | break; |
8021 | }; |
8022 | break; |
8023 | /* workq_open */ |
8024 | case 367: |
8025 | break; |
8026 | /* workq_kernreturn */ |
8027 | case 368: |
8028 | switch(ndx) { |
8029 | case 0: |
8030 | p = "int" ; |
8031 | break; |
8032 | case 1: |
8033 | p = "user_addr_t" ; |
8034 | break; |
8035 | case 2: |
8036 | p = "int" ; |
8037 | break; |
8038 | case 3: |
8039 | p = "int" ; |
8040 | break; |
8041 | default: |
8042 | break; |
8043 | }; |
8044 | break; |
8045 | /* kevent64 */ |
8046 | case 369: |
8047 | switch(ndx) { |
8048 | case 0: |
8049 | p = "int" ; |
8050 | break; |
8051 | case 1: |
8052 | p = "userland const struct kevent64_s *" ; |
8053 | break; |
8054 | case 2: |
8055 | p = "int" ; |
8056 | break; |
8057 | case 3: |
8058 | p = "userland struct kevent64_s *" ; |
8059 | break; |
8060 | case 4: |
8061 | p = "int" ; |
8062 | break; |
8063 | case 5: |
8064 | p = "unsigned int" ; |
8065 | break; |
8066 | case 6: |
8067 | p = "userland const struct timespec *" ; |
8068 | break; |
8069 | default: |
8070 | break; |
8071 | }; |
8072 | break; |
8073 | /* thread_selfid */ |
8074 | case 372: |
8075 | break; |
8076 | /* ledger */ |
8077 | case 373: |
8078 | switch(ndx) { |
8079 | case 0: |
8080 | p = "int" ; |
8081 | break; |
8082 | case 1: |
8083 | p = "caddr_t" ; |
8084 | break; |
8085 | case 2: |
8086 | p = "caddr_t" ; |
8087 | break; |
8088 | case 3: |
8089 | p = "caddr_t" ; |
8090 | break; |
8091 | default: |
8092 | break; |
8093 | }; |
8094 | break; |
8095 | /* kevent_qos */ |
8096 | case 374: |
8097 | switch(ndx) { |
8098 | case 0: |
8099 | p = "int" ; |
8100 | break; |
8101 | case 1: |
8102 | p = "userland const struct kevent_qos_s *" ; |
8103 | break; |
8104 | case 2: |
8105 | p = "int" ; |
8106 | break; |
8107 | case 3: |
8108 | p = "userland struct kevent_qos_s *" ; |
8109 | break; |
8110 | case 4: |
8111 | p = "int" ; |
8112 | break; |
8113 | case 5: |
8114 | p = "userland void *" ; |
8115 | break; |
8116 | case 6: |
8117 | p = "userland size_t *" ; |
8118 | break; |
8119 | case 7: |
8120 | p = "unsigned int" ; |
8121 | break; |
8122 | default: |
8123 | break; |
8124 | }; |
8125 | break; |
8126 | /* kevent_id */ |
8127 | case 375: |
8128 | switch(ndx) { |
8129 | case 0: |
8130 | p = "uint64_t" ; |
8131 | break; |
8132 | case 1: |
8133 | p = "userland const struct kevent_qos_s *" ; |
8134 | break; |
8135 | case 2: |
8136 | p = "int" ; |
8137 | break; |
8138 | case 3: |
8139 | p = "userland struct kevent_qos_s *" ; |
8140 | break; |
8141 | case 4: |
8142 | p = "int" ; |
8143 | break; |
8144 | case 5: |
8145 | p = "userland void *" ; |
8146 | break; |
8147 | case 6: |
8148 | p = "userland size_t *" ; |
8149 | break; |
8150 | case 7: |
8151 | p = "unsigned int" ; |
8152 | break; |
8153 | default: |
8154 | break; |
8155 | }; |
8156 | break; |
8157 | /* __mac_execve */ |
8158 | case 380: |
8159 | switch(ndx) { |
8160 | case 0: |
8161 | p = "userland char *" ; |
8162 | break; |
8163 | case 1: |
8164 | p = "userland char **" ; |
8165 | break; |
8166 | case 2: |
8167 | p = "userland char **" ; |
8168 | break; |
8169 | case 3: |
8170 | p = "userland struct mac *" ; |
8171 | break; |
8172 | default: |
8173 | break; |
8174 | }; |
8175 | break; |
8176 | #if CONFIG_MACF |
8177 | /* __mac_syscall */ |
8178 | case 381: |
8179 | switch(ndx) { |
8180 | case 0: |
8181 | p = "userland char *" ; |
8182 | break; |
8183 | case 1: |
8184 | p = "int" ; |
8185 | break; |
8186 | case 2: |
8187 | p = "user_addr_t" ; |
8188 | break; |
8189 | default: |
8190 | break; |
8191 | }; |
8192 | break; |
8193 | /* __mac_get_file */ |
8194 | case 382: |
8195 | switch(ndx) { |
8196 | case 0: |
8197 | p = "userland char *" ; |
8198 | break; |
8199 | case 1: |
8200 | p = "userland struct mac *" ; |
8201 | break; |
8202 | default: |
8203 | break; |
8204 | }; |
8205 | break; |
8206 | /* __mac_set_file */ |
8207 | case 383: |
8208 | switch(ndx) { |
8209 | case 0: |
8210 | p = "userland char *" ; |
8211 | break; |
8212 | case 1: |
8213 | p = "userland struct mac *" ; |
8214 | break; |
8215 | default: |
8216 | break; |
8217 | }; |
8218 | break; |
8219 | /* __mac_get_link */ |
8220 | case 384: |
8221 | switch(ndx) { |
8222 | case 0: |
8223 | p = "userland char *" ; |
8224 | break; |
8225 | case 1: |
8226 | p = "userland struct mac *" ; |
8227 | break; |
8228 | default: |
8229 | break; |
8230 | }; |
8231 | break; |
8232 | /* __mac_set_link */ |
8233 | case 385: |
8234 | switch(ndx) { |
8235 | case 0: |
8236 | p = "userland char *" ; |
8237 | break; |
8238 | case 1: |
8239 | p = "userland struct mac *" ; |
8240 | break; |
8241 | default: |
8242 | break; |
8243 | }; |
8244 | break; |
8245 | /* __mac_get_proc */ |
8246 | case 386: |
8247 | switch(ndx) { |
8248 | case 0: |
8249 | p = "userland struct mac *" ; |
8250 | break; |
8251 | default: |
8252 | break; |
8253 | }; |
8254 | break; |
8255 | /* __mac_set_proc */ |
8256 | case 387: |
8257 | switch(ndx) { |
8258 | case 0: |
8259 | p = "userland struct mac *" ; |
8260 | break; |
8261 | default: |
8262 | break; |
8263 | }; |
8264 | break; |
8265 | /* __mac_get_fd */ |
8266 | case 388: |
8267 | switch(ndx) { |
8268 | case 0: |
8269 | p = "int" ; |
8270 | break; |
8271 | case 1: |
8272 | p = "userland struct mac *" ; |
8273 | break; |
8274 | default: |
8275 | break; |
8276 | }; |
8277 | break; |
8278 | /* __mac_set_fd */ |
8279 | case 389: |
8280 | switch(ndx) { |
8281 | case 0: |
8282 | p = "int" ; |
8283 | break; |
8284 | case 1: |
8285 | p = "userland struct mac *" ; |
8286 | break; |
8287 | default: |
8288 | break; |
8289 | }; |
8290 | break; |
8291 | /* __mac_get_pid */ |
8292 | case 390: |
8293 | switch(ndx) { |
8294 | case 0: |
8295 | p = "pid_t" ; |
8296 | break; |
8297 | case 1: |
8298 | p = "userland struct mac *" ; |
8299 | break; |
8300 | default: |
8301 | break; |
8302 | }; |
8303 | break; |
8304 | #else |
8305 | #endif |
8306 | /* pselect */ |
8307 | case 394: |
8308 | switch(ndx) { |
8309 | case 0: |
8310 | p = "int" ; |
8311 | break; |
8312 | case 1: |
8313 | p = "userland u_int32_t *" ; |
8314 | break; |
8315 | case 2: |
8316 | p = "userland u_int32_t *" ; |
8317 | break; |
8318 | case 3: |
8319 | p = "userland u_int32_t *" ; |
8320 | break; |
8321 | case 4: |
8322 | p = "userland const struct timespec *" ; |
8323 | break; |
8324 | case 5: |
8325 | p = "userland const struct sigset_t *" ; |
8326 | break; |
8327 | default: |
8328 | break; |
8329 | }; |
8330 | break; |
8331 | /* pselect_nocancel */ |
8332 | case 395: |
8333 | switch(ndx) { |
8334 | case 0: |
8335 | p = "int" ; |
8336 | break; |
8337 | case 1: |
8338 | p = "userland u_int32_t *" ; |
8339 | break; |
8340 | case 2: |
8341 | p = "userland u_int32_t *" ; |
8342 | break; |
8343 | case 3: |
8344 | p = "userland u_int32_t *" ; |
8345 | break; |
8346 | case 4: |
8347 | p = "userland const struct timespec *" ; |
8348 | break; |
8349 | case 5: |
8350 | p = "userland const struct sigset_t *" ; |
8351 | break; |
8352 | default: |
8353 | break; |
8354 | }; |
8355 | break; |
8356 | /* read_nocancel */ |
8357 | case 396: |
8358 | switch(ndx) { |
8359 | case 0: |
8360 | p = "int" ; |
8361 | break; |
8362 | case 1: |
8363 | p = "user_addr_t" ; |
8364 | break; |
8365 | case 2: |
8366 | p = "user_size_t" ; |
8367 | break; |
8368 | default: |
8369 | break; |
8370 | }; |
8371 | break; |
8372 | /* write_nocancel */ |
8373 | case 397: |
8374 | switch(ndx) { |
8375 | case 0: |
8376 | p = "int" ; |
8377 | break; |
8378 | case 1: |
8379 | p = "user_addr_t" ; |
8380 | break; |
8381 | case 2: |
8382 | p = "user_size_t" ; |
8383 | break; |
8384 | default: |
8385 | break; |
8386 | }; |
8387 | break; |
8388 | /* open_nocancel */ |
8389 | case 398: |
8390 | switch(ndx) { |
8391 | case 0: |
8392 | p = "user_addr_t" ; |
8393 | break; |
8394 | case 1: |
8395 | p = "int" ; |
8396 | break; |
8397 | case 2: |
8398 | p = "int" ; |
8399 | break; |
8400 | default: |
8401 | break; |
8402 | }; |
8403 | break; |
8404 | /* sys_close_nocancel */ |
8405 | case 399: |
8406 | switch(ndx) { |
8407 | case 0: |
8408 | p = "int" ; |
8409 | break; |
8410 | default: |
8411 | break; |
8412 | }; |
8413 | break; |
8414 | /* wait4_nocancel */ |
8415 | case 400: |
8416 | switch(ndx) { |
8417 | case 0: |
8418 | p = "int" ; |
8419 | break; |
8420 | case 1: |
8421 | p = "user_addr_t" ; |
8422 | break; |
8423 | case 2: |
8424 | p = "int" ; |
8425 | break; |
8426 | case 3: |
8427 | p = "user_addr_t" ; |
8428 | break; |
8429 | default: |
8430 | break; |
8431 | }; |
8432 | break; |
8433 | #if SOCKETS |
8434 | /* recvmsg_nocancel */ |
8435 | case 401: |
8436 | switch(ndx) { |
8437 | case 0: |
8438 | p = "int" ; |
8439 | break; |
8440 | case 1: |
8441 | p = "userland struct msghdr *" ; |
8442 | break; |
8443 | case 2: |
8444 | p = "int" ; |
8445 | break; |
8446 | default: |
8447 | break; |
8448 | }; |
8449 | break; |
8450 | /* sendmsg_nocancel */ |
8451 | case 402: |
8452 | switch(ndx) { |
8453 | case 0: |
8454 | p = "int" ; |
8455 | break; |
8456 | case 1: |
8457 | p = "caddr_t" ; |
8458 | break; |
8459 | case 2: |
8460 | p = "int" ; |
8461 | break; |
8462 | default: |
8463 | break; |
8464 | }; |
8465 | break; |
8466 | /* recvfrom_nocancel */ |
8467 | case 403: |
8468 | switch(ndx) { |
8469 | case 0: |
8470 | p = "int" ; |
8471 | break; |
8472 | case 1: |
8473 | p = "userland void *" ; |
8474 | break; |
8475 | case 2: |
8476 | p = "size_t" ; |
8477 | break; |
8478 | case 3: |
8479 | p = "int" ; |
8480 | break; |
8481 | case 4: |
8482 | p = "userland struct sockaddr *" ; |
8483 | break; |
8484 | case 5: |
8485 | p = "userland int *" ; |
8486 | break; |
8487 | default: |
8488 | break; |
8489 | }; |
8490 | break; |
8491 | /* accept_nocancel */ |
8492 | case 404: |
8493 | switch(ndx) { |
8494 | case 0: |
8495 | p = "int" ; |
8496 | break; |
8497 | case 1: |
8498 | p = "caddr_t" ; |
8499 | break; |
8500 | case 2: |
8501 | p = "userland socklen_t *" ; |
8502 | break; |
8503 | default: |
8504 | break; |
8505 | }; |
8506 | break; |
8507 | #else |
8508 | #endif /* SOCKETS */ |
8509 | /* msync_nocancel */ |
8510 | case 405: |
8511 | switch(ndx) { |
8512 | case 0: |
8513 | p = "caddr_t" ; |
8514 | break; |
8515 | case 1: |
8516 | p = "size_t" ; |
8517 | break; |
8518 | case 2: |
8519 | p = "int" ; |
8520 | break; |
8521 | default: |
8522 | break; |
8523 | }; |
8524 | break; |
8525 | /* sys_fcntl_nocancel */ |
8526 | case 406: |
8527 | switch(ndx) { |
8528 | case 0: |
8529 | p = "int" ; |
8530 | break; |
8531 | case 1: |
8532 | p = "int" ; |
8533 | break; |
8534 | case 2: |
8535 | p = "long" ; |
8536 | break; |
8537 | default: |
8538 | break; |
8539 | }; |
8540 | break; |
8541 | /* select_nocancel */ |
8542 | case 407: |
8543 | switch(ndx) { |
8544 | case 0: |
8545 | p = "int" ; |
8546 | break; |
8547 | case 1: |
8548 | p = "userland u_int32_t *" ; |
8549 | break; |
8550 | case 2: |
8551 | p = "userland u_int32_t *" ; |
8552 | break; |
8553 | case 3: |
8554 | p = "userland u_int32_t *" ; |
8555 | break; |
8556 | case 4: |
8557 | p = "userland struct timeval *" ; |
8558 | break; |
8559 | default: |
8560 | break; |
8561 | }; |
8562 | break; |
8563 | /* fsync_nocancel */ |
8564 | case 408: |
8565 | switch(ndx) { |
8566 | case 0: |
8567 | p = "int" ; |
8568 | break; |
8569 | default: |
8570 | break; |
8571 | }; |
8572 | break; |
8573 | #if SOCKETS |
8574 | /* connect_nocancel */ |
8575 | case 409: |
8576 | switch(ndx) { |
8577 | case 0: |
8578 | p = "int" ; |
8579 | break; |
8580 | case 1: |
8581 | p = "caddr_t" ; |
8582 | break; |
8583 | case 2: |
8584 | p = "socklen_t" ; |
8585 | break; |
8586 | default: |
8587 | break; |
8588 | }; |
8589 | break; |
8590 | #else |
8591 | #endif /* SOCKETS */ |
8592 | /* sigsuspend_nocancel */ |
8593 | case 410: |
8594 | switch(ndx) { |
8595 | case 0: |
8596 | p = "sigset_t" ; |
8597 | break; |
8598 | default: |
8599 | break; |
8600 | }; |
8601 | break; |
8602 | /* readv_nocancel */ |
8603 | case 411: |
8604 | switch(ndx) { |
8605 | case 0: |
8606 | p = "int" ; |
8607 | break; |
8608 | case 1: |
8609 | p = "userland struct iovec *" ; |
8610 | break; |
8611 | case 2: |
8612 | p = "u_int" ; |
8613 | break; |
8614 | default: |
8615 | break; |
8616 | }; |
8617 | break; |
8618 | /* writev_nocancel */ |
8619 | case 412: |
8620 | switch(ndx) { |
8621 | case 0: |
8622 | p = "int" ; |
8623 | break; |
8624 | case 1: |
8625 | p = "userland struct iovec *" ; |
8626 | break; |
8627 | case 2: |
8628 | p = "u_int" ; |
8629 | break; |
8630 | default: |
8631 | break; |
8632 | }; |
8633 | break; |
8634 | #if SOCKETS |
8635 | /* sendto_nocancel */ |
8636 | case 413: |
8637 | switch(ndx) { |
8638 | case 0: |
8639 | p = "int" ; |
8640 | break; |
8641 | case 1: |
8642 | p = "caddr_t" ; |
8643 | break; |
8644 | case 2: |
8645 | p = "size_t" ; |
8646 | break; |
8647 | case 3: |
8648 | p = "int" ; |
8649 | break; |
8650 | case 4: |
8651 | p = "caddr_t" ; |
8652 | break; |
8653 | case 5: |
8654 | p = "socklen_t" ; |
8655 | break; |
8656 | default: |
8657 | break; |
8658 | }; |
8659 | break; |
8660 | #else |
8661 | #endif /* SOCKETS */ |
8662 | /* pread_nocancel */ |
8663 | case 414: |
8664 | switch(ndx) { |
8665 | case 0: |
8666 | p = "int" ; |
8667 | break; |
8668 | case 1: |
8669 | p = "user_addr_t" ; |
8670 | break; |
8671 | case 2: |
8672 | p = "user_size_t" ; |
8673 | break; |
8674 | case 3: |
8675 | p = "off_t" ; |
8676 | break; |
8677 | default: |
8678 | break; |
8679 | }; |
8680 | break; |
8681 | /* pwrite_nocancel */ |
8682 | case 415: |
8683 | switch(ndx) { |
8684 | case 0: |
8685 | p = "int" ; |
8686 | break; |
8687 | case 1: |
8688 | p = "user_addr_t" ; |
8689 | break; |
8690 | case 2: |
8691 | p = "user_size_t" ; |
8692 | break; |
8693 | case 3: |
8694 | p = "off_t" ; |
8695 | break; |
8696 | default: |
8697 | break; |
8698 | }; |
8699 | break; |
8700 | /* waitid_nocancel */ |
8701 | case 416: |
8702 | switch(ndx) { |
8703 | case 0: |
8704 | p = "idtype_t" ; |
8705 | break; |
8706 | case 1: |
8707 | p = "id_t" ; |
8708 | break; |
8709 | case 2: |
8710 | p = "userland siginfo_t *" ; |
8711 | break; |
8712 | case 3: |
8713 | p = "int" ; |
8714 | break; |
8715 | default: |
8716 | break; |
8717 | }; |
8718 | break; |
8719 | /* poll_nocancel */ |
8720 | case 417: |
8721 | switch(ndx) { |
8722 | case 0: |
8723 | p = "userland struct pollfd *" ; |
8724 | break; |
8725 | case 1: |
8726 | p = "u_int" ; |
8727 | break; |
8728 | case 2: |
8729 | p = "int" ; |
8730 | break; |
8731 | default: |
8732 | break; |
8733 | }; |
8734 | break; |
8735 | #if SYSV_MSG |
8736 | /* msgsnd_nocancel */ |
8737 | case 418: |
8738 | switch(ndx) { |
8739 | case 0: |
8740 | p = "int" ; |
8741 | break; |
8742 | case 1: |
8743 | p = "userland void *" ; |
8744 | break; |
8745 | case 2: |
8746 | p = "size_t" ; |
8747 | break; |
8748 | case 3: |
8749 | p = "int" ; |
8750 | break; |
8751 | default: |
8752 | break; |
8753 | }; |
8754 | break; |
8755 | /* msgrcv_nocancel */ |
8756 | case 419: |
8757 | switch(ndx) { |
8758 | case 0: |
8759 | p = "int" ; |
8760 | break; |
8761 | case 1: |
8762 | p = "userland void *" ; |
8763 | break; |
8764 | case 2: |
8765 | p = "size_t" ; |
8766 | break; |
8767 | case 3: |
8768 | p = "long" ; |
8769 | break; |
8770 | case 4: |
8771 | p = "int" ; |
8772 | break; |
8773 | default: |
8774 | break; |
8775 | }; |
8776 | break; |
8777 | #else |
8778 | #endif |
8779 | /* sem_wait_nocancel */ |
8780 | case 420: |
8781 | switch(ndx) { |
8782 | case 0: |
8783 | p = "userland sem_t *" ; |
8784 | break; |
8785 | default: |
8786 | break; |
8787 | }; |
8788 | break; |
8789 | /* aio_suspend_nocancel */ |
8790 | case 421: |
8791 | switch(ndx) { |
8792 | case 0: |
8793 | p = "user_addr_t" ; |
8794 | break; |
8795 | case 1: |
8796 | p = "int" ; |
8797 | break; |
8798 | case 2: |
8799 | p = "user_addr_t" ; |
8800 | break; |
8801 | default: |
8802 | break; |
8803 | }; |
8804 | break; |
8805 | /* __sigwait_nocancel */ |
8806 | case 422: |
8807 | switch(ndx) { |
8808 | case 0: |
8809 | p = "user_addr_t" ; |
8810 | break; |
8811 | case 1: |
8812 | p = "user_addr_t" ; |
8813 | break; |
8814 | default: |
8815 | break; |
8816 | }; |
8817 | break; |
8818 | /* __semwait_signal_nocancel */ |
8819 | case 423: |
8820 | switch(ndx) { |
8821 | case 0: |
8822 | p = "int" ; |
8823 | break; |
8824 | case 1: |
8825 | p = "int" ; |
8826 | break; |
8827 | case 2: |
8828 | p = "int" ; |
8829 | break; |
8830 | case 3: |
8831 | p = "int" ; |
8832 | break; |
8833 | case 4: |
8834 | p = "int64_t" ; |
8835 | break; |
8836 | case 5: |
8837 | p = "int32_t" ; |
8838 | break; |
8839 | default: |
8840 | break; |
8841 | }; |
8842 | break; |
8843 | /* __mac_mount */ |
8844 | case 424: |
8845 | switch(ndx) { |
8846 | case 0: |
8847 | p = "userland char *" ; |
8848 | break; |
8849 | case 1: |
8850 | p = "userland char *" ; |
8851 | break; |
8852 | case 2: |
8853 | p = "int" ; |
8854 | break; |
8855 | case 3: |
8856 | p = "caddr_t" ; |
8857 | break; |
8858 | case 4: |
8859 | p = "userland struct mac *" ; |
8860 | break; |
8861 | default: |
8862 | break; |
8863 | }; |
8864 | break; |
8865 | #if CONFIG_MACF |
8866 | /* __mac_get_mount */ |
8867 | case 425: |
8868 | switch(ndx) { |
8869 | case 0: |
8870 | p = "userland char *" ; |
8871 | break; |
8872 | case 1: |
8873 | p = "userland struct mac *" ; |
8874 | break; |
8875 | default: |
8876 | break; |
8877 | }; |
8878 | break; |
8879 | #else |
8880 | #endif |
8881 | /* __mac_getfsstat */ |
8882 | case 426: |
8883 | switch(ndx) { |
8884 | case 0: |
8885 | p = "user_addr_t" ; |
8886 | break; |
8887 | case 1: |
8888 | p = "int" ; |
8889 | break; |
8890 | case 2: |
8891 | p = "user_addr_t" ; |
8892 | break; |
8893 | case 3: |
8894 | p = "int" ; |
8895 | break; |
8896 | case 4: |
8897 | p = "int" ; |
8898 | break; |
8899 | default: |
8900 | break; |
8901 | }; |
8902 | break; |
8903 | /* fsgetpath */ |
8904 | case 427: |
8905 | switch(ndx) { |
8906 | case 0: |
8907 | p = "user_addr_t" ; |
8908 | break; |
8909 | case 1: |
8910 | p = "size_t" ; |
8911 | break; |
8912 | case 2: |
8913 | p = "user_addr_t" ; |
8914 | break; |
8915 | case 3: |
8916 | p = "uint64_t" ; |
8917 | break; |
8918 | default: |
8919 | break; |
8920 | }; |
8921 | break; |
8922 | /* audit_session_self */ |
8923 | case 428: |
8924 | break; |
8925 | /* audit_session_join */ |
8926 | case 429: |
8927 | switch(ndx) { |
8928 | case 0: |
8929 | p = "mach_port_name_t" ; |
8930 | break; |
8931 | default: |
8932 | break; |
8933 | }; |
8934 | break; |
8935 | /* sys_fileport_makeport */ |
8936 | case 430: |
8937 | switch(ndx) { |
8938 | case 0: |
8939 | p = "int" ; |
8940 | break; |
8941 | case 1: |
8942 | p = "user_addr_t" ; |
8943 | break; |
8944 | default: |
8945 | break; |
8946 | }; |
8947 | break; |
8948 | /* sys_fileport_makefd */ |
8949 | case 431: |
8950 | switch(ndx) { |
8951 | case 0: |
8952 | p = "mach_port_name_t" ; |
8953 | break; |
8954 | default: |
8955 | break; |
8956 | }; |
8957 | break; |
8958 | /* audit_session_port */ |
8959 | case 432: |
8960 | switch(ndx) { |
8961 | case 0: |
8962 | p = "au_asid_t" ; |
8963 | break; |
8964 | case 1: |
8965 | p = "user_addr_t" ; |
8966 | break; |
8967 | default: |
8968 | break; |
8969 | }; |
8970 | break; |
8971 | /* pid_suspend */ |
8972 | case 433: |
8973 | switch(ndx) { |
8974 | case 0: |
8975 | p = "int" ; |
8976 | break; |
8977 | default: |
8978 | break; |
8979 | }; |
8980 | break; |
8981 | /* pid_resume */ |
8982 | case 434: |
8983 | switch(ndx) { |
8984 | case 0: |
8985 | p = "int" ; |
8986 | break; |
8987 | default: |
8988 | break; |
8989 | }; |
8990 | break; |
8991 | #if CONFIG_EMBEDDED |
8992 | /* pid_hibernate */ |
8993 | case 435: |
8994 | switch(ndx) { |
8995 | case 0: |
8996 | p = "int" ; |
8997 | break; |
8998 | default: |
8999 | break; |
9000 | }; |
9001 | break; |
9002 | #else |
9003 | #endif |
9004 | #if SOCKETS |
9005 | /* pid_shutdown_sockets */ |
9006 | case 436: |
9007 | switch(ndx) { |
9008 | case 0: |
9009 | p = "int" ; |
9010 | break; |
9011 | case 1: |
9012 | p = "int" ; |
9013 | break; |
9014 | default: |
9015 | break; |
9016 | }; |
9017 | break; |
9018 | #else |
9019 | #endif |
9020 | /* kas_info */ |
9021 | case 439: |
9022 | switch(ndx) { |
9023 | case 0: |
9024 | p = "int" ; |
9025 | break; |
9026 | case 1: |
9027 | p = "userland void *" ; |
9028 | break; |
9029 | case 2: |
9030 | p = "userland size_t *" ; |
9031 | break; |
9032 | default: |
9033 | break; |
9034 | }; |
9035 | break; |
9036 | #if CONFIG_MEMORYSTATUS |
9037 | /* memorystatus_control */ |
9038 | case 440: |
9039 | switch(ndx) { |
9040 | case 0: |
9041 | p = "uint32_t" ; |
9042 | break; |
9043 | case 1: |
9044 | p = "int32_t" ; |
9045 | break; |
9046 | case 2: |
9047 | p = "uint32_t" ; |
9048 | break; |
9049 | case 3: |
9050 | p = "user_addr_t" ; |
9051 | break; |
9052 | case 4: |
9053 | p = "size_t" ; |
9054 | break; |
9055 | default: |
9056 | break; |
9057 | }; |
9058 | break; |
9059 | #else |
9060 | #endif |
9061 | /* guarded_open_np */ |
9062 | case 441: |
9063 | switch(ndx) { |
9064 | case 0: |
9065 | p = "user_addr_t" ; |
9066 | break; |
9067 | case 1: |
9068 | p = "userland const guardid_t *" ; |
9069 | break; |
9070 | case 2: |
9071 | p = "u_int" ; |
9072 | break; |
9073 | case 3: |
9074 | p = "int" ; |
9075 | break; |
9076 | case 4: |
9077 | p = "int" ; |
9078 | break; |
9079 | default: |
9080 | break; |
9081 | }; |
9082 | break; |
9083 | /* guarded_close_np */ |
9084 | case 442: |
9085 | switch(ndx) { |
9086 | case 0: |
9087 | p = "int" ; |
9088 | break; |
9089 | case 1: |
9090 | p = "userland const guardid_t *" ; |
9091 | break; |
9092 | default: |
9093 | break; |
9094 | }; |
9095 | break; |
9096 | /* guarded_kqueue_np */ |
9097 | case 443: |
9098 | switch(ndx) { |
9099 | case 0: |
9100 | p = "userland const guardid_t *" ; |
9101 | break; |
9102 | case 1: |
9103 | p = "u_int" ; |
9104 | break; |
9105 | default: |
9106 | break; |
9107 | }; |
9108 | break; |
9109 | /* change_fdguard_np */ |
9110 | case 444: |
9111 | switch(ndx) { |
9112 | case 0: |
9113 | p = "int" ; |
9114 | break; |
9115 | case 1: |
9116 | p = "userland const guardid_t *" ; |
9117 | break; |
9118 | case 2: |
9119 | p = "u_int" ; |
9120 | break; |
9121 | case 3: |
9122 | p = "userland const guardid_t *" ; |
9123 | break; |
9124 | case 4: |
9125 | p = "u_int" ; |
9126 | break; |
9127 | case 5: |
9128 | p = "userland int *" ; |
9129 | break; |
9130 | default: |
9131 | break; |
9132 | }; |
9133 | break; |
9134 | /* usrctl */ |
9135 | case 445: |
9136 | switch(ndx) { |
9137 | case 0: |
9138 | p = "uint32_t" ; |
9139 | break; |
9140 | default: |
9141 | break; |
9142 | }; |
9143 | break; |
9144 | /* proc_rlimit_control */ |
9145 | case 446: |
9146 | switch(ndx) { |
9147 | case 0: |
9148 | p = "pid_t" ; |
9149 | break; |
9150 | case 1: |
9151 | p = "int" ; |
9152 | break; |
9153 | case 2: |
9154 | p = "userland void *" ; |
9155 | break; |
9156 | default: |
9157 | break; |
9158 | }; |
9159 | break; |
9160 | #if SOCKETS |
9161 | /* connectx */ |
9162 | case 447: |
9163 | switch(ndx) { |
9164 | case 0: |
9165 | p = "int" ; |
9166 | break; |
9167 | case 1: |
9168 | p = "userland const sa_endpoints_t *" ; |
9169 | break; |
9170 | case 2: |
9171 | p = "sae_associd_t" ; |
9172 | break; |
9173 | case 3: |
9174 | p = "unsigned int" ; |
9175 | break; |
9176 | case 4: |
9177 | p = "userland const struct iovec *" ; |
9178 | break; |
9179 | case 5: |
9180 | p = "unsigned int" ; |
9181 | break; |
9182 | case 6: |
9183 | p = "userland size_t *" ; |
9184 | break; |
9185 | case 7: |
9186 | p = "userland sae_connid_t *" ; |
9187 | break; |
9188 | default: |
9189 | break; |
9190 | }; |
9191 | break; |
9192 | /* disconnectx */ |
9193 | case 448: |
9194 | switch(ndx) { |
9195 | case 0: |
9196 | p = "int" ; |
9197 | break; |
9198 | case 1: |
9199 | p = "sae_associd_t" ; |
9200 | break; |
9201 | case 2: |
9202 | p = "sae_connid_t" ; |
9203 | break; |
9204 | default: |
9205 | break; |
9206 | }; |
9207 | break; |
9208 | /* peeloff */ |
9209 | case 449: |
9210 | switch(ndx) { |
9211 | case 0: |
9212 | p = "int" ; |
9213 | break; |
9214 | case 1: |
9215 | p = "sae_associd_t" ; |
9216 | break; |
9217 | default: |
9218 | break; |
9219 | }; |
9220 | break; |
9221 | /* socket_delegate */ |
9222 | case 450: |
9223 | switch(ndx) { |
9224 | case 0: |
9225 | p = "int" ; |
9226 | break; |
9227 | case 1: |
9228 | p = "int" ; |
9229 | break; |
9230 | case 2: |
9231 | p = "int" ; |
9232 | break; |
9233 | case 3: |
9234 | p = "pid_t" ; |
9235 | break; |
9236 | default: |
9237 | break; |
9238 | }; |
9239 | break; |
9240 | #else |
9241 | #endif /* SOCKETS */ |
9242 | /* telemetry */ |
9243 | case 451: |
9244 | switch(ndx) { |
9245 | case 0: |
9246 | p = "uint64_t" ; |
9247 | break; |
9248 | case 1: |
9249 | p = "uint64_t" ; |
9250 | break; |
9251 | case 2: |
9252 | p = "uint64_t" ; |
9253 | break; |
9254 | case 3: |
9255 | p = "uint64_t" ; |
9256 | break; |
9257 | case 4: |
9258 | p = "uint64_t" ; |
9259 | break; |
9260 | case 5: |
9261 | p = "uint64_t" ; |
9262 | break; |
9263 | default: |
9264 | break; |
9265 | }; |
9266 | break; |
9267 | #if CONFIG_PROC_UUID_POLICY |
9268 | /* proc_uuid_policy */ |
9269 | case 452: |
9270 | switch(ndx) { |
9271 | case 0: |
9272 | p = "uint32_t" ; |
9273 | break; |
9274 | case 1: |
9275 | p = "uuid_t" ; |
9276 | break; |
9277 | case 2: |
9278 | p = "size_t" ; |
9279 | break; |
9280 | case 3: |
9281 | p = "uint32_t" ; |
9282 | break; |
9283 | default: |
9284 | break; |
9285 | }; |
9286 | break; |
9287 | #else |
9288 | #endif |
9289 | #if CONFIG_MEMORYSTATUS |
9290 | /* memorystatus_get_level */ |
9291 | case 453: |
9292 | switch(ndx) { |
9293 | case 0: |
9294 | p = "user_addr_t" ; |
9295 | break; |
9296 | default: |
9297 | break; |
9298 | }; |
9299 | break; |
9300 | #else |
9301 | #endif |
9302 | /* system_override */ |
9303 | case 454: |
9304 | switch(ndx) { |
9305 | case 0: |
9306 | p = "uint64_t" ; |
9307 | break; |
9308 | case 1: |
9309 | p = "uint64_t" ; |
9310 | break; |
9311 | default: |
9312 | break; |
9313 | }; |
9314 | break; |
9315 | /* vfs_purge */ |
9316 | case 455: |
9317 | break; |
9318 | /* sfi_ctl */ |
9319 | case 456: |
9320 | switch(ndx) { |
9321 | case 0: |
9322 | p = "uint32_t" ; |
9323 | break; |
9324 | case 1: |
9325 | p = "uint32_t" ; |
9326 | break; |
9327 | case 2: |
9328 | p = "uint64_t" ; |
9329 | break; |
9330 | case 3: |
9331 | p = "userland uint64_t *" ; |
9332 | break; |
9333 | default: |
9334 | break; |
9335 | }; |
9336 | break; |
9337 | /* sfi_pidctl */ |
9338 | case 457: |
9339 | switch(ndx) { |
9340 | case 0: |
9341 | p = "uint32_t" ; |
9342 | break; |
9343 | case 1: |
9344 | p = "pid_t" ; |
9345 | break; |
9346 | case 2: |
9347 | p = "uint32_t" ; |
9348 | break; |
9349 | case 3: |
9350 | p = "userland uint32_t *" ; |
9351 | break; |
9352 | default: |
9353 | break; |
9354 | }; |
9355 | break; |
9356 | #if CONFIG_COALITIONS |
9357 | /* coalition */ |
9358 | case 458: |
9359 | switch(ndx) { |
9360 | case 0: |
9361 | p = "uint32_t" ; |
9362 | break; |
9363 | case 1: |
9364 | p = "userland uint64_t *" ; |
9365 | break; |
9366 | case 2: |
9367 | p = "uint32_t" ; |
9368 | break; |
9369 | default: |
9370 | break; |
9371 | }; |
9372 | break; |
9373 | /* coalition_info */ |
9374 | case 459: |
9375 | switch(ndx) { |
9376 | case 0: |
9377 | p = "uint32_t" ; |
9378 | break; |
9379 | case 1: |
9380 | p = "userland uint64_t *" ; |
9381 | break; |
9382 | case 2: |
9383 | p = "userland void *" ; |
9384 | break; |
9385 | case 3: |
9386 | p = "userland size_t *" ; |
9387 | break; |
9388 | default: |
9389 | break; |
9390 | }; |
9391 | break; |
9392 | #else |
9393 | #endif /* COALITIONS */ |
9394 | #if NECP |
9395 | /* necp_match_policy */ |
9396 | case 460: |
9397 | switch(ndx) { |
9398 | case 0: |
9399 | p = "userland uint8_t *" ; |
9400 | break; |
9401 | case 1: |
9402 | p = "size_t" ; |
9403 | break; |
9404 | case 2: |
9405 | p = "userland struct necp_aggregate_result *" ; |
9406 | break; |
9407 | default: |
9408 | break; |
9409 | }; |
9410 | break; |
9411 | #else |
9412 | #endif /* NECP */ |
9413 | /* getattrlistbulk */ |
9414 | case 461: |
9415 | switch(ndx) { |
9416 | case 0: |
9417 | p = "int" ; |
9418 | break; |
9419 | case 1: |
9420 | p = "userland struct attrlist *" ; |
9421 | break; |
9422 | case 2: |
9423 | p = "userland void *" ; |
9424 | break; |
9425 | case 3: |
9426 | p = "size_t" ; |
9427 | break; |
9428 | case 4: |
9429 | p = "uint64_t" ; |
9430 | break; |
9431 | default: |
9432 | break; |
9433 | }; |
9434 | break; |
9435 | /* clonefileat */ |
9436 | case 462: |
9437 | switch(ndx) { |
9438 | case 0: |
9439 | p = "int" ; |
9440 | break; |
9441 | case 1: |
9442 | p = "user_addr_t" ; |
9443 | break; |
9444 | case 2: |
9445 | p = "int" ; |
9446 | break; |
9447 | case 3: |
9448 | p = "user_addr_t" ; |
9449 | break; |
9450 | case 4: |
9451 | p = "uint32_t" ; |
9452 | break; |
9453 | default: |
9454 | break; |
9455 | }; |
9456 | break; |
9457 | /* openat */ |
9458 | case 463: |
9459 | switch(ndx) { |
9460 | case 0: |
9461 | p = "int" ; |
9462 | break; |
9463 | case 1: |
9464 | p = "user_addr_t" ; |
9465 | break; |
9466 | case 2: |
9467 | p = "int" ; |
9468 | break; |
9469 | case 3: |
9470 | p = "int" ; |
9471 | break; |
9472 | default: |
9473 | break; |
9474 | }; |
9475 | break; |
9476 | /* openat_nocancel */ |
9477 | case 464: |
9478 | switch(ndx) { |
9479 | case 0: |
9480 | p = "int" ; |
9481 | break; |
9482 | case 1: |
9483 | p = "user_addr_t" ; |
9484 | break; |
9485 | case 2: |
9486 | p = "int" ; |
9487 | break; |
9488 | case 3: |
9489 | p = "int" ; |
9490 | break; |
9491 | default: |
9492 | break; |
9493 | }; |
9494 | break; |
9495 | /* renameat */ |
9496 | case 465: |
9497 | switch(ndx) { |
9498 | case 0: |
9499 | p = "int" ; |
9500 | break; |
9501 | case 1: |
9502 | p = "userland char *" ; |
9503 | break; |
9504 | case 2: |
9505 | p = "int" ; |
9506 | break; |
9507 | case 3: |
9508 | p = "userland char *" ; |
9509 | break; |
9510 | default: |
9511 | break; |
9512 | }; |
9513 | break; |
9514 | /* faccessat */ |
9515 | case 466: |
9516 | switch(ndx) { |
9517 | case 0: |
9518 | p = "int" ; |
9519 | break; |
9520 | case 1: |
9521 | p = "user_addr_t" ; |
9522 | break; |
9523 | case 2: |
9524 | p = "int" ; |
9525 | break; |
9526 | case 3: |
9527 | p = "int" ; |
9528 | break; |
9529 | default: |
9530 | break; |
9531 | }; |
9532 | break; |
9533 | /* fchmodat */ |
9534 | case 467: |
9535 | switch(ndx) { |
9536 | case 0: |
9537 | p = "int" ; |
9538 | break; |
9539 | case 1: |
9540 | p = "user_addr_t" ; |
9541 | break; |
9542 | case 2: |
9543 | p = "int" ; |
9544 | break; |
9545 | case 3: |
9546 | p = "int" ; |
9547 | break; |
9548 | default: |
9549 | break; |
9550 | }; |
9551 | break; |
9552 | /* fchownat */ |
9553 | case 468: |
9554 | switch(ndx) { |
9555 | case 0: |
9556 | p = "int" ; |
9557 | break; |
9558 | case 1: |
9559 | p = "user_addr_t" ; |
9560 | break; |
9561 | case 2: |
9562 | p = "uid_t" ; |
9563 | break; |
9564 | case 3: |
9565 | p = "gid_t" ; |
9566 | break; |
9567 | case 4: |
9568 | p = "int" ; |
9569 | break; |
9570 | default: |
9571 | break; |
9572 | }; |
9573 | break; |
9574 | /* fstatat */ |
9575 | case 469: |
9576 | switch(ndx) { |
9577 | case 0: |
9578 | p = "int" ; |
9579 | break; |
9580 | case 1: |
9581 | p = "user_addr_t" ; |
9582 | break; |
9583 | case 2: |
9584 | p = "user_addr_t" ; |
9585 | break; |
9586 | case 3: |
9587 | p = "int" ; |
9588 | break; |
9589 | default: |
9590 | break; |
9591 | }; |
9592 | break; |
9593 | /* fstatat64 */ |
9594 | case 470: |
9595 | switch(ndx) { |
9596 | case 0: |
9597 | p = "int" ; |
9598 | break; |
9599 | case 1: |
9600 | p = "user_addr_t" ; |
9601 | break; |
9602 | case 2: |
9603 | p = "user_addr_t" ; |
9604 | break; |
9605 | case 3: |
9606 | p = "int" ; |
9607 | break; |
9608 | default: |
9609 | break; |
9610 | }; |
9611 | break; |
9612 | /* linkat */ |
9613 | case 471: |
9614 | switch(ndx) { |
9615 | case 0: |
9616 | p = "int" ; |
9617 | break; |
9618 | case 1: |
9619 | p = "user_addr_t" ; |
9620 | break; |
9621 | case 2: |
9622 | p = "int" ; |
9623 | break; |
9624 | case 3: |
9625 | p = "user_addr_t" ; |
9626 | break; |
9627 | case 4: |
9628 | p = "int" ; |
9629 | break; |
9630 | default: |
9631 | break; |
9632 | }; |
9633 | break; |
9634 | /* unlinkat */ |
9635 | case 472: |
9636 | switch(ndx) { |
9637 | case 0: |
9638 | p = "int" ; |
9639 | break; |
9640 | case 1: |
9641 | p = "user_addr_t" ; |
9642 | break; |
9643 | case 2: |
9644 | p = "int" ; |
9645 | break; |
9646 | default: |
9647 | break; |
9648 | }; |
9649 | break; |
9650 | /* readlinkat */ |
9651 | case 473: |
9652 | switch(ndx) { |
9653 | case 0: |
9654 | p = "int" ; |
9655 | break; |
9656 | case 1: |
9657 | p = "user_addr_t" ; |
9658 | break; |
9659 | case 2: |
9660 | p = "user_addr_t" ; |
9661 | break; |
9662 | case 3: |
9663 | p = "size_t" ; |
9664 | break; |
9665 | default: |
9666 | break; |
9667 | }; |
9668 | break; |
9669 | /* symlinkat */ |
9670 | case 474: |
9671 | switch(ndx) { |
9672 | case 0: |
9673 | p = "userland user_addr_t *" ; |
9674 | break; |
9675 | case 1: |
9676 | p = "int" ; |
9677 | break; |
9678 | case 2: |
9679 | p = "user_addr_t" ; |
9680 | break; |
9681 | default: |
9682 | break; |
9683 | }; |
9684 | break; |
9685 | /* mkdirat */ |
9686 | case 475: |
9687 | switch(ndx) { |
9688 | case 0: |
9689 | p = "int" ; |
9690 | break; |
9691 | case 1: |
9692 | p = "user_addr_t" ; |
9693 | break; |
9694 | case 2: |
9695 | p = "int" ; |
9696 | break; |
9697 | default: |
9698 | break; |
9699 | }; |
9700 | break; |
9701 | /* getattrlistat */ |
9702 | case 476: |
9703 | switch(ndx) { |
9704 | case 0: |
9705 | p = "int" ; |
9706 | break; |
9707 | case 1: |
9708 | p = "userland const char *" ; |
9709 | break; |
9710 | case 2: |
9711 | p = "userland struct attrlist *" ; |
9712 | break; |
9713 | case 3: |
9714 | p = "userland void *" ; |
9715 | break; |
9716 | case 4: |
9717 | p = "size_t" ; |
9718 | break; |
9719 | case 5: |
9720 | p = "u_long" ; |
9721 | break; |
9722 | default: |
9723 | break; |
9724 | }; |
9725 | break; |
9726 | /* proc_trace_log */ |
9727 | case 477: |
9728 | switch(ndx) { |
9729 | case 0: |
9730 | p = "pid_t" ; |
9731 | break; |
9732 | case 1: |
9733 | p = "uint64_t" ; |
9734 | break; |
9735 | default: |
9736 | break; |
9737 | }; |
9738 | break; |
9739 | /* bsdthread_ctl */ |
9740 | case 478: |
9741 | switch(ndx) { |
9742 | case 0: |
9743 | p = "user_addr_t" ; |
9744 | break; |
9745 | case 1: |
9746 | p = "user_addr_t" ; |
9747 | break; |
9748 | case 2: |
9749 | p = "user_addr_t" ; |
9750 | break; |
9751 | case 3: |
9752 | p = "user_addr_t" ; |
9753 | break; |
9754 | default: |
9755 | break; |
9756 | }; |
9757 | break; |
9758 | /* openbyid_np */ |
9759 | case 479: |
9760 | switch(ndx) { |
9761 | case 0: |
9762 | p = "user_addr_t" ; |
9763 | break; |
9764 | case 1: |
9765 | p = "user_addr_t" ; |
9766 | break; |
9767 | case 2: |
9768 | p = "int" ; |
9769 | break; |
9770 | default: |
9771 | break; |
9772 | }; |
9773 | break; |
9774 | #if SOCKETS |
9775 | /* recvmsg_x */ |
9776 | case 480: |
9777 | switch(ndx) { |
9778 | case 0: |
9779 | p = "int" ; |
9780 | break; |
9781 | case 1: |
9782 | p = "userland struct msghdr_x *" ; |
9783 | break; |
9784 | case 2: |
9785 | p = "u_int" ; |
9786 | break; |
9787 | case 3: |
9788 | p = "int" ; |
9789 | break; |
9790 | default: |
9791 | break; |
9792 | }; |
9793 | break; |
9794 | /* sendmsg_x */ |
9795 | case 481: |
9796 | switch(ndx) { |
9797 | case 0: |
9798 | p = "int" ; |
9799 | break; |
9800 | case 1: |
9801 | p = "userland struct msghdr_x *" ; |
9802 | break; |
9803 | case 2: |
9804 | p = "u_int" ; |
9805 | break; |
9806 | case 3: |
9807 | p = "int" ; |
9808 | break; |
9809 | default: |
9810 | break; |
9811 | }; |
9812 | break; |
9813 | #else |
9814 | #endif /* SOCKETS */ |
9815 | /* thread_selfusage */ |
9816 | case 482: |
9817 | break; |
9818 | #if CONFIG_CSR |
9819 | /* csrctl */ |
9820 | case 483: |
9821 | switch(ndx) { |
9822 | case 0: |
9823 | p = "uint32_t" ; |
9824 | break; |
9825 | case 1: |
9826 | p = "user_addr_t" ; |
9827 | break; |
9828 | case 2: |
9829 | p = "user_addr_t" ; |
9830 | break; |
9831 | default: |
9832 | break; |
9833 | }; |
9834 | break; |
9835 | #else |
9836 | #endif /* CSR */ |
9837 | /* guarded_open_dprotected_np */ |
9838 | case 484: |
9839 | switch(ndx) { |
9840 | case 0: |
9841 | p = "user_addr_t" ; |
9842 | break; |
9843 | case 1: |
9844 | p = "userland const guardid_t *" ; |
9845 | break; |
9846 | case 2: |
9847 | p = "u_int" ; |
9848 | break; |
9849 | case 3: |
9850 | p = "int" ; |
9851 | break; |
9852 | case 4: |
9853 | p = "int" ; |
9854 | break; |
9855 | case 5: |
9856 | p = "int" ; |
9857 | break; |
9858 | case 6: |
9859 | p = "int" ; |
9860 | break; |
9861 | default: |
9862 | break; |
9863 | }; |
9864 | break; |
9865 | /* guarded_write_np */ |
9866 | case 485: |
9867 | switch(ndx) { |
9868 | case 0: |
9869 | p = "int" ; |
9870 | break; |
9871 | case 1: |
9872 | p = "userland const guardid_t *" ; |
9873 | break; |
9874 | case 2: |
9875 | p = "user_addr_t" ; |
9876 | break; |
9877 | case 3: |
9878 | p = "user_size_t" ; |
9879 | break; |
9880 | default: |
9881 | break; |
9882 | }; |
9883 | break; |
9884 | /* guarded_pwrite_np */ |
9885 | case 486: |
9886 | switch(ndx) { |
9887 | case 0: |
9888 | p = "int" ; |
9889 | break; |
9890 | case 1: |
9891 | p = "userland const guardid_t *" ; |
9892 | break; |
9893 | case 2: |
9894 | p = "user_addr_t" ; |
9895 | break; |
9896 | case 3: |
9897 | p = "user_size_t" ; |
9898 | break; |
9899 | case 4: |
9900 | p = "off_t" ; |
9901 | break; |
9902 | default: |
9903 | break; |
9904 | }; |
9905 | break; |
9906 | /* guarded_writev_np */ |
9907 | case 487: |
9908 | switch(ndx) { |
9909 | case 0: |
9910 | p = "int" ; |
9911 | break; |
9912 | case 1: |
9913 | p = "userland const guardid_t *" ; |
9914 | break; |
9915 | case 2: |
9916 | p = "userland struct iovec *" ; |
9917 | break; |
9918 | case 3: |
9919 | p = "int" ; |
9920 | break; |
9921 | default: |
9922 | break; |
9923 | }; |
9924 | break; |
9925 | /* renameatx_np */ |
9926 | case 488: |
9927 | switch(ndx) { |
9928 | case 0: |
9929 | p = "int" ; |
9930 | break; |
9931 | case 1: |
9932 | p = "userland char *" ; |
9933 | break; |
9934 | case 2: |
9935 | p = "int" ; |
9936 | break; |
9937 | case 3: |
9938 | p = "userland char *" ; |
9939 | break; |
9940 | case 4: |
9941 | p = "u_int" ; |
9942 | break; |
9943 | default: |
9944 | break; |
9945 | }; |
9946 | break; |
9947 | #if CONFIG_CODE_DECRYPTION |
9948 | /* mremap_encrypted */ |
9949 | case 489: |
9950 | switch(ndx) { |
9951 | case 0: |
9952 | p = "caddr_t" ; |
9953 | break; |
9954 | case 1: |
9955 | p = "size_t" ; |
9956 | break; |
9957 | case 2: |
9958 | p = "uint32_t" ; |
9959 | break; |
9960 | case 3: |
9961 | p = "uint32_t" ; |
9962 | break; |
9963 | case 4: |
9964 | p = "uint32_t" ; |
9965 | break; |
9966 | default: |
9967 | break; |
9968 | }; |
9969 | break; |
9970 | #else |
9971 | #endif |
9972 | #if NETWORKING |
9973 | /* netagent_trigger */ |
9974 | case 490: |
9975 | switch(ndx) { |
9976 | case 0: |
9977 | p = "uuid_t" ; |
9978 | break; |
9979 | case 1: |
9980 | p = "size_t" ; |
9981 | break; |
9982 | default: |
9983 | break; |
9984 | }; |
9985 | break; |
9986 | #else |
9987 | #endif /* NETWORKING */ |
9988 | /* stack_snapshot_with_config */ |
9989 | case 491: |
9990 | switch(ndx) { |
9991 | case 0: |
9992 | p = "int" ; |
9993 | break; |
9994 | case 1: |
9995 | p = "user_addr_t" ; |
9996 | break; |
9997 | case 2: |
9998 | p = "size_t" ; |
9999 | break; |
10000 | default: |
10001 | break; |
10002 | }; |
10003 | break; |
10004 | #if CONFIG_TELEMETRY |
10005 | /* microstackshot */ |
10006 | case 492: |
10007 | switch(ndx) { |
10008 | case 0: |
10009 | p = "user_addr_t" ; |
10010 | break; |
10011 | case 1: |
10012 | p = "uint32_t" ; |
10013 | break; |
10014 | case 2: |
10015 | p = "uint32_t" ; |
10016 | break; |
10017 | default: |
10018 | break; |
10019 | }; |
10020 | break; |
10021 | #else |
10022 | #endif /* CONFIG_TELEMETRY */ |
10023 | #if PGO |
10024 | /* grab_pgo_data */ |
10025 | case 493: |
10026 | switch(ndx) { |
10027 | case 0: |
10028 | p = "user_addr_t" ; |
10029 | break; |
10030 | case 1: |
10031 | p = "int" ; |
10032 | break; |
10033 | case 2: |
10034 | p = "user_addr_t" ; |
10035 | break; |
10036 | case 3: |
10037 | p = "user_ssize_t" ; |
10038 | break; |
10039 | default: |
10040 | break; |
10041 | }; |
10042 | break; |
10043 | #else |
10044 | #endif |
10045 | #if CONFIG_PERSONAS |
10046 | /* persona */ |
10047 | case 494: |
10048 | switch(ndx) { |
10049 | case 0: |
10050 | p = "uint32_t" ; |
10051 | break; |
10052 | case 1: |
10053 | p = "uint32_t" ; |
10054 | break; |
10055 | case 2: |
10056 | p = "userland struct kpersona_info *" ; |
10057 | break; |
10058 | case 3: |
10059 | p = "userland uid_t *" ; |
10060 | break; |
10061 | case 4: |
10062 | p = "userland size_t *" ; |
10063 | break; |
10064 | case 5: |
10065 | p = "userland char *" ; |
10066 | break; |
10067 | default: |
10068 | break; |
10069 | }; |
10070 | break; |
10071 | #else |
10072 | #endif |
10073 | /* mach_eventlink_signal */ |
10074 | case 496: |
10075 | switch(ndx) { |
10076 | case 0: |
10077 | p = "mach_port_name_t" ; |
10078 | break; |
10079 | case 1: |
10080 | p = "uint64_t" ; |
10081 | break; |
10082 | default: |
10083 | break; |
10084 | }; |
10085 | break; |
10086 | /* mach_eventlink_wait_until */ |
10087 | case 497: |
10088 | switch(ndx) { |
10089 | case 0: |
10090 | p = "mach_port_name_t" ; |
10091 | break; |
10092 | case 1: |
10093 | p = "uint64_t" ; |
10094 | break; |
10095 | case 2: |
10096 | p = "uint64_t" ; |
10097 | break; |
10098 | case 3: |
10099 | p = "uint32_t" ; |
10100 | break; |
10101 | case 4: |
10102 | p = "uint32_t" ; |
10103 | break; |
10104 | default: |
10105 | break; |
10106 | }; |
10107 | break; |
10108 | /* mach_eventlink_signal_wait_until */ |
10109 | case 498: |
10110 | switch(ndx) { |
10111 | case 0: |
10112 | p = "mach_port_name_t" ; |
10113 | break; |
10114 | case 1: |
10115 | p = "uint64_t" ; |
10116 | break; |
10117 | case 2: |
10118 | p = "uint64_t" ; |
10119 | break; |
10120 | case 3: |
10121 | p = "uint64_t" ; |
10122 | break; |
10123 | case 4: |
10124 | p = "uint32_t" ; |
10125 | break; |
10126 | case 5: |
10127 | p = "uint32_t" ; |
10128 | break; |
10129 | default: |
10130 | break; |
10131 | }; |
10132 | break; |
10133 | /* work_interval_ctl */ |
10134 | case 499: |
10135 | switch(ndx) { |
10136 | case 0: |
10137 | p = "uint32_t" ; |
10138 | break; |
10139 | case 1: |
10140 | p = "uint64_t" ; |
10141 | break; |
10142 | case 2: |
10143 | p = "userland void *" ; |
10144 | break; |
10145 | case 3: |
10146 | p = "size_t" ; |
10147 | break; |
10148 | default: |
10149 | break; |
10150 | }; |
10151 | break; |
10152 | /* getentropy */ |
10153 | case 500: |
10154 | switch(ndx) { |
10155 | case 0: |
10156 | p = "userland void *" ; |
10157 | break; |
10158 | case 1: |
10159 | p = "size_t" ; |
10160 | break; |
10161 | default: |
10162 | break; |
10163 | }; |
10164 | break; |
10165 | #if NECP |
10166 | /* necp_open */ |
10167 | case 501: |
10168 | switch(ndx) { |
10169 | case 0: |
10170 | p = "int" ; |
10171 | break; |
10172 | default: |
10173 | break; |
10174 | }; |
10175 | break; |
10176 | /* necp_client_action */ |
10177 | case 502: |
10178 | switch(ndx) { |
10179 | case 0: |
10180 | p = "int" ; |
10181 | break; |
10182 | case 1: |
10183 | p = "uint32_t" ; |
10184 | break; |
10185 | case 2: |
10186 | p = "uuid_t" ; |
10187 | break; |
10188 | case 3: |
10189 | p = "size_t" ; |
10190 | break; |
10191 | case 4: |
10192 | p = "userland uint8_t *" ; |
10193 | break; |
10194 | case 5: |
10195 | p = "size_t" ; |
10196 | break; |
10197 | default: |
10198 | break; |
10199 | }; |
10200 | break; |
10201 | #else |
10202 | #endif /* NECP */ |
10203 | #if SKYWALK |
10204 | /* __nexus_open */ |
10205 | case 503: |
10206 | switch(ndx) { |
10207 | case 0: |
10208 | p = "userland struct nxctl_init *" ; |
10209 | break; |
10210 | case 1: |
10211 | p = "uint32_t" ; |
10212 | break; |
10213 | default: |
10214 | break; |
10215 | }; |
10216 | break; |
10217 | /* __nexus_register */ |
10218 | case 504: |
10219 | switch(ndx) { |
10220 | case 0: |
10221 | p = "int" ; |
10222 | break; |
10223 | case 1: |
10224 | p = "userland struct nxprov_reg *" ; |
10225 | break; |
10226 | case 2: |
10227 | p = "uint32_t" ; |
10228 | break; |
10229 | case 3: |
10230 | p = "userland uuid_t *" ; |
10231 | break; |
10232 | case 4: |
10233 | p = "uint32_t" ; |
10234 | break; |
10235 | default: |
10236 | break; |
10237 | }; |
10238 | break; |
10239 | /* __nexus_deregister */ |
10240 | case 505: |
10241 | switch(ndx) { |
10242 | case 0: |
10243 | p = "int" ; |
10244 | break; |
10245 | case 1: |
10246 | p = "uuid_t" ; |
10247 | break; |
10248 | case 2: |
10249 | p = "uint32_t" ; |
10250 | break; |
10251 | default: |
10252 | break; |
10253 | }; |
10254 | break; |
10255 | /* __nexus_create */ |
10256 | case 506: |
10257 | switch(ndx) { |
10258 | case 0: |
10259 | p = "int" ; |
10260 | break; |
10261 | case 1: |
10262 | p = "uuid_t" ; |
10263 | break; |
10264 | case 2: |
10265 | p = "uint32_t" ; |
10266 | break; |
10267 | case 3: |
10268 | p = "userland uuid_t *" ; |
10269 | break; |
10270 | case 4: |
10271 | p = "uint32_t" ; |
10272 | break; |
10273 | default: |
10274 | break; |
10275 | }; |
10276 | break; |
10277 | /* __nexus_destroy */ |
10278 | case 507: |
10279 | switch(ndx) { |
10280 | case 0: |
10281 | p = "int" ; |
10282 | break; |
10283 | case 1: |
10284 | p = "uuid_t" ; |
10285 | break; |
10286 | case 2: |
10287 | p = "uint32_t" ; |
10288 | break; |
10289 | default: |
10290 | break; |
10291 | }; |
10292 | break; |
10293 | /* __nexus_get_opt */ |
10294 | case 508: |
10295 | switch(ndx) { |
10296 | case 0: |
10297 | p = "int" ; |
10298 | break; |
10299 | case 1: |
10300 | p = "uint32_t" ; |
10301 | break; |
10302 | case 2: |
10303 | p = "userland void *" ; |
10304 | break; |
10305 | case 3: |
10306 | p = "userland uint32_t *" ; |
10307 | break; |
10308 | default: |
10309 | break; |
10310 | }; |
10311 | break; |
10312 | /* __nexus_set_opt */ |
10313 | case 509: |
10314 | switch(ndx) { |
10315 | case 0: |
10316 | p = "int" ; |
10317 | break; |
10318 | case 1: |
10319 | p = "uint32_t" ; |
10320 | break; |
10321 | case 2: |
10322 | p = "userland const void *" ; |
10323 | break; |
10324 | case 3: |
10325 | p = "uint32_t" ; |
10326 | break; |
10327 | default: |
10328 | break; |
10329 | }; |
10330 | break; |
10331 | /* __channel_open */ |
10332 | case 510: |
10333 | switch(ndx) { |
10334 | case 0: |
10335 | p = "userland struct ch_init *" ; |
10336 | break; |
10337 | case 1: |
10338 | p = "uint32_t" ; |
10339 | break; |
10340 | default: |
10341 | break; |
10342 | }; |
10343 | break; |
10344 | /* __channel_get_info */ |
10345 | case 511: |
10346 | switch(ndx) { |
10347 | case 0: |
10348 | p = "int" ; |
10349 | break; |
10350 | case 1: |
10351 | p = "userland struct ch_info *" ; |
10352 | break; |
10353 | case 2: |
10354 | p = "uint32_t" ; |
10355 | break; |
10356 | default: |
10357 | break; |
10358 | }; |
10359 | break; |
10360 | /* __channel_sync */ |
10361 | case 512: |
10362 | switch(ndx) { |
10363 | case 0: |
10364 | p = "int" ; |
10365 | break; |
10366 | case 1: |
10367 | p = "int" ; |
10368 | break; |
10369 | case 2: |
10370 | p = "int" ; |
10371 | break; |
10372 | default: |
10373 | break; |
10374 | }; |
10375 | break; |
10376 | /* __channel_get_opt */ |
10377 | case 513: |
10378 | switch(ndx) { |
10379 | case 0: |
10380 | p = "int" ; |
10381 | break; |
10382 | case 1: |
10383 | p = "uint32_t" ; |
10384 | break; |
10385 | case 2: |
10386 | p = "userland void *" ; |
10387 | break; |
10388 | case 3: |
10389 | p = "userland uint32_t *" ; |
10390 | break; |
10391 | default: |
10392 | break; |
10393 | }; |
10394 | break; |
10395 | /* __channel_set_opt */ |
10396 | case 514: |
10397 | switch(ndx) { |
10398 | case 0: |
10399 | p = "int" ; |
10400 | break; |
10401 | case 1: |
10402 | p = "uint32_t" ; |
10403 | break; |
10404 | case 2: |
10405 | p = "userland const void *" ; |
10406 | break; |
10407 | case 3: |
10408 | p = "uint32_t" ; |
10409 | break; |
10410 | default: |
10411 | break; |
10412 | }; |
10413 | break; |
10414 | #else |
10415 | #endif /* !SKYWALK */ |
10416 | /* sys_ulock_wait */ |
10417 | case 515: |
10418 | switch(ndx) { |
10419 | case 0: |
10420 | p = "uint32_t" ; |
10421 | break; |
10422 | case 1: |
10423 | p = "userland void *" ; |
10424 | break; |
10425 | case 2: |
10426 | p = "uint64_t" ; |
10427 | break; |
10428 | case 3: |
10429 | p = "uint32_t" ; |
10430 | break; |
10431 | default: |
10432 | break; |
10433 | }; |
10434 | break; |
10435 | /* sys_ulock_wake */ |
10436 | case 516: |
10437 | switch(ndx) { |
10438 | case 0: |
10439 | p = "uint32_t" ; |
10440 | break; |
10441 | case 1: |
10442 | p = "userland void *" ; |
10443 | break; |
10444 | case 2: |
10445 | p = "uint64_t" ; |
10446 | break; |
10447 | default: |
10448 | break; |
10449 | }; |
10450 | break; |
10451 | /* fclonefileat */ |
10452 | case 517: |
10453 | switch(ndx) { |
10454 | case 0: |
10455 | p = "int" ; |
10456 | break; |
10457 | case 1: |
10458 | p = "int" ; |
10459 | break; |
10460 | case 2: |
10461 | p = "user_addr_t" ; |
10462 | break; |
10463 | case 3: |
10464 | p = "uint32_t" ; |
10465 | break; |
10466 | default: |
10467 | break; |
10468 | }; |
10469 | break; |
10470 | /* fs_snapshot */ |
10471 | case 518: |
10472 | switch(ndx) { |
10473 | case 0: |
10474 | p = "uint32_t" ; |
10475 | break; |
10476 | case 1: |
10477 | p = "int" ; |
10478 | break; |
10479 | case 2: |
10480 | p = "user_addr_t" ; |
10481 | break; |
10482 | case 3: |
10483 | p = "user_addr_t" ; |
10484 | break; |
10485 | case 4: |
10486 | p = "user_addr_t" ; |
10487 | break; |
10488 | case 5: |
10489 | p = "uint32_t" ; |
10490 | break; |
10491 | default: |
10492 | break; |
10493 | }; |
10494 | break; |
10495 | /* terminate_with_payload */ |
10496 | case 520: |
10497 | switch(ndx) { |
10498 | case 0: |
10499 | p = "int" ; |
10500 | break; |
10501 | case 1: |
10502 | p = "uint32_t" ; |
10503 | break; |
10504 | case 2: |
10505 | p = "uint64_t" ; |
10506 | break; |
10507 | case 3: |
10508 | p = "userland void *" ; |
10509 | break; |
10510 | case 4: |
10511 | p = "uint32_t" ; |
10512 | break; |
10513 | case 5: |
10514 | p = "userland const char *" ; |
10515 | break; |
10516 | case 6: |
10517 | p = "uint64_t" ; |
10518 | break; |
10519 | default: |
10520 | break; |
10521 | }; |
10522 | break; |
10523 | /* abort_with_payload */ |
10524 | case 521: |
10525 | switch(ndx) { |
10526 | case 0: |
10527 | p = "uint32_t" ; |
10528 | break; |
10529 | case 1: |
10530 | p = "uint64_t" ; |
10531 | break; |
10532 | case 2: |
10533 | p = "userland void *" ; |
10534 | break; |
10535 | case 3: |
10536 | p = "uint32_t" ; |
10537 | break; |
10538 | case 4: |
10539 | p = "userland const char *" ; |
10540 | break; |
10541 | case 5: |
10542 | p = "uint64_t" ; |
10543 | break; |
10544 | default: |
10545 | break; |
10546 | }; |
10547 | break; |
10548 | #if NECP |
10549 | /* necp_session_open */ |
10550 | case 522: |
10551 | switch(ndx) { |
10552 | case 0: |
10553 | p = "int" ; |
10554 | break; |
10555 | default: |
10556 | break; |
10557 | }; |
10558 | break; |
10559 | /* necp_session_action */ |
10560 | case 523: |
10561 | switch(ndx) { |
10562 | case 0: |
10563 | p = "int" ; |
10564 | break; |
10565 | case 1: |
10566 | p = "uint32_t" ; |
10567 | break; |
10568 | case 2: |
10569 | p = "userland uint8_t *" ; |
10570 | break; |
10571 | case 3: |
10572 | p = "size_t" ; |
10573 | break; |
10574 | case 4: |
10575 | p = "userland uint8_t *" ; |
10576 | break; |
10577 | case 5: |
10578 | p = "size_t" ; |
10579 | break; |
10580 | default: |
10581 | break; |
10582 | }; |
10583 | break; |
10584 | #else /* NECP */ |
10585 | #endif /* NECP */ |
10586 | /* setattrlistat */ |
10587 | case 524: |
10588 | switch(ndx) { |
10589 | case 0: |
10590 | p = "int" ; |
10591 | break; |
10592 | case 1: |
10593 | p = "userland const char *" ; |
10594 | break; |
10595 | case 2: |
10596 | p = "userland struct attrlist *" ; |
10597 | break; |
10598 | case 3: |
10599 | p = "userland void *" ; |
10600 | break; |
10601 | case 4: |
10602 | p = "size_t" ; |
10603 | break; |
10604 | case 5: |
10605 | p = "uint32_t" ; |
10606 | break; |
10607 | default: |
10608 | break; |
10609 | }; |
10610 | break; |
10611 | /* net_qos_guideline */ |
10612 | case 525: |
10613 | switch(ndx) { |
10614 | case 0: |
10615 | p = "userland struct net_qos_param *" ; |
10616 | break; |
10617 | case 1: |
10618 | p = "uint32_t" ; |
10619 | break; |
10620 | default: |
10621 | break; |
10622 | }; |
10623 | break; |
10624 | /* fmount */ |
10625 | case 526: |
10626 | switch(ndx) { |
10627 | case 0: |
10628 | p = "userland const char *" ; |
10629 | break; |
10630 | case 1: |
10631 | p = "int" ; |
10632 | break; |
10633 | case 2: |
10634 | p = "int" ; |
10635 | break; |
10636 | case 3: |
10637 | p = "userland void *" ; |
10638 | break; |
10639 | default: |
10640 | break; |
10641 | }; |
10642 | break; |
10643 | /* ntp_adjtime */ |
10644 | case 527: |
10645 | switch(ndx) { |
10646 | case 0: |
10647 | p = "userland struct timex *" ; |
10648 | break; |
10649 | default: |
10650 | break; |
10651 | }; |
10652 | break; |
10653 | /* ntp_gettime */ |
10654 | case 528: |
10655 | switch(ndx) { |
10656 | case 0: |
10657 | p = "userland struct ntptimeval *" ; |
10658 | break; |
10659 | default: |
10660 | break; |
10661 | }; |
10662 | break; |
10663 | /* os_fault_with_payload */ |
10664 | case 529: |
10665 | switch(ndx) { |
10666 | case 0: |
10667 | p = "uint32_t" ; |
10668 | break; |
10669 | case 1: |
10670 | p = "uint64_t" ; |
10671 | break; |
10672 | case 2: |
10673 | p = "userland void *" ; |
10674 | break; |
10675 | case 3: |
10676 | p = "uint32_t" ; |
10677 | break; |
10678 | case 4: |
10679 | p = "userland const char *" ; |
10680 | break; |
10681 | case 5: |
10682 | p = "uint64_t" ; |
10683 | break; |
10684 | default: |
10685 | break; |
10686 | }; |
10687 | break; |
10688 | /* kqueue_workloop_ctl */ |
10689 | case 530: |
10690 | switch(ndx) { |
10691 | case 0: |
10692 | p = "user_addr_t" ; |
10693 | break; |
10694 | case 1: |
10695 | p = "uint64_t" ; |
10696 | break; |
10697 | case 2: |
10698 | p = "user_addr_t" ; |
10699 | break; |
10700 | case 3: |
10701 | p = "size_t" ; |
10702 | break; |
10703 | default: |
10704 | break; |
10705 | }; |
10706 | break; |
10707 | /* __mach_bridge_remote_time */ |
10708 | case 531: |
10709 | switch(ndx) { |
10710 | case 0: |
10711 | p = "uint64_t" ; |
10712 | break; |
10713 | default: |
10714 | break; |
10715 | }; |
10716 | break; |
10717 | #if CONFIG_COALITIONS |
10718 | /* coalition_ledger */ |
10719 | case 532: |
10720 | switch(ndx) { |
10721 | case 0: |
10722 | p = "uint32_t" ; |
10723 | break; |
10724 | case 1: |
10725 | p = "userland uint64_t *" ; |
10726 | break; |
10727 | case 2: |
10728 | p = "userland void *" ; |
10729 | break; |
10730 | case 3: |
10731 | p = "userland size_t *" ; |
10732 | break; |
10733 | default: |
10734 | break; |
10735 | }; |
10736 | break; |
10737 | #else |
10738 | #endif // CONFIG_COALITIONS |
10739 | /* log_data */ |
10740 | case 533: |
10741 | switch(ndx) { |
10742 | case 0: |
10743 | p = "unsigned int" ; |
10744 | break; |
10745 | case 1: |
10746 | p = "unsigned int" ; |
10747 | break; |
10748 | case 2: |
10749 | p = "userland void *" ; |
10750 | break; |
10751 | case 3: |
10752 | p = "unsigned int" ; |
10753 | break; |
10754 | default: |
10755 | break; |
10756 | }; |
10757 | break; |
10758 | /* memorystatus_available_memory */ |
10759 | case 534: |
10760 | break; |
10761 | /* shared_region_map_and_slide_2_np */ |
10762 | case 536: |
10763 | switch(ndx) { |
10764 | case 0: |
10765 | p = "uint32_t" ; |
10766 | break; |
10767 | case 1: |
10768 | p = "userland const struct shared_file_np *" ; |
10769 | break; |
10770 | case 2: |
10771 | p = "uint32_t" ; |
10772 | break; |
10773 | case 3: |
10774 | p = "userland const struct shared_file_mapping_slide_np *" ; |
10775 | break; |
10776 | default: |
10777 | break; |
10778 | }; |
10779 | break; |
10780 | /* pivot_root */ |
10781 | case 537: |
10782 | switch(ndx) { |
10783 | case 0: |
10784 | p = "userland const char *" ; |
10785 | break; |
10786 | case 1: |
10787 | p = "userland const char *" ; |
10788 | break; |
10789 | default: |
10790 | break; |
10791 | }; |
10792 | break; |
10793 | /* task_inspect_for_pid */ |
10794 | case 538: |
10795 | switch(ndx) { |
10796 | case 0: |
10797 | p = "mach_port_name_t" ; |
10798 | break; |
10799 | case 1: |
10800 | p = "int" ; |
10801 | break; |
10802 | case 2: |
10803 | p = "userland mach_port_name_t *" ; |
10804 | break; |
10805 | default: |
10806 | break; |
10807 | }; |
10808 | break; |
10809 | /* task_read_for_pid */ |
10810 | case 539: |
10811 | switch(ndx) { |
10812 | case 0: |
10813 | p = "mach_port_name_t" ; |
10814 | break; |
10815 | case 1: |
10816 | p = "int" ; |
10817 | break; |
10818 | case 2: |
10819 | p = "userland mach_port_name_t *" ; |
10820 | break; |
10821 | default: |
10822 | break; |
10823 | }; |
10824 | break; |
10825 | /* sys_preadv */ |
10826 | case 540: |
10827 | switch(ndx) { |
10828 | case 0: |
10829 | p = "int" ; |
10830 | break; |
10831 | case 1: |
10832 | p = "userland struct iovec *" ; |
10833 | break; |
10834 | case 2: |
10835 | p = "int" ; |
10836 | break; |
10837 | case 3: |
10838 | p = "off_t" ; |
10839 | break; |
10840 | default: |
10841 | break; |
10842 | }; |
10843 | break; |
10844 | /* sys_pwritev */ |
10845 | case 541: |
10846 | switch(ndx) { |
10847 | case 0: |
10848 | p = "int" ; |
10849 | break; |
10850 | case 1: |
10851 | p = "userland struct iovec *" ; |
10852 | break; |
10853 | case 2: |
10854 | p = "int" ; |
10855 | break; |
10856 | case 3: |
10857 | p = "off_t" ; |
10858 | break; |
10859 | default: |
10860 | break; |
10861 | }; |
10862 | break; |
10863 | /* sys_preadv_nocancel */ |
10864 | case 542: |
10865 | switch(ndx) { |
10866 | case 0: |
10867 | p = "int" ; |
10868 | break; |
10869 | case 1: |
10870 | p = "userland struct iovec *" ; |
10871 | break; |
10872 | case 2: |
10873 | p = "int" ; |
10874 | break; |
10875 | case 3: |
10876 | p = "off_t" ; |
10877 | break; |
10878 | default: |
10879 | break; |
10880 | }; |
10881 | break; |
10882 | /* sys_pwritev_nocancel */ |
10883 | case 543: |
10884 | switch(ndx) { |
10885 | case 0: |
10886 | p = "int" ; |
10887 | break; |
10888 | case 1: |
10889 | p = "userland struct iovec *" ; |
10890 | break; |
10891 | case 2: |
10892 | p = "int" ; |
10893 | break; |
10894 | case 3: |
10895 | p = "off_t" ; |
10896 | break; |
10897 | default: |
10898 | break; |
10899 | }; |
10900 | break; |
10901 | /* sys_ulock_wait2 */ |
10902 | case 544: |
10903 | switch(ndx) { |
10904 | case 0: |
10905 | p = "uint32_t" ; |
10906 | break; |
10907 | case 1: |
10908 | p = "userland void *" ; |
10909 | break; |
10910 | case 2: |
10911 | p = "uint64_t" ; |
10912 | break; |
10913 | case 3: |
10914 | p = "uint64_t" ; |
10915 | break; |
10916 | case 4: |
10917 | p = "uint64_t" ; |
10918 | break; |
10919 | default: |
10920 | break; |
10921 | }; |
10922 | break; |
10923 | /* proc_info_extended_id */ |
10924 | case 545: |
10925 | switch(ndx) { |
10926 | case 0: |
10927 | p = "int32_t" ; |
10928 | break; |
10929 | case 1: |
10930 | p = "int32_t" ; |
10931 | break; |
10932 | case 2: |
10933 | p = "uint32_t" ; |
10934 | break; |
10935 | case 3: |
10936 | p = "uint32_t" ; |
10937 | break; |
10938 | case 4: |
10939 | p = "uint64_t" ; |
10940 | break; |
10941 | case 5: |
10942 | p = "uint64_t" ; |
10943 | break; |
10944 | case 6: |
10945 | p = "user_addr_t" ; |
10946 | break; |
10947 | case 7: |
10948 | p = "int32_t" ; |
10949 | break; |
10950 | default: |
10951 | break; |
10952 | }; |
10953 | break; |
10954 | #if SOCKETS |
10955 | /* tracker_action */ |
10956 | case 546: |
10957 | switch(ndx) { |
10958 | case 0: |
10959 | p = "int" ; |
10960 | break; |
10961 | case 1: |
10962 | p = "userland char *" ; |
10963 | break; |
10964 | case 2: |
10965 | p = "size_t" ; |
10966 | break; |
10967 | default: |
10968 | break; |
10969 | }; |
10970 | break; |
10971 | #else |
10972 | #endif /* SOCKETS */ |
10973 | /* debug_syscall_reject */ |
10974 | case 547: |
10975 | switch(ndx) { |
10976 | case 0: |
10977 | p = "uint64_t" ; |
10978 | break; |
10979 | default: |
10980 | break; |
10981 | }; |
10982 | break; |
10983 | /* sys_debug_syscall_reject_config */ |
10984 | case 548: |
10985 | switch(ndx) { |
10986 | case 0: |
10987 | p = "uint64_t" ; |
10988 | break; |
10989 | case 1: |
10990 | p = "uint64_t" ; |
10991 | break; |
10992 | case 2: |
10993 | p = "uint64_t" ; |
10994 | break; |
10995 | default: |
10996 | break; |
10997 | }; |
10998 | break; |
10999 | /* graftdmg */ |
11000 | case 549: |
11001 | switch(ndx) { |
11002 | case 0: |
11003 | p = "int" ; |
11004 | break; |
11005 | case 1: |
11006 | p = "userland const char *" ; |
11007 | break; |
11008 | case 2: |
11009 | p = "uint32_t" ; |
11010 | break; |
11011 | case 3: |
11012 | p = "userland graftdmg_args_un *" ; |
11013 | break; |
11014 | default: |
11015 | break; |
11016 | }; |
11017 | break; |
11018 | /* map_with_linking_np */ |
11019 | case 550: |
11020 | switch(ndx) { |
11021 | case 0: |
11022 | p = "userland void *" ; |
11023 | break; |
11024 | case 1: |
11025 | p = "uint32_t" ; |
11026 | break; |
11027 | case 2: |
11028 | p = "userland void *" ; |
11029 | break; |
11030 | case 3: |
11031 | p = "uint32_t" ; |
11032 | break; |
11033 | default: |
11034 | break; |
11035 | }; |
11036 | break; |
11037 | /* freadlink */ |
11038 | case 551: |
11039 | switch(ndx) { |
11040 | case 0: |
11041 | p = "int" ; |
11042 | break; |
11043 | case 1: |
11044 | p = "user_addr_t" ; |
11045 | break; |
11046 | case 2: |
11047 | p = "user_size_t" ; |
11048 | break; |
11049 | default: |
11050 | break; |
11051 | }; |
11052 | break; |
11053 | /* sys_record_system_event */ |
11054 | case 552: |
11055 | switch(ndx) { |
11056 | case 0: |
11057 | p = "uint32_t" ; |
11058 | break; |
11059 | case 1: |
11060 | p = "uint32_t" ; |
11061 | break; |
11062 | case 2: |
11063 | p = "userland const char *" ; |
11064 | break; |
11065 | case 3: |
11066 | p = "userland const char *" ; |
11067 | break; |
11068 | default: |
11069 | break; |
11070 | }; |
11071 | break; |
11072 | /* mkfifoat */ |
11073 | case 553: |
11074 | switch(ndx) { |
11075 | case 0: |
11076 | p = "int" ; |
11077 | break; |
11078 | case 1: |
11079 | p = "user_addr_t" ; |
11080 | break; |
11081 | case 2: |
11082 | p = "int" ; |
11083 | break; |
11084 | default: |
11085 | break; |
11086 | }; |
11087 | break; |
11088 | /* mknodat */ |
11089 | case 554: |
11090 | switch(ndx) { |
11091 | case 0: |
11092 | p = "int" ; |
11093 | break; |
11094 | case 1: |
11095 | p = "user_addr_t" ; |
11096 | break; |
11097 | case 2: |
11098 | p = "int" ; |
11099 | break; |
11100 | case 3: |
11101 | p = "int" ; |
11102 | break; |
11103 | default: |
11104 | break; |
11105 | }; |
11106 | break; |
11107 | /* ungraftdmg */ |
11108 | case 555: |
11109 | switch(ndx) { |
11110 | case 0: |
11111 | p = "userland const char *" ; |
11112 | break; |
11113 | case 1: |
11114 | p = "uint64_t" ; |
11115 | break; |
11116 | default: |
11117 | break; |
11118 | }; |
11119 | break; |
11120 | default: |
11121 | break; |
11122 | }; |
11123 | if (p != NULL) |
11124 | strlcpy(dst: desc, src: p, n: descsz); |
11125 | } |
11126 | void |
11127 | systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) |
11128 | { |
11129 | const char *p = NULL; |
11130 | switch (sysnum) { |
11131 | /* nosys */ |
11132 | case 0: |
11133 | if (ndx == 0 || ndx == 1) |
11134 | p = "int" ; |
11135 | break; |
11136 | /* exit */ |
11137 | case 1: |
11138 | if (ndx == 0 || ndx == 1) |
11139 | p = "void" ; |
11140 | break; |
11141 | /* fork */ |
11142 | case 2: |
11143 | if (ndx == 0 || ndx == 1) |
11144 | p = "int" ; |
11145 | break; |
11146 | /* read */ |
11147 | case 3: |
11148 | if (ndx == 0 || ndx == 1) |
11149 | p = "user_ssize_t" ; |
11150 | break; |
11151 | /* write */ |
11152 | case 4: |
11153 | if (ndx == 0 || ndx == 1) |
11154 | p = "user_ssize_t" ; |
11155 | break; |
11156 | /* open */ |
11157 | case 5: |
11158 | if (ndx == 0 || ndx == 1) |
11159 | p = "int" ; |
11160 | break; |
11161 | /* sys_close */ |
11162 | case 6: |
11163 | if (ndx == 0 || ndx == 1) |
11164 | p = "int" ; |
11165 | break; |
11166 | /* wait4 */ |
11167 | case 7: |
11168 | if (ndx == 0 || ndx == 1) |
11169 | p = "int" ; |
11170 | break; |
11171 | /* link */ |
11172 | case 9: |
11173 | if (ndx == 0 || ndx == 1) |
11174 | p = "int" ; |
11175 | break; |
11176 | /* unlink */ |
11177 | case 10: |
11178 | if (ndx == 0 || ndx == 1) |
11179 | p = "int" ; |
11180 | break; |
11181 | /* sys_chdir */ |
11182 | case 12: |
11183 | if (ndx == 0 || ndx == 1) |
11184 | p = "int" ; |
11185 | break; |
11186 | /* sys_fchdir */ |
11187 | case 13: |
11188 | if (ndx == 0 || ndx == 1) |
11189 | p = "int" ; |
11190 | break; |
11191 | /* mknod */ |
11192 | case 14: |
11193 | if (ndx == 0 || ndx == 1) |
11194 | p = "int" ; |
11195 | break; |
11196 | /* chmod */ |
11197 | case 15: |
11198 | if (ndx == 0 || ndx == 1) |
11199 | p = "int" ; |
11200 | break; |
11201 | /* chown */ |
11202 | case 16: |
11203 | if (ndx == 0 || ndx == 1) |
11204 | p = "int" ; |
11205 | break; |
11206 | /* getfsstat */ |
11207 | case 18: |
11208 | if (ndx == 0 || ndx == 1) |
11209 | p = "int" ; |
11210 | break; |
11211 | /* getpid */ |
11212 | case 20: |
11213 | if (ndx == 0 || ndx == 1) |
11214 | p = "int" ; |
11215 | break; |
11216 | /* setuid */ |
11217 | case 23: |
11218 | if (ndx == 0 || ndx == 1) |
11219 | p = "int" ; |
11220 | break; |
11221 | /* getuid */ |
11222 | case 24: |
11223 | if (ndx == 0 || ndx == 1) |
11224 | p = "int" ; |
11225 | break; |
11226 | /* geteuid */ |
11227 | case 25: |
11228 | if (ndx == 0 || ndx == 1) |
11229 | p = "int" ; |
11230 | break; |
11231 | /* ptrace */ |
11232 | case 26: |
11233 | if (ndx == 0 || ndx == 1) |
11234 | p = "int" ; |
11235 | break; |
11236 | #if SOCKETS |
11237 | /* recvmsg */ |
11238 | case 27: |
11239 | if (ndx == 0 || ndx == 1) |
11240 | p = "int" ; |
11241 | break; |
11242 | /* sendmsg */ |
11243 | case 28: |
11244 | if (ndx == 0 || ndx == 1) |
11245 | p = "int" ; |
11246 | break; |
11247 | /* recvfrom */ |
11248 | case 29: |
11249 | if (ndx == 0 || ndx == 1) |
11250 | p = "int" ; |
11251 | break; |
11252 | /* accept */ |
11253 | case 30: |
11254 | if (ndx == 0 || ndx == 1) |
11255 | p = "int" ; |
11256 | break; |
11257 | /* getpeername */ |
11258 | case 31: |
11259 | if (ndx == 0 || ndx == 1) |
11260 | p = "int" ; |
11261 | break; |
11262 | /* getsockname */ |
11263 | case 32: |
11264 | if (ndx == 0 || ndx == 1) |
11265 | p = "int" ; |
11266 | break; |
11267 | #else |
11268 | #endif /* SOCKETS */ |
11269 | /* access */ |
11270 | case 33: |
11271 | if (ndx == 0 || ndx == 1) |
11272 | p = "int" ; |
11273 | break; |
11274 | /* chflags */ |
11275 | case 34: |
11276 | if (ndx == 0 || ndx == 1) |
11277 | p = "int" ; |
11278 | break; |
11279 | /* fchflags */ |
11280 | case 35: |
11281 | if (ndx == 0 || ndx == 1) |
11282 | p = "int" ; |
11283 | break; |
11284 | /* sync */ |
11285 | case 36: |
11286 | if (ndx == 0 || ndx == 1) |
11287 | p = "int" ; |
11288 | break; |
11289 | /* kill */ |
11290 | case 37: |
11291 | if (ndx == 0 || ndx == 1) |
11292 | p = "int" ; |
11293 | break; |
11294 | /* sys_crossarch_trap */ |
11295 | case 38: |
11296 | if (ndx == 0 || ndx == 1) |
11297 | p = "int" ; |
11298 | break; |
11299 | /* getppid */ |
11300 | case 39: |
11301 | if (ndx == 0 || ndx == 1) |
11302 | p = "int" ; |
11303 | break; |
11304 | /* sys_dup */ |
11305 | case 41: |
11306 | if (ndx == 0 || ndx == 1) |
11307 | p = "int" ; |
11308 | break; |
11309 | /* pipe */ |
11310 | case 42: |
11311 | if (ndx == 0 || ndx == 1) |
11312 | p = "int" ; |
11313 | break; |
11314 | /* getegid */ |
11315 | case 43: |
11316 | if (ndx == 0 || ndx == 1) |
11317 | p = "int" ; |
11318 | break; |
11319 | /* sigaction */ |
11320 | case 46: |
11321 | if (ndx == 0 || ndx == 1) |
11322 | p = "int" ; |
11323 | break; |
11324 | /* getgid */ |
11325 | case 47: |
11326 | if (ndx == 0 || ndx == 1) |
11327 | p = "int" ; |
11328 | break; |
11329 | /* sigprocmask */ |
11330 | case 48: |
11331 | if (ndx == 0 || ndx == 1) |
11332 | p = "int" ; |
11333 | break; |
11334 | /* getlogin */ |
11335 | case 49: |
11336 | if (ndx == 0 || ndx == 1) |
11337 | p = "int" ; |
11338 | break; |
11339 | /* setlogin */ |
11340 | case 50: |
11341 | if (ndx == 0 || ndx == 1) |
11342 | p = "int" ; |
11343 | break; |
11344 | /* acct */ |
11345 | case 51: |
11346 | if (ndx == 0 || ndx == 1) |
11347 | p = "int" ; |
11348 | break; |
11349 | /* sigpending */ |
11350 | case 52: |
11351 | if (ndx == 0 || ndx == 1) |
11352 | p = "int" ; |
11353 | break; |
11354 | /* sigaltstack */ |
11355 | case 53: |
11356 | if (ndx == 0 || ndx == 1) |
11357 | p = "int" ; |
11358 | break; |
11359 | /* ioctl */ |
11360 | case 54: |
11361 | if (ndx == 0 || ndx == 1) |
11362 | p = "int" ; |
11363 | break; |
11364 | /* reboot */ |
11365 | case 55: |
11366 | if (ndx == 0 || ndx == 1) |
11367 | p = "int" ; |
11368 | break; |
11369 | /* revoke */ |
11370 | case 56: |
11371 | if (ndx == 0 || ndx == 1) |
11372 | p = "int" ; |
11373 | break; |
11374 | /* symlink */ |
11375 | case 57: |
11376 | if (ndx == 0 || ndx == 1) |
11377 | p = "int" ; |
11378 | break; |
11379 | /* readlink */ |
11380 | case 58: |
11381 | if (ndx == 0 || ndx == 1) |
11382 | p = "int" ; |
11383 | break; |
11384 | /* execve */ |
11385 | case 59: |
11386 | if (ndx == 0 || ndx == 1) |
11387 | p = "int" ; |
11388 | break; |
11389 | /* umask */ |
11390 | case 60: |
11391 | if (ndx == 0 || ndx == 1) |
11392 | p = "int" ; |
11393 | break; |
11394 | /* chroot */ |
11395 | case 61: |
11396 | if (ndx == 0 || ndx == 1) |
11397 | p = "int" ; |
11398 | break; |
11399 | /* msync */ |
11400 | case 65: |
11401 | if (ndx == 0 || ndx == 1) |
11402 | p = "int" ; |
11403 | break; |
11404 | #if CONFIG_VFORK |
11405 | /* vfork */ |
11406 | case 66: |
11407 | if (ndx == 0 || ndx == 1) |
11408 | p = "int" ; |
11409 | break; |
11410 | #else |
11411 | #endif |
11412 | /* munmap */ |
11413 | case 73: |
11414 | if (ndx == 0 || ndx == 1) |
11415 | p = "int" ; |
11416 | break; |
11417 | /* mprotect */ |
11418 | case 74: |
11419 | if (ndx == 0 || ndx == 1) |
11420 | p = "int" ; |
11421 | break; |
11422 | /* madvise */ |
11423 | case 75: |
11424 | if (ndx == 0 || ndx == 1) |
11425 | p = "int" ; |
11426 | break; |
11427 | /* mincore */ |
11428 | case 78: |
11429 | if (ndx == 0 || ndx == 1) |
11430 | p = "int" ; |
11431 | break; |
11432 | /* getgroups */ |
11433 | case 79: |
11434 | if (ndx == 0 || ndx == 1) |
11435 | p = "int" ; |
11436 | break; |
11437 | /* setgroups */ |
11438 | case 80: |
11439 | if (ndx == 0 || ndx == 1) |
11440 | p = "int" ; |
11441 | break; |
11442 | /* getpgrp */ |
11443 | case 81: |
11444 | if (ndx == 0 || ndx == 1) |
11445 | p = "int" ; |
11446 | break; |
11447 | /* setpgid */ |
11448 | case 82: |
11449 | if (ndx == 0 || ndx == 1) |
11450 | p = "int" ; |
11451 | break; |
11452 | /* setitimer */ |
11453 | case 83: |
11454 | if (ndx == 0 || ndx == 1) |
11455 | p = "int" ; |
11456 | break; |
11457 | /* swapon */ |
11458 | case 85: |
11459 | if (ndx == 0 || ndx == 1) |
11460 | p = "int" ; |
11461 | break; |
11462 | /* getitimer */ |
11463 | case 86: |
11464 | if (ndx == 0 || ndx == 1) |
11465 | p = "int" ; |
11466 | break; |
11467 | /* sys_getdtablesize */ |
11468 | case 89: |
11469 | if (ndx == 0 || ndx == 1) |
11470 | p = "int" ; |
11471 | break; |
11472 | /* sys_dup2 */ |
11473 | case 90: |
11474 | if (ndx == 0 || ndx == 1) |
11475 | p = "int" ; |
11476 | break; |
11477 | /* sys_fcntl */ |
11478 | case 92: |
11479 | if (ndx == 0 || ndx == 1) |
11480 | p = "int" ; |
11481 | break; |
11482 | /* select */ |
11483 | case 93: |
11484 | if (ndx == 0 || ndx == 1) |
11485 | p = "int" ; |
11486 | break; |
11487 | /* fsync */ |
11488 | case 95: |
11489 | if (ndx == 0 || ndx == 1) |
11490 | p = "int" ; |
11491 | break; |
11492 | /* setpriority */ |
11493 | case 96: |
11494 | if (ndx == 0 || ndx == 1) |
11495 | p = "int" ; |
11496 | break; |
11497 | #if SOCKETS |
11498 | /* socket */ |
11499 | case 97: |
11500 | if (ndx == 0 || ndx == 1) |
11501 | p = "int" ; |
11502 | break; |
11503 | /* connect */ |
11504 | case 98: |
11505 | if (ndx == 0 || ndx == 1) |
11506 | p = "int" ; |
11507 | break; |
11508 | #else |
11509 | #endif /* SOCKETS */ |
11510 | /* getpriority */ |
11511 | case 100: |
11512 | if (ndx == 0 || ndx == 1) |
11513 | p = "int" ; |
11514 | break; |
11515 | #if SOCKETS |
11516 | /* bind */ |
11517 | case 104: |
11518 | if (ndx == 0 || ndx == 1) |
11519 | p = "int" ; |
11520 | break; |
11521 | /* setsockopt */ |
11522 | case 105: |
11523 | if (ndx == 0 || ndx == 1) |
11524 | p = "int" ; |
11525 | break; |
11526 | /* listen */ |
11527 | case 106: |
11528 | if (ndx == 0 || ndx == 1) |
11529 | p = "int" ; |
11530 | break; |
11531 | #else |
11532 | #endif /* SOCKETS */ |
11533 | /* sigsuspend */ |
11534 | case 111: |
11535 | if (ndx == 0 || ndx == 1) |
11536 | p = "int" ; |
11537 | break; |
11538 | #if SOCKETS |
11539 | #else |
11540 | #endif /* SOCKETS */ |
11541 | /* gettimeofday */ |
11542 | case 116: |
11543 | if (ndx == 0 || ndx == 1) |
11544 | p = "int" ; |
11545 | break; |
11546 | /* getrusage */ |
11547 | case 117: |
11548 | if (ndx == 0 || ndx == 1) |
11549 | p = "int" ; |
11550 | break; |
11551 | #if SOCKETS |
11552 | /* getsockopt */ |
11553 | case 118: |
11554 | if (ndx == 0 || ndx == 1) |
11555 | p = "int" ; |
11556 | break; |
11557 | #else |
11558 | #endif /* SOCKETS */ |
11559 | /* readv */ |
11560 | case 120: |
11561 | if (ndx == 0 || ndx == 1) |
11562 | p = "user_ssize_t" ; |
11563 | break; |
11564 | /* writev */ |
11565 | case 121: |
11566 | if (ndx == 0 || ndx == 1) |
11567 | p = "user_ssize_t" ; |
11568 | break; |
11569 | /* settimeofday */ |
11570 | case 122: |
11571 | if (ndx == 0 || ndx == 1) |
11572 | p = "int" ; |
11573 | break; |
11574 | /* fchown */ |
11575 | case 123: |
11576 | if (ndx == 0 || ndx == 1) |
11577 | p = "int" ; |
11578 | break; |
11579 | /* fchmod */ |
11580 | case 124: |
11581 | if (ndx == 0 || ndx == 1) |
11582 | p = "int" ; |
11583 | break; |
11584 | /* setreuid */ |
11585 | case 126: |
11586 | if (ndx == 0 || ndx == 1) |
11587 | p = "int" ; |
11588 | break; |
11589 | /* setregid */ |
11590 | case 127: |
11591 | if (ndx == 0 || ndx == 1) |
11592 | p = "int" ; |
11593 | break; |
11594 | /* rename */ |
11595 | case 128: |
11596 | if (ndx == 0 || ndx == 1) |
11597 | p = "int" ; |
11598 | break; |
11599 | /* sys_flock */ |
11600 | case 131: |
11601 | if (ndx == 0 || ndx == 1) |
11602 | p = "int" ; |
11603 | break; |
11604 | /* mkfifo */ |
11605 | case 132: |
11606 | if (ndx == 0 || ndx == 1) |
11607 | p = "int" ; |
11608 | break; |
11609 | #if SOCKETS |
11610 | /* sendto */ |
11611 | case 133: |
11612 | if (ndx == 0 || ndx == 1) |
11613 | p = "int" ; |
11614 | break; |
11615 | /* shutdown */ |
11616 | case 134: |
11617 | if (ndx == 0 || ndx == 1) |
11618 | p = "int" ; |
11619 | break; |
11620 | /* socketpair */ |
11621 | case 135: |
11622 | if (ndx == 0 || ndx == 1) |
11623 | p = "int" ; |
11624 | break; |
11625 | #else |
11626 | #endif /* SOCKETS */ |
11627 | /* mkdir */ |
11628 | case 136: |
11629 | if (ndx == 0 || ndx == 1) |
11630 | p = "int" ; |
11631 | break; |
11632 | /* rmdir */ |
11633 | case 137: |
11634 | if (ndx == 0 || ndx == 1) |
11635 | p = "int" ; |
11636 | break; |
11637 | /* utimes */ |
11638 | case 138: |
11639 | if (ndx == 0 || ndx == 1) |
11640 | p = "int" ; |
11641 | break; |
11642 | /* futimes */ |
11643 | case 139: |
11644 | if (ndx == 0 || ndx == 1) |
11645 | p = "int" ; |
11646 | break; |
11647 | /* adjtime */ |
11648 | case 140: |
11649 | if (ndx == 0 || ndx == 1) |
11650 | p = "int" ; |
11651 | break; |
11652 | /* gethostuuid */ |
11653 | case 142: |
11654 | if (ndx == 0 || ndx == 1) |
11655 | p = "int" ; |
11656 | break; |
11657 | /* setsid */ |
11658 | case 147: |
11659 | if (ndx == 0 || ndx == 1) |
11660 | p = "int" ; |
11661 | break; |
11662 | /* getpgid */ |
11663 | case 151: |
11664 | if (ndx == 0 || ndx == 1) |
11665 | p = "int" ; |
11666 | break; |
11667 | /* setprivexec */ |
11668 | case 152: |
11669 | if (ndx == 0 || ndx == 1) |
11670 | p = "int" ; |
11671 | break; |
11672 | /* pread */ |
11673 | case 153: |
11674 | if (ndx == 0 || ndx == 1) |
11675 | p = "user_ssize_t" ; |
11676 | break; |
11677 | /* pwrite */ |
11678 | case 154: |
11679 | if (ndx == 0 || ndx == 1) |
11680 | p = "user_ssize_t" ; |
11681 | break; |
11682 | #if NFSSERVER /* XXX */ |
11683 | /* nfssvc */ |
11684 | case 155: |
11685 | if (ndx == 0 || ndx == 1) |
11686 | p = "int" ; |
11687 | break; |
11688 | #else |
11689 | #endif |
11690 | /* statfs */ |
11691 | case 157: |
11692 | if (ndx == 0 || ndx == 1) |
11693 | p = "int" ; |
11694 | break; |
11695 | /* fstatfs */ |
11696 | case 158: |
11697 | if (ndx == 0 || ndx == 1) |
11698 | p = "int" ; |
11699 | break; |
11700 | /* unmount */ |
11701 | case 159: |
11702 | if (ndx == 0 || ndx == 1) |
11703 | p = "int" ; |
11704 | break; |
11705 | #if NFSSERVER /* XXX */ |
11706 | /* getfh */ |
11707 | case 161: |
11708 | if (ndx == 0 || ndx == 1) |
11709 | p = "int" ; |
11710 | break; |
11711 | #else |
11712 | #endif |
11713 | /* quotactl */ |
11714 | case 165: |
11715 | if (ndx == 0 || ndx == 1) |
11716 | p = "int" ; |
11717 | break; |
11718 | /* mount */ |
11719 | case 167: |
11720 | if (ndx == 0 || ndx == 1) |
11721 | p = "int" ; |
11722 | break; |
11723 | /* csops */ |
11724 | case 169: |
11725 | if (ndx == 0 || ndx == 1) |
11726 | p = "int" ; |
11727 | break; |
11728 | /* csops_audittoken */ |
11729 | case 170: |
11730 | if (ndx == 0 || ndx == 1) |
11731 | p = "int" ; |
11732 | break; |
11733 | /* waitid */ |
11734 | case 173: |
11735 | if (ndx == 0 || ndx == 1) |
11736 | p = "int" ; |
11737 | break; |
11738 | /* kdebug_typefilter */ |
11739 | case 177: |
11740 | if (ndx == 0 || ndx == 1) |
11741 | p = "int" ; |
11742 | break; |
11743 | /* kdebug_trace_string */ |
11744 | case 178: |
11745 | if (ndx == 0 || ndx == 1) |
11746 | p = "uint64_t" ; |
11747 | break; |
11748 | /* kdebug_trace64 */ |
11749 | case 179: |
11750 | if (ndx == 0 || ndx == 1) |
11751 | p = "int" ; |
11752 | break; |
11753 | /* kdebug_trace */ |
11754 | case 180: |
11755 | if (ndx == 0 || ndx == 1) |
11756 | p = "int" ; |
11757 | break; |
11758 | /* setgid */ |
11759 | case 181: |
11760 | if (ndx == 0 || ndx == 1) |
11761 | p = "int" ; |
11762 | break; |
11763 | /* setegid */ |
11764 | case 182: |
11765 | if (ndx == 0 || ndx == 1) |
11766 | p = "int" ; |
11767 | break; |
11768 | /* seteuid */ |
11769 | case 183: |
11770 | if (ndx == 0 || ndx == 1) |
11771 | p = "int" ; |
11772 | break; |
11773 | /* sigreturn */ |
11774 | case 184: |
11775 | if (ndx == 0 || ndx == 1) |
11776 | p = "int" ; |
11777 | break; |
11778 | /* sys_panic_with_data */ |
11779 | case 185: |
11780 | if (ndx == 0 || ndx == 1) |
11781 | p = "int" ; |
11782 | break; |
11783 | /* thread_selfcounts */ |
11784 | case 186: |
11785 | if (ndx == 0 || ndx == 1) |
11786 | p = "int" ; |
11787 | break; |
11788 | /* fdatasync */ |
11789 | case 187: |
11790 | if (ndx == 0 || ndx == 1) |
11791 | p = "int" ; |
11792 | break; |
11793 | /* stat */ |
11794 | case 188: |
11795 | if (ndx == 0 || ndx == 1) |
11796 | p = "int" ; |
11797 | break; |
11798 | /* sys_fstat */ |
11799 | case 189: |
11800 | if (ndx == 0 || ndx == 1) |
11801 | p = "int" ; |
11802 | break; |
11803 | /* lstat */ |
11804 | case 190: |
11805 | if (ndx == 0 || ndx == 1) |
11806 | p = "int" ; |
11807 | break; |
11808 | /* pathconf */ |
11809 | case 191: |
11810 | if (ndx == 0 || ndx == 1) |
11811 | p = "int" ; |
11812 | break; |
11813 | /* sys_fpathconf */ |
11814 | case 192: |
11815 | if (ndx == 0 || ndx == 1) |
11816 | p = "int" ; |
11817 | break; |
11818 | /* getrlimit */ |
11819 | case 194: |
11820 | if (ndx == 0 || ndx == 1) |
11821 | p = "int" ; |
11822 | break; |
11823 | /* setrlimit */ |
11824 | case 195: |
11825 | if (ndx == 0 || ndx == 1) |
11826 | p = "int" ; |
11827 | break; |
11828 | /* getdirentries */ |
11829 | case 196: |
11830 | if (ndx == 0 || ndx == 1) |
11831 | p = "int" ; |
11832 | break; |
11833 | /* mmap */ |
11834 | case 197: |
11835 | if (ndx == 0 || ndx == 1) |
11836 | p = "user_addr_t" ; |
11837 | break; |
11838 | /* lseek */ |
11839 | case 199: |
11840 | if (ndx == 0 || ndx == 1) |
11841 | p = "off_t" ; |
11842 | break; |
11843 | /* truncate */ |
11844 | case 200: |
11845 | if (ndx == 0 || ndx == 1) |
11846 | p = "int" ; |
11847 | break; |
11848 | /* ftruncate */ |
11849 | case 201: |
11850 | if (ndx == 0 || ndx == 1) |
11851 | p = "int" ; |
11852 | break; |
11853 | /* sysctl */ |
11854 | case 202: |
11855 | if (ndx == 0 || ndx == 1) |
11856 | p = "int" ; |
11857 | break; |
11858 | /* mlock */ |
11859 | case 203: |
11860 | if (ndx == 0 || ndx == 1) |
11861 | p = "int" ; |
11862 | break; |
11863 | /* munlock */ |
11864 | case 204: |
11865 | if (ndx == 0 || ndx == 1) |
11866 | p = "int" ; |
11867 | break; |
11868 | /* undelete */ |
11869 | case 205: |
11870 | if (ndx == 0 || ndx == 1) |
11871 | p = "int" ; |
11872 | break; |
11873 | /* open_dprotected_np */ |
11874 | case 216: |
11875 | if (ndx == 0 || ndx == 1) |
11876 | p = "int" ; |
11877 | break; |
11878 | /* fsgetpath_ext */ |
11879 | case 217: |
11880 | if (ndx == 0 || ndx == 1) |
11881 | p = "user_ssize_t" ; |
11882 | break; |
11883 | /* openat_dprotected_np */ |
11884 | case 218: |
11885 | if (ndx == 0 || ndx == 1) |
11886 | p = "int" ; |
11887 | break; |
11888 | /* getattrlist */ |
11889 | case 220: |
11890 | if (ndx == 0 || ndx == 1) |
11891 | p = "int" ; |
11892 | break; |
11893 | /* setattrlist */ |
11894 | case 221: |
11895 | if (ndx == 0 || ndx == 1) |
11896 | p = "int" ; |
11897 | break; |
11898 | /* getdirentriesattr */ |
11899 | case 222: |
11900 | if (ndx == 0 || ndx == 1) |
11901 | p = "int" ; |
11902 | break; |
11903 | /* exchangedata */ |
11904 | case 223: |
11905 | if (ndx == 0 || ndx == 1) |
11906 | p = "int" ; |
11907 | break; |
11908 | /* searchfs */ |
11909 | case 225: |
11910 | if (ndx == 0 || ndx == 1) |
11911 | p = "int" ; |
11912 | break; |
11913 | /* delete */ |
11914 | case 226: |
11915 | if (ndx == 0 || ndx == 1) |
11916 | p = "int" ; |
11917 | break; |
11918 | /* copyfile */ |
11919 | case 227: |
11920 | if (ndx == 0 || ndx == 1) |
11921 | p = "int" ; |
11922 | break; |
11923 | /* fgetattrlist */ |
11924 | case 228: |
11925 | if (ndx == 0 || ndx == 1) |
11926 | p = "int" ; |
11927 | break; |
11928 | /* fsetattrlist */ |
11929 | case 229: |
11930 | if (ndx == 0 || ndx == 1) |
11931 | p = "int" ; |
11932 | break; |
11933 | /* poll */ |
11934 | case 230: |
11935 | if (ndx == 0 || ndx == 1) |
11936 | p = "int" ; |
11937 | break; |
11938 | /* getxattr */ |
11939 | case 234: |
11940 | if (ndx == 0 || ndx == 1) |
11941 | p = "user_ssize_t" ; |
11942 | break; |
11943 | /* fgetxattr */ |
11944 | case 235: |
11945 | if (ndx == 0 || ndx == 1) |
11946 | p = "user_ssize_t" ; |
11947 | break; |
11948 | /* setxattr */ |
11949 | case 236: |
11950 | if (ndx == 0 || ndx == 1) |
11951 | p = "int" ; |
11952 | break; |
11953 | /* fsetxattr */ |
11954 | case 237: |
11955 | if (ndx == 0 || ndx == 1) |
11956 | p = "int" ; |
11957 | break; |
11958 | /* removexattr */ |
11959 | case 238: |
11960 | if (ndx == 0 || ndx == 1) |
11961 | p = "int" ; |
11962 | break; |
11963 | /* fremovexattr */ |
11964 | case 239: |
11965 | if (ndx == 0 || ndx == 1) |
11966 | p = "int" ; |
11967 | break; |
11968 | /* listxattr */ |
11969 | case 240: |
11970 | if (ndx == 0 || ndx == 1) |
11971 | p = "user_ssize_t" ; |
11972 | break; |
11973 | /* flistxattr */ |
11974 | case 241: |
11975 | if (ndx == 0 || ndx == 1) |
11976 | p = "user_ssize_t" ; |
11977 | break; |
11978 | /* fsctl */ |
11979 | case 242: |
11980 | if (ndx == 0 || ndx == 1) |
11981 | p = "int" ; |
11982 | break; |
11983 | /* initgroups */ |
11984 | case 243: |
11985 | if (ndx == 0 || ndx == 1) |
11986 | p = "int" ; |
11987 | break; |
11988 | /* posix_spawn */ |
11989 | case 244: |
11990 | if (ndx == 0 || ndx == 1) |
11991 | p = "int" ; |
11992 | break; |
11993 | /* ffsctl */ |
11994 | case 245: |
11995 | if (ndx == 0 || ndx == 1) |
11996 | p = "int" ; |
11997 | break; |
11998 | #if NFSSERVER /* XXX */ |
11999 | /* fhopen */ |
12000 | case 248: |
12001 | if (ndx == 0 || ndx == 1) |
12002 | p = "int" ; |
12003 | break; |
12004 | #else |
12005 | #endif |
12006 | /* minherit */ |
12007 | case 250: |
12008 | if (ndx == 0 || ndx == 1) |
12009 | p = "int" ; |
12010 | break; |
12011 | #if SYSV_SEM |
12012 | /* semsys */ |
12013 | case 251: |
12014 | if (ndx == 0 || ndx == 1) |
12015 | p = "int" ; |
12016 | break; |
12017 | #else |
12018 | #endif |
12019 | #if SYSV_MSG |
12020 | /* msgsys */ |
12021 | case 252: |
12022 | if (ndx == 0 || ndx == 1) |
12023 | p = "int" ; |
12024 | break; |
12025 | #else |
12026 | #endif |
12027 | #if SYSV_SHM |
12028 | /* shmsys */ |
12029 | case 253: |
12030 | if (ndx == 0 || ndx == 1) |
12031 | p = "int" ; |
12032 | break; |
12033 | #else |
12034 | #endif |
12035 | #if SYSV_SEM |
12036 | /* semctl */ |
12037 | case 254: |
12038 | if (ndx == 0 || ndx == 1) |
12039 | p = "int" ; |
12040 | break; |
12041 | /* semget */ |
12042 | case 255: |
12043 | if (ndx == 0 || ndx == 1) |
12044 | p = "int" ; |
12045 | break; |
12046 | /* semop */ |
12047 | case 256: |
12048 | if (ndx == 0 || ndx == 1) |
12049 | p = "int" ; |
12050 | break; |
12051 | #else |
12052 | #endif |
12053 | #if SYSV_MSG |
12054 | /* msgctl */ |
12055 | case 258: |
12056 | if (ndx == 0 || ndx == 1) |
12057 | p = "int" ; |
12058 | break; |
12059 | /* msgget */ |
12060 | case 259: |
12061 | if (ndx == 0 || ndx == 1) |
12062 | p = "int" ; |
12063 | break; |
12064 | /* msgsnd */ |
12065 | case 260: |
12066 | if (ndx == 0 || ndx == 1) |
12067 | p = "int" ; |
12068 | break; |
12069 | /* msgrcv */ |
12070 | case 261: |
12071 | if (ndx == 0 || ndx == 1) |
12072 | p = "user_ssize_t" ; |
12073 | break; |
12074 | #else |
12075 | #endif |
12076 | #if SYSV_SHM |
12077 | /* shmat */ |
12078 | case 262: |
12079 | if (ndx == 0 || ndx == 1) |
12080 | p = "user_addr_t" ; |
12081 | break; |
12082 | /* shmctl */ |
12083 | case 263: |
12084 | if (ndx == 0 || ndx == 1) |
12085 | p = "int" ; |
12086 | break; |
12087 | /* shmdt */ |
12088 | case 264: |
12089 | if (ndx == 0 || ndx == 1) |
12090 | p = "int" ; |
12091 | break; |
12092 | /* shmget */ |
12093 | case 265: |
12094 | if (ndx == 0 || ndx == 1) |
12095 | p = "int" ; |
12096 | break; |
12097 | #else |
12098 | #endif |
12099 | /* shm_open */ |
12100 | case 266: |
12101 | if (ndx == 0 || ndx == 1) |
12102 | p = "int" ; |
12103 | break; |
12104 | /* shm_unlink */ |
12105 | case 267: |
12106 | if (ndx == 0 || ndx == 1) |
12107 | p = "int" ; |
12108 | break; |
12109 | /* sem_open */ |
12110 | case 268: |
12111 | if (ndx == 0 || ndx == 1) |
12112 | p = "user_addr_t" ; |
12113 | break; |
12114 | /* sem_close */ |
12115 | case 269: |
12116 | if (ndx == 0 || ndx == 1) |
12117 | p = "int" ; |
12118 | break; |
12119 | /* sem_unlink */ |
12120 | case 270: |
12121 | if (ndx == 0 || ndx == 1) |
12122 | p = "int" ; |
12123 | break; |
12124 | /* sem_wait */ |
12125 | case 271: |
12126 | if (ndx == 0 || ndx == 1) |
12127 | p = "int" ; |
12128 | break; |
12129 | /* sem_trywait */ |
12130 | case 272: |
12131 | if (ndx == 0 || ndx == 1) |
12132 | p = "int" ; |
12133 | break; |
12134 | /* sem_post */ |
12135 | case 273: |
12136 | if (ndx == 0 || ndx == 1) |
12137 | p = "int" ; |
12138 | break; |
12139 | /* sys_sysctlbyname */ |
12140 | case 274: |
12141 | if (ndx == 0 || ndx == 1) |
12142 | p = "int" ; |
12143 | break; |
12144 | /* open_extended */ |
12145 | case 277: |
12146 | if (ndx == 0 || ndx == 1) |
12147 | p = "int" ; |
12148 | break; |
12149 | /* umask_extended */ |
12150 | case 278: |
12151 | if (ndx == 0 || ndx == 1) |
12152 | p = "int" ; |
12153 | break; |
12154 | /* stat_extended */ |
12155 | case 279: |
12156 | if (ndx == 0 || ndx == 1) |
12157 | p = "int" ; |
12158 | break; |
12159 | /* lstat_extended */ |
12160 | case 280: |
12161 | if (ndx == 0 || ndx == 1) |
12162 | p = "int" ; |
12163 | break; |
12164 | /* sys_fstat_extended */ |
12165 | case 281: |
12166 | if (ndx == 0 || ndx == 1) |
12167 | p = "int" ; |
12168 | break; |
12169 | /* chmod_extended */ |
12170 | case 282: |
12171 | if (ndx == 0 || ndx == 1) |
12172 | p = "int" ; |
12173 | break; |
12174 | /* fchmod_extended */ |
12175 | case 283: |
12176 | if (ndx == 0 || ndx == 1) |
12177 | p = "int" ; |
12178 | break; |
12179 | /* access_extended */ |
12180 | case 284: |
12181 | if (ndx == 0 || ndx == 1) |
12182 | p = "int" ; |
12183 | break; |
12184 | /* sys_settid */ |
12185 | case 285: |
12186 | if (ndx == 0 || ndx == 1) |
12187 | p = "int" ; |
12188 | break; |
12189 | /* gettid */ |
12190 | case 286: |
12191 | if (ndx == 0 || ndx == 1) |
12192 | p = "int" ; |
12193 | break; |
12194 | /* setsgroups */ |
12195 | case 287: |
12196 | if (ndx == 0 || ndx == 1) |
12197 | p = "int" ; |
12198 | break; |
12199 | /* getsgroups */ |
12200 | case 288: |
12201 | if (ndx == 0 || ndx == 1) |
12202 | p = "int" ; |
12203 | break; |
12204 | /* setwgroups */ |
12205 | case 289: |
12206 | if (ndx == 0 || ndx == 1) |
12207 | p = "int" ; |
12208 | break; |
12209 | /* getwgroups */ |
12210 | case 290: |
12211 | if (ndx == 0 || ndx == 1) |
12212 | p = "int" ; |
12213 | break; |
12214 | /* mkfifo_extended */ |
12215 | case 291: |
12216 | if (ndx == 0 || ndx == 1) |
12217 | p = "int" ; |
12218 | break; |
12219 | /* mkdir_extended */ |
12220 | case 292: |
12221 | if (ndx == 0 || ndx == 1) |
12222 | p = "int" ; |
12223 | break; |
12224 | #if CONFIG_EXT_RESOLVER |
12225 | /* identitysvc */ |
12226 | case 293: |
12227 | if (ndx == 0 || ndx == 1) |
12228 | p = "int" ; |
12229 | break; |
12230 | #else |
12231 | #endif |
12232 | /* shared_region_check_np */ |
12233 | case 294: |
12234 | if (ndx == 0 || ndx == 1) |
12235 | p = "int" ; |
12236 | break; |
12237 | /* vm_pressure_monitor */ |
12238 | case 296: |
12239 | if (ndx == 0 || ndx == 1) |
12240 | p = "int" ; |
12241 | break; |
12242 | #if PSYNCH |
12243 | /* psynch_rw_longrdlock */ |
12244 | case 297: |
12245 | if (ndx == 0 || ndx == 1) |
12246 | p = "uint32_t" ; |
12247 | break; |
12248 | /* psynch_rw_yieldwrlock */ |
12249 | case 298: |
12250 | if (ndx == 0 || ndx == 1) |
12251 | p = "uint32_t" ; |
12252 | break; |
12253 | /* psynch_rw_downgrade */ |
12254 | case 299: |
12255 | if (ndx == 0 || ndx == 1) |
12256 | p = "int" ; |
12257 | break; |
12258 | /* psynch_rw_upgrade */ |
12259 | case 300: |
12260 | if (ndx == 0 || ndx == 1) |
12261 | p = "uint32_t" ; |
12262 | break; |
12263 | /* psynch_mutexwait */ |
12264 | case 301: |
12265 | if (ndx == 0 || ndx == 1) |
12266 | p = "uint32_t" ; |
12267 | break; |
12268 | /* psynch_mutexdrop */ |
12269 | case 302: |
12270 | if (ndx == 0 || ndx == 1) |
12271 | p = "uint32_t" ; |
12272 | break; |
12273 | /* psynch_cvbroad */ |
12274 | case 303: |
12275 | if (ndx == 0 || ndx == 1) |
12276 | p = "uint32_t" ; |
12277 | break; |
12278 | /* psynch_cvsignal */ |
12279 | case 304: |
12280 | if (ndx == 0 || ndx == 1) |
12281 | p = "uint32_t" ; |
12282 | break; |
12283 | /* psynch_cvwait */ |
12284 | case 305: |
12285 | if (ndx == 0 || ndx == 1) |
12286 | p = "uint32_t" ; |
12287 | break; |
12288 | /* psynch_rw_rdlock */ |
12289 | case 306: |
12290 | if (ndx == 0 || ndx == 1) |
12291 | p = "uint32_t" ; |
12292 | break; |
12293 | /* psynch_rw_wrlock */ |
12294 | case 307: |
12295 | if (ndx == 0 || ndx == 1) |
12296 | p = "uint32_t" ; |
12297 | break; |
12298 | /* psynch_rw_unlock */ |
12299 | case 308: |
12300 | if (ndx == 0 || ndx == 1) |
12301 | p = "uint32_t" ; |
12302 | break; |
12303 | /* psynch_rw_unlock2 */ |
12304 | case 309: |
12305 | if (ndx == 0 || ndx == 1) |
12306 | p = "uint32_t" ; |
12307 | break; |
12308 | #else |
12309 | #endif |
12310 | /* getsid */ |
12311 | case 310: |
12312 | if (ndx == 0 || ndx == 1) |
12313 | p = "int" ; |
12314 | break; |
12315 | /* sys_settid_with_pid */ |
12316 | case 311: |
12317 | if (ndx == 0 || ndx == 1) |
12318 | p = "int" ; |
12319 | break; |
12320 | #if PSYNCH |
12321 | /* psynch_cvclrprepost */ |
12322 | case 312: |
12323 | if (ndx == 0 || ndx == 1) |
12324 | p = "int" ; |
12325 | break; |
12326 | #else |
12327 | #endif |
12328 | /* aio_fsync */ |
12329 | case 313: |
12330 | if (ndx == 0 || ndx == 1) |
12331 | p = "int" ; |
12332 | break; |
12333 | /* aio_return */ |
12334 | case 314: |
12335 | if (ndx == 0 || ndx == 1) |
12336 | p = "user_ssize_t" ; |
12337 | break; |
12338 | /* aio_suspend */ |
12339 | case 315: |
12340 | if (ndx == 0 || ndx == 1) |
12341 | p = "int" ; |
12342 | break; |
12343 | /* aio_cancel */ |
12344 | case 316: |
12345 | if (ndx == 0 || ndx == 1) |
12346 | p = "int" ; |
12347 | break; |
12348 | /* aio_error */ |
12349 | case 317: |
12350 | if (ndx == 0 || ndx == 1) |
12351 | p = "int" ; |
12352 | break; |
12353 | /* aio_read */ |
12354 | case 318: |
12355 | if (ndx == 0 || ndx == 1) |
12356 | p = "int" ; |
12357 | break; |
12358 | /* aio_write */ |
12359 | case 319: |
12360 | if (ndx == 0 || ndx == 1) |
12361 | p = "int" ; |
12362 | break; |
12363 | /* lio_listio */ |
12364 | case 320: |
12365 | if (ndx == 0 || ndx == 1) |
12366 | p = "int" ; |
12367 | break; |
12368 | /* iopolicysys */ |
12369 | case 322: |
12370 | if (ndx == 0 || ndx == 1) |
12371 | p = "int" ; |
12372 | break; |
12373 | /* process_policy */ |
12374 | case 323: |
12375 | if (ndx == 0 || ndx == 1) |
12376 | p = "int" ; |
12377 | break; |
12378 | /* mlockall */ |
12379 | case 324: |
12380 | if (ndx == 0 || ndx == 1) |
12381 | p = "int" ; |
12382 | break; |
12383 | /* munlockall */ |
12384 | case 325: |
12385 | if (ndx == 0 || ndx == 1) |
12386 | p = "int" ; |
12387 | break; |
12388 | /* issetugid */ |
12389 | case 327: |
12390 | if (ndx == 0 || ndx == 1) |
12391 | p = "int" ; |
12392 | break; |
12393 | /* __pthread_kill */ |
12394 | case 328: |
12395 | if (ndx == 0 || ndx == 1) |
12396 | p = "int" ; |
12397 | break; |
12398 | /* __pthread_sigmask */ |
12399 | case 329: |
12400 | if (ndx == 0 || ndx == 1) |
12401 | p = "int" ; |
12402 | break; |
12403 | /* __sigwait */ |
12404 | case 330: |
12405 | if (ndx == 0 || ndx == 1) |
12406 | p = "int" ; |
12407 | break; |
12408 | /* __disable_threadsignal */ |
12409 | case 331: |
12410 | if (ndx == 0 || ndx == 1) |
12411 | p = "int" ; |
12412 | break; |
12413 | /* __pthread_markcancel */ |
12414 | case 332: |
12415 | if (ndx == 0 || ndx == 1) |
12416 | p = "int" ; |
12417 | break; |
12418 | /* __pthread_canceled */ |
12419 | case 333: |
12420 | if (ndx == 0 || ndx == 1) |
12421 | p = "int" ; |
12422 | break; |
12423 | /* __semwait_signal */ |
12424 | case 334: |
12425 | if (ndx == 0 || ndx == 1) |
12426 | p = "int" ; |
12427 | break; |
12428 | /* proc_info */ |
12429 | case 336: |
12430 | if (ndx == 0 || ndx == 1) |
12431 | p = "int" ; |
12432 | break; |
12433 | #if SENDFILE |
12434 | /* sendfile */ |
12435 | case 337: |
12436 | if (ndx == 0 || ndx == 1) |
12437 | p = "int" ; |
12438 | break; |
12439 | #else /* !SENDFILE */ |
12440 | #endif /* SENDFILE */ |
12441 | /* stat64 */ |
12442 | case 338: |
12443 | if (ndx == 0 || ndx == 1) |
12444 | p = "int" ; |
12445 | break; |
12446 | /* sys_fstat64 */ |
12447 | case 339: |
12448 | if (ndx == 0 || ndx == 1) |
12449 | p = "int" ; |
12450 | break; |
12451 | /* lstat64 */ |
12452 | case 340: |
12453 | if (ndx == 0 || ndx == 1) |
12454 | p = "int" ; |
12455 | break; |
12456 | /* stat64_extended */ |
12457 | case 341: |
12458 | if (ndx == 0 || ndx == 1) |
12459 | p = "int" ; |
12460 | break; |
12461 | /* lstat64_extended */ |
12462 | case 342: |
12463 | if (ndx == 0 || ndx == 1) |
12464 | p = "int" ; |
12465 | break; |
12466 | /* sys_fstat64_extended */ |
12467 | case 343: |
12468 | if (ndx == 0 || ndx == 1) |
12469 | p = "int" ; |
12470 | break; |
12471 | /* getdirentries64 */ |
12472 | case 344: |
12473 | if (ndx == 0 || ndx == 1) |
12474 | p = "user_ssize_t" ; |
12475 | break; |
12476 | /* statfs64 */ |
12477 | case 345: |
12478 | if (ndx == 0 || ndx == 1) |
12479 | p = "int" ; |
12480 | break; |
12481 | /* fstatfs64 */ |
12482 | case 346: |
12483 | if (ndx == 0 || ndx == 1) |
12484 | p = "int" ; |
12485 | break; |
12486 | /* getfsstat64 */ |
12487 | case 347: |
12488 | if (ndx == 0 || ndx == 1) |
12489 | p = "int" ; |
12490 | break; |
12491 | /* __pthread_chdir */ |
12492 | case 348: |
12493 | if (ndx == 0 || ndx == 1) |
12494 | p = "int" ; |
12495 | break; |
12496 | /* __pthread_fchdir */ |
12497 | case 349: |
12498 | if (ndx == 0 || ndx == 1) |
12499 | p = "int" ; |
12500 | break; |
12501 | /* audit */ |
12502 | case 350: |
12503 | if (ndx == 0 || ndx == 1) |
12504 | p = "int" ; |
12505 | break; |
12506 | /* auditon */ |
12507 | case 351: |
12508 | if (ndx == 0 || ndx == 1) |
12509 | p = "int" ; |
12510 | break; |
12511 | /* getauid */ |
12512 | case 353: |
12513 | if (ndx == 0 || ndx == 1) |
12514 | p = "int" ; |
12515 | break; |
12516 | /* setauid */ |
12517 | case 354: |
12518 | if (ndx == 0 || ndx == 1) |
12519 | p = "int" ; |
12520 | break; |
12521 | /* getaudit_addr */ |
12522 | case 357: |
12523 | if (ndx == 0 || ndx == 1) |
12524 | p = "int" ; |
12525 | break; |
12526 | /* setaudit_addr */ |
12527 | case 358: |
12528 | if (ndx == 0 || ndx == 1) |
12529 | p = "int" ; |
12530 | break; |
12531 | /* auditctl */ |
12532 | case 359: |
12533 | if (ndx == 0 || ndx == 1) |
12534 | p = "int" ; |
12535 | break; |
12536 | /* bsdthread_create */ |
12537 | case 360: |
12538 | if (ndx == 0 || ndx == 1) |
12539 | p = "user_addr_t" ; |
12540 | break; |
12541 | /* bsdthread_terminate */ |
12542 | case 361: |
12543 | if (ndx == 0 || ndx == 1) |
12544 | p = "int" ; |
12545 | break; |
12546 | /* kqueue */ |
12547 | case 362: |
12548 | if (ndx == 0 || ndx == 1) |
12549 | p = "int" ; |
12550 | break; |
12551 | /* kevent */ |
12552 | case 363: |
12553 | if (ndx == 0 || ndx == 1) |
12554 | p = "int" ; |
12555 | break; |
12556 | /* lchown */ |
12557 | case 364: |
12558 | if (ndx == 0 || ndx == 1) |
12559 | p = "int" ; |
12560 | break; |
12561 | /* bsdthread_register */ |
12562 | case 366: |
12563 | if (ndx == 0 || ndx == 1) |
12564 | p = "int" ; |
12565 | break; |
12566 | /* workq_open */ |
12567 | case 367: |
12568 | if (ndx == 0 || ndx == 1) |
12569 | p = "int" ; |
12570 | break; |
12571 | /* workq_kernreturn */ |
12572 | case 368: |
12573 | if (ndx == 0 || ndx == 1) |
12574 | p = "int" ; |
12575 | break; |
12576 | /* kevent64 */ |
12577 | case 369: |
12578 | if (ndx == 0 || ndx == 1) |
12579 | p = "int" ; |
12580 | break; |
12581 | /* thread_selfid */ |
12582 | case 372: |
12583 | if (ndx == 0 || ndx == 1) |
12584 | p = "uint64_t" ; |
12585 | break; |
12586 | /* ledger */ |
12587 | case 373: |
12588 | if (ndx == 0 || ndx == 1) |
12589 | p = "int" ; |
12590 | break; |
12591 | /* kevent_qos */ |
12592 | case 374: |
12593 | if (ndx == 0 || ndx == 1) |
12594 | p = "int" ; |
12595 | break; |
12596 | /* kevent_id */ |
12597 | case 375: |
12598 | if (ndx == 0 || ndx == 1) |
12599 | p = "int" ; |
12600 | break; |
12601 | /* __mac_execve */ |
12602 | case 380: |
12603 | if (ndx == 0 || ndx == 1) |
12604 | p = "int" ; |
12605 | break; |
12606 | #if CONFIG_MACF |
12607 | /* __mac_syscall */ |
12608 | case 381: |
12609 | if (ndx == 0 || ndx == 1) |
12610 | p = "int" ; |
12611 | break; |
12612 | /* __mac_get_file */ |
12613 | case 382: |
12614 | if (ndx == 0 || ndx == 1) |
12615 | p = "int" ; |
12616 | break; |
12617 | /* __mac_set_file */ |
12618 | case 383: |
12619 | if (ndx == 0 || ndx == 1) |
12620 | p = "int" ; |
12621 | break; |
12622 | /* __mac_get_link */ |
12623 | case 384: |
12624 | if (ndx == 0 || ndx == 1) |
12625 | p = "int" ; |
12626 | break; |
12627 | /* __mac_set_link */ |
12628 | case 385: |
12629 | if (ndx == 0 || ndx == 1) |
12630 | p = "int" ; |
12631 | break; |
12632 | /* __mac_get_proc */ |
12633 | case 386: |
12634 | if (ndx == 0 || ndx == 1) |
12635 | p = "int" ; |
12636 | break; |
12637 | /* __mac_set_proc */ |
12638 | case 387: |
12639 | if (ndx == 0 || ndx == 1) |
12640 | p = "int" ; |
12641 | break; |
12642 | /* __mac_get_fd */ |
12643 | case 388: |
12644 | if (ndx == 0 || ndx == 1) |
12645 | p = "int" ; |
12646 | break; |
12647 | /* __mac_set_fd */ |
12648 | case 389: |
12649 | if (ndx == 0 || ndx == 1) |
12650 | p = "int" ; |
12651 | break; |
12652 | /* __mac_get_pid */ |
12653 | case 390: |
12654 | if (ndx == 0 || ndx == 1) |
12655 | p = "int" ; |
12656 | break; |
12657 | #else |
12658 | #endif |
12659 | /* pselect */ |
12660 | case 394: |
12661 | if (ndx == 0 || ndx == 1) |
12662 | p = "int" ; |
12663 | break; |
12664 | /* pselect_nocancel */ |
12665 | case 395: |
12666 | if (ndx == 0 || ndx == 1) |
12667 | p = "int" ; |
12668 | break; |
12669 | /* read_nocancel */ |
12670 | case 396: |
12671 | if (ndx == 0 || ndx == 1) |
12672 | p = "user_ssize_t" ; |
12673 | break; |
12674 | /* write_nocancel */ |
12675 | case 397: |
12676 | if (ndx == 0 || ndx == 1) |
12677 | p = "user_ssize_t" ; |
12678 | break; |
12679 | /* open_nocancel */ |
12680 | case 398: |
12681 | if (ndx == 0 || ndx == 1) |
12682 | p = "int" ; |
12683 | break; |
12684 | /* sys_close_nocancel */ |
12685 | case 399: |
12686 | if (ndx == 0 || ndx == 1) |
12687 | p = "int" ; |
12688 | break; |
12689 | /* wait4_nocancel */ |
12690 | case 400: |
12691 | if (ndx == 0 || ndx == 1) |
12692 | p = "int" ; |
12693 | break; |
12694 | #if SOCKETS |
12695 | /* recvmsg_nocancel */ |
12696 | case 401: |
12697 | if (ndx == 0 || ndx == 1) |
12698 | p = "int" ; |
12699 | break; |
12700 | /* sendmsg_nocancel */ |
12701 | case 402: |
12702 | if (ndx == 0 || ndx == 1) |
12703 | p = "int" ; |
12704 | break; |
12705 | /* recvfrom_nocancel */ |
12706 | case 403: |
12707 | if (ndx == 0 || ndx == 1) |
12708 | p = "int" ; |
12709 | break; |
12710 | /* accept_nocancel */ |
12711 | case 404: |
12712 | if (ndx == 0 || ndx == 1) |
12713 | p = "int" ; |
12714 | break; |
12715 | #else |
12716 | #endif /* SOCKETS */ |
12717 | /* msync_nocancel */ |
12718 | case 405: |
12719 | if (ndx == 0 || ndx == 1) |
12720 | p = "int" ; |
12721 | break; |
12722 | /* sys_fcntl_nocancel */ |
12723 | case 406: |
12724 | if (ndx == 0 || ndx == 1) |
12725 | p = "int" ; |
12726 | break; |
12727 | /* select_nocancel */ |
12728 | case 407: |
12729 | if (ndx == 0 || ndx == 1) |
12730 | p = "int" ; |
12731 | break; |
12732 | /* fsync_nocancel */ |
12733 | case 408: |
12734 | if (ndx == 0 || ndx == 1) |
12735 | p = "int" ; |
12736 | break; |
12737 | #if SOCKETS |
12738 | /* connect_nocancel */ |
12739 | case 409: |
12740 | if (ndx == 0 || ndx == 1) |
12741 | p = "int" ; |
12742 | break; |
12743 | #else |
12744 | #endif /* SOCKETS */ |
12745 | /* sigsuspend_nocancel */ |
12746 | case 410: |
12747 | if (ndx == 0 || ndx == 1) |
12748 | p = "int" ; |
12749 | break; |
12750 | /* readv_nocancel */ |
12751 | case 411: |
12752 | if (ndx == 0 || ndx == 1) |
12753 | p = "user_ssize_t" ; |
12754 | break; |
12755 | /* writev_nocancel */ |
12756 | case 412: |
12757 | if (ndx == 0 || ndx == 1) |
12758 | p = "user_ssize_t" ; |
12759 | break; |
12760 | #if SOCKETS |
12761 | /* sendto_nocancel */ |
12762 | case 413: |
12763 | if (ndx == 0 || ndx == 1) |
12764 | p = "int" ; |
12765 | break; |
12766 | #else |
12767 | #endif /* SOCKETS */ |
12768 | /* pread_nocancel */ |
12769 | case 414: |
12770 | if (ndx == 0 || ndx == 1) |
12771 | p = "user_ssize_t" ; |
12772 | break; |
12773 | /* pwrite_nocancel */ |
12774 | case 415: |
12775 | if (ndx == 0 || ndx == 1) |
12776 | p = "user_ssize_t" ; |
12777 | break; |
12778 | /* waitid_nocancel */ |
12779 | case 416: |
12780 | if (ndx == 0 || ndx == 1) |
12781 | p = "int" ; |
12782 | break; |
12783 | /* poll_nocancel */ |
12784 | case 417: |
12785 | if (ndx == 0 || ndx == 1) |
12786 | p = "int" ; |
12787 | break; |
12788 | #if SYSV_MSG |
12789 | /* msgsnd_nocancel */ |
12790 | case 418: |
12791 | if (ndx == 0 || ndx == 1) |
12792 | p = "int" ; |
12793 | break; |
12794 | /* msgrcv_nocancel */ |
12795 | case 419: |
12796 | if (ndx == 0 || ndx == 1) |
12797 | p = "user_ssize_t" ; |
12798 | break; |
12799 | #else |
12800 | #endif |
12801 | /* sem_wait_nocancel */ |
12802 | case 420: |
12803 | if (ndx == 0 || ndx == 1) |
12804 | p = "int" ; |
12805 | break; |
12806 | /* aio_suspend_nocancel */ |
12807 | case 421: |
12808 | if (ndx == 0 || ndx == 1) |
12809 | p = "int" ; |
12810 | break; |
12811 | /* __sigwait_nocancel */ |
12812 | case 422: |
12813 | if (ndx == 0 || ndx == 1) |
12814 | p = "int" ; |
12815 | break; |
12816 | /* __semwait_signal_nocancel */ |
12817 | case 423: |
12818 | if (ndx == 0 || ndx == 1) |
12819 | p = "int" ; |
12820 | break; |
12821 | /* __mac_mount */ |
12822 | case 424: |
12823 | if (ndx == 0 || ndx == 1) |
12824 | p = "int" ; |
12825 | break; |
12826 | #if CONFIG_MACF |
12827 | /* __mac_get_mount */ |
12828 | case 425: |
12829 | if (ndx == 0 || ndx == 1) |
12830 | p = "int" ; |
12831 | break; |
12832 | #else |
12833 | #endif |
12834 | /* __mac_getfsstat */ |
12835 | case 426: |
12836 | if (ndx == 0 || ndx == 1) |
12837 | p = "int" ; |
12838 | break; |
12839 | /* fsgetpath */ |
12840 | case 427: |
12841 | if (ndx == 0 || ndx == 1) |
12842 | p = "user_ssize_t" ; |
12843 | break; |
12844 | /* audit_session_self */ |
12845 | case 428: |
12846 | if (ndx == 0 || ndx == 1) |
12847 | p = "mach_port_name_t" ; |
12848 | break; |
12849 | /* audit_session_join */ |
12850 | case 429: |
12851 | if (ndx == 0 || ndx == 1) |
12852 | p = "int" ; |
12853 | break; |
12854 | /* sys_fileport_makeport */ |
12855 | case 430: |
12856 | if (ndx == 0 || ndx == 1) |
12857 | p = "int" ; |
12858 | break; |
12859 | /* sys_fileport_makefd */ |
12860 | case 431: |
12861 | if (ndx == 0 || ndx == 1) |
12862 | p = "int" ; |
12863 | break; |
12864 | /* audit_session_port */ |
12865 | case 432: |
12866 | if (ndx == 0 || ndx == 1) |
12867 | p = "int" ; |
12868 | break; |
12869 | /* pid_suspend */ |
12870 | case 433: |
12871 | if (ndx == 0 || ndx == 1) |
12872 | p = "int" ; |
12873 | break; |
12874 | /* pid_resume */ |
12875 | case 434: |
12876 | if (ndx == 0 || ndx == 1) |
12877 | p = "int" ; |
12878 | break; |
12879 | #if CONFIG_EMBEDDED |
12880 | /* pid_hibernate */ |
12881 | case 435: |
12882 | if (ndx == 0 || ndx == 1) |
12883 | p = "int" ; |
12884 | break; |
12885 | #else |
12886 | #endif |
12887 | #if SOCKETS |
12888 | /* pid_shutdown_sockets */ |
12889 | case 436: |
12890 | if (ndx == 0 || ndx == 1) |
12891 | p = "int" ; |
12892 | break; |
12893 | #else |
12894 | #endif |
12895 | /* kas_info */ |
12896 | case 439: |
12897 | if (ndx == 0 || ndx == 1) |
12898 | p = "int" ; |
12899 | break; |
12900 | #if CONFIG_MEMORYSTATUS |
12901 | /* memorystatus_control */ |
12902 | case 440: |
12903 | if (ndx == 0 || ndx == 1) |
12904 | p = "int" ; |
12905 | break; |
12906 | #else |
12907 | #endif |
12908 | /* guarded_open_np */ |
12909 | case 441: |
12910 | if (ndx == 0 || ndx == 1) |
12911 | p = "int" ; |
12912 | break; |
12913 | /* guarded_close_np */ |
12914 | case 442: |
12915 | if (ndx == 0 || ndx == 1) |
12916 | p = "int" ; |
12917 | break; |
12918 | /* guarded_kqueue_np */ |
12919 | case 443: |
12920 | if (ndx == 0 || ndx == 1) |
12921 | p = "int" ; |
12922 | break; |
12923 | /* change_fdguard_np */ |
12924 | case 444: |
12925 | if (ndx == 0 || ndx == 1) |
12926 | p = "int" ; |
12927 | break; |
12928 | /* usrctl */ |
12929 | case 445: |
12930 | if (ndx == 0 || ndx == 1) |
12931 | p = "int" ; |
12932 | break; |
12933 | /* proc_rlimit_control */ |
12934 | case 446: |
12935 | if (ndx == 0 || ndx == 1) |
12936 | p = "int" ; |
12937 | break; |
12938 | #if SOCKETS |
12939 | /* connectx */ |
12940 | case 447: |
12941 | if (ndx == 0 || ndx == 1) |
12942 | p = "int" ; |
12943 | break; |
12944 | /* disconnectx */ |
12945 | case 448: |
12946 | if (ndx == 0 || ndx == 1) |
12947 | p = "int" ; |
12948 | break; |
12949 | /* peeloff */ |
12950 | case 449: |
12951 | if (ndx == 0 || ndx == 1) |
12952 | p = "int" ; |
12953 | break; |
12954 | /* socket_delegate */ |
12955 | case 450: |
12956 | if (ndx == 0 || ndx == 1) |
12957 | p = "int" ; |
12958 | break; |
12959 | #else |
12960 | #endif /* SOCKETS */ |
12961 | /* telemetry */ |
12962 | case 451: |
12963 | if (ndx == 0 || ndx == 1) |
12964 | p = "int" ; |
12965 | break; |
12966 | #if CONFIG_PROC_UUID_POLICY |
12967 | /* proc_uuid_policy */ |
12968 | case 452: |
12969 | if (ndx == 0 || ndx == 1) |
12970 | p = "int" ; |
12971 | break; |
12972 | #else |
12973 | #endif |
12974 | #if CONFIG_MEMORYSTATUS |
12975 | /* memorystatus_get_level */ |
12976 | case 453: |
12977 | if (ndx == 0 || ndx == 1) |
12978 | p = "int" ; |
12979 | break; |
12980 | #else |
12981 | #endif |
12982 | /* system_override */ |
12983 | case 454: |
12984 | if (ndx == 0 || ndx == 1) |
12985 | p = "int" ; |
12986 | break; |
12987 | /* vfs_purge */ |
12988 | case 455: |
12989 | if (ndx == 0 || ndx == 1) |
12990 | p = "int" ; |
12991 | break; |
12992 | /* sfi_ctl */ |
12993 | case 456: |
12994 | if (ndx == 0 || ndx == 1) |
12995 | p = "int" ; |
12996 | break; |
12997 | /* sfi_pidctl */ |
12998 | case 457: |
12999 | if (ndx == 0 || ndx == 1) |
13000 | p = "int" ; |
13001 | break; |
13002 | #if CONFIG_COALITIONS |
13003 | /* coalition */ |
13004 | case 458: |
13005 | if (ndx == 0 || ndx == 1) |
13006 | p = "int" ; |
13007 | break; |
13008 | /* coalition_info */ |
13009 | case 459: |
13010 | if (ndx == 0 || ndx == 1) |
13011 | p = "int" ; |
13012 | break; |
13013 | #else |
13014 | #endif /* COALITIONS */ |
13015 | #if NECP |
13016 | /* necp_match_policy */ |
13017 | case 460: |
13018 | if (ndx == 0 || ndx == 1) |
13019 | p = "int" ; |
13020 | break; |
13021 | #else |
13022 | #endif /* NECP */ |
13023 | /* getattrlistbulk */ |
13024 | case 461: |
13025 | if (ndx == 0 || ndx == 1) |
13026 | p = "int" ; |
13027 | break; |
13028 | /* clonefileat */ |
13029 | case 462: |
13030 | if (ndx == 0 || ndx == 1) |
13031 | p = "int" ; |
13032 | break; |
13033 | /* openat */ |
13034 | case 463: |
13035 | if (ndx == 0 || ndx == 1) |
13036 | p = "int" ; |
13037 | break; |
13038 | /* openat_nocancel */ |
13039 | case 464: |
13040 | if (ndx == 0 || ndx == 1) |
13041 | p = "int" ; |
13042 | break; |
13043 | /* renameat */ |
13044 | case 465: |
13045 | if (ndx == 0 || ndx == 1) |
13046 | p = "int" ; |
13047 | break; |
13048 | /* faccessat */ |
13049 | case 466: |
13050 | if (ndx == 0 || ndx == 1) |
13051 | p = "int" ; |
13052 | break; |
13053 | /* fchmodat */ |
13054 | case 467: |
13055 | if (ndx == 0 || ndx == 1) |
13056 | p = "int" ; |
13057 | break; |
13058 | /* fchownat */ |
13059 | case 468: |
13060 | if (ndx == 0 || ndx == 1) |
13061 | p = "int" ; |
13062 | break; |
13063 | /* fstatat */ |
13064 | case 469: |
13065 | if (ndx == 0 || ndx == 1) |
13066 | p = "int" ; |
13067 | break; |
13068 | /* fstatat64 */ |
13069 | case 470: |
13070 | if (ndx == 0 || ndx == 1) |
13071 | p = "int" ; |
13072 | break; |
13073 | /* linkat */ |
13074 | case 471: |
13075 | if (ndx == 0 || ndx == 1) |
13076 | p = "int" ; |
13077 | break; |
13078 | /* unlinkat */ |
13079 | case 472: |
13080 | if (ndx == 0 || ndx == 1) |
13081 | p = "int" ; |
13082 | break; |
13083 | /* readlinkat */ |
13084 | case 473: |
13085 | if (ndx == 0 || ndx == 1) |
13086 | p = "int" ; |
13087 | break; |
13088 | /* symlinkat */ |
13089 | case 474: |
13090 | if (ndx == 0 || ndx == 1) |
13091 | p = "int" ; |
13092 | break; |
13093 | /* mkdirat */ |
13094 | case 475: |
13095 | if (ndx == 0 || ndx == 1) |
13096 | p = "int" ; |
13097 | break; |
13098 | /* getattrlistat */ |
13099 | case 476: |
13100 | if (ndx == 0 || ndx == 1) |
13101 | p = "int" ; |
13102 | break; |
13103 | /* proc_trace_log */ |
13104 | case 477: |
13105 | if (ndx == 0 || ndx == 1) |
13106 | p = "int" ; |
13107 | break; |
13108 | /* bsdthread_ctl */ |
13109 | case 478: |
13110 | if (ndx == 0 || ndx == 1) |
13111 | p = "int" ; |
13112 | break; |
13113 | /* openbyid_np */ |
13114 | case 479: |
13115 | if (ndx == 0 || ndx == 1) |
13116 | p = "int" ; |
13117 | break; |
13118 | #if SOCKETS |
13119 | /* recvmsg_x */ |
13120 | case 480: |
13121 | if (ndx == 0 || ndx == 1) |
13122 | p = "user_ssize_t" ; |
13123 | break; |
13124 | /* sendmsg_x */ |
13125 | case 481: |
13126 | if (ndx == 0 || ndx == 1) |
13127 | p = "user_ssize_t" ; |
13128 | break; |
13129 | #else |
13130 | #endif /* SOCKETS */ |
13131 | /* thread_selfusage */ |
13132 | case 482: |
13133 | if (ndx == 0 || ndx == 1) |
13134 | p = "uint64_t" ; |
13135 | break; |
13136 | #if CONFIG_CSR |
13137 | /* csrctl */ |
13138 | case 483: |
13139 | if (ndx == 0 || ndx == 1) |
13140 | p = "int" ; |
13141 | break; |
13142 | #else |
13143 | #endif /* CSR */ |
13144 | /* guarded_open_dprotected_np */ |
13145 | case 484: |
13146 | if (ndx == 0 || ndx == 1) |
13147 | p = "int" ; |
13148 | break; |
13149 | /* guarded_write_np */ |
13150 | case 485: |
13151 | if (ndx == 0 || ndx == 1) |
13152 | p = "user_ssize_t" ; |
13153 | break; |
13154 | /* guarded_pwrite_np */ |
13155 | case 486: |
13156 | if (ndx == 0 || ndx == 1) |
13157 | p = "user_ssize_t" ; |
13158 | break; |
13159 | /* guarded_writev_np */ |
13160 | case 487: |
13161 | if (ndx == 0 || ndx == 1) |
13162 | p = "user_ssize_t" ; |
13163 | break; |
13164 | /* renameatx_np */ |
13165 | case 488: |
13166 | if (ndx == 0 || ndx == 1) |
13167 | p = "int" ; |
13168 | break; |
13169 | #if CONFIG_CODE_DECRYPTION |
13170 | /* mremap_encrypted */ |
13171 | case 489: |
13172 | if (ndx == 0 || ndx == 1) |
13173 | p = "int" ; |
13174 | break; |
13175 | #else |
13176 | #endif |
13177 | #if NETWORKING |
13178 | /* netagent_trigger */ |
13179 | case 490: |
13180 | if (ndx == 0 || ndx == 1) |
13181 | p = "int" ; |
13182 | break; |
13183 | #else |
13184 | #endif /* NETWORKING */ |
13185 | /* stack_snapshot_with_config */ |
13186 | case 491: |
13187 | if (ndx == 0 || ndx == 1) |
13188 | p = "int" ; |
13189 | break; |
13190 | #if CONFIG_TELEMETRY |
13191 | /* microstackshot */ |
13192 | case 492: |
13193 | if (ndx == 0 || ndx == 1) |
13194 | p = "int" ; |
13195 | break; |
13196 | #else |
13197 | #endif /* CONFIG_TELEMETRY */ |
13198 | #if PGO |
13199 | /* grab_pgo_data */ |
13200 | case 493: |
13201 | if (ndx == 0 || ndx == 1) |
13202 | p = "user_ssize_t" ; |
13203 | break; |
13204 | #else |
13205 | #endif |
13206 | #if CONFIG_PERSONAS |
13207 | /* persona */ |
13208 | case 494: |
13209 | if (ndx == 0 || ndx == 1) |
13210 | p = "int" ; |
13211 | break; |
13212 | #else |
13213 | #endif |
13214 | /* mach_eventlink_signal */ |
13215 | case 496: |
13216 | if (ndx == 0 || ndx == 1) |
13217 | p = "uint64_t" ; |
13218 | break; |
13219 | /* mach_eventlink_wait_until */ |
13220 | case 497: |
13221 | if (ndx == 0 || ndx == 1) |
13222 | p = "uint64_t" ; |
13223 | break; |
13224 | /* mach_eventlink_signal_wait_until */ |
13225 | case 498: |
13226 | if (ndx == 0 || ndx == 1) |
13227 | p = "uint64_t" ; |
13228 | break; |
13229 | /* work_interval_ctl */ |
13230 | case 499: |
13231 | if (ndx == 0 || ndx == 1) |
13232 | p = "int" ; |
13233 | break; |
13234 | /* getentropy */ |
13235 | case 500: |
13236 | if (ndx == 0 || ndx == 1) |
13237 | p = "int" ; |
13238 | break; |
13239 | #if NECP |
13240 | /* necp_open */ |
13241 | case 501: |
13242 | if (ndx == 0 || ndx == 1) |
13243 | p = "int" ; |
13244 | break; |
13245 | /* necp_client_action */ |
13246 | case 502: |
13247 | if (ndx == 0 || ndx == 1) |
13248 | p = "int" ; |
13249 | break; |
13250 | #else |
13251 | #endif /* NECP */ |
13252 | #if SKYWALK |
13253 | /* __nexus_open */ |
13254 | case 503: |
13255 | if (ndx == 0 || ndx == 1) |
13256 | p = "int" ; |
13257 | break; |
13258 | /* __nexus_register */ |
13259 | case 504: |
13260 | if (ndx == 0 || ndx == 1) |
13261 | p = "int" ; |
13262 | break; |
13263 | /* __nexus_deregister */ |
13264 | case 505: |
13265 | if (ndx == 0 || ndx == 1) |
13266 | p = "int" ; |
13267 | break; |
13268 | /* __nexus_create */ |
13269 | case 506: |
13270 | if (ndx == 0 || ndx == 1) |
13271 | p = "int" ; |
13272 | break; |
13273 | /* __nexus_destroy */ |
13274 | case 507: |
13275 | if (ndx == 0 || ndx == 1) |
13276 | p = "int" ; |
13277 | break; |
13278 | /* __nexus_get_opt */ |
13279 | case 508: |
13280 | if (ndx == 0 || ndx == 1) |
13281 | p = "int" ; |
13282 | break; |
13283 | /* __nexus_set_opt */ |
13284 | case 509: |
13285 | if (ndx == 0 || ndx == 1) |
13286 | p = "int" ; |
13287 | break; |
13288 | /* __channel_open */ |
13289 | case 510: |
13290 | if (ndx == 0 || ndx == 1) |
13291 | p = "int" ; |
13292 | break; |
13293 | /* __channel_get_info */ |
13294 | case 511: |
13295 | if (ndx == 0 || ndx == 1) |
13296 | p = "int" ; |
13297 | break; |
13298 | /* __channel_sync */ |
13299 | case 512: |
13300 | if (ndx == 0 || ndx == 1) |
13301 | p = "int" ; |
13302 | break; |
13303 | /* __channel_get_opt */ |
13304 | case 513: |
13305 | if (ndx == 0 || ndx == 1) |
13306 | p = "int" ; |
13307 | break; |
13308 | /* __channel_set_opt */ |
13309 | case 514: |
13310 | if (ndx == 0 || ndx == 1) |
13311 | p = "int" ; |
13312 | break; |
13313 | #else |
13314 | #endif /* !SKYWALK */ |
13315 | /* sys_ulock_wait */ |
13316 | case 515: |
13317 | if (ndx == 0 || ndx == 1) |
13318 | p = "int" ; |
13319 | break; |
13320 | /* sys_ulock_wake */ |
13321 | case 516: |
13322 | if (ndx == 0 || ndx == 1) |
13323 | p = "int" ; |
13324 | break; |
13325 | /* fclonefileat */ |
13326 | case 517: |
13327 | if (ndx == 0 || ndx == 1) |
13328 | p = "int" ; |
13329 | break; |
13330 | /* fs_snapshot */ |
13331 | case 518: |
13332 | if (ndx == 0 || ndx == 1) |
13333 | p = "int" ; |
13334 | break; |
13335 | /* terminate_with_payload */ |
13336 | case 520: |
13337 | if (ndx == 0 || ndx == 1) |
13338 | p = "int" ; |
13339 | break; |
13340 | /* abort_with_payload */ |
13341 | case 521: |
13342 | if (ndx == 0 || ndx == 1) |
13343 | p = "void" ; |
13344 | break; |
13345 | #if NECP |
13346 | /* necp_session_open */ |
13347 | case 522: |
13348 | if (ndx == 0 || ndx == 1) |
13349 | p = "int" ; |
13350 | break; |
13351 | /* necp_session_action */ |
13352 | case 523: |
13353 | if (ndx == 0 || ndx == 1) |
13354 | p = "int" ; |
13355 | break; |
13356 | #else /* NECP */ |
13357 | #endif /* NECP */ |
13358 | /* setattrlistat */ |
13359 | case 524: |
13360 | if (ndx == 0 || ndx == 1) |
13361 | p = "int" ; |
13362 | break; |
13363 | /* net_qos_guideline */ |
13364 | case 525: |
13365 | if (ndx == 0 || ndx == 1) |
13366 | p = "int" ; |
13367 | break; |
13368 | /* fmount */ |
13369 | case 526: |
13370 | if (ndx == 0 || ndx == 1) |
13371 | p = "int" ; |
13372 | break; |
13373 | /* ntp_adjtime */ |
13374 | case 527: |
13375 | if (ndx == 0 || ndx == 1) |
13376 | p = "int" ; |
13377 | break; |
13378 | /* ntp_gettime */ |
13379 | case 528: |
13380 | if (ndx == 0 || ndx == 1) |
13381 | p = "int" ; |
13382 | break; |
13383 | /* os_fault_with_payload */ |
13384 | case 529: |
13385 | if (ndx == 0 || ndx == 1) |
13386 | p = "int" ; |
13387 | break; |
13388 | /* kqueue_workloop_ctl */ |
13389 | case 530: |
13390 | if (ndx == 0 || ndx == 1) |
13391 | p = "int" ; |
13392 | break; |
13393 | /* __mach_bridge_remote_time */ |
13394 | case 531: |
13395 | if (ndx == 0 || ndx == 1) |
13396 | p = "uint64_t" ; |
13397 | break; |
13398 | #if CONFIG_COALITIONS |
13399 | /* coalition_ledger */ |
13400 | case 532: |
13401 | if (ndx == 0 || ndx == 1) |
13402 | p = "int" ; |
13403 | break; |
13404 | #else |
13405 | #endif // CONFIG_COALITIONS |
13406 | /* log_data */ |
13407 | case 533: |
13408 | if (ndx == 0 || ndx == 1) |
13409 | p = "int" ; |
13410 | break; |
13411 | /* memorystatus_available_memory */ |
13412 | case 534: |
13413 | if (ndx == 0 || ndx == 1) |
13414 | p = "uint64_t" ; |
13415 | break; |
13416 | /* shared_region_map_and_slide_2_np */ |
13417 | case 536: |
13418 | if (ndx == 0 || ndx == 1) |
13419 | p = "int" ; |
13420 | break; |
13421 | /* pivot_root */ |
13422 | case 537: |
13423 | if (ndx == 0 || ndx == 1) |
13424 | p = "int" ; |
13425 | break; |
13426 | /* task_inspect_for_pid */ |
13427 | case 538: |
13428 | if (ndx == 0 || ndx == 1) |
13429 | p = "int" ; |
13430 | break; |
13431 | /* task_read_for_pid */ |
13432 | case 539: |
13433 | if (ndx == 0 || ndx == 1) |
13434 | p = "int" ; |
13435 | break; |
13436 | /* sys_preadv */ |
13437 | case 540: |
13438 | if (ndx == 0 || ndx == 1) |
13439 | p = "user_ssize_t" ; |
13440 | break; |
13441 | /* sys_pwritev */ |
13442 | case 541: |
13443 | if (ndx == 0 || ndx == 1) |
13444 | p = "user_ssize_t" ; |
13445 | break; |
13446 | /* sys_preadv_nocancel */ |
13447 | case 542: |
13448 | if (ndx == 0 || ndx == 1) |
13449 | p = "user_ssize_t" ; |
13450 | break; |
13451 | /* sys_pwritev_nocancel */ |
13452 | case 543: |
13453 | if (ndx == 0 || ndx == 1) |
13454 | p = "user_ssize_t" ; |
13455 | break; |
13456 | /* sys_ulock_wait2 */ |
13457 | case 544: |
13458 | if (ndx == 0 || ndx == 1) |
13459 | p = "int" ; |
13460 | break; |
13461 | /* proc_info_extended_id */ |
13462 | case 545: |
13463 | if (ndx == 0 || ndx == 1) |
13464 | p = "int" ; |
13465 | break; |
13466 | #if SOCKETS |
13467 | /* tracker_action */ |
13468 | case 546: |
13469 | if (ndx == 0 || ndx == 1) |
13470 | p = "int" ; |
13471 | break; |
13472 | #else |
13473 | #endif /* SOCKETS */ |
13474 | /* debug_syscall_reject */ |
13475 | case 547: |
13476 | if (ndx == 0 || ndx == 1) |
13477 | p = "int" ; |
13478 | break; |
13479 | /* sys_debug_syscall_reject_config */ |
13480 | case 548: |
13481 | if (ndx == 0 || ndx == 1) |
13482 | p = "int" ; |
13483 | break; |
13484 | /* graftdmg */ |
13485 | case 549: |
13486 | if (ndx == 0 || ndx == 1) |
13487 | p = "int" ; |
13488 | break; |
13489 | /* map_with_linking_np */ |
13490 | case 550: |
13491 | if (ndx == 0 || ndx == 1) |
13492 | p = "int" ; |
13493 | break; |
13494 | /* freadlink */ |
13495 | case 551: |
13496 | if (ndx == 0 || ndx == 1) |
13497 | p = "int" ; |
13498 | break; |
13499 | /* sys_record_system_event */ |
13500 | case 552: |
13501 | if (ndx == 0 || ndx == 1) |
13502 | p = "int" ; |
13503 | break; |
13504 | /* mkfifoat */ |
13505 | case 553: |
13506 | if (ndx == 0 || ndx == 1) |
13507 | p = "int" ; |
13508 | break; |
13509 | /* mknodat */ |
13510 | case 554: |
13511 | if (ndx == 0 || ndx == 1) |
13512 | p = "int" ; |
13513 | break; |
13514 | /* ungraftdmg */ |
13515 | case 555: |
13516 | if (ndx == 0 || ndx == 1) |
13517 | p = "int" ; |
13518 | break; |
13519 | default: |
13520 | break; |
13521 | }; |
13522 | if (p != NULL) |
13523 | strlcpy(dst: desc, src: p, n: descsz); |
13524 | } |
13525 | |